tpu-extras.el simplifiation.
[emacs.git] / lisp / ChangeLog
blob58a1d810dbe0d0a5a59a0151e08435300071f64d
1 2010-11-10  Glenn Morris  <rgm@gnu.org>
3         * emulation/tpu-extras.el (tpu-with-position): New macro.
4         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
6         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
7         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
8         (texinfo-master-menu, texinfo-insert-node-lines)
9         (texinfo-multiple-files-update):
10         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
11         Use line-beginning-position.
13         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
14         No recent Emacs supports system-type `emx'.
16         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
17         (ada-command-separator, ada-default-prj-properties)
18         (ada-find-any-references): Update for above name change.
20         * dirtrack.el (dirtrack-directory-function)
21         (dirtrack-canonicalize-function):
22         * filecache.el (file-cache-completion-ignore-case)
23         (file-cache-case-fold-search, file-cache-ignore-case):
24         * term.el (serial-port-is-file-p): Cosmetic change.
26         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
27         Remove non-existent `windows-95' system-type.
28         * dired.el (dired-chown-program): Remove non-existent `linux'
29         system-type.
31         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
32         (ping-program-options): Remove non-existent `linux' system-type.
34         * startup.el (package-initialize): Update declaration.
36         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
37         (ls-lisp-handle-switches): Use time-less-p.
38         (ls-lisp-format-time): Use float-time.
40         * textmodes/remember.el (remember-time-to-seconds): Remove.
41         (remember-store-in-mailbox): Use float-time.
43         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
45         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
46         never a real function.
47         (with-no-warnings): Remove compat stub, now unused.
48         (time-less-p): Doc fix.
49         (time-to-number-of-days): Simplify.
51         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
52         Remove.
53         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
54         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
55         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
56         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
57         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
59         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
60         (eshell-shuffle-files, eshell-shorthand-tar-command)
61         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
62         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
63         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
64         Prefix dynamic local variable `matches'.
66         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
67         Prefix dynamic local variable `skeleton'.
69 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
71         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
72         in mail buffer; make yank-action always a command that yanks original
73         buffer.
75 2010-11-09  Glenn Morris  <rgm@gnu.org>
77         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
79 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
81         * minibuffer.el (minibuffer-completion-help): Specify the end of the
82         completion field (bug#7211).
84         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
85         Fix handling of backslash escapes.
86         (python-quote-syntax): Adjust accordingly.
88 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
90         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
91         (vc-mtn-workfile-branch): Adjust to new output format.
93 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
95         * international/mule-cmds.el (princ-list): Mark as obsolete.
97 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
99         * emacs-lisp/smie.el: New package.
101 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
103         * files.el (backup-by-copying-when-mismatch):
104         Set `permanent-local' property.
106         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
107         `permanent-local' property for `backup-by-copying-when-mismatch'.
109 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
111         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
113 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
115         * progmodes/verilog-mode.el (verilog-insert-one-definition)
116         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
117         AUTOINOUT for SV style multidimensional arrays, bug294.
118         Reported by Eric Mastromarchi.
119         (verilog-preprocess): Use with-current-buffer and
120         font-lock-fontify-buffer to cleanup style issues.
122 2010-11-09  Glenn Morris  <rgm@gnu.org>
124         * locate.el (locate, locate-mode): Doc fixes.
126 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
128         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
129         user for confirmation.
130         (server-force-stop): Use it.
131         (server-start): Use server-force-stop for kill-emacs-hook, to
132         avoid user interaction while killing Emacs.
134 2010-11-09  Glenn Morris  <rgm@gnu.org>
136         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
137         (meta-indent-line): Simplify.
139         * vc/emerge.el (emerge-line-number-in-buf):
140         * textmodes/ispell.el (ispell-region):
141         * textmodes/fill.el (current-fill-column):
142         * progmodes/xscheme.el (xscheme-send-current-line):
143         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
144         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
145         * progmodes/sh-script.el (sh-handle-prev-do):
146         * progmodes/meta-mode.el (meta-indent-line):
147         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
148         (idlwave-in-quote):
149         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
150         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
151         * progmodes/fortran.el (fortran-looking-at-if-then):
152         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
153         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
154         (cperl-find-pods-heres):
155         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
156         * net/quickurl.el (quickurl-list-insert):
157         * net/ldap.el (ldap-search-internal):
158         * net/eudc.el (eudc-expand-inline):
159         * mail/sendmail.el (sendmail-send-it):
160         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
161         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
162         (viper-brac-function):
163         * calc/calc-yank.el (calc-do-grab-region):
164         * calc/calc-keypd.el (calc-keypad-press):
165         * term.el (term-move-columns, term-insert-spaces):
166         * speedbar.el (speedbar-highlight-one-tag-line):
167         * simple.el (current-word):
168         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
169         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
170         (Info-scroll-down):
171         * hippie-exp.el (he-line-beg):
172         * epa.el (epa--marked-keys):
173         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
174         (dired-update-file-line, dired-add-entry, dired-remove-entry)
175         (dired-relist-entry):
176         * buff-menu.el (Buffer-menu-buffer):
177         * array.el (current-line):
178         * allout.el (allout-resolve-xref)
179         (allout-latex-verbatim-quote-curr-line):
180         Replace yet more uses of end-of-line etc with line-end-position, etc.
182 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
184         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
185         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
186         (checkdoc-syntax-table): Initialize in the declaration.
187         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
188         the mode on unconditionally.
190         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
191         (extent-end-position, extent-start-position): Remove setf method for
192         non-existing functions (bug#7319).
194 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
196         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
197         (smie-precs->prec2): Rename from smie-precs-precedence-table.
198         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
199         (smie-prec2->grammar): Rename from smie-prec2-levels.
200         (smie-grammar): Rename from smie-op-levels.
201         (smie-indent--hanging-p): Rename from smie-hanging-p.
202         (smie-rule-hanging-p): New alias.
203         (smie-indent--bolp): Rename from smie-bolp.
204         (smie-indent--hanging-p): New alias.
205         (smie--token): New dynamically bound variable.
206         (smie-indent--parent): New function.
207         (smie-rule-parent-p): Use it; rename from smie-parent-p.
208         (smie-rule-next-p): Rename from smie-next-p.
209         (smie-rule-prev-p): Rename from smie-prev-p.
210         (smie-rule-sibling-p, smie-rule-parent)
211         (smie-indent--separator-outdent, smie-rule-separator): New functions.
212         (smie-rule-separator-outdent): New var.
213         (smie-indent--rule): Merge with smie-indent--column.
214         (smie-indent-forward-token, smie-indent-backward-token):
215         Also recognize close parens.
216         (smie-indent-keyword): Don't use smie-indent--column any more.
217         (smie-indent-after-keyword): Ignore closers by default.
218         (smie-indent-line): Use with-demoted-errors.
219         * progmodes/octave-mod.el (octave-smie-grammar):
220         Rename from octave-smie-op-levels.
221         (octave-smie-rules): Adjust to new behavior.
222         * progmodes/prolog.el (prolog-smie-grammar):
223         Rename from prolog-smie-op-levels.
225 2010-11-07  Glenn Morris  <rgm@gnu.org>
227         * eshell/esh-util.el (subst-char-in-string)
228         (directory-files-and-attributes): These compatibility definitions are
229         not needed on any version of Emacs since at least 21.4.
231         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
232         (verilog-get-end-of-line): Remove.
233         (verilog-within-string, verilog-re-search-forward-substr)
234         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
235         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
236         Use point-at-bol, point-at-eol.
237         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
238         Remove.
239         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
240         (electric-pascal-terminate-line, pascal-set-auto-comments)
241         (pascal-indent-paramlist, pascal-indent-declaration)
242         (pascal-get-lineup-indent, pascal-func-completion)
243         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
244         Use point-at-bol, point-at-eol.
245         * progmodes/flymake.el (flymake-line-beginning-position)
246         (flymake-line-end-position): Remove.
247         (flymake-highlight-line): Use point-at-bol, point-at-eol.
248         * eshell/esh-util.el (line-end-position, line-beginning-position):
249         Remove compat definitions.
251         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
252         Use end-of-line N.
253         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
254         Use line-end-position.
256         * emacs-lisp/chart.el (chart-zap-chars):
257         * play/decipher.el (decipher-set-map):
258         * progmodes/ada-mode.el (ada-get-current-indent)
259         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
260         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
261         * progmodes/ada-xref.el (ada-initialize-runtime-library)
262         (ada-get-all-references):
263         * progmodes/cperl-mode.el (cperl-electric-paren)
264         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
265         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
266         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
267         (cperl-word-at-point-hard):
268         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
269         (idlwave-shell-filename-string, idlwave-shell-batch-command)
270         (idlwave-shell-display-line):
271         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
272         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
273         * progmodes/js.el (js--re-search-forward-inner)
274         (js--re-search-backward-inner):
275         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
276         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
277         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
278         * textmodes/flyspell.el (flyspell-process-localwords):
279         * textmodes/ispell.el (ispell-buffer-local-parsing)
280         (ispell-buffer-local-dict, ispell-buffer-local-words):
281         Use point-at-bol and point-at-eol.
283         * speedbar.el (speedbar-generic-item-info)
284         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
285         (speedbar-add-indicator, speedbar-check-vc-this-line)
286         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
287         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
288         Replace more uses of end-of-line etc with line-end-position.
290 2010-11-06  Glenn Morris  <rgm@gnu.org>
292         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
293         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
294         (texinfo-delete-existing-pointers, texinfo-find-pointer)
295         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
296         (texinfo-multiple-files-update):
297         * textmodes/table.el (table--probe-cell-left-up)
298         (table--probe-cell-right-bottom):
299         * textmodes/picture.el (picture-tab-search):
300         * textmodes/page-ext.el (pages-copy-header-and-position)
301         (pages-directory-for-addresses):
302         * progmodes/vera-mode.el (vera-get-offset):
303         * progmodes/simula.el (simula-calculate-indent):
304         * progmodes/python.el (python-pdbtrack-overlay-arrow):
305         * progmodes/prolog.el (end-of-prolog-clause):
306         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
307         * progmodes/icon.el (indent-icon-exp):
308         * progmodes/etags.el (tag-re-match-p):
309         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
310         * progmodes/ebnf2ps.el (ebnf-begin-file):
311         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
312         (dcl-save-local-variable):
313         * play/life.el (life-setup):
314         * play/gametree.el (gametree-looking-at-ply):
315         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
316         * mail/sendmail.el (mail-mode-auto-fill):
317         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
318         * emacs-lisp/edebug.el (edebug-overlay-arrow):
319         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
320         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
321         (woman-tab-to-tab-stop, WoMan-warn-ignored):
322         * type-break.el (type-break-file-keystroke-count):
323         * term.el (term-replace-by-expanded-history-before-point)
324         (term-skip-prompt, term-extract-string):
325         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
326         (speedbar-contract-line, speedbar-toggle-line-expansion)
327         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
328         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
329         * sort.el (sort-skip-fields):
330         * skeleton.el (skeleton-internal-list):
331         * simple.el (line-move-finish, line-move-to-column):
332         * shell.el (shell-forward-command):
333         * misc.el (copy-from-above-command):
334         * makesum.el (double-column):
335         * ebuff-menu.el (electric-buffer-update-highlight):
336         * dired.el (dired-move-to-end-of-filename):
337         * dframe.el (dframe-popup-kludge):
338         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
339         * arc-mode.el (archive-get-lineno):
340         Use line-end-position and line-beginning-position.
342         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
343         (idlwave-study-twins): Prefix dynamic local `class'.
344         (idlwave-routine-twin-compare): Update for above name change.
346         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
347         Use boundp tests to silence compiler.  Update for changed name of
348         bytecomp-filename variable.
350         * emulation/viper-cmd.el (viper-read-string-with-history):
351         Prefix dynamic local `initial'.
352         (viper-minibuffer-standard-hook): Update for above name change.
354         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
355         (elint-init-form): Update for above name change.
357         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
358         local variables `cbeg' and `cend' a prefix.
359         (mail-extr-voodoo): Update for above name change.
361         * textmodes/reftex-toc.el (reftex-toc-do-promote)
362         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
363         (reftex-toc-promote-action): Doc fix.
365         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
366         `prompt', `data' a prefix.
367         (reftex-select-post-command-hook, reftex-select-callback)
368         (reftex-select-mouse-accept, reftex-select-read-cite):
369         Update for above name changes.
371         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
372         `refstyle' to reftex-refstyle.
373         (reftex-offer-label-menu): Update for above name change.
374         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
375         `refstyle' name change.
377         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
378         with with-current-buffer.
379         (diff, template): Give dynamic local variables a prefix.
380         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
381         (emerge-line-number-in-buf): Update for above name change.
382         (emerge-combine-versions-internal): Rename local `template' to
383         emerge-combine-template.
384         (emerge-combine-versions-edit): Update for above name change.
386 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
388         * textmodes/reftex-cite.el
389         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
390         entries with whitespace after \bibitem.
391         (reftex-create-bibtex-file): Match entries containing numbers and
392         symbol constituents.  Make sure that entries with whitespace at
393         various places are found.
395 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
397         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
399 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
401         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
403 2010-11-05  Glenn Morris  <rgm@gnu.org>
405         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
406         (woman2-roff-buffer): Give local variable `request' a prefix.
407         (woman0-macro): Rename argument `request' in the same way.
408         (woman-request): New name for `request' dynamic variable.
409         (woman-unquote, woman-forward-arg): Update for above name change.
410         (woman1-roff-buffer): Give local variable `unquote' a prefix.
411         (woman1-unquote): New name for `unquote' dynamic variable.
412         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
413         (woman-translations): Rename from `translations'.  No longer global.
414         (woman2-tr, woman-translate): Update for above name change.
415         (woman-translate): Check for bound variable.
416         (woman2-roff-buffer): Give local variable `translations' a prefix.
418         * play/doctor.el: Give all local variables a prefix.  Update callers.
419         (doc$, doctor-put-meaning): Use backquote.
421         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
422         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
424         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
425         variables bytes, ptr, op a prefix.
426         (disassemble-offset): Update for above change.
428 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
430         * emacs-lisp/package.el (package-unpack): Remove no-op.
431         (package--builtins, package--dir): Doc fix.
432         (package-activate-1, package-activate, package-install)
433         (package-compute-transaction): Fix error message.
434         (package-delete): Use delete-directory.  Omit system packages.
435         (package-initialize): Set package-alist to nil first.
436         (package-menu-mark-delete, package-menu-mark-install): Don't add
437         symbols that are inconsistent with the package state.
438         (package-menu-execute): Perform deletions and installations as
439         single batch operations.
441 2010-11-03  Glenn Morris  <rgm@gnu.org>
443         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
444         (props): Remove unnecessary declaration.
446         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
447         set-process-query-on-exit-flag.
449         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
450         (reftex-toc-do-promote): Remove unused local `mpos'.
451         (reftex-toc-restore-region): Make `mpos' local to this function.
453         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
455         * play/landmark.el (lm-losing-threshold): Correct spelling.
456         (lm-human-plays): Use new name.
458         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
459         (gomoku-human-plays): Use new name.
461         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
462         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
463         (gomoku-score-trans-table, gomoku-winning-threshold)
464         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
466 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
468         * emacs-lisp/package.el: Don't put built-in packages in
469         package-alist, to avoid loading inefficiencies.
470         (package-built-in-p): Make VERSION optional, and treat it as a
471         minimum acceptable version.
472         (package-activate): Search separately for built-in packages.  Emit
473         a warning if a dependency fails.
474         (define-package): Handle most common case, where there is no
475         obsolete package, first.
476         (package-compute-transaction): Print required version in error.
477         (package--initialized): New variable.
478         (list-packages): Use it.
479         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
480         built-in packages in packages-alist; keep it separate.  Set
481         package--initialized.
482         (describe-package): Avoid activating packages as a side-effect.
483         Search separately for built-in packages.
484         (describe-package-1): Handle the case where an elpa package is
485         simultaneously built-in and available/installed.
486         (package-installed-p, package--generate-package-list): Search
487         separately for built-in packages.
488         (package-load-descriptor): Doc fix.
490 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
492         * progmodes/perl-mode.el (perl-syntax-propertize-function):
493         Handle __DATA__ and __END__.
495 2010-11-02  Noah Friedman  <friedman@splode.com>
497         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
498         nil, do not ask to recompile files that are not already compiled,
499         and do not recompile them.
501 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
503         * emacs-lisp/package.el (package-initialize): Ensure that
504         obsoleted built-in packages are not in package-activated-list
505         during activation.
506         (describe-package-1): Make the "installed" status override
507         "built-in".
509 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
511         * subr.el (version-separator, version-regexp-alist): Remove '*'
512         from docstring.
513         (version-list-<=, version<=, version=): Doc fix.
515 2010-11-01  Kenichi Handa  <handa@m17n.org>
517         * faces.el (glyphless-char): Inherit underline for tty.
519 2010-11-01  Kenichi Handa  <handa@m17n.org>
521         Implement various display methods for glyphless characters.
523         * international/characters.el (char-acronym-table): New variable.
524         (glyphless-char-control): New variable.
525         (update-glyphless-char-display): New funciton.
527         * faces.el (glyphless-char): New face.
529 2010-11-01  Glenn Morris  <rgm@gnu.org>
531         * calendar/holidays.el (general-holidays, oriental-holidays)
532         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
533         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
534         the definitions of their targets.
536         * emacs-lisp/smie.el (smie): New custom group.
537         (smie-blink-matching-inners, smie-indent-basic): Add :group.
539         * faces.el (xw-defined-colors, x-setup-function-keys):
540         * mouse-sel.el (x-select-text):
541         * term/w32console.el (x-setup-function-keys): Update declarations.
543         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
545         * textmodes/ispell.el (comment-add): Declare.
547         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
548         Declare.
550         * info.el (finder-keywords-hash, package-alist): Declare.
552 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
554         * finder.el (finder-compile-keywords): Don't use intern-soft,
555         since package names may not yet exist in the obarray.
557 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
559         * vc/vc-arch.el (vc-arch-checkin):
560         * vc/vc-cvs.el (vc-cvs-checkin):
561         * vc/vc-mtn.el (vc-mtn-checkin):
562         * vc/vc-rcs.el (vc-rcs-checkin):
563         * vc/vc-sccs.el (vc-sccs-checkin):
564         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
565         since 2010-04-21 commit by Stefan Monnier.
567 2010-11-01  Glenn Morris  <rgm@gnu.org>
569         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
571         * startup.el (package-enable-at-startup, package-initialize):
572         Silence compiler.
574         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
575         Silence compiler.
577 2010-10-31  Julien Danjou  <julien@danjou.info>
579         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
580         (byte-recompile-directory):
581         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
582         Use `byte-recompile-file'.
584 2010-10-31  Glenn Morris  <rgm@gnu.org>
586         * cus-start.el: Handle standard values via a keyword.
587         Only set version property if specified.
588         (cursor-in-non-selected-windows, menu-bar-mode)
589         (tool-bar-mode, show-trailing-whitespace):
590         Do not specify standard values.
591         (transient-mark-mode, temporary-file-directory): Use :standard.
593 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
595         * term/x-win.el (x-get-selection-value): New function that gets
596         PRIMARY with type as specified in x-select-request-type. (Bug#6802).
598 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
600         * net/tramp.el (tramp-handle-insert-file-contents): For root,
601         preserve owner and group when editing files.  (Bug#7289)
603 2010-10-31  Glenn Morris  <rgm@gnu.org>
605         * speedbar.el (speedbar-mode):
606         * play/fortune.el (fortune-in-buffer, fortune):
607         * play/gomoku.el (gomoku-mode):
608         * play/landmark.el (lm-mode):
609         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
610         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
612         * select.el (x-selection): Mark it as an obsolete alias.
614 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
616         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
617         major-mode (bug#7284).
619 2010-10-31  Glenn Morris  <rgm@gnu.org>
621         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
622         rather than just an unused variable that inherits from the real one.
624 2010-10-31  Alan Mackenzie  <acm@muc.de>
626         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
627         This fixes bug #7185.
629 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
631         * startup.el (command-line): Search for package directories, and
632         don't load package.el if none are found.
634         * emacs-lisp/package.el (describe-package, list-packages): Call
635         package-initialize if it has not been called yet.
637 2010-10-30  Alan Mackenzie  <acm@muc.de>
639         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
640         which fontifies the tail of an enum.
641         (c-basic-matchers-after): Insert a call to the above new function.
642         This fixes bug #7264.
644 2010-10-30  Glenn Morris  <rgm@gnu.org>
646         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
647         tool-bar-mode, transient-mark-mode.  (Bug#7306)
648         Include the :set property in the dumped Emacs.
650 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
652         SMIE: change indent rules format, improve smie-setup.
653         * emacs-lisp/smie.el (smie-precs-precedence-table)
654         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
655         Mark them pure so the tables gets built at compile time.
656         (smie-bnf-precedence-table): Store the closer-alist in the table.
657         (smie-prec2-levels): Preserve the closer-alist.
658         (smie-blink-matching-open): Be more forgiving in case of indentation.
659         (smie-hanging-p): Rename from smie-indent--hanging-p.
660         (smie-bolp): Rename from smie-indent--bolp.
661         (smie--parent, smie--after): New dynamic vars.
662         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
663         (smie-indent-rules): Remove.
664         (smie-indent--offset-rule): Remove fun.
665         (smie-rules-function): New var.
666         (smie-indent--rule): New fun.
667         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
668         (smie-indent-exps): Use it.
669         (smie-setup): Setup paren blinking; add keyword args for token
670         functions; extract closer-alist from op-levels.
671         (smie-indent-debug-log): Remove var.
672         (smie-indent-debug): Remove fun.
673         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
674         (prolog-smie-rules): New fun to replace it.
675         (prolog-mode-variables): Simplify.
676         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
677         it's setup automatically.
678         (octave-smie-indent-rules): Remove.
679         (octave-smie-rules): New fun to replace it.
680         (octave-mode): Simplify.
682 2010-10-29  Glenn Morris  <rgm@gnu.org>
684         * files.el (temporary-file-directory): Remove (already defined in C).
685         * cus-start.el: Add temporary-file-directory.
687         * abbrev.el (abbrev-mode):
688         * composite.el (auto-composition-mode):
689         * menu-bar.el (menu-bar-mode):
690         * simple.el (transient-mark-mode):
691         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
692         that they do not define the associated variables twice.
693         * simple.el (transient-mark-mode): Remove defvar.
694         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
695         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
696         Handle multiple groups, and also custom-delayed-init-variables.
697         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
699 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
701         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
702         (pcase-if): Add one minor optimization.
703         (pcase-split-equal): Rename from pcase-split-eq.
704         (pcase-split-member): Rename from pcase-split-memq.
705         (pcase-u1): Add strings to the member optimization.
706         Add `guard' variant of predicates.
707         (pcase-q1): Add string patterns.
709 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
711         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
713 2010-10-28  Glenn Morris  <rgm@gnu.org>
715         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
716         Move menu-bar related settings to ../menu-bar.el.
717         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
718         Move ns-specific settings here from term/ns-win.el.
720         * simple.el (x-selection-owner-p): Remove unused declaration.
722 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
724         * minibuffer.el (completion-cycling): New var (bug#7266).
725         (minibuffer-complete, completion--do-completion):
726         Use completion--flush-all-sorted-completions.
727         (minibuffer-complete): Only cycle if completion-cycling is set.
728         (completion--flush-all-sorted-completions): Unset completion-cycling.
729         (minibuffer-force-complete): Set completion-cycling.
730         (completion-all-sorted-completions): Move declaration before first use.
732 2010-10-28  Leo  <sdl.web@gmail.com>
734         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
735         which changes the order of matches seen by users (bug#7231).
737 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
739         * progmodes/compile.el (compilation-mode-font-lock-keywords):
740         Don't confuse -omega as "-o mega".
742 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
744         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
745         (log-edit-author): New dynamic var.
746         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
747         to return the author if different from committer.
748         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
750         * play/landmark.el: Adjust commenting convention.
751         (lm-nil-score): Rename from nil-score.
752         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
753         (OOOOscore): Move into a let in lm-score-trans-table.
754         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
756         * electric.el (electric-indent-chars): Autoload.
757         * progmodes/octave-mod.el (octave-mode):
758         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
759         (ruby-mode-abbrev-table): Merge initialization and declaration.
761 2010-10-27  Glenn Morris  <rgm@gnu.org>
763         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
764         variable.
766         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
768         * term/ns-win.el: Restore require of cl when compiling.
769         (menu-bar-final-items): Remove non-existent `windows' menu.
770         (ns-handle-nxopen): Optionally handle the temp-case.
771         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
772         (ns-insert-file, ns-find-file): Use `pop'.
774 2010-10-26  Glenn Morris  <rgm@gnu.org>
776         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
778 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
780         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
781         global map.
782         * term/common-win.el (x-setup-function-keys): Remove most of the
783         keymappings.  Comment on the remaining ones.
785 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
787         * server.el (server-port): New option.  (Bug#854)
788         (server-start): Use server-port.
790 2010-10-26  Glenn Morris  <rgm@gnu.org>
792         * term/ns-win.el (ns-version-string): Remove unused declaration.
793         (ns-invocation-args): Change to x-invocation-args.
794         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
795         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
796         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
797         Use x-invocation-args instead of ns-invocation-args.
798         (ns-initialize-window-system, handle-args-function-alist):
799         Use x-handle-args instead of ns-handle-args.
800         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
801         * startup.el (command-line-ns-option-alist): Replace
802         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
803         ns-handle-iconic with the x- equivalents.
805         * term/common-win.el (x-select-enable-clipboard):
806         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
808         * term/ns-win.el: No need to require cl when compiling.
809         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
810         (xw-defined-colors): Use the common-win definitions.
811         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
812         (ns-handle-iconic): Make it an alias for x-handle-iconic.
813         * term/common-win.el (x-select-text, x-alternatives-map)
814         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
815         * loadup.el [ns]: Load common-win.
817 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
819         * epa-mail.el (epa-mail-encrypt): Handle local-part only
820         recipients; expand mail aliases (Bug#7280).
822 2010-10-25  Glenn Morris  <rgm@gnu.org>
824         * term/common-win.el (x-handle-switch): Simplify with pop.
825         Optionally handle numeric switches.
826         (x-handle-numeric-switch): Just call x-handle-switch.
827         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
828         (x-handle-name-switch, x-handle-display, x-handle-args):
829         Simplify with pop.
831         * term/ns-win.el: Do not require easymenu.
832         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
833         <spell>: Move adjustments to menu-bar.el.
834         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
835         <separator-undo, spell>: Move ns-win's adjustments here.
836         * loadup.el [ns]: Do not load easymenu.
838 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
840         * image.el (image-checkbox-checked, image-checkbox-unchecked):
841         Delete (Bug#7222).
843         * startup.el (fancy-startup-tail): Instead of using inline images,
844         refer to image files from etc/.
846         * wid-edit.el (checkbox): Likewise.
847         (widget-image-find): Center image specs.
849 2010-10-24  Glenn Morris  <rgm@gnu.org>
851         * term/ns-win.el (x-select-text): Doc fix.
852         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
853         (x-select-text): Move to term/common-win.
854         * term/w32-win.el (xw-defined-colors): Move to common-win.
855         * term/x-win.el (xw-defined-colors, x-alternatives-map)
856         (x-setup-function-keys, x-select-text): Move to common-win.
857         * term/common-win.el (x-select-text, x-alternatives-map)
858         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
859         definitions here.
861 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
863         * net/mairix.el (mairix-searches-mode-map):
864         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
866 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
868         * verilog-mode.el (verilog-directive-re): Make this variable
869         auto-built for efficiency of execution and updating.
870         (verilog-extended-complete-re): Support 'pure' fucntion & task
871         declarations (these have no bodies).
872         (verilog-beg-of-statement): General cleanup to enable support of
873         'pure' fucntion & task declarations (these have no bodies).
874         These efforts together fix Verilog bug210 from veripool; which was also
875         noticed by Steve Pearlmutter.
876         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
877         (verilog-directive-nest-re, verilog-set-auto-endcomments):
878         Support `elsif.  Reported by Shankar Giri.
879         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
880         attribute handling for lining up declarations and assignments.
881         (verilog-beg-of-statement-1): Fix issue where continued declaration
882         is indented differently if it is after a begin..end clock.
883         (verilog-in-attribute-p, verilog-skip-backward-comments)
884         (verilog-skip-forward-comment-p): Support proper treatment of
885         attributes by indent code. Reported by Jeff Steele.
886         (verilog-in-directive-p): Fix comment to correctly describe function.
887         (verilog-backward-up-list, verilog-in-struct-region-p)
888         (verilog-backward-token, verilog-in-struct-p)
889         (verilog-in-coverage-p, verilog-do-indent)
890         (verilog-pretty-declarations): Use verilog-backward-up-list as
891         wrapper around backward-up-list inorder to properly skip comments.
892         Reported by David Rogoff.
893         (verilog-property-re, verilog-endcomment-reason-re)
894         (verilog-beg-of-statement, verilog-set-auto-endcomments)
895         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
896         of if). Reported by Max Bjurling and
897         (verilog-calc-1): Fix for clocking block in modport
898         declaration. Reported by Brian Hunter.
900 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
902         * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
903         (verilog-gate-keywords, verilog-read-sub-decls)
904         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
905         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
906         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
907         (verilog-read-decls): Fix spaces in V2K module parameters causing
908         mis-identification as interfaces, bug287.
909         (verilog-read-decls): Fix not treating "parameter string" as a
910         parameter in AUTOINSTPARAM.
911         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
912         treating `elsif similar to `endif inside AUTOSENSE.
913         (verilog-do-indent): Implement correct automatic or static task or
914         function end comment highlight. Reported by Steve Pearlmutter.
915         (verilog-font-lock-keywords-2): Fix highlighting of single
916         character pins, bug264.  Reported by Michael Laajanen.
917         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
918         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
919         (verilog-subdecls-get-interfaced, verilog-subdecls-new): Support
920         interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
921         (verilog-pretty-expr): Fix interactive arguments, bug272.
922         Reported by Mark Johnson.
923         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
924         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
925         bug269. Suggested by Gary Delp.
926         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
927         (verilog-preprocessor, verilog-set-compile-command):
928         Create verilog-preprocess and verilog-preprocessor to show
929         preprocessed output.
930         (verilog-get-beg-of-line, verilog-get-end-of-line)
931         (verilog-modi-file-or-buffer, verilog-modi-name)
932         (verilog-modi-point, verilog-within-string): Move defmacro's
933         before first use to avoid warning. Reported by Steve Pearlmutter.
934         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
935         (verilog-colorize-region, verilog-highlight-buffer)
936         (verilog-highlight-includes, verilog-highlight-modules)
937         (verilog-highlight-region, verilog-mode): Rename colorize to
938         highlight to match other packages.  Disable module highlighting,
939         as received speed complaints, reenable for experimentation only
940         using new verilog-highlight-modules.
941         (verilog-read-decls): Fix regexp stack overflow in very large
942         AUTO_TEMPLATEs, bug250.
943         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
944         (verilog-scan): Create verilog-save-buffer-state to standardize
945         making insignificant changes that shouldn't call hooks.
946         (verilog-save-no-change-functions, verilog-save-scan-cache)
947         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
948         Create verilog-save-no-change-functions to wrap verilog-scan
949         preservation, and fix to work with nested preserved calls.
950         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
951         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
952         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
953         (verilog-submit-bug-report): Update variable list to be complete.
954         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
955         breaking on-the-fly font-locking.
956         (verilog-colorize-buffer, verilog-colorize-include-files)
957         (verilog-colorize-include-files-buffer, verilog-colorize-region)
958         (verilog-load-file-at-mouse, verilog-load-file-at-point)
959         (verilog-mode, verilog-read-inst-module-matcher): With point on a
960         AUTOINST cell instance name, middle mouse button now finds-file on
961         it.  Suggested by Brad Dobbie.
962         (verilog-alw-get-temps, verilog-auto-reset)
963         (verilog-auto-sense-sigs, verilog-read-always-signals)
964         (verilog-read-always-signals-recurse): Fix loop indexes being
965         AUTORESET. AUTORESET now assumes any variables in the
966         initialization section of a for() should be ignored.  Reported by
967         Dan Dever.
968         (verilog-error-font-lock-keywords)
969         (verilog-error-regexp-emacs-alist)
970         (verilog-error-regexp-xemacs-alist): Fix error detection of
971         Cadence HAL, reported by David Asher.  Repair drift between the
972         three similar error variables.
973         (verilog-modi-lookup, verilog-modi-lookup-cache)
974         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
975         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
976         Fix slow verilog-auto expansion on very large files.
977         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
978         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
979         "{1*2{...".  Broke in last revision.
980         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
981         submodule connections with replications "{#{a},#{b}}".
983 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
985         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
986         Fix typo in docstring.
988 2010-10-24  Kenichi Handa  <handa@m17n.org>
990         * face-remap.el (text-scale-adjust): Call read-event with a proper
991         prompt.
993 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
995         * emacs-lisp/unsafep.el: Don't mark functions that display
996         messages as safe.  Suggested by Johan Bockgård.
998 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1000         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
1001         Turn comments into docstrings.
1003         * minibuffer.el (completion--replace): Move point where it belongs
1004         when there's a common suffix (bug#7215).
1006 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
1008         Merge read-color and facemenu-read-color (Bug#7242).
1010         * faces.el (read-color): Use the completion code from
1011         facemenu-read-color.  Require match in completion.  Doc fix.
1013         * facemenu.el (facemenu-read-color): Alias for read-color.
1014         (facemenu-set-foreground, facemenu-set-background): Use
1015         read-color.
1017         * frame.el (set-background-color, set-foreground-color)
1018         (set-cursor-color, set-mouse-color, set-border-color): Use
1019         read-color.
1021 2010-10-24  Leo  <sdl.web@gmail.com>
1023         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
1024         argument of delete-file and delete-directory (Bug#7011).
1026 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
1028         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
1029         button-buffer-map.
1031 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
1033         * emacs-lisp/package.el (package--generate-package-list): Make the
1034         *Packages* buffer read-only.
1036 2010-10-24  Alan Mackenzie  <acm@muc.de>
1038         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
1039         result of `c-beginning-of-decl-1' between invocations of a lambda
1040         function (Bug #7265).
1042 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
1044         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
1045         executable is not available on the system (Bug#7268).
1047 2010-10-24  Glenn Morris  <rgm@gnu.org>
1049         * select.el (selection-coding-system, next-selection-coding-system):
1050         Sync doc with C versions.
1052         * w32-vars.el (x-select-enable-clipboard):
1053         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
1054         * term/common-win.el (x-select-enable-clipboard): Move here.
1056         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
1057         definition of C variable.
1059         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
1060         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
1061         Don't redefine things that are defined in C.
1062         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
1063         (show-trailing-whitespace, auto-hscroll-mode)
1064         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
1065         Set up the appropriate custom properties.
1067 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
1069         Bind "C-c ]" to ...
1070         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
1071         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
1072         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
1073         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
1075 2010-10-23  Glenn Morris  <rgm@gnu.org>
1077         * textmodes/flyspell.el (flyspell-mode): If there was an error,
1078         say what it was.
1080         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
1081         Sync docs with C version.
1083         * term/ns-win.el (xw-defined-colors):
1084         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
1086         * term/pc-win.el (x-select-enable-clipboard):
1087         * term/x-win.el (x-select-enable-clipboard):
1088         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
1090         * comint.el (comint-password-prompt-regexp): Make it less vague.
1091         Bump version.
1093         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
1095         * help.el (finder-by-keyword): Remove unnecessary autoload.
1097 2010-10-22  Glenn Morris  <rgm@gnu.org>
1099         * loadup.el: Unconditionally load float-sup.
1100         * paren.el (show-paren-delay):
1101         * emacs-lisp/float-sup.el:
1102         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
1103         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
1104         (lazy-lock-stealth-verbose): Assume float support.
1105         * ps-print.el: Assume float support on Emacs.
1106         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
1107         Remove non-float branch.
1109         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
1110         src/Makefile no longer being pre-processed.
1112 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1114         * emacs-lisp/find-func.el (find-library): Use test-completion.
1116 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1118         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
1120 010-10-21  Michael Albinus  <michael.albinus@gmx.de>
1122         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
1123         space in stat format string.
1124         (tramp-send-command): Unset $PS1 when using here documents, in
1125         order not to get several prompts.
1126         (tramp-get-inline-coding): Return `nil' in case of errors.
1128 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
1130         * hexl.el (hexl-mode, hexl-mode-exit):
1131         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
1132         (hexl-revert-buffer-function): New function.
1133         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
1135 2010-10-19  Alan Mackenzie  <acm@muc.de>
1137         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
1138         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
1139         that these keywords aren't wrongly matched as identifiers.
1141         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
1142         setting of c-new-BEG and c-new-END from c-before-change to
1143         c-after-change.  (Bug#7181)
1145 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
1147         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
1148         Don't mark as safe.
1150         * custom.el (custom-theme-set-variables): Likewise.
1151         (load-theme): Add custom-theme-set-faces and
1152         custom-theme-set-variables to safe-functions while loading.
1153         (custom-enabled-themes): Mark as risky.
1155 2010-10-18  Julien Danjou  <julien@danjou.info>
1157         * bindings.el: Remove end dashes in default mode-line-format.
1159 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
1161         * bindings.el (global-map): Bind C-d to delete-char and deletechar
1162         to delete-forward-char.
1164         * simple.el (normal-erase-is-backspace-mode): Remap delete to
1165         deletechar, and hence delete-forward-char.
1167 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1169         * repeat.el (repeat): Use read-key (bug#6256).
1171 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
1173         * emacs-lisp/unsafep.el: Don't mark functions that display
1174         messages as safe.  Suggested by Johan Bockgård.
1176 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1178         * minibuffer.el (completion--replace): Move point where it belongs
1179         when there's a common suffix (bug#7215).
1181 2010-10-19  Kenichi Handa  <handa@m17n.org>
1183         * international/characters.el: Add category '|' (word breakable)
1184         to fullwidth characters.
1186 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
1188         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
1189         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
1190         order to make stat results a float.  Patch by Andreas Schwab
1191         <schwab@linux-m68k.org>.
1193 2010-10-18  Julien Danjou  <julien@danjou.info>
1195         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
1196         hidden by `make-pointer-invisible'.
1198 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1200         * files.el (locate-file-completion-table): Strip non-matching elements
1201         before checking length of list (bug#7238).
1203 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
1205         * custom.el (custom-theme-set-variables): Mark as a safe function.
1206         (load-theme): Check forms using unsafep.
1208         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
1210 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
1212         * textmodes/ispell.el (ispell-aspell-find-dictionary):
1213         Fix aspell data file searching (bug#7230).
1215 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
1217         * cus-theme.el (custom-theme--migrate-settings): New var.
1218         (customize-create-theme): Allow editing the `user' theme.
1219         (custom-theme-add-variable, custom-theme-add-var-1)
1220         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
1221         to the front of each variable or face widget.
1222         (custom-theme-write): Save theme settings in the correct order.
1223         Optionally, remove saved settings from user customizations.
1224         (custom-theme-write-variables, custom-theme-write-faces):
1225         Save only the checked widgets.
1226         (customize-themes): Add a link for migrating custom settings.
1228         * custom.el (custom-declare-theme, provide-theme):
1229         Use custom-theme-name-valid-p.
1230         (custom-theme-name-valid-p): Remove checks that are now
1231         unnecessary since themes no longer obey load-path.
1233         * cus-edit.el (custom-variable-value-create): For the simple
1234         style, hide documentation string when hidden.
1236 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
1238         * cus-edit.el (custom-variable, custom-face): Combine the
1239         :inhibit-magic and :display-style properties into a single
1240         :custom-style property.
1241         (custom-toggle-hide-variable, custom-toggle-hide-face):
1242         New functions.  If hiding an edited value, save it to :shown-value.
1243         (custom-variable-value-create, custom-face-value-create): Use them.
1244         (custom-magic-reset): Allow magic property to be unset.
1246         * custom.el: Custom themes no longer use load-path.
1247         (custom-theme-load-path): New option.  Change built-in theme
1248         directory to etc/.
1249         (custom-enabled-themes): Add custom-theme-load-path dependency.
1250         (custom-theme--load-path): New function.
1251         (load-theme, custom-available-themes): Use it.
1253         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
1254         (customize-themes): Link to custom-theme-load-path variable.
1255         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
1256         :custom-style property.
1258         * themes/*.el: Moved to etc/.
1260 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
1262         * textmodes/reftex-cite.el
1263         (reftex-extract-bib-entries-from-thebibliography): Do not move
1264         point when searching for \bibitem entries.  Match entries with
1265         spaces or tabs in front of arguments.
1267 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
1269         * cus-theme.el (customize-create-theme): Delete overlays after
1270         erasing.  If given a THEME arg, display only the faces of that arg
1271         instead of custom-theme--listed-faces.
1272         (custom-theme-variable-menu, custom-theme-variable-action)
1273         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
1274         (custom-theme-add-variable, custom-theme-add-face): Apply value
1275         from the theme settings, instead of the current value.
1276         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
1277         (custom-theme-visit-theme): Allow calling outside theme buffers.
1278         (custom-theme-merge-theme): Don't enable the theme when merging.
1279         (custom-theme-write-variables, custom-theme-write-faces): Use the
1280         :shown-value properties to save buffer values, not global ones.
1281         (customize-themes): Display a warning about user customizations.
1283         * cus-edit.el (custom-variable-value-create)
1284         (custom-face-value-create): Obey new special properties
1285         :shown-value and :inhibit-magic.
1287 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
1289         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1290         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
1291         <dale@codefu.org>.
1293 2010-10-14  Kenichi Handa  <handa@m17n.org>
1295         * mail/rmail.el (rmail-show-message-1): Catch an error of
1296         base64-decode-region and just show an error message (bug#7165).
1298         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
1299         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
1300         a font-spec (bug#7197).
1302 2010-10-14  Glenn Morris  <rgm@gnu.org>
1304         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
1306 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
1308         * international/mule.el (define-coding-system):
1309         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
1310         * composite.el (compose-region): Fix typo in docstring.
1312 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
1314         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
1315         only after checking the theme-face property.
1317         * faces.el (face-spec-reset-face): Reset all attributes in one
1318         single call to set-face-attribute.
1319         (face-spec-match-p): Make it a defsubst.
1320         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
1321         (x-create-frame-with-faces, tty-create-frame-with-faces)
1322         (tty-set-up-initial-frame-faces): Don't recompute face specs in
1323         frame-set-background-mode, since they are recomputed immediately
1324         afterwards in face-set-after-frame-default.
1325         (face-set-after-frame-default): Minor optimization.
1326         (cursor): Provide non-trivial defface spec.
1328         * custom.el (custom-theme-recalc-face): Simplify.
1330 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
1332         * calc/calc-alg.el (math-var): Rename from `var'.
1333         (math-is-polynomial, math-is-poly-rec): Replace `var'
1334         with `math-var'.
1336         * calc/calcalg2.el (math-var): Rename from `var'.
1337         (calcFunc-table, math-scan-for-limits): Replace `var'
1338         with `math-var'.
1340 2010-10-13  Glenn Morris  <rgm@gnu.org>
1342         * subr.el (last): Deal with dotted lists (reported in bug#7174).
1344 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
1346         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
1348 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1350         * net/tls.el (tls-program): Remove spurious %s from openssl.
1351         (tls-starttls-switches): Remove starttls hack.
1352         (open-tls-stream): Ditto.
1353         (tls-find-starttls-argument): Ditto.
1355 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
1357         * image.el (image-library-alist): Declare as obsolete alias.
1358         (image-type-available-p): Use `dynamic-library-alist'.
1360         * term/w32-win.el (dynamic-library-alist):
1361         Use instead of `image-library-alist'.
1363 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
1365         * subr.el (last): Make it faster.  (Bug#7174)
1367 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
1369         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
1371 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
1373         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
1374         (describe-theme-1): Extract doc from unloaded themes.
1376         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
1378         * themes/tango-theme.el:
1379         * themes/tango-dark-theme.el:
1380         * themes/wheatgrass-theme.el: New files.
1382 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
1384         * cus-theme.el (describe-theme, customize-themes)
1385         (custom-theme-save): New commands.
1386         (custom-new-theme-mode-map): Bind C-x C-s.
1387         (custom-new-theme-mode): Use custom--initialize-widget-variables.
1388         (customize-create-theme): New optional arg THEME.
1389         (custom-theme-revert): Use it.
1390         (custom-theme-visit-theme): Remove dead code.
1391         (custom-theme-merge-theme): Use custom-available-themes.
1392         (custom-theme-write): Make interactive.
1393         (custom-theme-write): Use custom-theme-name-valid-p.
1394         (describe-theme-1, custom-theme-choose-revert)
1395         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
1396         New funs.
1397         (custom-theme-allow-multiple-selections): New option.
1398         (custom-theme-choose-mode): New major mode.
1400         * custom.el (custom-theme-set-variables): Remove dead code.
1401         Obey custom--inhibit-theme-enable.
1402         (custom--inhibit-theme-enable): New var.
1403         (provide-theme): Obey it.
1404         (load-theme): Replace load with manual read/eval, in order to
1405         check for correctness.  Use custom-theme-name-valid-p.
1406         (custom-theme-name-valid-p): New function.
1407         (custom-available-themes): Use it.
1409         * cus-edit.el (custom--initialize-widget-variables): New function.
1410         (Custom-mode): Use it.
1412         * cus-face.el (custom-theme-set-faces): Remove dead code.
1413         Obey custom--inhibit-theme-enable.
1415         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
1417 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
1419         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
1421 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
1423         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
1424         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
1425         (mac-right-option-modifier): New alias for ns-right-option-modifier.
1427         * cus-start.el (all): ns-right-alternate-modifier is new.
1429 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1431         * emacs-lisp/lisp.el (lisp-completion-at-point):
1432         Use emacs-lisp-mode-syntax-table for the whole function.
1434 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
1436         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
1437         instead of font-lock-mode before adding keywords.
1438         Remove hi-lock-mode off code.  Remove inhibit hack.
1439         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
1440         non-nil; removed hook inhibit hack.
1442 2010-10-12  Glenn Morris  <rgm@gnu.org>
1444         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
1445         (load-path-shadows-find): ... to this.
1446         (list-load-path-shadows): Update for above change.
1448         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
1450 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
1452         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
1453         Fix comment for declare-function.
1455 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
1457         * custom.el (custom-fix-face-spec): New function; code moved from
1458         custom-face-edit-fix-value.
1459         (custom-push-theme): Use it when checking if a face has been
1460         changed outside customize.
1461         (custom-available-themes): New function.
1462         (load-theme): Use it.
1464         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
1466         * custom.el (custom-push-theme): Cleanup (use cond).
1467         (disable-theme): Recompute the saved-face property.
1468         (custom-theme-recalc-face): Follow face alias before setting prop.
1470         * image.el (image-checkbox-checked, image-checkbox-unchecked):
1471         New variables, containing checkbox images.
1473         * startup.el (fancy-startup-tail):
1474         * wid-edit.el (checkbox): Use them.
1476 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
1478         * shell.el (shell-mode-map):
1479         * progmodes/modula2.el (m2-mode-map):
1480         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
1481         * play/mpuz.el (mpuz-mode-map):
1482         * play/landmark.el (lm-mode-map):
1483         * play/decipher.el (decipher-mode-map):
1484         * play/5x5.el (5x5-mode-map):
1485         * net/telnet.el (telnet-mode-map):
1486         * net/quickurl.el (quickurl-list-mode-map):
1487         * net/mairix.el (mairix-searches-mode-map):
1488         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
1489         * net/dig.el (dig-mode-map):
1490         * mail/mspools.el (mspools-mode-map):
1491         * hexl.el (hexl-mode-map):
1492         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
1493         (wordstar-C-o-map, wordstar-C-q-map):
1494         * emacs-lisp/edebug.el (edebug-eval-mode-map):
1495         * emacs-lisp/chart.el (chart-map):
1496         * edmacro.el (edmacro-mode-map):
1497         * erc/erc-list.el (erc-list-menu-mode-map):
1498         * array.el (array-mode-map): Declare and define in one step.
1500         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
1502 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
1504         * epa.el (epa-passphrase-callback-function): Display filename
1505         passed as the 3rd arg.
1506         * epa-file.el (epa-file-passphrase-callback-function):
1507         Pass filename to epa-passphrase-callback-function.
1509 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
1511         * cus-edit.el (custom-face-widget-to-spec)
1512         (custom-face-get-current-spec, custom-face-state): New functions.
1513         (custom-face-set, custom-face-mark-to-save)
1514         (custom-face-value-create, custom-face-state-set): Use them.
1516         * cus-theme.el (custom-theme--listed-faces): New var.
1517         (customize-create-theme): Use *Custom Theme* as the buffer name.
1518         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
1519         faces listed in custom-theme--listed-faces.
1520         (custom-theme-revert): New function.
1521         (custom-theme-add-variable, custom-theme-add-face): Insert at the
1522         bottom of the list.
1523         (custom-theme-write): Prompt for theme name if empty.
1524         (custom-theme-write-variables): Use dolist.
1525         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
1527 2010-10-09  Alan Mackenzie  <acm@muc.de>
1529         Enhance fontification of declarators to take account of the
1530         presence/absence of "typedef".
1532         * cc-engine.el (c-forward-type): New &optional param
1533         "brace-block-too".
1534         (c-forward-decl-or-cast-1): cdr of return value now indicates the
1535         presence of either or both of a "struct"-like keyword and "typedef".
1537         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
1538         fontification of declarators which follow a "}".
1539         (c-font-lock-declarations): Fontify declarators according to the
1540         presence/absence of "typedef".
1542         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
1543         for "typedef".
1544         (c-typedef-decl-key): New lang variable built from
1545         c-typedef-decl-kwds.
1547 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1549         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
1550         since that's too annoying.  Move the filter groups commands to
1551         TAB/backtab.
1553         * epa.el (epa-passphrase-callback-function): Say what we're
1554         querying the password for.
1556         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
1557         behaviour, don't bury the ibuffer buffer when visiting other buffers.
1559 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
1561         * cus-edit.el (custom-commands, custom-buffer-create-internal)
1562         (custom-magic-value-create): Pad button tags with spaces.
1563         (custom-face-edit): New variable.
1564         (custom-face-value-create): Determine whether to use the usual
1565         face editor here, instead of using custom-face-selected.
1566         Pass face defaults to custom-face-edit widget.
1567         (custom-face-selected, custom-display-unselected): Delete widgets.
1568         (custom-display-unselected-match): Function removed.
1569         (custom-face-set, custom-face-mark-to-save):
1570         Accept custom-face-edit widgets as the direct widget child.
1572         * wid-edit.el (widget--completing-widget): New var.
1573         (widget-default-complete): Bind it when doing completion.
1574         (widget-string-complete, widget-file-complete): Use it.
1576 2010-10-09  Glenn Morris  <rgm@gnu.org>
1578         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
1579         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
1580         (holiday-hebrew-misc): Small simplifications.
1582         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
1584         * net/browse-url.el: Don't require thingatpt, term, dired,
1585         executable, or w3-auto when compiling.
1586         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
1587         Declare.
1588         (browse-url-text-emacs): Require term.
1590 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
1592         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
1594 2010-10-08  Glenn Morris  <rgm@gnu.org>
1596         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
1598         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
1599         (shadows-compare-text-p): Make it an obsolete alias for...
1600         (load-path-shadows-compare-text): ... new name.
1601         (find-emacs-lisp-shadows): Update for above name change.
1602         (load-path-shadows-same-file-or-nonexistent): New name for the old
1603         shadow-same-file-or-nonexistent.
1605 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
1607         * minibuffer.el (completion--some, completion--do-completion)
1608         (minibuffer-complete-and-exit, minibuffer-completion-help)
1609         (completion-basic-try-completion)
1610         (completion-basic-all-completions)
1611         (completion-pcm--find-all-completions): Use lexical-let to
1612         avoid some false matches in variable completion (Bug#7056)
1614 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
1616         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
1618 2010-10-08  Leo  <sdl.web@gmail.com>
1620         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
1621         return non-nil if the file exists (Bug#7090).
1623 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1625         * minibuffer.el (completion--replace):
1626         Better preserve markers (bug#7138).
1628 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
1630         * server.el (server-process-filter): Doc fix.
1632 2010-10-08  Drew Adams  <drew.adams@oracle.com>
1634         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
1636 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
1638         * Makefile.in (ELCFILES): Update.
1640 2010-10-08  Glenn Morris  <rgm@gnu.org>
1642         * vc/ediff-wind.el (ediff-setup-control-frame):
1643         * vc/ediff-ptch.el (ediff-default-backup-extension):
1644         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
1645         (ediff-exec-process): Remove system-types emx, windows-95.
1647         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
1649 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
1651         * cus-edit.el (custom-variable, custom-face): Doc fix.
1652         (custom-face-edit): Add value-create attribute.
1653         (custom-face-edit-value-create)
1654         (custom-face-edit-value-visibility-action): New functions.
1655         Hide unused face attributes by default, and add a visibility toggle.
1656         (custom-face-edit-deactivate): Show empty values with shadow face.
1657         (custom-face-selected): Only use this for face specs with default
1658         attributes.
1659         (custom-face-value-create): Cleanup.
1661         * wid-edit.el (widget-checklist-value-create): Use dolist.
1662         (widget-checklist-match-find): Make second arg optional.
1664 2010-10-07  Glenn Morris  <rgm@gnu.org>
1666         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
1667         Prefix things.
1669         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
1670         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
1671         load-path-shadows-mode, update references.
1672         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
1673         Rename variable and button.
1674         (list-load-path-shadows): Update button caller.
1676 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1678         * emacs-lisp/smie.el (smie-bnf-classify): New function.
1679         (smie-bnf-precedence-table): Use it to remember the closers/openers.
1680         (smie-merge-prec2s): Handle those new entries.
1681         (smie-prec2-levels): Only set precedence to nil for actual
1682         openers/closers.
1683         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
1684         that is now unnecessary.
1686 2010-10-07  Miles Bader  <miles@gnu.org>
1688         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
1690 2010-10-07  Glenn Morris  <rgm@gnu.org>
1692         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
1693         (mail-position-on-field): Remove declarations.
1694         (mail-position-on-field): Autoload it.
1695         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
1696         and mail-header-end.  Don't require sendmail.
1698         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
1699         (shadow-mode): New mode.
1700         (shadow-find-file): New button.
1701         (list-load-path-shadows): Use shadow-mode and buttons.
1703         * iimage.el (iimage-version): Remove.
1704         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
1705         Turn into defcustoms.
1706         (iimage-mode-map): Give it a doc string.
1708         * calendar/appt.el (appt-activate): Give a warning rather than an error
1709         if there is no diary-file.
1711 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
1713         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1714         Use `tramp-handle-find-backup-file-name'.
1716 2010-10-06  Glenn Morris  <rgm@gnu.org>
1718         * font-core.el (font-lock-defaults-alist): Remove variable.
1719         (font-lock-mode): Doc fix.
1720         (font-lock-default-function): Do not consult font-lock-defaults-alist.
1721         * font-lock.el (font-lock-refresh-defaults): Doc fix.
1722         (font-lock-set-defaults): Doc fix.
1723         Do not consult font-lock-defaults-alist.
1725         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
1727         * emacs-lisp/cl.el: No longer provide cl-19.
1729 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
1731         * net/tramp.el (tramp-handle-directory-files-and-attributes)
1732         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
1733         New defuns, taken from tramp-smb.el.
1734         (tramp-coding-system-change-eol-conversion)
1735         (tramp-set-process-query-on-exit-flag): Remove.
1737         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
1738         (tramp-compat-coding-system-change-eol-conversion)
1739         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
1740         from tramp.el.
1742         * net/tramp-gvfs.el:
1743         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
1744         by `tramp-compat-set-process-query-on-exit-flag'.
1746         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
1747         Use `tramp-handle-directory-files-and-attributes',
1748         `tramp-handle-file-exists-p' and
1749         `tramp-handle-file-newer-than-file-p'.
1750         (tramp-imap-handle-file-exists-p)
1751         (tramp-imap-handle-file-executable-p)
1752         (tramp-imap-handle-file-readable-p)
1753         (tramp-imap-handle-directory-files-and-attributes)
1754         (tramp-imap-handle-file-newer-than-file-p): Remove.
1756         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
1757         by `tramp-compat-set-process-query-on-exit-flag' and
1758         `tramp-coding-system-change-eol-conversion' by
1759         `tramp-compat-coding-system-change-eol-conversion'.
1761         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1762         Use `tramp-handle-directory-files-and-attributes',
1763         `tramp-handle-file-exists-p' and
1764         `tramp-handle-file-newer-than-file-p'.
1765         (tramp-smb-handle-directory-files-and-attributes)
1766         (tramp-smb-handle-file-exists-p)
1767         (tramp-smb-handle-file-newer-than-file-p): Remove.
1768         (tramp-smb-maybe-open-connection):
1769         Replace `tramp-set-process-query-on-exit-flag' by
1770         `tramp-compat-set-process-query-on-exit-flag'.
1772 2010-10-05  Glenn Morris  <rgm@gnu.org>
1774         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
1776 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
1778         Continue reorganization of load dependencies.  (Bug#7156)
1780         * net/tramp.el (tramp-handle-file-local-copy-hook)
1781         (tramp-delete-temp-file-function): Move down.
1782         (tramp-exists-file-name-handler): Move up.
1783         (tramp-register-file-name-handlers): Simplify autoload.
1784         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
1785         (tramp-handle-directory-files, tramp-handle-dired-uncache)
1786         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
1787         (tramp-handle-file-name-completion)
1788         (tramp-handle-file-name-directory)
1789         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
1790         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
1791         (tramp-handle-find-backup-file-name)
1792         (tramp-handle-insert-file-contents, tramp-handle-load)
1793         (tramp-handle-substitute-in-file-name)
1794         (tramp-handle-unhandled-file-name-directory)
1795         (tramp-mode-string-to-int, tramp-local-host-p)
1796         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
1798         * net/tramp-gvfs.el (top):
1799         * net/tramp-smb.el (top): Do not require 'tramp-sh.
1801         * net/tramp-sh.el (all): Move several objects to tramp.el, see
1802         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
1804 2010-10-04  Glenn Morris  <rgm@gnu.org>
1806         * calendar/appt.el (appt-add): Ensure reminders are enabled.
1807         (appt-activate): Give status messages.
1809 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
1811         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
1812         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
1813         `gnutls-negotiate' (formerly `starttls-negotiate').
1814         Remove trivial wrapper `starttls-open-stream'.
1816 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
1818         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
1819         log-outgoing commands.
1820         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
1821         to create a buffer local revert-buffer-function variable.
1822         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
1823         revert-buffer-function lambda.
1825 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
1827         * net/gnutls.el (starttls-negotiate): Use the plist interface to
1828         `gnutls-boot'.  Make TYPE the only required parameter.
1829         Allow TRUSTFILES and KEYFILES to be lists.
1830         (open-ssl-stream): Use it.
1832 2010-10-03  Glenn Morris  <rgm@gnu.org>
1834         * subr.el (directory-sep-char): Remove obsolete variable.
1835         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
1836         it is "necessary".
1838         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
1839         * vc/vc.el (vc-static-header-alist): Doc fix.
1840         * vc/vc-cvs.el (vc-cvs-header):
1841         * vc/vc-rcs.el (vc-rcs-header):
1842         * vc/vc-sccs.el (vc-sccs-header):
1843         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
1844         * obsolete/vc-mcvs.el (vc-mcvs-header):
1845         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
1846         on XEmacs.
1848 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
1850         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
1851         Remove obsolete use of binary-overwrite-mode (Bug#7001).
1853 2010-10-03  Glenn Morris  <rgm@gnu.org>
1855         * obsolete/x-menu.el: Remove file, obsolete since 21.1
1857         * textmodes/rst.el (rst-font-lock-keywords-function):
1858         Drop Emacs 20 code.
1860         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
1862         * printing.el: Drop Emacs 20 code.
1864         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
1865         without having used appt.el already).
1867         * subr.el (make-local-hook): Remove function obsolete since 21.1.
1868         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
1869         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
1870         XEmacs.
1871         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
1872         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
1874         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
1875         (charset-width, find-charset-region, chars-in-region, forward-point)
1876         (encode-coding-string, coding-system-p, ccl-execute-on-string)
1877         (define-ccl-program, multibyte-string-p, string-make-multibyte):
1878         Remove compatibility cruft (none of these are used by ps*.el).
1880 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
1882         * subr.el (booleanp): Return t instead of a list (Bug#7086).
1884 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
1886         * server.el (server-process-filter, server-return-error):
1887         Give emacsclient time to shut down after receiving an error string.
1889 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
1891         * files.el (remote-file-name-inhibit-cache): New defcustom.
1893         * time.el (display-time-file-nonempty-p):
1894         Use `remote-file-name-inhibit-cache'.
1896         * net/tramp.el (tramp-completion-reread-directory-timeout):
1897         Fix docstring.
1899         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
1900         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
1901         `remote-file-name-inhibit-cache'.  Check also for an integer
1902         value.  Add/increase counter when `tramp-verbose' >= 10.
1903         (tramp-set-file-property): Add/increase counter when
1904         `tramp-verbose' >= 10.
1906         * net/tramp-cmds.el (tramp-cleanup-all-connections)
1907         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
1908         (tramp-bug): Set tramp-autoload cookie.  Report all interned
1909         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
1910         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
1911         characters only in strings.
1913         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
1914         to backward compatibility.
1916         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
1917         (tramp-handle-file-name-all-completions)
1918         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
1919         (tramp-open-connection-setup-interactive-shell):
1920         Call `tramp-cleanup-connection' directly.
1922 2010-10-02  Glenn Morris  <rgm@gnu.org>
1924         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
1926         * subr.el (char-bytes): Remove obsolete function.
1928         * isearch.el (isearch-return-char): Remove obsolete function.
1930         * mouse.el: No longer provide mldrag.
1931         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
1932         Remove obsolete aliases.
1934         * comint.el (comint-kill-output): Remove obsolete alias.
1936         * composite.el (decompose-composite-char): Remove obsolete function.
1937         * ps-def.el (decompose-composite-char): Remove unused function.
1939         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
1941         * outline.el (outline-visible): Remove obsolete function.
1943         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
1944         * faces.el (internal-find-face, internal-get-face)
1945         (frame-update-faces, frame-update-face-colors)
1946         (x-frob-font-weight, x-frob-font-slant)
1947         (internal-frob-font-weight, internal-frob-font-slant)
1948         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
1949         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
1950         (x-make-font-bold-italic): Remove functions and aliases, obsolete
1951         since Emacs 21.1.
1952         * emulation/viper-util.el (viper-get-face):
1953         * obsolete/lucid.el (find-face, get-face): Use facep.
1954         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
1955         Remove unused functions.
1956         * vc/ediff-util.el (ediff-submit-report): Doc fix.
1958         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
1959         delete tempfile if interrupted during compilation.
1961 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1963         * net/tls.el (tls-starttls-switches): Give up on using starttls with
1964         gnutls-cli.
1965         (tls-program): Add --insecure to be consistent with the defaults from
1966         openssl s_client.  Now all three commands are insecure.
1968 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
1970         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
1971         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
1972         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
1974 2010-10-01  Glenn Morris  <rgm@gnu.org>
1976         * obsolete/sc.el: Remove file.
1978         * files.el (temporary-file-directory): On darwin, also try
1979         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
1981 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
1983         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
1984         Let's not break compatibility gratuitously, shall we?
1986 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1988         * net/tls.el (tls-starttls-switches): New variable.
1989         (tls-find-starttls-argument): Use it.
1990         (open-tls-stream): Ditto.
1992         * net/netrc.el (netrc-credentials): Return the value of the "default"
1993         entry.
1994         (netrc-machine): Ditto.
1996 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
1998         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
2000 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
2002         * server.el (server-start): Don't write pid to the authentication file.
2003         (server-create-tty-frame): Don't send pid.
2004         (server-process-filter): Send pid at the start of every connection.
2006 2010-09-30  Glenn Morris  <rgm@gnu.org>
2008         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
2009         (show-all-diary-entries): Remove obsolete function aliases.
2011         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
2012         Remove options, obsolete since 22.1.
2013         (appt-display-format, appt-display-message): Remove
2014         backwards-compatibility code.
2015         (appt-check): No longer check appt-issue-message.
2016         (appt-make-list): No longer autoload it.  Doc fix.  No longer
2017         activate the package.
2019 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2021         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
2022         (starttls-negotiate): Just call boot, and let the handshake be
2023         triggered from the read loop.
2025 2010-09-29  Glenn Morris  <rgm@gnu.org>
2027         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
2028         not displaying the diary.
2029         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
2030         * calendar/appt.el (appt-check): No longer need to kill diary.
2032         * calendar/diary-lib.el (diary-list-entries): Move the
2033         "Preparing..." message entirely here.
2034         (diary-simple-display, diary-fancy-display): Move "Preparing..."
2035         messages to diary-list-entries.
2036         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
2037         diary-display-function.
2039         * calendar/diary-lib.el (diary-include-other-diary-files):
2040         Trap some recursive includes.
2042         * calendar/appt.el (appt-activate): Check diary file.
2044 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
2046         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
2047         construction.
2049         * calendar/time-date.el: No need to require cl for Emacs 21.
2051 2010-09-28  Glenn Morris  <rgm@gnu.org>
2053         * calendar/appt.el (appt-check): Minor simplification.
2055 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
2057         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
2058         citation prefix.
2060 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
2062         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2063         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
2065 2010-09-27  Kenichi Handa  <handa@m17n.org>
2067         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
2068         "ustar" format.
2070 2010-09-27  Kenichi Handa  <handa@m17n.org>
2072         * international/mule.el (define-coding-system): Docstring fixed.
2074         * international/mule-diag.el (describe-character-set): Use princ
2075         with proper print-length and print-level instead of insert.
2077 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
2079         * window.el (walk-windows): Doc fix (bug#7105).
2081 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2083         * emacs-lisp/float-sup.el (e): Remove.
2085 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
2087         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
2088         variable.
2089         (starttls-negotiate): Use it.
2091 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2093         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
2094         back.
2096 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2098         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
2100 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2102         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
2104         * net/netrc.el (netrc-store-data): New function.
2106 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
2108         * net/gnutls.el: GnuTLS glue code to set up a connection.
2110 2010-09-25  Julien Danjou  <julien@danjou.info>
2112         * notifications.el: Call dbus-register-signal only if it is bound.
2114 2010-09-25  Glenn Morris  <rgm@gnu.org>
2116         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2117         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2118         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2119         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2120         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2121         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
2122         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
2123         * eshell/esh-util.el, eshell/esh-var.el:
2124         Remove leading `*' from docs of faces and defcustoms.
2126 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
2128         * eshell/em-ls.el (eshell-ls-archive-regexp):
2129         * eshell/esh-util.el (eshell-tar-regexp):
2130         * ibuffer.el (ibuffer-compressed-file-name-regexp):
2131         * info.el (Info-suffix-list):
2132         * international/mule.el (auto-coding-alist):
2133         * woman.el (woman-file-regexp, woman-file-compression-regexp):
2134         * progmodes/etags.el (tags-compression-info-list):
2135         Support xz compression.
2137 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
2139         * files.el (get-free-disk-space): Don't assume the "df" output
2140         columns line up (Bug#6995).
2142 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
2144         * finder.el (finder-unknown-keywords):
2145         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
2146         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
2148 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
2150         * server.el (server-start): Revert part of 2010-08-08 change.  Using
2151         address 127.0.0.1 for local host is now done in Fmake_network_process.
2153 2010-09-24  Glenn Morris  <rgm@gnu.org>
2155         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
2156         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
2157         * textmodes/css-mode.el, textmodes/dns-mode.el:
2158         Move autoloaded auto-mode-alist entries to files.el.
2159         * files.el (auto-mode-alist): Move entries here.
2161 2010-09-23  Glenn Morris  <rgm@gnu.org>
2163         * isearch.el (isearch-lazy-highlight-cleanup)
2164         (isearch-lazy-highlight-initial-delay)
2165         (isearch-lazy-highlight-interval)
2166         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
2167         * net/net-utils.el (ipconfig-program-options):
2168         Move aliases to options before the associated definitions.
2170 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2172         * newcomment.el (comment-normalize-vars): Better test validity of
2173         comment-end-skip.
2175 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2177         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
2178         (float-e): New name for `e'.
2179         (degrees-to-radians, radians-to-degrees):
2180         * calendar/solar.el (solar-longitude):
2181         * calculator.el (calculator-registers, calculator-funcall):
2182         * textmodes/artist.el (artist-spray-random-points):
2183         * play/bubbles.el (bubbles--initialize-images): Use new names.
2185 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
2187         Update to CEDET 1.0's version of EIEIO.
2189         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
2190         New function.
2191         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
2192         (eieio-default-eval-maybe): Eval val instead of unquoting only.
2193         (class-precedence-list): If class is nil, return nil.
2194         (eieio-generic-call): If class of first input arg is nil, don't
2195         look up static methods, and do check for primary methods.
2196         (initialize-instance): See if the default needs to be evaluated
2197         during the constructor.
2198         (eieio-perform-slot-validation-for-default): Don't do the check
2199         for values that will eventually be evaluated.
2200         (eieio-eval-default-p): New function.
2201         (eieio-default-eval-maybe): Use it.
2203 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
2205         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
2206         method-invocation-order.
2207         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
2208         (eieio-class-precedence-dfs): Compute class precedence list using
2209         dfs algorithm.
2210         (eieio-class-precedence-bfs): Compute class precedence list using
2211         bfs algorithm.
2212         (eieio-class-precedence-c3): Compute class precedence list using
2213         c3 algorithm.
2214         (class-precedence-list): New function.
2215         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
2216         (inconsistent-class-hierarchy): New error symbol.
2217         (call-next-method): Stow the replacement argument list for future
2218         call-next-method invocations.
2220 2010-09-23  Glenn Morris  <rgm@gnu.org>
2222         * calendar/appt.el (appt-check): If not displaying the diary,
2223         use (diary 1) to only get the entries we need.
2224         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
2225         that it is in day order.  (Bug#7019)
2227         * calendar/appt.el (appt-check): Rather than showing the diary,
2228         just turn off invisible display, and only if needed.
2230         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
2232 2010-09-23  Glenn Morris  <rgm@gnu.org>
2234         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2235         (byte-compile-defvar, byte-compile-cl-warn):
2236         Start warnings with lower-case, like the majority.
2238         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
2240         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
2242         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
2243         * files.el (auto-mode-alist): Move ld-script entries here, further down
2244         the list.
2246         * vc/add-log.el: Don't require timezone when compiling.
2247         (timezone-make-date-sortable): Autoload it.
2248         (change-log-sortable-date-at): Don't require timezone.
2249         Use `ignore-errors'.
2251         * comint.el (comint-use-prompt-regexp-instead-of-fields):
2252         Move alias before definition, so it does not need autoloading.
2254         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
2255         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
2256         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
2257         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
2258         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
2259         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
2260         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
2261         * textmodes/tex-mode.el, textmodes/two-column.el:
2262         Remove leading `*' from docs of defcustoms etc.
2264 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
2266         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
2268 2010-09-22  Dan Christensen  <jdc@uwo.ca>
2270         * calendar/time-date.el (date-to-time): Try using parse-time-string
2271         first before using the slower timezone-make-date-arpa-standard.
2273 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
2275         * calendar/time-date.el (format-seconds): Comment fix.
2277 2010-09-22  Glenn Morris  <rgm@gnu.org>
2279         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
2280         is not automatically buffer-local.
2282 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2284         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
2285         (smie-indent-comment): Be more careful with comment-start-skip.
2286         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
2287         (smie-indent-functions): Use them.
2289 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
2291         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
2293 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
2295         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
2296         tool-bar-position.  Don't modify frame parameters here.
2297         (menu-bar-options-save): Add tool-bar-position.
2299         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
2301 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2303         * textmodes/reftex-parse.el (reftex-what-macro)
2304         (reftex-context-substring): Let-bind forward-sexp-function to nil
2305         since we don't need/want to treat \begin...\end as a block (bug#7053).
2307         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
2309         * simple.el (blink-matching-open): Use syntax-class.
2311         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
2312         Set invisibility spec for pascal's outline mode.
2313         (pascal-outline-change): Clean up calling convention.
2314         (pascal-show-all, pascal-hide-other-defuns): Update callers.
2316         * progmodes/prolog.el (prolog-smie-forward-token)
2317         (prolog-smie-backward-token): New functions.
2318         (prolog-mode-variables): Use them to parse "!," correctly.
2319         Set up smie-blink-matching for ".".
2321         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
2322         and `end'.
2323         (ispell-region, ispell-process-line): Update users.
2325         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
2326         point-min==1.
2328         * textmodes/ispell.el: Fix commenting convention.
2329         (ispell-parse-output): Simplify, use push.
2330         (ispell-region): Use match-string-no-properties.
2331         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
2332         (ispell-minor-mode): Use define-minor-mode.
2333         (ispell-message): Remove unused var `skip-regexp'.
2334         (ispell-add-per-file-word-list): Use dynamic let-binding.
2335         Try and use the proper comment marker.
2337         * mail/sendmail.el: Fix commenting convention.
2338         (sendmail-send-it): Use line-beginning-position.
2340         * help-fns.el (describe-variable): Add original value, if applicable.
2342 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
2344         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
2346         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
2348 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2350         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
2351         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
2352         (smie-prec2-levels): Use them to better diagnose precedence cycles.
2353         (smie-blink-matching-check): Don't signal a mismatch if car is t.
2354         (smie-blink-matching-open): Rewrite to remove assumptions, so that
2355         something like "." can also be a closer.
2356         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
2357         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
2358         Rename internal functions to use "--".  Update callers.
2360         * frame.el (make-frame-names-alist): Don't list frames on other displays.
2362         * fringe.el (fringe-styles): New var.
2363         (fringe-mode, fringe-query-style): Use it.
2365 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
2367         * progmodes/sql.el: Version 2.8
2368         (sql-login-params): Update widget structure; changes still needed.
2369         (sql-product-alist): Add :list-all and :list-table features for
2370         SQLite, Postgres and MySQL products.
2371         (sql-redirect): Handle default value.
2372         (sql-execute, sql-execute-feature): New functions.
2373         (sql-read-table-name): New function.
2374         (sql-list-all, sql-list-table): New functions.  User API.
2375         (sql-mode-map, sql-interactive-mode-map): Add key definitions
2376         for above functions.
2377         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
2378         for above functions.
2379         (sql-postgres-login-params): Add user and database defaults.
2380         (sql-buffer-live-p): Bug fix.
2381         (sql-product-history): New variable.
2382         (sql-read-product): New function. Use it.
2383         (sql-set-product, sql-product-interactive): Use it.
2384         (sql-connection-history): New variable.
2385         (sql-read-connection): New function.  Use it.
2386         (sql-connect): New function.
2387         (sql-for-each-login): Redesign function interface.
2388         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
2389         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
2390         (sql-comint): Check for program.  Existing live buffer.
2391         (sql-comint-postgres): Add port parameter.
2393 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2395         * emacs-lisp/warnings.el: Fix commenting convention.
2396         (display-warning): Use special mode and make the buffer read-only.
2398 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
2400         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
2401         empty string when it follows a repeated or optional pattern.
2403 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2405         * indent.el (indent-according-to-mode): Apply syntax-propertize.
2406         (indent-region): Use indent-according-to-mode.
2408 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
2410         * fringe.el (fringe-mode): Doc fix.
2412 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
2414         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
2415         refreshing the preview buffer.
2417 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2419         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
2420         (latex-syntax-propertize-rules): New consts; replace
2421         tex-font-lock-syntactic-keywords.
2422         (tex-env-mark, latex-env-before-change): New functions.
2423         (latex-electric-env-pair-mode): New minor mode.
2424         (tex-font-lock-verb): Change arguments; do move point.
2425         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
2426         representation as a form of comment.
2427         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
2428         (doctex-syntax-propertize-rules): New const; replaces
2429         doctex-font-lock-syntactic-keywords.
2430         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
2432         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
2433         (fortran-make-syntax-propertize-function): New function; replaces
2434         fortran-font-lock-syntactic-keywords.
2435         (fortran-mode): Use it.
2436         (fortran-line-length): Use it.  Improve interactive spec.
2438         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
2439         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
2440         when adding surrounding \(..\).
2442         * progmodes/js.el (js-mode): Fix last change (bug#7054).
2444 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2446         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
2447         Use with-current-buffer.
2449         * isearch.el (isearch-face): Rename from `isearch'.
2450         (isearch-highlight): Use new name.
2452 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
2454         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
2455         5, for `half' width fringes.  (Bug#6933)
2457 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2459         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
2460         (byte-compile-defvar): "foo/bar" does not lack a prefix.
2462         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
2464 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
2466         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
2467         in calculating new frame position.  Add more space between new and
2468         parent on the left (Bug#7048).
2470 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
2472         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
2473         defmacro.
2475 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
2477         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
2479         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
2480         obsolete alias for x-selection-value.
2482         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
2484 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
2486         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
2487         cookie.
2489 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
2491         * net/tramp-compat.el (tramp-compat-with-temp-message)
2492         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
2493         (tramp-compat-process-put): New defuns.
2495         * net/tramp.el (top):
2496         * net/tramp-gvfs.el (top):
2497         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
2499         * net/tramp.el (tramp-progress-reporter-update):
2500         Use `tramp-compat-funcall'.
2502         * net/tramp.el (tramp-process-actions):
2503         * net/tramp-gvfs.el (tramp-handle-vc-registered):
2504         * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
2505         (tramp-get-remote-stat, tramp-get-remote-readlink):
2506         Use `tramp-compat-with-temp-message'.
2508         * net/tramp-sh.el (top): Require 'cl.
2509         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
2510         (tramp-open-connection-setup-interactive-shell):
2511         Use `tramp-compat-process-put'.
2513 2010-09-15  Alan Mackenzie  <acm@muc.de>
2515         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
2516         indentation.
2517         (c-forward-<>-arglist-recur): Fix an infinite recursion.
2519 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2521         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
2522         `lexical' for warnings related to lexical scoping.
2523         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
2524         global vars which don't have a prefix and could hence affect lexical
2525         scoping in unrelated files.
2527 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2529         * net/imap.el: Revert back to version
2530         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
2531         seem problematic.
2533 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
2535         * obsolete/old-whitespace.el (whitespace-unload-function):
2536         Explicitly pass `obarray' to `unintern' to avoid a warning.
2538 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2540         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
2541         Add `when' argument.  Update callers.
2543         * subr.el (unintern): Declare the obarray arg mandatory.
2545 2010-09-14  Glenn Morris  <rgm@gnu.org>
2547         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
2548         Doc fixes.
2550         * calendar/diary-lib.el (diary-included-files): New variable.
2551         (diary-list-entries): Maybe initialize diary-included-files.
2552         (diary-include-other-diary-files): Append to diary-included-files.
2553         * calendar/appt.el (appt-update-list): Also check the members of
2554         diary-included-files.  (Bug#6999)
2555         (appt-check): Doc fix.
2557 2010-09-14  David Reitter  <david.reitter@gmail.com>
2559         * simple.el (line-move-visual): Do not truncate goal column to
2560         integer size.  (Bug#7020)
2562 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2564         * repeat.el (repeat): Allow repeating when the last event is a click.
2565         Suggested by Drew Adams (bug#6256).
2567 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
2569         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
2570         Replace setting HGRCPATH to "" by some less invasive --config options.
2572 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2574         * font-lock.el (font-lock-beginning-of-syntax-function):
2575         Mark as obsolete.
2577 2010-09-14  Glenn Morris  <rgm@gnu.org>
2579         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
2580         and tool-bar modes.  (Bug#6211)
2581         (menu-bar-mode): Move setting of standard-value after the
2582         minor-mode definition, otherwise it seems to have no effect.
2584 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
2586         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
2587         Fix typo.  (Bug#6976)
2589 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2591         * whitespace.el: Allow cleaning up blanks without blank
2592         visualization (Bug#6651).  Adjust help window for
2593         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
2594         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
2595         (whitespace-style): Add new value 'face.  Adjust docstring.
2596         (whitespace-space, whitespace-hspace, whitespace-tab):
2597         Adjust foreground property face.
2598         (whitespace-line-column): Adjust docstring and type declaration.
2599         (whitespace-style-value-list, whitespace-toggle-option-alist)
2600         (whitespace-help-text): Adjust const initialization.
2601         (whitespace-toggle-options, global-whitespace-toggle-options):
2602         Adjust docstring.
2603         (whitespace-display-window, whitespace-interactive-char)
2604         (whitespace-style-face-p, whitespace-color-on): Adjust code.
2605         (whitespace-help-scroll): New fun.
2607 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
2609         * calendar/time-date.el (format-seconds): Comment fix.
2611 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
2613         * progmodes/sql.el: Version 2.7.
2614         (sql-buffer-live-p): Improve detection.
2615         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
2616         (sql-set-sqli-buffer): Use it.
2617         (sql-product-interactive): Run `sql-set-sqli-hook'.
2618         (sql-rename-buffer): Code cleanup.
2619         (sql-redirect, sql-redirect-value): New functions.  More to come.
2621 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
2623         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.
2624         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
2625         (TRAMP_SRC): New macro.
2626         ($(lisp)/net/tramp-loaddefs.el): New target.
2628 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
2630         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
2632         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
2634         * net/tramp.el (top): Don't show loading message.  Require just
2635         'tramp-compat, everything else is required there.
2636         Use `ignore-errors' where appropriate.
2637         (tramp-inline-compress-start-size, tramp-copy-size-limit)
2638         (tramp-terminal-type, tramp-end-of-output)
2639         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
2640         (tramp-completion-function-alist-ssh)
2641         (tramp-completion-function-alist-telnet)
2642         (tramp-completion-function-alist-su)
2643         (tramp-completion-function-alist-putty, tramp-remote-path)
2644         (tramp-remote-process-environment, tramp-sh-extra-args)
2645         (tramp-actions-before-shell, tramp-uudecode)
2646         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
2647         (tramp-perl-file-attributes)
2648         (tramp-perl-directory-files-and-attributes)
2649         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
2650         (tramp-perl-encode, tramp-perl-decode)
2651         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
2652         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
2653         (tramp-handle-make-symbolic-link, tramp-handle-load)
2654         (tramp-handle-file-name-as-directory)
2655         (tramp-handle-file-name-directory)
2656         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
2657         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
2658         (tramp-do-file-attributes-with-ls)
2659         (tramp-do-file-attributes-with-perl)
2660         (tramp-do-file-attributes-with-stat)
2661         (tramp-handle-set-visited-file-modtime)
2662         (tramp-handle-verify-visited-file-modtime)
2663         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
2664         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
2665         (tramp-handle-file-selinux-context)
2666         (tramp-handle-set-file-selinux-context)
2667         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
2668         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
2669         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
2670         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
2671         (tramp-handle-file-ownership-preserved-p)
2672         (tramp-handle-directory-file-name, tramp-handle-directory-files)
2673         (tramp-handle-directory-files-and-attributes)
2674         (tramp-do-directory-files-and-attributes-with-perl)
2675         (tramp-do-directory-files-and-attributes-with-stat)
2676         (tramp-handle-file-name-all-completions)
2677         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
2678         (tramp-handle-copy-file, tramp-handle-copy-directory)
2679         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
2680         (tramp-do-copy-or-rename-file-via-buffer)
2681         (tramp-do-copy-or-rename-file-directly)
2682         (tramp-do-copy-or-rename-file-out-of-band)
2683         (tramp-handle-make-directory, tramp-handle-delete-directory)
2684         (tramp-handle-delete-file)
2685         (tramp-handle-dired-recursive-delete-directory)
2686         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
2687         (tramp-handle-insert-directory)
2688         (tramp-handle-unhandled-file-name-directory)
2689         (tramp-handle-expand-file-name)
2690         (tramp-handle-substitute-in-file-name)
2691         (tramp-handle-executable-find, tramp-process-sentinel)
2692         (tramp-handle-start-file-process, tramp-handle-process-file)
2693         (tramp-handle-call-process-region, tramp-handle-shell-command)
2694         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
2695         (tramp-handle-insert-file-contents)
2696         (tramp-handle-insert-file-contents-literally)
2697         (tramp-handle-find-backup-file-name)
2698         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
2699         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
2700         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
2701         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
2702         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
2703         (tramp-find-file-exists-command, tramp-open-shell)
2704         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
2705         (tramp-open-connection-setup-interactive-shell)
2706         (tramp-local-coding-commands, tramp-remote-coding-commands)
2707         (tramp-find-inline-encoding, tramp-call-local-coding-command)
2708         (tramp-inline-compress-commands, tramp-find-inline-compress)
2709         (tramp-compute-multi-hops, tramp-maybe-open-connection)
2710         (tramp-send-command, tramp-wait-for-output)
2711         (tramp-send-command-and-check, tramp-barf-unless-okay)
2712         (tramp-send-command-and-read, tramp-mode-string-to-int)
2713         (tramp-convert-file-attributes, tramp-check-cached-permissions)
2714         (tramp-file-mode-from-int, tramp-file-mode-permissions)
2715         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
2716         (tramp-method-out-of-band-p, tramp-local-host-p)
2717         (tramp-get-remote-path, tramp-get-remote-tmpdir)
2718         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
2719         (tramp-get-test-command, tramp-get-test-nt-command)
2720         (tramp-get-file-exists-command, tramp-get-remote-ln)
2721         (tramp-get-remote-perl, tramp-get-remote-stat)
2722         (tramp-get-remote-readlink, tramp-get-remote-trash)
2723         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
2724         (tramp-get-local-uid, tramp-get-local-gid)
2725         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
2726         tramp-sh.el.
2727         (tramp-methods, tramp-default-method-alist)
2728         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
2729         Move initialization to tramp-sh.el.
2730         (tramp-temp-name-prefix): Make it a defconst.
2731         (tramp-dissect-file-name): Don't check anymore for multi-hop
2732         methods.
2733         (tramp-debug-outline-regexp): Add a docstring.
2734         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
2735         (tramp-get-debug-buffer): Use it.
2737         * net/tramp-cache.el (top): Set tramp-autoload cookie for
2738         initialization forms.
2739         (tramp-set-connection-property): Don't protect `tramp-message'
2740         call, it isn't necessary any longer.
2741         (tramp-dump-connection-properties): Use `ignore-errors'.
2743         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
2744         'password-cache and 'auth-source.
2746         * net/tramp-gvfs.el (top):
2747         * net/tramp-smb.el (top): Require 'tramp-sh.
2749         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
2751         * net/tramp-sh.el: New file, derived from tramp.el.
2752         (top): Initialize `tramp-methods', `tramp-default-method-alist',
2753         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
2754         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
2755         Use `ignore-errors' where appropriate.
2756         (tramp-sh-file-name-handler-alist): Rename from
2757         `tramp-file-name-handler-alist'.
2758         (tramp-send-command-and-check): Return t or nil.  Remove all
2759         `zerop' checks, where called.
2760         (tramp-handle-set-file-modes)
2761         (tramp-do-copy-or-rename-file-directly)
2762         (tramp-handle-delete-directory, tramp-handle-delete-file)
2763         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
2764         (tramp-sh-file-name-handler, tramp-send-command-and-check)
2765         (tramp-get-remote-ln): Set tramp-autoload cookie.
2767         * net/tramp-fish.el: Remove file.
2769 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
2771         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
2772         buffer-file-name to avoid file-locking.  (Bug#7026)
2774 2010-09-13  Julien Danjou  <julien@danjou.info>
2776         * notifications.el (notifications-notify): Add support for
2777         image-path and sound-name.
2778         (notifications-specification-version): Add this variable.
2780 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2782         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
2784 2010-09-12  Leo  <sdl.web@gmail.com>
2786         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
2787         (rcirc-completion-start): New variables.
2788         (rcirc-nick-completions): Rename to rcirc-completions.
2789         (rcirc-nick-completion-start-offset): Delete.
2790         (rcirc-completion-at-point): New function for constructing
2791         completion data for both nicks and irc commands.  Add to
2792         completion-at-point-functions in rcirc mode.
2793         (rcirc-complete): Rename from rcirc-nick-complete; use
2794         rcirc-completion-at-point.
2795         (defun-rcirc-command): Update rcirc-client-commands.
2797 2010-09-11  Glenn Morris  <rgm@gnu.org>
2799         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
2800         atomically, to avoid parallel build errors.  (Bug#4196)
2802 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
2804         * progmodes/sql.el: Version 2.6
2805         (sql-dialect): Synonym for "sql-product".
2806         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
2807         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
2808         Set "sql-buffer" to buffer name not buffer object so multiple sql
2809         interactive buffers work properly.  Reverts misguided changes in
2810         earlier work.
2811         (sql-comint): Make sure different buffer name is used if "*SQL*"
2812         buffer is for a different product.
2813         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
2814         login param.
2815         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
2816         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
2817         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
2818         Accept new buffer name or prompt for one.
2819         (sql-port): Default to zero.
2820         (sql-comint-mysql): Handle "sql-port" as a numeric.
2821         (sql-port-history): Delete unused variable.
2822         (sql-get-login): Default "sql-port" to a number.
2823         (sql-product-alist): Correct Postgres prompt and terminator regexp.
2824         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
2825         "sqlite3" executables.
2826         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
2827         (sql-buffer-live-p): New function.
2828         (sql-mode-menu, sql-send-string): Use it.
2829         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
2830         syntax pattern.
2831         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
2832         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
2834 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2836         * net/netrc.el (netrc-credentials): New convenience function.
2838 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2840         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
2841         to replace texinfo-font-lock-syntactic-keywords.
2842         (texinfo-mode): Use it.
2844         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
2845         Use syntax-propertize-function.
2847         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
2848         replace sgml-font-lock-syntactic-keywords.
2849         (sgml-mode): Use it.
2851         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
2852         since we don't use it.
2854         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
2856         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
2857         if available.
2858         (vhdl-fontify-buffer): Adjust.
2860         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
2861         replace tcl-font-lock-syntactic-keywords.
2862         (tcl-mode): Use it.
2864         * progmodes/simula.el (simula-syntax-propertize-function): New var to
2865         replace simula-font-lock-syntactic-keywords.
2866         (simula-mode): Use it.
2868         * progmodes/sh-script.el (sh-st-symbol): Remove.
2869         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
2870         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
2871         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
2872         (sh-font-lock-paren): Set syntax-multiline.
2873         (sh-font-lock-syntactic-keywords): Remove.
2874         (sh-syntax-propertize-function): New function to replace it.
2875         (sh-mode): Use it.
2877         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
2878         Define while compiling.
2879         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2880         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
2881         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
2882         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2883         (ruby-here-doc-end-syntax): Only define when
2884         syntax-propertize is not available.
2885         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
2886         New functions.
2887         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
2888         (electric-indent-chars): Silence bytecompiler.
2889         (ruby-mode): Use prog-mode, syntax-propertize-function, and
2890         electric-indent-chars.
2892         * progmodes/python.el (python-syntax-propertize-function): New var to
2893         replace python-font-lock-syntactic-keywords.
2894         (python-mode): Use it.
2895         (python-quote-syntax): Simplify and adjust to new use.
2897         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
2898         replace perl-font-lock-syntactic-keywords.
2899         (perl-syntax-propertize-special-constructs): New fun to replace
2900         perl-font-lock-special-syntactic-constructs.
2901         (perl-font-lock-syntactic-face-function): New fun.
2902         (perl-mode): Use it.
2904         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
2905         to replace octave-font-lock-close-quotes.
2906         (octave-syntax-propertize-function): New function to replace
2907         octave-font-lock-syntactic-keywords.
2908         (octave-mode): Use it.
2910         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
2911         replaces mixal-font-lock-syntactic-keywords.
2912         (mixal-mode): Use it.
2914         * progmodes/make-mode.el (makefile-syntax-propertize-function):
2915         New var; replaces makefile-font-lock-syntactic-keywords.
2916         (makefile-mode): Use it.
2917         (makefile-imake-mode): Adjust.
2919         * progmodes/js.el (js--regexp-literal): Define while compiling.
2920         (js-syntax-propertize-function): New var; replaces
2921         js-font-lock-syntactic-keywords.
2922         (js-mode): Use it.
2924         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
2925         replaces gdb-script-font-lock-syntactic-keywords.
2926         (gdb-script-mode): Use it.
2928         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
2929         (fortran--font-lock-syntactic-keywords): New var.
2930         (fortran-line-length): Update syntax-propertize-function and
2931         fortran--font-lock-syntactic-keywords.
2933         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
2935         * progmodes/cfengine.el (cfengine-mode):
2936         Use syntax-propertize-function.
2937         (cfengine-font-lock-syntactic-keywords): Remove.
2939         * progmodes/autoconf.el (autoconf-mode):
2940         Use syntax-propertize-function.
2941         (autoconf-font-lock-syntactic-keywords): Remove.
2943         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
2944         (ada-after-change-function, ada-initialize-syntax-table-properties)
2945         (ada-handle-syntax-table-properties): Only define when
2946         syntax-propertize is not available.
2947         (ada-mode): Use syntax-propertize-function.
2949         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
2950         (font-lock-fontify-syntactic-keywords-region): Move handling of
2951         font-lock-syntactically-fontified to...
2952         (font-lock-default-fontify-region): ...here.
2953         Let syntax-propertize-function take precedence.
2954         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
2956         * emacs-lisp/syntax.el (syntax-propertize-function)
2957         (syntax-propertize-chunk-size, syntax-propertize--done)
2958         (syntax-propertize-extend-region-functions): New vars.
2959         (syntax-propertize-wholelines, syntax-propertize-multiline)
2960         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
2961         (syntax-propertize): New functions.
2962         (syntax-propertize-rules): New macro.
2963         (syntax-ppss-flush-cache): Set syntax-propertize--done.
2964         (syntax-ppss): Call syntax-propertize.
2966         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
2968 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
2970         * textmodes/ispell.el (ispell-init-process): Improve comments.
2971         XEmacs compatibility changes regarding (add-hook) 'local option
2972         and (set-process-query-on-exit-flag).
2974 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
2976         * net/tramp-cache.el (tramp-parse-connection-properties):
2977         Set tramp-autoload cookie.
2979 2010-09-09  Glenn Morris  <rgm@gnu.org>
2981         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
2982         (imagemagick-register-types): Doc fix.
2984 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2986         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
2988         * progmodes/js.el (require): Require is already "eval-and-compile".
2989         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
2990         (js--re-search-backward): Use js--re-search-forward.
2992         * progmodes/fortran.el (fortran-line-length): Don't recompute
2993         syntactic keywords redundantly a second time.
2995         * progmodes/ada-mode.el: Replace "(set '" with setq.
2996         (ada-mode): Simplify.
2997         (ada-create-case-exception, ada-adjust-case-interactive)
2998         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
2999         (ada-search-ignore-string-comment, ada-move-to-start)
3000         (ada-move-to-end): Use with-syntax-table.
3002         * font-lock.el (save-buffer-state): Remove `varlist' arg.
3003         (font-lock-unfontify-region, font-lock-default-fontify-region):
3004         Update usage correspondingly.
3005         (font-lock-fontify-syntactic-keywords-region):
3006         Set parse-sexp-lookup-properties buffer-locally here.
3007         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
3009         * simple.el (blink-matching-open): Don't burp if we can't find a match.
3011 2010-09-08  Glenn Morris  <rgm@gnu.org>
3013         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
3014         Error if not compiled with -DBYTE_CODE_METER.
3016         * emacs-lisp/bytecomp.el (byte-recompile-directory):
3017         Ignore dir-locals-file.
3019 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3021         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3022         Not a const.
3023         (compilation-error-regexp-alist-alist): Rule out ": " in file names
3024         for the `gnu' messages.
3025         (compilation-set-skip-threshold): New command.
3026         (compilation-start): Use \' rather than $.
3027         (compilation-forget-errors): Use clrhash.
3029 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
3031         * textmodes/ispell.el (ispell-valid-dictionary-list):
3032         Simplify logic.
3034 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
3036         Migrate to Tramp 2.2.  Rearrange load dependencies.
3037         (Bug#1529, Bug#5448, Bug#5705)
3039         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
3040         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
3041         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3043         * net/tramp.el (top): Remove all other tramp-* loads except
3044         tramp-compat.el.  Remove all changes to tramp-unload-hook for
3045         other tramp-* packages.  Rearrange defun order.  Change calls of
3046         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
3047         `tramp-compat-octal-to-decimal' to new function names.
3048         (tramp-terminal-type, tramp-initial-end-of-output)
3049         (tramp-methods, tramp-foreign-file-name-handler-alist)
3050         (tramp-tramp-file-p, tramp-completion-mode-p)
3051         (tramp-send-command-and-check, tramp-get-remote-path)
3052         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
3053         (tramp-shell-quote-argument): Set tramp-autoload cookie.
3054         (with-file-property, with-connection-property): Move to
3055         tramp-cache.el.
3056         (tramp-local-call-process, tramp-decimal-to-octal)
3057         (tramp-octal-to-decimal): Move to tramp-compat.el.
3058         (tramp-handle-shell-command): Do not require 'shell.
3059         (tramp-compute-multi-hops): No special handling for tramp-gw-*
3060         symbols.
3061         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
3063         * net/tramp-cache.el (top): Require 'tramp.  Add to
3064         `tramp-unload-hook'.
3065         (tramp-cache-data, tramp-get-file-property)
3066         (tramp-set-file-property, tramp-flush-file-property)
3067         (tramp-flush-directory-property, tramp-get-connection-property)
3068         (tramp-set-connection-property, tramp-flush-connection-property)
3069         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
3070         cookie.
3071         (with-file-property, with-connection-property): New defuns, moved
3072         from tramp.el.
3073         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
3074         macro.
3076         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
3077         (tramp-version): Set tramp-autoload cookie.
3079         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
3080         changes to tramp-unload-hook for other tramp-* packages.  Add to
3081         `tramp-unload-hook'.
3082         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
3083         (tramp-compat-call-process): New defuns, moved from tramp.el.
3085         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
3086         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
3087         to `tramp-unload-hook'.  Change call of
3088         `tramp-compat-decimal-to-octal' to new function name.
3089         (tramp-fish-method): Make it a defconst.
3090         (tramp-fish-file-name-p): Make it a defsubst.
3091         (tramp-fish-method, tramp-fish-file-name-handler)
3092         (tramp-fish-file-name-p): Set tramp-autoload cookie.
3094         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
3095         `tramp-foreign-file-name-handler-alist'.  Add to
3096         `tramp-unload-hook'.
3097         (tramp-ftp-method): Make it a defconst.
3098         (tramp-ftp-file-name-p): Make it a defsubst.
3099         (tramp-ftp-method, tramp-ftp-file-name-handler)
3100         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
3102         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
3103         `tramp-foreign-file-name-handler-alist'.  Add to
3104         `tramp-unload-hook'.  Change checks, whether package can be
3105         loaded.
3106         (tramp-gvfs-file-name-p): Make it a defsubst.
3107         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
3108         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
3109         (tramp-gvfs-handle-file-directory-p): New defun.
3110         (tramp-gvfs-file-name-handler-alist): Use it.
3112         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
3113         `tramp-foreign-file-name-handler-alist'.  Add to
3114         `tramp-unload-hook'.
3115         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
3116         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
3117         defconst.
3118         (tramp-gw-tunnel-method, tramp-gw-socks-method)
3119         (tramp-gw-open-connection): Set tramp-autoload cookie.
3121         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
3122         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
3123         to `tramp-unload-hook'.  Change checks, whether package can be
3124         loaded.
3125         (tramp-imap-file-name-p): Make it a defsubst.
3126         (tramp-imap-method, tramp-imaps-method)
3127         (tramp-imap-file-name-handler)
3128         (tramp-imap-file-name-p): Set tramp-autoload cookie.
3130         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
3131         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
3132         to `tramp-unload-hook'.  Change checks, whether package can be
3133         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
3134         function name.
3135         (tramp-smb-tunnel-method): Make it a defconst.
3136         (tramp-smb-file-name-p): Make it a defsubst.
3137         (tramp-smb-method, tramp-smb-file-name-handler)
3138         (tramp-smb-file-name-p): Set tramp-autoload cookie.
3140         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
3141         (tramp-uuencode-region): Set tramp-autoload cookie.
3143         * net/trampver.el (top) Add to `tramp-unload-hook'.
3144         (tramp-version, tramp-bug-report-address): Set tramp-autoload
3145         cookie.  Update release number.
3147 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
3149         * textmodes/ispell.el (ispell-start-process): Make sure original
3150         arg list is properly initialized (Bug#6993, Bug#6994).
3152 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
3154         * files.el (directory-abbrev-alist): Use \` as default regexp.
3156         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
3157         chars like - or ] (bug#6984).
3158         (rx-any-condense-range): Explode 2-char ranges.
3160 2010-09-06  Glenn Morris  <rgm@gnu.org>
3162         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
3164 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3166         * textmodes/bibtex.el:
3167         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
3169 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3171         * net/imap.el (imap-message-map): Remove optional buffer parameter,
3172         since no callers use it.
3173         (imap-message-get): Ditto.
3174         (imap-message-put): Ditto.
3175         (imap-mailbox-map): Ditto.
3176         (imap-mailbox-put): Ditto.
3177         (imap-mailbox-get): Ditto.
3178         (imap-mailbox-get): Revert last change for this function.
3180 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3182         * net/imap.el (imap-fetch-safe): Remove function, and alter all
3183         callers to use `imap-fetch' instead.  According to the comments, this
3184         should be safe, since all other IMAP clients use the 1:* syntax.
3185         (imap-enable-exchange-bug-workaround): Remove.
3186         (imap-debug): Remove -- doesn't seem very useful.
3188 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3190         * net/imap.el (imap-log): New convenience function used throughout
3191         instead of repeating the same code all over the place.
3193 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
3195         * mouse.el (mouse-save-then-kill): Save region to kill-ring
3196         when mouse-drag-copy-region is non-nil (Bug#6956).
3198 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
3200         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
3201         Improve regexps (Bug#6987).
3202         (dired-sort-toggle): Search more robustly for -t flag.
3204         * files.el (get-free-disk-space): Search more robustly for
3205         "available" column.  Suggested by Ehud Karni
3206         <ehud@unix.mvs.co.il>.
3208 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
3210         * international/uni-bidi.el:
3211         * international/uni-category.el:
3212         * international/uni-combining.el:
3213         * international/uni-decimal.el:
3214         * international/uni-mirrored.el:
3215         * international/uni-name.el: Regenerate.
3217 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3219         * electric.el (electric-indent-post-self-insert-function):
3220         Don't reindent with a sloppy indentation function.
3222         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
3223         border case in change-log-mode.
3225 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
3227         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3228         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
3229         Recognize leading tab in gcc-include regexp.  Ignore names with
3230         leading "from" or "in" in gnu regexp (Bug#6937).
3232 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3234         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
3235         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
3236         (ispell-start-process): Avoid setq and simplify logic.
3237         (ispell-init-process): Setup kill-buffer-hook locally when needed.
3238         (kill-buffer-hook): Don't use it globally with code that uses
3239         expand-file-name since that may call kill-buffer via
3240         code_conversion_restore.
3242 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
3244         * emacs-lisp/package.el (package-directory-list): Only call
3245         file-name-nondirectory on a string.
3247 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
3249         * emacs-lisp/package.el (package--download-one-archive):
3250         Ensure that archive-contents is valid before saving it.
3251         (package-activate-1, package-mark-obsolete, define-package)
3252         (package-compute-transaction, package-list-maybe-add): Use push.
3254 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3256         Use SMIE's blink-paren for octave-mode.
3257         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
3258         Backslashes do not escape single-quotes, single-quotes do.
3259         (octave-block-else-regexp, octave-block-end-regexp)
3260         (octave-block-match-alist): Remove.
3261         (octave-smie-bnf-table): New var, with old content.
3262         (octave-smie-op-levels): Use it.
3263         (octave-smie-closer-alist): New var.
3264         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
3265         (octave-blink-matching-block-open): Remove.
3266         (octave-reindent-then-newline-and-indent, octave-electric-semi)
3267         (octave-electric-space): Let self-insert-command run expand-abbrev and
3268         blink parens.
3270         * electric.el (electricity): New group.
3271         (electric-indent-chars): New var.
3272         (electric-indent-post-self-insert-function): New fun.
3273         (electric-indent-mode): New minor mode.
3274         (electric-pair-skip-self): New custom.
3275         (electric-pair-post-self-insert-function): New function.
3276         (electric-pair-mode): New minor mode.
3278         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
3279         calcAlg-blink-matching-open.
3280         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
3281         (calc-do-alg-entry): Only touch the part of the keymap that varies.
3282         Use the new blink-matching-check-function.
3284         Provide blink-matching support to SMIE.
3285         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
3286         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
3287         (smie-blink-matching-check, smie-blink-matching-open): New functions.
3289         * simple.el (newline): Fix last change to properly remove itself from
3290         the hook.
3292 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3294         * simple.el (newline): Eliminate optimization.
3295         Use post-self-insert-hook to set hard-newline and things before
3296         running post-self-insert-hook.
3297         (blink-matching-check-mismatch): New function.
3298         (blink-matching-check-function): New variable.
3299         (blink-matching-open): Use them.
3300         Skip back forward over prefix chars skipped by forward-sexp.
3301         Don't check if the parens are backslash escaped.
3302         (blink-paren-post-self-insert-function): Check backslash escaping here.
3304 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
3306         * emacs-lisp/package.el (package-menu-mode-map):
3307         Change package-menu-revert bindings to revert-buffer.
3308         (package-menu-mode): Set revert-buffer-function.
3309         (package-menu-revert): Doc fix.
3311 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
3313         * textmodes/ispell.el (ispell-init-process): Use "~/" as
3314         `default-directory' unless using Ispell per-directory personal
3315         dictionaries and not in a mini-buffer under XEmacs.
3316         (kill-buffer-hook): Do not kill ispell process on exit when
3317         `ispell-process-directory' is "~/".  (Bug#6143)
3319 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
3321         * simple.el (kill-new): Call interprogram-cut-function with only
3322         one argument.
3324         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
3325         Remove cut buffer from error message.
3327         * term/x-win.el (x-select-text):
3328         * term/pc-win.el (x-selection-value):
3329         * term/ns-win.el (x-selection-value):
3330         * eshell/em-term.el:
3331         * w32-fns.el (x-get-selection-value):
3332         * mouse-sel.el (mouse-sel-set-selection-function):
3333         * frame.el (display-selections-p): Remove cut-buffer in documentation.
3335         * term/x-win.el: Update documentation for x-last-selected-text-*.
3336         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
3337         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
3338         (x-select-text): Remove argument PUSH, update documentation.  Remove
3339         cut-buffer code.
3340         (x-selection-value-internal): Was previously x-selection-value.
3341         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
3342         Update documentation, remove cut-buffer code.  Call
3343         x-selection-value-internal.
3344         (x-clipboard-yank): Call x-selection-value-internal.
3345         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
3347         * term/pc-win.el (x-last-selected-text):
3348         x-cut-buffer-or-selection-value renamed to x-selection-value
3349         (x-select-text): Remove argument PUSH, update documentation.
3351         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
3352         x-cut-buffer-or-selection-value renamed to x-selection-value
3353         (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
3354         (x-select-text): Remove argument PUSH, update documentation.
3356         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
3358         * w32-fns.el (x-last-selected-text):
3359         x-cut-buffer-or-selection-value renamed to x-selection-value.
3360         (x-cut-buffer-max): Remove.
3361         (x-select-text): Remove argument PUSH, update documentation.
3363         * simple.el (interprogram-cut-function): Remove mention of PUSH.
3365         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
3367         * mouse-sel.el (mouse-sel-get-selection-function):
3368         x-cut-buffer-or-selection-value renamed to x-selection-value.
3369         (x-select-text): Remove optional push.
3371 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3373         * simple.el (blink-paren-function): Move from C to here.
3374         (blink-paren-post-self-insert-function): New function.
3375         (post-self-insert-hook): Use it.
3377         * emacs-lisp/pcase.el (pcase-split-memq):
3378         Fix overenthusiastic optimisation.
3379         (pcase-u1): Handle the case of a lambda pred.
3381 2010-08-31  Kenichi Handa  <handa@m17n.org>
3383         * international/mule-cmds.el (standard-display-european-internal):
3384         Setup standard-display-table for 8-bit characters by storing 8-bit
3385         characters in the element vector.
3387         * disp-table.el (standard-display-8bit):
3388         Setup standard-display-table for 8-bit characters by storing 8-bit
3389         characters in the element vector.
3390         (standard-display-european): Likewise.
3392 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
3394         * textmodes/nroff-mode.el (nroff-view): New command.
3395         (nroff-mode-map): Bind it to C-c C-c.
3397 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
3399         * emacs-lisp/smie.el (smie-down-list): New command.
3401         Remove old indentation and navigation code on octave-mode.
3402         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
3403         smie-down-list rather than add a binding for octave-down-block.
3404         (octave-mark-block, octave-blink-matching-block-open):
3405         Rely on forward-sexp-function.
3406         (octave-fill-paragraph): Don't narrow, so you can use
3407         indent-according-to-mode.
3408         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
3409         (octave-in-block-p, octave-re-search-forward-kw)
3410         (octave-re-search-backward-kw, octave-indent-calculate)
3411         (octave-end-as-array-index-p, octave-block-end-offset)
3412         (octave-scan-blocks, octave-forward-block, octave-backward-block)
3413         (octave-down-block, octave-backward-up-block, octave-up-block)
3414         (octave-before-magic-comment-p, octave-indent-line): Remove.
3416 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
3418         * emacs-lisp/package.el (package--read-archive-file): Just use
3419         `read', to avoid copying an additional string.
3420         (package-menu-mode): Set header-line-format here.
3421         (package-menu-refresh, package-menu-revert): Signal an error if
3422         not in the Package Menu.
3423         (package-menu-package-list): New var.
3424         (package--generate-package-list): Operate on the current buffer;
3425         don't assume that it is *Packages*, since the user may rename it.
3426         Allow persistent package listings and sort keys using
3427         package-menu-package-list and package-menu-package-sort-key.
3428         (package-menu--version-predicate): Fix version calculation.
3429         (package-menu-sort-by-column): Don't select the window.
3430         (package--list-packages): Create the *Packages* buffer.
3431         Set package-menu-package-list-key.
3432         (list-packages): Sorting by status is now the default.
3433         (package-buffer-info): Use match-string-no-properties.
3434         (define-package): Add a &rest argument for future proofing, but
3435         don't use it yet.
3436         (package-install-from-buffer, package-install-buffer-internal):
3437         Merge into a single function, package-install-from-buffer.
3438         (package-install-file): Change caller.
3440         * finder.el: Load finder-inf using `require'.
3441         (finder-list-matches): Sorting by status is now the default.
3442         (finder-compile-keywords): Simpify printing.
3444 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3446         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
3447         (octave-mode-map): Remove special bindings for forward/backward-block
3448         and octave-backward-up-block.  Use smie-close-block.
3449         (octave-continuation-marker-regexp): New var.
3450         (octave-continuation-regexp): Use it.
3451         (octave-operator-table, octave-smie-op-levels)
3452         (octave-operator-regexp, octave-smie-indent-rules): New vars.
3453         (octave-smie-backward-token, octave-smie-forward-token): New funs.
3454         (octave-mode): Use SMIE.
3455         (octave-close-block): Delete.
3457 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
3459         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
3460         CLIPBOARD, not in PRIMARY.  (Bug#6944)
3462 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3464         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
3465         a list of parents.
3466         (smie-indent-column): Allow indirection through variables.
3468         * composite.el (save-buffer-state): Delete, unused.
3469         * font-lock.el (save-buffer-state): Use with-silent-modifications.
3470         (font-lock-default-fontify-region): Use with-syntax-table.
3471         * jit-lock.el (with-buffer-unmodified): Remove.
3472         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
3474         Use `declare' in defmacros.
3475         * window.el (save-selected-window):
3476         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
3477         * progmodes/python.el (def-python-skeleton):
3478         * net/dbus.el (dbus-ignore-errors):
3479         * jka-cmpr-hook.el (with-auto-compression-mode):
3480         * international/mule.el (with-category-table):
3481         * emacs-lisp/timer.el (with-timeout):
3482         * emacs-lisp/lisp-mnt.el (lm-with-file):
3483         * emacs-lisp/eieio.el (with-slots):
3484         * emacs-lisp/easymenu.el (easy-menu-define):
3485         * emacs-lisp/debug.el (debugger-env-macro):
3486         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
3487         (Multiple-value-call, Multiple-value-prog1):
3488         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
3489         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
3490         edebug rule to definition.
3491         * emacs-lisp/lisp-mode.el (save-selected-window)
3492         (with-current-buffer, combine-after-change-calls)
3493         (with-output-to-string, with-temp-file, with-temp-buffer)
3494         (with-temp-message, with-syntax-table, read-if, eval-after-load)
3495         (dolist, dotimes, when, unless):
3496         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
3498 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
3500         * finder.el: Require `package'.
3501         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
3502         (finder-package-info): Var deleted.
3503         (finder-keywords-hash, finder--builtins-alist): New vars.
3504         (finder-compile-keywords): Compute package--builtins and
3505         finder-keywords-hash instead of finder-keywords-hash, respecting
3506         the "Package" header.
3507         (finder-unknown-keywords, finder-list-matches):
3508         Use finder-keywords-hash and package--list-packages.
3509         (finder-mode): Don't set font-lock-defaults.
3510         (finder-exit): We don't use "*Finder-package*" and "*Finder
3511         Category*" buffers anymore.
3513         * emacs-lisp/package.el (package--builtins-base): Var deleted.
3514         (package--builtins): Set default value to nil.
3515         (package-initialize): Load precomputed value of package--builtins
3516         from finder-inf.el.
3517         (package-alist, package-compute-transaction)
3518         (package-download-transaction): Improve docstring.
3519         (package-read-all-archive-contents): Do not change
3520         package--builtins here.
3521         (list-packages): Make package-list-packages an alias for this.
3522         Sort by status by default.
3523         (package--list-packages): Add optional PACKAGES arg.
3524         (describe-package-1): Use font-lock-face property.  For built-in
3525         packages, insert file commentary.
3526         (package--generate-package-list): Rename from
3527         package-list-packages-internal; all callers changed.  Add optional
3528         PACKAGES arg.  Add alphabetical sort fallbacks.
3529         (package-menu--version-predicate, package-menu--status-predicate)
3530         (package-menu--description-predicate)
3531         (package-menu--name-predicate): New functions.
3533         * info.el (Info-finder-find-node): Search package-alist instead of
3534         finder-package-info.
3536 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
3538         * subr.el (version-regexp-alist): Don't use "a" and "b" for
3539         "alpha" and "beta".
3540         (version-to-list): Handle versions like "10.3d".
3542 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3544         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
3545         (macroexp-accumulate): Use `declare'.
3547 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3549         * whitespace.el (whitespace-style): Adjust type declaration.
3551 2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>
3553         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
3554         empty argument to gvfs-copy.
3556 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
3558         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
3559         handle new TRASH arg of `delete-file'.
3561 2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
3563         * net/tramp.el (tramp-handle-insert-directory): Don't use
3564         `forward-word', its default syntax could be changed.
3566 2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
3567             Michael Albinus  <michael.albinus@gmx.de>
3569         Implement compression for inline methods.
3571         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
3572         (tramp-copy-size-limit): Allow also nil.
3573         (tramp-inline-compress-commands): New defconst.
3574         (tramp-find-inline-compress, tramp-get-inline-compress)
3575         (tramp-get-inline-coding): New defuns.
3576         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
3577         replaced by `tramp-get-inline-coding'.
3578         (tramp-handle-file-local-copy, tramp-handle-write-region)
3579         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
3581 2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)
3583         Detect ssh 'ControlMaster' argument automatically in some cases.
3585         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
3586         (tramp-default-method): Use it.
3588 2010-08-26  Karel Klíč  <kklic@redhat.com>
3590         * net/tramp.el (tramp-file-name-for-operation):
3591         Add file-selinux-context.
3593 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
3595         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
3597 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
3599         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
3600         (Bug#6907).
3602 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
3604         * progmodes/js.el: Make indentation more customizable (Bug#6914).
3605         (js-paren-indent-offset, js-square-indent-offset)
3606         (js-curly-indent-offset): New options.
3607         (js--proper-indentation): Use them.
3609 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
3611         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
3612         instead of inspecting font-lock properties (Bug#6916).
3614 2010-08-26  David Reitter  <david.reitter@gmail.com>
3616         * server.el (server-visit-files): Run pre-command-hook and
3617         post-command-hook for each buffer while it is current (Bug#6910).
3618         (server-execute): Do not run hooks here.
3620 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
3622         Sync with Tramp 2.1.19.
3624         * net/tramp-cmds.el (tramp-cleanup-all-connections)
3625         (tramp-reporter-dump-variable, tramp-load-report-modules)
3626         (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
3627         (tramp-bug): Recommend setting of `tramp-verbose' to 9.
3629         * net/tramp-compat.el (top): Do not autoload
3630         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
3631         only when `start-file-process' is not bound.
3632         (byte-compile-not-obsolete-vars): Define if not bound.
3633         (tramp-compat-funcall): New defmacro.
3634         (tramp-compat-line-beginning-position)
3635         (tramp-compat-line-end-position)
3636         (tramp-compat-temporary-file-directory)
3637         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
3638         (tramp-compat-copy-file, tramp-compat-copy-directory)
3639         (tramp-compat-delete-file, tramp-compat-delete-directory)
3640         (tramp-compat-number-sequence, tramp-compat-process-running-p):
3641         Use it.
3642         (tramp-advice-file-expand-wildcards): Do not use
3643         `tramp-handle-file-remote-p'.
3644         (tramp-compat-make-temp-file): Simplify fallback implementation.
3645         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
3646         (tramp-compat-copy-tree): Remove function.
3647         (tramp-compat-delete-file): New defun.
3648         (tramp-compat-delete-directory): Provide implementation for older
3649         Emacsen.
3650         (tramp-compat-file-attributes): Handle only
3651         `wrong-number-of-arguments' error.
3653         * net/tramp-fish.el (tramp-fish-handle-copy-file):
3654         Add PRESERVE_SELINUX_CONTEXT.
3655         (tramp-fish-handle-delete-file): Add TRASH arg.
3656         (tramp-fish-handle-directory-files-and-attributes):
3657         Do not use `tramp-fish-handle-file-attributes.
3658         (tramp-fish-handle-file-local-copy)
3659         (tramp-fish-handle-insert-file-contents)
3660         (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
3662         * net/tramp-gvfs.el (top): Require url-util.
3663         (tramp-gvfs-mount-point): Remove.
3664         (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
3665         and `set-file-selinux-context'.
3666         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
3667         (tramp-gvfs-handle-file-selinux-context)
3668         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
3669         (with-tramp-dbus-call-method): Format trace message.
3670         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
3671         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
3672         Implement backup call, when operation on local files fails.
3673         Use progress reporter.  Flush properties of changed files.
3674         (tramp-gvfs-handle-delete-file): Add TRASH arg.  Use
3675         `tramp-compat-delete-file'.
3676         (tramp-gvfs-handle-expand-file-name): Expand "~/".
3677         (tramp-gvfs-handle-make-directory): Make more traces.
3678         (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
3679         (tramp-gvfs-url-file-name): Hexify file name in url.
3680         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
3681         into account for the resulting file name.
3682         (tramp-gvfs-handler-askquestion): Preserve current message, in
3683         order to let progress reporter continue afterwards.  (Bug#6257)
3684         Return dummy mountpoint, when the answer is "no".
3685         See `tramp-gvfs-maybe-open-connection'.
3686         (tramp-gvfs-handler-mounted-unmounted)
3687         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
3688         attribute "default_location".  Set "prefix" property.
3689         Handle default-location.
3690         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
3691         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
3692         exists.  Raise an error, if not (due to a corresponding answer
3693         "no" in interactive questions, for example).
3694         Use `tramp-compat-funcall'.
3696         * net/tramp-imap.el (top): Autoload `epg-make-context'.
3697         (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
3698         (tramp-imap-do-copy-or-rename-file)
3699         (tramp-imap-handle-insert-file-contents)
3700         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
3701         (tramp-imap-handle-delete-file): Add TRASH arg.
3703         * net/tramp-smb.el (tramp-smb-handle-copy-file):
3704         Add PRESERVE-SELINUX-CONTEXT.
3705         (tramp-smb-handle-copy-file)
3706         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
3707         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
3708         Use `with-progress-reporter'.
3709         (tramp-smb-handle-delete-file): Add TRASH arg.
3711         * net/tramp.el (tramp-methods): Move hostname to the end in all
3712         ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
3713         appropriate.
3714         (tramp-verbose): Describe verbose level 9.
3715         (tramp-completion-function-alist)
3716         (tramp-file-name-regexp, tramp-chunksize)
3717         (tramp-local-coding-commands, tramp-remote-coding-commands)
3718         (with-connection-property, tramp-completion-mode-p)
3719         (tramp-action-process-alive, tramp-action-out-of-band)
3720         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
3721         (tramp-exists-file-name-handler): Fix docstring.
3722         (tramp-remote-process-environment): Use `format' instead of
3723         `concat'.  Protect version string by apostroph.
3724         (tramp-shell-prompt-pattern): Do not use a shy group in case of
3725         XEmacs.
3726         (tramp-file-name-regexp-unified)
3727         (tramp-completion-file-name-regexp-unified): On W32 systems, do
3728         not regard the volume letter as remote filename.  (Bug#5447)
3729         (tramp-perl-file-attributes)
3730         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
3731         (tramp-vc-registered-read-file-names): Read input as
3732         here-document, otherwise the command could exceed maximum length
3733         of command line.
3734         (tramp-file-name-handler-alist): Add `file-selinux-context' and
3735         `set-file-selinux-context'.
3736         (tramp-debug-message): Add `tramp-compat-funcall' to ignored
3737         backtrace functions.
3738         (tramp-error-with-buffer): Don't show the connection buffer when
3739         we are in completion mode.
3740         (tramp-progress-reporter-update, tramp-remote-selinux-p)
3741         (tramp-handle-file-selinux-context)
3742         (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
3743         (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
3744         New defuns.
3745         (with-progress-reporter): New defmacro.
3746         (tramp-debug-outline-regexp): New defconst.
3747         (top, tramp-rfn-eshadow-setup-minibuffer)
3748         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
3749         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
3750         (tramp-completion-mode-p, tramp-check-for-regexp)
3751         (tramp-open-connection-setup-interactive-shell)
3752         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
3753         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
3754         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
3755         Use `tramp-compat-funcall'.
3756         (tramp-handle-make-symbolic-link): Flush file properties.
3757         (tramp-handle-load, tramp-handle-file-local-copy)
3758         (tramp-handle-insert-file-contents, tramp-handle-write-region)
3759         (tramp-handle-vc-registered, tramp-maybe-send-script)
3760         (tramp-find-shell): Use `with-progress-reporter'.
3761         (tramp-do-file-attributes-with-stat): Add space in format string,
3762         in order to work around a bug in pdksh.  Reported by Gilles Pion
3763         <gpion@lfdj.com>.
3764         (tramp-handle-verify-visited-file-modtime): Do not send a command
3765         when the connection is not established.
3766         (tramp-handle-set-file-times): Simplify the check for utc.
3767         (tramp-handle-directory-files-and-attributes)
3768         (tramp-get-remote-path): Use `copy-tree'.
3769         (tramp-completion-handle-file-name-all-completions): Ensure, that
3770         non remote files are still checked.  Oops.
3771         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
3772         Handle PRESERVE-SELINUX-CONTEXT.
3773         (tramp-do-copy-or-rename-file): Add progress reporter.
3774         (tramp-do-copy-or-rename-file-directly): Do not use
3775         `tramp-handle-file-remote-p'.
3776         (tramp-do-copy-or-rename-file-out-of-band):
3777         Use `tramp-compat-delete-directory'.
3778         (tramp-do-copy-or-rename-file-out-of-band)
3779         (tramp-compute-multi-hops, tramp-maybe-open-connection):
3780         Use `format-spec-make'.
3781         (tramp-handle-delete-file): Add TRASH arg.
3782         (tramp-handle-dired-uncache): Flush directory cache, not only file
3783         cache.
3784         (tramp-handle-expand-file-name)
3785         (tramp-completion-handle-file-name-all-completions)
3786         (tramp-completion-handle-file-name-completion):
3787         Use `tramp-connectable-p'.
3788         (tramp-handle-start-file-process): Set connection property "vec".
3789         Use it, in order to invalidate file caches.  Check only for
3790         `remote-tty' process property.
3791         Implement tty setting.  (Bug#4604, Bug#6360)
3792         (tramp-file-name-for-operation): Add `call-process-region' and
3793         `set-file-selinux-context'.
3794         (tramp-find-foreign-file-name-handler)
3795         (tramp-advice-make-auto-save-file-name)
3796         (tramp-set-auto-save-file-modes): Remove superfluous check for
3797         `stringp'.  This is done inside `tramp-tramp-file-p'.
3798         (tramp-file-name-handler): Trace 'quit.  Catch the error for some
3799         operations when we are in completion mode.  This gives the user
3800         the chance to correct the file name in the minibuffer.
3801         (tramp-completion-mode-p): Use `non-essential'.
3802         (tramp-handle-file-name-all-completions): Backward/ XEmacs
3803         compatibility: Use `completion-ignore-case' if
3804         `read-file-name-completion-ignore-case' does not exist.
3805         (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
3806         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3807         `tramp-open-shell'.
3808         (tramp-action-password): Hide password prompt before next run.
3809         (tramp-process-actions): Widen connection buffer for the trace.
3810         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
3811         process property.  Trace stty settings if `tramp-verbose' >= 9.
3812         Apply workaround for IRIX64 bug.  Move argument of last
3813         `tramp-send-command' where it belongs to.
3814         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
3815         front of `login-args'.
3816         (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
3817         on "/dev/null" instead of "/".
3818         (tramp-get-ls-command-with-dired): Make test for "--dired"
3819         stronger.
3820         (tramp-set-auto-save-file-modes): Adapt version check.
3821         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
3822         (tramp-handle-process-file): Call the program in a subshell, in
3823         order to preserve working directory.
3824         (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
3825         `tramp-remote-sh' from `tramp-methods'.
3826         (tramp-get-ls-command): Make test for "--color=never" stronger.
3827         (tramp-check-for-regexp): Use (forward-line 1).
3829         * net/trampver.el: Update release number.
3831 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
3833         * help.el (help-map): Bind `C-h P' to describe-package.
3835         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
3837         * emacs-lisp/package.el (package-refresh-contents): Catch errors
3838         when downloading archives.
3839         (describe-package-1): Add package commentary.
3840         (package-install-button-action): New function.
3841         (package-menu-mode-map): Bind ? to package-menu-describe-package.
3842         (package-menu-view-commentary): Function removed.
3843         (package-list-packages-internal): Hide the `package' package too.
3845 2010-08-25  Kenichi Handa  <handa@m17n.org>
3847         * language/misc-lang.el ("Arabic"): New language environment.
3848         Setup composition-function-table for Arabic characters.
3850         * international/fontset.el (setup-default-fontset): Fix typo for
3851         arabic OTF spec (fini->fina).
3853 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
3855         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
3856         on all frames.
3858 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3860         * whitespace.el: Allow cleaning up blanks without blank
3861         visualization (Bug#6651).  Adjust help window for
3862         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
3863         instead of whitespace-line-column (from EmacsWiki).  New version
3864         13.1.
3865         (whitespace-style): Added new value 'face.  Adjust docstring.
3866         (whitespace-space, whitespace-hspace, whitespace-tab): Adjust
3867         foreground property face.
3868         (whitespace-line-column): Adjust docstring and type declaration.
3869         (whitespace-style-value-list, whitespace-toggle-option-alist)
3870         (whitespace-help-text): Adjust const initialization.
3871         (whitespace-toggle-options, global-whitespace-toggle-options):
3872         Adjust docstring.
3873         (whitespace-display-window, whitespace-interactive-char)
3874         (whitespace-style-face-p, whitespace-color-on): Adjust code.
3875         (whitespace-help-scroll): New fun.
3877 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
3879         * emacs-lisp/package.el (list-packages): Alias for
3880         package-list-packages.
3882 2010-08-24  Kevin Ryde  <user42@zip.com.au>
3884         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
3885         (Bug#5651).
3887         * progmodes/ruby-mode.el (ruby): Add defgroup.
3889 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
3891         * progmodes/python.el: Add Ipython support (Bug#5390).
3892         (python-shell-prompt-alist)
3893         (python-shell-continuation-prompt-alist): New options.
3894         (python--set-prompt-regexp): New function.
3895         (inferior-python-mode, run-python, python-shell): Require
3896         ansi-color.  Use python--set-prompt-regexp to set the comint
3897         prompt based on the Python interpreter.
3898         (python--prompt-regexp): New var.
3899         (python-check-comint-prompt)
3900         (python-comint-output-filter-function): Use it.
3901         (run-python): Use a pipe (Bug#5694).
3903 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
3905         * progmodes/python.el (python-send-region): Send a different
3906         Python command if Ipython is in use.
3907         (python-check-version): Use a Python command to find the version.
3909 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
3911         * mouse.el (mouse-yank-primary): Avoid setting primary when
3912         deactivating the mark (Bug#6872).
3914 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
3916         * progmodes/python.el (python-block-pairs): Allow use of "finally"
3917         with "else" (Bug#3991).
3919 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
3921         * net/dbus.el: Accept UNIX domain sockets as bus address.
3922         (top): Don't initialize `dbus-registered-objects-table' anymore,
3923         this is done in dbusbind,c.
3924         (dbus-check-event): Adapt test for bus.
3925         (dbus-return-values-table, dbus-unregister-service)
3926         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
3927         Adapt doc string.
3929 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
3931         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
3933 2010-08-22  Juri Linkov  <juri@jurta.org>
3935         * simple.el (read-extended-command): New function with the logic
3936         for `completing-read' moved to Elisp from `execute-extended-command'.
3937         Use `function-called-at-point' in `minibuffer-default-add-function'
3938         to get a command name for M-n (bug#5364, bug#5214).
3940 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
3942         * startup.el (command-line-1): Issue warning for ignored arguments
3943         --unibyte, etc (Bug#6886).
3945 2010-08-22  Leo  <sdl.web@gmail.com>
3947         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
3948         (ignore, bright, dim, keyword): Split list of nicknames before
3949         passing to rcirc-add-or-remove (Bug#6894).
3951 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
3953         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
3955 2010-08-22  Leo  <sdl.web@gmail.com>
3957         Fix buffer-list rename&refresh after killing a buffer in ido.
3958         * ido.el: Revert Óscar's.
3959         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
3960         Remember the buffers at head, rather than their name.
3961         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
3963 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
3964             Stefan Monnier  <monnier@iro.umontreal.ca>
3966         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
3967         extra backslash added to each line (bug#6890).
3969 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3971         * subr.el (read-key): Don't echo keystrokes (bug#6883).
3973 2010-08-22  Glenn Morris  <rgm@gnu.org>
3975         * menu-bar.el (menu-bar-games-menu): Add landmark.
3977 2010-08-22  Glenn Morris  <rgm@gnu.org>
3979         * align.el (align-regexp): Make group and spacing arguments
3980         use the interactive defaults when non-interactive.  (Bug#6698)
3982         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
3983         expansion, so as not to need sendmail.
3984         (mail-text-start): Remove declaration.
3985         (rmail-retry-failure): Require sendmail.
3987 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
3989         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
3991 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
3993         * progmodes/flymake.el (flymake-start-syntax-check-process):
3994         Use `start-file-process' in order to let it run also on remote hosts.
3996 2010-08-22  Kenichi Handa  <handa@m17n.org>
3998         * files.el: Add `word-wrap' as safe local variable.
4000 2010-08-22  Glenn Morris  <rgm@gnu.org>
4002         * woman.el (woman-translate): Case matters.  (Bug#6849)
4004 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
4006         * simple.el (kill-region): Doc fix (Bug#6787).
4008 2010-08-22  Glenn Morris  <rgm@gnu.org>
4010         * calendar/diary-lib.el (diary-header-line-format):
4011         Fit it to the window, not the frame.
4013 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
4015         * subr.el (ignore-errors): Add debug declaration.
4017 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
4019         * whitespace.el (whitespace-color-off): Remove post-command-hook
4020         locally.
4022 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4024         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
4026 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
4028         * cus-edit.el (custom-group-value-create): Add extra newline
4029         before end line (Bug#6876).
4031 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
4033         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
4034         when extending it.  Before killing on the second click, check if
4035         the buffer is the correct one.  Doc fix.
4036         (mouse-secondary-save-then-kill): Allow usage without first
4037         calling mouse-start-secondary, by defaulting to point.  Don't save
4038         an empty secondary selection.  Doc fix.
4040 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4042         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
4043         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
4044         New version 13.0.
4045         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
4046         Adjust initialization.
4047         (whitespace-bob-marker, whitespace-eob-marker)
4048         (whitespace-buffer-changed): New vars.
4049         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
4050         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
4051         (whitespace-post-command-hook, whitespace-display-char-on):
4052         Adjust code.
4053         (whitespace-looking-back, whitespace-buffer-changed): New funs.
4054         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
4056 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4058         * files.el (locate-file-completion-table): Only list the .el and .elc
4059         extensions if there's no other choice (bug#5955).
4061         * facemenu.el (facemenu-self-insert-data): New var.
4062         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
4063         New functions.
4064         (facemenu-add-face): Use them.
4066         * simple.el (blink-matching-open): Obey forward-sexp-function.
4068 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4070         * simple.el (prog-mode-map): New var.
4071         (prog-indent-sexp): New command.
4073         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
4075         * progmodes/prolog.el (smie): Require.
4077         * emacs-lisp/smie.el (smie-default-backward-token)
4078         (smie-default-forward-token): Strip properties.
4079         (smie-next-sexp): Be more careful with associative operators.
4080         (smie-forward-sexp-command): Generalize.
4081         (smie-backward-sexp-command): Simplify.
4082         (smie-closer-alist): New var.
4083         (smie-close-block): New command.
4084         (smie-indent-debug-log): New var.
4085         (smie-indent-offset-rule): Add a few more cases.
4086         (smie-indent-column): New function.
4087         (smie-indent-after-keyword): Use it.
4088         (smie-indent-keyword): Use it.
4089         Fix up the opener code's point position.
4090         (smie-indent-comment): Only applies at BOL.
4091         (smie-indent-debug): New command.
4093         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
4094         declarations that are useful before running the macro.
4096 2010-08-18  Joakim Verona  <joakim@verona.se>
4098         * image.el (imagemagick-types-inhibit): New variable.
4099         (imagemagick-register-types): New function.
4100         * image-mode.el (image-transform-properties): New function.
4101         (image-transform-set-scale, image-transform-fit-to-height)
4102         (image-transform-set-rotation, image-transform-set-resize)
4103         (image-transform-fit-to-width, image-transform-fit-to-height):
4104         New functions.
4105         (image-toggle-display-image): Support image transforms.
4107 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
4109         * image.el (create-animated-image): Don't add heuristic mask to image
4110         (Bug#6839).
4112 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
4114         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
4115         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
4117 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4119         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
4121         Font-lock '...' strings, plus various simplifications and fixes.
4122         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4123         (octave-font-lock-close-quotes): New function.
4124         (octave-font-lock-syntactic-keywords): New var.
4125         (octave-mode): Use it.  Set beginning-of-defun-function.
4126         (octave-mode-map): Don't override the <foo>-defun commands.
4127         (octave-mode-menu): Pass it directly to easy-menu-define;
4128         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
4129         (octave-block-match-alist): Fix up last change so that
4130         octave-close-block uses the more specific keyword.
4131         (info-lookup-mode): Silence byte-compiler.
4132         (octave-beginning-of-defun): Not interactive any more.
4133         Optimize slightly.
4134         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
4135         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
4136         (octave-completion-at-point-function): Make sure point is within
4137         beg..end.
4138         (octave-reindent-then-newline-and-indent):
4139         Use reindent-then-newline-and-indent.
4140         (octave-add-octave-menu): Remove.
4142 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
4144         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
4145         (report-emacs-bug-can-use-xdg-email): New functions.
4146         (report-emacs-bug): Set can-xdg-email to result of
4147         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
4148         \C-cm to report-emacs-bug-insert-to-mailer and add help text
4149         about it.
4151         * net/browse-url.el (browse-url-default-browser): Add cond
4152         for browse-url-xdg-open.
4153         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
4155 2010-08-17  Glenn Morris  <rgm@gnu.org>
4157         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
4158         (c-fontify-recorded-types-and-refs): Define for compiler.
4159         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
4160         before use.
4162         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
4163         Fix format call.
4165 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
4167         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
4168         properties.
4169         (tramp-handle-process-file): Call the program in a subshell, in
4170         order to preserve working directory.
4171         (tramp-action-password): Hide password prompt before next run.
4172         (tramp-process-actions): Widen connection buffer for the trace.
4174 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
4176         * net/rcirc.el (rcirc-log-process-buffers): New option.
4177         (rcirc-print): Use it.
4178         (rcirc-generate-log-filename): New function.
4179         (rcirc-log-filename-function): Change default to
4180         rcirc-generate-log-filename (Bug#6828).
4182 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
4184         * simple.el (deactivate-mark): If select-active-regions is `only',
4185         only set selection for temporarily active regions.
4187         * cus-start.el: Change defcustom for select-active-regions.
4189 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
4191         * mouse.el (mouse--drag-set-mark-and-point): New function.
4192         (mouse-drag-track): Use LOCATION arg to push-mark.
4193         Use mouse--drag-set-mark-and-point to take click-count into
4194         consideration when updating point and mark (Bug#6840).
4196 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
4198         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4199         Give the Ruby rule a lower priority than Gnu (Bug#6778).
4201 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
4203         * font-lock.el (lisp-font-lock-keywords-2):
4204         Add combine-after-change-calls, condition-case-no-debug,
4205         with-demoted-errors, and with-silent-modifications (Bug#6025).
4207 2010-08-14  Kevin Ryde  <user42@zip.com.au>
4209         * emacs-lisp/copyright.el (copyright-update-year)
4210         (copyright-update): Temporary switch-to-buffer to ensure the
4211         buffer change being queried is visible (Bug#5394).
4213 2010-08-14  Tom Tromey  <tromey@redhat.com>
4215         * progmodes/etags.el (tags-file-name): Mark safe if stringp
4216         (Bug#6733).
4218 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
4220         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
4221         MS-DOS.  (Bug#6689)
4223 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
4225         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
4226         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
4227         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
4228         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
4229         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
4230         Call menu-bar-set-tool-bar-position.
4232 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4234         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
4235         comment style (bug#6834).
4236         * progmodes/scheme.el (scheme-mode-syntax-table):
4237         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
4238         "b" flag in "' 14b" syntax.
4240         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
4241         for (un)commenting the region and performing completion.
4242         (octave-mode-menu): Use standard commands for help and completion.
4243         (octave-mode-syntax-table): Support %{..%} comments (sort of).
4244         (octave-mode): Use define-derived-mode.
4245         Set completion-at-point-functions and don't set columns.
4246         Don't disable adaptive-fill-regexp.
4247         (octave-describe-major-mode, octave-comment-region)
4248         (octave-uncomment-region, octave-comment-indent)
4249         (octave-indent-for-comment): Remove.
4250         (octave-indent-calculate): Rename from calculate-octave-indent.
4251         (octave-indent-line, octave-fill-paragraph): Update caller.
4252         (octave-initialize-completions): No need to make an alist.
4253         (octave-completion-at-point-function): New function.
4254         (octave-complete-symbol): Use it.
4255         (octave-insert-defun): Use define-skeleton.
4257         * progmodes/octave-mod.el (octave-mode): Set comment-add.
4258         (octave-mode-map): Use comment-dwim (bug#6829).
4260 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
4262         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
4263         indentation of inserted comment.
4265 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
4267         * faces.el (region): Add type gtk that uses gtk colors.
4269         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
4270         Handle theme-name change.
4272 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
4274         * progmodes/sql.el: Version 2.5
4275         (sql-product-alist): Add :prompt-cont-regexp property for several
4276         database products.
4277         (sql-prompt-cont-regexp): New variable.
4278         (sql-output-newline-count, sql-output-by-send):
4279         New variables.  Record number of newlines in input text.
4280         (sql-send-string): Handle multiple filters and count newlines.
4281         (sql-send-magic-terminator): Count terminator newline.
4282         (sql-interactive-remove-continuation-prompt): Filters output to
4283         remove continuation prompts; one for each newline.
4284         (sql-interactive-mode): Set up new variables, prompt regexp and
4285         output filter.
4286         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
4287         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
4289 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4291         * emacs-lisp/pcase.el: New file.
4293 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
4295         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
4296         as here-document, otherwise the command could exceed maximum
4297         length of command line.
4298         (tramp-handle-vc-registered): Call script accordingly.
4299         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
4301 2010-08-10  Kenichi Handa  <handa@m17n.org>
4303         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
4304         composable pattern.
4306 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
4308         * emacs-lisp/package.el (package-version-split)
4309         (package--version-first-nonzero, package-version-compare):
4310         Functions removed.
4311         (package-directory-list, package-load-all-descriptors)
4312         (package--built-in, package-activate, define-package)
4313         (package-installed-p, package-compute-transaction)
4314         (package-read-all-archive-contents)
4315         (package--add-to-archive-contents, package-buffer-info)
4316         (package-tar-file-info, package-list-packages-internal):
4317         Use version-to-list and version-list-*.
4319         * emacs-lisp/package-x.el (package-upload-buffer-internal):
4320         Use version-to-list.
4321         (package-upload-buffer-internal): Use version-list-<=.
4323 2010-08-09  Kenichi Handa  <handa@m17n.org>
4325         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
4326         composable pattern.
4328 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
4330         * tutorial.el (tutorial--default-keys): C-d is now bound to
4331         delete-forward-char (Bug#6826).
4333         * mouse.el (mouse-drag-track): Remove accidentally-removed check
4334         for `double' value of mouse-1-click-follows-link (Bug#6807).
4336 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
4338         * replace.el (replace-highlight): Bind isearch-forward and
4339         isearch-error, ensuring that highlighting is updated if the user
4340         switches the search direction (Bug#6808).
4342         * isearch.el (isearch-lazy-highlight-forward): New var.
4343         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4344         (isearch-lazy-highlight-update): Use it.
4346 2010-08-08  Kenichi Handa  <handa@m17n.org>
4348         * international/mule.el (define-charset): Store NAME as :base property.
4349         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
4350         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
4351         current priority.  Force using the designation of the specific
4352         charset by adding `charset' text property.  Improve the whole algorithm.
4354 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
4356         * emulation/pc-select.el (pc-selection-mode-hook)
4357         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
4358         (pc-selection-mode): Fix typos in docstrings.
4360 2010-08-08  Kenichi Handa  <handa@m17n.org>
4362         * language/cyrillic.el: Don't add "microsoft-cp1251" to
4363         ctext-non-standard-encodings-alist here.
4365         * international/mule.el (ctext-non-standard-encodings-alist):
4366         Add "koi8-r" and "microsoft-cp1251".
4367         (ctext-standard-encodings): New variable.
4368         (ctext-non-standard-encodings-table): List only elements for
4369         non-standard encodings.
4370         (ctext-pre-write-conversion): Adjust for the above change.
4371         Check ctext-standard-encodings.
4373         * international/mule-conf.el (compound-text): Doc fix.
4374         (ctext-no-compositions): Doc fix.
4375         (compound-text-with-extensions): Doc fix.
4377 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4379         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
4381 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
4383         * progmodes/which-func.el (which-func-format): Split help-echo text
4384         into lines, like other mode-line tooltips.
4386         * server.el (server-start): When using TCP sockets, force IPv4
4387         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
4389 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4391         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
4393 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
4395         * term.el (term-delimiter-argument-list): Reflow docstring.
4396         (term-read-input-ring, term-write-input-ring, term-send-input)
4397         (term-bol, term-erase-in-display, serial-supported-or-barf):
4398         Fix typos in docstrings.
4400 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4402         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
4404 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
4406         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
4408 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
4410         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
4411         Fix typo in docstring (bug#6747).
4413 2010-08-08  Leo  <sdl.web@gmail.com>
4415         * eshell/esh-io.el (eshell-get-target): Better detection of
4416         read-only file (Bug#6762).
4418 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
4420         * align.el (align-default-spacing): Doc fix.
4421         (align-region-heuristic, align-regexp): Fix typos in docstrings.
4423 2010-08-08  Stephen Peters  <speters@itasoftware.com>
4425         * calendar/icalendar.el
4426         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
4427         (icalendar--get-weekday-numbers): New.
4428         (icalendar--convert-recurring-to-diary): Handle multiple byday
4429         values in weekly rules.  (Bug#6766)
4431 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
4433         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
4434         (icalendar--create-uid, icalendar-export-region)
4435         (icalendar--parse-summary-and-rest): Code formatting.
4437 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
4439         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
4440         to italicize headers.
4441         (calc-highlight-selections-with-faces): New variable.
4442         (calc-selected-face, calc-nonselected-face): New faces.
4444         * calc/calccomp.el (math-comp-highlight-string): Use
4445         `calc-highlight-selections-with-faces' to determine how to highlight
4446         sub-formulas.
4448         * calc/calc-sel.el (calc-show-selections): Change message to when
4449         using faces to highlight selections.
4451 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
4453         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
4454         Add SQLite 3 keywords, functions and datatypes.
4455         (sql-interactive-mode): Remove `comint-process-echoes' set to t
4456         (Bug#6686).
4458 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
4460         * simple.el (select-active-regions): Move to keyboard.c.
4461         (deactivate-mark): Used saved-region-selection.
4462         (select-active-region): Function removed.
4463         (activate-mark, set-mark, push-mark-command)
4464         (handle-shift-selection): Don't call it.
4465         (keyboard-quit): Avoid adding the region to the window selection.
4467         * mouse.el (mouse-drag-track): Remove hacks to deal with old
4468         select-active-regions implementation.
4469         (mouse-yank-at-click): Doc fix.
4471         * cus-start.el: Add custom declaration for select-active-regions.
4473 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
4475         * simple.el (delete-forward-char): Doc fix.
4477         * tutorial.el (help-with-tutorial): Hack safe file-local variables
4478         after reading the tutorial.
4480 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
4482         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
4483         for the case that a C style comment has its delimiters alone on
4484         their respective lines.
4486 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
4488         * net/tramp.el (tramp-handle-start-file-process): Set connection
4489         property "vec".
4490         (tramp-process-sentinel): Use it for flushing the cache.  We
4491         cannot do it via the process buffer, the buffer could be deleted
4492         already when running the sentinel.
4494 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
4496         * comint.el (comint-mode): Make directory tracking functions
4497         functional on remote files.  (Bug#6764)
4499 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
4501         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
4503 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
4505         * emacs-lisp/find-gc.el (find-gc-source-files): Rename
4506         unexec.c => unexcoff.c.
4508         * emacs-lisp/authors.el (authors-fixed-entries): Rename
4509         unexec.c => unexcoff.c.
4511 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
4513         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
4514         cache, not only file cache.
4515         (tramp-process-sentinel): New defun.
4516         (tramp-handle-start-file-process): Use it, in order to invalidate
4517         file caches.
4519 2010-08-03  Leo  <sdl.web@gmail.com>
4521         * server.el (server-start): Simplify loop.
4523 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4525         * frame.el (screen-height, screen-width, set-screen-width)
4526         (set-screen-height): Remove ancient compatibility aliases.
4528         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
4529         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
4531         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
4532         that change current buffer.
4534 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
4536         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
4537         beginning of the string.  Use `string-match-p'.  (Bug#6765)
4539 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
4541         * cus-start.el (x-gtk-use-system-tooltips): New variable.
4543 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
4545         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
4546         (package--builtins): Tweak descriptions.
4547         (package-print-package): Upcase descriptions if necessary.
4548         Show all built-in packages in font-lock-builtin-face.
4549         (package-list-packages-internal): Omit "emacs" package.
4550         Show status of built-in packages as "built-in".
4552 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
4554         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
4555         before killing to preserve the primary selection (Bug#6701).
4557         * term/x-win.el (x-select-text): Doc fix.
4559 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
4561         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
4562         The following functions were modified or created:
4564         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
4565         (objc-font-lock-extra-types):
4566         * progmodes/cc-mode.el (c-basic-common-init):
4567         * progmodes/cc-langs.el (c-make-mode-syntax-table)
4568         (c++-make-template-syntax-table)
4569         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
4570         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
4571         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
4572         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
4573         * progmodes/cc-fonts.el (c-make-inverse-face)
4574         (c-basic-matchers-after):
4575         * progmodes/cc-engine.el (c-forward-keyword-clause)
4576         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
4577         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
4578         (c-guess-continued-construct, c-guess-basic-syntax):
4580 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
4582         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
4584 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
4586         * files.el (bidi-paragraph-direction): Define safe local values.
4588         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
4589         language-info-alist.  Remove outdated FIXME in a comment.
4591 2010-07-31  Alan Mackenzie  <acm@muc.de>
4593         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
4594         Auto-fill broken in C/C++ modes.
4596 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
4598         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
4599         (menu-bar-showhide-tool-bar-menu-customize-disable)
4600         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
4601         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
4602         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
4603         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
4604         make a menu for Options => toolbar that can move it.
4606 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
4608         * emacs-lisp/package-x.el (package--make-rss-entry):
4609         (package-maint-add-news-item, package--update-news)
4610         (package-upload-buffer-internal): New arg ARCHIVE-URL.
4612         * emacs-lisp/package.el (package-archive-url): Rename from
4613         package-archive-id.
4614         (package-install): Doc fix.
4615         (package-download-single, package-download-tar, package-install)
4616         (package-menu-view-commentary): Callers changed.
4618 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
4620         * net/tramp.el (tramp-handle-start-file-process): Check only for
4621         `remote-tty' process property.
4622         (tramp-open-shell): Don't check for tty.
4623         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
4624         process property.
4626         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
4627         host.
4629 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
4631         * emacs-lisp/package.el (package-load-list, package-archives)
4632         (package-archive-contents, package-user-dir)
4633         (package-directory-list, package--builtins, package-alist)
4634         (package-activated-list, package-obsolete-alist): Mark as risky.
4636 2010-07-28  Phil Hagelberg  <phil@evri.com>
4638         Add support for non-default package repositories.
4639         * emacs-lisp/package.el (package-archive-base): Var deleted.
4640         (package-archives): New variable.
4641         (package-archive-contents): Doc fix.
4642         (package-load-descriptor): Do nothing if descriptor file is missing.
4643         (package--write-file-no-coding): New function.
4644         (package-unpack-single): Use it.
4645         (package-archive-id): New function.
4646         (package-download-single, package-download-tar)
4647         (package-menu-view-commentary): Use it.
4648         (package-installed-p): Make second argument optional.
4649         (package-read-all-archive-contents): New function.
4650         (package-initialize): Use it.
4651         (package-read-archive-contents): Add ARCHIVE argument.
4652         (package--add-to-archive-contents): New function.
4653         (package-install): Don't call package-read-archive-contents.
4654         (package--download-one-archive): Store archive file in a
4655         subdirectory of package-user-dir.
4656         (package-menu-execute): Remove spurious line movement.
4658 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
4660         * cus-start.el (tool-bar-style): Add text-image-horiz.
4662 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
4664         * progmodes/gud.el (gud-common-init): Check for remoteness of
4665         `file', and not of `default-directory'.
4667 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
4669         * net/tramp.el (tramp-methods): Move hostname to the end in all
4670         ssh `tramp-login-args'.
4671         (tramp-verbose): Describe verbose level 9.
4672         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
4673         (tramp-open-connection-setup-interactive-shell): Trace stty
4674         settings if `tramp-verbose' >= 9.
4675         (tramp-handle-start-file-process): Implement tty setting.
4676         (Bug#4604, Bug#6360)
4678         * net/tramp-cmds.el (tramp-bug): Recommend setting of
4679         `tramp-verbose' to 9.
4681 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
4683         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
4684         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
4685         Remove references to package `lisp-re' (bug#4369).
4687 2010-07-27  Tom Tromey  <tromey@redhat.com>
4689         * progmodes/js.el (js-mode):
4690         * progmodes/make-mode.el (makefile-mode):
4691         * progmodes/simula.el (simula-mode):
4692         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
4694 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
4696         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
4698         * time.el (display-time-day-and-date): Remove spurious * in docstring.
4699         (display-time-world-buffer-name, display-time-world-mode-map):
4700         Fix typos in docstrings.
4702 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
4704         * image-mode.el (image-display-size): New function.
4705         (image-forward-hscroll, image-next-line, image-eol, image-eob)
4706         (image-mode-fit-frame): Use it (Bug#6639).
4708 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
4710         * dired.el (dired-buffers-for-dir): Handle list values of
4711         dired-directory (Bug#6636).
4713 2010-07-26  Sam Steingold  <sds@gnu.org>
4715         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
4716         Do not call `x-get-selection' the second time, reuse the value.
4718 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
4720         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
4721         which consist of control chars only.  Suggested by Richard Stallman.
4723 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
4725         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
4726         exists before passing an error to find-file-not-found-functions
4727         (bug#6723).
4729 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
4731         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
4732         Remove leading nil element, adjust values.
4733         (tetris-shapes, tetris-shape-scores):
4734         Change representation of shapes and remove some redundancy.
4735         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
4736         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
4737         Adjust for working with new representation of shapes.
4738         (tetris-shape-rotations): New function.
4739         (tetris-move-bottom, tetris-move-left, tetris-move-right)
4740         (tetris-rotate-prev, tetris-rotate-next):
4741         Adjust for working with the new version of tetris-test-shape.
4743 2010-07-23  Markus Triska  <markus.triska@gmx.at>
4745         * progmodes/ps-mode.el: Use comint (bug#5954).
4746         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
4747         (ps-mode-other-newline): Simplify.
4748         (ps-run-mode): Derive from comint-mode instead of
4749         fundamental-mode, yielding input history etc.
4750         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
4751         (ps-run-send-string): Adapt for comint-mode.
4752         (ps-run-newline): Remove now unneeded function.
4754 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
4756         * net/tramp.el (tramp-methods): Move hostname to the end in all
4757         plink `tramp-login-args'.
4759 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
4761         * net/tramp.el (tramp-open-shell): New defun.
4762         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4763         Use it.
4765 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
4767         * net/tramp.el (tramp-file-name-regexp-unified)
4768         (tramp-completion-file-name-regexp-unified): On W32 systems, do
4769         not regard the volume letter as remote filename.  (Bug#5447)
4771 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
4773         * custom.el (custom-declare-variable): Give a clearer error message
4774         when the docstring is missing (bug#6476).
4776 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
4778         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
4779         (sql-login-params): New widget definition.
4780         (sql-oracle-login-params, sql-mysql-login-params)
4781         (sql-solid-login-params, sql-sybase-login-params)
4782         (sql-informix-login-params, sql-ingres-login-params)
4783         (sql-ms-login-params, sql-postgres-login-params)
4784         (sql-interbase-login-params, sql-db2-login-params)
4785         (sql-linter-login-params): Use it.
4786         (sql-sqlite-login-params): Use it; Define "database" parameter as
4787         a file name.
4788         (sql-sqlite-program): Change to "sqlite3".
4789         (sql-comint-sqlite): Make sure database name is complete.
4790         (sql-for-each-login): New function.
4791         (sql-connect, sql-save-connection): Use it.
4792         (sql-get-login-ext): New function.
4793         (sql-get-login): Use it.
4794         (sql-make-alternate-buffer-name): Handle :file parameters.
4796 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
4798         * dired.el (dired-no-confirm): Document value t and fix defcustom to
4799         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
4801 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
4803         * dired.el (dired-mode-map): Use command remapping (bug#6632).
4805 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
4807         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
4809 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
4811         * net/tramp.el (tramp-get-ls-command)
4812         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
4813         instead of "/".
4815 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
4817         * progmodes/sql.el: Version 2.3.
4818         (sql-connection-alist): Changed keys from symbols to strings;
4819         enhanced the widget definition.
4820         (sql-mode-menu): Added submenu to select connections.
4821         (sql-interactive-mode-menu): Added "Save Connection" item.
4822         (sql-add-product): Fixed menu item.
4823         (sql-get-product-feature): Improved error handling.
4824         (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
4825         (sql-make-alternate-buffer-name): Simplified.
4826         (sql-product-interactive): Handle missing product.
4827         (sql-connect): Support string keys, minor improvements.
4828         (sql-save-connection): New function.
4829         (sql-connection-menu-filter): New function.
4831 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
4833         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
4834         (tramp-open-connection-setup-interactive-shell): Apply
4835         workaround for IRIX64 bug.  Move argument of last
4836         `tramp-send-command' where it belongs to.
4838 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
4840         * net/tramp.el (tramp-perl-file-attributes)
4841         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
4842         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
4843         front of `login-args'.
4845 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
4847         * time.el (display-time-world-mode): Define with `define-derived-mode'.
4848         Set `show-trailing-whitespace' to nil.
4849         (display-time-world-display): Simplify.
4851 2010-07-18  Alan Mackenzie  <acm@muc.de>
4853         Enhance `c-file-style' in file/directory local variables.
4854         * progmodes/cc-mode.el (c-count-cfss): New function.
4855         (c-before-hack-hook): Call `c-set-style' differently according to
4856         whether c-file-style was set in file or directory local
4857         variables.
4859 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
4861         * progmodes/sql.el: Version 2.2.
4862         (sql-product, sql-user, sql-database, sql-server, sql-port): Use
4863         defcustom :safe keyword rather than putting safe-local-variable
4864         property.
4865         (sql-password): Use defcustom :risky keyword rather than putting
4866         risky-local-variable property.
4867         (sql-oracle-login-params, sql-sqlite-login-params)
4868         (sql-solid-login-params, sql-sybase-login-params)
4869         (sql-informix-login-params, sql-ingres-login-params)
4870         (sql-ms-login-params, sql-postgres-login-params)
4871         (sql-interbase-login-params, sql-db2-login-params)
4872         (sql-linter-login-params): Add `port' option.
4873         (sql-get-product-feature): Added NO-INDIRECT parameter.
4874         (sql-comint-oracle, sql-comint-sybase)
4875         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
4876         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
4877         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
4878         (sql-comint-linter): Renamed sql-connect-* functions to
4879         sql-comint-*.
4880         (sql-product-alist, sql-mode-menu): Renamed as above and
4881         :sqli-connect-func to :sqli-comint-func.
4882         (sql-connection): New variable.
4883         (sql-interactive-mode): Set it.
4884         (sql-connection-alist): New variable.
4885         (sql-connect): New function.
4886         (sql--alt-buffer-part, sql--alt-if-not-empty)
4887         (sql-make-alternate-buffer-name): Improved alternative buffer name.
4889 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4891         * image-mode.el (image-bookmark-make-record): Do not set context
4892         in an image (Bug#6650).
4894 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
4896         * simple.el (select-active-region): New function.
4897         (push-mark-command, set-mark, activate-mark)
4898         (handle-shift-selection): Use it.
4899         (deactivate-mark): Don't check for size of region.
4901         * mouse.el (mouse-drag-track): Use select-active-region.
4903 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
4905         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
4906         "--dired" stronger.
4908 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
4910         * term/x-win.el (x-select-enable-primary): Change default to nil.
4911         (x-select-enable-clipboard): Add :version keyword.
4913         * mouse.el (mouse-drag-copy-region):
4914         * simple.el (select-active-regions): Likewise.
4916 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
4918         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
4919         (vc-coding-system-for-diff): Use it to decide whether to inherit
4920         from the file the EOL format for reading the diffs of that file.
4921         (Bug#4451)
4923 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
4925         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
4926         unibyte, so compressed attachments are not compressed again.
4928 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
4930         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
4931         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
4932         (tramp-find-shell): Simplify setting connection property.
4933         (tramp-get-ls-command): Make test for "--color=never" stronger.
4935 2010-07-15  Simon South  <ssouth@member.fsf.org>
4937         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
4938         blocks within record declarations (i.e. variant parts) correctly.
4940 2010-07-15  Simon South  <ssouth@member.fsf.org>
4942         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
4943         over literal tokens when parsing so newlines aren't "absorbed" by
4944         single-line comments.  Corrects the indentation of case blocks
4945         that have a comment on the first line.
4947 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
4949         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
4950         by Drew Adams (Bug#5504).
4952 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
4954         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
4955         now that Unicode is used (Bug#6594).
4957 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
4959         * term/x-win.el (x-select-enable-clipboard): Default to t.
4960         (x-initialize-window-system): Don't overwrite Paste menu item.
4962         * simple.el (select-active-regions): Default to t.
4963         (push-mark-command): Don't overwrite primary with empty string.
4965         * mouse.el: Bind mouse-2 to mouse-yank-primary.
4966         (mouse-drag-copy-region): Default to nil.
4968         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
4969         Cut/Copy/Paste menu bar items.
4971 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4973         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
4974         Patch applied by Karl Fogel.
4976         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
4977         and `bookmark-current-buffer' if they have been already set in
4978         another buffer (e.g gnus-art).
4980 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
4981             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4983         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
4985         * bookmark.el (bookmark-make-record-default): Allow unneeded
4986         information to be omitted from the record.
4988         Adjust declarations and calls:
4990         * info.el (bookmark-make-record-default): Adjust declaration.
4991         (Info-bookmark-make-record): Adjust call.
4993         * woman.el (bookmark-make-record-default): Adjust declaration.
4994         (woman-bookmark-make-record): Adjust call.
4996         * man.el (bookmark-make-record-default): Adjust declaration.
4997         (Man-bookmark-make-record): Adjust call.
4999         * image-mode.el (bookmark-make-record-default): Adjust declaration.
5001         * doc-view.el (bookmark-make-record-default): Adjust declaration.
5003 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
5005         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
5006         This is also from Thierry Volpiatto's patch in bug #6444.  However,
5007         because it was extraneous to the functional change in that patch,
5008         and causes a re-indendation, I am committing it separately.
5010 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5012         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
5013         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
5014         Patch applied by Karl Fogel (Bug#6444).
5016 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
5018         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
5020 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
5022         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
5023         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
5024         (ns-alternatives-map): Change S-tab binding to backtab
5025         (bug#6616).
5027         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
5028         under ns.
5030 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
5032         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
5033         (Bug#5806)
5035         * language/tv-util.el (tai-viet-re): Remove format.
5037 2010-07-12  Kenichi Handa  <handa@m17n.org>
5039         * language/hebrew.el: Remove no-byte-compile declaration.
5040         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
5041         composition-function-table for 3-character looking back.
5042         (hebrew-font-get-precomposed): New function.
5043         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
5045 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
5047         * mouse.el (mouse-drag-track): Handle select-active-regions
5048         (Bug#6612).
5050 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
5052         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5053         empty argument to gvfs-copy.
5055 2010-07-10  Glenn Morris  <rgm@gnu.org>
5057         * calendar/calendar.el (calendar-week-end-day): New function.
5058         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
5059         Respect calendar-week-start-day.  (Bug#6606)
5060         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
5061         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
5062         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
5063         respect calendar-week-start-day.
5065 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
5067         * simple.el (use-region-p): Doc fix (Bug#6607).
5069 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
5071         * progmodes/compile.el (compilation-error-regexp-alist-alist): Add
5072         regexps for cucumber and ruby.
5074 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
5076         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
5077         (epa-file-insert-file-contents): Hack to prevent
5078         find-file from opening empty buffer when decryption failed
5079         (bug#6568).
5081 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
5083         * textmodes/ispell.el (ispell-alternate-dictionary):
5084         Use file-readable-p.
5085         Return nil if no word-list is found at default locations.
5086         (ispell-complete-word-dict): Default to nil.
5087         (ispell-command-loop): Use 'word-list' when using lookup-words.
5088         (lookup-words): Use ispell-complete-word-dict or
5089         ispell-alternate-dictionary.  Check for word-list availability
5090         and handle errors if needed with better messages (Bug#6539).
5091         (ispell-complete-word): Use ispell-complete-word-dict or
5092         ispell-alternate-dictionary.
5094 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
5096         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
5097         builtins (BufferError, BytesWarning, WindowsError; callables
5098         bin, bytearray, bytes, format, memoryview, next, print; __package__).
5100 2010-07-07  Glenn Morris  <rgm@gnu.org>
5102         * play/zone.el (top-level): Do not require timer, tabify, or cl.
5103         (zone-shift-left): Ignore intangibility, and any errors from
5104         forward-char.
5105         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
5106         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
5107         deleting, and copying text properties.
5108         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
5109         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
5110         to point-max is hard.
5111         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
5112         (zone-fill-out-screen): Ignore intangibility.
5114 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
5116         * menu-bar.el (menu-bar-mode):
5117         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
5118         if it has been set.
5120         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
5121         word/line selection (Bug#6565).
5123 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
5125         * net/dbus.el (dbus-send-signal): Declare function.
5127 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
5129         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
5130         (dbus-register-property): New optional argument EMITS-SIGNAL.
5131         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
5133 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
5135         * mouse.el (mouse-drag-overlay): Variable deleted.
5136         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
5137         (mouse--remap-link-click-p): New function.
5138         (mouse-drag-track): Handle dragging by using temporary Transient
5139         Mark mode, instead of a special overlay.
5140         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
5141         mouse-show-mark.
5143         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
5144         deleted.
5146 2010-07-02  Juri Linkov  <juri@jurta.org>
5148         * autoinsert.el (auto-insert-alist): Fix readability
5149         by using dotted pair notation for lambda.
5151 2010-07-02  Juri Linkov  <juri@jurta.org>
5153         * faces.el (read-face-name): Rename arg `string-describing-default'
5154         to `default'.  Doc fix.  Display the default value in quotes
5155         in the prompt.  With empty input, return the `default' arg,
5156         unless the default value is a string (in which case return nil).
5157         (describe-face): Replace the string `default' arg of `read-face-name'
5158         with the symbol `default'.
5160 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
5162         * emulation/viper-cmd.el (viper-delete-backward-char)
5163         (viper-del-backward-char-in-insert)
5164         (viper-del-backward-char-in-replace, viper-change)
5165         (viper-backward-indent): Replace delete-backward-char with
5166         delete-char (Bug#6552).
5168 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
5170         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
5172 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
5174         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
5175         argument passed to frame-creation-function (Bug#5378).
5177         * faces.el (x-handle-named-frame-geometry)
5178         (x-handle-reverse-video, x-create-frame-with-faces)
5179         (face-set-after-frame-default, tty-create-frame-with-faces): Don't
5180         separately consult default-frame-alist.  It is now passed as the
5181         PARAMETER argument.
5183 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
5185         * startup.el (command-line): Don't call tool-bar-setup in a
5186         tty-only build.
5188 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
5190         * ruler-mode.el (ruler--save-header-line-format): New fun.
5191         (ruler-mode): Use it as a setter function, so as not to overwrite
5192         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
5194 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
5196         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
5197         (vc-root-diff, vc-print-root-log, vc-log-incoming)
5198         (vc-log-outgoing): Use it.
5199         (vc-diff-internal): Set diff-vc-backend.
5201         * vc/diff-mode.el (diff-vc-backend): New var.
5203 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
5205         * dynamic-setting.el (font-setting-change-default-font): Remove
5206         call to message.
5208 2010-06-28  Kenichi Handa  <handa@m17n.org>
5210         * international/quail.el (quail-insert-kbd-layout): Fix the
5211         showing of untranslated characters.
5213 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
5215         * simple.el (delete-active-region): New option.
5216         (delete-backward-char): Implement in Lisp.
5217         (delete-forward-char): New command.
5219         * mouse.el (mouse-region-delete-keys): Deleted.
5220         (mouse-show-mark): Simplify.
5222         * bindings.el (global-map): Bind delete and DEL, the former to
5223         delete-forward-char.
5225 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
5227         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
5228         (ruby-mode): Bind indent-line-function (Bug#5119).
5230 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
5232         * startup.el (command-line): Recognize "0" X resource value.
5234 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
5236         * startup.el (command-line): Use X resources to set the value of
5237         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
5239         * menu-bar.el (menu-bar-mode):
5240         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
5241         Set init-value to t.
5243         * frame.el (frame-notice-user-settings): Don't change
5244         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
5245         vice versa (Bug#2249).
5247 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
5249         * w32-fns.el (w32-convert-standard-filename): Doc fix.
5251 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
5253         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
5254         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
5256         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
5257         default directories are expanded (Bug#6143).
5259 2010-06-24  Juri Linkov  <juri@jurta.org>
5261         * minibuffer.el (completions-format): Change default from nil to
5262         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
5264 2010-06-24  Juri Linkov  <juri@jurta.org>
5266         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
5267         buffer-locally to lambda that re-runs the vc diff command.
5268         (Bug#6447)
5270 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
5272         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
5273         echo area is in use (Bug#3412).
5275 2010-06-22  Glenn Morris  <rgm@gnu.org>
5277         * textmodes/texinfmt.el (texinfo-format-region)
5278         (texinfo-raise-lower-sections, texinfo-format-separate-node)
5279         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
5280         (texinfo-format-option, texinfo-noindent):
5281         Use line-beginning-position and line-end-position.
5283         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
5284         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
5285         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
5286         utf-8 characters.
5288 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
5290         * play/zone.el (zone-fall-through-ws): Fix next-line ->
5291         forward-line fallout.
5293 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
5295         * mouse.el (mouse-appearance-menu): Add docstring.
5297         * help.el (describe-key): Print up-event using key-description.
5299 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
5301         * net/zeroconf.el (zeroconf-resolve-service)
5302         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
5303         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
5305 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
5307         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
5309 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
5311         Avoid displaying files with a nil state in vc-dir.
5312         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
5313         cases that cause insertion.
5314         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
5315         with a nil state.
5317 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
5319         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
5321 2010-06-29  Leo  <sdl.web@gmail.com>
5323         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
5325 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
5327         * generic-x.el (bat-generic-mode): Fix regexp for command line
5328         switches (Bug#5719).
5330 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
5332         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
5333         of nconc to avoid pure storage error (Bug#6239).
5335 2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)
5337         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
5338         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
5339         bindings of bookmark-automatically-show-annotations (Bug#6515).
5341 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
5343         * arc-mode.el (archive-zip-extract): Don't quote the file name on
5344         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
5346 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
5348         * comint.el (make-comint, make-comint-in-buffer): Mention return
5349         value in the docstrings.  (Bug#6498)
5351 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
5353         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
5354         since it is not present when using some non-default switches.
5356 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
5358         * simple.el (compose-mail): Fix doc string to refer to
5359         `compose-mail-user-agent-warnings', instead of to the
5360         nonexistent `compose-mail-check-user-agent'.
5362 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
5364         Fix an indentation bug:
5366         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
5367         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
5368         of existing values.
5370         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
5371         (c-clear->-pair-props-if-match-before): now return t when they've
5372         cleared properties, nil otherwise.
5373         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
5374         by taking account of the existing value.
5376         * progmodes/cc-defs.el
5377         (c-clear-char-property-with-value-function): Fix this to clear the
5378         property rather than overwriting it with nil.
5380 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
5382         * emacs-lisp/package.el (package-print-package): Add link to
5383         package description via describe-package.
5384         (describe-package-1): List package requirements.  Add button to
5385         perform installation.
5386         (package-menu-describe-package): New command.
5388         * help-mode.el (help-package): New button type.
5390 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
5392         * emacs-lisp/package.el: Move package-list-packages binding to
5393         menu-bar.el.
5394         (describe-package, describe-package-1, package--dir): New funs.
5395         (package-activate-1): Use package--dir.
5397         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
5399         * help-mode.el (help-package-def): New button type.
5401         * menu-bar.el: Move package-list-packages binding here from
5402         package.el.
5404 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
5406         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
5408 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5410         * emacs-lisp/edebug.el (edebug-read-list):
5411         Phase out old-style backquotes.
5413 2010-06-17  Juri Linkov  <juri@jurta.org>
5415         * help-mode.el (help-mode): Set buffer-local variable
5416         revert-buffer-function to help-mode-revert-buffer.
5417         (help-mode-revert-buffer): New function.
5419         * info.el (Info-revert-find-node): Check for major-mode Info-mode
5420         before popping to "*info*" (like in other Info functions).
5421         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
5422         old-history-forward.  Pop to old-buffer-name or "*info*" to
5423         recreate the killed buffer.  Set Info-history-forward from
5424         old-history-forward.
5425         (Info-breadcrumbs-depth): Add :group and :version.
5427 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
5429         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
5431 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
5433         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
5434         for languages like Portuguese with pt_{BR,PT} and no plain pt.
5436 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
5438         * emacs-lisp/package.el (package-menu-mode-map):
5439         Move initialization into declaration.
5441         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
5443 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
5445         * emacs-lisp/package.el (package-archive-base): Point to
5446         elpa.gnu.org.
5447         (package-enable, package-load-list): New defcustoms.
5448         (package-user-dir, package-directory-list): Turn into defcustoms.
5449         Don't include package-user-dir in package-directory-list.
5450         (package--builtins-base): Don't include Emacs as a "package".
5451         (package-subdirectory-regexp): New var.
5452         (package-load-all-descriptors, package-compute-transaction)
5453         (package-download-transaction): Obey package-load-list.
5454         (package-activate-1): Rename from package-do-activate.
5455         (package-list-packages-internal): Check package-load-list.
5456         (package-load-descriptor, package-generate-autoloads)
5457         (package-unpack, package-unpack-single)
5458         (package--read-archive-file, package-delete): Use
5459         expand-file-name.
5461         * emacs-lisp/package-x.el: New file.  Package uploading
5462         functionality split out from package.el.
5464         * startup.el (command-line): Load packages after reading init file.
5466 2010-06-17  Tom Tromey  <tromey@redhat.com>
5468         * emacs-lisp/package.el: New file.
5470 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
5472         Fix vc-annotate for renamed files when using Git.
5473         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
5474         ls-files.  Doe not pass the object as a file name to cat-file, it
5475         is not a file name.
5476         (vc-git-annotate-command): Pass the file name using -- to avoid
5477         ambiguity with the revision.
5478         (vc-git-previous-revision): Pass a relative file name.
5480 2010-06-22  Glenn Morris  <rgm@gnu.org>
5482         * progmodes/js.el (js-mode-map): Use standard capitalization and
5483         ellipses for menu entries.
5485         * wid-edit.el (widget-complete): Doc fix.
5487 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
5489         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
5491 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
5493         Fix annotating other revisions for renamed files in vc-annotate.
5494         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
5495         VC backend.  Use it when non-nil.
5496         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
5497         (Bug#6487)
5499         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
5500         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5501         Do not pass the file name to the 'previous-revision call when we
5502         don't want a file diff.  (Bug#6489)
5504 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
5506         Fix finding revisions for renamed files in vc-annotate.
5507         * vc/vc.el (vc-find-revision): Add an optional argument for
5508         the VC backend.  Use it when non-nil.
5509         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
5510         backend to vc-find-revision.  (Bug#6487)
5512 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
5514         Fix reading file names in Git annotate buffers.
5515         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
5516         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
5518 2010-06-20  Alan Mackenzie  <acm@muc.de>
5520         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
5521         in file local variables, set it first.
5523 2010-06-19  Glenn Morris  <rgm@gnu.org>
5525         * descr-text.el (describe-char-unicode-data): Insert separating
5526         space when needed.  (Bug#6422)
5528         * progmodes/idlwave.el (idlwave-action-and-binding):
5529         Fix typo in 2009-12-03 change.  (Bug#6450)
5531 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5533         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
5534         handling for `lambda' (misunderstanding).
5536 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
5538         * calc/calc-poly.el (math-accum-factors): Make sure that
5539         constants aren't distributed after they are factored out.
5541 2010-06-16  Juri Linkov  <juri@jurta.org>
5543         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
5544         `list-colors-print'.  (Bug#6332)
5546         * subr.el (read-quoted-char): Fix up last change (bug#6290).
5548 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5550         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
5551         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
5553         * font-lock.el (font-lock-major-mode): Rename from
5554         font-lock-mode-major-mode to distinguish it from
5555         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
5556         (font-lock-set-defaults):
5557         * font-core.el (font-lock-default-function): Adjust users.
5558         (font-lock-mode): Don't set it at all.
5560 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5562         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
5564 2010-06-16  Glenn Morris  <rgm@gnu.org>
5566         * calendar/appt.el (appt-time-msg-list): Doc fix.
5567         (appt-check): Let-bind appt-warn-time.
5568         (appt-add): Make the 3rd argument optional.
5569         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
5570         Only add WARNTIME to the output list if non-nil.
5572 2010-06-16  Ivan Kanis  <apple@kanis.eu>
5574         * calendar/appt.el (appt-check): Let the 3rd element of
5575         appt-time-msg-list specify the warning time.
5576         (appt-add): Add new argument with the warning time.  (Bug#5176)
5578 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)
5580         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
5581         older than version 1.6.  (Bug#6361)
5583 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
5585         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
5586         used by cl-do-arglist.  (Bug#6408)
5588 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
5590         * textmodes/ispell.el (ispell-dictionary-base-alist): Fix
5591         portuguese casechars/not-casechars for missing 'çÇ'.
5592         Suggested by Rolando Pereira (bug#6434).
5594 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
5596         * facemenu.el (list-colors-sort): Doc fix.
5598 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)
5600         * progmodes/sql.el (sql-connect-mysql): Fix typo.
5602 2010-06-14  Juri Linkov  <juri@jurta.org>
5604         Add sort option `list-colors-sort'.  (Bug#6332)
5605         * facemenu.el (color-rgb-to-hsv): New function.
5606         (list-colors-sort): New defcustom.
5607         (list-colors-sort-key): New function.
5608         (list-colors-display): Doc fix.  Sort list according to the option
5609         `list-colors-sort'.
5610         (list-colors-print): Add HSV values to `help-echo' property of
5611         RGB strings.
5613 2010-06-14  Juri Linkov  <juri@jurta.org>
5615         * compare-w.el: Move to the "vc" subdirectory.
5617 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5619         * image-mode.el (image-mode-map): Remap left-char and right-char.
5621         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
5623 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
5625         * term/common-win.el (x-colors): Add all the color names defined
5626         in rgb.txt (Bug#6332).
5628         * facemenu.el (list-colors-print): Don't print extra names if it
5629         will overflow the window width.
5631         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
5632         change (Bug#6343).
5634 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
5636         * files.el (make-directory): Doc fix (bug#6396).
5638 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
5640         * net/tramp.el (tramp-remote-process-environment): Protect version
5641         string by apostroph.
5642         (tramp-shell-prompt-pattern): Do not use a shy group in case of
5643         XEmacs.
5644         (tramp-file-name-for-operation): Add `call-process-region'.
5645         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
5647         * net/tramp-compat.el (top): Do not autoload
5648         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
5649         only when `start-file-process' is not bound.
5650         (tramp-advice-file-expand-wildcards): Do not use
5651         `tramp-handle-file-remote-p'.
5652         (tramp-compat-make-temp-file): Handle the case, that
5653         `make-temp-file' has no third argument EXTENSION.
5655 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
5657         * makefile.w32-in (WINS_BASIC): Include new directory vc.
5659         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
5661 2010-06-11  Juri Linkov  <juri@jurta.org>
5663         * finder.el (finder-known-keywords): Add keyword "vc"
5664         for version control.
5666         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
5667         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
5668         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
5669         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
5671 2010-06-11  Juri Linkov  <juri@jurta.org>
5673         Move version control related files to the "vc" subdirectory.
5674         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
5675         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
5676         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
5677         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
5678         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
5679         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
5680         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
5681         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
5682         Move files to the "vc" subdirectory.
5684 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
5686         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
5687         (Bug#6367).
5689 2010-06-11  Stephen Eglen  <stephen@gnu.org>
5691         * shell.el: Bind `shell-resync-dirs' to M-RET.
5693 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
5695         * notifications.el: Move file from lisp/net, because it is
5696         supposed to talk locally to the user.
5698 2010-06-10  Julien Danjou  <julien@danjou.info>
5700         * net/notifications.el (notifications-on-action-signal)
5701         (notifications-on-closed-signal): Pass notification id as first
5702         argument to the callback functions.  Add docstrings.
5703         (notifications-notify): Fix docstring.
5705 2010-06-10  Glenn Morris  <rgm@gnu.org>
5707         * emacs-lisp/authors.el (authors-ignored-files)
5708         (authors-valid-file-names): Add some files.
5710 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5712         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
5713         merge conflict, giving preference to the emacs-23 version of the code.
5715 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5717         * emacs-lisp/advice.el (ad-compile-function):
5718         Define warning-suppress-types before we let-bind it (bug#6275).
5720         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
5721         declare it, make it buffer-local and permanent-local (bug#6324).
5722         (vc-resynch-window): Adjust name.
5723         * vc-hooks.el (vc-find-file-hook): Adjust name.
5725 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
5727         * net/notifications.el (notifications-notify): Fix docstring.
5729 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
5731         Update to Unicode 6.0.0 beta.
5732         * international/charprop.el: Update copyright.
5733         * international/mule-cmds.el (ucs-names): Update character ranges.
5734         * international/uni-bidi.el:
5735         * international/uni-category.el:
5736         * international/uni-combining.el:
5737         * international/uni-comment.el:
5738         * international/uni-decimal.el:
5739         * international/uni-decomposition.el:
5740         * international/uni-digit.el:
5741         * international/uni-lowercase.el:
5742         * international/uni-mirrored.el:
5743         * international/uni-name.el:
5744         * international/uni-numeric.el:
5745         * international/uni-old-name.el:
5746         * international/uni-titlecase.el:
5747         * international/uni-uppercase.el: Regenerate.
5749 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
5751         * emacs-lisp/smie.el (comment-string-strip): Declare function.
5752         (smie-precs-precedence-table): Fix typo in docstring.
5754         * vc-mtn.el (log-edit-extract-headers): Declare function.
5756         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
5758         * net/notifications.el (dbus-register-signal): Declare function.
5759         (notifications-notify): Fix typos and reflow docstring.
5761 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
5763         Improve VC create/retrieve tag/branch.
5764         * vc.el (vc-create-tag): Do not read the directory name for VCs
5765         with repository revision granularity.  Adjust the tag/branch
5766         prompt.  Reset VC properties.
5767         (vc-retrieve-tag): Do not read the directory name for VCs
5768         with repository revision granularity.  Reset VC properties.
5770 2010-06-09  Julien Danjou  <julien@danjou.info>
5772         * net/notifications.el: New file.
5774 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
5776         Add optional support for resetting VC properties.
5777         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
5778         call vc-file-clearprops when true.
5779         (vc-resynch-buffer): Add new optional argument, pass it down.
5780         (vc-resynch-buffers-in-directory): Likewise.
5782         Improve support for special markup in the VC commit message.
5783         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
5784         * vc-hg.el (vc-hg-checkin): Add support for Date:.
5785         * vc-git.el (vc-git-checkin):
5786         * vc-bzr.el (vc-bzr-checkin): Likewise.
5788 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5790         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
5791         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
5793 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
5795         * iimage.el: Remove images as soon as the underlying text is modified.
5796         (iimage-modification-hook): New function.
5797         (iimage-mode-buffer): Use it.
5799 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5801         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
5802         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
5803         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
5804         (smie-indent-keyword): Add handling of open-paren keywords.
5805         (smie-indent-comment-continue): Don't assume comment-continue.
5807 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
5809         * window.el (pop-to-buffer): Remove the conditional that
5810         compares new-window and old-window, so it will reselect
5811         the selected window unconditionally.
5812         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
5814 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5816         * emacs-lisp/smie.el (smie-indent-offset-after)
5817         (smie-indent-forward-token, smie-indent-backward-token): New functions.
5818         (smie-indent-after-keyword): Use them.
5819         (smie-indent-fixindent): Only applies to the indentation of the BOL.
5820         (smie-indent-keyword): Tweak the black magic.
5821         (smie-indent-comment-continue): Strip comment-continue before use.
5822         (smie-indent-functions): Indent comments before keywords.
5824 2010-06-06  Juri Linkov  <juri@jurta.org>
5826         * isearch.el (isearch-lazy-highlight-search): Fix looping
5827         by checking for empty match.  This syncs this loop with the
5828         similar loop in `isearch-search'.  (Bug#6362)
5830 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
5832         * net/dbus.el (dbus-register-method): Declare function.
5833         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
5834         (dbus-introspect): Doc fix.
5835         (dbus-event-bus-name, dbus-introspect-get-interface)
5836         (dbus-introspect-get-argument): Reflow docstrings.
5838 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
5840         vc-log-incoming/vc-log-outgoing fixes for Git.
5841         * vc-git.el (vc-git-log-view-mode): Fix font lock for
5842         incoming/outgoing logs.
5843         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
5844         instead of vc-git-compute-remote.
5845         (vc-git-compute-remote): Remove.
5847 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
5849         * term/common-win.el (x-colors): Add "dark green" and "dark
5850         turquoise" (Bug#6332).
5852 2010-06-04  Juri Linkov  <juri@jurta.org>
5854         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
5855         Instead of setting `replace' to t and replacing the same string
5856         with itself, don't do certain actions when
5857         kill-do-not-save-duplicates is non-nil and string is equal to car
5858         of kill-ring: don't call menu-bar-update-yank-menu, don't push
5859         interprogram-paste strings to kill-ring, and don't push the input
5860         argument `string' to kill-ring.
5861         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
5863 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
5865         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
5867 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
5869         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
5870         (tramp-gvfs-handler-mounted-unmounted)
5871         (tramp-gvfs-connection-mounted-p): Handle default-location.
5873         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
5874         move files to trash.
5876 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
5878         * international/mule-cmds.el (nonascii-insert-offset)
5879         (nonascii-translation-table): Add obsolescence information.
5881         * international/mule.el (make-translation-table-from-vector): Doc fix.
5883 2010-06-03  Glenn Morris  <rgm@gnu.org>
5885         * desktop.el (desktop-clear-preserve-buffers):
5886         Add "*Warnings*" buffer.  (Bug#6336)
5888 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
5890         vc-log-incoming/vc-log-outgoing improvements for Git.
5891         * vc-git.el (vc-git-log-outgoing): Use the same format as the
5892         short log.
5893         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
5895         Add bindings for vc-log-incoming and vc-log-outgoing.
5896         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
5897         and vc-log-outgoing.
5898         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
5899         and vc-log-outgoing.
5901 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
5903         * net/rcirc.el (rcirc-sort-nicknames): Remove.
5904         (rcirc-handler-366): Always sort nicknames.
5906 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
5908         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
5910 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
5912         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
5914 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5916         * net/rcirc.el (rcirc-sort-nicknames): Change default.
5917         (rcirc-sort-nicknames-join): Avoid setq.
5919 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
5921         * net/rcirc.el (rcirc-sort-nicknames): New custom.
5922         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
5923         (rcirc-handler-366): Use them.
5925 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5927         Split smie-indent-calculate into more manageable chunks.
5928         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
5929         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
5930         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
5931         (smie-indent-exps): Extract from smie-indent-calculate.
5932         (smie-indent-functions): New var.
5933         (smie-indent-functions): Use them.
5935 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5937         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
5938         (smie-indent-calculate): Simplify and cleanup.
5940 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
5942         * net/tramp-gvfs.el (top): Require url-util.
5943         (tramp-gvfs-mount-point): Remove.
5944         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
5945         New defuns.
5946         (with-tramp-dbus-call-method): Format trace message.
5947         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
5948         Implement backup call, when operation on local files fails.
5949         Use progress reporter.  Flush properties of changed files.
5950         (tramp-gvfs-handle-make-directory): Make more traces.
5951         (tramp-gvfs-url-file-name): Hexify file name in url.
5952         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
5953         into account for the resulting file name.
5954         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
5955         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
5956         (tramp-gvfs-handler-mounted-unmounted)
5957         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
5958         attribute "default_location".  Set "prefix" property.
5959         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
5960         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
5961         exists.  Raise an error, if not (due to a corresponding answer
5962         "no" in interactive questions, for example).
5964 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
5966         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
5968 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
5970         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
5971         right-*.  (Bug#6265)
5973 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
5975         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
5976         * vc-git.el (vc-git-compute-remote): New function.
5977         (vc-git-log-outgoing): Use it instead of hard coding a value.
5978         (vc-git-log-incoming): New function.
5980         Improve state updating for VC tag commands.
5981         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
5982         to update the state of all buffers in the directory.
5984         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
5986 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
5988         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
5989         `file-directory-p' to the filename part rather than to the whole text.
5991 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
5993         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
5995 2010-05-31  Drew Adams  <drew.adams@oracle.com>
5997         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
5999 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
6001         * subr.el (momentary-string-display): Just use read-event to read
6002         the exit event (Bug#6238).
6004 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
6006         * international/mule.el (define-coding-system): Doc fix (bug#6313).
6008 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
6010         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
6011         Suggested by Eli Zaretskii <eliz@gnu.org>.
6013 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6015         * minibuffer.el (completion-file-name-table): Don't return a boundary
6016         past the end of `string' (bug#6299).
6017         (completion--file-name-table): Delegate to completion-file-name-table
6018         for the `boundaries' case.
6020 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
6022         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
6023         movement commands.
6025         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
6026         `path-separator', but maintain compatibility with Emacs 20.2.
6028 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
6030         * server.el (server-process-filter): Receive parent-id argument
6031         from emacsclient.
6032         (server-create-window-system-frame): New arg.  Pass parent-id as
6033         frame parameter.
6035 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
6037         Bidi-sensitive word movement with arrow keys.
6038         * subr.el (right-arrow-command, left-arrow-command): Move to
6039         bindings.el.
6041         * bindings.el (right-char, left-char): Move from subr.el and
6042         rename from right-arrow-command and left-arrow-command.
6043         (right-word, left-word): New functions.
6044         (global-map) <right>: Bind to right-char.
6045         (global-map) <left>: Bind to left-char.
6046         (global-map) <C-right>: Bind to right-word.
6047         (global-map) <C-left>: Bind to left-word.
6049         * ls-lisp.el (ls-lisp-classify-file): New function.
6050         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
6051         (ls-lisp-classify): Call ls-lisp-classify-file.
6052         (insert-directory): Remove blanks from switches.
6054 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
6056         * ansi-color.el: Delete unused escape sequences (Bug#6085).
6057         (ansi-color-drop-regexp): New constant.
6058         (ansi-color-apply, ansi-color-filter-region)
6059         (ansi-color-apply-on-region): Delete unrecognized control sequences.
6060         (ansi-color-apply): Build string list before calling concat.
6062 2010-05-28  Juri Linkov  <juri@jurta.org>
6064         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6065         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
6066         (Bug#5270)
6068 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
6070         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
6071         to ignored backtrace functions.
6072         (with-progress-reporter): Expand docstring.
6073         (tramp-handle-delete-file): Implement TRASH argument.
6074         (tramp-get-remote-trash): New defun.
6076 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
6078         * net/tramp-compat.el (tramp-compat-delete-file): Use
6079         `symbol-value' for backward compatibility.
6081         * net/tramp.el (tramp-handle-make-symbolic-link)
6082         (tramp-handle-load)
6083         (tramp-do-copy-or-rename-file-via-buffer)
6084         (tramp-do-copy-or-rename-file-directly)
6085         (tramp-do-copy-or-rename-file-out-of-band)
6086         (tramp-handle-process-file, tramp-handle-call-process-region)
6087         (tramp-handle-shell-command, tramp-handle-file-local-copy)
6088         (tramp-handle-insert-file-contents, tramp-handle-write-region)
6089         (tramp-delete-temp-file-function): Use `delete-file' instead
6090         of `tramp-compat-delete-file'.
6092         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
6093         (tramp-fish-handle-make-symbolic-link)
6094         (tramp-fish-handle-process-file): Use `delete-file' instead
6095         of `tramp-compat-delete-file'.
6097         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
6098         `delete-file' instead of `tramp-compat-delete-file'.
6100         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
6101         (tramp-gvfs-handle-write-region): Use `delete-file' instead of
6102         `tramp-compat-delete-file'.
6104         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
6105         `delete-file' instead of `tramp-compat-delete-file'.
6107         * net/tramp-smb.el (tramp-smb-handle-copy-file)
6108         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6109         (tramp-smb-handle-write-region): Use `delete-file' instead of
6110         `tramp-compat-delete-file'.
6111         (tramp-smb-handle-delete-directory): Use 'trash as arg.
6113 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
6115         * dired.el (dired-delete-file): New arg TRASH.
6116         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
6117         (dired-do-flagged-delete, dired-do-delete): Use trash.
6119         * speedbar.el (speedbar-item-delete): Allow trashing.
6121         * files.el (delete-directory): New arg TRASH.
6123         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
6124         (ange-ftp-rename-remote-to-remote)
6125         (ange-ftp-rename-local-to-remote)
6126         (ange-ftp-rename-remote-to-local, ange-ftp-load)
6127         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
6128         `delete-file'.
6129         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
6130         allow trashing.
6132         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6133         handle new TRASH arg of `delete-file'.
6135         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
6136         (tramp-handle-make-symbolic-link, tramp-handle-load)
6137         (tramp-do-copy-or-rename-file-via-buffer)
6138         (tramp-do-copy-or-rename-file-directly)
6139         (tramp-do-copy-or-rename-file-out-of-band)
6140         (tramp-handle-process-file, tramp-handle-call-process-region)
6141         (tramp-handle-shell-command, tramp-handle-file-local-copy)
6142         (tramp-handle-insert-file-contents, tramp-handle-write-region)
6143         (tramp-delete-temp-file-function): Use null TRASH arg in
6144         tramp-compat-delete-file call.
6146         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
6147         (tramp-fish-handle-delete-file)
6148         (tramp-fish-handle-make-symbolic-link)
6149         (tramp-fish-handle-process-file): Use null TRASH arg in
6150         `tramp-compat-delete-file' call.
6152         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
6153         arg in `tramp-compat-delete-file' call.
6155         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
6156         (tramp-gvfs-handle-write-region): Use null TRASH arg in
6157         `tramp-compat-delete-file' call.
6159         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
6160         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
6161         `tramp-compat-delete-file' call.
6163         * net/tramp-smb.el (tramp-smb-handle-copy-file)
6164         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6165         (tramp-smb-handle-write-region): Use null TRASH arg in
6166         tramp-compat-delete-file call.
6167         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
6168         (tramp-smb-handle-delete-file): Rename arg.
6170         * diff.el (diff-sentinel):
6171         * epg.el (epg--make-temp-file, epg-decrypt-string)
6172         (epg-verify-string, epg-sign-string, epg-encrypt-string):
6173         * jka-compr.el (jka-compr-partial-uncompress)
6174         (jka-compr-call-process, jka-compr-write-region):
6175         * server.el (server-sentinel): Remove optional arg from
6176         delete-file, reverting 2010-05-03 change.
6178 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
6180         * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
6181         font-lock-constant-face, not obsolete font-lock-reference-face.
6183 2010-05-27  Kenichi Handa  <handa@m17n.org>
6185         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
6186         element of GSTRING is nil.
6188 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6190         * emacs-lisp/smie.el (smie-forward-token-function)
6191         (smie-backward-token-function): New vars.
6192         (smie-backward-sexp, smie-forward-sexp)
6193         (smie-indent-hanging-p, smie-indent-calculate): Use them.
6194         (smie-default-backward-token): Rename from smie-backward-token and
6195         skip comments.
6196         (smie-default-forward-token): Rename from smie-forward-token and
6197         skip comments.
6198         (smie-next-sexp): Handle nil results from next-token.
6199         (smie-indent-calculate): Add a new case for special `fixindent' comments.
6201 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
6203         * progmodes/verilog-mode.el (verilog-type-font-keywords):
6204         Use font-lock-constant-face, not obsolete font-lock-reference-face.
6206 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
6208         * htmlfontify.el (hfy-face-resolve-face): New function.
6209         (hfy-face-to-style): Use it (Bug#6279).
6211 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6213         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
6214         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
6216 2010-05-26  Glenn Morris  <rgm@gnu.org>
6218         * emulation/edt.el (edt-load-keys): Use locate-library.
6220 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
6222         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
6223         (log-edit-changelog-entries): Doc fix.
6224         (log-edit-changelog-insert-entries): Args changed.
6225         Rename relative filenames in ChangeLog entries.  Delete tabs.
6226         (log-edit-insert-changelog-entries): Reorganize return value of
6227         `log-edit-changelog-entries' to pass filenames to
6228         log-edit-changelog-insert-entries.
6230 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6232         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
6233         `image-dired-dired-insert-marked-thumbs' to
6234         `image-dired-dired-toggle-marked-thumbs'.
6236         * image-dired.el: Require cl when compiling.
6237         (image-dired-dired-toggle-marked-thumbs): Rename from
6238         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
6239         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
6240         to 'no-dir.  Skip files whose names don't match
6241         `image-file-name-regexp'.  When file has a thumbnail overlay,
6242         delete it.  (Bug#5270)
6244 2010-05-25  Juri Linkov  <juri@jurta.org>
6246         * image-mode.el (image-mode): Add image-after-revert-hook to
6247         after-revert-hook.
6248         (image-after-revert-hook): New function.  (Bug#5669)
6250 2010-05-25  Juri Linkov  <juri@jurta.org>
6252         * image.el (image-animated-p): When delay between animated images
6253         is 0, set it to 10 (0.1 sec).  (Bug#6258)
6255 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
6257         * net/tramp.el (tramp-handle-insert-directory): Don't use
6258         `forward-word', its default syntax could be changed.
6260 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
6262         * net/tramp.el (tramp-progress-reporter-update): New defun.
6263         (with-progress-reporter): Use it.
6264         (tramp-process-actions):
6265         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
6266         current message, in order to let progress reporter continue
6267         afterwards.  (Bug#6257)
6269 2010-05-25  Glenn Morris  <rgm@gnu.org>
6271         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
6272         Add :version.
6274 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
6276         * net/rcirc.el (rcirc-default-user-name): Change to "user".
6277         (rcirc-default-full-name): Change to "unknown".
6278         (rcirc-user-name-history): Add variable.
6280 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
6281             Jonathan Rockway  <jon@jrock.us>
6283         * net/rcirc.el (rcirc-server-alist): Add :pass.
6284         (rcirc): When prompting for connection parameters, also prompt for
6285         username and password.
6286         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
6287         value to server when connecting.
6289 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6291         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
6292         (smie-merge-prec2s): Pass the tables as separate args.
6293         (smie-bnf-precedence-table): Adjust call accordingly.
6294         (smie-prec2-levels): Set levels at the end.
6296         Replace Lisp calls to delete-backward-char by delete-char.
6297         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
6298         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
6299         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
6300         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
6301         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
6302         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
6303         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
6304         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
6305         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
6306         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
6307         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
6308         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
6309         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
6310         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
6311         delete-backward-char by calls to delete-char.
6313 2010-05-25  Kenichi Handa  <handa@m17n.org>
6315         * language/hebrew.el (hebrew-shape-gstring): New function.
6316         Register it in composition-function-table for all Hebrew combining
6317         characters.
6319 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6321         * epa.el (epa--select-keys): Don't explicitly delete the window since
6322         that can fail (e.g. sole window in frame).  Use dedication instead.
6324 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
6326         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
6328 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
6330         * image.el (image-refresh): Define as an alias for image-flush.
6332         * image-mode.el (image-toggle-display-image): Caller changed.
6334 2010-05-21  Juri Linkov  <juri@jurta.org>
6336         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
6337         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
6338         whitespace, call wildcard-to-regexp on substrings and concat them
6339         with "\\|".  (Bug#6114)
6341 2010-05-21  Alan Mackenzie  <acm@muc.de>
6343         * progmodes/cc-engine.el (c-parse-state-get-strategy):
6344         Replace parameter `here' with `here-' and `here-plus', which sandwich
6345         any pertinent CPP construct.
6346         (c-remove-stale-state-cache-backwards): Fix a bug which happens
6347         when doing (c-parse-state) in a CPP construct: Exclude any "new"
6348         CPP construct from taking part in the scanning.
6350 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
6352         * net/tramp.el (tramp-do-copy-or-rename-file)
6353         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
6354         Tune `with-progress-reporter' messages.
6355         (tramp-handle-vc-registered):
6356         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
6357         (tramp-fish-handle-insert-file-contents)
6358         (tramp-fish-maybe-open-connection):
6359         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6360         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
6361         (tramp-imap-handle-insert-file-contents)
6362         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6364 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
6366         * add-log.el (change-log-font-lock-keywords):
6367         Highlight all authors in multi-author entries.
6369         * smerge-mode.el (smerge-refine-ignore-whitespace)
6370         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
6371         Fix typos in docstrings.
6372         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
6374 2010-05-21  Glenn Morris  <rgm@gnu.org>
6376         * progmodes/fortran.el (fortran-mode):
6377         * progmodes/f90.el (f90-mode): Derive from prog-mode.
6379         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
6380         having a relative path in src/Makefile.in.
6382 2010-05-20  Kevin Ryde  <user42@zip.com.au>
6384         * help-mode.el (help-make-xrefs): For Info node links turn
6385         newlines into spaces.  Link node names with newlines are matched
6386         by help-xref-info-regexp and buttonized, this change ensures they
6387         can be followed successfully with RET.  (Bug#6206)
6389 2010-05-20  Juri Linkov  <juri@jurta.org>
6391         * locate.el (locate): Use pop-to-buffer instead of
6392         switch-to-buffer-other-window.  (Bug#6204)
6394 2010-05-20  Juri Linkov  <juri@jurta.org>
6396         * replace.el (replace-highlight): Fix lazy-highlighting
6397         for `M-s w str M-% str RET'.
6399 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
6401         * isearch.el (isearch-yank-word-or-char): Pull next subword
6402         when `subword-mode' is activated.  (Bug#6220)
6404 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
6406         * isearch.el (isearch-update-post-hook): New hook.
6407         (isearch-update): Use the new hook.  (Bug#6225)
6409 2010-05-20  Juri Linkov  <juri@jurta.org>
6411         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
6412         [f1], [help], and (char-to-string help-char) instead of "\C-h".
6413         (Bug#6222)
6415 2010-05-20  Juri Linkov  <juri@jurta.org>
6417         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
6418         (Bug#6223)
6420 2010-05-20  Juri Linkov  <juri@jurta.org>
6422         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
6423         FILE-NAME to read from the minibuffer when called interactively
6424         with prefix argument instead of using buffer-file-name.
6425         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
6427         * dired.el: Update autoloads.
6429 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
6431         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
6432         nxml-finish-element, for consistency with SGML mode.
6434         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
6435         octave-close-block.
6437 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
6439         * composite.el: Require cl when compiling.
6440         (reference-point-alist, compose-gstring-for-graphic)
6441         (compose-gstring-for-terminal): Fix typos in docstrings.
6443 2010-05-19  Juri Linkov  <juri@jurta.org>
6445         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
6446         set-window-parameter.
6448 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
6450         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
6451         where appropriate.
6452         (tramp-maybe-open-connection): Use it.
6454 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
6456         * simple.el (move-end-of-line): Make sure we are at line beginning
6457         before backing up to end of previous line.
6459 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
6461         * password-cache.el (password-cache-remove): Fix docstring.
6463         * net/secrets.el: Autoload the widget functions.
6464         (secrets-search-items, secrets-create-item)
6465         (secrets-get-attributes, secrets-expand-item): Attributes will be
6466         stored on the password database without leading ":", as all other
6467         clients do as well.
6468         (secrets-mode): Fix docstring.
6469         (secrets-show-secrets): Provide it as autoloaded command only when
6470         D-Bus support is available.  Check existence of Secret Service API.
6472 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6474         * indent.el (indent-region): Deactivate region (bug#6200).
6476 2010-05-19  Glenn Morris  <rgm@gnu.org>
6478         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
6480 2010-05-19  Kenichi Handa  <handa@m17n.org>
6482         * composite.el: Register compose-gstring-for-graphic in
6483         composition-function-table only for combining characters (Mn, Mc, Me).
6485 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
6487         * calc/calc-trail.el (calc-trail-isearch-forward)
6488         (calc-trail-isearch-backward): Ensure that the new window
6489         point is set correctly.
6491 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6493         * subr.el (read-quoted-char): Resolve modifiers after key
6494         remapping (bug#6212).
6496 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
6498         Add visualization code for secrets.
6499         * net/secrets.el (secrets-mode): New major mode.
6500         (secrets-show-secrets, secrets-show-collections)
6501         (secrets-expand-collection, secrets-expand-item)
6502         (secrets-tree-widget-after-toggle-function)
6503         (secrets-tree-widget-show-password): New defuns.
6505 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6507         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
6508         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
6509         handled in smie-next-sexp.
6510         (smie-indent-calculate): Provide a starting indentation (so the
6511         recursion is well-founded ;-).
6513         Fix handling of non-associative equal levels.
6514         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
6515         when it's not needed.
6516         (smie-op-left, smie-op-right): New functions.
6517         (smie-next-sexp): New function, extracted from smie-backward-sexp.
6518         Better handle equal levels to distinguish the associative case from
6519         the "multi-keyword construct" case.
6520         (smie-backward-sexp, smie-forward-sexp): Use it.
6522 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
6524         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
6526         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
6527         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
6529 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6531         Provide a simple generic indentation engine and use it for Prolog.
6532         * emacs-lisp/smie.el: New file.
6533         * progmodes/prolog.el (prolog-smie-op-levels)
6534         (prolog-smie-indent-rules): New var.
6535         (prolog-mode-variables): Use them to configure SMIE.
6536         (prolog-indent-line, prolog-indent-level): Remove.
6538 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
6540         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
6541         order before computing the averages.
6543 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
6545         * calc/calc-vec.el (calc-histogram):
6546         (calcFunc-histogram): Allow vectors as inputs.
6547         (math-vector-avg): New function.
6549         * calc/calc-ext.el (math-group-float): Have the number of digits
6550         being grouped depend on the radix (Bug#6189).
6552 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
6554         * version.el (emacs-copyright, emacs-version): Don't define here,
6555         now that emacs.c defines it.
6557 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
6559         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
6560         "Describe Language Environment" menu item.
6562         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
6564         Bidi-sensitive movement with arrow keys.
6565         * subr.el (right-arrow-command, left-arrow-command): New functions.
6567         * bindings.el (global-map): Bind them to right and left arrow keys.
6569         Don't override standard definition of convert-standard-filename.
6570         * files.el (convert-standard-filename): Call
6571         w32-convert-standard-filename and dos-convert-standard-filename on
6572         the corresponding systems.
6574         * w32-fns.el (w32-convert-standard-filename): Rename from
6575         convert-standard-filename.  Doc fix.
6577         * dos-fns.el (dos-convert-standard-filename): Doc fix.
6578         (convert-standard-filename): Don't defalias.
6579         (register-name-alist, make-register, register-value)
6580         (set-register-value, intdos): Obsolete aliases for the
6581         corresponding dos-* functions and variables.
6582         (dos-intdos): Add a doc string.
6584 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
6586         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
6587         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
6588         (math-compose-tex-func):
6589         * calc/calccomp.el (math-compose-expr):
6590         * calc/calc-ext.el (math-format-flat-expr-fancy):
6591         * calc/calc-store.el (calc-read-var-name):
6592         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
6594         * calc/calc.el (var-π, var-φ, var-γ): New variables.
6595         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
6596         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
6597         (math-standard-units): Add units.
6599 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6601         * progmodes/asm-mode.el (asm-mode):
6602         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
6604         * pcomplete.el (pcomplete-completions-at-point): New function,
6605         extracted from pcomplete-std-complete.
6606         (pcomplete-std-complete): Use it.
6608 2010-05-15  Glenn Morris  <rgm@gnu.org>
6610         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6611         Remove references to CVS, RCS and Old directories.
6613 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
6615         * calc/calc-bin.el (math-format-twos-complement): Group digits when
6616         appropriate.
6618 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6620         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
6621         (sh-mode-syntax-table): Give it a default value instead.
6622         (sh-header-marker): Make buffer-local.
6623         (sh-mode): Move make-local-variable to the corresponding setq.
6624         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
6625         Use complete-with-action.
6627         * simple.el (prog-mode): New (abstract) major mode.
6628         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
6629         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
6631 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
6633         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
6634         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
6635         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
6636         (sql-make-alternate-buffer-name, sql-placeholders-filter)
6637         (sql-escape-newlines-filter, sql-input-sender)
6638         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
6640 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
6642         Add TeX open-block and close-block keybindings to SGML, and vice versa.
6644         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
6645         latex-open-block and C-c / to latex-close-block.
6647         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
6648         and C-c C-e to sgml-close-tag.
6650 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
6652         * net/tramp.el (with-progress-reporter): Create reporter object
6653         only when the message would be displayed.  Handle nested calls.
6654         (tramp-handle-load, tramp-handle-file-local-copy)
6655         (tramp-handle-insert-file-contents, tramp-handle-write-region)
6656         (tramp-maybe-send-script, tramp-find-shell):
6657         Use `with-progress-reporter'.
6658         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
6659         Fix message text.
6661         * net/tramp-smb.el (tramp-smb-handle-copy-file)
6662         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6663         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6664         Use `with-progress-reporter'.
6666 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
6668         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
6669         process everytime when spellchecking from the minibuffer (bug#6143).
6671 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6673         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
6675         * dos-fns.el: Add "dos-" prefix for namespace control.
6676         (convert-standard-filename): Define as alias for
6677         dos-convert-standard-filename but only if applicable.
6679 2010-05-12  Alan Mackenzie  <acm@muc.de>
6681         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
6682         Push the mark at the start of these functions when appropriate.
6684 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6686         * minibuffer.el (completion-cycle-threshold): New custom var.
6687         (completion--do-completion): Use it.
6688         (minibuffer-complete): Use cycling if appropriate.
6690 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
6692         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
6693         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
6695 2010-05-11  Juri Linkov  <juri@jurta.org>
6697         * scroll-all.el (scroll-all-check-to-scroll):
6698         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
6700 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6702         * iimage.el (iimage-mode-map): Move initialization into declaration.
6703         (iimage-mode-buffer): Use with-silent-modifications.
6704         Simplify calling convention.  Adjust callers.
6705         (iimage-mode): Don't run hook redundantly.
6707         * minibuffer.el (completion-pcm--pattern->regex):
6708         Fix last change (bug#6160).
6710 2010-05-10  Juri Linkov  <juri@jurta.org>
6712         Remove nodes visited during Isearch from the Info history.
6713         * info.el (Info-isearch-initial-history)
6714         (Info-isearch-initial-history-list): New variables.
6715         (Info-isearch-start): Record initial values of
6716         Info-isearch-initial-history and Info-isearch-initial-history-list.
6717         Add Info-isearch-end to isearch-mode-end-hook.
6718         (Info-isearch-end): New function.
6720 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
6722         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
6723         format string, in order to work around a bug in pdksh.
6724         Reported by Gilles Pion <gpion@lfdj.com>.
6725         (tramp-handle-verify-visited-file-modtime): Do not send a command
6726         when the connection is not established.
6727         (tramp-handle-set-file-times): Simplify the check for utc.
6729 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
6731         Fix use of `filter-buffer-substring' (rework previous change).
6732         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
6733         (cua-repeat-replace-region):
6734         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
6735         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
6736         (cua-cut-region-to-global-mark): Use it.
6738 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
6740         * progmodes/sql.el: Version 2.1.
6741         (sql-product-alist): Redesign structure of product info.
6742         (sql-product, sql-user, sql-server, sql-database): Safe variables.
6743         (sql-port, sql-port-history): New variables.
6744         (sql-interactive-product): New variable.
6745         (sql-send-terminator): New variable.
6746         (sql-imenu-generic-expression): Add "Types" imenu entry.
6747         (sql-oracle-login-params, sql-sqlite-login-params)
6748         (sql-mysql-login-params, sql-solid-login-params)
6749         (sql-sybase-login-params, sql-informix-login-params)
6750         (sql-ingres-login-params, sql-ms-login-params)
6751         (sql-postgres-login-params, sql-interbase-login-params)
6752         (sql-db2-login-params, sql-linter-login-params)
6753         (sql-oracle-scan-on): New variables.
6754         (sql-mode-map): Add C-c C-i to start interactive mode.
6755         (sql-mode-menu): Update existing menu entries.
6756         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
6757         (sql-mode-oracle-font-lock-keywords)
6758         (sql-mode-postgres-font-lock-keywords)
6759         (sql-mode-ms-font-lock-keywords)
6760         (sql-mode-sybase-font-lock-keywords)
6761         (sql-mode-informix-font-lock-keywords)
6762         (sql-mode-interbase-font-lock-keywords)
6763         (sql-mode-ingres-font-lock-keywords)
6764         (sql-mode-solid-font-lock-keywords)
6765         (sql-mode-mysql-font-lock-keywords)
6766         (sql-mode-sqlite-font-lock-keywords)
6767         (sql-mode-db2-font-lock-keywords)
6768         (sql-mode-linter-font-lock-keywords): Update initialization to
6769         reduce run-time complexity.
6770         (sql-add-product, sql-del-product): New functions.
6771         (sql-set-product-feature, sql-get-product-feature): New functions.
6772         (sql-product-font-lock): Update product API.
6773         (sql-add-product-keywords): New function.
6774         (sql-highlight-product): Update product API.
6775         (sql-help-list-products): New function.
6776         (sql-help): Dynamically lists free and non-free products.
6777         (sql-get-login): Correct bug in handling history and added
6778         prompt for port.
6779         (sql-copy-column): Copy without properties.
6780         (sqli-input-sender): Apply filters to SQLi input.
6781         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
6782         Implement as a filter.
6783         (sql-escape-newlines-filter): Implement as a filter.
6784         (sql-remove-tabs-filter): New function.
6785         (sql-send-magic-terminator): New function.
6786         (sql-send-string): Implement magic terminator.
6787         (sql-send-region): Use `sql-send-string'.
6788         (sql-interactive-mode): Use product API.
6789         (sql-product-interactive): Use product API.
6790         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6791         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6792         (sql-db2, sql-linter): Use `sql-product-interactive'.
6793         (sql-connect): New function.
6794         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
6795         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
6796         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
6797         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
6798         Use `sql-connect'.
6800 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6802         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
6803         New custom variable.
6804         (completion-pcm--string->pattern): Use it.
6805         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
6806         Make it handle any symbol as `any'.
6807         (completion-pcm--merge-completions): Extract common suffix for the new
6808         `prefix' symbol as well.
6809         (completion-substring--all-completions): Use the new `prefix' symbol.
6811 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
6813         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
6814         not bound.
6815         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6816         (tramp-compat-funcall): New defmacro.
6817         (tramp-compat-line-beginning-position)
6818         (tramp-compat-line-end-position)
6819         (tramp-compat-temporary-file-directory)
6820         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6821         (tramp-compat-copy-file, tramp-compat-copy-directory)
6822         (tramp-compat-delete-file, tramp-compat-delete-directory)
6823         (tramp-compat-number-sequence, tramp-compat-process-running-p)
6824         * net/tramp.el (top, with-progress-reporter)
6825         (tramp-rfn-eshadow-setup-minibuffer)
6826         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6827         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6828         (tramp-completion-mode-p, tramp-check-for-regexp)
6829         (tramp-open-connection-setup-interactive-shell)
6830         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6831         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6832         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
6833         * net/tramp-cmds.el (tramp-cleanup-all-connections)
6834         (tramp-reporter-dump-variable, tramp-load-report-modules)
6835         (tramp-append-tramp-buffers)
6836         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
6838         * net/tramp-imap.el (top): Autoload `epg-make-context'.
6840 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6842         * progmodes/compile.el (compilation-buffer-modtime): Rename from
6843         buffer-modtime.  Adjust users.
6845 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
6847         * international/mule.el (auto-coding-alist): Only purecopy
6848         car of each item, not the whole list (Bug#6083).
6850 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
6852         * progmodes/js.el (js-mode): Make paragraph variables local before
6853         calling c-setup-paragraph-variables (Bug#6071).
6855 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
6857         * composite.el (compose-region, reference-point-alist): Fix typos
6858         in the doc strings.
6860 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
6862         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
6863         gnuplot's "set" command.
6865 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
6867         * abbrev.el (last-abbrev-text): Doc fix.
6868         (abbrev-prefix-mark): Don't escape parenthesis.
6870 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
6872         * composite.el (find-composition): Doc fix.
6874 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
6876         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
6877         (sql-oracle-program, sql-sqlite-options)
6878         (sql-query-placeholders-and-send): Doc fixes.
6879         (sql-set-product, sql-interactive-mode): Reflow docstrings.
6880         (sql-imenu-generic-expression, sql-buffer)
6881         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
6882         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
6883         (sql-mode-sybase-font-lock-keywords)
6884         (sql-mode-informix-font-lock-keywords)
6885         (sql-mode-interbase-font-lock-keywords)
6886         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
6887         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
6888         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
6889         (sql-product-feature, sql-highlight-product)
6890         (comint-line-beginning-position, sql-rename-buffer)
6891         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
6892         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
6893         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
6894         Fix typos in docstrings.
6896 2010-05-08  Juri Linkov  <juri@jurta.org>
6898         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
6899         property instead of `invisible' and `after-string' (bug#5998).
6901 2010-05-08  Juri Linkov  <juri@jurta.org>
6903         * image-mode.el (image-mode-as-text): Fix typo in docstring.
6905 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
6907         * filecache.el (file-cache-add-directory-list)
6908         (file-cache-add-directory-recursively): Fix typos in docstrings.
6910 2010-05-08  Kenichi Handa  <handa@m17n.org>
6912         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
6913         (gujarati-composable-pattern): Fix typo.
6915 2010-05-08  Kenichi Handa  <handa@m17n.org>
6917         * language/indian.el (oriya-composable-pattern)
6918         (tamil-composable-pattern, malayalam-composable-pattern):
6919         Add two-part vowels to "v" (vowel sign).
6921 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
6923         * files.el (copy-directory): Handle symlinks (Bug#5982).
6925 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
6927         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
6928         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
6929         (Bug#5846).
6931 2010-05-08  Glenn Morris  <rgm@gnu.org>
6933         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
6935         * minibuffer.el (completion-at-point): Doc fix.
6937 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6939         * electric.el (Electric-command-loop): Minor tweak.
6941         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
6942         better with dedicated windows.
6944 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
6946         * Version 23.2 released.
6948 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
6949             Stefan Monnier  <monnier@iro.umontreal.ca>
6951         Highlight vendor specific properties.
6952         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
6953         (css-proprietary-property): New face.
6954         (css-font-lock-keywords): Use them.
6956 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
6958         * cus-start.el (all): Add native condition for tool-bar-* symbols.
6960 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6962         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
6963         * files.el (auto-mode-alist): Remove redundant entries.
6965         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
6966         * simple.el (auto-save-mode): Move from files.el.
6967         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
6969 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
6971         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
6973 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
6975         * mail/binhex.el (binhex-decode-region-internal)
6976         * mail/uudecode.el (uudecode-decode-region-internal)
6977         * net/dns.el (dns-read-string-name, dns-write, dns-read)
6978         (dns-read-type, dns-query)
6979         * pgg-parse.el (pgg-parse-armor)
6980         * pgg.el (pgg-verify-region)
6981         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
6982         XEmacs.
6984         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
6986 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
6988         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
6990         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
6991         * emulation/cua-base.el (cua-repeat-replace-region):
6992         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
6993         (cua-cut-region-to-global-mark):
6994         Remove text properties with `set-text-properties'.
6996 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
6998         * net/tramp.el (top, with-progress-reporter):
6999         Use `symbol-function' inside `funcall'.
7001         * net/tramp-compat.el (tramp-compat-file-attributes)
7002         (tramp-compat-delete-file, tramp-compat-delete-directory):
7003         Handle only `wrong-number-of-arguments' error.
7005         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
7006         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
7007         inside `funcall'.
7009 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7011         * minibuffer.el (completion--sreverse, completion--common-suffix):
7012         New functions.
7013         (completion-pcm--merge-completions): Extract common suffix when safe.
7015         * emacs-lisp/easy-mmode.el (define-minor-mode):
7016         Make :variable more flexible.
7017         * files.el (auto-save-mode): Use it to define using define-minor-mode.
7019 2010-05-05  Juri Linkov  <juri@jurta.org>
7021         Add `slow' and `history' tags to the desktop data.
7023         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
7024         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
7025         (Info-finder-find-node): Require `finder.el' to be able
7026         to restore node from the desktop.
7027         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
7028         data `Info-history' and `slow' tag in the assoc list.
7029         (Info-restore-desktop-buffer): Don't restore nodes with the
7030         `slow' tag.  Restore `Info-history'.
7032 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
7034         Add FORCE argument to `delete-file'.
7036         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
7037         forcing to delete the temporary file.
7038         (ange-ftp-delete-file): Add FORCE arg.
7039         (ange-ftp-rename-remote-to-remote)
7040         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
7041         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
7042         Force file deletion.
7044         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
7046         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
7047         (tramp-handle-make-symbolic-link, tramp-handle-load)
7048         (tramp-do-copy-or-rename-file-via-buffer)
7049         (tramp-do-copy-or-rename-file-directly)
7050         (tramp-do-copy-or-rename-file-out-of-band)
7051         (tramp-handle-process-file, tramp-handle-call-process-region)
7052         (tramp-handle-shell-command, tramp-handle-file-local-copy)
7053         (tramp-handle-insert-file-contents, tramp-handle-write-region)
7054         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
7056         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
7057         (tramp-fish-handle-make-symbolic-link)
7058         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
7060         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7061         Use `tramp-compat-delete-file'.
7063         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
7064         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
7066         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
7067         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
7069         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
7070         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
7071         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
7072         `tramp-compat-delete-file'.
7074 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7076         Minor cleanups.
7077         * subr.el (add-minor-mode): Use push.
7078         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
7079         * emulation/edt.el (edt-select-mode): Simplify.
7081         Use define-minor-mode in more cases.
7082         * term/tvi970.el (tvi970-set-keypad-mode):
7083         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7084         (normal-erase-is-backspace-mode):
7085         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
7086         (set-scroll-bar-mode-1): (Re)move to its sole caller.
7087         (get-scroll-bar-mode): New function.
7088         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
7090         Use define-minor-mode for less obvious cases.
7091         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
7092         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
7093         * international/iso-ascii.el (iso-ascii-mode):
7094         * frame.el (auto-raise-mode, auto-lower-mode):
7095         * composite.el (global-auto-composition-mode): Use define-minor-mode.
7097 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
7099         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
7100         in order to see error messages for failed logins.
7102 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
7104         * diff.el (diff-sentinel):
7106         * epg.el (epg--make-temp-file, epg-decrypt-string)
7107         (epg-verify-string, epg-sign-string, epg-encrypt-string):
7109         * jka-compr.el (jka-compr-partial-uncompress)
7110         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
7112         * server.el (server-sentinel): Use delete-file's new FORCE arg
7113         (Bug#6070).
7115 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7117         Use define-minor-mode where applicable.
7118         * view.el (view-mode):
7119         * type-break.el (type-break-query-mode)
7120         (type-break-mode-line-message-mode):
7121         * textmodes/reftex.el (reftex-mode):
7122         * term/vt100.el (vt100-wide-mode):
7123         * tar-mode.el (tar-subfile-mode):
7124         * savehist.el (savehist-mode):
7125         * ibuf-ext.el (ibuffer-auto-mode):
7126         * composite.el (auto-composition-mode):
7127         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7128         Use define-minor-mode.
7129         (vhdl-mode): Use static mode-line format.
7130         (vhdl-mode-line-update): Delete.
7131         (vhdl-create-mode-menu, vhdl-activate-customizations)
7132         (vhdl-hs-minor-mode): Don't bother calling it.
7134 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7136         * simple.el (with-wrapper-hook): Move.
7137         (buffer-substring-filters): Mark obsolete.
7138         (filter-buffer-substring-functions): New variable.
7139         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
7141 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
7142             Michael Albinus  <michael.albinus@gmx.de>
7144         Implement compression for inline methods.
7146         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
7147         (tramp-copy-size-limit): Allow also nil.
7148         (tramp-inline-compress-commands): New defconst.
7149         (tramp-find-inline-compress, tramp-get-inline-compress)
7150         (tramp-get-inline-coding): New defuns.
7151         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
7152         replaced by `tramp-get-inline-coding'.
7153         (tramp-handle-file-local-copy, tramp-handle-write-region)
7154         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
7156 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7158         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
7159         Remove unused functions.
7161         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
7162         Set find-tag-default-function as a variable rather than a property.
7164         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
7165         * progmodes/etags.el (tags-completion-at-point-function):
7166         Remove left over interactive spec.  Add autoloading stub.
7167         (complete-tag): Use tags-completion-at-point-function.
7169 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
7171         * minibuffer.el (tags-completion-at-point-function): Fix return value.
7173 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
7175         * ido.el (ido-init-completion-maps): Remove C-v binding.
7176         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
7178 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
7180         * minibuffer.el (tags-completion-at-point-function): New function.
7181         (completion-at-point-functions): Use it.
7183         * progmodes/etags.el (complete-tag): Revert last change.
7185 2010-04-29  Alan Mackenzie  <acm@muc.de>
7187         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
7188         off-by-one error (in end of macro position).
7190 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7192         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
7193         firefox is absent.  Don't autoload.
7194         (browse-url-galeon-program): Don't autoload.
7196 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
7198         * bindings.el (complete-symbol): Move into minibuffer.el.
7200         * minibuffer.el (complete-tag): Move from etags.el.  If tags
7201         completion cannot be performed, return nil instead of signalling
7202         an error.
7203         (completion-at-point): Make it an alias for complete-symbol.
7204         (complete-symbol): Move from bindings.el, and replace with the
7205         body of completion-at-point.
7207         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
7209 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
7211         * net/tramp.el (tramp-remote-selinux-p): New defun.
7212         (tramp-handle-file-selinux-context)
7213         (tramp-handle-set-file-selinux-context): Use it.
7215 2010-04-28  Sam Steingold  <sds@gnu.org>
7217         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
7218         `safe-local-variable' if the value is a string or a symbol with
7219         the property `bug-reference-url-format'.
7221 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
7223         * progmodes/bug-reference.el (bug-reference-url-format):
7224         Revert 2010-04-27 change due to security risk.
7226 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7228         Make it possible to locally disable a globally enabled mode.
7229         * simple.el (fundamental-mode): Run fundamental-mode-hook.
7230         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
7231         rather than kill-all-local-variables so it runs fundamental-mode-hook.
7232         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7233         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
7234         that subsequent hooks get a chance to disable it.
7236 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7238         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7239         Avoid re-enabling a minor mode after the user turned the minor mode
7240         off if MODE-enable-in-buffers is run twice (typically once from
7241         fundamental-mode's after-change-major-mode-hook and a second time from
7242         run-mode-hook's own after-change-major-mode-hook).
7244         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
7246 2010-04-27  Sam Steingold  <sds@gnu.org>
7248         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
7249         `safe-local-variable' if the value is a string or a function, as
7250         documented and implemented on 2010-04-02.
7252 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
7254         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
7255         when method is 'kill.
7257 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
7259         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
7260         condition in default directory check.
7261         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
7262         Kill ispell process when killing its associated buffer.
7264 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
7266         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
7267         but we aren't using it.
7269 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
7271         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
7272         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
7274 2010-04-24  Glenn Morris  <rgm@gnu.org>
7276         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
7277         Ignore VCS-ignore files, and deleted nextstep preferences files.
7278         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
7279         (authors-ambiguous-files): New list.
7280         (authors-valid-file-names): Add some deleted files.
7281         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
7282         (authors-disambiguate-file-name): New function.  (Bug#5501)
7283         (authors-canonical-file-name): Doc fix.
7284         Don't warn about obsolete files.
7285         (authors-canonical-file-name, authors-scan-el):
7286         Use authors-disambiguate-file-name.
7288         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
7289         Add autoload cookies.
7290         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
7291         (generated-autoload-file): Set file-local value to "htmlfontify.el".
7292         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
7293         They have definitions / compiler macros in cl.el.
7294         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
7295         Replace manual autoloads with generated ones.
7296         (htmlfontify-unload-rgb-file): Remove autoload.
7297         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
7299 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7301         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
7302         (byte-compile-setq-default): Optimize for the
7303         single-var case and don't call byte-compile-form in this case to avoid
7304         inf-loop with byte-compile-set-default.
7306         * progmodes/compile.el (compilation-start): Abbreviate default directory.
7308 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
7310         Implement SELINUX backends.
7312         * net/tramp.el (tramp-file-name-handler-alist):
7313         Add `file-selinux-context' and `set-file-selinux-context'.
7314         (tramp-handle-file-selinux-context)
7315         (tramp-handle-set-file-selinux-context): New defuns.
7316         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
7317         Handle PRESERVE-SELINUX-CONTEXT.
7319         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7320         Add `file-selinux-context' and `set-file-selinux-context'.
7321         (tramp-gvfs-handle-file-selinux-context)
7322         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
7323         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
7325         * net/ange-ftp.el (ange-ftp-copy-file):
7326         * net/tramp-fish.el (tramp-fish-handle-copy-file):
7327         * net/tramp-imap.el (tramp-imap-handle-copy-file):
7328         * net/tramp-smb.el (tramp-smb-handle-copy-file):
7329         Add PRESERVE-SELINUX-CONTEXT.
7331 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
7333         Synchronize with Tramp repository.
7335         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
7336         (tramp-action-process-alive, tramp-action-out-of-band)
7337         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
7338         (tramp-exists-file-name-handler): Fix docstring.
7339         (with-progress-reporter): New defmacro.
7340         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
7341         (tramp-maybe-open-connection): Use it.
7343 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
7345         Detect ssh 'ControlMaster' argument automatically in some cases.
7347         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
7348         (tramp-default-method): Use it.
7350 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
7352         * net/tramp.el (tramp-handle-copy-file): Add new optional
7353         parameter `preserve-selinux-context'.
7354         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
7356 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
7358         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
7359         Ensure, that non remote files are still checked.  Oops.
7361 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
7363         Fix Bug#5840.
7365         * icomplete.el (icomplete-completions): Use `non-essential'.
7367         * net/tramp.el (tramp-connectable-p): New defun.
7368         (tramp-handle-expand-file-name)
7369         (tramp-completion-handle-file-name-all-completions)
7370         (tramp-completion-handle-file-name-completion): Use it.
7372 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7374         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
7376 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
7378         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
7380         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
7382         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
7383         is present.
7385         * info.el (info-tool-bar-map): Add labels.
7387         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
7389         * cus-edit.el (custom-commands): Add labels for tool bar.
7390         (custom-buffer-create-internal, Custom-mode): Adjust for
7391         labels in custom-commands.
7393         * dynamic-setting.el: Renamed from font-setting.el.
7395 2010-04-21  John Wiegley  <jwiegley@gmail.com>
7397         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
7398         toggles the use of virtual buffers.
7399         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
7400         (ido-toggle-virtual-buffers): New function.
7402 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
7404         Use `define-derived-mode'; fix window selection; doc fixes.
7405         * play/tetris.el (tetris, tetris-update-speed-function)
7406         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
7407         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
7408         (tetris-rotate-next, tetris-end-game, tetris-start-game)
7409         (tetris-pause-game): Fix typos in docstrings.
7410         (tetris-mode-map, tetris-null-map):
7411         Move initialization into declaration.
7412         (tetris-mode): Define with `define-derived-mode';
7413         set show-trailing-whitespace to nil.
7414         (tetris): Prefer window already displaying the "*Tetris*" buffer.
7416 2010-04-21  Karel Klíč  <kklic@redhat.com>
7418         * files.el (backup-buffer): Handle SELinux context, and return it
7419         if a backup was made by renaming.
7420         (backup-buffer-copy): Set SELinux context to the target file.
7421         (basic-save-buffer): Set SELinux context of the newly written file.
7422         (basic-save-buffer-1): Now it also returns any SELinux context.
7423         (basic-save-buffer-2): Set SELinux context of the newly created file,
7424         and return it.
7425         * net/tramp.el (tramp-file-name-for-operation):
7426         Add file-selinux-context.
7428 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7430         Make the log-edit comments use RFC822 format throughout.
7432         * vc.el (vc-checkin, vc-modify-change-comment):
7433         Adjust to new vc-start/finish-logentry.
7434         (vc-find-conflicted-file): New command.
7435         (vc-transfer-file): Adjust to new vc-checkin.
7436         (vc-next-action): Improve scoping.
7438         * vc-hg.el (vc-hg-log-edit-mode): Remove.
7439         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
7441         * vc-git.el (vc-git-log-edit-mode): Remove.
7442         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
7443         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
7445         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
7446         (vc-start-logentry): Remove argument `extra'.
7447         (vc-finish-logentry): Remove extra args.
7449         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
7450         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
7451         (vc-bzr-conflicted-files): New function.
7453         * log-edit.el (log-edit-extra-flags)
7454         (log-edit-before-checkin-process): Remove.
7455         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
7456         (log-edit-headers-alist): New var.
7457         (log-edit-header-contents-regexp): New const.
7458         (log-edit-match-to-eoh): New function.
7459         (log-edit-font-lock-keywords): Use them.
7460         (log-edit): Insert a "Summary:" header as default.
7461         (log-edit-mode): Mark font-lock rules as case-insensitive.
7462         (log-edit-done): Cleanup headers.
7463         (log-view-process-buffer): Remove.
7464         (log-edit-extract-headers): New function to replace it.
7466 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
7468         * subr.el (default-direction-reversed): Remove obsolescence info.
7470 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7472         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
7473         windows/frames.
7475         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
7476         I.e. include text after point in the completion region.
7477         Also, return nil when we're not after/in a symbol.
7479         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
7480         default enable-multibyte-characters.
7482 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7484         * international/mule.el: Help the user choose a valid coding-system.
7485         (read-buffer-file-coding-system): New function.
7486         (set-buffer-file-coding-system): Use it.  Prompt the user if the
7487         coding-system cannot encode all the chars.
7489         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
7490         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
7491         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
7492         Don't use *vc-bzr-shelve*.
7494 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
7496         Fix the version number for added files.
7497         * vc-hg.el (vc-hg-working-revision): Check if the file is
7498         registered after hg parent fails (Bug#5961).
7500 2010-04-19  Glenn Morris  <rgm@gnu.org>
7502         * htmlfontify.el (htmlfontify-buffer)
7503         (htmlfontify-copy-and-link-dir): Autoload entry points.
7505 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
7507         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
7508         name relative to the project root (Bug#5960).
7510 2010-04-19  Glenn Morris  <rgm@gnu.org>
7512         * vc-git.el (vc-git-print-log): Doc fix.
7514 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
7516         * ido.el (ido-file-internal): Fix 2009-12-02 change.
7518 2010-04-19  Christoph  <cschol2112@googlemail.com>  (tiny change)
7520         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
7521         default settings (Bug#5928).
7523 2010-04-19  Glenn Morris  <rgm@gnu.org>
7525         * progmodes/fortran.el (fortran-match-and-skip-declaration):
7526         New function.
7527         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
7529 2010-04-19  Kenichi Handa  <handa@m17n.org>
7531         * language/indian.el (malayalam-composable-pattern): Fix previous
7532         change (add U+0D4D "SIGN VIRAMA").
7533         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
7534         (tamil-composable-pattern): Fix typo in the regexp.
7535         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
7536         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
7537         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
7539 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
7541         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
7542         paragraph-separate (Bug#5821).
7544 2010-04-19  Juri Linkov  <juri@jurta.org>
7546         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
7548         * info.el (Info-find-node-2): Comment out code that skips
7549         breadcrumbs line.
7550         (Info-mouse-follow-link): New command.
7551         (Info-link-keymap): New keymap.
7552         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
7553         Return a string with links instead of inserting breadcrumbs
7554         to the Info buffer.
7555         (Info-fontify-node): Comment out code that inserts breadcrumbs.
7556         Instead of putting the `invisible' text property over the Info
7557         header, make an overlay over the Info header with the `invisible'
7558         property and `after-string' set to the string returned by
7559         `Info-breadcrumbs'.
7561 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
7563         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
7564         Reported by monkey@sandpframing.com.
7566 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7568         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
7569         (tmm-get-keymap): Add key-binding shortcuts now that they're not
7570         available in the "keyseq cache" any more.
7572         * custom.el (defcustom): Add edebug spec.
7574 2010-04-18  Juri Linkov  <juri@jurta.org>
7576         Test for special mode-class in view-buffer instead of view-file (bug#5513).
7578         * view.el (view-file, view-buffer): Move test for special mode-class
7579         from view-file to view-buffer.
7581         * tar-mode.el (tar-extract): Turn if's into one cond
7582         like in arc-mode.el.
7584 2010-04-18  Juri Linkov  <juri@jurta.org>
7586         Add 7z archive format support (bug#5475).
7588         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
7589         (archive-7z-extract): New defcustom.
7590         (archive-find-type): Add magic string for 7z.
7591         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
7592         If `stderr-file' is non-nil, use `(t stderr-file)' for the
7593         `buffer' arg of `call-process'.
7594         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
7595         call the function `archive-7z-extract' with the variable
7596         `archive-7z-extract' let-bound to `archive-zip-extract'.
7597         (archive-7z-summarize, archive-7z-extract): New functions.
7599         * international/mule.el (auto-coding-alist):
7600         * files.el (auto-mode-alist): Add 7z file extension.
7602 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7604         * loadup.el: Setup hash-cons for pure data.
7606         Fix duplicate entries in cedet's loaddefs.el files.
7607         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
7608         Should make most file-local generated-autoload-file unnecessary.
7609         (print-readably): Silence warnings.
7610         (autoload-find-destination): Take load-name as an arg to make sure
7611         it's the same as the one that will be in the file.
7612         (autoload-generate-file-autoloads): Adjust to above changes.
7613         Try to make the dataflow a bit simpler.
7615         * cvs-status.el (cvs-refontify): Remove unused.
7617 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
7619         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
7621         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
7622         twos-complement mode.
7624 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
7626         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
7627         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
7628         (calc-inverse): Add "Option" to message, as appropriate.
7629         (calc-hyperbolic): Add "Option" to message, as appropriate.
7630         (calc-option, calc-is-option): New functions.
7632         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
7633         (calc-option-prefix-help): New function.
7635         * calc/calc-misc.el (calc-help): Add "Option" entry.
7637         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
7638         (calc-option-flag): New variable.
7639         (calc-do): Set `calc-option-flag to nil.
7640         (calc-set-mode-line): Add "Opt " as appropriate.
7642 2010-04-16  Juri Linkov  <juri@jurta.org>
7644         Move scrolling commands from simple.el to window.el
7645         because their primitives are implemented in window.c.
7647         * simple.el (scroll-error-top-bottom)
7648         (scroll-up-command, scroll-down-command, scroll-up-line)
7649         (scroll-down-line, scroll-other-window-down)
7650         (beginning-of-buffer-other-window, end-of-buffer-other-window):
7651         * window.el (scroll-error-top-bottom)
7652         (scroll-up-command, scroll-down-command, scroll-up-line)
7653         (scroll-down-line, scroll-other-window-down)
7654         (beginning-of-buffer-other-window, end-of-buffer-other-window):
7655         Move from simple.el to window.el because their primitives are
7656         implemented in window.c.
7658 2010-04-16  Juri Linkov  <juri@jurta.org>
7660         * isearch.el (isearch-lookup-scroll-key): Check both
7661         `isearch-scroll' and `scroll-command' properties.
7662         (scroll-up, scroll-down): Remove `isearch-scroll' property.
7664         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
7666         * simple.el (scroll-up-command, scroll-down-command)
7667         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
7669 2010-04-15  Juri Linkov  <juri@jurta.org>
7671         * simple.el (scroll-up-command, scroll-down-command)
7672         (scroll-up-line, scroll-down-line): Put `scroll-command'
7673         property on the these symbols.  Remove them from
7674         `scroll-preserve-screen-position-commands'.
7676         * mwheel.el (mwheel-scroll): Put `scroll-command' and
7677         `isearch-scroll' properties on the `mwheel-scroll' symbol.
7678         Remove it from `scroll-preserve-screen-position-commands'.
7680         * isearch.el (isearch-allow-scroll): Doc fix.
7682 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
7684         * net/tramp.el (tramp-error-with-buffer): Don't show the
7685         connection buffer when we are in completion mode.
7686         (tramp-file-name-handler): Catch the error for some operations
7687         when we are in completion mode.  This gives the user the chance to
7688         correct the file name in the minibuffer.
7690 2010-04-15  Glenn Morris  <rgm@gnu.org>
7692         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
7694 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
7696         Simplify by using `define-derived-mode'.
7697         * info.el (Info-mode):
7698         * calendar/todo-mode.el (todo-mode):
7699         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
7700         (gomoku-mode-map): Move initialization into declaration.
7702 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
7704         Fix Bug#5840.
7705         * ido.el (ido-file-name-all-completions-1):
7706         * minibuffer.el (minibuffer-completion-help):
7707         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
7709 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7711         * simple.el (non-essential): New var.
7713         Add a new field `location' to bookmarks for non-file bookmarks.
7714         * bookmark.el (bookmark-location): Use the new field, if present.
7715         (bookmark-insert-location): Undo last change, not needed any more.
7716         * man.el (Man-bookmark-make-record):
7717         * woman.el (woman-bookmark-make-record): Add `location' field.
7719 2010-04-14  Juri Linkov  <juri@jurta.org>
7721         * simple.el (scroll-error-top-bottom): New defcustom.
7722         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
7724         * emulation/pc-select.el (pc-select-override-scroll-error):
7725         Obsolete in favor of `scroll-error-top-bottom'.
7727 2010-04-14  Juri Linkov  <juri@jurta.org>
7729         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
7730         `scroll-up-command' and `M-v' to `scroll-down-command'.
7732         * emulation/cua-rect.el (cua--init-rectangles):
7733         * forms.el (forms--change-commands):
7734         * image-mode.el (image-mode-map):
7735         Remap scroll-down-command and scroll-up-command
7736         in addition to scroll-down and scroll-up.
7738 2010-04-14  Juri Linkov  <juri@jurta.org>
7740         * mwheel.el (scroll-preserve-screen-position-commands):
7741         Add mwheel-scroll to this list of commands.
7743         * simple.el (scroll-preserve-screen-position-commands):
7744         Add scroll-up-command, scroll-down-command, scroll-up-line,
7745         scroll-down-line to this list of commands.
7747 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7749         * obsolete/complete.el: Move from lisp/complete.el.
7751         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
7753         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
7754         to the minor mode function now turns the mode ON unconditionally.
7756 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7758         * vc-dir.el (vc-dir-kill-line): New command.
7759         (vc-dir-mode-map): Bind it to C-k.
7761         * bookmark.el (bookmark-insert-location): Handle a nil filename.
7763         * woman.el: Add bookmark declarations to silence the compiler.
7764         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
7765         step to compatibility between man and woman bookmarks.
7766         Adjust for Man-default-bookmark-title renaming.
7767         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
7769         * man.el: Add bookmark declarations to silence the compiler.
7770         (Man-name-local-regexp): Make it match NAME as well.
7771         (Man-getpage-in-background): Return the buffer.
7772         (Man-notify-when-ready): Use `case'.
7773         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
7774         Don't hardcode "NAME".  Simplify.
7775         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
7776         Rename from Man-bookmark-make-record.
7777         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
7778         we have the actual man-args.  Use Man-getpage-in-background rather
7779         than `man' since the arg is already processed.  Let bookmark.el do the
7780         window handling.  Only wait for the relevant process.
7781         Don't forget to autoload.
7783         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
7785 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7787         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
7788         New functions.
7789         (woman-mode): Setup bookmark support.
7791         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
7792         (man-bookmark-jump): New functions.
7793         (Man-mode): Setup bookmark support.
7795 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
7797         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
7798         recognize ssh-keygen prompt (Bug#2817).
7800 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
7802         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
7804 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
7806         Synchronize with Tramp repository.
7808         * net/tramp.el (tramp-completion-function-alist)
7809         (tramp-file-name-regexp, tramp-chunksize)
7810         (tramp-local-coding-commands, tramp-remote-coding-commands):
7811         Fix docstring.
7812         (tramp-remote-process-environment): Use `format' instead of `concat'.
7813         (tramp-handle-directory-files-and-attributes)
7814         (tramp-get-remote-path): Use `copy-tree'.
7815         (tramp-handle-file-name-all-completions): Backward/ XEmacs
7816         compatibility: Use `completion-ignore-case' if
7817         `read-file-name-completion-ignore-case' does not exist.
7818         (tramp-do-copy-or-rename-file-directly): Do not use
7819         `tramp-handle-file-remote-p'.
7820         (tramp-do-copy-or-rename-file-out-of-band):
7821         Use `tramp-compat-delete-directory'.
7822         (tramp-do-copy-or-rename-file-out-of-band)
7823         (tramp-compute-multi-hops, tramp-maybe-open-connection):
7824         Use `format-spec-make'.
7825         (tramp-find-foreign-file-name-handler)
7826         (tramp-advice-make-auto-save-file-name)
7827         (tramp-set-auto-save-file-modes): Remove superfluous check for
7828         `stringp'.  This is done inside `tramp-tramp-file-p'.
7829         (tramp-debug-outline-regexp): New defconst.
7830         (tramp-get-debug-buffer): Use it.
7831         (tramp-check-for-regexp): Use (forward-line 1).
7832         (tramp-set-auto-save-file-modes): Adapt version check.
7834         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
7835         Wrap call of `featurep' for 2nd argument.
7836         (tramp-compat-make-temp-file): Simplify fallback implementation.
7837         (tramp-compat-copy-tree): Remove function.
7838         (tramp-compat-delete-directory): Provide implementation for older
7839         Emacsen.
7841         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
7842         Do not use `tramp-fish-handle-file-attributes.
7844         * net/trampver.el: Update release number.
7846 2010-04-10  Glenn Morris  <rgm@gnu.org>
7848         * progmodes/compile.el (compilation-save-buffers-predicate):
7849         Add missing :version tag.
7851 2010-04-09  Sam Steingold  <sds@gnu.org>
7853         * progmodes/compile.el (compilation-save-buffers-predicate):
7854         Remove the "autoload" cookie.
7856         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
7857         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
7858         and `bug-reference-prog-mode' can be used in hooks directly.
7860 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
7862         Add --author support to git commit.
7863         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
7864         (vc-git-log-edit-mode): New minor mode.
7865         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
7866         New declarations.
7868 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
7870         * vc-hooks.el, vc-git.el: Improve documentation comments.
7872 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7874         Fix some of the problems in defsubst* (bug#5728).
7875         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
7876         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
7878 2010-04-07  Sam Steingold  <sds@gnu.org>
7880         * progmodes/compile.el (compilation-save-buffers-predicate):
7881         New custom variable.
7882         (compile, recompile): Pass it to `save-some-buffers'.
7884 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
7886         * wid-edit.el (widget-choose): Move cursor to the second line of
7887         the buffer (Bug#5695).
7889 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
7891         Add new VC methods: vc-log-incoming and vc-log-outgoing.
7892         * vc.el (vc-print-log-setup-buttons): New function split out from
7893         vc-print-log-internal.
7894         (vc-log-internal-common): New function, a parametrized version of
7895         vc-print-log-internal.
7896         (vc-print-log-internal): Just call vc-log-internal-common with the
7897         right arguments.
7898         (vc-incoming-outgoing-internal):
7899         (vc-log-incoming, vc-log-outgoing): New functions.
7900         (vc-log-view-type): New permanent local variable.
7902         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
7904         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
7905         of the dynamic bound vc-short-log.
7906         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
7908         * vc-git.el (vc-git-log-outgoing): New function.
7909         (vc-git-log-view-mode): Use vc-log-view-type instead
7910         of the dynamic bound vc-short-log.
7912         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
7913         of the dynamic bound vc-short-log.  Highlight the tag.
7914         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
7915         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
7916         (vc-hg-incoming-mode): Remove.
7917         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
7919 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
7921         Fix default-directory for vc-root-diff.
7922         * vc.el (vc-root-diff): Bind default-directory to the root
7923         directory for the diff command.
7925 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
7927         * progmodes/verilog-mode.el (verilog-forward-sexp):
7928         (verilog-calc-1): Support "disable fork" and "fork wait" multi
7929         word keywords, suggested by Steve Pearlmutter.
7930         (verilog-pretty-declarations): Support lineup of declarations in
7931         port lists.
7932         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
7933         fix bug for /* / comments.
7934         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
7935         Speed up and simplfy as this is never called with a bound.
7936         (verilog-pretty-declarations): Enhance to line up declarations
7937         inside a parameter list, suggested by Alan Morgan.
7938         (verilog-pretty-expr): Tune assignment regular expression match
7939         string for corner cases; also use markers instead of character
7940         number as indent changes the later.
7942 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
7944         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
7945         as missing keyword.
7946         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
7947         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
7948         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
7949         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
7950         Tennant.
7951         (verilog-keywords):
7952         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
7953         1800-2009 keywords, including "global.".
7955 2010-04-06  John Wiegley  <jwiegley@gmail.com>
7957         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
7958         appearing in buffer list (if a live buffer name matched a recentf
7959         file basename).  Should use uniquify to offer a real solution.
7961 2010-04-06  John Wiegley  <jwiegley@gmail.com>
7963         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
7964         comment to code, and add a :version tag.
7965         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
7967 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
7969         Enable recentf-mode if using virtual buffers.
7970         * ido.el (recentf-list): Declare for byte-compiler.
7971         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
7972         (ido-make-buffer-list): Simplify.
7973         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
7975 2010-04-05  Juri Linkov  <juri@jurta.org>
7977         Scrolling commands which scroll a line instead of full screen.
7978         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
7980         * simple.el (scroll-up-line, scroll-down-line): New commands.
7981         Put property isearch-scroll=t on them.
7983         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
7984         Remove commands.
7986 2010-04-05  Juri Linkov  <juri@jurta.org>
7988         Scrolling commands which do not signal errors at top/bottom.
7989         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
7991         * simple.el (scroll-up-command, scroll-down-command): New commands.
7992         Put property isearch-scroll=t on them.
7994         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
7995         `scroll-down-command' and [next] from `scroll-up' to
7996         `scroll-up-command'.
7998         * emulation/cua-base.el: Put property CUA=move on
7999         `scroll-up-command' and `scroll-down-command'.
8000         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
8001         and `scroll-down-command' to `cua-scroll-down'.
8003 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
8005         * help.el (describe-mode): Return nil.
8007 2010-04-04  John Wiegley  <jwiegley@gmail.com>
8009         * ido.el (ido-use-virtual-buffers): New variable to indicate
8010         whether "virtual buffer" support is enabled for IDO.
8011         (ido-virtual): Face used to indicate virtual buffers in the list.
8012         (ido-buffer-internal): If a buffer is chosen, and no such buffer
8013         exists, but a virtual buffer of that name does (which would be why
8014         it was in the list), recreate the buffer by reopening the file.
8015         (ido-make-buffer-list): If virtual buffers are being used, call
8016         `ido-add-virtual-buffers-to-list' before the make list hook.
8017         (ido-virtual-buffers): New variable which contains a copy of the
8018         current contents of the `recentf-list', albeit pared down for the
8019         sake of speed, and with proper faces applied.
8020         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
8021         create a list of "virtual buffers" to present to the user in
8022         addition to the currently open set.  Note that this logic could
8023         get rather slow if that list is too large.  With the default
8024         `recentf-max-saved-items' of 200, there is little speed penalty.
8026 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8028         * font-lock.el: Require CL when compiling.
8029         (font-lock-turn-on-thing-lock): Use `case'.
8031 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
8033         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
8034         Zaretskii.
8036 2010-04-02  Juri Linkov  <juri@jurta.org>
8038         * ehelp.el (electric-help-orig-major-mode):
8039         New buffer-local variable.
8040         (electric-help-mode): Set it to original major-mode.  Doc fix.
8041         (with-electric-help): Use `electric-help-orig-major-mode' instead
8042         of (default-value 'major-mode).  Doc fix.
8043         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
8045 2010-04-02  Sam Steingold  <sds@gnu.org>
8047         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
8048         `vc-hg-command' with a list of flags.
8050         * progmodes/bug-reference.el (bug-reference-bug-regexp):
8051         Also accept "patch" and "RFE".
8052         (bug-reference-fontify): `bug-reference-url-format' can also be a
8053         function to be able to handle the bug kind.
8054         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
8056 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
8058         * tmm.el (tmm-get-keymap): Check with symbolp before passing
8059         value to fboundp, it may not be a symbol.
8061 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
8063         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
8065 2010-03-31  Juri Linkov  <juri@jurta.org>
8067         * simple.el (next-line, previous-line): Re-throw a signal
8068         with `signal' instead of using `ding'.
8069         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
8071 2010-03-31  Juri Linkov  <juri@jurta.org>
8073         * simple.el (keyboard-escape-quit): Raise deselecting the active
8074         region higher than exiting the minibuffer.
8075         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
8077 2010-03-31  Juri Linkov  <juri@jurta.org>
8079         * image.el (image-animated-p): Use `image-metadata' instead of
8080         `image-extension-data'.  Get GIF extenstion data from metadata
8081         property `extension-data'.
8083 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8085         * simple.el (append-to-buffer): Simplify.
8087 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
8089         * textmodes/artist.el (artist-mode): Fix typo in docstring.
8090         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
8092 2010-03-31  Kenichi Handa  <handa@m17n.org>
8094         * language/sinhala.el (composition-function-table): Fix regexp for
8095         the new Unicode specification.
8097         * language/indian.el (devanagari-composable-pattern)
8098         (tamil-composable-pattern, kannada-composable-pattern)
8099         (malayalam-composable-pattern): Adjust for the new Unicode
8100         specification.
8101         (bengali-composable-pattern, gurmukhi-composable-pattern)
8102         (gujarati-composable-pattern, oriya-composable-pattern)
8103         (telugu-composable-pattern): New variables to cope with the new
8104         Unicode specification.  Use them in composition-function-table.
8106 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8108         Make tmm-menubar work for the Buffers menu again (bug#5726).
8109         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
8110         vectors rather than cons cells, as used in menu-bar-update-buffers.
8112 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
8114         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
8115         (js-insert-and-indent): Revert 2009-08-15 change, restoring
8116         electric punctuation for "{}();,:" (Bug#5586).
8118         * mail/sendmail.el (mail-default-directory): Doc fix.
8120 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
8122         * mail/sendmail.el (mail-default-directory): Doc fix.
8124 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
8126         * subr.el (version-regexp-alist, version-to-list)
8127         (version-list-<, version-list-=, version-list-<=)
8128         (version-list-not-zero, version<, version<=, version=): Doc fix.
8129         (Bug#5744).
8131 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
8133         * vc.el (vc-root-diff): Doc fix.
8135 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
8137         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
8139         * simple.el (append-to-buffer): Fix last change.
8141 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
8143         * simple.el (append-to-buffer): Ensure that point is preserved if
8144         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
8145         (Bug#5749)
8147 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8149         * files.el (auto-mode-case-fold): Change default to t.
8151 2010-03-30  Juri Linkov  <juri@jurta.org>
8153         * dired-x.el (dired-omit-mode): Doc fix.
8155 2010-03-30  Juri Linkov  <juri@jurta.org>
8157         * replace.el (occur-accumulate-lines): Move occur-engine related
8158         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
8159         to be located after `occur-engine'.
8161 2010-03-30  Juri Linkov  <juri@jurta.org>
8163         Make occur handle multi-line matches cleanly with context.
8164         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
8166         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
8167         (occur-engine): Add local variables `ret', `prev-after-lines',
8168         `prev-lines'.  Use more arguments for `occur-context-lines'.
8169         Set first elem of its returned list to `data', and the second elem
8170         to `prev-after-lines'.  Don't print the separator line.
8171         In the end, print remaining context after-lines.
8172         (occur-context-lines): Add new arguments `begpt', `endpt',
8173         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
8174         after-lines of the previous match with before-lines of the
8175         current match and not overlap them.  Return a list with two
8176         values: the output line and the list of context after-lines.
8178 2010-03-30  Juri Linkov  <juri@jurta.org>
8180         * replace.el (occur-accumulate-lines): Fix a bug where the first
8181         context line at the beginning of the buffer was missing.
8183 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
8185         * files.el: Make bidi-display-reordering safe variable for boolean
8186         values.
8188 2010-03-29  Phil Hagelberg  <phil@evri.com>
8189             Chong Yidong  <cyd@stupidchicken.com>
8191         * subr.el: Extend progress reporters to perform "spinning".
8192         (progress-reporter-update, progress-reporter-do-update):
8193         Handle non-numeric value arguments.
8194         (progress-reporter--pulse-characters): New var.
8196 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
8198         * progmodes/compile.el (compilation-start): Fix regexp detection
8199         of initial cd command (Bug#5771).
8201 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
8203         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
8205 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
8207         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
8208         * progmodes/gdb-mi.el: Restore.
8209         * progmodes/gdb-ui.el: Remove.
8210         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
8212 2010-03-25  Glenn Morris  <rgm@gnu.org>
8214         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
8215         all dired buffers, even tramp ones.  (Bug#5755)
8217 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8219         Add "union tags" in mpc.el.
8220         * mpc.el: Remove backward compatibility code.
8221         (mpc-browser-tags): Change default.
8222         (mpc--find-memoize-union-tags): New var.
8223         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
8224         (mpc-cmd-find): Handle the case where the playlist does not exist.
8225         Handle union-tags.
8226         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
8227         (mpc-cmd-add): Use mpc-cmd-flush.
8228         (mpc-tagbrowser-tag-name): New fun.
8229         (mpc-tagbrowser-buf): Use it.
8230         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
8232 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8234         Misc cleanup.
8235         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
8236         Use replace-regexp-in-string.
8237         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
8238         (makefile-imake-mode-syntax-table): Move init into defvar.
8239         (makefile-mode): Use define-derived-mode.
8241         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
8242         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
8243         not be present any more.
8245 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
8247         * faces.el (set-face-attribute): Fix typo in docstring.
8248         (face-valid-attribute-values): Reflow docstring.
8250 2010-03-24  Glenn Morris  <rgm@gnu.org>
8252         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
8254 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
8256         * indent.el (indent-for-tab-command): Doc fix.
8258 2010-03-24  Alan Mackenzie  <acm@muc.de>
8260         * progmodes/cc-engine.el (c-remove-stale-state-cache):
8261         Fix off-by-one error.  Fixes bug #5747.
8263 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
8265         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
8266         (image-dired-read-comment): Doc fix.
8268         * json.el (json-object-type, json-array-type, json-key-type)
8269         (json-false, json-null, json-read-number):
8270         * minibuffer.el (completion-in-region-functions):
8271         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
8272         (cal-tex-cursor-week):
8273         * emacs-lisp/trace.el (trace-function):
8274         * eshell/em-basic.el (eshell/printnl):
8275         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
8276         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
8277         * obsolete/levents.el (allocate-event, event-key, event-object)
8278         (event-point, event-process, event-timestamp, event-to-character)
8279         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
8280         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
8281         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
8282         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
8283         (reftex-highlight-selection): Fix typos in docstrings.
8285 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
8287         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
8289 2010-03-24  Glenn Morris  <rgm@gnu.org>
8291         * mail/rmail.el (rmail-highlight-face): Restore option deleted
8292         2008-02-13 without comment; mark it obsolete.
8293         (rmail-highlight-headers): Use rmail-highlight-face once more.
8295 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
8297         * woman.el (woman2-process-escapes): Only consume the newline if
8298         the filler character is on a line by itself (Bug#5729).
8300 2010-03-24  Kenichi Handa  <handa@m17n.org>
8302         * language/indian.el (devanagari-composable-pattern): Add more
8303         consonants.
8305 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
8307         * net/trampver.el: Update release number.
8309 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
8311         * net/tramp.el (tramp-find-executable):
8312         Use `tramp-get-connection-buffer'.  Make the regexp for checking
8313         output of "wc -l" more robust.
8314         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
8315         (tramp-open-connection-setup-interactive-shell): Remove workaround
8316         for OpenSolaris bug, it is not needed anymore.
8318 2010-03-24  Glenn Morris  <rgm@gnu.org>
8320         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
8322 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
8324         * files.el (auto-mode-alist): Accept more verilog file patterns.
8326 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8328         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
8330 2010-03-24  Glenn Morris  <rgm@gnu.org>
8332         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
8333         log-edit-before-checkin-process.
8335         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
8337         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
8339         * vc-dispatcher.el (vc-start-logentry): Doc fix.
8340         (log-view-process-buffer, log-edit-extra-flags): Declare.
8342         * log-edit.el (log-edit-before-checkin-process): Doc fix.
8344 2010-03-23  Sam Steingold  <sds@gnu.org>
8346         Fix bug#5620: recalculate all markers on compilation buffer
8347         modifications, not on file modifications.
8348         * progmodes/compile.el (buffer-modtime): New buffer-local variable:
8349         the buffer modification time, for buffers not associated with files.
8350         (compilation-mode): Create it.
8351         (compilation-filter): Update it.
8352         (compilation-next-error-function): Use it instead of
8353         `visited-file-modtime' for timestamp.
8355 2010-03-23  Juri Linkov  <juri@jurta.org>
8357         Implement Occur multi-line matches.
8358         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
8360         * replace.el (occur): Doc fix.
8361         (occur-engine): Set `begpt' to the beginning of the first line.
8362         Set `endpt' to the end of the last match line.  At first, count
8363         line numbers between `origpt' and `begpt'.  Split out code from
8364         `out-line' variable to new let-bindings `match-prefix' and
8365         `match-str'.  In `out-line' add non-numeric prefix to all
8366         non-first lines of multi-line matches.  Finally, count lines
8367         between `begpt' and `endpt' and add to `lines'.
8369 2010-03-23  Juri Linkov  <juri@jurta.org>
8371         * replace.el (occur-accumulate-lines, occur-engine):
8372         Use `occur-engine-line' instead of duplicate code.
8373         (occur-engine-line): New function created from duplicate code
8374         in `occur-accumulate-lines' and `occur-engine'.
8376         * replace.el (occur-engine-line): Add optional arg `keep-props'.
8377         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
8379 2010-03-23  Juri Linkov  <juri@jurta.org>
8381         * finder.el: Remove TODO tasks.
8383         * info.el (Info-finder-find-node): Add node "all"
8384         with all package info.  Handle a list of multiple keywords
8385         separated by comma.
8386         (info-finder): In interactive use with a prefix argument,
8387         use `completing-read-multiple' to read a list of keywords
8388         separated by comma.
8390 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8392         Add a new completion style `substring'.
8393         * minibuffer.el (completion-basic--pattern): New function.
8394         (completion-basic-try-completion, completion-basic-all-completions):
8395         Use it.
8396         (completion-substring--all-completions)
8397         (completion-substring-try-completion)
8398         (completion-substring-all-completions): New functions.
8399         (completion-styles-alist): New style `substring'.
8401 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8403         Get rid of .elc files after removal of the corresponding .el.
8404         * Makefile.in (compile-clean): New target.
8405         (compile-main): Use it.
8407 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
8409         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
8410         don't do make there.  When compiling with separate object dir, there
8411         is no Makefile there.
8413 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8415         Get rid of the ELCFILES abomination, again.
8416         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
8417         (all, compile): Don't call compile-last.
8418         (compile-main): Build the "elcfiles" list dynamically.
8419         (compile-targets): New (internal) target.
8421 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
8423         * Makefile.in (top_srcdir): Define.
8424         (abs_top_builddir): Define.
8425         (srcdir): Don't append `/..'.
8426         (EMACS): Use ${abs_top_builddir}.
8427         (all, compile, compile-always, compile-last): Don't set emacswd.
8428         (update-subdirs, update-authors): Use $(top_srcdir) instead of
8429         $(srcdir).
8430         (lisp): Use $(srcdir) instead of @srcdir@.
8432 2010-03-21  Juri Linkov  <juri@jurta.org>
8434         Fix message of multi-line occur regexps and multi-buffer header lines.
8435         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
8437         * replace.el (occur-1): Don't display regexp if it is longer
8438         than window-width.  Use `query-replace-descr' to display regexp.
8439         (occur-engine): Don't display regexp in the buffer header for
8440         multi-buffer occur.  Display a separate header line with total
8441         match count and regexp for multi-buffer occur.
8442         Use `query-replace-descr' to display regexp.
8444 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
8446         * net/secrets.el: Fix parenthesis.
8447         (secrets-enabled): Fix parenthesis.
8449 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8451         Use more relative file and directory names.
8452         * Makefile.in (EMACS): Arrange for it to work when we chdir.
8453         (setwins, setwins_almost, setwins_for_subdirs):
8454         Don't `cd'; output relative names.
8455         (all, compile, compile-always, compile-last): Set emacswd.
8456         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
8457         Just cd to the lisp source dir so we can use relative file names.
8459         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
8461 2010-03-20  Glenn Morris  <rgm@gnu.org>
8463         * textmodes/rst.el: Use faces for font-lock customization, and make the
8464         old -face variables obsolete.
8465         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
8466         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
8467         (rst-block-face, rst-external-face, rst-definition-face)
8468         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
8469         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
8470         Make obsolete.
8471         (rst-font-lock-keywords-function): Update for above changes.
8473 2010-03-20  Juri Linkov  <juri@jurta.org>
8475         * s-region.el:
8476         * obsolete/s-region.el: Move to obsolete.
8478 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
8480         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
8482 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
8484         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
8486 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
8488         Add special markup processing for commit logs.
8489         * log-edit.el (log-edit-extra-flags): New variable.
8490         (log-edit): Add new argument MODE.  Use that mode when non-nil
8491         instead of the log-view-mode.
8492         (log-view-process-buffer): New function.
8494         * vc.el: Document that the checkin method takes optional
8495         arguments.  Document new backend specific method: log-view-mode.
8496         (vc-default-log-edit-mode): New function.
8497         (vc-checkin): Use a backend specific log-view-mode.
8498         Pass extra arguments to the checkin method.
8499         (vc-modify-change-comment): Pass a dummy extra argument.
8501         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
8502         log-edit.
8503         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
8504         (vc-finish-logentry): Process the log buffer before passing it
8505         down.  Pass log-edit-extra-flags.
8507         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
8508         command.
8509         (log-edit-extra-flags, log-edit-before-checkin-process):
8510         New declarations.
8512         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
8513         command.
8514         (log-edit-extra-flags, log-edit-before-checkin-process):
8515         New declarations.
8516         (vc-hg-log-edit-mode): New derived mode.
8518         * vc-arch.el (vc-arch-checkin):
8519         * vc-cvs.el (vc-cvs-checkin):
8520         * vc-git.el (vc-git-checkin):
8521         * vc-mtn.el (vc-mtn-checkin):
8522         * vc-rcs.el (vc-rcs-checkin):
8523         * vc-sccs.el (vc-sccs-checkin):
8524         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
8526 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8528         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
8529         parent typo).
8531 2010-03-19  Glenn Morris  <rgm@gnu.org>
8533         * password-cache.el (password-cache, password-cache-expiry): Autoload.
8535 2010-03-18  Glenn Morris  <rgm@gnu.org>
8537         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
8539         * replace.el (query-replace-history): Give it a doc string.
8540         (map-query-replace-regexp): Use query-replace-from-history-variable
8541         and query-replace-to-history-variable.
8543         * mail/hashcash.el (declare-function): Remove duplicate definition.
8545         * mail/emacsbug.el (report-emacs-bug-pretest-address):
8546         Make it an obsolete alias for report-emacs-bug-address.
8547         (message-strip-special-text-properties): Declare.
8548         (report-emacs-bug): Remove test for a pretest bug address.
8549         Combine message-mode-specific code.
8551         * mail/supercite.el: Don't require sendmail.
8552         (mh-in-header-p): Declare rather than using with-no-warnings.
8553         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
8554         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
8556         * calendar/cal-french.el: Convert to utf-8.
8558         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
8559         Emacs scripts.
8561 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
8563         * net/secrets.el (secrets-enabled): New variable.  Use it instead
8564         of a subfeature.
8566 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
8568         * net/secrets.el (top): Register the D-Bus signals only when the
8569         service "org.freedesktop.secrets" can be pinged.
8570         Provide subfeature `enabled'.
8572 2010-03-14  Juri Linkov  <juri@jurta.org>
8574         Add finder unknown keywords.
8576         * finder.el (finder-unknown-keywords): New function.
8578         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
8579         to create a Finder node with unknown keywords.
8581 2010-03-14  Juri Linkov  <juri@jurta.org>
8583         * finder.el (finder-compile-keywords): Replace `princ' with
8584         `prin1' on a list of symbols interned from keyword strings.
8586         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
8587         a comma, then split keywords using a comma and optional whitespace.
8588         Otherwise, split by whitespace.
8590         * complete.el:
8591         * face-remap.el:
8592         * log-view.el:
8593         * net/hmac-def.el:
8594         * net/hmac-md5.el:
8595         * net/netrc.el:
8596         * progmodes/mixal-mode.el: Fix keywords.
8598 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
8600         * Makefile.in (ELCFILES): Add net/secrets.elc.
8602         * net/secrets.el: New file.
8604 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
8606         * facemenu.el (list-colors-display, list-colors-print): New arg
8607         callback.  Use it to allow selecting colors.
8609         * wid-edit.el (widget-image-insert): Insert image prop even if the
8610         current display is non-graphic.
8611         (widget-field-value-set): New fun.
8612         (editable-field): Use it.
8613         (widget-field-value-get): Clean up unused var.
8614         (widget-color-value-create, widget-color--choose-action):
8615         New funs.  Allow using list-colors-display to choose color.
8617 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
8619         * cus-edit.el: Resort topmost custom groups.
8620         (custom-buffer-sort-alphabetically): Default to t.
8621         (customize-apropos): Use apropos-parse-pattern.
8622         (custom-search-field): New var.
8623         (custom-buffer-create-internal): Add custom-apropos search field.
8624         (custom-add-parent-links): Don't display parent doc.
8625         (custom-group-value-create): Don't sort top-level custom group.
8626         (custom-magic-value-create): Show visibility button before option name.
8628         (custom-variable-state): New fun, from custom-variable-state-set.
8629         (custom-variable-state-set): Use it.
8630         (custom-group-value-create): Hide options with standard values
8631         using the :hidden-states property.  Use progress reporter.
8633         (custom-show): Simplify.
8634         (custom-visibility): Disable images by default.
8635         (custom-variable): New property :hidden-states.
8636         (custom-variable-value-create): Enable images for
8637         custom-visibility widgets.  Use :hidden-states property to
8638         determine initial visibility.
8640         * wid-edit.el (widget-image-find): Give images center ascent.
8641         (visibility): Add :on-image and :off-image properties.
8642         (widget-visibility-value-create): Use them.
8644 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
8646         * cus-edit.el (processes): Remove from development group.
8647         (oop, hypermedia): Delete group.
8648         (comm): Promote to top-level group.
8650         * net/browse-url.el (browse-url):
8651         * net/xesam.el (xesam):
8652         * net/tramp.el (tramp):
8653         * net/goto-addr.el (goto-address):
8654         * net/ange-ftp.el (ange-ftp): Put in comm group.
8656         * view.el (view): Remove from editing group.
8658         * uniquify.el (uniquify): Put in files group.
8660         * net/browse-url.el (browse-url):
8661         * ps-print.el (postscript): Put in external group.
8663         * cus-edit.el (outlines):
8664         * textmodes/text-mode.el (text-mode-hook):
8665         * textmodes/table.el (table):
8666         * textmodes/picture.el (picture):
8667         * outline.el (outlines): Put in wp group.
8669         * nxml/nxml-mode.el (nxml): Remove from wp group.
8671         * net/tramp-imap.el (tramp-imap): Put in tramp group.
8673         * mail/metamail.el (metamail): Remove from hypermedia group.
8675         * cus-edit.el (abbrev):
8676         * whitespace.el (whitespace):
8677         * vcursor.el (vcursor):
8678         * reveal.el (reveal):
8679         * hl-line.el (hl-line): Put in convenience group.
8681         * epg-config.el (epg): Put in data group.
8683         * emulation/pc-select.el (pc-select): Put in emulations group.
8685         * calculator.el (calculator): Put in applications group.
8687 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
8689         Add .dir-locals.el support for file-less buffers.
8690         * files.el (hack-local-variables): Split out code to apply local
8691         variable settings ...
8692         (hack-local-variables-apply): ... here.  New function.
8693         (hack-dir-local-variables): Use the default directory for when the
8694         buffer does not have an associated file.
8695         (hack-dir-local-variables-non-file-buffer): New function.
8696         * diff-mode.el (diff-mode):
8697         * vc-annotate.el (vc-annotate-mode):
8698         * vc-dir.el (vc-dir-mode):
8699         * log-edit.el (log-edit-mode):
8700         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
8702 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
8704         Add support for shelving snapshots and for showing shelves.
8705         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
8706         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
8707         New functions.
8708         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
8709         (vc-bzr-extra-menu-map): Map them.
8711 2010-03-11  Glenn Morris  <rgm@gnu.org>
8713         * cus-edit.el (customize-changed-options-previous-release):
8714         Bump to 23.1.
8716         * image.el (image-animate-max-time): Fix :version tag.
8718 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
8720         * Branch for 23.2.
8722 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8724         * vc-git.el (vc-git-revision-table): Include remote branches.
8726 2010-03-10  Kim F. Storm  <storm@cua.dk>
8728         Animated image API.
8729         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
8731         * image.el (image-animate-max-time): New defcustom.
8732         (image-animated-types): New defconst.
8733         (create-animated-image, image-animate-timer)
8734         (image-animate-start, image-animate-stop, image-animate-timeout)
8735         (image-animated-p): New functions.
8737         * image-mode.el (image-toggle-display-image):
8738         Replace `create-image' with `create-animated-image'.
8740 2010-03-09  Miles Bader  <miles@gnu.org>
8742         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
8743         instead of "format:"; this ensures that the output is
8744         newline-terminated.
8746 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
8748         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
8749         that all errors are caught, and that the return value is always a
8750         list (Bug#5692).
8752 2010-03-08  Kenichi Handa  <handa@m17n.org>
8754         * language/misc-lang.el (windows-1256): New coding system.
8755         (cp1256): New alias of windows-1256 (bug#5690).
8757 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
8759         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
8760         call to rfc822-bad-address.  (Bug#5692)
8762 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
8764         * vc-git.el (vc-git-annotate-extract-revision-at-line):
8765         Use vc-git-root as default directory for revision path (Bug#5657).
8767 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
8769         * calculator.el (calculator): Don't bind split-window-keep-point
8770         (Bug#5674).
8772 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8774         * vc-git.el: Re-flow to fit into 80 columns.
8775         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
8776         Remove spurious `quote' element in each case alternative.
8777         (vc-git-show-log-entry): Use prog1.
8778         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
8780 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8782         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
8784 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
8786         * macros.el (insert-kbd-macro): Look up keyboard macro using the
8787         definition, not the name (Bug#5481).
8789 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
8791         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
8792         argument with a local variable.  (Bug#5670)
8794 2010-03-02  Juri Linkov  <juri@jurta.org>
8796         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
8798 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
8800         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
8801         error when FILENAME and NEWNAME are existing remote directories.
8803         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
8804         parameter DIR-FLAG.
8806 2010-03-02  Glenn Morris  <rgm@gnu.org>
8808         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
8809         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
8811 2010-03-01  Kenichi Handa  <handa@m17n.org>
8813         * language/burmese.el (burmese-composable-pattern): Rename from
8814         myanmar-composable-pattern.
8816         * international/characters.el (script-list):
8817         * international/fontset.el (script-representative-chars):
8818         Change myanmar to burmese.
8819         (otf-script-alist): Likewise.
8820         (setup-default-fontset): Likewise.  Re-fix :otf spec.
8822 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
8824         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
8826 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
8828         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
8830 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
8832         * net/tramp.el (tramp-handle-write-region): START can be a string.
8833         Take care in the checks.  Reported by Dan Davison
8834         <davison@stats.ox.ac.uk>.
8836 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
8838         * net/dbus.el (dbus-introspect, dbus-get-property)
8839         (dbus-set-property, dbus-get-all-properties):
8840         Use `dbus-call-method' when noninteractive.  (Bug#5645)
8842 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
8844         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
8845         * emacs-lisp/elint.el (elint-add-required-env):
8846         * calendar/icalendar.el (icalendar--add-diary-entry):
8847         * calc/calcalg2.el (math-tracing-integral):
8848         * files.el (recover-session-finish): Use with-current-buffer
8849         instead of save-excursion.
8851 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8853         Fix in-buffer completion when after-change-functions modify the buffer.
8854         * minibuffer.el (completion--replace): New function.
8855         (completion--do-completion): Use it and use relative movement.
8857 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
8859         * international/fontset.el (setup-default-fontset): Fix :otf spec.
8861 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
8863         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
8864         Allow the characters _<> in the stack entry (Bug#5653).
8866 2010-02-26  Kenichi Handa  <handa@m17n.org>
8868         * language/burmese.el: Fix entries in composition-function-table.
8869         (myanmar-composable-pattern): New variable.
8871         * international/fontset.el (setup-default-fontset): Add an entry
8872         for myanmar.
8874         * international/characters.el (script-list): Add Myanmar
8875         Extended-A.
8877 2010-02-26  Glenn Morris  <rgm@gnu.org>
8879         * custom.el (custom-initialize-delay): Doc fix.
8881         * mail/sendmail.el (send-mail-function): Autoload the call
8882         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
8884 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
8886         * files.el (hack-local-variables-filter): For eval forms, also
8887         check safe-local-variable-p (Bug#5636).
8889 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
8891         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
8892         setting the modes by `ignore-errors'.  It might fail, for example
8893         if the file is not owned by the user but the group.
8894         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
8896 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
8898         * files.el (directory-listing-before-filename-regexp): Use
8899         stricter matching for iso-style dates, to avoid false matches with
8900         date-like filenames (Bug#5597).
8902         * htmlfontify.el (htmlfontify): Doc fix.
8904         * eshell/eshell.el (eshell): Doc fix.
8906         * startup.el (fancy-about-screen): In mode-line, apply
8907         mode-line-buffer-id face only to the buffer name (Bug#5613).
8909 2010-02-20  Kevin Ryde  <user42@zip.com.au>
8911         * progmodes/compile.el (compilation-error-regexp-alist-alist):
8912         In `watcom' anchor regexp to start of line, to avoid slowness
8913         (Bug#5599).
8915 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
8917         * subr.el (remove-yank-excluded-properties): Explain in a comment
8918         why `category' property is removed.
8920 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
8922         * isearch.el (isearch-update-post-hook, isearch-update): Revert
8923         2010-02-17 change.
8925 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
8927         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
8928         (icalendar--convert-weekly-to-ical)
8929         (icalendar--convert-yearly-to-ical)
8930         (icalendar--convert-block-to-ical)
8931         (icalendar--convert-cyclic-to-ical)
8932         (icalendar--convert-anniversary-to-ical): Take care of time
8933         specifications where hour has 1-digit only (Bug#5549).
8935 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
8937         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
8938         of disassemble output in GDB 7.1.
8940 2010-02-19  Glenn Morris  <rgm@gnu.org>
8942         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
8943         property.  (Bug#5593)
8945 2010-02-18  Sam Steingold  <sds@gnu.org>
8947         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
8949 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8951         Use abbreviated file names in bookmarks (bug#5591).
8952         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
8953         calls to expand-file-name.
8954         (bookmark-relocate): Use abbreviated file names in bookmarks.
8955         (bookmark-load): Use abbreviated file names in messages.
8957 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
8959         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
8960         expand "." and "..".  Reported by Thierry Volpiatto
8961         <thierry.volpiatto@gmail.com>.
8963 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
8965         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
8966         permissions of the temporary file to "0600".  In case the remote
8967         file has no read permissions for the owner, there might be
8968         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
8970 22010-02-18  Glenn Morris  <rgm@gnu.org>
8972         * emacs-lisp/authors.el (authors-renamed-files-alist):
8973         Add entries for INSTALL.CVS.
8975 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
8977         * vc-bzr.el: Fix typo in Known Bugs section.
8979         * isearch.el (isearch-update-post-hook): New hook.
8980         (isearch-update): Use the new hook.
8982 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
8984         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
8985         Fix errors in copying directories.
8986         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
8987         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
8988         (tramp-handle-delete-file)
8989         (tramp-handle-dired-recursive-delete-directory)
8990         (tramp-handle-write-region): Flush also the cache for the upper
8991         directory.
8993 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
8995         * simple.el (save-interprogram-paste-before-kill): Doc fix.
8997         * cus-edit.el (hardware): Doc fix.
8999         * man.el (man): Add to external custom group.
9001         * delim-col.el (columns): Move to wp custom group.
9003         * doc-view.el (doc-view): Add to data custom group.
9005         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
9007         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
9008         by ispell-parse-output (Bug#5575).
9010 2010-02-16  Kenichi Handa  <handa@m17n.org>
9012         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
9013         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
9014         (skkdic-convert): Use `euc-japan' coding system for writing.
9016 2010-02-16  Glenn Morris  <rgm@gnu.org>
9018         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
9019         tex-main-file before using it.  (Bug#5562)
9021 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9023         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
9024         warnings, since it is annoying for the user to see them each time he
9025         runs the code.
9027 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
9029         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
9030         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
9031         instead of PROC for caching "first-password-request".  Otherwise,
9032         new processes would not profit from passwords already entered.
9034         * net/tramp-cache.el (tramp-dump-connection-properties):
9035         Don't save "first-password-request" property.
9037 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
9039         * outline.el (outline-head-from-level):
9040         * simple.el (with-wrapper-hook):
9041         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
9042         (elint-defun, elint-buffer-env, elint-top-form-logged)
9043         (elint-unbound-variable):
9044         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
9045         Fix typos in docstrings.
9047 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
9049         * files.el (insert-directory): When WILDCARD-REGEXP and
9050         FULL-DIRECTORY-P are nil, insert the file entry instead of the
9051         whole directory.  (Bug#5551)
9053         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
9054         dired's alignment sanity.  (Bug#5516)
9056 2010-02-14  Juri Linkov  <juri@jurta.org>
9058         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
9059         Remove remaining ^H with their preceding chars.  (Bug#5566)
9061 2010-02-13  Glenn Morris  <rgm@gnu.org>
9063         * simple.el (transpose-subr): Give it a doc-string.
9065         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
9066         Doc fixes.
9068 2010-02-12  Juri Linkov  <juri@jurta.org>
9070         * arc-mode.el (archive-unique-fname): Make directories for nested
9071         archives.  (Bug#5540)
9073 2010-02-12  Juri Linkov  <juri@jurta.org>
9075         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
9077 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9079         * subr.el (copy-overlay): Handle deleted overlays.
9081         * man.el (Man-completion-table): Don't signal an error if we can't run
9082         manual-program (bug#4056).
9084 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
9086         * textmodes/artist.el (artist-mt): Fix typos in docstring.
9088 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9090         * info.el (Info-bookmark-jump): Simplify.
9092         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
9093         (bookmark-default-handler): Accept new bookmark field `buffer'.
9095 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
9097         * iswitchb.el (iswitchb-completions): Revert last change.
9099 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
9101         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
9102         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
9103         This prevents file names like "~/" being listed literally.
9105 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
9107         * term/xterm.el (xterm-maybe-set-dark-background-mode):
9108         Remove dead code.  (Bug#5546)
9110 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
9112         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
9113         correctly (Bug#5548).
9115 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
9117         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
9118         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
9120 2010-02-08  Kenichi Handa  <handa@m17n.org>
9122         * international/mule-util.el (with-coding-priority): Add autoload
9123         cookie for putting `lisp-indent-function'.
9125 2010-02-07  Glenn Morris  <rgm@gnu.org>
9127         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
9128         Move F2003 named interfaces from keywords-2 to keywords-1, and
9129         use function-name-face rather than constant-face.
9130         Simplify "abstract interface" regexp.
9132 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
9134         * eshell/esh-util.el (eshell-file-attributes): New optional arg
9135         ID-FORMAT.  Pass it to `file-attributes'.
9137         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
9139 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
9141         * faces.el (set-face-attribute): Allow calling
9142         internal-set-lisp-face-attribute with 'unspecified family and
9143         foundry argument (Bug#5536).
9145 2010-02-07  Glenn Morris  <rgm@gnu.org>
9147         * progmodes/f90.el (f90-font-lock-keywords-2)
9148         (f90-looking-at-type-like, f90-looking-at-program-block-end):
9149         Handle F2003 named interfaces.
9151 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
9153         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
9154         beg and end before calling c-get-state-before-change-functions.
9156 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
9158         * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
9160 2010-02-05  Juri Linkov  <juri@jurta.org>
9162         * doc-view.el (doc-view-mode):
9163         * image-mode.el (image-mode): Put property mode-class=special.
9164         (Bug#4896)
9166 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
9168         * vc-svn.el (vc-svn-revision-table): New function.
9170 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
9172         * net/ange-ftp.el (ange-ftp-insert-directory):
9173         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
9174         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
9175         Handle also directories.  (Bug#5478)
9177 2010-02-05  Glenn Morris  <rgm@gnu.org>
9179         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
9181 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
9183         * startup.el (command-line-1): Convert options beginning with a
9184         single dash as well (Bug#5519).
9186 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9188         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
9189         * minibuffer.el (completion-initials-expand): Only check the presence
9190         of delims *within* the boundaries, since otherwise the / delim is
9191         always found for files.
9193         Fix up various corner case problems.
9194         * doc-view.el (doc-view-last-page-number): New function.
9195         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
9196         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
9197         (doc-view-kill-proc): Avoid inf-loop in freak cases.
9198         (doc-view-reconvert-doc): Use the new recursive delete-directory.
9199         (doc-view-convert-current-doc): Don't create the resolution.el file
9200         here any more.
9201         (doc-view-pdf/ps->png): Do it here instead.
9202         (doc-view-already-converted-p): Check that resolution.el is present.
9203         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
9204         windows that are not yet showing images.
9206 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
9208         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
9209         `dired-uncache' for every elemnt which is an absolute file name.
9211         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
9212         directory, handle its directory component.
9213         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
9214         function is called permanently and creates noise, otherwise.
9216         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
9217         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
9218         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
9220 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
9222         * macros.el (apply-macro-to-region-lines):
9223         Minor simplification.  (Bug#5485)
9225 2010-02-04  Glenn Morris  <rgm@gnu.org>
9227         * mail/rmail.el (rmail-show-message-1): Handle malformed
9228         quoted-printable text.  (Bug#5441)
9230         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
9232         * simple.el (visual-line-mode): Capitalize lighter.
9234 2010-02-03  John Wiegley  <jwiegley@gmail.com>
9236         * iswitchb.el (iswitchb-completions): Add bookmark files to the
9237         list of files considered for "virtual buffer" completions.
9239 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
9241         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
9242         also in case of (and (not full) (not wildcard)).  This is needed
9243         when dired is called with a list of files, which are not in
9244         `default-directory'.  (Bug#5478)
9246 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9248         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
9250 2010-02-02  Juri Linkov  <juri@jurta.org>
9252         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
9253         from unidiff to allow function-line after @@.
9255 2010-02-02  Juri Linkov  <juri@jurta.org>
9257         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
9258         '(RCS SCCS) with inverted condition.
9260 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
9262         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
9263         messages.
9265 2010-02-01  Juri Linkov  <juri@jurta.org>
9267         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
9268         compare with "pkunzip" and "pkzip" instead of only "pkzip".
9269         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
9270         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
9272 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9274         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
9275         (doc-view-revert-buffer): New command.
9276         (doc-view-mode-map): Use it.
9278 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
9280         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
9281         pending merge is detected.
9283 2010-01-31  Juri Linkov  <juri@jurta.org>
9285         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
9286         beginning of interactive spec like all other grep commands do.
9287         Put "all" in front of "gz".  (Bug#5260)
9289 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
9291         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
9293 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
9295         * dirtrack.el (dirtrack): Warn instead of signalling error if the
9296         regexp is incorrect (Bug#5476).
9298 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
9300         * net/tramp.el (tramp-handle-insert-directory): Handle also
9301         symlinks, when FILENAME is not in `default-directory'.
9303 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
9305         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
9306         FILE is not in `default-directory'.  (Bug#5478)
9308         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
9309         of SWITCHES.  Handle the case, FILENAME is not in
9310         `default-directory'.  (Bug#5478)
9311         (tramp-register-file-name-handlers): Add safe-magic property.
9313 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
9315         * arc-mode.el (archive-zip-extract): Quote the argument passed to
9316         unzip (Bug#5475).
9318 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
9320         * progmodes/flymake.el (flymake-allowed-file-name-masks)
9321         (flymake-master-make-header-init): Add other C++ filename masks.
9322         (flymake-find-possible-master-files)
9323         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
9325 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
9327         Fix some busybox annoyances.
9329         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
9330         not responding." string.
9331         (tramp-open-connection-setup-interactive-shell): Dump stty
9332         settings.  Enable "neveropen" arg for all `tramp-send-command'
9333         calls.  Handle "=" in variable values properly.
9334         (tramp-find-inline-encoding): Raise an error, when no encoding is
9335         found.
9336         (tramp-wait-for-output): Check, whether PROC buffer is available.
9337         Remove spurious " ^H" sequences, sent by busybox.
9338         (tramp-get-ls-command): Suppress coloring, if possible.
9340 2010-01-28  Glenn Morris  <rgm@gnu.org>
9342         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
9344         * log-edit.el (log-edit-strip-single-file-name): Add missing
9345         :safe, :group, and :version tags.
9347 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
9349         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
9350         buffers.  (Bug#5477)
9352 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
9354         * files.el (delete-directory): Handle moving to trash without
9355         first doing recursion (Bug#5436).
9357 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
9359         * vc-hooks.el (vc-path): Mark as obsolete.
9361 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
9363         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
9364         names too.
9366         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
9367         for the short log.
9368         (vc-bzr-log-view-mode): Adjust regexp for the above change.
9370 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
9372         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
9374         * vc-bzr.el (vc-bzr-revision-table): New function.
9376 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>  (tiny change)
9378         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
9379         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
9381 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
9383         Remove support for adding --signoff on commit.
9384         Future support will use an incompatible generic mechanism.
9385         * vc-git.el (vc-git-add-signoff): Remove variable.
9386         (vc-git-toggle-signoff): Remove function.
9387         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
9389         * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
9390         from xterm-set-background-mode.  Return t if the background mode
9391         was set.
9392         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
9393         earlier, call it again in case the background mode has changed.
9395 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
9397         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
9398         (Bug#3541).
9400 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
9402         * emacs-lisp/assoc.el (aelement): Doc fix.
9403         (aput, adelete, amake): Use lexical-let (Bug#5450).
9405 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
9407         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
9408         is the same as subprogram call, not declaration.  (Bug#5435).
9410 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
9412         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
9413         (tramp-smb-maybe-open-connection): Use it.
9415 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
9417         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
9419 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9421         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
9422         just because we see "encoding: 8bit".
9423         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
9425 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
9427         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
9429 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
9431         * jka-compr.el (jka-compr-load): If load-file is not in
9432         load-history, try its file-truename version.  (bug#5447)
9434 2010-01-21  Alan Mackenzie  <acm@muc.de>
9436         Fix a situation where deletion of a cpp construct throws an error.
9437         * progmodes/cc-engine.el (c-invalidate-state-cache):
9438         Before invoking c-with-all-but-one-cpps-commented-out, check that the
9439         special cpp construct is still in the buffer.
9440         (c-parse-state): Record the special cpp with markers, not numbers.
9442 2010-01-21  Kenichi Handa  <handa@m17n.org>
9444         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
9445         process last-command-event, as it is now decoded first (Bug#5380).
9447 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
9449         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
9451 2010-01-20  Glenn Morris  <rgm@gnu.org>
9453         * indent.el (tab-always-indent): Fix custom-type.
9455 2010-01-19  Alan Mackenzie  <acm@muc.de>
9457         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
9458         buffer throws "args out of range".
9459         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
9460         playing the role of delimiter.
9462 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
9464         * progmodes/ada-mode.el: Fix bug#5400.
9465         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
9466         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
9467         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
9468         Improve comments in "is" portion.  Handle null procedure declaration.
9469         (ada-move-to-end): Improve doc string.
9471 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
9473         * ido.el (ido-cur-list): Initialize to nil.
9474         Remove obsolete information from commentary.
9475         (ido-choice-list): Initialize to nil.
9476         (ido-get-bufname): Reject minibuffers.
9477         (ido-make-buffer-list): If "default" is a nonexistent
9478         buffer, ignore it, as per the function's comment.
9479         (ido-kill-buffer-internal): New function.
9480         (ido-kill-buffer-at-head): Use it.
9481         (ido-visit-buffer): Likewise.
9483 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
9485         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
9487 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
9489         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
9490         Fix typos in chart titles.
9492         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
9493         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
9494         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
9495         (describe-class, eieio-describe-generic, describe-generic):
9496         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
9497         (eieio-speedbar-expand):
9498         * emulation/viper-cmd.el (viper-exec-form-in-vi)
9499         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
9500         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
9501         (viper-del-backward-char-in-replace, viper-backward-indent)
9502         (viper-brac-function, viper-register-to-point, viper-submit-report):
9503         * net/tramp.el (tramp-remote-coding-commands):
9504         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
9505         Fix typos in docstrings.
9507 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
9509         * mail/sendmail.el (mail-yank-original): Set the mark if the
9510         specified function for yanking does not do it.
9512 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
9514         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
9516         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
9517         resyncing a directory.
9519 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
9521         * progmodes/ada-mode.el: Fix bug#1920.
9522         (ada-ident-re): Delete ., allow multibyte characters.
9523         (ada-goto-label-re): New; matches goto labels.
9524         (ada-block-label-re): New; matches block labels.
9525         (ada-label-re): New; matches both.
9526         (ada-named-block-re): Deleted; callers changed to use
9527         `ada-block-label-re' instead.
9528         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
9529         Use `ada-block-label-re'.
9530         (ada-indent-on-previous-lines): Improve handling of goto labels.
9531         (ada-get-indent-block-start): Special-case block label.
9532         (ada-get-indent-label): Split into `ada-indent-block-label' and
9533         `ada-indent-goto-label'.
9534         (ada-goto-stmt-start, ada-goto-next-non-ws):
9535         Optionally ignore goto labels.
9536         (ada-goto-next-word): Simplify.
9537         (ada-indent-newline-indent-conditional): Insert newline before
9538         trying to fix indentation; doc fix.
9540 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
9542         * calc/calc.el (calc-command-flags): Give it an initial value.
9544 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
9546         * files.el (minibuffer-with-setup-hook):
9547         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
9548         (artist-key-draw-continously, artist-key-do-continously-continously)
9549         (artist-key-set-point-continously, artist-mouse-draw-continously):
9550         Fix typos in docstrings.
9552 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
9554         * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
9555         return t (Bug#3898).
9557 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
9559         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
9560         can parse the output of the external commands (Bug#5279).
9562 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
9564         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
9566 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
9568         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
9570         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
9572         * startup.el (command-line): Remove unused --icon-type arg.
9573         Handle --display arg, passing it to command-line-1 (Bug#5392).
9575 2010-01-16  Mario Lang  <mlang@delysid.org>
9577         * emacs-lisp/chart.el (chart-translate-namezone):
9578         * textmodes/artist.el (artist-compute-popup-menu-table):
9579         Remove duplicated words in doc-strings.
9581 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
9583         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
9584         to mairix-search to suppress threading (Bug#5342).
9586 2010-01-15  Kenichi Handa  <handa@m17n.org>
9588         * international/mule-cmds.el (canonicalize-coding-system-name):
9589         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
9591 2010-01-15  Glenn Morris  <rgm@gnu.org>
9593         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
9595         * wid-edit.el (widget-keymap): Doc fix.
9597         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
9598         former seems to be more widely accepted by various svn versions.
9600 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
9602         * find-cmd.el (find-constituents):
9603         * vc-arch.el (vc-arch-root):
9604         * window.el (window-body-height, pop-up-frames):
9605         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
9606         * progmodes/ada-stmt.el (ada-if):
9607         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
9608         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
9609         (ispell-encoding8-command, ispell-aspell-supports-utf8)
9610         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
9612         * progmodes/flymake.el (flymake-post-syntax-check):
9613         Fix typo in error message.
9615 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
9617         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
9618         which is always a string.  (Bug#5313)
9620 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
9622         * progmodes/ada-xref.el (ada-default-prj-properties):
9623         Simplify previous change.
9625 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
9627         * progmodes/ada-xref.el (ada-default-prj-properties):
9628         Default ada_project_path to $ADA_PROJECT_PATH.
9630 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
9632         * progmodes/ada-mode.el (ada-create-keymap):
9633         Override `narrow-to-defun' with `ada-narrow-to-defun'.
9635 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
9637         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
9638         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
9639         (ada-get-current-indent, ada-imenu-generic-expression)
9640         (ada-which-function): Check for it.
9642 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
9644         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
9645         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
9647 2010-01-14  Glenn Morris  <rgm@gnu.org>
9649         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
9651 2010-01-14  Kenichi Handa  <handa@m17n.org>
9653         * composite.el (auto-composition-mode): Make it a buffer local
9654         variable (permanent-local).
9655         (auto-composition-function): Set the default value to
9656         auto-compose-chars.
9657         (auto-composition-mode): Make it a simple function, not a minor mode.
9658         (global-auto-composition-mode): Likewise.
9659         (turn-on-auto-composition-if-enabled): Delete it.
9661 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
9663         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
9665 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
9667         * files.el (copy-directory): Compute target for recursive
9668         directories with identical names.  (Bug#5343)
9670 2010-01-12  Glenn Morris  <rgm@gnu.org>
9672         * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
9673         it to bug-gnu-emacs rather than emacs-pretest-bug.
9675 2010-01-11  Sam Steingold  <sds@gnu.org>
9677         * imenu.el (imenu-default-create-index-function): Detect infinite
9678         loops caused by imenu-prev-index-position-function.
9680 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
9682         * htmlfontify.el (htmlfontify-load-rgb-file)
9683         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
9684         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
9685         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
9686         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
9687         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
9688         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
9689         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
9690         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
9691         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
9692         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
9693         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
9694         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
9695         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
9696         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
9697         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
9698         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
9699         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
9700         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
9701         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
9702         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
9703         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
9704         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
9705         backslash-quoting from parentheses, etc.
9707 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
9709         * progmodes/js.el: Autoload javascript-mode alias.
9711 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
9713         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
9714         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
9715         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
9716         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
9717         Fix typos in docstrings.
9718         (ffap-url-regexp): Doc fix.
9719         (ffap-at-mouse): Fix typo in message.
9721 2010-01-11  Glenn Morris  <rgm@gnu.org>
9723         * version.el (emacs-copyright): Set copyright year to 2010.
9725 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9727         * format.el (format-annotate-function): Only set
9728         write-region-post-annotation-function after running to-fn so as not to
9729         affect nested write-region calls (bug#5273).
9731 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
9733         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
9734         wisent/python.el.
9736 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
9738         * man.el (Man-goto-section): Signal error if the section is not
9739         found (Bug#5317).
9741 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
9743         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
9744         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
9746 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
9748         * progmodes/compile.el: Don't treat compile-command as safe if
9749         compilation-read-command might be nil (Bug#4218).
9751 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
9753         * startup.el (command-line-1): Use orig-argi to check for ignored X and
9754         NS options.
9756 2010-01-08  Kenichi Handa  <handa@m17n.org>
9758         * international/fontset.el (build-default-fontset-data):
9759         Exclude characters in scripts kana, hangul, han, or cjk-misc.
9761 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
9763         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
9764         to `create-file-buffer' as it expects, not just a buffer name.
9765         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
9766         to help uniquify.  (Bug#3224)
9768 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
9770         * font-setting.el (font-setting-change-default-font): Use user-spec
9771         instead of name.
9773 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
9775         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
9777 2010-01-05  Tom Tromey  <tromey@redhat.com>
9779         * progmodes/python.el (python-font-lock-keywords):
9780         Handle qualified decorators (Bug#881).
9782 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
9784         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
9785         in a lightweight checkout.
9787 2010-01-05  Kenichi Handa  <handa@m17n.org>
9789         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
9791 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
9793         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
9795 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
9797         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
9798         checkouts.  (Bug#618)
9799         (vc-bzr-log-view-mode): Also highlight the author.
9800         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
9801         (vc-bzr-shelve-menu-map):
9802         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
9803         (vc-bzr-shelve-apply): Make prompt more explicit.
9805 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
9807         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
9808         They are valid characters in URL paths (rfc3986), and at least
9809         Firefox does not understand the encoded version (Bug#3166).
9811 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
9813         * progmodes/octave-mod.el (octave-end-keywords)
9814         (octave-block-begin-or-end-regexp, octave-block-match-alist):
9815         Add "end" keyword (Bug#3061).
9816         (octave-end-as-array-index-p): New function.
9817         (calculate-octave-indent): Use it.
9819 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9821         * bookmark.el: Consistently put the text property on the bookmark name.
9822         (bookmark-bmenu-marks-width): Bump back to 2, to include
9823         annotation marks.
9824         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
9825         property on the bookmark name, instead of not putting it at all.
9826         (bookmark-bmenu-list): Fix where we put the text property.
9828 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9830         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
9831         for showing buffer modified state (as added in the previous change).
9833 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9835         * bookmark.el: Show modified state of bookmark buffer more accurately.
9836         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
9837         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
9838         (with-buffer-modified-unmodified): New macro.
9839         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
9840         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
9841         Use new macro to preserve the buffer modified state.
9843 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9845         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
9846         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
9847         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
9848         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
9849         (bookmark-bmenu-rename, bookmark-bmenu-locate)
9850         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
9851         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
9853 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
9855         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9856         Make the lines in the generated doc string shorter.  (Bug#4668)
9858 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
9860         * net/rcirc.el: Add follow-link binding (Bug#4738).
9862 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
9864         * Makefile.in (bzr-update): Rename from cvs-update.
9865         (cvs-update): New target for backward compatibility.
9867         * makefile.w32-in (bzr-update): Rename from cvs-update.
9868         (cvs-update): New target for backward compatibility.
9870 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9872         * bookmark.el: Remove gratuitous gratitude.
9874 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9876         * bookmark.el (bookmark-bmenu-any-marks): New function.
9877         (bookmark-bmenu-save): Clear buffer modification if no marks.
9879 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9881         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
9882         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
9883         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
9884         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
9886         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
9887         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
9888         To: emacs-devel {_AT_} gnu.org
9889         Subject: bookmark.el bug report
9890         Date: Mon, 28 Dec 2009 14:19:16 +0800
9891         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
9893 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9895         * bookmark.el: Improvements suggested by Drew Adams:
9896         (bookmark-bmenu-ensure-position): New name for
9897         `bookmark-bmenu-check-position'.  Just ensure the position,
9898         don't return any meaningful value.
9899         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
9900         New constants.
9902 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
9904         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
9905         (bookmark-yank-point, bookmark-bmenu-check-position):
9906         Fix typos in docstrings.
9907         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
9908         (bookmark-name-from-full-record, bookmark-get-position)
9909         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
9910         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
9911         Remove useless quoting of parenthesis, etc. in docstrings.
9913         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
9914         (ediff-append-custom-diff): Fix typo in error message.
9915         (ediff-meta-mark-equal-files): Fix typos in messages.
9917         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
9919         * net/imap-hash.el (imap-hash-make): Doc fix.
9920         (imap-hash-test): Fix typo in error message; reflow docstring.
9921         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
9922         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
9923         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
9924         Fix typos in docstrings.
9925         (imap-hash-open-connection): Fix typo in error message.
9927         * play/gomoku.el (gomoku): Fix typos in docstring.
9929         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
9930         (gdb-jsonify-buffer): Fix typos in docstring.
9931         (gdb-goto-breakpoint): Fix typo in error message.
9932         ("Display Other Windows"): Fix typo in help message.
9933         (gdb-speedbar-expand-node): Fix typo in question.
9935         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
9936         (idlwave-html-system-help-location, idlwave-html-help-location)
9937         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
9938         (idlwave-help-browser-generic-args, idlwave-help-directory)
9939         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
9940         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
9941         (idlwave-online-help, idlwave-help-html-link)
9942         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
9943         Fix typos in docstrings.
9944         (idlwave-help-with-source, idlwave-help-find-routine-definition):
9945         Reflow docstrings.
9946         (idlwave-help-assistant-start): Fix typo in error message.
9948         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
9949         (octave-electric-space): Fix typos in docstrings.
9951 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
9953         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
9955 2010-01-01  Juri Linkov  <juri@jurta.org>
9957         * comint.el (comint-input-ring-size): Make it a defcustom and
9958         increase the default to 500 (Bug#5148).
9960 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
9962         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
9963         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
9964         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
9966 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
9968         Show working revision correctly for mercurial.
9969         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
9970         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
9972 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
9974         Declare some functions for the byte-compiler.
9975         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
9976         (speedbar-timer-fn, speedbar-change-expand-button-char)
9977         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
9979 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
9981         This changeset reverts GDB Graphical Interface to use annotations.
9982         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
9984 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
9986         Make vc-dir work on subdirectories of the bzr root.
9987         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.  Return
9988         file names relative to it.
9989         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
9990         relative directory to vc-bzr-after-dir-status.
9992 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
9994         * font-lock.el (font-lock-refresh-defaults): New function, which
9995         can be used to let font-lock react to external changes in
9996         variables like font-lock-defaults and keywords.
9997         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
9999 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
10001         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
10003         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
10005 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
10007         Supersede color.diff settings in git log (bug#5211).
10009         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
10010         escape chars in its output when the user has color.diff set to `always'.
10011         This fix works on git 1.4.2 and newer (released on 2006-08-13).
10013 2009-12-26  Kevin Ryde  <user42@zip.com.au>
10015         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
10016         node.  Keep previous "Index" name to work with past coreutils too.
10018         * man.el (man): Revise docstring a bit to show -a and -l as
10019         examples.  Add -k description since support for it has otherwise
10020         been a secret.  (Further to bug#3717.)
10021         (Man-bgproc-sentinel): When "-k foo" produces no output show error
10022         "no matches" rather than "Can't find manpage", as the latter reads
10023         like -k was interpreted as a page name, which is not so.  (Bug#5431)
10025 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
10027         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
10028         switches.  Check also for //SUBDIRED// line.
10030 2009-12-25  Kenichi Handa  <handa@m17n.org>
10032         * language/indian.el (devanagari-composable-pattern): Fixed to
10033         handle ZWNJ and ZWJ.  Use it in composition-function-table for
10034         Devanagari.
10035         (malayalam-composable-pattern): Fix previous change.
10037 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
10039         * ps-print.el (ps-face-attributes): It was not returning the
10040         attribute face for faces specified as string.  Reported by harven
10041         <harven@free.fr>.  (Bug#5254)
10042         (ps-print-version): New version 7.3.5.
10044 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
10046         * calendar/icalendar.el (icalendar--convert-tz-offset):
10047         Fix timezone names.
10048         (icalendar--convert-tz-offset): Fix the "last-day-problem".
10049         (icalendar--add-diary-entry): Remove the trailing blank that
10050         diary-make-entry inserts.
10052 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
10054         Make `file-expand-wildcards' work for remote files.
10056         * files.el (file-expand-wildcards): In case of remote files, check
10057         only local file name part for wildcards.  Provide feature 'files
10058         and subfeature 'remote-wildcards.  (Bug#5198)
10060         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
10061         if there is already an established connection.
10062         (tramp-advice-file-expand-wildcards): Remove it.
10064         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
10065         (tramp-advice-file-expand-wildcards): Move from tramp.el.
10066         Activate advice for older GNU Emacs versions.  (Bug#5237)
10068 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
10070         Some doc fixes (more needed).
10072         * find-cmd.el (find-constituents): Reflow docstring.
10073         (find-cmd, find-prune, find-command): Fix typos in docstrings.
10074         (find-generic): Doc fix.
10076 2009-12-17  Juri Linkov  <juri@jurta.org>
10078         Fix regression from 23.1 to allow multiple modes in Local Variables.
10080         * files.el (hack-local-variables-filter): While ignoring duplicates,
10081         don't take `mode' into account.
10082         (hack-local-variables-filter, hack-dir-local-variables):
10083         Don't remove duplicate `mode' from local-variables-alist (like `eval').
10085 2009-12-17  Juri Linkov  <juri@jurta.org>
10087         Make `dired-diff' safer.  (Bug#5225)
10089         * dired-aux.el (dired-diff): Signal an error when `file' equals to
10090         `current' or when `file' is a directory of the `current' file.
10092 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
10094         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
10095         unconditionally preloaded files.
10097 2009-12-16  Juri Linkov  <juri@jurta.org>
10099         Revert to old 23.1 logic of using the file at the mark as default.
10100         * dired-aux.el (dired-diff): Use the file at the mark as default
10101         if it's not the same as the current file, and the target dir is
10102         the current dir or the mark is active.  Add the current file
10103         as the arg of `dired-dwim-target-defaults'.  Use the default file
10104         in the prompt.  (Bug#5225)
10106 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
10108         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
10109         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
10110         (tramp-check-for-regexp): Check also, when an echoing shell stops
10111         to echo sent commands.
10113 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
10115         * Makefile.in: Revert last change (Bug#5191).
10117 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
10119         * vc-hg.el (vc-hg-print-log): Fix argument order.
10120         (vc-hg-working-revision): Make sure the command is executed in a
10121         known environment so that we can parse the output.  (Bug#4417)
10123 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
10125         * progmodes/python.el (python-symbol-completions): Remove text
10126         properties from symbol string before calling python-send-receive.
10128 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
10130         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
10131         when there are values for both file and line.  (Bug#5060)
10133 2009-12-14  Juri Linkov  <juri@jurta.org>
10135         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
10136         whitespace after the file name of the first line of unified format,
10137         because git-diff doesn't output whitespace and file modification time
10138         after the file name.
10140 2009-12-14  David Kastrup  <dak@gnu.org>
10142         * info.el (Info-hide-cookies-node): Before hiding a cookie,
10143         check if it already has the `display' property added by
10144         `Info-display-images-node', and not put the `invisible' property
10145         in this case.
10147 2009-12-13  Glenn Morris  <rgm@gnu.org>
10149         * mail/emacsbug.el (message-sort-headers): Define for compiler.
10150         (report-emacs-bug): In message-mode, sort manually before storing
10151         original report text.  (Bug#5178)
10152         Remove superfluous save-excursion.
10154 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
10156         * net/dbus.el (dbus-property-handler): Filter lambda forms out
10157         when responding to "GetAll" properties.
10159 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
10161         * simple.el (compose-mail): Remove mail-setup-with-from from
10162         customization checks.
10164 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
10166         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
10167         RAR archives created on Unix systems.
10169 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10171         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
10172         the varalias that was accidentally removed by the 2009-11-19 change
10173         (bug#5186).
10175 2009-12-12  Kenichi Handa  <handa@m17n.org>
10177         * language/indian.el (indian-compose-regexp): New function.
10178         (malayalam-composable-pattern): Fix the pattern.
10179         (composition-function-table): Set malayalam-composable-pattern for
10180         Malayalam characters.
10182 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
10184         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
10185         rather than down-mouse-1, based on follow-link conventions.
10187         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
10188         are compiled.
10190 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
10192         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
10193         (verilog-vmm-statement-re, verilog-ovm-statement-re)
10194         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
10195         (verilog-leap-to-head, verilog-backward-token):
10196         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
10198 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
10200         * progmodes/verilog-mode.el (verilog-auto-lineup)
10201         (verilog-nameable-item-re): Cleanup user-visible spelling and
10202         documentation errors.  One reported by Gary Delp.
10203         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
10204         (verilog-read-decls): Fix AUTOWIRE with types declared in a
10205         package, bug195.  Reported by Pierre-David Pfister.
10207 2009-12-11  Glenn Morris  <rgm@gnu.org>
10209         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
10211         * mail/emacsbug.el: No longer require sendmail.
10212         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
10213         (report-emacs-bug-orig-text): Doc fix.
10214         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
10215         New local variables, to adapt to different mail-user-agents.
10216         (report-emacs-bug): Fix test for a gnu.org address.
10217         Use overlays for emphasis, since font-lock defeats 'face property.
10218         Pretest bugs also end up at the newsgroup these days.
10219         Stop message-mode stripping text properties.
10220         Set and use the new buffer-local variables.
10221         (report-emacs-bug-hook): Add doc-string.
10222         Remove some unnecessary save-excursions and simplify.
10223         Use the appropriate hook and send-command.
10225         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
10226         capitalization of some menu entries.
10228 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
10230         * whitespace.el (whitespace-display-char-on):
10231         Ensure `buffer-display-table' is unique when two or more windows are
10232         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
10233         New version 12.1.
10235 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
10237         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
10238         characters in the Attribute field.
10240 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
10242         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
10244 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10246         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
10247         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10248         Disregard autoload-excludes.
10249         (update-directory-autoloads): Obey autoload-excludes here instead.
10250         But don't store its contents in no-autoloads and remove entries that
10251         refer to excludes files.
10253 2009-12-10  Glenn Morris  <rgm@gnu.org>
10255         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
10256         (expand-mail-aliases): Define for compiler.
10258         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
10259         Define for compiler.
10261         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
10262         appropriate for the mail-user-agent in use.
10264 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
10266         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
10268 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
10270         Fix short log parsing and fontification.
10271         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
10272         Fix fontification for the [merge] label.
10274 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
10276         Drop some properties to avoid surprises (bug#5002).
10277         * htmlfontify.el (hfy-ignored-properties): New defcustom.
10278         (hfy-fontify-buffer): Use it.
10280 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10282         Minor cleanup.
10283         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
10284         Adjust all callers.
10285         (ffap-locate-file): Remove unused arg `dir-ok' and make other
10286         args compulsory.  Adjust callers.
10287         (ffap-gopher-at-point): Remove unused var `name'.
10289         Get rid of the ELCFILES abomination.
10290         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10291         (compile-elcfiles): New phony target.
10292         (compile-main): Compute ELCFILES dynamically.
10293         (compile-clean): New target to remove left-over elc files.
10294         (compile, all): Use it.
10296 2009-12-09  Kenichi Handa  <handa@etlken>
10298         * international/mule-diag.el: Require help-mode instead of help-fns.
10300 2009-12-09  Kenichi Handa  <handa@m17n.org>
10302         * international/mule-cmds.el (ucs-names): Supply sufficiently
10303         fine ranges instead of pre-calculating accurate ranges.
10304         Iterate with bigger gc-cons-threshold.
10306 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
10308         Add support for stashing a snapshot of the current tree.
10309         * vc-git.el (vc-git-stash-snapshot): New function.
10310         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
10312 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
10314         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
10315         instead of `(beginning|end)-of-line'.
10317 2009-12-08  Glenn Morris  <rgm@gnu.org>
10319         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
10321         * Makefile.in (ELCFILES): Regenerate.
10323 2009-12-07  Juri Linkov  <juri@jurta.org>
10325         Don't lazy-highlight the comint output in history Isearch mode.
10327         * comint.el (comint-history-isearch-search): Instead of
10328         `comint-line-beginning-position', use `comint-after-pmark-p'
10329         to check if point if before the process mark, and go to
10330         `process-mark' in this case.
10332 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10334         * textmodes/tex-mode.el (latex-complete)
10335         (latex-indent-or-complete): Remove.
10336         (latex-mode): Set completion-at-point-functions instead.
10338         Provide a standard completion command and hook it into TAB.
10339         * minibuffer.el (completion-at-point-functions): New var.
10340         (completion-at-point): New command.
10341         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
10342         * progmodes/python.el (python-mode-map): Use completion-at-point.
10343         (python-completion-at-point): Rename from python-partial-symbol and
10344         adjust for use in completion-at-point-functions.
10345         (python-mode): Setup completion-at-point for Python completion.
10346         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
10347         extracted from lisp-complete-symbol.
10348         (lisp-complete-symbol): Use it.
10349         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
10350         setup completion-at-point for Elisp completion.
10351         (emacs-lisp-mode-map, lisp-interaction-mode-map):
10352         Use completion-at-point.
10353         * ielm.el (ielm-map): Use completion-at-point.
10354         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
10355         * progmodes/sym-comp.el: Move to...
10356         * obsolete/sym-comp.el: Move from progmodes.
10358 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
10360         Prevent save-buffer in Rmail buffers from using the coding-system
10361         of the current message, and from clobbering the encoding mnemonics
10362         in the mode line (Bug#4623).
10364         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
10365         flag, too.
10366         (rmail-message-encoding): New variable.
10367         (rmail-write-region-annotate): Record the encoding of the current
10368         message in rmail-message-encoding.
10369         (rmail-after-save-hook): New function, restores the encoding of
10370         the current message after the message collection is saved.
10372 2009-12-07  Juri Linkov  <juri@jurta.org>
10374         * progmodes/grep.el (grep-read-files): Use `completing-read'
10375         instead of `read-string'.  Set its `collection' arg to
10376         `read-file-name-internal'.  (Bug#4301)
10378 2009-12-07  Juri Linkov  <juri@jurta.org>
10380         Correctly restore original Isearch point.  (Bug#4994)
10382         * isearch.el (isearch-mode): Move `isearch-push-state' after
10383         `(run-hooks 'isearch-mode-hook)'.
10384         (isearch-cancel): When `isearch-push-state-function' is defined,
10385         let-bind `isearch-cmds' to the first state (the last element of
10386         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
10387         function and restores the original point).  Otherwise, move point
10388         to `isearch-opoint'.
10390 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10392         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
10393         chars that don't have names, so the table can be built much faster at
10394         run-time.
10396 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
10398         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
10399         change.  Suggested by David Kastrup.
10401         * simple.el (compose-mail): Check for incompatibilities and warn.
10402         (compose-mail-user-agent-warnings): New option.
10404 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
10406         Support showing a single log entry from vc-annotate.
10407         * vc.el (print-log): Add a new argument: START-REVISION.
10408         (vc-print-log-internal): Add a new optional argument and
10409         pass it to the backend.
10410         (vc-print-log, vc-print-root-log): Adjust callers.
10411         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
10412         buffer already displays the requested log entry, use it.
10413         Otherwise display only the log entry in question.
10414         * vc-svn.el (vc-svn-print-log):
10415         * vc-mtn.el (vc-mtn-print-log):
10416         * vc-hg.el (vc-hg-state):
10417         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
10418         (vc-git-show-log-entry): Return t on success.
10419         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
10420         (vc-bzr-show-log-entry): Return t on success.
10421         * vc-rcs.el (vc-rcs-print-log):
10422         * vc-sccs.el (vc-sccs-print-log):
10423         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
10425 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
10427         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
10428         Add menus to the meta mode.  (Bug#5043)
10430 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
10432         * ediff-init.el (ediff-event-key): Use event-to-character instead of
10433         event-key.
10435         * ediff.el (ediff-buffers-internal): Add unwind-protect.
10437 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
10439         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
10440         Berbain <raphael.berbain@gmail.com>.
10442         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
10443         characters.
10444         (tramp-initial-end-of-output): New defconst.
10445         (tramp-methods, tramp-find-shell)
10446         (tramp-open-connection-setup-interactive-shell)
10447         (tramp-maybe-open-connection): Use it.
10448         (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
10449         existence of `#' and `$'.
10451         * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
10452         `tramp-initial-end-of-output'.
10454 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
10456         Get the background mode from the terminal for xterm, and set
10457         faces accordingly.
10458         * term/xterm.el (xterm-set-background-mode): New function.
10459         (terminal-init-xterm): Use it in case xterm supports background
10460         color queries.  Recompute faces after getting the background
10461         color.
10463 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
10465         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
10466         number comment back on its own line, for easier parsing.
10468 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10470         Make it work for non-file buffers (bug#5102).
10471         * doc-view.el (doc-view-current-cache-dir):
10472         Use doc-view-buffer-file-name rather than buffer-file-name.
10473         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
10475 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
10477         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
10478         author field is too short.
10480 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
10482         * vc-git.el (vc-git-print-log): Handle a limit argument.
10483         Display the short log in graph form and with labels.
10484         (vc-git-log-view-mode): Handle labels.
10486         Make vc-revert change VC state from 'added to 'unregistered.
10487         * vc-git.el (vc-git-revert): Call git reset first.
10489 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
10491         * net/newst-backend.el, net/newst-plainview.el:
10492         * net/newst-reader.el, net/newst-ticker.el:
10493         * net/newst-treeview.el, net/newsticker.el:
10494         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
10496 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
10498         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
10500         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
10501         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
10502         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
10503         Update annotation regexp.
10505         * simple.el (beginning-of-visual-line): Constrain to field
10506         boundaries (Bug#5106).
10508 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
10510         * xml.el (xml-substitute-numeric-entities): Move
10511         newsticker--decode-numeric-entities in newst-backend.el to
10512         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
10513         * net/newst-backend.el (newsticker--parse-generic-feed)
10514         (newsticker--parse-generic-items)
10515         (newsticker--decode-numeric-entities): Move
10516         newsticker--decode-numeric-entities in newst-backend.el to
10517         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
10519 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
10521         * progmodes/js.el (js--js-not): Add null to the list of values.
10523 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
10525         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
10527 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
10529         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
10530         delimiter if it is at the end of the current line.
10531         (bibtex-generate-url-list): Fix docstring.
10533 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10535         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
10536         minibuffer's content with itself.
10537         Fold the confirm-after-completion case into the `confirm' case.
10538         (completion-pcm-word-delimiters): Add : and / to the delimiters.
10540 2009-12-06  Kevin Ryde  <user42@zip.com.au>
10542         * ffap.el (ffap-rfc-path): Make this a defcustom since
10543         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
10545         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
10546         manuals, similar to existing setup for help-mode.  (Bug#3913.)
10548 2009-12-05  Juri Linkov  <juri@jurta.org>
10550         Save and restore dired buffer's point positions too.  (Bug#4880)
10552         * dired.el (dired-save-positions): Return in the first element
10553         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
10554         Doc fix.
10555         (dired-restore-positions): First restore buffer's position.
10556         While restoring window's positions, check if window still displays
10557         the original buffer.
10559 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
10561         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
10562         if possible.
10564         * shell.el (shell): Require ansi-color (Bug#5113).
10566         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
10568         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
10570 2009-12-05  Alan Mackenzie  <acm@muc.de>
10572         * progmodes/cc-mode.el (c-before-hack-hook)
10573         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
10574         `c-file-style' to work again.  This reversion restores the current
10575         software to its state in Emacs 23.1.  (Bug#4146)
10577 2009-12-05  Kevin Ryde  <user42@zip.com.au>
10579         * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
10580         comment-start-skip to comment-end-skip as comment (Bug#4781).
10582 2009-12-05  Juri Linkov  <juri@jurta.org>
10584         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
10585         for virtual nodes.  (Bug#4147)
10586         (Info-find-node-2): Set `Info-current-node-virtual' to nil
10587         when moving from a virtual node.
10588         (Info-mode-menu): Add `Info-virtual-index' to the menu.
10589         (Info-mode): Add `Info-virtual-index' to the docstring.
10591 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
10593         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
10594         track of the buffer position of the end of a BibTeX entry as this
10595         position may change during reformatting.
10596         (bibtex-format-entry): Remove whitespace before processing
10597         numerical fields so that we recognize the latter properly.
10598         (bibtex-reformat): Do not use push which changes the global value
10599         of bibtex-entry-format.
10600         (bibtex-field-braces-alist, bibtex-field-strings-alist)
10601         (bibtex-field-re-init): Replace only space characters by regexp
10602         for whitespace.
10603         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
10604         (bibtex-initialize): Also update bibtex-strings.
10605         (bibtex-kill-field): Preserve white space at end of entry.
10606         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
10607         Update bibtex-reference-keys.
10609 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10611         * minibuffer.el (completion-pcm--merge-try): Also consider placing
10612         point after a star, if that's the only place where modifications can
10613         make progress.
10615 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
10617         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
10618         in docstrings.
10620 2009-12-04  Juri Linkov  <juri@jurta.org>
10622         * proced.el (proced): Call `(proced-update t)' to update process
10623         information instead of only running proced-post-display-hook.
10624         (proced-send-signal): Add a leading space to the buffer name
10625         " *Marked Processes*" to make this buffer ephemeral.
10627 2009-12-04  Juri Linkov  <juri@jurta.org>
10629         * dired.el (dired-auto-revert-buffer): New defcustom.
10630         (dired-internal-noselect): Use it.
10632 2009-12-04  Juri Linkov  <juri@jurta.org>
10634         Change roles of modes and functions in image-mode.el (Bug#5062).
10636         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
10637         in `auto-mode-alist'.
10638         (image-mode-previous-major-mode): New variable.
10639         (image-minor-mode-map): Rename from `image-mode-text-map'.
10640         (image-mode): Move graceful error-handling code from
10641         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
10642         (image-minor-mode): Remove all image-handling code.
10643         Replace `image-mode-text-map' with `image-minor-mode-map'.
10644         Check for `image-type' in mode-line format string.
10645         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
10646         (image-mode-as-text): New function with most code from
10647         `image-mode-maybe'.
10648         (image-toggle-display-text): Move code that removes image
10649         properties from `image-toggle-display' to here.
10650         (image-toggle-display-image): New function with code that adds
10651         image properties copied from `image-toggle-display'.
10652         (image-toggle-display): Remove most code with leaving only code
10653         that toggles between `image-mode-as-text' and `image-mode'.
10655 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
10657         * net/newst-treeview.el
10658         (newsticker--treeview-list-highlight-start): Restored call to
10659         save-excursion: Selected item was stuck.
10660         (newsticker--treeview-list-select): New.
10661         (newsticker--treeview-item-show-text)
10662         (newsticker--treeview-item-show)
10663         (newsticker--treeview-item-update): Use new
10664         newsticker-treeview-item-mode.
10665         (newsticker-treeview-update): Keep current item.
10666         (newsticker-treeview-next-new-or-immortal-item): Doc change.
10667         (newsticker--treeview-first-feed): Doc change.
10668         (newsticker-treeview-list-menu)
10669         (newsticker-treeview-item-menu): Added menu entries.
10670         (newsticker-treeview-item-mode): New.
10672         * net/newst-backend.el (newsticker-customize): Delete other
10673         windows.
10675 2009-12-04  Sam Steingold  <sds@gnu.org>
10677         * log-view.el (log-view-mode-map): "q" calls quit-window,
10678         like in all the other non-self-insert buffers.
10680 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10682         Minor cleanup.
10683         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
10684         key decoding rather than do it manually via last-input-event +
10685         ascii-character.
10686         (term-exec): Use delete-and-extract-region.
10687         (term-handle-ansi-terminal-messages): Remove unused var `end'.
10688         (term-process-pager): Remove unused var `i'.
10689         (term-dynamic-simple-complete): Make obsolete.
10690         (serial-update-config-menu): Remove unused vars `y' and `str'.
10691         (term-update-mode-line): Remove unused var `temp'.
10693 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
10695         Limit the number of log entries displayed by default.
10696         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
10697         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
10698         using a prefix argument.
10700 2009-12-03  Glenn Morris  <rgm@gnu.org>
10702         * progmodes/idlwave.el (class): Restore still useful declaration.
10704 2009-12-03  Alan Mackenzie  <acm@muc.de>
10706         Enhance `c-parse-state' to run efficiently in "brace deserts".
10708         * progmodes/cc-mode.el (c-basic-common-init):
10709         Call c-state-cache-init.
10710         (c-neutralize-syntax-in-and-mark-CPP): Rename from
10711         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
10712         placing `category' properties value 'c-cpp-delimiter at its boundaries.
10714         * progmodes/cc-langs.el (c-before-font-lock-function):
10715         c-extend-and-neutralize-syntax-in-CPP has been renamed
10716         c-neutralize-syntax-in-and-mark-CPP.
10718         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
10719         with `category' properties now, not `syntax-table' ones.
10721         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
10722         enhanced (but slower) version of c-end-of-macro that won't land
10723         inside a literal or on another awkward character.
10724         (c-state-cache-too-far, c-state-cache-start)
10725         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
10726         (c-state-nonlit-pos-cache-limit, c-state-point-min)
10727         (c-state-point-min-lit-type, c-state-point-min-lit-start)
10728         (c-state-min-scan-pos, c-state-brace-pair-desert)
10729         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
10730         buffer local variables.
10731         (c-state-literal-at, c-state-lit-beg)
10732         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
10733         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
10734         (c-state-cache-top-paren, c-state-cache-after-top-paren)
10735         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
10736         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
10737         (c-renarrow-state-cache)
10738         (c-append-lower-brace-pair-to-state-cache)
10739         (c-state-push-any-brace-pair, c-append-to-state-cache)
10740         (c-remove-stale-state-cache)
10741         (c-remove-stale-state-cache-backwards, c-state-cache-init)
10742         (c-invalidate-state-cache-1, c-parse-state-1)
10743         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
10744         (c-parse-state): Enhance and refactor.
10745         (c-debug-parse-state): Amend to deal with all the new variables.
10747         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
10748         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
10749         modify to use category text properties rather than syntax-table ones.
10750         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
10751         to switch off/on the syntactic paren property of C++ template
10752         delimiters using the category property.
10753         (c-with-<->-as-parens-suppressed): Macro to invoke code with
10754         template delims suppressed.
10755         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
10756         New constant/macros which apply category properties to the start
10757         and end of preprocessor constructs.
10758         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
10759         "comment out" the syntactic value of characters in preprocessor
10760         constructs.
10761         (c-with-cpps-commented-out)
10762         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
10763         with characters in all or all but one preprocessor constructs
10764         "commented out".
10766 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
10768         * proced.el (proced-filter-alist): Use regexp-quote.
10770 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
10772         Cleanup.
10773         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
10774         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
10775         arguments.  Expand `default-directory'.
10777         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
10778         the benefit of returning an expanded localname.
10779         (tramp-tramp-file-p): Handle the case NAME is not a string.
10781 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
10783         Add support for bzr shelve/unshelve.
10784         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10785         (vc-bzr-extra-menu-map): New variables.
10786         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
10787         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
10788         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
10789         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
10790         (vc-bzr-dir-extra-headers): Display shelves.
10792         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
10794 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10796         * textmodes/bibtex.el (bibtex-complete-internal):
10797         Use completion-in-region.
10798         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
10800 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
10802         Support applying stashes.  Improve UI.
10803         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
10804         (vc-git-stash-apply, vc-git-stash-pop)
10805         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
10806         (vc-git-stash-menu): New functions.
10807         (vc-git-stash-menu-map): New variable.
10808         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
10810 2009-12-03  Glenn Morris  <rgm@gnu.org>
10812         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
10813         (vc-print-log-internal): Fix previous change.
10814         (vc-revert): Correct pluralization.
10816 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10818         * progmodes/make-mode.el (makefile-special-targets-list): No need for
10819         it to be an alist any more.
10820         (makefile-complete): Use completion-in-region.
10822         * progmodes/octave-mod.el (octave-complete-symbol):
10823         Use completion-in-region.
10825         Misc cleanup.
10826         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
10827         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
10828         (idlwave-complete-class): Don't quote lambda.
10829         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
10830         (idlwave-mode-map): Move initialization into declaration.
10831         (idlwave-action-and-binding): Use backquotes.
10832         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
10833         Simplify.
10834         (idlwave-is-pointer-dereference): Remove unused var `pos'.
10835         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
10836         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
10837         `parts', and `all-parts'.
10838         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
10839         (idlwave-convert-xml-system-routine-info): Remove unused string
10840         `version-string'.
10841         (idlwave-display-user-catalog-widget): Use dolist.
10842         (idlwave-scanning-lib): Declare dynamically-scoped var.
10843         (idlwave-scan-library-catalogs): Remove unused var `flags'.
10844         (completion-highlight-first-word-only): Declare to silence bytecomp.
10845         (idlwave-popup-select): Tighten scope of `resp'.
10846         (idlwave-find-struct-tag): Remove unused var `beg'.
10847         (idlwave-after-load-rinfo-hook): Declare.
10848         (idlwave-sintern-class-info): Remove unused var `taglist'.
10849         (idlwave-find-class-definition): Remove unused var `list'.
10850         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
10851         (idlwave-what-module-find-class): Remove unused var `classes'.
10853 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
10855         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
10857 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10859         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
10860         buffers visited.  Remove redundant current-buffer-saving.
10862 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10864         Use completion-in-buffer and remove uses of dynamic scoping.
10865         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
10866         (pascal-buffer-to-use, pascal-flag): Don't declare.
10867         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
10868         (pascal-get-completion-decl, pascal-keyword-completion):
10869         Add `pascal-str' argument, save-excursion,
10870         return the found completions, and don't filter with pascal-pred.
10871         (pascal-completion-cache): New var.
10872         (pascal-completion): Don't switch buffer any more (it was never
10873         necessary).  Don't save-excursion any more (it's done by the called
10874         subroutines).  Use a cache to avoid redundant computations.
10875         Use complete-with-action rather than pascal-completion-response and
10876         let it apply the predicate as well.
10877         (pascal-complete-word): Use completion-in-buffer when
10878         pascal-toggle-completions is nil.
10879         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
10880         not used any more.
10881         (pascal-comp-defun): Don't change buffer any more.
10882         Use complete-with-action rather than pascal-completion-response and
10883         let it apply the predicate as well.
10884         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
10885         when neded.
10887 2009-12-02  Kenichi Handa  <handa@m17n.org>
10889         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
10890         shape for all Indic scripts.
10892 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10894         Use completion-in-buffer.
10895         * wid-edit.el (widget-field-text-end): New function.
10896         (widget-field-value-get): Use it.
10897         (widget-string-complete, widget-file-complete)
10898         (widget-color-complete): Use it and completion-in-region.
10899         (widget-complete): Don't narrow the buffer.
10901 2009-12-02  Glenn Morris  <rgm@gnu.org>
10903         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
10904         (rmail-select-summary): Use rmail-pop-to-buffer.
10905         * mail/rmailsum.el: Replace all pop-to-buffer calls with
10906         rmail-pop-to-buffer, to prevent horizontal splits.
10908         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
10909         save-excursion with save-current-buffer.
10910         Widen before searching.  (Bug#5093)
10911         (diary-list-sexp-entries): Remove superfluous save-excursion.
10913 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
10915         * woman.el (woman-make-bufname): Handle man-pages with "." in the
10916         name.  (Bug#5038)
10918 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
10920         * ido.el (ido-file-internal): Handle filenames at point that do
10921         not have a directory part.  (Bug#5049)
10923 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
10925         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
10926         (mpc-songs-jump-to, mpc-resume): Doc fixes.
10928 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
10930         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
10931         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
10932         any more.
10934 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10936         * comint.el (comint-insert-input): Ignore clicks to the right of
10937         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
10939         * vc.el (vc-print-log-internal): Don't wait for the process to
10940         terminate before setting up the major mode.
10942         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
10943         in case.
10945         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
10946         the last element.
10948         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
10950 2009-12-01  Glenn Morris  <rgm@gnu.org>
10952         * window.el (window--display-buffer-2): Fix previous changes.
10954 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
10956         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
10958 2009-12-01  Glenn Morris  <rgm@gnu.org>
10960         * Makefile.in (ELCFILES): Add mpc.elc.
10962 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10964         * mpc.el: New file.
10966 2009-12-01  Glenn Morris  <rgm@gnu.org>
10968         * window.el (window-to-use): Define for compiler.
10970         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
10971         consistent with others (no final period).
10973         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
10974         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
10976 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
10978         Make vc-print-log buttons work.
10979         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
10981 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
10983         * savehist.el (savehist-autosave-interval): Allow setting to nil
10984         through customize.  (Bug#5056)
10986 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
10988         Fix references to jit-lock properties.
10989         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
10990         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
10991         (perl-font-lock-special-syntactic-constructs):
10992         Quote jit-lock-defer-multiline property.
10994 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
10996         * vc-git.el (vc-git-registered): Call vc-git-root only once.
10998 2009-11-30  Juri Linkov  <juri@jurta.org>
11000         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
11001         value `buffer' of `multi-isearch-next-buffer-current-function'.
11002         Use `(current-buffer)' when `buffer' is nil.
11003         (multi-isearch-next-buffer-from-list): Don't fallback to
11004         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
11006 2009-11-30  Juri Linkov  <juri@jurta.org>
11008         * misearch.el (multi-isearch-read-buffers): Move canonicalization
11009         of buffers with `get-buffer' to `multi-isearch-buffers'.
11010         (multi-isearch-buffers, multi-isearch-buffers-regexp):
11011         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
11012         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
11013         FILES with `expand-file-name' converting relative file names
11014         to absolute.  Doc fix.  (Bug#4727)
11016 2009-11-30  Juri Linkov  <juri@jurta.org>
11018         * misearch.el (multi-isearch-read-buffers)
11019         (multi-isearch-read-matching-buffers): New functions.
11020         (multi-isearch-buffers, multi-isearch-buffers-regexp):
11021         Use them in the `interactive' spec.  Doc fix.
11022         (multi-isearch-read-files, multi-isearch-read-matching-files):
11023         New functions.
11024         (multi-isearch-files, multi-isearch-files-regexp):
11025         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
11027 2009-11-30  Juri Linkov  <juri@jurta.org>
11029         * doc-view.el (doc-view-continuous):
11030         Rename from `doc-view-continuous-mode'.
11031         (doc-view-menu): Move "Toggle display" to the top.
11032         Add submenu "Continuous" with radio buttons "Off"/"On"
11033         and "Save as Default".
11034         (doc-view-scroll-up-or-next-page)
11035         (doc-view-scroll-down-or-previous-page)
11036         (doc-view-next-line-or-next-page)
11037         (doc-view-previous-line-or-previous-page): Rename
11038         `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
11040 2009-11-30  Juri Linkov  <juri@jurta.org>
11042         * comint.el (comint-mode-map): Rebind `M-r' from
11043         `comint-previous-matching-input' to
11044         `comint-history-isearch-backward-regexp'.
11045         Unbind `M-s' to allow global key binding `M-s'.
11046         Add menu items for `comint-history-isearch-backward' and
11047         `comint-history-isearch-backward-regexp'.  (Bug#3746)
11049 2009-11-30  Juri Linkov  <juri@jurta.org>
11051         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
11052         For def=recenter, replace `recenter' with `recenter-top-bottom'
11053         that is called with `this-command' and `last-command' let-bound
11054         to `recenter-top-bottom'.  When the last `def' was not `recenter',
11055         set `recenter-last-op' to nil.  (Bug#4981)
11057 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11059         Minor cleanup and simplification.
11060         * filecache.el (file-cache-add-directory)
11061         (file-cache-add-directory-recursively)
11062         (file-cache-add-from-file-cache-buffer)
11063         (file-cache-delete-file-regexp, file-cache-delete-directory)
11064         (file-cache-files-matching-internal, file-cache-display): Use dolist.
11065         (file-cache-temp-minibuffer-message): Delete function.
11066         (file-cache-minibuffer-complete): Use minibuffer-message instead.
11068         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
11069         Don't signal an error when bumping into EOB in tr, s, or y.
11071 2009-11-29  Juri Linkov  <juri@jurta.org>
11073         * startup.el (fancy-about-text): Fix wording of Guided Tour.
11074         (Bug#4960)
11076         * descr-text.el (describe-char-unidata-list): Use lowercase name
11077         for "Unicode name" like in other tags.
11079 2009-11-29  Juri Linkov  <juri@jurta.org>
11081         * ediff-util.el (ediff-minibuffer-with-setup-hook):
11082         New compatibility macro.
11083         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
11085 2009-11-29  Juri Linkov  <juri@jurta.org>
11087         Add defcustom to define the cycling order of `recenter-top-bottom'.
11088         (Bug#4981)
11090         * window.el (recenter-last-op): Doc fix.
11091         (recenter-positions): New defcustom.
11092         (recenter-top-bottom): Rewrite to use `recenter-positions'.
11093         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
11095 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
11097         Improve integration of Tramp and ange-ftp in eshell.
11099         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
11100         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
11101         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
11103         * eshell/esh-util.el (top): Require also Tramp when compiling.
11104         (eshell-directory-files-and-attributes): Check for FTP remote
11105         connection.
11106         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
11107         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
11108         (eshell-file-attributes): Handle ".".  Return `entry'.
11110         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
11111         (ange-ftp-directory-files-and-attributes)
11112         (ange-ftp-real-directory-files-and-attributes): New defuns.
11114         * net/tramp.el (tramp-maybe-open-connection): Open the remote
11115         shell with "exec" when possible.  This prevents trailing prompts
11116         in `start-file-process'.
11118 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11120         Try and remove assumptions about point-min==1.
11121         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
11122         (rng-compute-mode-line-string): Show the validation percentage in
11123         terms of the narrowed text, not the widened text.
11124         (rng-do-some-validation): Don't catch internal errors when debugging.
11125         (rng-first-error): Simplify.
11126         (rng-after-change-function): Remove work around.  AFAIK the bug has
11127         been fixed a while ago.
11129         * image-mode.el (image-minor-mode): Exit more gracefully when the image
11130         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
11132         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
11134         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
11135         `cd' doesn't always do it for us (bug#5067).
11137         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
11138         on 2009-10-25 as part of some other change (bug#5067).
11140 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11142         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
11143         `suspicious'.
11144         (byte-compile-warnings): Use byte-compile-warning-types.
11145         (byte-compile-save-excursion): Warn about use of set-buffer right
11146         after save-excursion.
11148         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
11149         the excursion as well.
11151 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
11153         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
11154         providing a Tramp related implementation of "su" and "sudo".
11155         (eshell-unix-initialize): Add "su" and "sudo".
11157 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
11159         * net/socks.el (socks-send-command): Convert binary request to
11160         unibyte before sending.  This fixes mishandling of some port
11161         numbers such as 129.
11163 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11165         * help.el (describe-bindings-internal): Remove `interactive'.
11167         * man.el (Man-completion-table): Trim a terminating "(".
11168         Remove the space between name page a section.
11169         Add the command's description on the `help-echo' property.
11170         Remove `process-connection-type' binding since it's unused by
11171         call-process.
11172         Provide completion for the "<section> <name>" format as well.
11173         (Man-default-man-entry): Remove spurious var shadowing the argument.
11175 2009-11-26  Kevin Ryde  <user42@zip.com.au>
11177         * log-view.el: Add "Keywords: tools", since its other keywords
11178         aren't in finder-known-keywords, and following vc.el.
11180         * sha1.el (sha1-string-external): default-directory "/" in case
11181         otherwise non-existent.  process-connection-type pipe for touch of
11182         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
11184 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11186         Misc coding convention cleanups.
11187         * htmlfontify.el (hfy-init-kludge-hook): Rename from
11188         hfy-init-kludge-hooks.
11189         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
11190         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
11191         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
11192         and push.
11193         (hfy-slant, hfy-weight): Use tables rather than code.
11194         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
11195         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
11196         (hfy-face-attr-for-class): Initialize `face-spec' directly.
11197         (hfy-face-to-css): Remove `nconc' with single arg.
11198         (hfy-p-to-face-lennart): Use `or'.
11199         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
11200         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
11201         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
11202         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
11203         (hfy-force-fontification): Use run-hooks.
11205 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
11207         Various minor fixes.
11208         * htmlfontify.el (hfy-default-header): Add toggle_invis since
11209         Javascript belongs in the header, not the body.
11210         (hfy-javascript): Remove.
11211         (hfy-fontify-buffer): Don't insert it any more.
11212         (hfy-face-at): Handle (face0 face1 face2) style face properties.
11213         Fix bug in invis handling when there were no invis props in a chunk.
11215 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11217         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
11219 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
11221         * finder.el (finder-mode-map): Add a menu.
11223 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
11225         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
11226         "unsigned" structs.
11228         (verilog-leap-to-head, verilog-backward-token): Handle "disable
11229         fork" statement better.
11231 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
11233         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
11234         (verilog-delete-auto, verilog-delete-empty-auto-pair)
11235         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
11236         Reported by Clay Douglass.
11238         (verilog-auto-inst, verilog-auto-star-safe)
11239         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
11240         Fix removing "// Interfaces" when saving .* expansions.  Reported by
11241         Pierre-David Pfister.
11243 2009-11-26  Glenn Morris  <rgm@gnu.org>
11245         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
11246         the scope.
11248 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
11250         * vc-annotate.el (vc-annotate-revision-previous-to-line):
11251         Really use previous revision.
11253 2009-11-25  Kevin Ryde  <user42@zip.com.au>
11255         * man.el (Man-completion-table): default-directory "/" in case
11256         doesn't otherwise exist.  process-environment COLUMNS=999 so as
11257         not to truncate long names.  process-connection-type pipe to avoid
11258         any chance of hitting the pseudo-tty TIOCGWINSZ.
11259         (man): completion-ignore-case t for friendliness and since man
11260         itself is case-insensitive on the command line.
11261         Further to Bug#3717.
11263         * arc-mode.el: Add "Keywords: files", so the details in its
11264         commentary can be reached from finder-by-keyword.
11265         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
11266         editing mode, but it's comms related and sgml-mode.el has "comm"
11267         on that basis too.
11268         * textmodes/bibtex-style.el: Add "Keywords: tex".
11269         * international/isearch-x.el, international/ja-dic-cnv.el:
11270         * international/ja-dic-utl.el, international/kkc.el:
11271         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
11273 2009-11-25  Juri Linkov  <juri@jurta.org>
11275         * man.el (Man-completion-table): Modify regexp to include
11276         section names to completion strings.  (Bug#3717)
11278 2009-11-25  Juri Linkov  <juri@jurta.org>
11280         Search recursively in gzipped files.  (Bug#4982)
11282         * progmodes/grep.el (grep-highlight-matches): Add new options
11283         `always' and `auto'.  Doc fix.
11284         (grep-process-setup): Check `grep-highlight-matches' for
11285         `auto-detect' to determine the need to compute grep defaults.
11286         Move Windows/DOS specific --colors settings handling
11287         to `grep-compute-defaults'.  Check `grep-highlight-matches'
11288         to get the value of "--color=".
11289         (grep-compute-defaults): Compute `grep-highlight-matches' when it
11290         has the value `auto-detect'.  Move Windows/DOS specific settings
11291         from `grep-process-setup'.
11292         (zrgrep): New command with alias `rzgrep'.
11294 2009-11-25  Juri Linkov  <juri@jurta.org>
11296         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
11297         to nil instead of switching off view-mode.  (Bug#4896)
11299 2009-11-25  Juri Linkov  <juri@jurta.org>
11301         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
11303         * mwheel.el (mwheel-scroll-up-function)
11304         (mwheel-scroll-down-function): New defvars.
11305         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
11306         `scroll-up', and `mwheel-scroll-down-function' instead of
11307         `scroll-down'.
11309         * doc-view.el (doc-view-scroll-up-or-next-page)
11310         (doc-view-scroll-down-or-previous-page): Add optional ARG.
11311         Use this ARG in the call to image-scroll-up/image-scroll-down.
11312         Change `interactive' spec to "P".  Goto next/previous page only
11313         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
11314         SPC/DEL case).  Doc fix.
11315         (doc-view-next-line-or-next-page)
11316         (doc-view-previous-line-or-previous-page): Rename arg to ARG
11317         for consistency.
11318         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
11319         `doc-view-scroll-up-or-next-page', and buffer-local
11320         `mwheel-scroll-down-function' to
11321         `doc-view-scroll-down-or-previous-page'.
11323 2009-11-25  Juri Linkov  <juri@jurta.org>
11325         Provide additional default values (directories at other Dired
11326         windows) via M-n in the minibuffer of some Dired commands.
11328         * dired-aux.el (dired-diff, dired-compare-directories)
11329         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
11330         `minibuffer-default' in `minibuffer-with-setup-hook'.
11331         (dired-dwim-target-directory): Find a window that displays Dired
11332         buffer instead of failing when the next window is not Dired.
11333         Use `get-window-with-predicate' to find for the next Dired window.
11334         (dired-dwim-target-defaults): New function.
11336         * ediff-util.el (ediff-read-file-name):
11337         Use `dired-dwim-target-defaults' to set `minibuffer-default'
11338         in `minibuffer-with-setup-hook'.
11340 2009-11-25  Juri Linkov  <juri@jurta.org>
11342         Provide additional default values (file name at point or at the
11343         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
11345         * minibuffer.el (read-file-name-defaults): New function.
11346         (read-file-name): Reset `minibuffer-default' to nil when
11347         it duplicates initial input `insdef'.
11348         Bind `minibuffer-default-add-function' to lambda that
11349         calls `read-file-name-defaults' in `minibuffer-selected-window'.
11350         (minibuffer-insert-file-name-at-point): New command.
11352         * files.el (file-name-at-point-functions): New defcustom.
11353         (find-file-default): Remove defvar.
11354         (find-file-read-args): Don't use `find-file-default'.
11355         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
11356         to `read-file-name'.
11357         (find-file-literally): Use `read-file-name' with
11358         `confirm-nonexistent-file-or-buffer'.
11360         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
11362         * dired.el (dired-read-dir-and-switches):
11363         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
11364         to `read-file-name'.
11365         (dired-file-name-at-point): New function.
11366         (dired-mode): Add hook `dired-file-name-at-point' to
11367         `file-name-at-point-functions'.
11369 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11371         Really make the *Completions* window soft-dedicated (bug#5030).
11372         * window.el (window--display-buffer-2): Add `dedicated' argument.
11373         (display-buffer): Pass it when needed so the dedicated flag is set
11374         after calling set-window-buffer, which would otherwise reset it.
11376 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11378         * progmodes/meta-mode.el (meta-complete-symbol):
11379         * progmodes/etags.el (complete-tag):
11380         * mail/mailabbrev.el (mail-abbrev-complete-alias):
11381         Use completion-in-region.
11383         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
11384         (dabbrev-completion): Use completion-in-region.
11385         (dabbrev--abbrev-at-point): Simplify regexp.
11387         * abbrev.el (abbrev--before-point): Use word-motion functions
11388         if :regexp is not specified (bug#5031).
11390         * subr.el (string-prefix-p): New function.
11392         * man.el (Man-completion-cache): New var.
11393         (Man-completion-table): Use it.
11395         * vc.el (vc-print-log-internal): Make `limit' optional for better
11396         compatibility (e.g. with vc-annotate.el).
11398 2009-11-24  Kevin Ryde  <user42@zip.com.au>
11400         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
11401         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
11403         * emacs-lisp/elint.el (elint-add-required-env): Better error message
11404         when .el source file not found or other error.
11406 2009-11-24  Markus Triska  <markus.triska@gmx.at>
11408         * linum.el (linum-update-window): Ignore intangible (bug#4996).
11410 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11412         Handle the [back] button properly (bug#4979).
11413         * descr-text.el (describe-text-properties): Add a `buffer' argument.
11414         Use help-setup-xref, help-buffer, and with-help-window.
11415         (describe-char): Add `buffer' argument.
11416         Pass proper command to help-setup-xref.  Don't meddle with
11417         help-xref-stack-item directly.
11418         (describe-text-category): Use with-help-window and help-buffer.
11420         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
11421         for the displayed buffer (bug#4887).
11423         * man.el (Man-completion-table): New function.
11424         (man): Use it.
11426 2009-11-24  David Reitter  <david.reitter@gmail.com>
11428         * vc-git.el (vc-git-registered): Use checkout directory (where
11429         .git is) rather than the file's directory and a relative path spec
11430         to work around a bug in git.
11432 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
11434         Improve handling of processes on remote hosts.
11436         * eshell/esh-util.el (eshell-path-env): New defvar.
11437         (eshell-parse-colon-path): New defun.
11438         (eshell-file-attributes): Use `eshell-parse-colon-path'.
11440         * eshell/esh-ext.el (eshell-search-path):
11441         Use `eshell-parse-colon-path'.
11442         (eshell-remote-command): Remove argument HANDLER.
11443         (eshell-external-command): Check for FTP remote connection.
11445         * eshell/esh-proc.el (eshell-gather-process-output):
11446         Use `file-truename', in order to start also symlinked files.
11447         Apply `start-file-process' instead of `start-process'.
11448         Shorten `command' to the local file name part.
11450         * eshell/em-cmpl.el (eshell-complete-commands-list):
11451         Use `eshell-parse-colon-path'.
11453         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
11455         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
11456         to `eshell-directory-change-hook'.
11458 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
11460         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
11461         because it could be enabled automatically if view-read-only is non-nil.
11463 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
11465         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
11466         made on 2009-11-22.
11468 2009-11-24  Glenn Morris  <rgm@gnu.org>
11470         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
11471         deleted variable bookmark-bmenu-bookmark-column.
11473 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11475         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
11477 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
11479         * net/browse-url.el (browse-url-filename-alist): On Windows, add
11480         two slashes to the "file:" prefix.
11481         (browse-url-file-url): De-munge Cygwin filenames before passing
11482         them to Windows browser.
11483         (browse-url-default-windows-browser): Use call-process.
11485 2009-11-23  Juri Linkov  <juri@jurta.org>
11487         Implement DocView Continuous mode.  (Bug#4896)
11488         * doc-view.el (doc-view-continuous-mode): New defcustom.
11489         (doc-view-mode-map): Bind C-n/<down> to
11490         `doc-view-next-line-or-next-page', C-p/<up> to
11491         `doc-view-previous-line-or-previous-page'.
11492         (doc-view-next-line-or-next-page)
11493         (doc-view-previous-line-or-previous-page): New commands.
11495 2009-11-23  Juri Linkov  <juri@jurta.org>
11497         Implement Isearch in comint input history.  (Bug#3746)
11498         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
11499         `isearch-mode-hook'.
11500         (comint-history-isearch): New defcustom.
11501         (comint-history-isearch-backward)
11502         (comint-history-isearch-backward-regexp): New commands.
11503         (comint-history-isearch-message-overlay): New buffer-local variable.
11504         (comint-history-isearch-setup, comint-history-isearch-end)
11505         (comint-goto-input, comint-history-isearch-search)
11506         (comint-history-isearch-message, comint-history-isearch-wrap)
11507         (comint-history-isearch-push-state)
11508         (comint-history-isearch-pop-state): New functions.
11510 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
11512         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
11513         return.
11514         (tramp-handle-make-symbolic-link)
11515         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
11516         Quote file names.
11517         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
11518         (tramp-handle-process-file): Use it.
11520 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11522         * window.el (move-to-window-line-last-op): Remove.
11523         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
11525 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
11527         Make M-r mirror the new cycling behavior of C-l.
11528         * window.el (move-to-window-line-last-op): New var.
11529         (move-to-window-line-top-bottom): New command.
11530         (global-map): Bind M-r move-to-window-line-top-bottom.
11532 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
11534         * dired-x.el (dired-guess-shell-alist-default):
11535         Support xz format.  (Bug#4953)
11537 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
11539         * emulation/viper-cmd.el: Use viper-last-command-char instead of
11540         last-command-char/last-command-event.
11541         (viper-prefix-arg-value): Do correct conversion of event-char for
11542         XEmacs.
11544         * emulation/viper-util.el, emulation/viper.el:
11545         Use viper-last-command-char instead of
11546         last-command-char/last-command-event.
11548         * ediff-init.el, ediff-mult.el, ediff-util.el:
11549         Replace last-command-char and last-command-event
11550         with (ediff-last-command-char) everywhere.
11552         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
11553         created in fundamental mode.
11555         * ediff.el (ediff-version): Revert the change of interactive-p to
11556         called-interactively-p.
11558 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
11560         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
11561         generation from word-movement command names.
11563 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
11565         * cus-start.el (all): Add native condition for font-use-system-font.
11567 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
11569         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
11570         Correct the patch from 2009-11-18.  (Bug#3910)
11572 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
11574         * progmodes/subword.el: Rename from lisp/subword.el.
11576         * subword.el: Rename to progmodes/subword.el.
11578         * Makefile.in (ELCFILES): Adapt to subword.el move.
11580 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11581             Stefan Monnier  <monnier@iro.umontreal.ca>
11583         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
11584         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
11585         (bookmark-bmenu-show-filenames): Use push.
11586         (bookmark-bmenu-hide-filenames): Use local var instead of
11587         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
11588         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
11589         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
11590         filenames now that the bookmark names are always available.
11592 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11594         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
11595         (bookmark-search-pattern): Move and leave unbound.
11596         (bookmark-bmenu-mode-map): Change binding.
11597         (bookmark-read-search-input): Simplify.
11598         Don't use text-char-description.  Don't error on non-char events.
11599         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
11600         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
11601         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
11602         Use a local var for the timer.
11603         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
11604         (i.e. bookmark-bmenu-search).
11606 2009-11-21  Glenn Morris  <rgm@gnu.org>
11608         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
11610 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
11612         * net/browse-url.el (browse-url-default-windows-browser):
11613         Use cygstart for cygwin.
11615 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
11617         * bookmark.el: Formatting and doc fixes only:
11618         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
11619         (bookmark-bmenu-search): Wrap to fit within 80 columns.
11620         Minor grammar and punctuation fixes in doc string.
11621         (bookmark-read-search-input): Adjust to fit within 80 columns.
11623 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
11625         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
11626         (c-backward-into-nomenclature): Adapt to subword renaming.
11628         * subword.el (subword-forward, subword-backward, subword-mark)
11629         (subword-kill, subword-backward-kill, subword-transpose)
11630         (subword-downcase, subword-upcase, subword-capitalize)
11631         (subword-forward-internal, subword-backward-internal):
11632         Rename from forward-subword, backward-subword, mark-subword,
11633         kill-subword, backward-kill-subword, transpose-subwords,
11634         downcase-subword, upcase-subword, capitalize-subword,
11635         forward-subword-internal, backward-subword-internal.
11637 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11639         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
11640         New options.
11641         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
11642         New vars.
11643         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
11644         (bookmark-bmenu-filter-alist-by-regexp)
11645         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
11646         (bookmark-bmenu-search): New command.
11647         (bookmark-bmenu-mode-map): Bind it.
11649 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
11651         * progmodes/cc-cmds.el: declare-functioned forward-subword and
11652         backward-subword to quit the byte-compiler.
11654         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
11656         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
11658         * progmodes/cc-cmds.el (c-update-modeline)
11659         (c-forward-into-nomenclature, c-backward-into-nomenclature):
11660         Refer to subword.el functions instead of cc-subword.el.
11662         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
11663         subword.el functions instead of cc-subword.el.
11665         * progmodes/cc-subword.el: Rename to subword.el.
11666         * subword.el: Rename from progmodes/cc-subword.el.
11667         (subword-mode-map): Rename from c-subword-mode-map.
11668         (subword-mode): Rename from c-subword-mode.
11669         (global-subword-mode): New global minor mode.
11670         (forward-subword): Rename from c-forward-subword.
11671         (backward-subword): Rename from c-backward-subword.
11672         (mark-subword): Rename from c-mark-subword.
11673         (kill-subword): Rename from c-kill-subword.
11674         (backward-kill-subword): Rename from c-backward-kill-subword.
11675         (transpose-subwords): Rename from c-tranpose-subword.
11676         (downcase-subword): Rename from c-downcase-subword.
11677         (capitalize-subword): Rename from c-capitalize-subword.
11678         (forward-subword-internal): Rename from c-forward-subword-internal.
11679         (backward-subword-internal): Rename from c-backward-subword-internal.
11681 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
11683         * vc.el (vc-deduce-fileset): Allow non-state changing operations
11684         from a dired buffer.
11685         (vc-dired-deduce-fileset): New function.
11686         (vc-root-diff, vc-print-root-log): Use it.
11688         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
11689         nil LIMIT argument to vc-print-log-internal.
11691 2009-11-20  Glenn Morris  <rgm@gnu.org>
11693         * Makefile.in (ELCFILES): Regenerate.
11695 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
11697         * calc/calc.el (calc-set-mode-line):
11698         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11699         (math-format-number): Rename `math-format-complement-signed' to
11700         `math-format-twos-complement'.
11702         * calc/calc-bin.el (math-format-twos-complement): Rename from
11703         math-format-complement-signed.
11704         (calc-radix): Rename `calc-complement-signed-mode' to
11705         `calc-twos-complement-mode'.
11706         (calc-octal-radix, calc-hex-radix): Add an argument for
11707         two's complement.
11709         * calc/calc-embed.el (calc-embedded-mode-vars):
11710         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11712         * calc/calc-ext.el (calc-init-extensions):
11713         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11714         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
11716         * calc/calc-units.el (math-build-units-table-buffer):
11717         Let `calc-twos-complement-mode' be nil.
11719         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
11720         entries.
11722         * calc/calc-vec.el (calcFunc-vunpack):
11723         * calc/calc-aent.el (calc-do-calc-eval):
11724         * calc/calc-forms.el (math-format-date):
11725         * calc/calc-graph.el (calc-graph-plot):
11726         * calc/calc-math.el (math-use-emacs-fn):
11727         * calc/calccomp.el (math-compose-expr):
11728         Let `calc-twos-complement-mode' be nil.
11730 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11732         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
11733         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
11734         * minibuffer.el (completion-in-region-functions): New hook.
11735         (completion-in-region): New function.
11736         * emacs-lisp/lisp.el (lisp-complete-symbol):
11737         * pcomplete.el (pcomplete-std-complete): Use it.
11739 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11741         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
11742         (latex-complete-alist): New vars.
11743         (latex-string-prefix-p, latex-complete-bibtex-keys)
11744         (latex-complete-envnames, latex-complete-refkeys)
11745         (latex-complete-data): New functions.
11746         (latex-complete, latex-indent-or-complete): New commands.
11748         * window.el (display-buffer-mark-dedicated): New var.
11749         (display-buffer): Obey it.
11750         * minibuffer.el (minibuffer-completion-help): Use it.
11752         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
11754         * filecache.el (file-cache-add-file): Use push and cons.
11755         (file-cache-delete-file-regexp): Use push.
11756         (file-cache-complete): Use completion-in-region.
11758         * simple.el (with-wrapper-hook): Fix thinko.
11760         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
11761         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
11762         Use with-current-buffer and string-to-number.
11763         (hfy-fallback-colour-values): Use assoc-string.
11764         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
11765         (hfy-face-at): Remove unused var `found-face'.
11766         (hfy-compile-stylesheet): Remove unused var `css'.
11767         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
11768         and `orig-buffer'.
11769         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
11770         Use with-current-buffer.
11771         (hfy-text-p): Use expand-file-name and fewer setq.
11773 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
11775         * htmlfontify.el, hfy-cmap.el: New files.
11777 2009-11-19  Juri Linkov  <juri@jurta.org>
11779         * minibuffer.el (completions-format): New defcustom.
11780         (completion--insert-strings): Implement vertical format.
11782         * simple.el (switch-to-completions): Move point to the first
11783         completion when point was at the beginning of the buffer.
11785 2009-11-19  Juri Linkov  <juri@jurta.org>
11787         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
11789         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
11791 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
11793         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
11794         (mail-signature): Change default to t.
11795         (mail-from-style): Deprecate `system-default' value.
11796         (mail-insert-from-field): For default value of mail-from-style,
11797         default to `angles' unless `angles' needs quoting and `parens'
11798         does not.
11799         (mail-citation-prefix-regexp): Use citation regexp from
11800         message-mode.
11802 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
11804         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11805         Set variables for computing the prompt for reading password.
11807 2009-11-19  Glenn Morris  <rgm@gnu.org>
11809         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
11811         * textmodes/flyspell.el (sgml-lexical-context): Declare.
11813         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
11814         (newsticker-treeview-listwindow-height): Fix custom type.
11816 2009-11-19  Kenichi Handa  <handa@m17n.org>
11818         * descr-text.el (describe-char-padded-string): Compose with TAB
11819         only if there's a font for CH.
11820         (describe-char): Fix the condition for detecting a trivial composition.
11822 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
11824         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
11825         more accurate version of the regexp.  (Bug#3910)
11827 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
11829         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
11831 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
11833         * font-setting.el (font-use-system-font): Declare for byte-compiler.
11834         (font-setting-change-default-font): Fix typo in docstring.
11836 2009-11-18  Alan Mackenzie  <acm@muc.de>
11838         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
11840 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
11842         * font-setting.el (font-use-system-font): Move ...
11844         * cus-start.el (all): ... to here.
11846 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
11848         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
11849         Don't set `ad-return-value' if `ad-do-it' doesn't.
11851         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
11852         modification time.
11854 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
11856         * menu-bar.el: Put "Use system font" in Option-menu.
11857         (menu-bar-options-save): Add font-use-system-font.
11859         * loadup.el: If feature system-font-setting or font-render-setting is
11860         there, load font-setting.
11862         * Makefile.in (ELCFILES): Add font-settings.el.
11863         * font-setting.el: New file.
11865 2009-11-17  Glenn Morris  <rgm@gnu.org>
11867         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
11869         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
11870         Preserve point in the list buffer.  (Bug#4939)
11871         Use point-at-eol.
11872         (newsticker--treeview-list-update-highlight)
11873         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
11875 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
11877         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
11878         Remove.
11880         * calc/calc-ext.el (calc-init-extensions): Remove references to
11881         symclip.
11883         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
11885         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
11886         * calc/calc-help.el (calc-b-prefix-help): Remove references to
11887         `calc-symclip'.
11889 2009-11-16  Kevin Ryde  <user42@zip.com.au>
11891         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
11892         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
11894         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
11895         (lm-keywords-list): Allow comma-only separator like "foo,bar".
11896         Ignore trailing spaces by omit-nulls to split-string (fixing
11897         regression from Emacs 21 due to the incompatible split-string
11898         change).  (Bug #4928.)
11900 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
11902         * vc.el (vc-log-show-limit): Default to 2000.
11903         (vc-print-log-internal): Insert buttons to request more entries
11904         when limiting the output.
11906         * vc-sccs.el (vc-sccs-print-log):
11907         * vc-rcs.el (vc-rcs-print-log):
11908         * vc-cvs.el (vc-cvs-print-log):
11909         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
11910         LIMIT is non-nil.
11912 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
11914         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
11915         error when `tramp-gvfs-dbus-event-vector' is set.
11916         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
11918 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11920         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
11922 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
11924         * net/dbus.el (dbus-unregister-service): New defun.
11925         (dbus-register-property): Register the handlers of
11926         "org.freedesktop.DBus.Properties" for SERVICE.
11927         (dbus-property-handler): Fix docstring.
11929 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
11931         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
11932         Quote doc string reference in defvaralias as it is not in special form.
11933         (byte-compile-output-docform): Doc fix.
11935 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
11937         * calc/calc.el (math-2-word-size, math-half-2-word-size)
11938         (calc-complement-signed-mode): New variables.
11939         (calc-set-mode-line): Add indicator for twos-complements.
11940         (math-format-number): Format twos-complement notation.
11942         * calc/calc-bin.el (calc-word-size): Reset the variables
11943         `math-2-word-size' and `math-half-2-word-size'.
11944         (math-format-complement-signed, math-symclip, calcFunc-symclip)
11945         (calc-symclip): New functions.
11947         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
11949         * calc/calc-embed.el (calc-embedded-mode-vars):
11950         Add `calc-complement-signed-mode' to the list of modes.
11952         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
11953         (calc-b-oper-keys): Add `calc-symclip' to list.
11955         * calc/calc-ext.el (math-read-number-fancy): Read complement
11956         signed numbers.
11957         (calc-init-extensions): Add binding for `calc-symclip'.
11958         Add autoload for `calcFunc-symclip' and `calc-symclip'.
11960         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
11961         `calc-symclip'.
11962         (calc-modes-menu): Add item for twos complement mode.
11964         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
11966 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
11968         * register.el (jump-to-register, insert-register): Handle Semantic
11969         tags.  From commented-out advice in semantic/senator.el.
11971 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
11973         * vc.el (vc-log-show-limit): New variable.
11974         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
11975         when using a prefix argument.
11976         (vc-print-log-internal): Add new argument LIMIT.
11978         * vc-svn.el (vc-svn-print-log):
11979         * vc-mtn.el (vc-mtn-print-log):
11980         * vc-hg.el (vc-hg-print-log):
11981         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
11982         pass it to the log command when set.  Make the BUFFER argument
11983         non-optional.
11985         * vc-sccs.el (vc-sccs-print-log):
11986         * vc-rcs.el (vc-rcs-print-log):
11987         * vc-git.el (vc-git-print-log):
11988         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
11989         ignore it.  Make the BUFFER argument non-optional
11991         * bindings.el (mode-line-buffer-identification): Do not purecopy.
11993 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
11995         * dired.el (dired-mode-map): Move encryption items to "Operate"
11996         menu (Bug#4703).
11998         * strokes.el (strokes-update-window-configuration): Make strokes
11999         buffer current before erasing (Bug#4906).
12001 2009-11-15  Juri Linkov  <juri@jurta.org>
12003         * simple.el (set-mark-default-inactive): Add :type, :group
12004         and :version.  (Bug#4876)
12006 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
12008         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
12009         (archive-unique-fname): ... here.  (Bug#4929)
12011 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12013         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
12014         with a real fix.
12016         * novice.el (disabled-command-function): Add useful args.
12017         Setup the help buffer so that [back] works.
12018         Remove redundant call to help-mode.
12019         (disabled-command-function): Use `case'.
12020         (en/disable-command): New function extracted from enable-command.
12021         (enable-command, disable-command): Use it.
12023 2009-11-14  Glenn Morris  <rgm@gnu.org>
12025         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
12026         constants.  (Bug#4913)
12028         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
12030 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
12032         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
12033         defined in C that have no doc-strings.  (Bug#1063)
12035 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
12037         * cus-edit.el (data, files):
12038         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
12040 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
12042         * simple.el (shell-command): Doc fix (Bug#4891).
12044         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
12046 2009-11-14  Glenn Morris  <rgm@gnu.org>
12048         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
12049         statements for vc-diff, emerge-quit, and rmail-cease-edit.
12050         If they are already loaded, eval-after-load will do the right thing.
12052         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
12053         compiling.
12055         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
12057         * simple.el (x-selection-owner-p): Declare.
12058         (read-mail-command): Use custom radio type rather than choice.
12059         (completion-no-auto-exit): Doc fix.
12061         * custom.el (defgroup):
12062         * epg-config.el (epg): Doc fixes.
12064 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
12066         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
12067         * international/ccl.el (define-ccl-program): Do not purecopy the
12068         docstring, defconst does it anyway.
12070 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12072         * add-log.el (add-change-log-entry): Avoid displaying the changelog
12073         a second time.
12075         * x-dnd.el (x-dnd-maybe-call-test-function):
12076         * window.el (split-window-vertically):
12077         * whitespace.el (whitespace-help-on):
12078         * vc-rcs.el (vc-rcs-consult-headers):
12079         * userlock.el (ask-user-about-lock-help)
12080         (ask-user-about-supersession-help):
12081         * type-break.el (type-break-force-mode-line-update):
12082         * time-stamp.el (time-stamp-conv-warn):
12083         * terminal.el (te-set-output-log, te-more-break, te-filter)
12084         (te-sentinel, terminal-emulator):
12085         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
12086         (term-write-input-ring, term-check-source, term-start-output-log):
12087         (term-display-buffer-line, term-dynamic-list-completions):
12088         (term-ansi-make-term, serial-term):
12089         * subr.el (selective-display):
12090         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
12091         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
12092         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
12093         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
12094         (speedbar-remove-localized-speedbar-support)
12095         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
12096         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
12097         (speedbar-buffers-line-directory):
12098         * simple.el (shell-command-on-region, append-to-buffer)
12099         (prepend-to-buffer):
12100         * shadowfile.el (shadow-save-todo-file):
12101         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
12102         (scroll-bar-maybe-set-window-start):
12103         * sb-image.el (speedbar-image-dump):
12104         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
12105         (load-save-place-alist-from-file):
12106         * ps-samp.el (ps-print-message-from-summary):
12107         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
12108         (ps-background-image, ps-begin-job, ps-do-despool):
12109         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
12110         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
12111         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
12112         (pr-call-process, pr-file-list, pr-interface-save):
12113         * novice.el (disabled-command-function)
12114         (enable-command, disable-command):
12115         * mouse.el (mouse-buffer-menu-alist):
12116         * mouse-copy.el (mouse-kill-preserving-secondary):
12117         * macros.el (kbd-macro-query):
12118         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
12119         * informat.el (batch-info-validate):
12120         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
12121         * hippie-exp.el (try-expand-dabbrev-visible):
12122         * help-mode.el (help-make-xrefs):
12123         * help-fns.el (describe-variable):
12124         * generic-x.el (bat-generic-mode-run-as-comint):
12125         * finder.el (finder-mouse-select):
12126         * find-dired.el (find-dired-sentinel):
12127         * filesets.el (filesets-file-close):
12128         * files.el (list-directory):
12129         * faces.el (list-faces-display, describe-face):
12130         * facemenu.el (list-colors-display):
12131         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
12132         * epg.el (epg--process-filter, epg-cancel):
12133         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
12134         (epa--read-signature-type):
12135         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
12136         (emerge-file-names):
12137         * ehelp.el (electric-helpify):
12138         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
12139         * ediff-vers.el (rcs-ediff-view-revision):
12140         * ediff-util.el (ediff-setup):
12141         * ediff-mult.el (ediff-append-custom-diff):
12142         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
12143         (ediff-wordify):
12144         * echistory.el (Electric-command-history-redo-expression):
12145         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
12146         * disp-table.el (describe-display-table):
12147         * dired.el (dired-find-buffer-nocreate):
12148         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
12149         * dabbrev.el (dabbrev--same-major-mode-p):
12150         * chistory.el (list-command-history):
12151         * apropos.el (apropos-documentation):
12152         * allout.el (allout-obtain-passphrase):
12153         (allout-copy-exposed-to-buffer):
12154         (allout-verify-passphrase): Use with-current-buffer.
12156 2009-11-13  Glenn Morris  <rgm@gnu.org>
12158         * Makefile.in (ELCFILES): Regenerate.
12160 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
12162         * net/dbus.el (dbus-registered-objects-table): Rename from
12163         `dbus-registered-functions-table', because it contains also properties.
12164         (dbus-unregister-object): Unregister also properties.
12165         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12166         Use a timeout of 500 msec, in order to not block.
12167         (dbus-register-property, dbus-property-handler): New defuns.
12169 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12171         * simple.el (minibuffer-default-add-completions): Drop deprecated
12172         4th arg.
12174 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
12176         * textmodes/artist.el (artist-mouse-choose-operation):
12177         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
12178         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
12179         (artist-compute-up-event-key): New function.
12180         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
12182 2009-11-13  Kenichi Handa  <handa@m17n.org>
12184         * language/japan-util.el: Make sure that the value of jisx0208
12185         property is jisx0208 character.
12187 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
12189         * international/mule.el (auto-coding-regexp-alist): Only purecopy
12190         car or each item, not the whole list.
12192 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12194         * minibuffer.el (minibuffer-completion-help):
12195         Use minibuffer-hide-completions.
12197 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
12199         * dired.el (dired-save-positions, dired-restore-positions): New funs.
12200         (dired-revert): Use them (bug#4880).
12202 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
12204         * tooltip.el (tooltip-frame-parameters): Undo previous change.
12206 2009-11-12  Juri Linkov  <juri@jurta.org>
12208         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
12209         New functions.
12210         (find-file-literally-at-point): Alias of `ffap-literally'.
12212 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
12214         * textmodes/ispell.el (ispell-skip-region-alist):
12215         * textmodes/css-mode.el (auto-mode-alist):
12216         * progmodes/compile.el (auto-mode-alist):
12217         * international/mule.el (ctext-non-standard-encodings-alist)
12218         (ctext-non-standard-encodings-regexp):
12219         * simple.el (shell-command-switch, text-read-only):
12220         * replace.el (occur-mode-map):
12221         * paths.el (rmail-file-name):
12222         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
12223         * find-file.el (ff-special-constructs):
12224         * files.el (file-name-handler-alist):
12225         * composite.el: Purecopy strings.
12227         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
12229 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
12231         * widget.el (define-widget): Purecopy the docstring.
12232         * international/mule-cmds.el (charset): Do not purecopy the
12233         docstring here, define-widget does it.
12235         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
12236         * textmodes/bibtex-style.el (auto-mode-alist):
12237         * progmodes/inf-lisp.el (inferior-lisp-prompt):
12238         * progmodes/compile.el (compile-command):
12239         * language/korea-util.el (default-korean-keyboard):
12240         * international/mule-conf.el (file-coding-system-alist):
12241         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
12242         * tooltip.el (tooltip-frame-parameters):
12243         * newcomment.el (comment-end, comment-padding):
12244         * dired.el (dired-trivial-filenames):
12245         * comint.el (comint-file-name-prefix): Purecopy initial values.
12247 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
12249         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
12250         (tramp-advice-minibuffer-electric-tilde): Unload advices via
12251         `tramp-unload'.
12252         (tramp-advice-make-auto-save-file-name)
12253         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
12254         after removing the advice.
12256 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
12258         * progmodes/grep.el (grep-regexp-alist):
12259         * international/mule-cmds.el (iso-2022-control-alist):
12260         * emacs-lisp/timer.el (timer-duration-words):
12261         * subr.el (version-separator, version-regexp-alist):
12262         * minibuffer.el (completion-styles-alist):
12263         * faces.el (face-attribute-name-alist, list-faces-sample-text):
12264         Change defvars to defconsts.
12266         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
12267         * loadup.el ("international/mule-conf"): Load the byte compiled version.
12268         * international/mule-conf.el: Allow to be byte compiled.
12270         * international/mule.el (define-charset): Purecopy props.
12271         (load-with-code-conversion): Purecopy doc string and file name.
12272         (put-charset-property): Purecopy strings.
12273         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
12275         * international/mule-cmds.el (register-input-method): Purecopy arguments.
12276         (define-char-code-property): Correctly purecopy the table.
12278         * international/ccl.el (define-ccl-program): Purecopy the docstring.
12280         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
12282         * subr.el (add-hook): Purecopy strings.
12283         (eval-after-load): Purecopy load-history-regexp and the form.
12285         * custom.el (custom-declare-group): Purecopy load-file-name.
12287         * subr.el (menu-bar-separator): New defconst.
12288         * net/eudc.el (eudc-tools-menu):
12289         * international/mule-cmds.el (set-coding-system-map)
12290         (mule-menu-keymap):
12291         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
12292         * vc-hooks.el (vc-menu-map):
12293         * replace.el (occur-mode-map):
12294         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
12295         (menu-bar-edit-menu, menu-bar-goto-menu)
12296         (menu-bar-custom-menu, menu-bar-showhide-menu)
12297         (menu-bar-options-menu, menu-bar-tools-menu)
12298         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
12299         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
12300         (menu-bar-help-menu):
12301         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
12302         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
12304         * term/x-win.el (x-gtk-stock-map):
12305         * progmodes/vera-mode.el (auto-mode-alist):
12306         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
12307         (inferior-lisp-program, inferior-lisp-load-command):
12308         * progmodes/hideshow.el (hs-special-modes-alist):
12309         * progmodes/gud.el (same-window-regexps):
12310         * progmodes/grep.el (grep-program, find-program, xargs-program):
12311         * net/telnet.el (same-window-regexps):
12312         * net/rlogin.el (same-window-regexps):
12313         * language/ethiopic.el (font-ccl-encoder-alist):
12314         * vc-sccs.el (vc-sccs-master-templates):
12315         * vc-rcs.el (vc-rcs-master-templates):
12316         * subr.el (cl-assertion-failed):
12317         * simple.el (next-error-overlay-arrow-position):
12318         * lpr.el (lpr-command):
12319         * locate.el (locate-ls-subdir-switches):
12320         * info.el (same-window-regexps, info)
12321         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
12322         * image-mode.el (image-mode, auto-mode-alist):
12323         * hippie-exp.el (hippie-expand-ignore-buffers):
12324         * format.el (format-alist):
12325         * find-dired.el (find-ls-subdir-switches, find-grep-options)
12326         (find-name-arg):
12327         * facemenu.el (facemenu-keybindings):
12328         * dired.el (dired-listing-switches, dired-chown-program):
12329         * diff.el (diff-switches, diff-command):
12330         * cus-edit.el (same-window-regexps):
12331         * bindings.el (mode-line-mule-info)
12332         (mode-line-buffer-identification): Purecopy strings.
12334 2009-11-11  Juri Linkov  <juri@jurta.org>
12336         * simple.el (dired-get-filename) <declare-function>:
12337         Tell the byte-compiler about dired-get-filename.
12338         (shell-command): In Dired mode, get filename from the current line
12339         as the default value.
12341 2009-11-10  Glenn Morris  <rgm@gnu.org>
12343         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
12344         * calendar/holidays.el, progmodes/cperl-mode.el:
12345         Update x-popup-menu declarations.
12347         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
12348         (list-load-path-shadows): Use dolist.
12349         (list-load-path-shadows): Use with-current-buffer.
12351 2009-11-10  Juri Linkov  <juri@jurta.org>
12353         * minibuffer.el (read-file-name): Support a list of default values
12354         in `default-filename'.  Use the first file name where only one
12355         element is required.  Doc fix.
12357 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
12359         * net/dbus.el (dbus-unregister-object): Release service, if no
12360         other method is registered for it.
12362 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
12364         * bookmark.el (bookmark-completing-read): Sort bookmark names if
12365         bookmark-sort-flag is non-nil (Bug#4653).
12367 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
12369         * emulation/cua-base.el: Add CUA property to some CC mode commands
12370         (Bug#4100).
12372 2009-11-08  Kevin Ryde  <user42@zip.com.au>
12374         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
12375         at end of sentence (Bug#4818).
12377 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
12379         * progmodes/compile.el (compilation-error-regexp-alist-alist):
12380         Handle "see declaration of" MSFT statements (Bug#4100).
12382 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
12384         * net/tramp.el (tramp-advice-make-auto-save-file-name)
12385         (tramp-advice-file-expand-wildcards): Unload via
12386         `ad-remove-advice'.
12388         * net/trampver.el: Update release number.
12390 2009-11-08  Kevin Ryde  <user42@zip.com.au>
12392         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
12393         `ad-do-it'.
12395 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
12397         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
12398         in order to keep context in SELinux.
12400 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
12402         * dired-aux.el (dired-query): Place cursor in echo area and allow
12403         C-g.
12405         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
12406         menu item if not on a directory (Bug#4701).
12408 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
12410         Sync with Tramp 2.1.17.
12412         * net/tramp.el (tramp-handle-copy-directory): Don't use
12413         `file-remote-p' (due to compatibility).
12415         * net/tramp-compat.el (tramp-compat-copy-directory)
12416         (tramp-compat-delete-directory): New defuns.
12418         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
12419         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
12420         `tramp-compat-delete-directory'.
12422         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
12423         (tramp-smb-handle-delete-directory): Use
12424         `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
12426         * net/trampver.el: Update release number.
12428 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
12430         * tar-mode.el (tar-copy): Call write-region on the right buffer
12431         (Bug#4857).
12433         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
12434         by hand, if necessary (Bug#4878).
12436 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
12438         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
12439         align size column (Bug#4839).
12441         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
12442         statement.
12444 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
12446         * progmodes/ld-script.el (auto-mode-alist):
12447         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
12449         * cus-face.el (custom-declare-face): Purecopy face spec.
12451 2009-11-06  Kenichi Handa  <handa@m17n.org>
12453         * international/uni-bidi.el: Re-generated.
12454         * international/uni-category.el: Re-generated.
12455         * international/uni-combining.el: Re-generated.
12456         * international/uni-mirrored.el: Re-generated.
12458 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
12460         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
12461         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
12462         (tex-start-options, slitex-run-command, latex-run-command)
12463         (tex-run-command, tex-directory):
12464         * textmodes/ispell.el (ispell-html-skip-alists)
12465         (ispell-tex-skip-alists, ispell-tex-skip-alists):
12466         * textmodes/fill.el (adaptive-fill-first-line-regexp):
12467         (adaptive-fill-regexp):
12468         * textmodes/dns-mode.el (auto-mode-alist):
12469         * progmodes/python.el (interpreter-mode-alist):
12470         * progmodes/etags.el (tags-compression-info-list):
12471         * progmodes/etags.el (tags-file-name):
12472         * net/browse-url.el (browse-url-galeon-program)
12473         (browse-url-firefox-program):
12474         * mail/sendmail.el (mail-signature-file)
12475         (mail-citation-prefix-regexp):
12476         * international/mule-conf.el (eight-bit):
12477         * international/latexenc.el (latex-inputenc-coding-alist):
12478         * international/fontset.el (x-pixel-size-width-font-regexp):
12479         * emacs-lisp/warnings.el (warning-type-format):
12480         * emacs-lisp/trace.el (trace-buffer):
12481         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
12482         (emacs-lisp-mode-map):
12483         * calendar/holidays.el (holiday-solar-holidays)
12484         (holiday-bahai-holidays, holiday-islamic-holidays)
12485         (holiday-christian-holidays, holiday-hebrew-holidays)
12486         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
12487         (hebrew-holidays-1, holiday-oriental-holidays)
12488         (holiday-general-holidays):
12489         * x-dnd.el (x-dnd-known-types):
12490         * tool-bar.el (tool-bar):
12491         * startup.el (site-run-file):
12492         * shell.el (shell-dumb-shell-regexp):
12493         * rfn-eshadow.el (file-name-shadow-tty-properties)
12494         (file-name-shadow-properties):
12495         * paths.el (remote-shell-program, news-directory):
12496         * mouse.el ([C-down-mouse-3]):
12497         * menu-bar.el (menu-bar-tools-menu):
12498         * jka-cmpr-hook.el (jka-compr-load-suffixes)
12499         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
12500         (jka-compr-compression-info-list):
12501         * isearch.el (search-whitespace-regexp):
12502         * image-file.el (image-file-name-extensions):
12503         * find-dired.el (find-ls-option):
12504         * files.el (directory-listing-before-filename-regexp)
12505         (directory-free-space-args, insert-directory-program)
12506         (list-directory-brief-switches, magic-fallback-mode-alist)
12507         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
12508         (automount-dir-prefix):
12509         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
12510         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
12511         (face-font-registry-alternatives, face-font-registry-alternatives)
12512         (face-font-family-alternatives):
12513         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
12514         (facemenu-foreground-menu, facemenu-face-menu):
12515         * epa-hook.el (epa-file-name-regexp):
12516         * dnd.el (dnd-protocol-alist):
12517         * textmodes/rst.el (auto-mode-alist):
12518         * button.el (default-button): Purecopy strings.
12520 2009-11-06  Glenn Morris  <rgm@gnu.org>
12522         * Makefile.in (ELCFILES): Update.
12524 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12526         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
12527         * emacs-lisp/levents.el: Move to obsolete/levents.el.
12529         * nxml/xsd-regexp.el (xsdre-gen-categories):
12530         * nxml/xmltok.el (xmltok-parse-entity):
12531         * nxml/rng-parse.el (rng-parse-validate-file):
12532         * nxml/rng-maint.el (rng-format-manual)
12533         (rng-manual-output-force-new-line):
12534         * nxml/rng-loc.el (rng-save-schema-location-1):
12535         * nxml/rng-cmpct.el (rng-c-parse-file):
12536         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
12537         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
12539 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
12541         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
12542         Remove extra save-excursions and make-variable-buffer-local's.
12543         Suggested by Stefan Monnier.
12545         (verilog-getopt-file, verilog-module-inside-filename-p)
12546         (verilog-set-define): Merge GNU 1.35 and repair changes from
12547         switching to using with-current-buffer.
12549         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
12550         being treated as a number and confusing AUTORESET.
12551         Reported by Dan Dever.
12553         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
12554         Add verilog-auto-ignore-concat to fix backward compatibility with
12555         older verilog-modes.  Reported by Dan Katz.
12557         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
12558         containing closing anchors "...$".
12560         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
12561         Reported by Wade Smith.
12563         (verilog-batch-execute-func): Comment on function usage.
12565 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
12567         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
12568         for labels.
12570         (verilog-label-re, verilog-calc-1): Support proper indent of named
12571         asserts.
12573         (verilog-backward-token, verilog-basic-complete-re)
12574         (verilog-beg-of-statement, verilog-indent-re): Support proper
12575         indent of the assert statement at the beginning of a block of text.
12577         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
12578         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
12579         tokens as begins.
12581 2009-11-05  Glenn Morris  <rgm@gnu.org>
12583         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
12584         Emacs 19.  (Bug#1531)
12585         (byte-compile-fix-header): Update for the above change.
12586         Drop test for epoch::version.
12588         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
12589         * cus-dep.el (custom-make-dependencies):
12590         * finder.el (finder-compile-keywords):
12591         Use autoload-rubric's feature argument.
12593         * calendar/diary-lib.el (top-level): Make load behave more like require.
12595         * vc-git.el (vc-git-stash-map): Move definition before use.
12597 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
12599         * custom.el (custom-declare-group): Purecopy standard-value.
12600         (custom-declare-group): Purecopy custom-prefix.
12602         * international/mule.el (load-with-code-conversion):
12603         Call do-after-load-evaluation unconditionally.
12605         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
12607 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12609         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
12611 2009-11-04  Glenn Morris  <rgm@gnu.org>
12613         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
12614         (byte-compile-compatibility): Remove option.
12615         (byte-compile-close-variables, byte-compile-fix-header)
12616         (byte-compile-insert-header, byte-compile-output-docform)
12617         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
12618         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
12619         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
12620         (byte-compile-insert, byte-compile-defun):
12621         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
12622         (byte-defop-compiler19): Remove.
12623         Without byte-compile-compatibility, the 'emacs19-opcode property is not
12624         used by anything.  Replace all calls with byte-defop-compiler.
12626 2009-11-04  Juri Linkov  <juri@jurta.org>
12628         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
12629         (menu-bar-options-menu): Don't quote the `prop' arg of
12630         `menu-bar-make-mm-toggle'.
12632 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
12634         * calendar/calendar.el (cal-loaddefs):
12635         * calendar/diary-lib.el (diary-loaddefs):
12636         * calendar/holidays.el (hol-loaddefs):
12637         * eshell/esh-module.el (esh-groups): Load rather than require.
12639 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12641         * calendar/todo-mode.el (todo-add-category): Don't hardcode
12642         point-min==1.
12643         (todo-top-priorities): Only display-buffer when called interactively.
12644         (todo-item-start): Don't save excursion point.
12645         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
12646         (todo-insert-item-here, todo-file-item, todo-remove-item):
12647         Adjust uses of todo-item-start and todo-item-end.
12649         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
12650         (autoload-rubric): Don't use any more.
12652         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
12653         and only put a prop if it is non-nil.
12655 2009-11-03  Juri Linkov  <juri@jurta.org>
12657         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
12658         (menu-bar-options-menu): Fix list quoting (Bug#4429).
12660         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
12661         and "Menu" to make top-level menu item visually one unit (like
12662         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
12663         multi-word menu items).  Fix :help string for quit-window.
12665 2009-11-03  Glenn Morris  <rgm@gnu.org>
12667         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
12668         (byte-compile-file-form-define-abbrev-table)
12669         (byte-compile-file-form-custom-declare-variable)
12670         (byte-compile-variable-ref, byte-compile-defvar):
12671         Whether or not a warning is enabled should only affect whether we issue
12672         the warning, not whether or not we collect the relevant data.
12673         Eg warnings can be turned on and off throughout the course of a file.
12675         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
12676         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
12678 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12680         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
12681         * play/mpuz.el (mpuz-create-buffer):
12682         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
12683         (lm-print-y,s,noise, lm-print-w0, lm-init):
12684         * play/gomoku.el (gomoku-prompt-for-move):
12685         * play/fortune.el (fortune-in-buffer):
12686         * play/dissociate.el (dissociated-press):
12687         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
12688         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
12689         * mail/supercite.el (sc-eref-show):
12690         * mail/smtpmail.el (smtpmail-send-it):
12691         * mail/rmailsum.el (rmail-summary-next-labeled-message)
12692         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
12693         (rmail-summary-undelete-many, rmail-summary-rmail-update)
12694         (rmail-summary-goto-msg, rmail-summary-expunge)
12695         (rmail-summary-get-new-mail, rmail-summary-search-backward)
12696         (rmail-summary-add-label, rmail-summary-output-menu)
12697         (rmail-summary-output-body):
12698         * mail/rfc822.el (rfc822-addresses):
12699         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
12700         * mail/mailpost.el (post-mail-send-it):
12701         * mail/hashcash.el (hashcash-generate-payment):
12702         * mail/feedmail.el (feedmail-run-the-queue)
12703         (feedmail-queue-send-edit-prompt-help-first)
12704         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
12705         (feedmail-deduce-address-list):
12706         * eshell/esh-ext.el (eshell-remote-command):
12707         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
12708         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
12709         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
12710         (viper-save-string-in-file, viper-valid-marker):
12711         * emulation/viper-keym.el (viper-toggle-key):
12712         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
12713         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
12714         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
12715         * emulation/viper-cmd.el (viper-exec-form-in-vi)
12716         (viper-exec-form-in-emacs, viper-brac-function):
12717         * emulation/viper.el (viper-delocalize-var):
12718         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
12719         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
12720         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
12721         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
12722         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
12723         * emulation/edt.el (edt-electric-helpify):
12724         * emulation/cua-rect.el (cua--rectangle-aux-replace):
12725         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
12726         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
12727         (cua-indent-to-global-mark-column):
12728         * calendar/diary-lib.el (calendar-mark-1):
12729         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
12730         Use with-current-buffer.
12731         * emulation/viper.el (viper-delocalize-var): Use dolist.
12733 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
12735         * comint.el (comint-replace-by-expanded-history-before-point):
12736         Replace !! with the previous input string literally (Bug#1795).
12738 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
12740         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
12741         to be made up of whitespace.
12743 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
12745         * minibuffer.el (read-file-name): Don't use file dialogs for
12746         remote directories (Bug#99).
12748 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
12750         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
12752 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
12754         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
12755         instead of deleting the window or frame.
12757 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
12759         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
12760         Support face colors.
12762         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
12763         New function.  Support face colors (Bug#1168).
12764         (tex-common-initialization): Use it.
12766         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
12767         mode allows it (Bug#1168).
12769 2009-10-31  Juri Linkov  <juri@jurta.org>
12771         * facemenu.el (list-colors-display): Don't mark buffer as
12772         modified (Bug#3948).
12774 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
12776         * international/mule-diag.el (list-character-sets-1): Minor
12777         message fix (Bug#3526).
12779         * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
12780         face property (Bug#4834).
12781         (etags-list-tags, etags-tags-apropos-additional)
12782         (etags-tags-apropos, tags-select-tags-table): Add follow-link
12783         property.
12785         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
12786         items.
12788 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12790         * textmodes/two-column.el (2C-split):
12791         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
12792         * textmodes/tex-mode.el (tex-set-buffer-directory):
12793         * textmodes/spell.el (spell-region, spell-string):
12794         * textmodes/reftex.el (reftex-erase-buffer):
12795         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
12796         * textmodes/reftex-toc.el (reftex-toc-promote-action):
12797         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
12798         (reftex-select-item):
12799         * textmodes/reftex-ref.el (reftex-label-info-update)
12800         (reftex-offer-label-menu):
12801         * textmodes/reftex-index.el (reftex-index-change-entry)
12802         (reftex-index-phrases-info):
12803         * textmodes/reftex-global.el (reftex-create-tags-file)
12804         (reftex-save-all-document-buffers, reftex-ensure-write-access):
12805         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
12806         (reftex-view-crossref-from-bibtex):
12807         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
12808         (reftex-extract-bib-entries-from-thebibliography)
12809         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
12810         * textmodes/refbib.el (r2b-capitalize-title):
12811         (r2b-convert-buffer, r2b-help):
12812         * textmodes/page-ext.el (pages-directory)
12813         (pages-directory-goto-with-mouse):
12814         * textmodes/bibtex.el (bibtex-validate-globally):
12815         * textmodes/bib-mode.el (bib-capitalize-title):
12816         * textmodes/artist.el (artist-clear-buffer, artist-system):
12817         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
12818         (local-set-scheme-interaction-buffer, xscheme-process-filter)
12819         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
12820         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
12821         (xscheme-send-control-g-interrupt, xscheme-start-process)
12822         (xscheme-process-sentinel, xscheme-cd):
12823         * progmodes/verilog-mode.el (verilog-read-always-signals)
12824         (verilog-set-define, verilog-getopt-file)
12825         (verilog-module-inside-filename-p):
12826         * progmodes/sh-script.el:
12827         * progmodes/python.el (python-pdbtrack-get-source-buffer)
12828         (python-pdbtrack-grub-for-buffer, python-execute-file):
12829         * progmodes/octave-inf.el (inferior-octave):
12830         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12831         (idlwave-shell-compile-helper-routines, idlwave-set-local)
12832         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
12833         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
12834         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
12835         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
12836         (idlwave-shell-filter, idlwave-shell-examine-highlight)
12837         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
12838         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
12839         (idlwave-shell-examine-display, idlwave-shell-run-region)
12840         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
12841         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
12842         * progmodes/idlw-help.el (idlwave-help-get-special-help)
12843         (idlwave-help-get-help-buffer):
12844         * progmodes/gud.el (gud-basic-call, gud-find-class)
12845         (gud-tooltip-activate-mouse-motions-if-enabled):
12846         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
12847         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
12848         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
12849         (ebrowse-tags-next-file):
12850         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
12851         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
12852         (ebnf-eps-finish-and-write):
12853         * progmodes/cpp.el (cpp-edit-save):
12854         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
12855         * progmodes/cc-defs.el (c-emacs-features):
12856         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
12857         (antlr-directory-dependencies):
12858         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
12859         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
12860         (ada-find-any-references, ada-make-filename-from-adaname)
12861         (ada-make-body-gnatstub):
12862         * obsolete/rnews.el (news-list-news-groups):
12863         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
12864         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
12865         * net/rcirc.el (rcirc-debug):
12866         * net/newst-treeview.el (newsticker--treeview-list-add-item)
12867         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
12868         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
12869         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
12870         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
12871         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
12872         (newsticker--treeview-list-clear-highlight)
12873         (newsticker--treeview-list-update-highlight)
12874         (newsticker--treeview-list-highlight-start)
12875         (newsticker--treeview-tree-update-highlight)
12876         (newsticker--treeview-get-selected-item)
12877         (newsticker-treeview-mark-list-items-old)
12878         (newsticker--treeview-set-current-node):
12879         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
12880         * net/newst-backend.el (newsticker--get-news-by-funcall)
12881         (newsticker--get-news-by-wget, newsticker--image-get)
12882         (newsticker--image-sentinel):
12883         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
12884         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
12885         (eudc-ph-close-session):
12886         * net/eudc.el (eudc-save-options):
12887         * language/thai-word.el (thai-update-word-table):
12888         * language/japan-util.el (japanese-string-conversion):
12889         * international/titdic-cnv.el (tsang-quick-converter)
12890         (ziranma-converter, ctlau-converter):
12891         * international/mule-cmds.el (describe-language-environment):
12892         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
12893         (skkdic-convert-postfix, skkdic-convert-prefix):
12894         (skkdic-convert-okuri-nasi, skkdic-convert):
12895         * emacs-lisp/re-builder.el (reb-update-overlays):
12896         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
12897         * emacs-lisp/gulp.el (gulp-send-requests):
12898         * emacs-lisp/find-gc.el (trace-call-tree):
12899         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
12900         (eieio-describe-generic):
12901         * emacs-lisp/eieio-base.el (eieio-persistent-read):
12902         * emacs-lisp/edebug.el (edebug-outside-excursion):
12903         * emacs-lisp/debug.el (debugger-make-xrefs):
12904         * emacs-lisp/cust-print.el (custom-prin1-to-string):
12905         * emacs-lisp/chart.el (chart-new-buffer):
12906         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
12907         Use with-current-buffer.
12908         * textmodes/artist.el (artist-system): Don't call
12909         copy-sequence on a fresh string.
12910         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
12912 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
12914         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
12915         is no item to edit.  (Bug#4820)
12916         (todo-top-priorities): Restore point and restore narrowing in Todo
12917         buffer.  (Bug#4820)
12919 2009-10-31  Glenn Morris  <rgm@gnu.org>
12921         * net/ange-ftp.el (top-level): Don't require dired when compiling.
12922         (comint-last-output-start, comint-last-input-start)
12923         (comint-last-input-end): Don't defvar when compiling.
12924         (ange-ftp-process-file): Use bound-and-true-p.
12926         * pcmpl-rpm.el (top-level): Move provide statement to end.
12927         (pcmpl-rpm): Remove unused custom group.
12929         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
12931         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
12933         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
12934         (byte-compile-warnings): Add `constants' as an option.
12935         (byte-compile-callargs-warn, byte-compile-arglist-warn)
12936         (display-call-tree): Update for byte-compile-fdefinition possibly
12937         returning `(macro lambda ...)'.  (Bug#4778)
12938         (byte-compile-variable-ref, byte-compile-setq-default):
12939         Respect `constants' member of byte-compile-warnings.
12941 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
12943         * vc-bzr.el (vc-bzr-revision-keywords): New var.
12944         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
12945         to "submit:".
12947 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
12949         * textmodes/ispell.el (ispell-skip-region-alist):
12950         * international/mule-conf.el (eight-bit):
12951         * international/fontset.el (font-encoding-alist):
12952         * startup.el (pure-space-overflow-message):
12953         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
12954         * paths.el (gnus-nntp-service, rmail-spool-directory)
12955         (term-file-prefix):
12956         * files.el (save-some-buffers-action-alist):
12957         * cmuscheme.el (same-window-buffer-names):
12958         * ielm.el (same-window-buffer-names):
12959         * shell.el (same-window-buffer-names):
12960         * mail/sendmail.el (same-window-buffer-names):
12961         * progmodes/inf-lisp.el (same-window-buffer-names):
12962         * bindings.el (mode-line-client)
12963         (mode-line-column-line-number-mode-map):
12964         * language/tibetan.el (tibetan-precomposition-rule-regexp)
12965         (tibetan-precomposed-regexp): Purecopy string arguments.
12967 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12969         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
12970         (calcDigit-nondigit):
12971         * calc/calc-yank.el (calc-copy-to-buffer):
12972         * calc/calc-units.el (calc-invalidate-units-table):
12973         * calc/calc-trail.el (calc-trail-yank):
12974         * calc/calc-store.el (calc-insert-variables):
12975         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
12976         * calc/calc-prog.el (calc-read-parse-table):
12977         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
12978         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
12979         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
12980         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
12981         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
12982         (calc-graph-name, calc-graph-find-command, calc-graph-view)
12983         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
12984         * calc/calc-ext.el (calc-realign):
12985         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
12986         (calc-embedded-finish-edit, calc-embedded-make-info)
12987         (calc-embedded-finish-command, calc-embedded-stack-change):
12988         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
12990         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
12991         shell-dynamic-complete-filename in preference to
12992         comint-dynamic-complete-filename.
12994         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
12995         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
12996         Don't consider whether the display supports colors.
12997         (bookmark-import-new-list): Use dolist.
12998         (bookmark-bmenu-mode-map): Move initialization into declaration.
12999         (bookmark-bmenu-list): Use dolist, simplify.
13000         (bookmark-show-all-annotations): Use save-selected-window and dolist.
13001         (menu-bar-final-items): Use push.
13003 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
13005         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
13006         it works on remote files.
13007         (vc-hg-diff): Don't pass any `--cwd' argument.
13009 2009-10-27  Kevin Ryde  <user42@zip.com.au>
13011         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
13012         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
13013         (Further to Bug#3921).
13015 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
13017         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
13018         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
13019         calling `tramp-imap-put-file'.  Add file size to the call.
13020         (tramp-imap-get-file-entries): Compute also user name, file size,
13021         and date.
13022         (tramp-imap-handle-insert-directory): Insert uid and gid.
13023         (tramp-imap-handle-file-attributes): Transform uid and gid
13024         according to `id-format'.
13025         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
13026         size in header X-Size.
13028 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
13030         * simple.el (transpose-subr): Give clearer error when the mark
13031         is not set.  (Bug#4807)
13033 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
13035         * net/tramp.el (tramp-perl-file-truename): New defconst.
13036         Perl code contributed by yary <not.com@gmail.com> (tiny change).
13037         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
13038         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
13039         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
13041         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
13042         Ignore `dired-call-process'.
13043         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
13045 2009-10-26  Julian Scheid  <julians37@gmail.com>
13047         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
13048         (tramp-get-remote-readlink): New defun.
13049         (tramp-handle-file-truename): Use it.
13050         (tramp-handle-file-exists-p): Check file-attributes cache, assume
13051         file exists if cache value present.
13052         (tramp-check-cached-permissions): New defun.
13053         (tramp-handle-file-readable-p): Use it.
13054         (tramp-handle-file-writable-p): Likewise.
13055         (tramp-handle-file-executable-p): Likewise.
13056         (tramp-handle-file-name-all-completions): Try using Perl to get
13057         partial completions.  When perl not available, combine `cd' and
13058         `ls' into single remote operation and use shell expansion to get
13059         partial remote directory contents.  Set `file-exists-p' cache for
13060         directory and any files returned by ls.  Change cache handling to
13061         support partial directory contents.  Use error message emitted by
13062         remote `cd' or Perl code for local tramp-error.
13063         (tramp-do-copy-or-rename-file-directly): Avoid separate
13064         tramp-send-command-and-check call.
13065         (tramp-handle-process-file): Merge three remote ops into one.
13066         Do not flush all caches when `process-file-side-effects' is set.
13067         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
13068         file-attributes shows uid/gid to be set already.
13070 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
13072         * textmodes/tex-mode.el (tex-dvi-view-command)
13073         (tex-show-queue-command, tex-open-quote):
13074         * progmodes/ruby-mode.el (auto-mode-alist)
13075         (interpreter-mode-alist): Purecopy strings.
13077         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
13079         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
13080         string for the hook, keymap and abbrev table.
13082         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
13084         * x-dnd.el (x-dnd-xdnd-to-action):
13085         * startup.el (fancy-startup-text, fancy-about-text): Change to
13086         defconst from defvar.
13088         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
13090         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
13091         Purecopy initialization strings.
13093         * mail/sendmail.el (mail-header-separator)
13094         (mail-personal-alias-file):
13095         * mail/rmail.el (rmail-default-dont-reply-to-names)
13096         (rmail-ignored-headers, rmail-retry-ignored-headers)
13097         (rmail-highlighted-headers, rmail-secondary-file-directory)
13098         (rmail-secondary-file-regexp):
13099         * files.el (null-device, file-name-invalid-regexp)
13100         (locate-dominating-stop-dir-regexp)
13101         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
13102         (interpreter-mode-alist): Use mapcar instead of mapc.
13104         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
13106         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
13107         (completion-ignored-extensions):
13108         (debug-ignored-errors): Purecopy strings.
13110 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13112         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
13113         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
13114         (pcomplete--here): Use push.
13116         * subr.el (all-completions): Declare the 4th arg obsolete.
13118 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13120         * pcomplete.el (pcomplete-unquote-argument-function): New var.
13121         (pcomplete-unquote-argument): New function.
13122         (pcomplete--common-suffix): Always pay attention to case.
13123         (pcomplete--table-subvert): Quote and unquote the text.
13124         (pcomplete--common-quoted-suffix): New function.
13125         (pcomplete-std-complete): Use it and pcomplete-begin.
13127         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
13128         we're inside a dedicated or minibuffer window.
13130 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
13132         * bookmark.el: Update documentation, especially documentation
13133         of `bookmark-alist' and of the bookmark file format.
13134         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
13136 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
13138         * mail/emacsbug.el (report-emacs-bug): Clarify that the
13139         keybindings apply to the mail buffer (Bug#4003).  Shrink help
13140         window to buffer.
13142         * whitespace.el (whitespace-mode, whitespace-newline-mode)
13143         (global-whitespace-mode, global-whitespace-newline-mode)
13144         (whitespace-toggle-options, global-whitespace-toggle-options):
13145         Doc fix (Bug#3660).
13147         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
13148         of xmltok-start before the end tag was inserted (Bug#2840).
13150         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
13151         patterns that are preceded by an open-paren (Bug#1320).
13153 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
13155         * files.el (delete-directory): Delete symlinks to directories with
13156         delete-file (Bug#4739).
13158 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
13160         * vc.el (vc-backend-for-registration): Rename from
13161         vc-get-backend-for-registration.  Update callers.
13163         * international/mule-cmds.el (set-language-info-alist):
13164         Purecopy lang-env.
13165         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
13166         (charset): Purecopy the name.
13167         (define-char-code-property): Purecopy string arguments.
13169         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13170         Purecopy string arguments.
13172         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13173         * ediff-hook.el (menu-bar-ediff-menu):
13174         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
13175         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
13177 2009-10-24  Glenn Morris  <rgm@gnu.org>
13179         * comint.el (comint-dynamic-list-completions):
13180         * term.el (term-dynamic-list-completions): Use choose-completion rather
13181         than obsolete alias mouse-choose-completion.
13183         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
13184         file-cache-choose-completion.
13185         (file-cache-choose-completion): Handle an optional event argument.
13186         (file-cache-mouse-choose-completion): Make it an obsolete alias.
13188         * progmodes/octave-mod.el (octave-complete-symbol):
13189         Use choose-completion if mouse-choose-completion is ever removed.
13191         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
13192         use.
13194         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
13195         compiler.
13197         * vc-hooks.el (vc-responsible-backend): Fix declaration.
13199 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13201         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
13202         Ignore `pred' now that we receive one.
13203         Handle test-completion specially.
13205 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
13207         * vc.el (vc-responsible-backend): Throw an error if not backend is
13208         found.  Remove the REGISTER argument.  Move the code dealing with
13209         REGISTER ...
13210         (vc-get-backend-for-registration): ... here.  New function.
13211         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
13212         of vc-responsible-backend, pass the file name instead of the
13213         directory name.
13215 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13217         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
13218         New funs.
13219         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
13220         (pcomplete-comint-setup): Don't modify a global var via
13221         accidental side-effects.
13222         (pcomplete-shell-setup): Adjust call accordingly.
13223         (pcomplete-parse-comint-arguments): Use push.
13225 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
13227         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
13228         Allow uncapitalized info node names (Bug#3921).
13230         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
13231         to the DEBUG file (Bug#3781).
13233 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
13235         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
13236         dictionary entry (Bug#4579).
13238 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
13240         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
13241         from `rfn-eshadow-update-overlay-hook' when unloading.
13242         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
13243         "rsyncc".  Adjust doc string.
13244         (tramp-temp-buffer-file-name): New buffer-local defvar.
13245         (tramp-handle-insert-file-contents, tramp-handle-write-region):
13246         Keep temporary file when indicated by method ("rsync" and
13247         "rsyncc").
13248         (tramp-handle-write-region): Handle APPEND.
13249         (tramp-delete-temp-file-function): New defun.  Added to
13250         `kill-buffer-hook'.
13252 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
13254         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
13256 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
13258         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
13259         (color-name-rgb-alist, tty-standard-colors)
13260         (tty-color-mode-alist): Change to defconst.
13262         * simple.el (mark-inactive): Purecopy message.
13264         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
13265         (global-map, yank-menu):
13266         * textmodes/ispell.el (ispell-menu-map):
13267         * net/eudc.el (eudc-tools-menu):
13268         * international/mule-cmds.el (describe-language-environment-map)
13269         (setup-language-environment-map, set-coding-system-map)
13270         (mule-menu-keymap):
13271         * vc-hooks.el (vc-menu-entry, vc-menu-map):
13272         * replace.el (occur-mode-map):
13273         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
13275 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
13277         * calc/calc.el (math-read-number, math-read-number-simple): Use
13278         `save-match-data'.
13280 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13282         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
13283         rather than fiddling with global-map bindings, since it should only
13284         affect per-terminal settings.
13285         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
13287         * minibuffer.el (completion-table-with-terminator): Allow to specify
13288         the terminator-regexp.
13290         * simple.el (switch-to-completions): Look for *Completions* in other
13291         frames as well.
13293         * pcomplete.el: Allow the use of completion-tables.
13294         (pcomplete-std-complete): New command.
13295         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
13296         (pcomplete--here): Use a function for `form' rather than an expression,
13297         so it can be byte-compiled.
13298         (pcomplete-here, pcomplete-here*): Adjust accordingly.
13299         Add edebug declaration.
13300         (pcomplete-show-completions): Remove unused var `curbuf'.
13301         (pcomplete-do-complete, pcomplete-stub):
13302         Don't assume `completions' is a list of strings any more.
13304 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
13306         * find-dired.el (find-name-arg): Fix typo in docstring.
13308 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13310         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
13311         (pcmpl-linux-fs-types): Same, and update to new modules layout.
13313         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
13314         pcomplete-entries.
13316         * comint.el (comint-read-input-ring, comint-write-input-ring)
13317         (comint-substitute-in-file-name)
13318         (comint-dynamic-complete-as-filename)
13319         (comint-dynamic-simple-complete)
13320         (comint-dynamic-list-filename-completions)
13321         (comint-dynamic-list-completions)
13322         (comint-redirect-results-list-from-process): Minor simplifications.
13324 2009-10-21  Kevin Ryde  <user42@zip.com.au>
13326         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
13327         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
13328         the first form.  And insert a blank line after ";;; Code" since
13329         that's usual style.  (Bug#4612)
13331         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
13333 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13335         * minibuffer.el (completion-table-with-terminator): Properly implement
13336         boundaries, in case `terminator' appears in the suffix.
13337         (completion--embedded-envvar-table): Don't return boundaries if
13338         there's no valid completion.  Simplify.
13339         (completion-file-name-table): New completion table extracted from
13340         completion--file-name-table.
13341         (completion--file-name-table): Use it.
13342         (read-file-name-predicate): Declare obsolete.
13343         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
13344         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
13345         completion-file-name-table, and use the `pred' argument.
13346         * files.el (locate-file-completion-table): Use the `pred' arg rather
13347         than read-file-name-predicate.
13348         (abbreviate-file-name): Use \` rather than ^ for BOS.
13350 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
13352         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
13353         vc-responsible-backend to register, it causes problems.
13355 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13357         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
13359 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
13361         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
13362         (tramp-smb-handle-file-attributes): Use it.
13363         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
13364         (tramp-smb-handle-insert-directory): Use `mapc' rather than
13365         `mapcar'.  Use `tramp-smb-get-stat-capability'.
13366         Add `dired-filename' text properties.
13367         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
13368         (tramp-smb-maybe-open-connection): Simplify check for smbclient
13369         version.
13371 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13373         * subr.el (read-key-delay): Reduce to 0.01.
13374         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
13375         (bug#4751).
13377 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13379         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
13381         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
13382         (Info-menu): Remove unused vars `last' and `completions'.
13383         (Info-index-nodes): Remove unused var `node'.
13385         * info.el (Info-complete-menu-item): Use complete-with-action.
13387 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
13389         Make vc-annotate work through copies and renames.
13390         * vc-annotate.el (vc-annotate-extract-revision-at-line):
13391         Return the file name too.
13392         (vc-annotate-revision-at-line)
13393         (vc-annotate-find-revision-at-line)
13394         (vc-annotate-revision-previous-to-line)
13395         (vc-annotate-show-log-revision-at-line): Update to get the file
13396         name from vc-annotate-extract-revision-at-line.
13397         (vc-annotate-show-diff-revision-at-line-internal): Change the
13398         argument to mean whether to show a file diff or not.  Get the file
13399         name from vc-annotate-extract-revision-at-line.
13400         (vc-annotate-show-diff-revision-at-line):
13401         Update vc-annotate-show-diff-revision-at-line call.
13402         (vc-annotate-warp-revision): Add an optional file argument.
13404         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
13405         (vc-git-annotate-extract-revision-at-line): Also return the file
13406         name if found.
13408         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
13409         command.  Remove unused code.
13410         (vc-hg-annotate-re): Update to match --follow output.
13411         (vc-hg-annotate-extract-revision-at-line): Also return the file
13412         name if found.
13414         * vc.el: Update annotate-extract-revision-at-line documentation.
13416 2009-10-18  Kevin Ryde  <user42@zip.com.au>
13418         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
13419         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
13421         * net/browse-url.el (browse-url): Identify alist with "consp and
13422         not functionp" and let all other things go down the `apply' leg,
13423         as suggested by Stefan.  (Further to bug#4531.)
13425 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
13427         * minibuffer.el (read-file-name): Check for repeat before putting
13428         a default argument in file-name-history (Bug#4657).
13430         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
13431         read syntax (Bug#4737).
13433         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
13435 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
13437         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
13438         (html-tag-alist, html-tag-help): Add descriptions for undocumented
13439         entries and make note of obsolete tags.
13441 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13443         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
13445 2009-10-18  Glenn Morris  <rgm@gnu.org>
13447         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
13448         grep, so that binary files (eg international/uni-bidi.el) can match.
13449         Remove test for "UnicodeData" files, since it is hopefully unnecessary
13450         now, and in any case the file header format has changed.
13452 2009-10-17  Glenn Morris  <rgm@gnu.org>
13454         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
13455         (flyspell-get-word, flyspell-large-region)
13456         (flyspell-auto-correct-previous-word): Doc/error message fixes.
13458 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
13460         * Makefile.in (ELCFILES): Add ede/shell.
13462 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
13464         * term/common-win.el (x-colors): Purecopy it.
13466 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13468         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
13469         permissive for when the buffer is empty.
13470         (tar-header-block-tokenize): Decode the username and groupname.
13471         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
13473 2009-10-17  Eric Ludlam  <zappo@gnu.org>
13475         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
13476         contains multibyte characters, choose first applicable coding
13477         system automatically.
13479 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13481         * international/mule-cmds.el (select-safe-coding-system): If the file
13482         has a coding cookie, use it regardless of any other setting (bug#4712).
13484 2009-10-17  Glenn Morris  <rgm@gnu.org>
13486         * foldout.el (foldout-mouse-swallow-events):
13487         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
13489         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
13490         (dired-keep-marker-copy, dired-keep-marker-hardlink)
13491         (dired-keep-marker-symlink, dired-dwim-target)
13492         (dired-copy-preserve-time): Do not autoload these defcustoms.
13494         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
13495         messages from messing up the file coding.  (Bug#4623)
13497 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
13499         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
13500         if no match is found for the current dictionary.  (Bug#4578)
13502         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
13503         optional, since that is how it is documented, and this is often called
13504         with a nil argument.  (Bug#4577)
13505         (flyspell-external-point-words, flyspell-auto-correct-word)
13506         (flyspell-correct-word-before-point, flyspell-word-search-forward)
13507         (flyspell-word-search-backward): Remove nil argument in calls to
13508         flyspell-get-word, since it is not needed now.
13510 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
13512         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
13514 2009-10-16  Glenn Morris  <rgm@gnu.org>
13516         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
13518 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
13520         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
13521         (ange-ftp-file-size): New function.
13522         (ange-ftp-file-attributes): Use it.
13524 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
13526         * net/tramp-smb.el (tramp-smb-version): New defvar.
13527         (tramp-smb-maybe-open-connection): Use it, in order to avoid
13528         repeated checks.
13530 2009-10-16  Glenn Morris  <rgm@gnu.org>
13532         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
13533         Maybe copy some custom properties from old to new name.  (Bug#4706)
13535 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
13537         * subr.el (error, sit-for, start-process-shell-command)
13538         (start-file-process-shell-command): Set the calling convention
13539         after the function definition.
13541 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13543         * subr.el (error, sit-for, start-process-shell-command)
13544         (start-file-process-shell-command): Use the new
13545         set-advertised-calling-convention feature.
13547 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
13549         * international/ucs-normalize.el (ucs-normalize-version):
13550         Change to 1.2.
13551         (check-range): Adjust for Unicode 5.2.
13553 2009-10-15  Juri Linkov  <juri@jurta.org>
13555         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
13556         to the `menu-item' format.
13558 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
13560         * net/tramp.el (tramp-replace-environment-variables): Do not fail
13561         if the environment variable does not exist.
13563         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13564         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
13565         parameter.
13566         (tramp-smb-handle-add-name-to-file)
13567         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
13568         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
13569         (tramp-smb-handle-file-attributes)
13570         (tramp-smb-do-file-attributes-with-stat)
13571         (tramp-smb-handle-file-local-copy)
13572         (tramp-smb-handle-insert-directory)
13573         (tramp-smb-handle-make-directory)
13574         (tramp-smb-handle-make-directory-internal)
13575         (tramp-smb-handle-make-symbolic-link)
13576         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
13577         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
13578         (tramp-smb-maybe-open-connection): Apply the changed parameters.
13579         (tramp-smb-read-file-entry): Read Disk names in compressed format.
13580         Handle long file names.
13581         (tramp-smb-get-cifs-capabilities): Check, whether the connection
13582         process is running.
13583         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
13584         Read share names with "-g" option.
13586 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
13588         * net/rcirc.el (rcirc-view-log-file): New command.
13589         (rcirc-track-minor-mode-map): Remove C-c ` binding.
13590         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
13591         specified.
13593 2009-10-15  Glenn Morris  <rgm@gnu.org>
13595         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
13596         from the second command-line argument.
13597         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
13598         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
13599         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
13600         w32-batch-update-autoloads.
13601         * emacs-lisp/autoload.el (autoload-make-program): New variable.
13602         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
13604         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
13605         the headers cannot be located.  Simplify, subtracting superflous
13606         save-excursions.
13608 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13610         Replace completion-base-size by completion-base-position to fix bugs
13611         such as (bug#4699).
13612         * simple.el (completion-base-position): New var.
13613         (completion-base-size): Mark as obsolete.
13614         (choose-completion): Make it work for mouse events as well.
13615         Pass the new base-position to choose-completion-string.
13616         (choose-completion-guess-base-position): New function, extracted from
13617         choose-completion-delete-max-match.
13618         (choose-completion-delete-max-match): Use it.  Make obsolete.
13619         (choose-completion-string): Use the new base-position info.
13620         (completion-root-regexp): Delete.
13621         (completion-setup-function): Preserve completion-base-position.
13622         Eliminate obsolete base-size manipulation.
13623         * minibuffer.el (display-completion-list): Don't mess with base-size.
13624         (minibuffer-completion-help): Set completion-base-position instead.
13625         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
13626         choose-completion.
13627         * textmodes/bibtex.el (bibtex-complete):
13628         * emacs-lisp/crm.el (crm--choose-completion-string):
13629         Adjust to new calling convention.
13630         * complete.el (partial-completion-mode): Use minibufferp to avoid
13631         bumping into incompatible change to choose-completion-string-functions.
13632         * ido.el (ido-choose-completion-string): Make its calling convention
13633         more permissive.
13634         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
13635         base-size manipulation.
13636         (comint-dynamic-list-input-ring): Use dotimes and push.
13637         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
13638         fundamental-mode.  Use `or'.
13640 2009-10-14  Juri Linkov  <juri@jurta.org>
13642         * misearch.el (multi-isearch-next-buffer-from-list)
13643         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
13645 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13647         * Makefile.in (compile-onefile): Load `bytecomp' rather than
13648         `bytecomp.el'.
13650         * minibuffer.el (completion-pcm--merge-completions): Make sure the
13651         string we return is all made up of text from the completions rather
13652         than part from the completions and part from the input (bug#4219).
13654         * ido.el (ido-everywhere): Use define-minor-mode.
13656         * buff-menu.el (list-buffers, ctl-x-map):
13657         Mark the entry points with ;;;###autoload cookies.
13659 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
13661         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
13662         correctly in the detached head case.
13663         (vc-git-print-log): Remove unused binding.
13665         * vc.el (vc-responsible-backend): When a directory is passed for
13666         for registration create a VC repository if no backend is
13667         responsible for the directory argument.
13668         (vc-deduce-fileset): Tell vc-responsible-backend to register.
13670         * vc.el: Move comments about RCS and SCCS ...
13671         * vc-rcs.el:
13672         * vc-sccs.el: ... here, respectively.
13674 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13676         * minibuffer.el (completion--file-name-table): Return nil if there's
13677         no file completion, even if substitute-in-file-name changed
13678         the string (bug#4708).
13680 2009-10-13  Juri Linkov  <juri@jurta.org>
13682         * files-x.el (read-file-local-variable-value): Don't filter out
13683         minor modes from mode name completion (bug#4664).
13685 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
13687         * international/mule-cmds.el (ucs-names): Remove exclusion of
13688         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
13690 2009-10-13  Kenichi Handa  <handa@m17n.org>
13692         * international/uni-name.el: Regenerated.
13694 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
13696         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
13697         should be automatically buffer-local, but isn't.)
13699 2009-10-12  Sam Steingold  <sds@gnu.org>
13701         * progmodes/compile.el (compilation-next-error-function): Fix the
13702         timestamps if the buffer has been visited before.
13703         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
13704         non-anchored patterns, like the perl one (bug#3928).
13706 2009-10-12  Glenn Morris  <rgm@gnu.org>
13708         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
13709         Let-bind `size'.
13711 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
13713         * proced.el (proced-unload-function): New function.
13715         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
13716         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
13717         Doc fix.
13719         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
13721 2009-10-11  Juri Linkov  <juri@jurta.org>
13723         * files-x.el (read-file-local-variable-value):
13724         Provide default value only for bound variables (bug#4664).
13726 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
13728         * net/tramp.el (tramp-local-host-p): Function shall return nil for
13729         connection methods like smb.
13731         * net/tramp-cache.el (tramp-flush-connection-property): The hash
13732         can be empty.
13734         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13735         (tramp-smb-file-name-handler-alist): Add handlers for
13736         `add-name-to-file', `make-symbolic-link'.
13737         (tramp-smb-handle-add-name-to-file)
13738         (tramp-smb-do-file-attributes-with-stat)
13739         (tramp-smb-handle-make-symbolic-link)
13740         (tramp-smb-get-cifs-capabilities): New defuns.
13741         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
13742         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
13743         (tramp-smb-handle-file-local-copy)
13744         (tramp-smb-handle-make-directory-internal)
13745         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
13746         The file name syntax depends on cifs capabilities.
13747         (tramp-smb-handle-file-attributes):
13748         Call `tramp-smb-do-file-attributes-with-stat' if possible.
13749         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
13750         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
13752 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
13754         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
13755         (eieio-defclass): Apply deftype handler and setf-method properties
13756         directly.
13757         (eieio-add-new-slot): Avoid union function from cl library.
13758         (eieio--typep): New function.
13759         (eieio-perform-slot-validation): Use it.
13761 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
13763         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
13764         Update documentation to refer to the variables documented in r1.135.
13765         (Bug#4188)
13767 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
13769         * bookmark.el (Info-suffix-list): Remove this unused variable.
13770         (bookmark-current-point): Remove this obsolete variable.
13771         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
13772         Adjust for removal of bookmark-current-point.
13774         (bookmarks-already-loaded, bookmark-current-buffer)
13775         (bookmark-yank-point): Document.  (Bug#4188)
13777 2009-10-10  Glenn Morris  <rgm@gnu.org>
13779         * frame.el (frame-height): Doc fix.
13781         * calendar/calendar.el (calendar-split-width-threshold): New option.
13782         (calendar-basic-setup): Use calendar-split-width-threshold.
13784 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
13786         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
13787         Ideographic Supplement" range (U+1F200..U+1F2FF).
13789 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
13791         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
13792         since the list will have been rebuilt anyway.  (Bug#4349)
13794 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
13796         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
13797         (bookmark-bmenu-execute-deletions): Don't save here, as
13798         bookmark-delete will now do so if necessary.
13799         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
13800         (Bug#4348)
13802 2009-10-09  Glenn Morris  <rgm@gnu.org>
13804         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
13806 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
13808         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
13809         (bookmark-jump-other-window): Just invoke bookmark-jump with new
13810         argument now, so the two function's behaviors will match.  (Bug#3645)
13812 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
13814         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
13815         (tramp-file-name-real-host, tramp-file-name-port):
13816         Apply `save-match-data'.
13818         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
13819         case both directories are remote.
13820         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
13821         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
13823 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
13825         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
13827 2009-10-07  Glenn Morris  <rgm@gnu.org>
13829         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
13830         of concat.
13832 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13834         * files-x.el (read-file-local-variable): Include some
13835         non-user-variables in the completion table (bug#4664).
13837 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
13839         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
13840         message.
13842         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13843         (tramp-smb-file-name-handler-alist): Add handler for
13844         `copy-directory', `expand-file-name', `set-file-modes'.
13845         (tramp-smb-handle-copy-directory)
13846         (tramp-smb-handle-expand-file-name)
13847         (tramp-smb-handle-set-file-modes): New defuns.
13848         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
13849         (tramp-smb-handle-file-attributes): Simplify check for retrieving
13850         entry.
13851         (tramp-smb-handle-insert-directory): Don't flush the cache.
13852         (tramp-smb-maybe-open-connection): Check for samba client and
13853         server versions.
13855 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
13857         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
13858         to not error out of search for "^lisp=" fails.
13860 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
13862         * makefile.w32-in (WINS_UPDATES): New macro.
13863         (custom-deps, finder-data, autoloads): Use it.
13865 2009-10-07  Glenn Morris  <rgm@gnu.org>
13867         * Makefile.in (autoloads): Revert previous change.
13868         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
13869         the list of preloaded files passed on the command-line, get
13870         it from src/Makefile.
13872         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
13873         show the original buffer rather than a random one.
13875 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
13877         * help.el (describe-no-warranty): Place point in a slightly better
13878         position in the GPLv3 text.
13880 2009-10-06  Sam Steingold  <sds@gnu.org>
13882         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
13883         the comm attribute is present before calling regexp-quote.
13885 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
13887         * play/animate.el (animate-string): For good effect, make sure
13888         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
13890         * play/animate.el (animate-sequence, animate-birthday-present):
13891         * misc.el (butterfly): Don't set `indent-tabs-mode'.
13893 2009-10-06  Glenn Morris  <rgm@gnu.org>
13895         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
13897         * emacs-lisp/autoload.el (autoload-excludes): New variable.
13898         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
13899         (batch-update-autoloads): Process a string value of autoload-excludes,
13900         set during the build process.
13901         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
13903         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
13904         inside with-parsed...  macro so that `v' is defined.
13906         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
13907         * progmodes/fortran.el (fortran-end-of-block)
13908         (fortran-beginning-of-block):
13909         Also push mark in the macro case.
13911         * emerge.el (emerge-show-file-name):
13912         * calc/calc.el (calc-quit):
13913         * calc/calc-misc.el (calc-big-or-small):
13914         * calc/calc-graph.el (calc-graph-view):
13915         * calc/calc-ext.el (calc-reset):
13916         * calendar/calendar.el (calendar-basic-setup):
13917         Use window-full-height-p.
13919         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
13920         header we don't understand, don't insert another.  (Bug#4624)
13921         If changing mime charset, insert the new one in the right place.
13923 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
13925         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
13926         (cal-tex-cursor-month): Correctly increment the end date for diary and
13927         holiday listing.  (Bug#4626)
13929 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13931         * help-fns.el (describe-function-1): Don't burp if the function is not
13932         a symbol.
13934 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
13936         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
13937         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
13938         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
13939         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
13941         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
13942         (eieio-default-superclass): Reflow docstrings.
13943         (this, class-option-assoc, defclass, eieio-class-un-autoload)
13944         (eieio-unbind-method-implementations, defmethod)
13945         (eieio-validate-slot-value, eieio-validate-class-slot-value)
13946         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
13947         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
13948         (eieio-slot-originating-class-p, eieio-slot-name-index)
13949         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
13950         (constructor, initialize-instance, no-next-method, object-print)
13951         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
13952         Fix typos in docstrings.
13953         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
13954         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
13955         (next-method-p): Doc fixes.
13956         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
13957         Fix typos in error messages.
13958         (eieio-defmethod): Fix typo in description of generic method.
13960         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
13961         (eieio-persistent-save-interactive, slot-missing):
13962         Fix typos in docstrings.
13963         (eieio-instance-inheritor-slot-boundp): Doc fix.
13965         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
13966         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
13968         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
13969         (eieio-custom-object-apply-reset):
13970         Fix typos in docstrings and error messages.
13972         * emacs-lisp/eieio-datadebug.el (data-debug-show):
13973         Fix typo in docstring.
13975         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
13976         (eieio-browse-tree): Doc fix.
13977         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
13978         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
13979         Fix typos in docstrings.
13981         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
13982         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
13983         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
13984         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
13985         Reflow docstrings.
13987 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
13989         * vc-hg.el (log-view-vc-backend): Declare for compiler.
13990         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
13991         Set log-view-vc-backend so that diff can work.
13993         * log-view.el (log-view-diff): Use vc-diff-internal instead of
13994         vc-version-diff.
13995         (vc-diff-internal): Autoload this instead of vc-version-diff.
13997 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
13999         * simple.el (eval-expression): Doc fix.
14001         * progmodes/cwarn.el (cwarn-mode): Doc fix.
14003 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
14005         * files.el (directory-files-no-dot-files-regexp): New defconst.
14006         (delete-directory): Use it.
14007         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
14009         * net/tramp.el (tramp-verbose): Fix docstring.
14010         (tramp-methods): Add recursive option to `tramp-copy-args'.
14011         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
14012         "scp1_old", "scp2_old", "rsync", "rsyncc".
14013         (tramp-default-method): Check also for `auth-source-user-or-password'.
14014         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
14015         Add handler for `copy-directory'.
14016         (tramp-handle-copy-directory): New defun.
14017         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
14018         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
14019         Optimize sent command.
14021 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14023         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
14024         window if necessary.
14026         * calendar/calendar.el (calendar-basic-setup): Don't call
14027         switch-to-buffer in a dedicated window.
14029 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
14031         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
14032         don't do anything related to relocating, just return nil.
14033         (bookmark-error-no-filename): New error.
14034         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
14035         bookmark has no file.  Don't even attempt to handle things that
14036         are not files; the whole point of custom handlers is to keep that
14037         knowledge elsewhere anyway.  Tighten some comments.
14038         (bookmark-file-or-variation-thereof): Remove now-unused function.
14039         (bookmark-location): Doc string fix.
14040         (Bug#4250)
14042 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
14044         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
14045         don't use a file dialog, because they usually don't know how to read
14046         a directory target from the user.  (Bug#4230)
14047         Also, make sure the prompt can display directories as well as files.
14049 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
14051         * bookmark.el (bookmark-set, bookmark-buffer-name):
14052         Improve doc strings.  (Bug#1193)
14054 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
14056         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
14057         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
14058         (bookmark-get-annotation, bookmark-set-annotation)
14059         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
14060         (bookmark-set-position, bookmark-get-front-context-string)
14061         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
14062         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
14063         (bookmark-jump-other-window, bookmark-handle-bookmark)
14064         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
14065         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
14066         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
14067         Improve doc strings to say whether bookmark can be a string or
14068         a record or both, and make other consistency and clarity fixes.
14069         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
14070         (bookmark-default-annotation-text, bookmark-yank-word)
14071         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
14072         (bookmark-import-new-list, bookmark-maybe-rename)
14073         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14074         (bookmark-bmenu-bookmark): Give these doc strings.
14075         (bookmark-bmenu-check-position): Give this a doc string, but also
14076         add a FIXME comment about how the function may be pointless.
14077         (bookmark-default-handler): Rework doc string and change a
14078         parameter name, to clarify that this takes a bookmark record
14079         not a bookmark name.
14080         (bookmark-set): Change a parameter name to indicate its meaning,
14081         and improve the doc string a bit.
14082         (Bug#4188)
14084 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
14086         * bookmark.el (bookmark-alist): Document the new `handler' element
14087         in the param alist.
14088         (bookmark-make-record-function): Adjust documentation for above.
14089         (Bug#4193)
14091 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
14093         * info.el (Info-bookmark-make-record): Document this function.
14094         (Info-bookmark-jump): Document with a doc string, not just a comment.
14095         (Bug#4203)
14097 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
14099         * files.el (copy-directory): New defun.
14101         * dired-aux.el (dired-copy-file-recursive): Use it.
14103 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
14105         * files-x.el (modify-dir-local-variable)
14106         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
14107         docstrings.
14109         * recentf.el (recentf-unload-function): New function.
14111 2009-10-04  Glenn Morris  <rgm@gnu.org>
14113         * window.el (window-full-height-p): Add doc string.
14115 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
14117         * window.el (window-full-height-p): New function.  (Bug#4543)
14119 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
14121         * vc.el: Remove commented out code.
14122         (vc-derived-from-dir-mode): Remove, unused.
14123         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
14125 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
14127         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
14128         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
14129         there could be recursive loading when `default-directory' is a
14130         remote file name.  (Bug#4614)
14132 2009-10-03  Glenn Morris  <rgm@gnu.org>
14134         * calendar/calendar.el (calendar-basic-setup): Handle the case where
14135         the frame is wide.
14136         (calendar-generate-window): Test for shrinkability rather than width.
14138         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
14139         reusing existing buffers, in case we happen to visit two files with the
14140         same basename.  (Bug#4593)
14142 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
14144         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
14145         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
14146         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
14147         subdirs of cedet as well.
14148         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
14150 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14152         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
14153         Obey advertised-signature-table.
14155         * help-fns.el (help-function-arglist): Don't check
14156         advertised-signature-table.
14157         (describe-function-1): Do it here instead so it also applies to subrs.
14159 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
14161         * simple.el (start-file-process): Say in the doc-string, that file
14162         handlers might not support pty association, if PROGRAM is nil.
14164         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
14165         HOST and USER are strings.  They are nil, when there are
14166         incomplete entries in ~/.netrc, for example.
14167         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
14168         root directory ("device busy" error otherwise).
14170         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
14171         Flush file properties of created directory.
14173 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
14175         * makefile.w32-in (WINS_BASIC): Remove cedet.
14176         (WINS_CEDET): Add cedet.
14177         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
14179 2009-10-02  Kevin Ryde  <user42@zip.com.au>
14181         * net/browse-url.el (browse-url): Pass any symbol in
14182         browse-url-browser-function to `apply', since if you've mistakenly put
14183         an unbound symbol then the error is clearer.  (Bug#4531)
14185 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
14187         * allout.el (allout-init, allout-back-to-current-heading)
14188         (allout-beginning-of-current-entry, allout-ascend-to-depth)
14189         (allout-ascend, allout-up-current-level, allout-end-of-level)
14190         (allout-previous-visible-heading, allout-forward-current-level)
14191         (allout-backward-current-level, allout-show-children):
14192         * apropos.el (apropos-describe-plist):
14193         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
14194         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
14195         * completion.el (add-completion, add-permanent-completion):
14196         * descr-text.el (describe-text-category, describe-char):
14197         * desktop.el (desktop-lazy-abort):
14198         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
14199         * dired.el (dired-build-subdir-alist):
14200         * ediff.el (ediff-version):
14201         * elide-head.el (elide-head, elide-head-show):
14202         * emerge.el (emerge-version):
14203         * env.el (getenv):
14204         * face-remap.el (variable-pitch-mode):
14205         * faces.el (describe-face):
14206         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
14207         (dired-at-point):
14208         * files.el (find-file-existing, auto-save-mode):
14209         * font-lock.el (font-lock-fontify-buffer):
14210         * help-fns.el (describe-function, describe-variable)
14211         (describe-syntax, describe-categories):
14212         * help.el (view-lossage, describe-bindings, describe-key)
14213         (describe-mode):
14214         * hexl.el (hexl-current-address):
14215         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
14216         * info.el (Info-goto-emacs-key-command-node):
14217         * log-edit.el (log-edit-insert-cvs-template)
14218         (log-edit-insert-cvs-rcstemplate):
14219         * menu-bar.el (menu-bar-mode):
14220         * mouse.el (mouse-appearance-menu):
14221         * newcomment.el (comment-indent-new-line):
14222         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
14223         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
14224         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
14225         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
14226         * recentf.el (recentf-mode):
14227         * savehist.el (savehist-mode, savehist-save):
14228         * shadowfile.el (shadow-copy-files):
14229         * simple.el (kill-ring-save, next-line, previous-line)
14230         (normal-erase-is-backspace-mode):
14231         * strokes.el (strokes-update-window-configuration)
14232         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
14233         (strokes-xpm-for-stroke):
14234         * time.el (emacs-uptime, emacs-init-time):
14235         * tutorial.el (tutorial--describe-nonstandard-key)
14236         (tutorial--detailed-help):
14237         * type-break.el (type-break-mode)
14238         (type-break-mode-line-message-mode, type-break-query-mode)
14239         (type-break-guesstimate-keystroke-threshold):
14240         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
14241         * version.el (emacs-version):
14242         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
14243         * winner.el (winner-mode):
14244         * calendar/timeclock.el (timeclock-in, timeclock-out)
14245         (timeclock-status-string, timeclock-change)
14246         (timeclock-workday-remaining-string)
14247         (timeclock-workday-elapsed-string)
14248         (timeclock-when-to-leave-string):
14249         * calendar/todo-mode.el (todo-add-category):
14250         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
14251         * emacs-lisp/autoload.el (update-file-autoloads):
14252         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
14253         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
14254         (checkdoc-message-text, checkdoc-defun):
14255         * emacs-lisp/debug.el (debugger-list-functions):
14256         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14257         * emacs-lisp/eieio-opt.el (eieio-describe-class)
14258         (eieio-describe-generic):
14259         * emacs-lisp/lisp-mnt.el (lm-synopsis):
14260         * emacs-lisp/shadow.el (list-load-path-shadows):
14261         * emulation/cua-base.el (cua-mode):
14262         * emulation/edt.el (edt-set-scroll-margins):
14263         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
14264         (tpu-toggle-regexp, tpu-toggle-search-direction)
14265         (tpu-toggle-rectangle, tpu-toggle-control-keys):
14266         * emulation/tpu-extras.el (tpu-set-scroll-margins):
14267         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14268         (viper-set-parsing-style-toggling-macro)
14269         (viper-set-emacs-state-searchstyle-macros):
14270         * emulation/viper.el (viper-set-hooks):
14271         * eshell/esh-mode.el (eshell-truncate-buffer):
14272         * international/mule-cmds.el (prefer-coding-system)
14273         (describe-input-method, describe-language-environment):
14274         * international/mule-diag.el (list-character-sets)
14275         (describe-character-set, describe-coding-system)
14276         (describe-fontset, list-fontsets, list-input-methods):
14277         * mail/sendmail.el (mail-signature):
14278         * net/ange-ftp.el (ange-ftp-copy-file):
14279         * net/browse-url.el (browse-url):
14280         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
14281         * net/quickurl.el (quickurl-add-url):
14282         * net/rcirc.el (names, topic):
14283         * net/xesam.el (xesam-mode):
14284         * play/5x5.el (5x5-new-game):
14285         * play/yow.el (apropos-zippy):
14286         * progmodes/ada-mode.el (ada-mode-version):
14287         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
14288         (f90-end-of-block)
14289         (f90-beginning-of-block):
14290         * progmodes/fortran.el (fortran-end-of-block)
14291         (fortran-beginning-of-block):
14292         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
14293         * progmodes/python.el (python-describe-symbol, python-shell):
14294         * term/ns-win.el (ns-print-buffer):
14295         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
14296         * textmodes/flyspell.el (flyspell-mode-on):
14297         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
14298         (pages-directory-for-addresses):
14299         * textmodes/table.el (table-recognize-cell)
14300         (table-query-dimension, table-generate-source)
14301         (table-insert-sequence, table--warn-incompatibility):
14302         * textmodes/tex-mode.el (tex-validate-buffer):
14303         * textmodes/texinfmt.el (texinfmt-version)
14304         (texinfo-format-buffer):
14305         Use `called-interactively-p' instead of `interactive-p'.
14307 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
14309         * image-mode.el (image-toggle-display):
14310         * emacs-lisp/elp.el (elp-instrument-function):
14311         * emacs-lisp/advice.el (ad-make-advised-definition):
14312         * emacs-lisp/easy-mmode.el (define-minor-mode):
14313         * net/browse-url.el (browse-url-maybe-new-window):
14314         * progmodes/sh-script.el (sh-learn-buffer-indent):
14315         Pass new argument 'any to `called-interactively-p'.
14317 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
14319         * international/uni-bidi.el:
14320         * international/uni-category.el:
14321         * international/uni-combining.el:
14322         * international/uni-comment.el:
14323         * international/uni-decimal.el:
14324         * international/uni-decomposition.el:
14325         * international/uni-digit.el:
14326         * international/uni-lowercase.el:
14327         * international/uni-mirrored.el:
14328         * international/uni-name.el:
14329         * international/uni-numeric.el:
14330         * international/uni-old-name.el:
14331         * international/uni-titlecase.el:
14332         * international/uni-uppercase.el:
14333         Regenerate from Unicode 5.2.0 data.
14335 2009-10-01  Glenn Morris  <rgm@gnu.org>
14337         * Makefile.in (ELCFILES): Regenerate.
14339 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14341         * subr.el (interactive-p): Mark obsolete.
14342         (called-interactively-p): Make the optional-ness of `kind' obsolete.
14343         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
14344         advertised-signature-table for subroutines as well.
14346         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
14347         (set-advertised-calling-convention): New function.
14348         (make-obsolete, define-obsolete-function-alias)
14349         (make-obsolete-variable, define-obsolete-variable-alias):
14350         Make the optional-ness of `when' obsolete.
14351         (define-obsolete-face-alias): Make `when' non-optional.
14352         * help-fns.el (help-function-arglist):
14353         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
14354         Use advertised-signature-table.
14356 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
14358         * files.el (delete-directory): New defun.  The original function
14359         in fileio.c has been renamed to `delete-directory-internal'.
14361         * dired.el (dired-delete-file): Call `delete-directory' with
14362         RECURSIVE parameter.
14364         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
14365         parameter RECURSIVE.  Implementation is missing.
14367         * net/tramp.el (tramp-handle-make-directory): Flush upper
14368         directory's file properties.
14369         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
14370         (tramp-handle-dired-recursive-delete-directory): Flush directory
14371         properties after the remove command only.
14373         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14374         Handle optional parameter RECURSIVE.
14376         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14377         Handle optional parameter RECURSIVE.
14379         * net/tramp-smb.el (tramp-smb-errors): Add error message for
14380         connection timeout.
14381         (tramp-smb-handle-delete-directory): Handle optional parameter
14382         RECURSIVE.
14384 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14386         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
14387         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
14388         (byte-compile-defmacro): Use backquotes.
14390         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
14392         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
14393         has no associated file.
14394         (vc-resynch-buffer): Use vc-dir-buffers.
14396 2009-10-01  Glenn Morris  <rgm@gnu.org>
14398         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
14399         (chart-file-count):
14400         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
14401         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
14402         * emacs-lisp/eieio-opt.el (eieio-describe-class):
14403         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
14404         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
14405         (eieio-copy-parents-into-subclass, make-instance, class-children)
14406         (eieio-generic-form):
14408         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
14409         match-data.  (Bug#4555).
14411         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
14412         rather than parsing it as a regexp.  This relaxes the layout
14413         requirements and makes errors easier to detect.
14414         (check-declare-verify): Check file is regular.
14415         (check-declare-directory): Doc fix.
14416         * subr.el (declare-function): Doc fix.
14418         * ibuffer.el (ibuffer-format-qualifier):
14419         * isearch.el (hi-lock-regexp-okay):
14420         * calc/calc.el (math-zerop):
14421         * mail/uce.el (rmail-msgbeg, rmail-msgend):
14422         * term/w32-win.el (setup-default-fontset, set-fontset-font):
14423         Remove unused declarations.
14425 2009-09-30  Eric Ludlam  <zappo@gnu.org>
14427         * emacs-lisp/eieio.el (boolean-p): Delete.
14429 2009-09-30  Glenn Morris  <rgm@gnu.org>
14431         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
14433         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
14434         filename is not a string.
14436 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
14438         * files.el (safe-local-eval-forms): Fix typo.
14440 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
14442         * vc-hooks.el (vc-dir-buffers): New var.
14443         (vc-state-refresh): New function.
14444         (vc-state): Use it.
14445         (vc-after-save): Always ask the backend to recompute the new state.
14446         Always call vc-dir if necessary, using vc-dir-buffers.
14447         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
14448         Use vc-dir-buffers.
14449         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
14450         (vc-dir-prepare-status-buffer, vc-dir-update)
14451         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
14452         Don't call expand-file-name on default-directory.
14454 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
14456         * speedbar.el (speedbar-item-delete):
14457         * calc/calc-prog.el (calc-kbd-if):
14458         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
14460         * epa.el (epa-key-list-mode-map):
14461         * hi-lock.el (hi-lock-menu): Fix typos in menus.
14463         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
14464         (hs-show-hook): Fix typo in docstring.
14466 2009-09-29  Glenn Morris  <rgm@gnu.org>
14468         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
14469         file-name-nondirectory call preventing location of cedet files.
14470         (check-declare-verify): Use literal search rather than re-search.
14471         Add basic defmethod and defclass, and define-overloadable-function.
14473         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
14474         Use tramp-compat-file-attributes rather than nonexistent
14475         tramp-compat-handle-file-attributes.
14477         * Makefile.in (lisptagsfiles4): New.
14478         (AUTOGENEL): Add cedet loaddefs files.
14479         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
14480         (update-elclist, compile-always, backup-compiled-files)
14481         (bootstrap-clean): Add yet another directory level.
14482         (update-elclist): Use LC_COLLATE rather than COLLATE.
14483         (ELCFILES): Update, via `make update-elclist'.
14485 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
14487         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
14488         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
14489         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
14491 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
14493         * Makefile.in (lisptagsfiles3): Define.
14494         (TAGS, TAGS-LISP): Use it.
14495         (update-elclist): Add third directory level to look for elc files.
14496         (compile-always): Likewise.
14497         (backup-compiled-files): Likewise.
14498         (bootstrap-clean): Likewise.
14499         (ELCFILES): Update.
14501 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
14503         * Makefile.in (ELCFILES): Add CEDET files.
14505 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
14507         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
14509         * net/tramp.el (top): Require tramp-imap.
14511         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
14512         Use `tramp-compat-handle-file-attributes'.
14514 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
14516         * net/tramp-imap.el: New package.
14518 2009-09-28  Eric Ludlam  <zappo@gnu.org>
14520         * emacs-lisp/chart.el:
14521         * emacs-lisp/eieio-base.el:
14522         * emacs-lisp/eieio-comp.el:
14523         * emacs-lisp/eieio-custom.el:
14524         * emacs-lisp/eieio-datadebug.el:
14525         * emacs-lisp/eieio-opt.el:
14526         * emacs-lisp/eieio-speedbar.el:
14527         * emacs-lisp/eieio.el: New files.
14529 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14531         * whitespace.el (whitespace-trailing-regexp)
14532         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
14533         Fix doc string.
14535 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
14537         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
14538         menu.
14540         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
14541         menu-bar-ediff-menu.
14543         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
14544         define-overloadable-function.
14546         * progmodes/autoconf.el: Provide autoconf as well, so that this
14547         file can be `require'd.
14549         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
14551         * emacs-lisp/autoload.el (generated-autoload-feature)
14552         (generated-autoload-load-name): New vars.
14553         (autoload-rubric, autoload-generate-file-autoloads): Use them.
14554         (make-autoload): Recognize define-overloadable-function and
14555         defclass forms (for EIEIO).
14557         * Makefile.in (update-subdirs): Exclude cedet directory.
14559 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
14561         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
14563         * faces.el: Default light-background background for region face to
14564         ns_selection_color under NS.
14566 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
14568         * net/imap-hash.el: New library, see NEWS.
14570         * Makefile.in (ELCFILES): Add imap-hash.el.
14572 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14574         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
14575         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
14576         * help-macro.el (make-help-screen): Avoid using an ambiguous function
14577         definition where the docstring could be taken for the return value.
14579 2009-09-26  Glenn Morris  <rgm@gnu.org>
14581         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
14582         Add option to only show images below a certain size.
14583         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
14584         save-excursion calls.
14586 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
14588         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
14589         subdirectories) and eieio.
14591 2009-09-26  Alan Mackenzie  <acm@muc.de>
14593         * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
14594         buggy bracketing.  (Bug#4289)
14596         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
14597         character constants (as case labels).  (Bug#4289)
14599 2009-09-25  Juri Linkov  <juri@jurta.org>
14601         * files.el (safe-local-eval-forms): Allow time-stamp in
14602         before-save-hook (Bug#4554).
14604 2009-09-25  Drew Adams  <drew.adams@oracle.com>
14606         * menu-bar.el (list-buffers-directory): Doc fix.
14608 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14610         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
14611         Try and avoid copying twice the same paragraph.
14612         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
14613         Remove save-excursion.
14614         (log-edit-changelog-entry): Do it here instead.
14616 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
14618         * bs.el (bs--get-file-name): Use `list-buffers-directory'
14619         when available, instead of hardcoding mode names.  Doc fix.
14621         * menu-bar.el (list-buffers-directory): Add docstring.
14622         Make automatically buffer-local.
14624         * dired.el (dired-mode):
14625         * files.el (cd-absolute):
14626         * pcvs.el (cvs-temp-buffer):
14627         * pcvs-util.el (cvs-get-buffer-create):
14628         * shell.el (shell-mode):
14629         * vc-dir.el (vc-dir-mode):
14630         Don't make `list-buffers-directory' buffer local.
14632 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
14634         * comint.el (comint-exec, comint-run, make-comint):
14635         Doc fixes (Bug#4542).
14637 2009-09-25  Glenn Morris  <rgm@gnu.org>
14639         * mail/rmailmm.el (rmail-mime): New custom group.
14640         Move all defcustoms in this file into this group.
14641         (rmail-mime-media-type-handlers-alist): Revert previous change.
14642         (rmail-mime-show-images): New option.
14643         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
14644         references to it, since it wasn't actually used for anything.
14645         (rmail-mime-insert-image): New function.
14646         (rmail-mime-image): Use rmail-mime-insert-image.
14647         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
14648         obey the value of `rmail-mime-show-images' option.  Print the size of
14649         attachments.
14651 2009-09-25  David Engster  <deng@randomsample.de>
14653         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
14655 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14657         * whitespace.el: Does not highlight trailing spaces While point is
14658         at end of line.  Does not highligt spaces at beginning of buffer
14659         while point is at beginning of buffer.  Does not highlight spaces
14660         at end of buffer while point is at end of buffer.  (Bug#4177)
14661         New version 12.0.
14662         (whitespace-display-mappings): Adjust initialization.
14663         (whitespace-point, whitespace-font-lock-refontify): New vars.
14664         (whitespace-color-on, whitespace-color-off): Adjust code.
14665         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
14666         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
14667         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
14669 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
14671         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
14673         * textmodes/sgml-mode.el: Remove xml-mode alias.
14675         * files.el (auto-mode-alist, conf-mode-maybe)
14676         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
14678 2009-09-24  Alan Mackenzie  <acm@muc.de>
14680         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
14681         c-forward-conditionals, but it doesn't move point and doesn't set
14682         the mark.
14683         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
14684         (c-down-conditional-with-else, c-backward-conditional)
14685         (c-forward-conditional): Refactor to use c-scan-conditionals.
14687 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
14689         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
14690         (help-default-arg-highlight): Remove.
14691         (help-highlight-arg): New function.
14692         (help-do-arg-highlight): Use it.
14693         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
14695 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14697         * term.el (term-set-scroll-region, term-handle-ansi-escape):
14698         Undo last change, which didn't fix the problem and introduced others.
14700 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
14702         * progmodes/gdb-mi.el: Don't require speedbar.
14703         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
14705 2009-09-24  Glenn Morris  <rgm@gnu.org>
14707         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
14709         * term/ns-win.el (ns-reg-to-script): Define for compiler.
14711         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
14712         there is no newline after the final mime boundary.  (Bug#4539)
14713         Move markers on insertion so that any buttons inserted don't end up in
14714         the next part of a multipart message.
14715         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
14716         (rmail-mime-bulk-handler): Optionally handle images.
14717         (rmail-mime-image): New button action.
14718         (rmail-mime-image-handler): New function.
14719         (rmail-mime-mode): New mode.
14720         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
14722 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14724         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
14725         than just dropping elements from it (bug#4504).
14727         * term.el (term-set-scroll-region): Don't move cursor any more.
14728         (term-handle-ansi-escape): Call term-goto here instead.
14729         Suggested by Ivan Kanis <apple@kanis.eu>.
14731         * term.el: Require CL.
14732         (term-ansi-reset): New function.
14733         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
14734         (term-handle-colors-array): Simplify.
14736 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
14738         * allout.el (allout-overlay-interior-modification-handler)
14739         (allout-obtain-passphrase):
14740         * epa-file.el (epa-file-write-region):
14741         * ps-print.el (ps-begin-job):
14742         * vc-hooks.el (vc-toggle-read-only):
14743         * vc-rcs.el (vc-rcs-rollback):
14744         * vc-sccs.el (vc-sccs-rollback):
14745         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
14746         (vc-version-diff, vc-revert, vc-rollback):
14747         * wdired.el (wdired-check-kill-buffer):
14748         * emacs-lisp/authors.el (authors):
14749         * net/socks.el (socks-open-connection):
14750         * net/zeroconf.el (zeroconf-service-add-hook):
14751         * obsolete/vc-mcvs.el (vc-mcvs-register):
14752         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
14753         (gdb-select-frame):
14754         * progmodes/grep.el (lgrep, rgrep):
14755         * progmodes/idlw-help.el (idlwave-help-check-locations)
14756         (idlwave-help-html-link, idlwave-help-assistant-open-link):
14757         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
14758         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
14759         (reftex-toc-rename-label): Fix typos in error messages.
14761         * dired-aux.el (dired-do-shell-command): Reflow docstring.
14762         (dired-copy-how-to-fn): Doc fix.
14763         (dired-files-attributes, dired-read-shell-command):
14764         Fix typos in docstrings.
14766         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
14767         (dired-x-find-file-other-window): Reflow docstrings.
14768         (dired-omit-marker-char, dired-read-shell-command)
14769         (dired-x-submit-report): Fix typos in docstrings.
14771         * shell.el (shell-mode-hook):
14772         * view.el (View-scroll-line-forward):
14773         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
14774         Fix typos in docstrings.
14776         * net/dig.el (dig-invoke): Fix typo in docstring.
14777         (query-dig): Reflow docstring.
14779         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
14780         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
14781         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
14782         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
14783         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
14784         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
14785         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
14786         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
14787         (idlwave-completion-map, idlwave-current-indent)
14788         (idlwave-custom-ampersand-surround, idlwave-customize)
14789         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
14790         (idlwave-define-abbrev, idlwave-determine-class-special)
14791         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
14792         (idlwave-end-block-reg, idlwave-end-of-statement)
14793         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
14794         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
14795         (idlwave-explicit-class-listed, idlwave-file-header)
14796         (idlwave-fill-paragraph, idlwave-find-class-definition)
14797         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
14798         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
14799         (idlwave-in-quote, idlwave-indent-action-table)
14800         (idlwave-indent-expand-table, idlwave-indent-line)
14801         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
14802         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
14803         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
14804         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
14805         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
14806         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
14807         (idlwave-outlawed-buffers, idlwave-popup-select)
14808         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
14809         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
14810         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
14811         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
14812         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
14813         (idlwave-statement-type, idlwave-struct-skip)
14814         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
14815         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
14816         (idlwave-what-module-find-class): Fix typos in docstrings.
14817         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
14818         (idlwave-calculate-cont-indent, idlwave-expand-equal)
14819         (idlwave-find-module, idlwave-find-structure-definition)
14820         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
14821         (idlwave-list-load-path-shadows, idlwave-next-statement)
14822         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
14823         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
14824         (idlwave-template): Reflow docstrings.
14826         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
14827         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
14828         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
14829         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
14830         (idlwave-shell-display-line, idlwave-shell-display-wframe)
14831         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
14832         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
14833         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
14834         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
14835         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
14836         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
14837         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
14838         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
14839         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
14840         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
14841         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
14842         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
14843         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
14844         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
14845         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
14846         Fix typos in docstrings.
14847         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
14848         (idlwave-shell-hide-output, idlwave-shell-mode)
14849         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
14850         Reflow docstrings.
14852         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
14854 2009-09-24  Ivan Kanis  <apple@kanis.eu>
14856         * term.el (term-bold-attribute): New var.
14857         (term-handle-colors-array): Use it.
14859 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
14861         * progmodes/gdb-mi.el (gdb-version): New variable.
14862         (gdb-non-stop-handler): Set gdb-version.
14863         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
14864         Condition "--thread" option on gdb-version.
14865         (gdb-invalidate-threads): Remove unused argument.
14867 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14869         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
14870         to looking-back to avoid ridiculous slow down in large files (bug#4511).
14872 2009-09-23  Glenn Morris  <rgm@gnu.org>
14874         * mail/rmail.el (rmail-reply): Don't try to add a References header when
14875         replying to mail without References or Message-Id.  (Bug#4525)
14877 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
14879         * term/ns-win.el (ns-reg-to-script): New variable.
14881 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
14883         * epg.el (epg-wait-for-status): Preserve existing 'error results.
14885 2009-09-22  Sam Steingold  <sds@gnu.org>
14887         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
14888         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
14889         to 1 because hg returns status 1 when nothing is found.
14890         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
14892 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
14894         * textmodes/fill.el: Convert to utf-8 encoding.
14895         (fill-french-nobreak-p): Remove redundant » and « inherited from our
14896         pre-Unicode days.
14898         * add-log.el (change-log-fill-forward-paragraph): New function.
14899         (change-log-mode): Use it so fill-region DTRT.
14900         Set fill-indent-according-to-mode here rather than in
14901         change-log-fill-paragraph.
14902         (change-log-fill-paragraph): Remove.
14904 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
14906         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
14907         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
14909 2009-09-22  Glenn Morris  <rgm@gnu.org>
14911         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
14912         the scroll-bar scroll the calendar window rather than the buffer.
14914         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
14915         commands that move point (as opposed to scrolling).
14917         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
14919         * emacs-lisp/elint.el (elint): New custom group.
14920         (elint-log-buffer): Make it a defcustom.
14921         (elint-scan-preloaded, elint-ignored-warnings)
14922         (elint-directory-skip-re): New options.
14923         (elint-builtin-variables): Doc fix.
14924         (elint-preloaded-env): New variable.
14925         (elint-unknown-builtin-args): Add an entry for encode-time.
14926         (elint-extra-errors): Make it a variable rather than a constant.
14927         (elint-preloaded-skip-re): New constant.
14928         (elint-directory): Skip files matching elint-directory-skip-re.
14929         (elint-features): New variable, local to linted buffers.
14930         (elint-update-env): Initialize elint-features.  Possibly add
14931         elint-preloaded-env to the buffer's environment.
14932         (elint-get-top-forms): Bind elint-current-pos, for log messages.
14933         Skip quoted forms.
14934         (elint-init-form): New function, extracted from elint-init-env.
14935         Make non-list forms a warning rather than an error.
14936         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
14937         easy-menu-define, put that adds an error-condition, and provide.
14938         When requiring cl, also require cl-macs.  Really require cl, to handle
14939         some cl macros.  Store required libraries in the list elint-features,
14940         so as not to re-load them.  Treat cc-require like require.
14941         (elint-init-env): Call elint-init-form to do the work.
14942         Handle eval-and-compile and such like.
14943         (elint-add-required-env): Do not clear messages.
14944         (elint-special-forms): Add handlers for function, defalias, if, when,
14945         unless, and, or.
14946         (elint-form): Add optional argument to ignore elint-special-forms,
14947         useful to prevent recursive calls from handlers.  Doc fix.
14948         Respect elint-ignored-warnings.
14949         (elint-form): Respect elint-ignored-warnings.
14950         (elint-bound-variable, elint-bound-function): New variables.
14951         (elint-unbound-variable): Respect elint-bound-variable.
14952         (elint-get-args): Respect elint-bound-function.
14953         (elint-check-cond-form): Add some simple handling for (f)boundp and
14954         featurep tests.
14955         (elint-check-defalias-form): New handler.
14956         (elint-check-let-form): Make an empty let a warning rather than an
14957         error.
14958         (elint-check-setq-form): Make an empty setq a warning rather than an
14959         error.  Respect elint-ignored-warnings.
14960         (elint-check-defvar-form): Accept null doc-strings.
14961         (elint-check-conditional-form): New handler.  Does some simple-minded
14962         checking of featurep and (f)boundp tests.
14963         (elint-put-function-args): New function.
14964         (elint-initialize): Use elint-scan-doc-file rather than
14965         elint-find-builtin-variables.  Use elint-put-function-args.
14966         Possibly scan preloaded-file-list.
14967         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
14968         extend to handle functions as well.
14970 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
14972         * linum.el (linum-delete-overlays, linum-update-window):
14973         Do not modify the right margin.  (Bug#3971)
14975 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
14977         * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
14978         nxml-mode instead of xml-mode.
14980 2009-09-21  Kevin Ryde  <user42@zip.com.au>
14982         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
14984 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14986         * net/dig.el (dig-mode): Use define-derived-mode.
14988 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
14990         * vc-dispatcher.el (vc-do-command): Return the process object in
14991         the asynchronous case.  Use when instead of if.  Do not run
14992         vc-exec-after to display a message if not enabled.  (Bug#4463)
14994         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
14995         properties to the stash strings.
14996         (vc-git-stash-list): Return a list of strings.
14997         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
14998         (vc-git-stash-show-at-point): New functions.
14999         (vc-git-stash-map): New keymap.
15001         * register.el (ctl-x-r-map): Define the keys here instead of
15002         using autoload.
15004 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
15006         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
15007         list, to workaround performance problem (bug#4485).
15009 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
15011         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
15013 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
15015         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
15016         Document that this option is not recommended to use.
15018 2009-09-19  Glenn Morris  <rgm@gnu.org>
15020         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
15021         variable `var'.
15023         * calc/calc-alg.el (var):
15024         * calc/calcalg2.el (var): Define for compiler.
15026 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
15028         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
15029         Doc fix (Bug#3932).
15031         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
15033         * time-stamp.el (time-stamp-month-dd-yyyy)
15034         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
15035         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
15036         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
15037         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
15038         Remove functions that have been obsolete since 1995 (Bug#4436).
15040         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
15041         indent buffer only if called interactively (Bug#4452).
15043 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
15044             Eli Zaretskii  <eliz@gnu.org>
15046         This fixes bug#4197 (merged to bug#865, though not identical).
15047         * server.el (server-auth-dir): Add docstring note about FAT32.
15048         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
15049         but warn against using them.
15051 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
15053         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
15054         older GDB where there is no has_more field.
15056 2009-09-19  Glenn Morris  <rgm@gnu.org>
15058         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
15060 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
15062         * files.el (auto-mode-alist): Change default for XML files to nXML
15063         mode (Bug#4169).
15065 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
15067         * server.el (server-ensure-safe-dir): Pass 'integer
15068         to `file-attributes', as suggested.
15070 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
15072         * dired-aux.el (dired-query-alist): Remove spurious backslash.
15073         (dired-query): Use read-key.
15075 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
15077         * cus-start.el (ns-use-qd-smoothing): Remove.
15079 2009-09-18  Glenn Morris  <rgm@gnu.org>
15081         * allout.el (top-level): Remove unnecessary progn.
15083         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
15085         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
15086         definition of abbrev table.
15088         * speedbar.el (speedbar-track-mouse):
15089         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
15090         * net/eudc.el (eudc-expand-inline):
15091         * net/newst-backend.el (newsticker--cache-read-feed):
15092         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
15093         condition-case handlers.
15095 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
15097         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
15098         (gdb-var-list): Add an element for has_more field.
15099         (gdb-non-stop-handler): Enable pretty printing for STL containers.
15100         (gdb-var-create-handler, gdb-var-list-children-handler-1)
15101         (gdb-var-update-handler-1): Parse output of dynamic variable
15102         objects (STL containers).
15103         (gdb-var-delete-1): Pass var1 as an explicit second argument.
15104         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
15106         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
15107         gdb-var-list.
15108         (gud-speedbar-buttons): Make node expandable if expression "has more"
15109         children.
15111 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
15113         * startup.el (emacs-quick-startup): Remove variable and all uses.
15114         (command-line): Set `inhibit-x-resources' instead.
15115         (command-line-1): Use `inhibit-x-resources' instead.
15117 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
15119         * subr.el: Fix last change to avoid using the `unless' macro,
15120         which breaks bootstrapping.
15122 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15124         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
15125         extended definitions, in case we reload subr.el after having
15126         loaded CL.
15127         (eval-next-after-load): Mark as obsolete.
15129 2009-09-17  Juri Linkov  <juri@jurta.org>
15131         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
15132         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
15133         (menu-bar-showhide-menu, menu-bar-tools-menu)
15134         (menu-bar-describe-menu, menu-bar-help-menu)
15135         (minibuffer-local-completion-map, minibuffer-local-map):
15136         Fix list quoting.
15138 2009-09-17  Glenn Morris  <rgm@gnu.org>
15140         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
15141         arguments, whether or not it has a handler.
15143         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
15145         * simple.el (hard-newline): Give it a doc-string.
15147         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15148         (lisp-mode-syntax-table): Give them doc-strings.
15150 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
15152         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
15153         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
15154         (menu-bar-options-menu, menu-bar-showhide-menu)
15155         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
15156         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
15157         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
15158         (menu-bar-options-menu, menu-bar-tools-menu)
15159         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
15160         (menu-bar-help-menu):
15161         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
15162         string arguments.
15164         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
15165         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
15166         calls for the menu names and :help.
15168 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15170         * mouse.el (minor-mode-menu-from-indicator): Pay attention
15171         to :minor-mode-function (bug#4455).
15173 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15175         * startup.el (command-line): Initialize the window-system after
15176         processing the command-line.
15178         * textmodes/page.el (what-page): Make sure we don't inf-loop if
15179         page-delimiter matches the empty string.
15181 2009-09-16  Glenn Morris  <rgm@gnu.org>
15183         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
15184         byte-compile-not-obsolete-var.  It's a list now.
15185         (byte-compile-not-obsolete-funcs): New variable.
15186         (byte-compile-warn-obsolete): Don't warn about functions if they are in
15187         byte-compile-not-obsolete-funcs.
15188         (byte-compile-variable-ref, byte-compile-defvar): Update for
15189         byte-compile-not-obsolete-vars name-change and list nature.
15190         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
15191         and variables behind (f)boundp tests.
15192         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
15194 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
15196         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
15198 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15200         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
15201         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
15202         Don't autoload.
15204 2009-09-15  Stephen Eglen  <stephen@gnu.org>
15206         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
15207         the virtual-buffers, use the name of the buffer specified by
15208         find-file-noselect, as the match may be a symlink.  (This was a
15209         problem if the target and the symlink had different names.)
15211 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15213         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
15215         * desktop.el (desktop-path): Check user-emacs-directory.
15217         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
15219         * loadup.el: Use after-load-functions to GC after loading each file.
15220         Remove the explicit GC calls that used to be sprinkled around.
15222         * subr.el (after-load-functions): New hook.
15223         (do-after-load-evaluation): Run it.  Use string-match-p to detect
15224         `obsolete' packages, rather than painfully extracting the relevant
15225         directory name.
15227 2009-09-15  Glenn Morris  <rgm@gnu.org>
15229         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
15230         free variable `doc'.
15232         * dired.el (dired-mode-map): Add menu entry for async shell command.
15234         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
15235         variables, also consider the .elc files, since the .el files are
15236         normally gzipped (subsequent code locates the .el.gz from the .elc).
15238         * calc/calc-prog.el (arglist): Define for compiler.
15240         * calendar/diary-lib.el (diary-display-function): Change the default to
15241         fancy display.
15242         (body): Define for compiler.
15244         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
15245         (byte-compile-file-form, byte-compile-lambda)
15246         (byte-compile-top-level-body, byte-compile-form)
15247         (byte-compile-variable-ref, byte-compile-setq)
15248         (byte-compile-setq-default, byte-compile-body)
15249         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
15250         (batch-byte-compile): Give some more local variables with common names
15251         a "bytecomp-" prefix to avoid masking warnings about free variables.
15253         * startup.el (command-line-1): Give local variables with common names a
15254         distinguishing prefix, so as not to hide free variable warnings during
15255         bootstrap.
15257         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
15258         clever and add a suffix to make a unique name, just let the user decide
15259         whether or not to overwrite it.  If the input is a directory, write the
15260         default filename to that directory.  (Bug#4388)
15261         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
15262         is a filename-as-a-directory.
15264 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15266         * textmodes/page.el (what-page): Don't move to beginning of line.
15267         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
15269 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
15271         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
15273 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
15275         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
15276         * help.el (help-for-help-internal): Add purecopy calls for text.
15278         * vc.el (top): print-log method now takes an optional SHORTLOG
15279         argument.  Add a new method: root.
15280         (vc-root-diff, vc-print-root-log): New functions.
15281         (vc-log-short-style): New variable.
15282         (vc-print-log-internal): Add support for showing short logs.
15284         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
15285         vc-print-root-log and vc-print-root-diff.
15287         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
15288         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
15289         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
15290         short logs.
15292         * vc-cvs.el (vc-cvs-print-log):
15293         * vc-mtn.el (vc-mtn-print-log):
15294         * vc-rcs.el (vc-rcs-print-log):
15295         * vc-sccs.el (vc-sccs-print-log):
15296         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
15297         that is ignored for now.
15299         * vc-mtn.el (vc-mtn-annotate-command):
15300         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
15302 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15304         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
15305         to function-key-map, and give them ascii-character property.
15306         * term/x-win.el (x-alternatives-map):
15307         * term/ns-win.el (ns-alternatives-map):
15308         * term/internal.el (msdos-key-remapping-map):
15309         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
15311 2009-09-14  Glenn Morris  <rgm@gnu.org>
15313         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
15314         temp-buffers (2009-09-12).
15316 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15318         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
15319         the new read-key function.
15321 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
15323         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
15324         is defined (Bug#4405).
15326 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
15328         * recentf.el (recentf-cleanup): Use a hash table to find
15329         duplicates (Bug#4407).
15331 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
15333         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
15334         kp-0 to ascii equivalents (Bug#4325).
15336 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
15338         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
15340         * eshell/em-hist.el:
15341         * eshell/em-dirs.el (eshell-complete-user-reference):
15342         Declare pcomplete functions and variables to avoid compiler warnings.
15344 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
15346         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
15347         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
15348         * eshell/em-alias.el (eshell-aliases-file):
15349         * eshell/em-hist.el (eshell-history-file-name):
15350         Use expand-file-name instead of concat to make file names (Bug#4308).
15352 2009-09-13  Glenn Morris  <rgm@gnu.org>
15354         * ediff-merg.el (ediff-do-merge):
15355         * filesets.el (filesets-run-cmd):
15356         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
15357         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
15358         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
15359         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
15360         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
15361         Replace empty `let's with `progn'.
15363 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15365         * mail/sendmail.el (send-mail-function):
15366         * tooltip.el (tooltip-mode):
15367         * simple.el (transient-mark-mode):
15368         * rfn-eshadow.el (file-name-shadow-mode):
15369         * frame.el (blink-cursor-mode):
15370         * font-core.el (global-font-lock-mode):
15371         * files.el (temporary-file-directory)
15372         (small-temporary-file-directory, auto-save-file-name-transforms):
15373         * epa-hook.el (auto-encryption-mode):
15374         * composite.el (global-auto-composition-mode):
15375         Use custom-initialize-delay.
15376         * startup.el (command-line): Don't explicitly call
15377         custom-reevaluate-setting for all the above vars.
15378         * custom.el (custom-initialize-safe-set)
15379         (custom-initialize-safe-default): Delete.
15381 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15383         * term/x-win.el (x-initialize-window-system):
15384         * term/w32-win.el (w32-initialize-window-system):
15385         * term/ns-win.el (ns-initialize-window-system): Don't call
15386         mouse-wheel-mode since it's enabled globally by default already.
15388         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
15389         actually define the variable, but only silences the byte-compiler.
15390         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
15391         before looking it up.
15392         (mouse-wheel-scroll-amount): Also reset the bindings if this value
15393         is changed.
15395 2009-09-12  Glenn Morris  <rgm@gnu.org>
15397         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
15398         1000.
15399         (elint-add-required-env): Don't beep on error.
15400         (elint-forms): In case of error, return ENV unchanged.
15401         (elint-init-env): Skip non-list forms.
15402         (elint-log): Handle unknown file positions.
15404 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
15406         * epg.el (epg-make-context): Add autoload cookie.
15407         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
15408         (epg-decrypt-string, epg-start-verify, epg-verify-file)
15409         (epg-verify-string, epg-start-sign, epg-sign-file)
15410         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
15411         (epg-encrypt-string, epg-start-export-keys)
15412         (epg-export-keys-to-file, epg-export-keys-to-string)
15413         (epg-start-import-keys, epg-import-keys-from-file)
15414         (epg-import-keys-from-string, epg-start-receive-keys)
15415         (epg-receive-keys, epg-import-keys-from-server)
15416         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
15417         (epg-sign-keys, epg-start-generate-key)
15418         (epg-generate-key-from-file, epg-generate-key-from-string):
15419         Remove autoload cookie.
15421 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
15423         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
15424         reevaluation of trash-directory.
15426         * mwheel.el: Fix last change.
15427         (mouse-wheel-mode): New defvar.
15428         (mouse-wheel-mode): Remove autoload cookie.
15430 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15432         * mwheel.el (mwheel-installed-bindings): New var.
15433         (mouse-wheel-mode): Use it, so as to make sure we really remove all
15434         the bindings we set last time.  Use custom-initialize-delay.
15435         * loadup.el: Load mwheel after term/*-win.el.
15436         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
15437         and mouse-wheel-up-event now that their first evaluation is done
15438         sufficiently late to be correct.
15440         * startup.el (tutorial-directory): Make it a defcustom.
15441         Use custom-initialize-delay rather than eval-at-startup to set it.
15442         * image.el (image-load-path): Make it a defcustom.
15443         Use custom-initialize-delay rather than eval-at-startup to set it.
15444         * subr.el (eval-at-startup): Remove.
15445         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
15447         * subr.el (do-after-load-evaluation): Warn the user after loading an
15448         obsolete package.
15450 2009-09-12  Glenn Morris  <rgm@gnu.org>
15452         * proced.el (proced-mark-alt): Remove alias.
15453         (proced-mode-map): Remove proced-mark-alt.
15455         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
15456         Elint file and directory.  Remove initialization entry.
15458         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
15459         commands.
15460         (elint-current-buffer): Set mode-line-process.
15461         (elint-init-env): Handle define-derived-mode.
15462         Fix declare-function with unspecified arglist.  Guard against odd
15463         defalias statements (eg iso-insert's 8859-1-map).
15464         (elint-add-required-env): Use a temp buffer.
15465         (elint-form): Just print the function/macro name, not the whole form.
15466         Return env unchanged if we fail to parse a macro.
15467         (elint-forms): Guard against parse errors.
15468         (elint-output): New function, to handle batch mode.
15469         (elint-log-message): Add optional argument.  Use elint-output.
15470         (elint-set-mode-line): New function.
15472 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
15474         * emacs-lisp/elp.el (elp-not-profilable): Add more
15475         functions (Bug#4233).
15477 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
15479         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
15480         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
15482 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
15484         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
15485         (gdb-var-list-children): Use json parsing.
15487 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
15489         * progmodes/js.el (js--proper-indentation): Handle the case where
15490         char-before is null.  Reported by Deniz Dogan.
15492 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
15494         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
15496 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
15498         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
15499         (epg-digest-algorithm-alist): Add SHA224.
15500         (epg-context-set-passphrase-callback)
15501         (epg-context-set-progress-callback): Add description about
15502         callback function.
15504 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15506         * custom.el (custom-delayed-init-variables): New var.
15507         (custom-initialize-delay): New function.
15508         * startup.el (command-line): "Re"evaluate all vars in
15509         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
15510         explicitly any more.
15511         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
15512         to avoid creating a ~/.emacs.d at build-time (bug#4347).
15514         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
15516 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
15518         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
15519         (gdb-var-update-handler): Use json parsing.
15521 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
15523         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
15524         decode annotated text, regardless of language environment.  (Bug#2741)
15526 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15528         * Makefile.in (autoloads): Make rmail.el writable as well.
15530 2009-09-11  Glenn Morris  <rgm@gnu.org>
15532         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
15533         loaddefs.el.
15534         * dired.el: Regenerate with extracted autoloads.
15535         * Makefile.in (autoloads): Make dired.el writable.
15537         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
15538         * ibuffer.el: Regenerate with extracted autoloads.
15539         * Makefile.in (autoloads): Make ibuffer.el writable.
15541         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
15542         * version.el (emacs-copyright, emacs-major-version)
15543         (emacs-minor-version): Reformat doc-strings for make-docfile.
15545         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
15546         functions and variables, since they must be stuff specific to some other
15547         platform.
15548         (apropos-print): Make mouse-click message less specific about button.
15550         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
15551         that records where a macro was defined.
15552         * help-fns.el (describe-function-1): Mention if a function has a
15553         compiler-macro.
15554         * help-mode.el (help-function-cmacro): New button.
15556         * locate.el (top-level): Always require dired.
15557         (locate-mode-map): Initialize inside the defvar.
15559         * net/ange-ftp.el (dired-compress-file): Declare.
15560         (ange-ftp-dired-compress-file): Add doc string.
15562         * term/ns-win.el (x-display-name, x-setup-function-keys):
15563         Unify doc-strings with X versions.
15565 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15567         * emulation/crisp.el (crisp-mode-map): Move initialization
15568         into declaration.
15569         (crisp-mode): Use define-minor-mode.
15571         * progmodes/xscheme.el (xscheme-evaluation-commands):
15572         Put a :advertised-binding property rather than using
15573         advertised-xscheme-send-previous-expression.
15574         (advertised-xscheme-send-previous-expression): Declare obsolete.
15575         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
15576         `advertised-undo'.
15577         (crisp-mode): Add corresponding bindings to
15578         undo's :advertised-binding instead.
15579         * dired.el (dired-mode-map): Put a :advertised-binding property rather
15580         than using dired-advertised-find-file.
15581         (dired-advertised-find-file):
15582         * simple.el (advertised-undo):
15583         * wid-edit.el (advertised-widget-backward): Declare obsolete.
15584         (widget-keymap): Put a :advertised-binding property rather
15585         than using advertised-widget-backward.
15586         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
15587         than using advertised-undo.
15588         * tutorial.el (tutorial--default-keys): Adjust accordingly.
15590 2009-09-10  Simon South  <ssouth@slowcomputing.org>
15592         * progmodes/delphi.el (delphi-tab): Indent region when Transient
15593         Mark mode is enabled and region is active; otherwise indent or
15594         insert TAB as usual.
15595         (delphi-mode): Update description of TAB-key binding.
15597 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
15599         * subr.el (define-key-rebound-commands): Mark obsolete.
15600         * startup.el (precompute-menubar-bindings): Remove.
15601         (normal-top-level): Remove obsolete code that tried to precompute
15602         menubar bindings.
15603         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
15604         define-key-rebound-commands and precompute-menubar-bindings.
15606 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
15608         * net/imap.el (imap-interactive-login): Better messages.
15609         (imap-open): Fix bug with renamed buffer on reconnect.
15610         (imap-authenticate): Add buffer-local imap-last-authenticator variable
15611         for easier debugging and cleaner code.  On successful (guessed based on
15612         server capabilities) secondary authentication, set imap-state
15613         correctly.
15614         (imap-last-authenticator): Define imap-last-authenticator as a variable
15615         to avoid warnings.
15617 2009-09-10  Glenn Morris  <rgm@gnu.org>
15619         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
15621         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
15622         (byte-compile-file-form-autoload): Don't warn about unknown functions
15623         where the autoload statement comes after the use.
15624         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
15625         that any handlers inside the body (eg require) are in turn respected.
15627         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
15628         effects.
15630         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
15631         and syntax and abbrev tables basic docs, if they don't have any.
15633         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
15635         * international/mule-cmds.el (top-level): Require cl when compiling.
15636         (view-hello-file): Use default-value rather than
15637         default-enable-multibyte-characters.
15639         * progmodes/fortran.el: Move all safe and risky properties into the
15640         defcustoms.
15642         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
15643         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
15644         * mail/undigest.el:
15645         Put autoloads in rmail.el rather than loaddefs.el.
15646         * mail/rmail.el: Regenerate with extracted autoloads.
15648         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
15649         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
15651 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
15653         Reported in thread for Bug#4375.
15654         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
15655         "-data-evaluate-expression" instead of print.
15656         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
15657         (gdb-tooltip-print): Parse output from above MI command.
15658         (gdb): Revert 2009-08-11 change.  User should detach inferior
15659         manually.
15661         Remove the word "separate" from IO functions as inferior
15662         output is now never displayed in the GUD buffer.
15664 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
15666         * startup.el (command-line-normalize-file-name): On Windows and
15667         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
15669 2009-09-10  Juri Linkov  <juri@jurta.org>
15671         * isearch.el (isearch-text-char-description): Propertize escape
15672         character sequences with the `escape-glyph' face.  (Bug#4344)
15674         * simple.el (shell-command): Set asynchronous process filter to
15675         `comint-output-filter'.  (Bug#4343)
15677         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
15678         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
15679         the list.  Move "asm" to the bottom.
15680         (grep-find-ignored-directories): Add `choice' with nil value
15681         to empty the list easily.
15682         (grep-find-ignored-files): New option.
15683         (grep-files-history): Set to nil by default instead of '("ch" "el").
15684         (grep-compute-defaults): Add "<X>" to `grep-template'.
15685         (grep-read-files): Bind new local variables `default-alias' and
15686         `default-extension'.  Use a list of default values for the file prompt.
15687         (lgrep): Add `--exclude=' command line options composed from
15688         `grep-find-ignored-files'.
15689         (rgrep): Add `-name' command line options composed from
15690         `grep-find-ignored-files'.  (Bug#4301)
15692 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
15694         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
15695         (bug#4368).
15697 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
15699         * calendar/time-date.el (autoload):
15700         Expand define-obsolete-function-alias into defalias and make-obsolete
15701         for old Emacsen that Gnus supports.
15702         (with-no-warnings): Define it for old Emacsen.
15703         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
15704         is available.
15705         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
15706         float-time is available; suppress compile warning for time-to-seconds.
15708 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
15710         * net/imap.el (imap-message-map): Docstring fix.
15712 2009-09-09  Glenn Morris  <rgm@gnu.org>
15714         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
15715         line numbers too.  (Bug#4374)
15717 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15719         * smerge-mode.el (smerge-remove-props, smerge-refine):
15720         Use with-silent-modifications (bug#4342).
15722         * subr.el (with-silent-modifications): New macro.
15724 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
15726         * files.el (top-level): Require `cl' when compiling.
15728 2009-09-07  Glenn Morris  <rgm@gnu.org>
15730         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
15732         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
15733         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
15735 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
15737         * vc-git.el (vc-git-annotate-command): Use separator to parse
15738         arguments correctly.
15740 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
15742         * proced.el (proced-mode): Doc fix.
15744 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
15746         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
15747         lstat fails.
15748         (tramp-do-file-attributes-with-ls): Check for file existence at
15749         remote end.
15750         (tramp-do-file-attributes-with-stat): Likewise.
15751         (tramp-convert-file-attributes): Return nil when attr is nil.
15753 2009-09-05  Glenn Morris  <rgm@gnu.org>
15755         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
15756         properties to this button.
15757         (diary-fancy-display): Don't extend the button to the final newline.
15758         (diary-fancy-display-mode): Continue to define "q" as a local key.
15760         * calendar/cal-china.el (holiday-chinese): Make it slightly more
15761         efficient.
15763         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
15765         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
15766         (byte-compile-dest-file-function): New option.
15767         (byte-compile-dest-file): Doc fix.
15768         Obey byte-compile-dest-file-function.
15769         (byte-compile-cl-file-p): New function.
15770         (byte-compile-eval): Only suppress noruntime warnings about cl functions
15771         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
15772         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
15773         than for file being previously loaded.
15774         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
15775         (byte-compile-file-form-require): Handle the case where requiring a file
15776         indirectly causes CL to be loaded.
15778 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
15780         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
15781         before killing the old buffer, since by the time `kill-buffer' is
15782         run so many buffer variables have been set to nil that it may not
15783         behave as expected.  (Bug#4061)
15785 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
15787         * files.el (find-alternate-file): If the old buffer is modified
15788         and visiting a file, behave similarly to `kill-buffer' when
15789         killing it, thus reverting to the pre-1.878 behavior; see
15790         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
15791         for discussion.  Also, consult `buffer-file-name' as a variable
15792         not as a function, for consistency with the rest of the code.
15794 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
15796         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
15797         also when adding a new directory.
15799         * net/tramp-compat.el (tramp-compat-line-beginning-position): New
15800         defun.
15802 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15804         * files.el (locate-file-completion-table): Make it provide boundary
15805         information, so partial-completion works better.
15807 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
15809         * mail/footnote.el (Footnote-text-under-cursor):
15810         Check footnote-text-marker-alist before using it (bug#4324).
15812 2009-09-04  Glenn Morris  <rgm@gnu.org>
15814         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
15815         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
15816         * play/solitaire.el, play/tetris.el:
15817         Remove leading * from defcustom and defface docs.
15819         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
15820         necessary.
15821         (diary-fancy-overriding-map): New variable.
15822         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
15823         Use view-mode.
15825         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
15826         goto-line.
15828 2009-09-03  Glenn Morris  <rgm@gnu.org>
15830         * arc-mode.el (archive-mode):
15831         * dos-fns.el (set-default-process-coding-system):
15832         * man.el (Man-getpage-in-background):
15833         * menu-bar.el (menu-bar-describe-menu):
15834         * server.el (server-process-filter):
15835         * startup.el (command-line):
15836         * tar-mode.el (tar-header-block-tokenize, tar-extract):
15837         * w32-fns.el (set-default-process-coding-system):
15838         * x-dnd.el (x-dnd-handle-file-name):
15839         * international/mule-cmds.el (mule-menu-keymap)
15840         (set-default-coding-systems, language-info-alist, set-language-info)
15841         (set-language-environment, standard-display-european-internal)
15842         (set-locale-environment):
15843         * international/mule-diag.el (mule-diag):
15844         * mail/emacsbug.el (report-emacs-bug):
15845         * mail/rmail.el (rmail-mode):
15846         * mail/sendmail.el (mail-setup):
15847         Use default-value rather than default-enable-multibyte-characters.
15849         * progmodes/f90.el: Move all safe properties into the defcustoms.
15850         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
15852         * calendar/appt.el (appt-check):
15853         * calendar/diary-lib.el (diary-set-header, diary-live-p)
15854         (diary-check-diary-file, diary-list-entries)
15855         (diary-include-other-diary-files, diary-simple-display)
15856         (diary-fancy-display, diary-print-entries)
15857         (diary-mark-included-diary-files, diary-make-entry):
15858         Don't call substitute-in-file-name on diary-file.
15860 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
15861             Stefan Monnier  <monnier@iro.umontreal.ca>
15863         * mail/footnote.el (footnote-prefix): Make it a defcustom.
15864         (footnote-mode-map): Move initialization into the declaration.
15865         (footnote-minor-mode-map): Define it rather than changing global-map.
15866         (footnote-mode): Use define-minor-mode.
15868 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
15870         * net/tramp.el (tramp-handle-file-attributes-with-ls)
15871         (tramp-do-file-attributes-with-perl)
15872         (tramp-do-file-attributes-with-stat): Rename from
15873         `tramp-handle-file-attributes-with-*'.
15874         (tramp-handle-file-attributes): Use them.
15875         (tramp-do-directory-files-and-attributes-with-perl)
15876         (tramp-do-directory-files-and-attributes-with-stat): Rename from
15877         `tramp-handle-directory-files-and-attributes-with-*'.
15878         (tramp-handle-directory-files-and-attributes): Use them.
15879         (tramp-method-out-of-band-p): Additional parameter SIZE.
15880         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
15881         (tramp-handle-write-region): Use it.
15882         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
15883         (tramp-handle-vc-registered): Check, whether the first run did
15884         return files to be tested.
15885         (tramp-advice-make-auto-save-file-name): Do not call directly
15886         `tramp-handle-make-auto-save-file-name', because this would bypass
15887         the locking mechanism.
15889         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
15890         (file-remote-p, process-file, start-file-process, set-file-times)
15891         (tramp-compat-file-attributes): Compatibility functions shall not
15892         call directly `tramp-handle-*', because this would bypass the
15893         locking mechanism.
15894         (tramp-compat-number-sequence): New defun.
15896 2009-09-02  Glenn Morris  <rgm@gnu.org>
15898         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
15899         alias for float-time.
15900         (time-to-number-of-days): In Emacs, use float-time.
15901         * net/newst-backend.el (time-add): Suppress warnings from compat
15902         function.
15903         * time.el (emacs-uptime, emacs-init-time):
15904         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
15905         Use float-time rather than time-to-seconds.
15907         * minibuffer.el (completion-initials-expand): Fix typo.
15909         * faces.el (modeline, modeline-inactive, modeline-highlight)
15910         (modeline-buffer-id):
15911         * info.el (info-menu-5): Mark these face aliases as obsolete.
15913 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
15915         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
15916         space ...
15917         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
15918         no "--thread" option.
15919         (gdb-stopped): Don't print "Switched to thread" message when it is
15920         unchanged.
15922 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15924         * minibuffer.el (completion-try-completion)
15925         (completion-all-completions): Remove ill-defined (and
15926         mistakenly installed and luckily never used nor documented)
15927         `completion-styles' property.
15928         (completion-initials-expand, completion-initials-all-completions)
15929         (completion-initials-try-completion): New functions.
15930         (completion-styles-alist): Add doc to each entry.
15931         Add new `initials' entry.
15933 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
15935         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
15936         MI command -var-evaluate-expression.
15937         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
15938         and tweak for case of string child.
15939         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
15941 2009-09-01  Glenn Morris  <rgm@gnu.org>
15943         * add-log.el (change-log-date-face, change-log-name-face)
15944         (change-log-email-face, change-log-file-face, change-log-list-face)
15945         (change-log-conditionals-face, change-log-function-face)
15946         (change-log-acknowledgement-face):
15947         * cus-edit.el (custom-invalid-face, custom-rogue-face)
15948         (custom-modified-face, custom-set-face, custom-changed-face)
15949         (custom-saved-face, custom-button-face, custom-button-pressed-face)
15950         (custom-documentation-face, custom-state-face, custom-comment-face)
15951         (custom-comment-tag-face, custom-variable-tag-face)
15952         (custom-variable-button-face, custom-face-tag-face)
15953         (custom-group-tag-face-1, custom-group-tag-face):
15954         * diff-mode.el (diff-header-face, diff-file-header-face)
15955         (diff-index-face, diff-hunk-header-face, diff-removed-face)
15956         (diff-added-face, diff-changed-face, diff-function-face)
15957         (diff-context-face, diff-nonexistent-face):
15958         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
15959         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
15960         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
15961         (Info-title-4-face):
15962         * isearch.el (isearch-lazy-highlight-face):
15963         * log-view.el (log-view-file-face, log-view-message-face):
15964         * paren.el (show-paren-match-face, show-paren-mismatch-face):
15965         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
15966         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
15967         (cvs-msg-face):
15968         * smerge-mode.el (smerge-mine-face, smerge-other-face)
15969         (smerge-base-face, smerge-markers-face):
15970         * wid-edit.el (widget-documentation-face, widget-button-face)
15971         (widget-field-face, widget-single-line-field-face)
15972         (widget-inactive-face, widget-button-pressed-face):
15973         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
15974         (woman-addition-face):
15975         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
15976         (eshell-ls-executable-face, eshell-ls-readonly-face)
15977         (eshell-ls-unreadable-face, eshell-ls-special-face)
15978         (eshell-ls-missing-face, eshell-ls-archive-face)
15979         (eshell-ls-backup-face, eshell-ls-product-face)
15980         (eshell-ls-clutter-face):
15981         * eshell/em-prompt.el (eshell-prompt-face):
15982         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
15983         * obsolete/old-whitespace.el (whitespace-highlight-face):
15984         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
15985         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
15986         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
15987         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
15988         (antlr-font-lock-literal-face):
15989         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
15990         (ebrowse-root-class-face, ebrowse-file-name-face)
15991         (ebrowse-default-face, ebrowse-member-attribute-face)
15992         (ebrowse-member-class-face, ebrowse-progress-face):
15993         * progmodes/make-mode.el (makefile-space-face):
15994         * progmodes/sh-script.el (sh-heredoc-face):
15995         * textmodes/flyspell.el (flyspell-incorrect-face)
15996         (flyspell-duplicate-face):
15997         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
15998         * textmodes/texinfo.el (texinfo-heading-face):
15999         Mark face aliases with "-face" suffix as obsolete.
16001         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
16002         compiler.
16004         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
16005         (eudc-bob-sound-menu): Use defvar rather than defconst, since
16006         easy-menu-define wants to modify these.
16008         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
16010         * net/browse-url.el (browse-url-file-url):
16011         * term/internal.el (dos-codepage-setup):
16012         Use default-value rather than default-enable-multibyte-characters.
16014         * progmodes/etags.el (etags-goto-tag-location):
16015         * progmodes/flymake.el (flymake-highlight-line)
16016         (flymake-goto-file-and-line, flymake-goto-line):
16017         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
16018         (gdb-goto-breakpoint):
16019         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
16020         * progmodes/python.el (python-find-function)
16021         (python-pdbtrack-track-stack-file):
16022         * progmodes/verilog-mode.el (verilog-surelint-off):
16023         * term/ns-win.el (ns-open-file-select-line):
16024         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
16025         Use forward-line rather than goto-line.
16027         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
16028         * textmodes/reftex-index.el (reftex-display-index):
16029         * textmodes/reftex-ref.el (reftex-offer-label-menu):
16030         * textmodes/reftex-toc.el (reftex-toc):
16031         Remove unnecessary bindings of default-major-mode (all are followed by
16032         major-mode check and possible mode switch).
16034 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
16036         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16037         Handle watchpoints (bug#4282).
16038         (def-gdb-thread-buffer-command): Enable thread to be selected by
16039         clicking without selecting threads buffer first.
16040         (gdb-current-context-command): Use selected frame so that "up",
16041         "down" etc work in the GUD buffer.
16042         (gdb-update): Find selected frame before rendering stack buffer.
16043         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
16045 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16047         * progmodes/sym-comp.el (displayed-completions): Remove.
16048         (symbol-complete): Use minibuffer-complete.
16050 2009-08-31  Glenn Morris  <rgm@gnu.org>
16052         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
16054         * apropos.el (apropos-symbols-internal):
16055         Handle (obsolete) face aliases.
16057         * faces.el (describe-face): Adjust the output format to be more like
16058         describe-variable, and to mention (obsolete) face aliases.
16059         Adjust the whitespace so that help-setup-xref works.
16061         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
16062         * calendar/diary-lib.el (diary-button-face):
16063         Mark these face aliases as obsolete.
16065         * calendar/calendar.el (calendar-today): Doc fix.
16067 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
16069         * progmodes/gdb-mi.el (gdb-control-all-threads)
16070         (gdb-control-current-thread): Force tool bar update.
16071         (gdb-non-stop-handler): New function.
16072         (gdb-init-1): Use it to test if non-stop mode is supported.
16073         Remove unused gdbmi buffer type.
16075 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
16077         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
16078         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
16080 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
16082         * comint.el (comint-exec-1): Check command is non-null first.
16083         Part of gdb-mi.el change (2009-08-28).
16085 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16087         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
16089 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
16091         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
16092         instead of `dolist' to avoid a recursive require when bootstrapping.
16094 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16096         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
16098         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
16100         * net/imap.el (imap-send-command): Simplify.
16101         (imap-wait-for-tag): point-max -> buffer-size.
16103         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
16105         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
16106         with constant argument.
16108         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
16110         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
16112         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
16113         Change default, since most of our files don't have a history.
16114         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
16115         the user.
16117         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16118         Add comint-run.
16120         * calc/calc.el: Improve commenting convention.
16121         (calc-digit-map, toplevel): Simplify.
16123         * comint.el (comint-insert-input): Be careful to only set point if we
16124         don't delegate to some other command.
16126         * proced.el (proced-signal-list): Make it an alist.
16127         (proced-grammar-alist): Capitalize names.
16128         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
16129         Disable undo manually and make it read-only.
16130         Use completion-annotate-function.
16132         * minibuffer.el (minibuffer-message): If the current buffer is not
16133         a minibuffer, insert the message in the echo area rather than at the
16134         end of the buffer.
16135         (completion-annotate-function): New variable.
16136         (minibuffer-completion-help): Use it.
16137         (completion--embedded-envvar-table): Environment vars are
16138         always case-sensitive.
16140 2009-08-30  Glenn Morris  <rgm@gnu.org>
16142         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
16143         from fortran-current-defun.
16144         (fortran-beginning-of-subprogram): Be more precise about finding the
16145         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
16146         (fortran-end-of-subprogram): Simplify.
16147         (fortran-current-defun): Use fortran-start-prog-re.
16149 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
16151         * subr.el (do-after-load-evaluation): Simplify.
16153 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
16155         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
16157         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
16158         (vc-rcs-print-log): Use it.
16160         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
16162 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
16164         * paths.el (abbrev-file-name): Move to abbrev.el.
16165         * abbrev.el (abbrev-file-name): Move from paths.el.
16166         Obey user-emacs-directory.
16167         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
16168         user-emacs-directory.
16169         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
16170         abbrev-file-name and calc-settings-file any more.
16171         * startup.el (command-line): Recompute abbrev-file-name and
16172         abbreviated-home-dir.
16173         (normal-no-mouse-startup-screen): Improve the generic code and get rid
16174         of the special code for when C-h bindings haven't been changed.
16175         (display-startup-echo-area-message): Use with-current-buffer.
16176         (command-line-1): Use a list of strings, rather than a list of lists
16177         of strings for longopts.
16179         * files.el (get-free-disk-space): Use / for default-directory.
16181         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
16182         Use with-current-buffer.
16184         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
16185         Recognize immutable variables like most-positive-fixnum.
16186         (byte-compile-setq-default): Check and warn if trying to assign
16187         to an immutable variable, or a non-variable.
16189         * progmodes/cc-vars.el (c-comment-continuation-stars):
16190         * progmodes/cc-engine.el (c-looking-at-bos):
16191         * progmodes/cc-cmds.el (c-toggle-auto-state)
16192         (c-forward-into-nomenclature, c-backward-into-nomenclature)
16193         (c-comment-line-break-function): Add version of obsolescence.
16195 2009-08-28  Juri Linkov  <juri@jurta.org>
16197         * files.el (magic-fallback-mode-alist): Add ZIP magic number
16198         associated with `archive-mode'.
16200         * image.el (image-type-header-regexps): Use only JPEG magic number
16201         to determine JPEG images, and don't use `image-jpeg-p' because
16202         Emacs can display non-JFIF non-Exif JPEG images.
16204 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
16206         * arc-mode.el (archive-mode):
16207         * emacs-lisp/re-builder.el (re-builder-unload-function):
16208         Protect against the default value of `major-mode' being nil.
16210 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
16212         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
16213         Fix typos in docstrings.
16215         * progmodes/js.el (js--macro-decl-re): Doc fix.
16216         (js--plain-method-re, js--split-name): Refloc docstring.
16217         (js--class-styles, js--make-merged-item, js--splice-into-items):
16218         Fix typos in docstrings; reflow docstrings.
16219         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
16220         (js--variable-decl-matcher, js--inside-pitem-p)
16221         (js--parse-state-at-point, js--get-all-known-symbols)
16222         (js--symbol-history, js-find-symbol, js--js-references)
16223         (js--moz-interactor, js--js-encode-value, js--read-tab):
16224         Fix typos in docstrings.
16226 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16228         * textmodes/reftex.el (reftex-get-file-buffer-force):
16229         * progmodes/verilog-mode.el (verilog-batch-execute-func):
16230         * emulation/viper.el (viper-go-away, viper-set-hooks):
16231         * emacs-lisp/re-builder.el (re-builder-unload-function):
16232         * emacs-lisp/bytecomp.el (byte-compile-file):
16233         * ses.el (ses-unload-function):
16234         * hexl.el (hexl-find-file):
16235         * files.el (normal-mode):
16236         * ehelp.el (with-electric-help):
16237         * autoinsert.el (auto-insert-alist):
16238         * arc-mode.el (archive-mode):
16239         Use (default-value 'major-mode) instead of default-major-mode.
16241         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
16242         * international/mule.el (load-with-code-conversion):
16243         * emacs-lisp/debug.el (debug):
16244         * ediff-vers.el (ediff-rcs-get-output-buffer):
16245         * dired.el (dired-internal-noselect): Don't let-bind
16246         default-major-mode around code that doesn't use it.
16247         E.g. buffer creation via get-buffer-create doesn't use it.
16249 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
16251         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
16252         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
16253         when writing the temp file.  Otherwise, epa-file gets confused.
16254         (tramp-register-file-name-handlers): Make it a defun.  Move also
16255         `epa-file-handler' to the front of `file-name-handler-alist'.
16257 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16259         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
16260         start right after a ^M.
16261         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
16262         (tramp-completion-file-name-regexp-separate)
16263         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
16264         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
16265         Don't modify last-coding-system-used by accident.
16266         (tramp-completion-file-name-handler): Apply the checks here,
16267         instead during registration.
16268         (tramp-register-file-name-handlers): Renamed from
16269         `tramp-register-file-name-handler'.  Register both
16270         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
16271         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
16273 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
16275         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
16276         Remove variable ...
16277         (gdb-init-1, gdb-display-separate-io-buffer)
16278         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
16279         references to it.
16280         (gdb-inferior-io-mode): Use make-comint-in-buffer.
16281         (gdb-inferior-filter): Use comint-output-filter to stop
16282         echoing and remove ^M characters.
16284 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16286         * emulation/viper-init.el (viper-restore-cursor-type):
16287         * emulation/cua-base.el (cua--update-indications):
16288         Replace default-cursor-type with (default-value 'cursor-type).
16290         * mail/sendmail.el (mail-recover-1):
16291         * international/mule-diag.el (describe-current-coding-system-briefly)
16292         (describe-current-coding-system):
16293         * international/mule-cmds.el (select-safe-coding-system)
16294         (select-message-coding-system)
16295         (set-language-environment-coding-systems, set-locale-environment):
16296         * hexl.el (hexl-insert-multibyte-char):
16297         * dos-w32.el (find-buffer-file-type-coding-system):
16298         * simple.el (what-cursor-position):
16299         Replace uses of default-buffer-file-coding-system
16300         with (default-value 'buffer-file-coding-system).
16302         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
16303         Replace uses of default-cursor-in-non-selected-windows
16304         with (default-value 'cursor-in-non-selected-windows).
16305         Use with-current-buffer.
16307         * mail/feedmail.el: Use CL macros.
16308         (feedmail-run-the-queue, feedmail-send-it-immediately):
16309         * dos-w32.el (find-buffer-file-type): Replace uses of
16310         default-buffer-file-type with (default-value 'buffer-file-type).
16312 2009-08-28  Glenn Morris  <rgm@gnu.org>
16314         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
16315         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
16316         Use default-value of major-mode rather than default-major-mode.
16318 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16320         * Makefile.in (update-elcfiles): Report left over elc files.
16322         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
16323         expand-file-name and with-current-buffer.
16324         (mail-get-names, mail-directory): Use with-current-buffer.
16326         * vc.el (vc-read-revision): New function.
16327         (vc-version-diff, vc-merge): Use it.
16329 2009-08-27  Sam Steingold  <sds@gnu.org>
16331         * simple.el (kill-do-not-save-duplicates): New user option.
16332         (kill-new): When it is non-nil, and the new string is the same as
16333         the latest kill, set replace to t to avoid duplicates in kill-ring.
16335 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
16337         * net/tramp.el (tramp-handle-process-file): Do not flush all
16338         caches when `process-file-side-effects' is set.
16339         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
16340         instead of `tramp-find-file-exists-command'.
16341         Unset `process-file-side-effects'.
16343 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
16345         * net/tramp.el (tramp-methods): New method "rsyncc".
16346         (top): Add completion function for "rsyncc".
16347         (tramp-message-show-message): New defvar.
16348         (tramp-message, tramp-error): Use it.
16349         (tramp-do-copy-or-rename-file-directly): Extend check for direct
16350         remote copying.
16351         (tramp-do-copy-or-rename-file-out-of-band): Handle new
16352         `tramp-methods' entry `copy-env' of "rsyncc".
16353         (tramp-vc-registered-read-file-names): New defconst.
16354         (tramp-vc-registered-file-names): New defvar.
16355         (tramp-handle-vc-registered): Implement optimization strategy.
16356         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
16357         (tramp-vc-file-name-handler): New defun.
16358         (tramp-get-ls-command, tramp-get-test-command)
16359         (tramp-get-file-exists-command, tramp-get-remote-ln)
16360         (tramp-get-remote-perl, tramp-get-remote-stat)
16361         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
16363         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
16364         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
16365         timestamps.
16366         (tramp-get-file-property): Check for timestamps in
16367         `tramp-cache-inhibit-cache'.
16368         (tramp-set-file-property): Write timestamp.
16370 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
16372         * language/japan-util.el (japanese-symbol-table): Add entries for
16373         cp932-2-byte.
16375         * international/characters.el: Add category `j' to cp932-2-byte.
16377 2009-08-27  Kenichi Handa  <handa@m17n.org>
16379         * international/fontset.el (build-default-fontset-data): New macro.
16380         (setup-default-fontset): Use build-default-fontset-data for CJK,
16381         tibetan, ethiopic, and ipa.
16383 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16385         * cus-start.el (default-major-mode): Customize `major-mode' instead.
16386         (enable-multibyte-characters): Not customizable any more.
16388         * subr.el (default-mode-line-format, default-header-line-format)
16389         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
16390         (default-direction-reversed, default-truncate-lines)
16391         (default-left-margin, default-tab-width, default-case-fold-search)
16392         (default-left-margin-width, default-right-margin-width)
16393         (default-left-fringe-width, default-right-fringe-width)
16394         (default-fringes-outside-margins, default-scroll-bar-width)
16395         (default-vertical-scroll-bar, default-indicate-empty-lines)
16396         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
16397         (default-fringe-cursor-alist, default-scroll-up-aggressively)
16398         (default-scroll-down-aggressively, default-fill-column)
16399         (default-cursor-type, default-buffer-file-type)
16400         (default-cursor-in-non-selected-windows)
16401         (default-buffer-file-coding-system, default-major-mode)
16402         (default-enable-multibyte-characters): Mark as obsolete.
16404 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
16406         * vc-dir.el (vc-dir-update): Remove debug helper.
16408         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
16410 2009-08-26  Sam Steingold  <sds@gnu.org>
16412         * simple.el (save-interprogram-paste-before-kill): New user option.
16413         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
16414         save the interprogram-paste into kill-ring before overriding it
16415         with the Emacs kill.
16417 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
16419         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
16420         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
16421         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
16422         and move to vc-rcs.el.
16423         (vc-default-next-revision): Rename to vc-rcs-next-revision and
16424         move to vc-rcs.el.
16425         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
16426         (vc-rcs-update-changelog): Remove.
16427         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
16428         and move to vc-rcs.el.
16430         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
16431         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
16432         renaming.
16433         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
16434         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
16435         vc.el, renamed to be RCS specific.
16437         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
16438         New functions.
16439         (vc-cvs-update-changelog): Move here from vc.el.
16441         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
16442         New functions.
16444 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16446         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
16448 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
16450         * vc-git.el (vc-git-register): Use "git add" for directories.
16451         (vc-git-stash, vc-git-stash-show): New functions.
16452         (vc-git-extra-menu-map): Bind them.
16454         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
16455         directory correctly in case the item is a directory itself.
16457         * vc.el: Document the desired behavior for reverted files in the
16458         `added' state.
16459         (vc-default-prettify-state-info): Remove function, unused.
16461         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
16463 2009-08-26  Glenn Morris  <rgm@gnu.org>
16465         * bindings.el (standard-mode-line-format): Reposition dashes in
16466         which-func entry.  (Bug#4217)
16468         * files.el (enable-local-variables, enable-local-eval)
16469         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
16470         the defcustoms.
16471         (auto-mode-alist, ignored-local-variables)
16472         (save-some-buffers-action-alist): Move risky declarations to the
16473         definitions.
16474         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
16475         (font-lock-defaults, format-alist, imenu--index-alist)
16476         (imenu-generic-expression, input-method-alist, minor-mode-alist)
16477         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
16478         (mode-line-modified, mode-line-mule-info, mode-line-position)
16479         (mode-line-process, mode-line-remote, outline-level)
16480         (parse-time-rules, rmail-output-file-alist)
16481         (special-display-buffer-names, vc-mode):
16482         Move risky declarations to the relevant files.
16483         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
16484         (mode-line-modified, mode-line-process, mode-line-position)
16485         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
16486         * font-core.el (font-lock-defaults):
16487         * format.el (format-alist):
16488         * vc-hooks.el (vc-mode):
16489         * window.el (special-display-buffer-names):
16490         * international/mule-cmds.el (input-method-alist):
16491         Define riskiness here (dumped file) rather than in files.el.
16492         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
16493         * imenu.el (imenu-generic-expression, imenu--index-alist):
16494         * outline.el (outline-level):
16495         * time.el (display-time-string):
16496         * calendar/parse-time.el (parse-time-rules):
16497         * mail/rmailout.el (rmail-output-file-alist):
16498         Autoload riskiness here, rather than placing in files.el.
16500 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
16502         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
16504 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
16506         * simple.el (process-file-side-effects): New defvar.
16508         * dired-aux.el (dired-show-file-type):
16509         * vc.el (vc-diff-internal):
16510         * vc-arch.el (vc-arch-diff):
16511         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
16512         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
16513         * vc-git.el (vc-git-registered, vc-git-working-revision)
16514         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
16515         (vc-git--empty-db-p):
16516         * vc-hooks.el (vc-user-login-name):
16517         * vc-svn.el (vc-svn-registered, vc-svn-state)
16518         (vc-svn-dir-extra-headers, vc-svn-find-revision):
16519         * progmodes/grep.el (grep-probe): Let-bind
16520         `process-file-side-effects' with nil.
16522         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
16524         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
16525         daemon.  Replace ping by checking for running service for bluez
16526         and zeroconf.  (Bug#4239)
16528 2009-08-25  Kevin Ryde  <user42@zip.com.au>
16530         * net/dig.el (dig): Add autoload cookie.
16532 2009-08-25  Glenn Morris  <rgm@gnu.org>
16534         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
16535         load-history for absolute file-names.
16536         (byte-compile-file-form-require): Warn about use of the cl package.
16538         * format.el (format-alist): Doc fix.
16540         * play/bubbles.el (top-level): Don't require cl at run-time.
16542         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
16543         run-time cl).
16545 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
16547         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
16548         from cl package.
16549         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
16551 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
16553         * calc/calc-alg.el (math-trig-rewrite)
16554         (math-hyperbolic-trig-rewrite): New functions.
16555         (calc-simplify): Simplify trig functions when asked.
16557 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16559         * diff-mode.el (diff-find-source-location): Avoid goto-line.
16561 2009-08-24  Kenichi Handa  <handa@m17n.org>
16563         * language/ind-util.el (mapthread): Delete it.
16564         (combinatorial): New function.
16565         (indian--puthash-cv): Use combinatorial instead of mapthread.
16567 2009-08-22  Kevin Ryde  <user42@zip.com.au>
16569         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
16570         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
16571         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
16572         Clarify docstring that the value is strings not symbols.
16573         (checkdoc-list-of-strings-p): New function.
16575 2009-08-22  Glenn Morris  <rgm@gnu.org>
16577         * files.el (auto-mode-alist):
16578         * hippie-exp.el (he-concat-directory-file-name):
16579         * lpr.el (lpr-windows-system, printer-name):
16580         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
16581         * ps-print.el (ps-windows-system):
16582         * startup.el (command-line):
16583         * emulation/viper-ex.el (viper-glob-function):
16584         * international/mule-cmds.el (set-language-environment-coding-systems):
16585         * net/ange-ftp.el (ange-ftp-write-region):
16586         * obsolete/fast-lock.el (fast-lock-cache-name):
16587         Remove code for defunct system-types emx, macos, mswindows, next-mach,
16588         unisoft-unix, vax-vms, win32, w32.
16590         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
16591         given name if the pattern is not more specific.
16593         * calendar/lunar.el (lunar-phase-names): New option.
16594         (lunar-phase): Doc fix.
16595         (lunar-cycles-per-year): New constant.
16596         (lunar-index): New function.
16597         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
16598         (lunar-phase-name): Use lunar-phase-names.
16599         (calendar-lunar-phases): Use format.
16600         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
16602         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
16603         Copy imenu-example--name-and-position function here for own use.
16604         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
16606         * bs.el (bs--redisplay):
16607         * cus-edit.el (custom-redraw):
16608         * ibuffer.el (ibuffer-bury-buffer):
16609         * server.el (server-goto-line-column):
16610         * startup.el (command-line-1):
16611         * strokes.el (strokes-xpm-for-stroke):
16612         * term.el (term-display-buffer-line):
16613         * view.el (View-goto-line):
16614         * calc/calc.el (calc-do, calc-trail-buffer):
16615         * play/gamegrid.el (gamegrid-add-score-insecure):
16616         * progmodes/ada-mode.el (ada-compile-goto-error):
16617         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
16618         (ebrowse-select-1st-to-9nth):
16619         * progmodes/cperl-mode.el (cperl-time-fontification):
16620         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
16621         * progmodes/gud.el (gud-display-line):
16622         (idlwave-shell-display-line):
16623         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
16624         * progmodes/make-mode.el (makefile-browser-toggle):
16625         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
16626         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
16627         * textmodes/picture.el (picture-draw-rectangle):
16628         * textmodes/reftex-index.el (reftex-index-goto-letter):
16629         (reftex-select-jump-to-previous):
16630         * textmodes/reftex-sel.el (reftex-find-start-point)
16631         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
16632         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
16633         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
16634         * textmodes/tex-mode.el (tex-compilation-parse-errors):
16635         * textmodes/two-column.el (2C-associated-buffer):
16636         Use forward-line rather than goto-line.
16638         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
16639         goto-line.
16641         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
16642         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
16643         (quick-check-list-to-regexp): Declare.
16645         * progmodes/make-mode.el (makefile-browser-insert-selection):
16646         Use goto-char rather than goto-line.
16648         * progmodes/prolog.el (compilation-error-regexp-alist)
16649         (compilation-forget-errors): Declare.
16651 2009-08-22  Juri Linkov  <juri@jurta.org>
16653         * progmodes/grep.el (lgrep, rgrep): At the beginning
16654         set `dir' to `default-directory' unless `dir' is a non-nil
16655         readable directory.  (Bug#4052)
16656         (lgrep, rgrep): Change a weird way to report an error
16657         from using `read-string' to using `error'.
16658         Instead of using interactive arguments in the function body,
16659         add new argument `confirm'.
16661 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16663         * textmodes/remember.el (remember-buffer):
16664         * progmodes/cperl-mode.el (cperl-vc-header-alist):
16665         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
16666         (icalendar-extract-ical-from-buffer):
16667         * net/newst-treeview.el (newsticker-groups-filename):
16668         * net/newst-backend.el (newsticker-cache-filename):
16669         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
16670         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
16671         (speedbar-add-ignored-path-regexp, speedbar-line-path)
16672         (speedbar-buffers-line-path, speedbar-path-line)
16673         (speedbar-buffers-line-path):
16674         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
16675         (epg-sign-keys):
16676         * epa.el (epa-display-verify-result):
16677         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
16679 2009-08-21  Glenn Morris  <rgm@gnu.org>
16681         * progmodes/js.el (inferior-moz-process): Fix declaration.
16683         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
16685         * obsolete/rnewspost.el (news-mail-reply):
16686         Use goto-char rather than goto-line.
16688         * term/ns-win.el (ns-open-file-select-line):
16689         Use line-beginning-position rather than goto-line.
16691         * apropos.el (apropos-command):
16692         * ehelp.el (electric-helpify):
16693         * printing.el (pr-show-setup):
16694         * strokes.el (strokes-help):
16695         * tutorial.el (tutorial--describe-nonstandard-key)
16696         (tutorial--detailed-help):
16697         * woman.el (woman-mini-help, woman-display-extended-fonts):
16698         * calc/calc-help.el (calc-describe-key):
16699         * emulation/edt.el (edt-electric-helpify):
16700         * international/mule-diag.el (mule-diag):
16701         * play/yow.el (apropos-zippy):
16702         * progmodes/python.el (python-describe-symbol):
16703         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
16704         * textmodes/table.el (*table--cell-describe-mode)
16705         (*table--cell-describe-bindings):
16706         Use help-print-return-message rather than the now obsolete alias.
16708         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
16709         (calendar-cursor-to-visible-date):
16710         * play/5x5.el (5x5-position-cursor):
16711         * play/decipher.el (decipher):
16712         * play/gomoku.el (gomoku-goto-xy):
16713         * play/landmark.el (lm-goto-xy):
16714         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
16715         (mpuz-paint-digit):
16716         Use forward-line, not goto-line.
16718         * mail/rmail.el (rmail-obsolete): Delete custom group.
16719         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
16720         (rmail-remote-password, rmail-remote-password-required):
16721         Remove unneeded :set-after and :set properties.
16723 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
16725         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
16727 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
16729         * loadup.el: Remove leftover macos code.
16731         * vc-git.el (vc-git-annotate-command): Run asynchronously.
16732         Explicitly pass the date format to git blame so that user local
16733         so that the output format can be parsed.
16735 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
16737         * net/dbus.el (top): Don't check for (getenv
16738         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
16740 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
16742         * log-edit.el (log-edit-strip-single-file-name): New var.
16743         (log-edit-insert-changelog): Use it.  Bug#3571
16745 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16747         * subr.el (read-passwd): Use read-key so keypad keys work as well.
16748         Bug#3287
16750         * help.el (help-print-return-message): Rename from
16751         print-help-return-message.
16753         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
16754         cvs-mode-map parent hack.
16755         (log-view-mode): Derive from special-mode.
16757         * linum.el (linum-mode): window-size-change-functions is redundant.
16758         Adapt to new window-configuration-change-hook behavior.
16759         (linum-after-size, linum-after-config): Remove.
16761         * imenu.el (imenu-example--name-and-position)
16762         (imenu-example--lisp-extract-index-name)
16763         (imenu-example--create-lisp-index, imenu-example--create-c-index):
16764         Mark as obsolete.
16766         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
16767         (inferior-prolog-mode): Use it.
16768         (inferior-prolog-load-file): Reset list of errors.
16770 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
16772         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
16774         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
16776 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
16778         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
16779         is running already.
16781 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16783         * subr.el (listify-key-sequence-1): Use normal syntax since those
16784         integers are nowadays always represented by the same (positive) number
16785         on all platforms.
16786         (read-key-empty-map): New const.
16787         (read-key-delay): New var.
16788         (read-key): New function.
16789         (force-mode-line-update): Use with-current-buffer.
16790         (locate-user-emacs-file): Don't forget to abbreviate the file name.
16791         (start-process-shell-command, start-file-process-shell-command):
16792         Discourage the use of command-args.
16794 2009-08-19  Glenn Morris  <rgm@gnu.org>
16796         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
16798 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16800         * simple.el (choose-completion-string): Don't rely on
16801         minibuffer-completing-file-name and ad-hoc checks to decide whether
16802         to continue completion or not.
16804         * minibuffer.el (minibuffer-hide-completions): New function.
16805         (completion--do-completion): Use it.
16806         (completions-annotations): New face.
16807         (completion--insert-strings): Use it.
16808         (completion-pcm--delim-wild-regex): Add docstring.
16809         (completion-pcm--string->pattern): Add support for 0-width delimiters
16810         in completion-pcm--delim-wild-regex.
16812 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16814         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
16815         Remove unused var `buffer-modified-p'.
16817         * minibuffer.el (completion--do-completion): Move point for the #b001
16818         case as well (bug#4176).
16819         (minibuffer-complete, minibuffer-complete-word): Don't move point.
16821 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
16823         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
16824         and :session buses.
16826 2009-08-18  Kenichi Handa  <handa@m17n.org>
16828         * international/ucs-normalize.el (ucs-normalize-version):
16829         Change to 1.1.
16830         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
16831         (utf-8-hfs): Make it perform normalization on encoding too.
16833         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
16834         (sentence-end-without-space): Delete duplicated chars.
16835         (sentence-end-base): Likewise.
16837         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
16838         (html-mode): Delete duplicated chars from sentence-end-base.
16840         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
16841         (texinfo-mode): Delete duplicated chars from sentence-end-base.
16843 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
16845         * files.el (hack-one-local-variable): If the mode function is for
16846         a minor mode, pass it an argument (Bug#4148).
16848 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
16850         * net/tramp.el (tramp-register-completion-file-name-handler):
16851         Check also for (member 'partial-completion completion-styles).
16853 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
16855         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
16856         abbrev (Bug#3943).
16858 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
16860         * progmodes/cperl-mode.el: Merge upstream 6.2.
16861         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
16862         (cperl-forward-re): Check cperl-brace-recursing.
16863         (cperl-highlight-charclass): New function.
16864         (cperl-find-pods-heres): Use it.
16865         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
16866         (cperl-beautify-regexp-piece): Fix column calculation.
16867         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
16868         (cperl-beautify-level): Don't process entire regexp.
16869         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
16870         calling man.
16871         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
16872         (cperl-init-faces): Build a list in the normal way.
16874 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
16876         * calendar/parse-time.el (parse-time-string-chars): Save match
16877         data.
16879 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16881         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
16882         (sql-product): Use it.
16883         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
16884         (sql-set-product): Add completion.
16885         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
16886         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
16887         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
16888         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
16889         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
16890         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
16891         (sql-highlight-db2-keywords): Remove.
16892         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
16893         (sql-highlight-product): Use derived-mode-p.
16894         (sql-set-sqli-buffer): Use with-current-buffer.
16895         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
16896         Simplify.
16898         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
16900         * term.el: Fix commenting convention, turn comments into docstrings.
16902 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
16904         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
16906 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
16908         * calendar/parse-time.el (parse-time-string-chars): Compute using
16909         character classes, to handle non-ascii characters (Bug#3190).
16911 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
16913         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
16914         another heredoc if the user adds another < (Bug#3226).
16916         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
16917         Don't initialize based on window-system (Bug#4124).
16919         * facemenu.el (facemenu-read-color): Use a completion function
16920         that accepts any defined color, such as RGB triplets (Bug#3677).
16922         * files.el (get-free-disk-space): Change fallback default
16923         directory to /.  Expand DIR argument before switching to fallback.
16924         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
16926 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
16928         * files.el (load-library): Doc fix.
16930 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
16932         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
16933         (viper-if-string): Redefine C-s in the minibuffer to insert the last
16934         incremental search string.
16936         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
16937         XEmacs.
16939         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
16940         (ediff-merge-region-is-non-clash)
16941         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
16942         Also check if the job is really a merge job.
16944         * ediff.el (ediff-current-file): New function.
16946 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
16948         * progmodes/js.el: Edit docstrings throughout to follow Emacs
16949         conventions.
16950         (js-insert-and-indent): Delete function.
16951         (js-mode-map): Don't bind keys to js-insert-and-indent.
16952         (js-beginning-of-defun): Rename from js--beginning-of-defun.
16953         (js-end-of-defun): Rename from js--end-of-defun.
16954         (js-auto-indent-flag): Delete variable.
16956 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
16958         * progmodes/js.el: Remove proclaim statement.
16959         Defvar which-func-imenu-joiner-function to silence compiler.
16961         * files.el (auto-mode-alist): Use js-mode for .js files.
16963         * progmodes/js2-mode.el: Remove file.
16965         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
16967         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
16969         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
16971 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
16972             Karl Landstrom  <karl.landstrom@brgeight.se>
16974         * progmodes/js.el: New file.
16976 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
16978         * timezone.el (timezone-parse-date): Add ability to understand ISO
16979         basic format (minimal separators) dates in addition to the
16980         already-supported extended format dates.
16982 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
16984         * international/ucs-normalize.el: Add a `coding' file variable.
16986         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
16988 2009-08-14  Sam Steingold  <sds@gnu.org>
16990         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
16992 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
16994         * faces.el (help-argument-name): Define it here instead of
16995         help-fns.el, because in daemon mode help-fns.el may be loaded when
16996         faces are still uninitialized (Bug#1078).
16998         * help-fns.el (help-argument-name): Move defface to faces.el.
17000 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
17002         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
17003         create buffer with a pty but no process so that GDB can make the
17004         inferior the controlling process.
17006 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
17008         * international/ucs-normalize.el: New file.
17010 2009-08-13  Richard Stallman  <rms@gnu.org>
17012         * mail/rmail.el (rmail-get-attr-names):
17013         Accept an attribute header that is too short.
17015         * mail/rmail.el (rmail-forget-messages):
17016         Ignore nil elt in rmail-message-vector.  Use dotimes.
17018         * progmodes/compile.el (compilation-goto-locus):
17019         Use next-error-move-function.
17021         * simple.el (next-error-move-function): New variable.
17023 2009-08-12  Juri Linkov  <juri@jurta.org>
17025         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
17026         always non-nil.  (Bug#4052)
17028         * replace.el (read-regexp): Return empty string when
17029         `default-value' is nil.
17030         (keep-lines-read-args): Don't use empty string as the
17031         default value for `read-regexp'.  (Bug#2495)
17033 2009-08-12  Juri Linkov  <juri@jurta.org>
17035         * international/mule-cmds.el (ucs-insert): Change arguments
17036         from `arg' to `character', `count', `inherit' to be the same
17037         as in `insert-char'.  Doc fix.  (Bug#4039)
17039         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
17041 2009-08-12  Juri Linkov  <juri@jurta.org>
17043         * files-x.el: New file.
17045         * files.el: Move code that deals with adding/deleting
17046         file/directory-local variables to files-x.el.
17048         * Makefile.in (ELCFILES): Add files-x.elc.
17050 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
17052         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
17053         to use `goto-line'.
17054         (gdb-place-breakpoints, gdb-get-location): Rewritten without
17055         `goto-line'.
17056         (gdb-invalidate-disassembly): Do not refresh upon receiving
17057         'update signal.  Instead, update all disassembly buffers only after
17058         threads list.
17059         (gdb): Send -target-detach when buffer is killed (Bug#3794).
17060         (gdb-starting): Moved -data-list-register-names...
17061         (gdb-stopped): ...here so it's sent when first thread stops.
17062         (gdb-registers-handler-custom): Do nothing if register names are
17063         unknown yet.
17065         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
17066         from `gdb-mi.el' to avoid extra tangling.
17068         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
17069         change which breaks `gud-def' definitions used in `gdb'.
17070         (gdb-update-gud-running): No extra fuss for updating frame number.
17072 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
17074         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
17075         (describe-language-environment-map, setup-language-environment-map)
17076         (set-coding-system-map): Move initialization into declaration.
17077         (set-language-info-alist): Last arg to define-key-after can be skipped.
17079         * international/quail.el (quail-completion-1): Simplify.
17080         (quail-define-rules): Use slightly more compact code.
17081         (quail-insert-decode-map): Propertize keys, compact columns.
17083         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17084         Add goto-line.
17086 2009-08-10  Miles Bader  <miles@gnu.org>
17088         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
17089         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
17090         (js2-instance-member, js2-private-member, js2-private-function-call)
17091         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
17092         (js2-magic-paren, js2-external-variable):
17093         Remove "-face" suffix from face names.
17094         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
17095         (js2-highlight-undeclared-vars, js2-peek-token)
17096         (js2-parse-function-params, js2-mode-show-errors)
17097         (js2-mode-show-warnings, js2-make-magic-delimiter)
17098         (js2-mode-highlight-magic-parens): Update to use new face names.
17100 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
17102         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
17103         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
17105 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
17107         * subr.el: Provide hashtable-print-readable.
17109         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
17110         hs-c-like-adjust-block-beginning.
17111         (hs-hide-block-at-point): Stop hiding at the beginning of
17112         hs-block-end-regexp (Bug#700).
17114 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
17116         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
17117         a macro.
17118         (gdb-registers-handler-custom): Do not fail when register names
17119         are unavailable.
17121 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
17123         * progmodes/gdb-mi.el (gdb-control-all-threads)
17124         (gdb-control-current-thread): Interactive setters for
17125         `gdb-gud-control-all-threads' to use in menu.
17126         (gdb-show-run-p): Show «Go» when process is not active.
17127         (gud-tool-bar-map): Add non-stop/A,T indicator.  Uses
17128         gud/thread.xpm and gud/all.xpm.
17130 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
17132         * net/net-utils.el (net-utils-font-lock-keywords): New var.
17133         (nslookup-font-lock-keywords): Make it a variable.
17134         (net-utils-mode): New mode for viewing diagnostic network output.
17135         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
17136         (net-utils-run-simple): New function.
17137         (ifconfig, iwconfig, netstat, arp, route): Use it.
17139 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
17141         * progmodes/gdb-mi.el (gdb-read-memory-custom)
17142         (gdb-memory-set-address, def-gdb-set-positive-number)
17143         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
17144         after changing settings.
17145         (gdb-invalidate-disassembly): Update when first shown.
17146         (gdb-edit-locals-value): Fixed.
17147         (gdb-registers-handler-custom): Print registers in right order and
17148         allow changing register values (only for current thread yet).
17149         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
17150         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
17151         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
17152         (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
17153         info in mode name.
17154         (gdb-registers-mode-map): TAB to switch to locals.
17156 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
17158         * mail/rmail.el (rmail-add-mbox-headers)
17159         (rmail-set-message-counters-counter): Search for
17160         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
17162 2009-08-08  Glenn Morris  <rgm@gnu.org>
17164         * Makefile.in (ELCFILES): Update.
17166 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
17168         * mail/sendmail.el (mail-yank-original): Set
17169         buffer-file-coding-system from the one used by the message whose
17170         text is yanked.
17172         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
17173         to "windows" when "pgnuplot" is used.
17174         (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
17175         call accept-process-output if "pgnuplot" is used.
17176         (calc-graph-init): Don't send -display and -geometry to
17177         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
17178         running "pgnuplot -V" with shell-command-to-string.
17180         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
17181         the default.
17183 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
17185         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
17186         org/org-latex.elc.
17188 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
17190         * vc-dispatcher.el (vc-resynch-window): Update comment.
17192         * term.el (term-handle-ansi-escape): Add comments with the
17193         terminfo capabilities implemented.
17195 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
17197         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
17198         (gdb-var-create-handler): Rewritten using JSON parser.
17199         (gdb-propertize-header): Moved earlier.
17200         (gdb-set-header): Removed to avoid duplication.
17201         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
17202         Refresh disassembly buffers only after threads list have been
17203         update.
17204         (gdb-threads-header, gdb-registers-header): Per-buffer header line
17205         variables.
17207 2009-08-04  Juri Linkov  <juri@jurta.org>
17209         * files.el: Commands to add/delete file/directory-local variables.
17210         (read-file-local-variable, read-file-local-variable-value)
17211         (read-file-local-variable-mode, modify-file-local-variable)
17212         (modify-file-local-variable-prop-line)
17213         (modify-dir-local-variable): New functions.
17214         (add-file-local-variable, delete-file-local-variable)
17215         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
17216         (add-dir-local-variable, delete-dir-local-variable)
17217         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
17218         (copy-dir-locals-to-file-locals-prop-line): New commands.
17220 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
17222         * abbrev.el (insert-abbrev-table-description): Prettify output.
17223         Suggested by Karl Chen.
17225 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
17227         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
17228         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
17229         (gdb-overlay-arrow-position, gdb-thread-position)
17230         (gdb-disassembly-position): Declare variables.
17231         (gdb-wait-for-pending): Function now.
17232         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
17233         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
17234         compilation goes smoothly.
17235         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
17236         (gdb-non-stop-setting): New customization setting which replaces
17237         `gdb-non-stop' so changing it doesn't break active GDB session.
17238         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
17239         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
17240         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
17241         (gdb-show-threads-by-default): New customization options.
17242         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
17243         routines.
17244         (gdb-get-buffer-create): Send buffers update signal when they are
17245         created.
17246         (gdb-invalidate-locals, gdb-invalidate-registers)
17247         (gdb-invalidate-breakpoints)
17248         (gdb-invalidate-threads, gdb-invalidate-disassembly)
17249         (gdb-invalidate-memory): Accept update signal.
17250         (gdb-current-context-command): Use --frame option.
17251         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
17252         Implement `gdb-frame-number' selection logic.
17253         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
17254         whether to show GUD toolbar buttons.
17255         (gdb-thread-exited): Unselect current thread when it exits.
17256         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
17257         (gdb-mark-line): Routine which sets overlay arrow or inverses
17258         video on fringeless displays.
17259         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
17260         to build aligned columns of data in GDB buffers and set text
17261         properties line-by-line.
17262         (gdb-invalidate-breakpoints)
17263         (gdb-breakpoints-list-handler-custom)
17264         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
17265         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
17266         (gdb-registers-handler-custom): Align data columns.
17267         (gdb-locals-handler-custom): Now prints data like in variable
17268         declarations.
17269         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
17270         Removed confusing buttons.
17271         (gdb-invalidate-threads): Append --frame.
17272         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
17273         between breakpoints/threads buffers.
17274         (gdb-set-window-buffer): Now can ignore dedicated windows.
17275         (gdb-propertize-header): Use `gdb-set-window-buffer'.
17276         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
17277         (def-gdb-thread-buffer-gud-command): Replaces
17278         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
17279         for fine thread control.
17280         (gdb-preempt-existing-or-display-buffer): New function used to
17281         display bound buffers without breaking window layout.
17282         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
17283         (gdb-select-frame): New version of `gdb-frames-select' which now
17284         sets `gdb-frame-number' so commands may use --frame option instead
17285         of inner debugger state.
17286         (gdb-frame-handler): Do not set `gdb-frame-number'.
17287         (gdb-threads-mode-map): Select threads with mouse.
17289         * progmodes/gud.el (gdb-gud-context-call): Declare function to
17290         avoid compilation warning.
17291         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
17292         `gdb-show-stop-p`.
17294         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
17295         Argument `key' renamed to `buffer-type'.
17296         (gdb-current-context-buffer-name): Do not add thread info to
17297         buffer name when no thread is selected.
17298         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
17299         command (bug 3794).
17300         (gdb-thread-selected): Handle `=thread-selected' notification.
17301         (gdb-wait-for-pending): New macro to deal with congestion problems.
17302         (gdb-breakpoints-list-handler-custom): Don't fail on pending
17303         breakpoints.
17304         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
17305         This fixes problem similar to one described in bug 3947.
17306         (gud-menu-map): More menu items.
17307         (gdb-init-1): Reset `gdb-thread-number' to nil.
17309         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
17310         non-stop settings.
17312         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
17313         (gdb-current-context-command): Do not append --thread if
17314         `gdb-thread-number' is nil.
17315         (gdb-running-threads-count, gdb-stopped-threads-count): New
17316         variables.
17317         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
17318         (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
17319         customization options.
17320         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
17321         GUD commands.
17322         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
17323         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
17324         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
17325         set `gdb-thread-number' and update `gud-running' properly.
17326         (gdb-running): Update threads list when new threads appear.
17327         (gdb-stopped): Support non-stop operation and new thread switching
17328         logic.
17329         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
17330         (gdb-json-partial-output): New set of JSON routines.
17331         (def-gdb-auto-update-trigger): New `signal-list' optional
17332         argument.
17333         (gdb-thread-list-handler-custom): Update `gud-running',
17334         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
17335         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
17336         (gdb-continue-thread, gdb-step-thread): New commands for fine
17337         thread execution control.
17338         (gud-menu-map): New menu items to switch non-stop options.
17339         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
17340         (gdb-send): Mimic RET properly (bug 3794).
17342         * progmodes/gdb-mi.el (gdb-rules-name-maker)
17343         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
17344         gdb-buffer-rules.
17345         (def-gdb-auto-update-handler): New nopreserve optional argument.
17346         (gdb-stack-list-frames-custom): Print stack from top to bottom.
17348         * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
17349         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
17350         (gdb-parent-mode): New mode to derive other GDB modes from.
17351         (gdb-display-disassembly-for-thread)
17352         (gdb-frame-disassembly-for-thread): New commands for threads
17353         buffer.
17355         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
17356         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
17357         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
17358         (gdb-update): We now store all GDB buffers in a list so that they
17359         can be updated by traversing a list instead of calling invalidate
17360         triggers explicitly.
17361         (def-gdb-trigger-and-handler): New macro to define trigger-handler
17362         pair for GDB buffer.
17363         (gdb-stack-buffer-name): Add thread information.
17364         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
17365         handle pending triggers.
17366         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
17367         (def-gdb-thread-buffer-simple-command)
17368         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
17369         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
17370         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
17371         New commands which show buffers bound to thread.
17372         (gdb-stack-list-locals-regexp): Removed unused regexp.
17374         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
17375         (gdb-locals-buffer-name, gdb-registers-buffer-name)
17376         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
17377         to (gud-comint-buffer) in *-buffer-name functions
17378         because (gdb-get-target-string) already does that.
17379         (gdb-locals-handler-custom, gdb-registers-handler-custom)
17380         (gdb-changed-registers-handler): Rewritten without regexps.
17382         * progmodes/gdb-mi.el: Basic thread selection support.
17383         (gdb-thread-number): New variable.
17384         (gdb-current-context-command): New macro which adds --thread
17385         option to command.
17386         (gdb-threads-mode-map): Select thread with SPC.
17387         (gdb-thread-list-handler-custom): Mark current thread with overlay
17388         arrow.  Synchronize GDB thread and Emacs thread.
17389         (gdb-select-thread): New command which selects current thread.
17390         (gdb-invalidate-frames, gdb-invalidate-locals)
17391         (gdb-invalidate-registers): Use --thread option.
17393 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
17395         * net/tramp.el (top): Make check for tramp-gvfs loading more
17396         robust.  (Bug#3977)
17397         (tramp-handle-insert-file-contents): `unwind-protect' must be
17398         inside `with-parsed-tramp-file-name'.
17400         * net/tramp-gvfs.el (top): Remove superfluous message when loading
17401         fails.
17403 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
17405         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
17406         directory if CLASSPATH is not set.
17408 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
17410         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
17411         New defconst.
17412         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
17414 2009-08-02  Kevin Ryde  <user42@zip.com.au>
17416         * net/newst-backend.el (newsticker--raw-url-list-defaults):
17417         Update freshmeat link.  Delete newsforge.com as it seems gone.
17419 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
17421         * select.el (x-set-selection): Doc fix (Bug#4021).
17423         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
17425         * help-fns.el (describe-variable): Treat list return values from
17426         dir-locals-find-file properly (Bug#4005).
17428 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
17430         * net/tramp.el (tramp-debug-message): Print also microseconds.
17432 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
17434         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
17435         or END is non-nil.
17436         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
17437         (tramp-get-debug-buffer): Change `outline-regexp' according to new
17438         format.
17440         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
17441         (tramp-get-file-property): Use it.
17443         * autorevert.el (auto-revert-handler): Allow
17444         `auto-revert-tail-mode' for remote files.
17446 2009-08-02  Jason Rumney  <jasonr@gnu.org>
17448         * minibuffer.el (read-file-name): Treat confirm options to
17449         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
17451 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
17453         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
17454         (font-lock-variable-name-face, font-lock-constant-face): Darken
17455         the colors for light backgrounds.
17457 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
17459         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
17460         month names.  (Bug#3987)
17462 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
17464         * simple.el (line-move-finish): Pass whole number to
17465         line-move-to-column.
17466         (line-move-visual): Perform hscroll to the recorded position.
17468 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
17470         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
17472 2009-07-29  Alan Mackenzie  <acm@muc.de>
17474         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
17476 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
17478         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
17479         (gdb-place-breakpoints): Use full path when setting breakpoints.
17481 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
17483         * calc/calc.el (calc-mode-map): Add keybinding for
17484         `calc-transpose-lines'.
17486 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
17488         * calc/calc-misc.el (calc-transpose-lines): New function.
17490 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
17492         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
17493         Simplify check for out-of-band methods.
17494         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
17495         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
17497 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
17499         * vc-git.el (vc-git-checkin): Fix typo.
17501 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
17503         * progmodes/js2-mode.el: New file.
17505 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
17507         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
17508         (gud-menu-map): Adjust tooltip accordingly.
17510 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
17512         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
17513         (vc-bzr-log-view-mode): Adjust log-view-file-re.
17515         * add-log.el (change-log-mode-map): Add a menu.
17517 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
17519         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
17520         function returns nil.
17521         (dbus-handle-event): Handle special return value :ignore.
17522         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
17524 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
17526         * view.el (view-mode-enable): Don't define Helper-return-blurb if
17527         it's not needed.
17529 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
17531         Fix Bug#3888:
17533         * w32-vars.el (x-select-enable-clipboard): Doc fix.
17535         * term/pc-win.el (x-display-name, x-colors)
17536         (x-select-enable-clipboard, x-select-text): Doc fix.
17538         * term/common-win.el (x-display-name, x-colors): Doc fix.
17540         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
17541         (xw-defined-colors): Doc fix.
17543         * w32-fns.el (x-select-text, x-setup-function-keys)
17544         (x-get-selection, x-set-selection): Doc fix.
17546         * term/x-win.el (x-select-text, x-setup-function-keys)
17547         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
17549         * select.el (x-set-selection): Doc fix.
17551 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
17553         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
17554         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
17555         "IsNSSSupportAvailable" method is not available.  Reported by
17556         Steve Youngs <steve@sxemacs.org>.
17558 2009-07-24  Kenichi Handa  <handa@m17n.org>
17560         * international/characters.el: Fix setting of category ?C, ?|, ?K,
17561         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
17562         (build-unicode-category-table): Fix range checks.
17564 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
17566         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
17567         the buffer we try to sync is current when calling
17568         vc-resynch-buffer.
17570         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
17571         not show up to date files.
17573 2009-07-24  Glenn Morris  <rgm@gnu.org>
17575         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
17576         Add autoload cookies.  If necessary, initialize.
17577         (elint-log): Handle non-file buffers.
17578         (elint-initialize): Add optional argument to reinitialize.
17579         (elint-find-builtin-variables): Save excursion.
17581 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
17583         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
17584         for Lint.
17586 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
17588         * vc.el (vc-print-log-internal): New function, split out from ...
17589         (vc-print-log): ... here.
17590         (vc-dir-move-to-goal-column): Declare.
17592         * vc-git.el (vc-git-add-signoff): New variable.
17593         (vc-git-checkin): Use it.
17594         (vc-git-toggle-signoff): New function.
17595         (vc-git-extra-menu-map): Bind it to menu.
17596         (vc-git--run-command-string): Accept a nil FILE argument.
17597         (vc-git-stash-list): New function.
17598         (vc-git-dir-extra-headers): Use it.
17600 2009-07-23  Glenn Morris  <rgm@gnu.org>
17602         * help-fns.el (describe-variable): Describe ignored and risky local
17603         variables in a similar way to that in which we describe safe ones.
17605         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
17606         (byte-compile-output-file-form, byte-compile-output-docform)
17607         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
17608         Give some more local variables with common names a "bytecomp-" prefix,
17609         so as not to shadow things during compilation.
17610         * emacs-lisp/cl-macs.el (load-time-value)
17611         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
17612         `outbuffer' to `bytecomp-outbuffer'.
17614         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
17615         since the next two variables cover them automatically now.
17616         (elint-builtin-variables, elint-autoloaded-variables): New.
17617         (elint-unknown-builtin-args): Remove all members, since they can be
17618         parsed automatically now.
17619         (elint-extra-errors): New.
17620         (elint-env-add-env, elint-env-add-macro): Use cadr.
17621         (elint-current-buffer): Use or.  Change final message.
17622         (elint-get-top-forms): Use line-end-position.
17623         (elint-init-env): Use cadr.  Handle autoload, declare-function,
17624         and defalias.
17625         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
17626         (regexp-assoc): Remove unused function.
17627         (elint-top-form): Set elint-current-pos, to record the start of the
17628         top-level form, for compilation-mode.
17629         (elint-form): Trap errors in macro expansion.  Use dolist.
17630         (elint-unbound-variable): Use elint-builtin-variables and
17631         elint-autoloaded-variables.
17632         (elint-get-args): Use cadr, or.
17633         (elint-check-cond-form): Use dolist, cadr.
17634         (elint-check-condition-case-form): Doc fix.  Use cadr.
17635         Use elint-extra-errors.
17636         (elint-log): New function.
17637         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
17638         Distinguish errors and warnings.
17639         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
17640         Use a bytecomp-style format.
17641         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
17642         (elint-get-log-buffer): Use compilation mode.  Disable undo.
17643         Don't truncate lines.
17644         (elint-initialize): Set builtin and autoloaded variable lists.
17645         Only process elint-unknown-builtin-args if non-nil.
17646         (elint-find-builtin-variables, elint-find-autoloaded-variables):
17647         New functions.
17648         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
17650 2009-07-22  Kevin Ryde  <user42@zip.com.au>
17652         * net/newst-backend.el (newsticker--parse-atom-1.0)
17653         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
17654         (newsticker--parse-rss-1.0):
17655         * progmodes/idlwave.el (idlwave-mode):
17656         * progmodes/idlw-shell.el (idlwave-shell-mode):
17657         * progmodes/vera-mode.el (vera-mode):
17658         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
17659         * progmodes/vhdl-mode.el (vhdl-mode):
17660         * textmodes/table.el (table-generate-source)
17661         (table--warn-incompatibility):
17662         Hyperlink urls in docstrings with URL `...'.
17664 2009-07-22  Glenn Morris  <rgm@gnu.org>
17666         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
17667         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
17668         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
17669         Remove leading * from defcustom docs.
17671         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
17673         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
17674         defcustom doc.
17675         (list-load-path-shadows): Optionally, just return shadows as a string.
17677         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
17679 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
17681         * mail/rmailedit.el (rmail-edit-mode): Use
17682         auto-save-include-big-deletions.
17684         * mail/rmail.el (rmail-variables): Use
17685         auto-save-include-big-deletions.
17687         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
17688         changes.
17690 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
17692         * calc/calc.el (calc-undo-length): New variable.
17693         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
17695 2009-07-21  Richard Stallman  <rms@gnu.org>
17697         * files.el (auto-save-mode): Handle buffer-save-size = -2
17698         for toggling mode.
17700 2009-07-21  Glenn Morris  <rgm@gnu.org>
17702         * textmodes/ispell.el (ispell-looking-back): Update declaration.
17704         * calendar/todo-mode.el (calendar-current-date): Update declaration.
17706         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
17707         silence compiler.  Instead...
17708         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
17709         (ps-print-ensure-fontified): Update for above function name changes.
17711         * printing.el (pr-mh-get-msg-num, pr-mh-show)
17712         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
17713         silence compiler.  Instead...
17714         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
17715         (mh-show-buffer): Only define for compiler.
17716         (pr-mh-current-message): Update for above function name changes.
17718         * files.el (abort-if-file-too-large): Explicitly pass `filename'
17719         as an argument.
17720         (find-file-noselect, insert-file-1): Update for above change.
17722         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
17724         * mail/mailclient.el (mailclient-send-it): Fix message.
17726         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
17727         (edebug-eval): Check cl-debug-env is bound.
17728         (print-level, print-circle): Don't redefine built-in variables.
17730         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
17731         (custom-print-vectors): Remove old comments from doc.
17733         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
17734         (emerge-version): Make the variable an obsolete alias for the
17735         emacs-version variable.  Make the function obsolete.
17736         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
17737         Emerge options, rather than merging in into the main Options menu.
17738         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
17739         and auto advance modes.  Disable edit/fast items when not relevant.
17741 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
17743         * term/vt420.el (terminal-init-vt420): Fix typo.
17745 2009-07-20  Sam Steingold  <sds@gnu.org>
17747         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
17748         variable (removed from compile.el on 2004-03-11).
17750 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
17752         * files.el (hack-local-variables-filter): Fix last change.
17754 2009-07-19  Juri Linkov  <juri@jurta.org>
17756         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
17757         (dir-local-variables-alist): New buffer-local variable.
17758         (hack-local-variables-filter): If variable is not dir-local,
17759         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
17760         because file-local overrides dir-local.
17761         (c-postprocess-file-styles) <declare-function>:
17762         Remove obsolete declaration.
17763         (hack-dir-local-variables): Add dir-local variable/value pair to
17764         `dir-local-variables-alist' and remove duplicates.  Doc fix.
17766         * help-fns.el (describe-variable): Add information about
17767         file-local and dir-local variables.
17769 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
17771         * files.el (hack-local-variables-filter): Rewrite.
17773 2009-07-19  Glenn Morris  <rgm@gnu.org>
17775         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
17776         Silence compiler by only defining on XEmacs.
17778         * international/mule.el (auto-coding-regexp-alist): Only match
17779         BABYL... at the start of buffer, not of lines.  (Bug#3790)
17781         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
17782         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
17783         (cal-menu-context-mouse-menu): Doc fix.
17785         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
17787         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
17789 2009-07-18  Juri Linkov  <juri@jurta.org>
17791         * info.el: Virtual Info keyword finder.
17792         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
17793         (Info-finder-file): New variable.
17794         (Info-finder-find-file): New function.
17795         (finder-known-keywords, finder-package-info)
17796         (find-library-name, lm-commentary): Use defvar and
17797         declare-function to silence compiler warnings.
17798         (Info-finder-find-node): New function.
17799         (info-finder): New command.
17801         * subr.el (process-kill-buffer-query-function): New function.
17802         (add-hook)<kill-buffer-query-functions>: Add hook
17803         `process-kill-buffer-query-function'.
17805 2009-07-18  Alan Mackenzie  <acm@muc.de>
17807         * progmodes/cc-mode.el (c-before-hack-hook)
17808         (c-postprocess-file-styles): Give invocation of `c-set-style'
17809         DONT-OVERRIDE parameter of t.  Already set style variables will
17810         thus not be overridden by style settings given by `c-file-syle'.
17812         * files.el (hack-local-variables-filter): Remove entries with
17813         duplicate keys from `file-local-variables-alist'.
17815 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
17817         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
17818         x-set-selection if display-selections-p returns nil for the
17819         current frame.
17821 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
17823         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
17825 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
17827         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
17828         Accept nil in addition to a regexp.
17829         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
17830         Accept nil in addition to a regexp.
17831         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
17832         buffers that have an associated file.  Handle nil values of
17833         desktop-buffers-not-to-save and desktop-files-not-to-save.
17834         (Bug#3833)
17836         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17837         (x-disown-selection-internal): New functions.
17839 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
17841         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
17842         warning.
17843         (gdb-breakpoints-header): Move forward to avoid compiler warning.
17844         (gdb-make-header-line-mouse-map): Remove duplicate definition.
17846 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
17848         * simple.el (set-mark): Revert last change.
17850 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
17852         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
17853         rendering of pngs is not possible instead of messaging a long
17854         description.
17856 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
17858         * w32-fns.el (x-selection-owner-p): New function.
17860         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
17861         (mouse-yank-at-click, mouse-yank-primary): If
17862         select-active-regions is non-nil, deactivate the mark before
17863         insertion.
17865         * simple.el (deactivate-mark, set-mark): Only save selection if we
17866         own it.
17868 2009-07-17  Kenichi Handa  <handa@m17n.org>
17870         * case-table.el (describe-buffer-case-table): Fix for the case
17871         that KEY is a cons.
17873 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
17875         * vc-rcs.el (vc-rcs-find-file-hook):
17876         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
17878 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
17880         * net/tramp.el (tramp-wait-for-output): Handle the case when
17881         commands do not return a newline but a null byte before the shell
17882         prompt.  (Bug#3858)
17884 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
17886         * term/ns-win.el (ns-set-alpha): Don't declare.
17887         (ns-set-background-alpha): Remove function.
17889 2009-07-16  Kevin Ryde  <user42@zip.com.au>
17891         * emacs-lisp/copyright.el (copyright-update): Save match-data across
17892         y-or-n-p, for safety.
17894 2009-07-16  Richard Stallman  <rms@gnu.org>
17896         * files.el (auto-save-mode): If buffer-saved-size is -2,
17897         don't clobber it.
17899         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
17900         (rmail-retry-ignored-headers): Add more uninteresting fields.
17902 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
17904         * net/rcirc.el (rcirc): Use history variables.
17905         (rcirc-server-name-history, rcirc-nick-name-history)
17906         (rcirc-server-port-history): New variables.
17908 2009-07-15  Kenichi Handa  <handa@m17n.org>
17910         * international/mule-cmds.el (set-language-environment-charset):
17911         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
17912         ignore them.
17914         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
17915         Delete unibyte-display.
17917 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
17919         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
17921 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
17923         * simple.el (deactivate-mark): Optional argument FORCE.
17924         (set-mark): Use deactivate-mark.
17926         * info.el (Info-search): No need to check transient-mark-mode
17927         before calling deactivate-mark.
17929         * select.el (x-set-selection): Doc fix.
17930         (x-valid-simple-selection-p): Allow buffer values.
17931         (xselect--selection-bounds): Handle buffer values.  Suggested by
17932         David De La Harpe Golden.
17934         * mouse.el (mouse-set-region, mouse-drag-track): Call
17935         copy-region-as-kill before setting the mark, to let
17936         select-active-regions work.
17938 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
17940         * simple.el (deactivate-mark): If select-active-regions is
17941         non-nil, copy the selection data into a string.
17942         (activate-mark): If select-active-regions is non-nil, set the
17943         selection to the current buffer.
17944         (set-mark): Update selection if select-active-regions is non-nil.
17946         * select.el (x-valid-simple-selection-p): Allow buffer values.
17948 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
17950         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
17951         and more featureful message-mode.
17953 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
17955         * select.el (x-set-selection): Doc fix.
17956         (x-valid-simple-selection-p): Disallow selection data consisting
17957         of a list or cons of integers, since that is not used.
17958         (xselect--selection-bounds, xselect--int-to-cons): New functions.
17959         (xselect-convert-to-string, xselect-convert-to-length)
17960         (xselect-convert-to-filename, xselect-convert-to-charpos)
17961         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
17963 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
17965         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
17966         output in -break-info command (Emacs bug #3794).
17968 2009-07-14  Glenn Morris  <rgm@gnu.org>
17970         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
17971         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
17972         (edebug-print-length, edebug-print-level, edebug-print-circle)
17973         (edebug-sit-for-seconds, edebug-view-outside)
17974         (edebug-bounce-point, edebug-set-global-break-condition)
17975         (edebug-Go-nonstop-mode, edebug-trace-mode)
17976         (edebug-Trace-fast-mode, edebug-continue-mode)
17977         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
17978         (edebug-visit-eval-list): Doc fixes.
17980         * subr.el (def-edebug-spec): Doc fix.
17982 2009-07-14  Kenichi Handa  <handa@m17n.org>
17984         * international/characters.el: Fix setting of category ?C.
17986 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
17988         * term/ns-win.el (x-select-font): defalias x-select-font to
17989         ns-popup-font-panel instead of generate-fontset-menu.
17991 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
17993         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
17995 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
17997         * arc-mode.el (archive-find-type): Allow for a PK00 string before
17998         the PK\003\004 header (Bug#3770).
18000 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
18002         * pcomplete.el (pcomplete-comint-setup): Check for
18003         shell-dynamic-complete-filename too.
18005 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
18007         * simple.el (temporary-goal-column): Change the value for
18008         line-move-visual to a cons cell.
18009         (line-move-visual): Record or set the window hscroll, if
18010         necessary (Bug#3494).
18011         (line-move-1): Handle cons value of temporary-goal-column.
18013 2009-07-11  Kenichi Handa  <handa@m17n.org>
18015         * international/mule-diag.el (describe-character-set): Don't show
18016         width.
18018 2009-07-10  Sam Steingold  <sds@gnu.org>
18020         * progmodes/compile.el (compilation-mode-font-lock-keywords):
18021         Omake sometimes indents the errors it prints, so allow all
18022         regexps to start with spaces.
18024 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
18026         * cus-edit.el (customize-changed-options-previous-release):
18027         Bump value to 22.1.  (Bug#3804)
18029 2009-07-08  Sam Steingold  <sds@gnu.org>
18031         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
18032         to be a cons cell (test . ignored-directory) to selectively ignore
18033         some directories depending on the location of the search.
18035 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
18037         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
18038         remote user is root, on the local host.
18039         (tramp-local-host-p): Either the local user or the remote user
18040         must be root.  (Bug#3771)
18042 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
18044         * progmodes/gdb-mi.el (gdb): Remove description of
18045         gdb-use-separate-io-buffer.
18046         (menu): Don't allow toggling of or enable
18047         gdb-use-separate-io-buffer from menubar.
18049 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
18051         * mail/unrmail.el (unrmail): Make sure the message ends with two
18052         newlines (Bug#3769).
18054 2009-07-08  Glenn Morris  <rgm@gnu.org>
18056         * calendar/calendar.el (calendar-current-date): Rework previous change.
18058 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
18060         * calendar/calendar.el (calendar-current-date):
18061         Add an optional argument giving an offset from today.
18063 2009-07-08  Glenn Morris  <rgm@gnu.org>
18065         * tutorial.el (tutorial--describe-nonstandard-key):
18066         Adjust the message for when a key has been unbound.
18067         (help-with-tutorial): Hide the arch-tag.
18069 2009-07-08  Kenichi Handa  <handa@m17n.org>
18071         * international/fontset.el (setup-default-fontset): For each
18072         script, append (not set) font-specs.
18074         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
18075         docstring.
18077 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
18079         * progmodes/gdb-mi.el (gdb-init-1): Move sending
18080         -data-list-register-names to ...
18081         (gdb-starting): ... here because GDB 7.0 requires execution to
18082         have started when using this MI command.
18083         (gdb-set-header): New function to distinguish select and
18084         unselected tabs in gdb buffers.
18085         (gdb-propertize-header): New macro that uses gdb-set-header.
18086         (gdb-breakpoints-header, gdb-locals-header): Use it.
18087         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
18089 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
18091         * Makefile.in (ELCFILES): Remove fadr.elc.
18093 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
18095         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
18096         may contain frame information, so `string-match' should be used.
18097         (gdb-update): Disassembly is invalidated through
18098         `gdb-get-selected-frame'.
18099         (gdb-pad-string): New function to pad string with spaces.
18100         (gdb-invalidate-disassembly): Invalidate only if the buffer
18101         exists.
18102         (gdb-disassembly-handler-custom): Column alignment.
18103         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
18104         placing new ones.
18105         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
18106         end of line, too.
18107         (gdb-frame-handler): Match convention to for disassembly buffer
18108         mode name.
18109         (gdb-stack-list-frames-handler): Rewritten without regexps.
18110         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
18111         not highlight breakpoints without line information.
18112         (gdb-input): Add trailing newline to command.
18114         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
18115         buffer properly.
18116         (gdb-breakpoints-list-handler-custom): Replacement for
18117         `gdb-break-list-handler'.  Using real parser instead of regexps
18118         now.
18119         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
18120         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
18121         to place breakpoints.
18122         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
18123         functions.
18124         (gdb-disassembly-handler-custom): Show overlay arrow.
18125         (gdb-disassembly-place-breakpoints): Show breakpoints in
18126         disassembly buffer.
18127         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
18128         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
18129         instead of parsing breakpoints buffer.  Fixed old menu references
18130         in `gud-menu-map'.
18132         * fadr.el: Remove.
18134         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
18135         (gdb-memory-address): New variable which holds top address of
18136         memory page shown in memory buffer.
18137         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
18138         customization variables.
18139         New functions:
18140         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
18141         display the memory buffer.
18142         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
18143         buffer display parameters.
18144         (def-gdb-memory-format, gdb-memory-format-binary)
18145         (gdb-memory-format-octal, gdb-memory-format-unsigned)
18146         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
18147         Functions for setting memory buffer format.
18148         (gdb-memory-unit-word, gdb-memory-unit-halfword)
18149         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
18150         unit size used in memory buffer.
18151         (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
18152         to next/previous page of memory buffer.
18153         Now using (bindat-get-field) instead of fadr functions.
18155 2009-07-07  Sam Steingold  <sds@gnu.org>
18157         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
18158         non-top-level files.
18160 2009-07-07  Kenichi Handa  <handa@m17n.org>
18162         * international/mule-cmds.el (reset-language-environment): Put
18163         the highset priority to the charset iso-8859-1.
18165 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
18167         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
18168         to the end of the line when locating the block (Bug#700).
18170 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
18172         * net/tramp.el (tramp-handle-write-region): Flush file properties
18173         in case of short track.
18175 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
18177         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
18178         Coded custom representation of verilog error regular expressions
18179         to work with Emacs-22's new format.
18180         (verilog-error-regexp-xemacs-alist): Coded custom representation
18181         of verilog error regular expressions to work with XEmacs format.
18182         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
18183         error recognition into XEmacs.
18184         (verilog-error-regexp-add-emacs): Hook routine to install verilog
18185         error recognition into Emacs-22.
18187 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
18189         * woman.el: Remove stand-alone closing parentheses.
18190         (woman-file-name, woman2-format-paragraphs)
18191         (woman-leave-blank-lines): Code cleanup.
18192         (woman-use-own-frame): Change default to nil.
18193         (woman-italic, woman-bold, woman-unknown, woman-addition): Change
18194         defaults to inherit from default faces.
18195         (woman2-process-escapes): Consume the newline after a stand-alone
18196         filler character (Bug#3651).
18198 2009-07-06  Glenn Morris  <rgm@gnu.org>
18200         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
18201         (top-level): Move provide to the end.
18202         (ffap): Remove defunct URL from custom group.
18204         * subr.el (eval-after-load): Doc fix.
18206 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
18208         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
18209         `calc-embedded-word' is called twice.
18211 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18213         * files.el (find-alternate-file-other-window, find-alternate-file):
18214         Obey confirm-nonexistent-file-or-buffer.
18216 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
18218         * dired-aux.el (dired-show-file-type): Handle remote files.
18220 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
18222         * desktop.el (desktop-globals-to-save):
18223         Add file-name-history (Bug#2750).
18225 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
18227         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
18229 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
18231         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
18232         property on entire argument since this is what eshell-lisp-command
18233         expects.
18235 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
18237         * net/tramp-gvfs.el (tramp-gvfs-methods)
18238         (tramp-gvfs-zeroconf-domain)
18239         (tramp-bluez-discover-devices-timeout): Add version flag.
18240         (tramp-gvfs-handler-mounted-unmounted)
18241         (tramp-gvfs-connection-mounted-p): Polish handling of
18242         incompatibilities between GVFS 0.2 and 1.0.
18244 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
18246         * cus-start.el (all): Add make-pointer-invisible.
18248 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
18250         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
18251         formatted correctly.
18253 2009-07-02  Juri Linkov  <juri@jurta.org>
18255         * info.el: Virtual Info files and nodes.
18256         (Info-virtual-files, Info-virtual-nodes): New variables.
18257         (Info-current-node-virtual): New variable.
18258         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
18259         New functions.
18260         (Info-file-supports-index-cookies): Use Info-virtual-file-p
18261         to check for a virtual file instead of checking a fixed list
18262         of node names.
18263         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
18264         instead of ad-hoc processing of "dir" and (apropos history toc).
18265         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
18266         instead of ad-hoc processing of "dir" and (apropos history toc).
18267         Reread a file when moving from a virtual node.
18268         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
18269         (Info-directory-toc-nodes, Info-directory-find-file)
18270         (Info-directory-find-node): New functions.
18271         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
18272         (Info-history): Move part of code to
18273         `Info-history-find-node'.
18274         (Info-history-toc-nodes, Info-history-find-file)
18275         (Info-history-find-node): New functions.
18276         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
18277         (Info-toc): Move part of code to `Info-toc-find-node'.
18278         (Info-toc-find-node): New function.
18279         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
18280         the current Info file name to references because now the node
18281         "*TOC*" belongs to the same Info manual.
18282         (Info-toc-build): Rename from `Info-build-toc'.
18283         (Info-toc-nodes): Rename input argument `file' to `filename'.
18284         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
18285         instead of ad-hoc processing of ("dir" apropos history toc).
18286         (Info-index-nodes): Use Info-virtual-file-p
18287         to check for a virtual file instead of checking a fixed list
18288         of node names.
18289         (Info-index-node): Add check for `Info-current-node-virtual'.
18290         Raise `save-match-data' higher up the tree to contain
18291         `search-forward' too (bug fix).
18292         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
18293         (Info-virtual-index-nodes): New variable.
18294         (Info-virtual-index-find-node, Info-virtual-index): New functions.
18295         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
18296         (Info-apropos-file, Info-apropos-nodes): New variables.
18297         (Info-apropos-toc-nodes, Info-apropos-find-file)
18298         (Info-apropos-find-node, Info-apropos-matches): New functions.
18299         (info-apropos): Move part of code to `Info-apropos-find-node' and
18300         `Info-apropos-matches'.
18301         (Info-mode-map): Bind "I" to `Info-virtual-index'.
18302         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
18303         for a virtual file instead of checking a fixed list of node names.
18305         * simple.el (async-shell-command): New command.
18307         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
18309         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
18310         instead of `mount-info'.
18312 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
18314         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
18315         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
18317 2009-07-02  Kenichi Handa  <handa@m17n.org>
18319         * international/mule.el (set-keyboard-coding-system): Force *-unix
18320         coding-system to avoid eol conversion.
18322 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
18324         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
18325         Add handler for `process-file', `shell-command' and
18326         `start-file-process'.
18327         (tramp-gvfs-handle-shell-command)
18328         (tramp-gvfs-handle-start-file-process)
18329         (tramp-gvfs-handle-process-file): New defuns.
18330         (tramp-synce-list-devices): Simplify check for existence of property.
18332 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
18334         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
18336 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
18338         * language/korean.el (set-language-info-alist): Add korean-cp949,
18339         cp949 to spec.
18341 2009-07-01  Kenichi Handa  <handa@m17n.org>
18343         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
18345         * international/encoded-kb.el: Deleted.
18347         * international/mule.el (set-keyboard-coding-system): Perform the
18348         necessary setup here instead of calling encoded-kbd-setup-display.
18350 2009-07-01  Glenn Morris  <rgm@gnu.org>
18352         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
18354 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
18356         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
18358 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
18360         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
18361         Handle also the 'rename case, when setting file modes.  (Bug#3712)
18362         (tramp-default-file-modes): Remove execute permissions.
18364         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
18365         (top): Add a default for "synce" in `tramp-default-user-alist'.
18366         Add completion function for "synce" method.
18367         (tramp-hal-service, tramp-hal-path-manager)
18368         (tramp-hal-interface-manager, tramp-hal-interface-device):
18369         New defconst.
18370         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
18371         (tramp-synce-list-devices, tramp-synce-parse-device-names):
18372         New defuns.
18374         * net/trampver.el: Update release number.
18376 2009-06-30  Kenichi Handa  <handa@m17n.org>
18378         * international/fontset.el (setup-default-fontset): Add CJK fonts
18379         for symbols and the other miscellaneous characters.
18381         * language/korea-util.el (setup-korean-environment-internal):
18382         Make char-width-table suitable for Korean environments.
18383         (exit-korean-environment): Cancel above.
18385         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
18386         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
18387         setup-function to make char-width-table suitable for respective
18388         environments, and an exit-function to cancel that.
18390         * language/japan-util.el (setup-japanese-environment-internal):
18391         Call use-cjk-char-width-table with arg `ja_JP'.
18393         * international/characters.el (cjk-char-width-table): Delete it.
18394         (cjk-char-width-table-list): New variable.
18395         (use-cjk-char-width-table): New arg local-name.
18396         (use-default-char-width-table): Fix for the case that Emacs is
18397         already using the default char-width-table.
18399 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
18401         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
18402         modes mandatory.  (Bug#3712)
18404 2009-06-29  Alan Mackenzie  <acm@muc.de>
18406         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
18407         correction between the visible width of TABs and their number of bytes.
18409 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
18411         * server.el (server-buffer-done): Prevent kill-buffer from
18412         prompting by clearing the buffer modification flag (Bug#3696).
18414 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
18416         * progmodes/verilog-mode.el (verilog-beg-of-statement)
18417         (verilog-endcomment-reason-re): Support unique case and priority case.
18418         (verilog-basic-complete-re): Support localparam lineup.
18419         (verilog-beg-of-statement-1): Fix for robustness, unique case.
18420         (verilog-set-auto-endcomments): Fix for unique case, always_comb
18421         commenting.
18422         (verilog-leap-to-case-head): Now support *nested* unique &
18423         priority case statements.
18424         (verilog-auto-lineup): Make just declarations the default (as it
18425         had been).
18426         (verilog-leap-to-case-head): Support priority/unique case statements.
18427         (verilog-auto-lineup): Rework to give users radio buttons to
18428         select the various styles of automatic lineup.
18429         (verilog-error-regexp-alist): Rework to support the XEmacs style
18430         of error regular expressions from compilers, lint tools &
18431         simulators.  Note that GNU Emacs has made it impossible for a mode
18432         to load such things.
18433         (electric-verilog-terminate-line, verilog-indent-declaration)
18434         (verilog-auto-wiure): Rework for radio button selection of
18435         auto-lineup selection of specification of auto lineup.
18436         (verilog-beg-of-statement-1): Redesign to support proper operation
18437         in additional code, based on testing with auto-lineup.
18438         (verilog-calculate-indent, assignments & declarations)
18439         (verilog-backward-token): Enhance to support auto-lineup of
18440         assignments & declarations.
18441         (verilog-in-directive-p, verilog-at-struct-p): New function for
18442         easy test of whether we are.
18443         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
18444         to support safe execution at almost anyline.
18445         (verilog-calc-1): Properly support indenting deep inside generate
18446         blocks.
18447         (verilog-init-font): Remove definition & use of verilog-init-font,
18448         as it is redundant with font-lock-defaults.
18449         (verilog-mode): Alter the definition of verilog-font-lock-defaults
18450         to avoid circular calls if syntax-ppss is a function (as is the
18451         case now in 22.x GNU Emacs) as that function would sometimes call
18452         itself, leading to (nearly) infinite recursion.
18453         (verilog-ovm-begin-re, verilog-ovm-end-re)
18454         (verilog-ovm-statement-re, verilog-leap-to-head)
18455         (verilog-backward-token): Add support for OVM macros.  Some are
18456         complete statements, and others open and close scopes like begin
18457         and end.
18458         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
18459         (verilog-defun-level-generate-only-re): Really fix the defun-list
18460         compilation issue.
18461         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
18462         coverpoint, constraint and cross statements.
18463         (verilog-defun-level-list, verilog-generate-defun-level-list)
18464         (verilog-all-defun-level-list): Redo these specifications - it is
18465         too hard to support eval-when compile aggregation of lists also
18466         built at when-compile time.
18467         (verilog-defun-level-list): Place defconsts of variables used in
18468         building regular expressions which are built in eval-when-compile
18469         bodies in the same eval-when-compile body to facilitate compile
18470         without load.
18471         (verilog-beg-block-re-ordered): Support indenting
18472         virtual/protected tasks and functions.
18473         (verilog-defun-level-list, verilog-in-generate-region-p)
18474         (verilog-backward-ws&directives, verilog-calc-1): Speed up
18475         indentation of some module items (generate items).
18476         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
18477         across virtual/protected tasks and functions.
18479 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
18481         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
18482         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
18483         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
18484         in concatenations.  Reported by Yishay Belkind.
18485         (verilog-auto-ascii-enum): Support one-hot state machines in
18486         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
18487         (verilog-auto-inst, verilog-auto-inst-port): Include interface
18488         modport in AUTOINST and add vl-modport for users.  Reported by
18489         David Rogoff.
18490         (verilog-auto-inout-module, verilog-auto-inst)
18491         (verilog-decls-get-interfaces, verilog-insert-definition)
18492         (verilog-insert-one-definition, verilog-read-decls)
18493         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
18494         (verilog-sig-modport, verilog-signals-combine-bus)
18495         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
18496         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
18497         Suggested by David Rogoff.
18498         (verilog-repair-open-comma): Fix non-insertion of comma when
18499         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
18500         (verilog-make-width-expression): Simplify [A-1:0] expression
18501         widths to just {A{1'b0}}.
18502         (verilog-mode): Cleanup checkdoc warnings.
18503         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
18504         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
18505         inputs/outputs or data type.  Suggested by Vasu Kandadi.
18506         (next-error-last-buffer): Fix byte-compiler warning.
18507         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
18508         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
18509         or shell command text during AUTO expansion.  Suggested by Tad Truex.
18510         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
18511         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
18512         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
18513         in AUTOINOUT.  Reported by Matthew Lovell.
18514         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
18515         causing use of <= assignments.  Reported by Alex Reed.
18516         (verilog-read-decls): Fix triand, trior, wand, wor to be
18517         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
18518         (verilog-extended-complete-re): Support import "DPI-C" functions.
18519         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
18520         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
18521         (verilog-insert-date, verilog-insert-year)
18522         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
18523         Windows systems.  Reported by Michael Potts.
18524         (verilog-read-module-name): Fix AUTOINST when the child module
18525         declaration's name is a tick define.  Reported by Elliot Mednick.
18526         (verilog-read-decls): Fix V2K parameter bit subscripts getting
18527         passed to next parameter's definition.  Reported by Bruce T.
18528         (verilog-read-decls): Fix detecting "parameter int" when using
18529         AUTOINSTPARAM.  Reported by Bruce T.
18530         (verilog-goto-defun): Fix goto not finding modules unless first
18531         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
18532         (verilog-mode): Expand -f flag arguments on entry to mode so
18533         verilog-goto-defun will work.  Reported by Lawrence Butcher.
18534         (verilog-getopt): Expand environment variables in -f file
18535         arguments.  Suggested by Lawrence Butcher.
18536         (verilog-set-define): Fix "Symbol's value as variable is void"
18537         when reading enumerations.
18538         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
18539         Suggested by Stephen Peltan.
18540         (verilog-read-defines): Fix reading of enumerations in include
18541         files.  Reported by Steve Peltan.
18543 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
18545         * files.el (trash-directory): Fix defcustom type.
18547 2009-06-28  Juri Linkov  <juri@jurta.org>
18549         * help-fns.el (describe-function-1): Correctly locate adviced
18550         functions in hyperlink (Bug#2438).
18552 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
18554         * files.el (trash-directory): Change default to nil.
18555         (move-file-to-trash): If trash-directory is nil and
18556         system-move-file-to-trash is unbound, perform freedesktop-style
18557         trashing.
18559 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
18561         * files.el (move-file-to-trash): Add freedesktop trash
18562         support (Bug#973).
18564 2009-06-28  Glenn Morris  <rgm@gnu.org>
18566         * autorevert.el (global-auto-revert-non-file-buffers)
18567         (global-auto-revert-mode): Doc fixes.
18569 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
18571         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
18573 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
18575         * faces.el (x-handle-named-frame-geometry): Ensure that we have
18576         opened an X connection before calling x-get-resource (Bug#3194).
18578         * play/doctor.el: Remove reference to obsolete website.
18579         (make-doctor-variables): Correct grammar mistake (Bug#2633).
18581 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
18583         Remove find-file-not-found-hook VC method.  (Bug#2757)
18584         * vc-hooks.el (vc-file-not-found-hook)
18585         (vc-default-find-file-not-found-hook): Remove functions.
18586         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
18587         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
18588         * vc.el:
18589         * vc-hg.el:
18590         * vc-git.el: Do not mention find-file-not-found-hook VC method.
18592 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
18594         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
18595         compatibility function for `looking-back'.
18597         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
18598         Use `ispell-looking-back'.
18600 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
18602         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
18603         rather than `filename'.
18605 2009-06-23  Miles Bader  <miles@gnu.org>
18607         * face-remap.el (text-scale-set): New function.
18609 2009-06-23  Glenn Morris  <rgm@gnu.org>
18611         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
18613         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
18615         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
18617         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
18619         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
18620         Simplify Persian conditionals.
18622         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
18623         variable `filename'.
18625         * comint.el (comint-insert-input): Doc fix.
18627         * Makefile.in (ELCFILES): Fix typo in previous change.
18629 2009-06-23  Miles Bader  <miles@gnu.org>
18631         * cus-start.el: Add entry for `recenter-redisplay'.
18633 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
18635         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
18636         Add an optional argument for the backend, use it instead of
18637         calling vc-backend.
18638         (vc-mode-line): Add an optional argument for the backend.
18639         Pass the backend to vc-state and vc-working-revision.  Move code for
18640         special handling for vc-state being a buffer to ...
18642         * vc-rcs.el (vc-rcs-find-file-hook):
18643         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
18645         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
18646         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
18647         vc-stay-local-p and vc-mode-line calls.
18649         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
18650         (vc-cvs-diff, vc-cvs-annotate-command)
18651         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
18652         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
18653         vc-mode-line calls.
18655         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
18656         direct comparison.
18657         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
18658         backend when calling vc-mode-line.
18659         (vc-register): Do not create a closure for calling the vc register
18660         function, call it directly.
18662 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
18664         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
18665         to make it obvious item can be clicked.
18667         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
18669 2009-06-23  Kenichi Handa  <handa@m17n.org>
18671         * language/korea-util.el (korean-key-bindings): Change the binding
18672         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
18673         same command.
18675 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
18677         Sync with Tramp 2.1.16.
18679         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
18681         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
18682         when a loading of a package fails.  Completion function for rsync
18683         is `tramp-completion-function-alist-ssh'.
18684         (all): Replace all calls of `split-string' and
18685         `tramp-split-string' by `tramp-compat-split-string'.
18686         (tramp-default-method): Use `tramp-compat-process-running-p'.
18687         (tramp-default-proxies-alist): Allow also Lisp forms.
18688         (tramp-remote-path): Add choice "Private Directories".
18689         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
18690         (tramp-domain-regexp): Allow also "-", "_" and ".".
18691         (tramp-end-of-output): Remove newlines, and add "$" at the end.
18692         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
18693         (tramp-debug-message): Insert header line in debug buffer.
18694         (tramp-handle-directory-files-and-attributes-with-stat):
18695         Care about filenames with spaces, or starting with "-".
18696         (tramp-handle-dired-uncache): New defun.
18697         (tramp-handle-insert-directory): Don't flush the directory from
18698         cache, this is handled by `dired-uncache' now.
18699         (tramp-handle-insert-file-contents): Improve error handling.
18700         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18701         Quote `tramp-end-of-output'.
18702         (tramp-action-password): Improve trace message.
18703         (tramp-check-for-regexp): Both echoes must be present, before removing.
18704         (tramp-open-connection-setup-interactive-shell): Trace coding system.
18705         (tramp-compute-multi-hops): Eval cons cells of
18706         `tramp-default-proxies-alist'.
18707         (tramp-maybe-open-connection): Use the same command pattern for
18708         first hop and further hops.
18709         (tramp-wait-for-output): Remove handling of newlines.
18710         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
18711         (tramp-split-string): Remove function.  It is handled in
18712         tramp-compat now.
18714         * net/tramp-cmds.el (tramp-bug):
18715         Recommend `tramp-cleanup-all-connections' in the bug mail.
18717         * net/tramp-compat.el (tramp-compat-split-string)
18718         (tramp-compat-process-running-p): New defuns.
18720         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
18721         for `dired-uncache'.
18723         * net/tramp-gvfs.el: New package.
18725         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
18726         Add handler for `dired-uncache'.
18727         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
18729         * net/trampver.el: Update release number.  Make version check fit
18730         for SXEmacs 22.
18732 2009-06-22  Jim Meyering  <meyering@redhat.com>
18734         Automatically handle .xz suffix (XZ-compressed files), too.
18735         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
18736         XZ is the successor to LZMA: <http://tukaani.org/xz/>
18738 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
18739             Nick Roberts  <nickrob@snap.net.nz>
18741         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
18742         repository (http://sphinx.net.ru/hg/gdb-mi/).
18744 2009-06-22  Glenn Morris  <rgm@gnu.org>
18746         * files.el (dir-locals-collect-mode-variables): Allow for any number of
18747         `mode' and `eval' entries.  (Bug#3430)
18749         * Makefile.in (ELCFILES): Add fadr.elc.
18751         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
18752         differing behavior of \n and ^ in strings.  (Bug#3385)
18754         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
18756         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
18757         property.
18758         (lisp-indent-function): Make it a defcustom.
18760 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
18762         * progmodes/gdb-ui.el: Replace with ...
18763         * progmodes/gdb-mi.el: ... this file.
18764         * progmodes/gud.el: Modify for gdb-mi.el.
18766 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
18768         * fadr.el: New file.
18770 See ChangeLog.14 for earlier changes.
18772 ;; Local Variables:
18773 ;; coding: utf-8
18774 ;; End:
18776   Copyright (C) 2009, 2010  Free Software Foundation, Inc.
18778   This file is part of GNU Emacs.
18780   GNU Emacs is free software: you can redistribute it and/or modify
18781   it under the terms of the GNU General Public License as published by
18782   the Free Software Foundation, either version 3 of the License, or
18783   (at your option) any later version.
18785   GNU Emacs is distributed in the hope that it will be useful,
18786   but WITHOUT ANY WARRANTY; without even the implied warranty of
18787   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18788   GNU General Public License for more details.
18790   You should have received a copy of the GNU General Public License
18791   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.