* lisp/shell.el (shell-dir-cookie-re): New custom variable.
[emacs.git] / lisp / ChangeLog
blob822af9becc3fb3a02d982b62bfc95acc18ef643e
1 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3         * shell.el (shell-dir-cookie-re): New custom variable.
4         (shell-dir-cookie-watcher): New function.
6         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
7         and compilation-mode (bug#7350).
9         * vc/smerge-mode.el (smerge-refine): Choose better default part to
10         highlight when one of them is empty.
12         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
13         trailing space.
14         (skeleton-newline): New function.
15         (skeleton-internal-1): Use it.
17         * simple.el (open-line): `newline' may strip trailing space.
19 2010-11-12  Kevin Ryde  <user42@zip.com.au>
21         * international/mule-cmds.el (princ-list): Use mapc.
23 2010-11-12  Glenn Morris  <rgm@gnu.org>
25         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
26         Use it to replace all instances of "*Compile-Log*"
28 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
30         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
31         indentation specs.
33 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
35         * progmodes/modula2.el: Use SMIE and skeleton.
36         (m2-mode-syntax-table): (*..*) can be nested.
37         Add //...\n.  Fix paren syntax.
38         (m2-mode-map): Remove LF and TAB bindings.
39         (m2-indent): Add safety property.
40         (m2-smie-grammar): New var.
41         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
42         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
43         (m2-mode): Use define-derived-mode.
44         (m2-newline, m2-tab): Remove.
45         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
46         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
47         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
48         (m2-import): Use define-skeleton.
50 2010-11-11  Glenn Morris  <rgm@gnu.org>
52         * obsolete/lucid.el: Don't warn about any CL functions in this file.
54         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
55         (ls-lisp-verbosity): Add custom :set-after property.
56         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
57         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
58         (ls-lisp-insert-directory): Update caller.
59         (ls-lisp-set-options): New function.
60         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
61         Doc fix.
63         * play/landmark.el (lm-prompt-for-move):
64         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
66         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
68         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
69         (idlwave-study-twins): Prefix dynamic local variable `name'.
70         (idlwave-routine-twin-compare): Update for above change.
72         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
73         Prefix dynamic local variables `name', `kwd', and `link'.
74         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
75         * progmodes/idlw-complete-structtag.el
76         (idlwave-complete-structure-tag-help):
77         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
78         (idlwave-complete-sysvar-tag-help)
79         (idlwave-complete-class-structure-tag-help):
80         Update for above name changes.
82 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
84         * net/browse-url.el (browse-url-browser-function): Change the
85         default to use `browse-url-mail' on mailto: URLs.
87 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
89         * emacs-lisp/package.el (package-read-all-archive-contents):
90         Reset package-archive-contents to nil before re-reading.
92 2010-11-10  Brandon Craig Rhodes <brandon@rhodesmill.org>  (tiny change)
94         * textmodes/flyspell.el (flyspell-word): Do not re-check words
95         already found as misspellings by (flyspell-large-region), just
96         do highlighting (bug#7322).
98 2010-11-10  Glenn Morris  <rgm@gnu.org>
100         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
102         * emulation/edt.el (edt-with-position): New macro.
103         (edt-find-forward, edt-find-backward, edt-find-next-forward)
104         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
105         (edt-paragraph-forward, edt-paragraph-backward): Use it.
107         * emulation/tpu-extras.el (tpu-with-position): New macro.
108         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
110         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
112         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
113         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
114         (texinfo-master-menu, texinfo-insert-node-lines)
115         (texinfo-multiple-files-update):
116         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
117         Use line-beginning-position.
119         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
120         No recent Emacs supports system-type `emx'.
122         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
123         (ada-command-separator, ada-default-prj-properties)
124         (ada-find-any-references): Update for above name change.
126         * dirtrack.el (dirtrack-directory-function)
127         (dirtrack-canonicalize-function):
128         * filecache.el (file-cache-completion-ignore-case)
129         (file-cache-case-fold-search, file-cache-ignore-case):
130         * term.el (serial-port-is-file-p): Cosmetic change.
132         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
133         Remove non-existent `windows-95' system-type.
134         * dired.el (dired-chown-program): Remove non-existent `linux'
135         system-type.
137         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
138         (ping-program-options): Remove non-existent `linux' system-type.
140         * startup.el (package-initialize): Update declaration.
142         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
143         (ls-lisp-handle-switches): Use time-less-p.
144         (ls-lisp-format-time): Use float-time.
146         * textmodes/remember.el (remember-time-to-seconds): Remove.
147         (remember-store-in-mailbox): Use float-time.
149         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
151         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
152         never a real function.
153         (with-no-warnings): Remove compat stub, now unused.
154         (time-less-p): Doc fix.
155         (time-to-number-of-days): Simplify.
157         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
158         Remove.
159         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
160         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
161         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
162         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
163         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
165         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
166         (eshell-shuffle-files, eshell-shorthand-tar-command)
167         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
168         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
169         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
170         Prefix dynamic local variable `matches'.
172         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
173         Prefix dynamic local variable `skeleton'.
175 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
177         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
178         in mail buffer; make yank-action always a command that yanks original
179         buffer.
181 2010-11-09  Glenn Morris  <rgm@gnu.org>
183         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
185 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
187         * minibuffer.el (minibuffer-completion-help): Specify the end of the
188         completion field (bug#7211).
190         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
191         Fix handling of backslash escapes.
192         (python-quote-syntax): Adjust accordingly.
194 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
196         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
197         (vc-mtn-workfile-branch): Adjust to new output format.
199 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
201         * international/mule-cmds.el (princ-list): Mark as obsolete.
203 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
205         * emacs-lisp/smie.el: New package.
207 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
209         * files.el (backup-by-copying-when-mismatch):
210         Set `permanent-local' property.
212         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
213         `permanent-local' property for `backup-by-copying-when-mismatch'.
215 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
217         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
219 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
221         * progmodes/verilog-mode.el (verilog-insert-one-definition)
222         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
223         AUTOINOUT for SV style multidimensional arrays, bug294.
224         Reported by Eric Mastromarchi.
225         (verilog-preprocess): Use with-current-buffer and
226         font-lock-fontify-buffer to cleanup style issues.
228 2010-11-09  Glenn Morris  <rgm@gnu.org>
230         * locate.el (locate, locate-mode): Doc fixes.
232 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
234         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
235         user for confirmation.
236         (server-force-stop): Use it.
237         (server-start): Use server-force-stop for kill-emacs-hook, to
238         avoid user interaction while killing Emacs.
240 2010-11-09  Glenn Morris  <rgm@gnu.org>
242         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
243         (meta-indent-line): Simplify.
245         * vc/emerge.el (emerge-line-number-in-buf):
246         * textmodes/ispell.el (ispell-region):
247         * textmodes/fill.el (current-fill-column):
248         * progmodes/xscheme.el (xscheme-send-current-line):
249         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
250         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
251         * progmodes/sh-script.el (sh-handle-prev-do):
252         * progmodes/meta-mode.el (meta-indent-line):
253         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
254         (idlwave-in-quote):
255         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
256         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
257         * progmodes/fortran.el (fortran-looking-at-if-then):
258         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
259         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
260         (cperl-find-pods-heres):
261         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
262         * net/quickurl.el (quickurl-list-insert):
263         * net/ldap.el (ldap-search-internal):
264         * net/eudc.el (eudc-expand-inline):
265         * mail/sendmail.el (sendmail-send-it):
266         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
267         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
268         (viper-brac-function):
269         * calc/calc-yank.el (calc-do-grab-region):
270         * calc/calc-keypd.el (calc-keypad-press):
271         * term.el (term-move-columns, term-insert-spaces):
272         * speedbar.el (speedbar-highlight-one-tag-line):
273         * simple.el (current-word):
274         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
275         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
276         (Info-scroll-down):
277         * hippie-exp.el (he-line-beg):
278         * epa.el (epa--marked-keys):
279         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
280         (dired-update-file-line, dired-add-entry, dired-remove-entry)
281         (dired-relist-entry):
282         * buff-menu.el (Buffer-menu-buffer):
283         * array.el (current-line):
284         * allout.el (allout-resolve-xref)
285         (allout-latex-verbatim-quote-curr-line):
286         Replace yet more uses of end-of-line etc with line-end-position, etc.
288 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
290         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
291         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
292         (checkdoc-syntax-table): Initialize in the declaration.
293         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
294         the mode on unconditionally.
296         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
297         (extent-end-position, extent-start-position): Remove setf method for
298         non-existing functions (bug#7319).
300 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
302         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
303         (smie-precs->prec2): Rename from smie-precs-precedence-table.
304         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
305         (smie-prec2->grammar): Rename from smie-prec2-levels.
306         (smie-grammar): Rename from smie-op-levels.
307         (smie-indent--hanging-p): Rename from smie-hanging-p.
308         (smie-rule-hanging-p): New alias.
309         (smie-indent--bolp): Rename from smie-bolp.
310         (smie-indent--hanging-p): New alias.
311         (smie--token): New dynamically bound variable.
312         (smie-indent--parent): New function.
313         (smie-rule-parent-p): Use it; rename from smie-parent-p.
314         (smie-rule-next-p): Rename from smie-next-p.
315         (smie-rule-prev-p): Rename from smie-prev-p.
316         (smie-rule-sibling-p, smie-rule-parent)
317         (smie-indent--separator-outdent, smie-rule-separator): New functions.
318         (smie-rule-separator-outdent): New var.
319         (smie-indent--rule): Merge with smie-indent--column.
320         (smie-indent-forward-token, smie-indent-backward-token):
321         Also recognize close parens.
322         (smie-indent-keyword): Don't use smie-indent--column any more.
323         (smie-indent-after-keyword): Ignore closers by default.
324         (smie-indent-line): Use with-demoted-errors.
325         * progmodes/octave-mod.el (octave-smie-grammar):
326         Rename from octave-smie-op-levels.
327         (octave-smie-rules): Adjust to new behavior.
328         * progmodes/prolog.el (prolog-smie-grammar):
329         Rename from prolog-smie-op-levels.
331 2010-11-07  Glenn Morris  <rgm@gnu.org>
333         * eshell/esh-util.el (subst-char-in-string)
334         (directory-files-and-attributes): These compatibility definitions are
335         not needed on any version of Emacs since at least 21.4.
337         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
338         (verilog-get-end-of-line): Remove.
339         (verilog-within-string, verilog-re-search-forward-substr)
340         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
341         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
342         Use point-at-bol, point-at-eol.
343         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
344         Remove.
345         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
346         (electric-pascal-terminate-line, pascal-set-auto-comments)
347         (pascal-indent-paramlist, pascal-indent-declaration)
348         (pascal-get-lineup-indent, pascal-func-completion)
349         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
350         Use point-at-bol, point-at-eol.
351         * progmodes/flymake.el (flymake-line-beginning-position)
352         (flymake-line-end-position): Remove.
353         (flymake-highlight-line): Use point-at-bol, point-at-eol.
354         * eshell/esh-util.el (line-end-position, line-beginning-position):
355         Remove compat definitions.
357         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
358         Use end-of-line N.
359         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
360         Use line-end-position.
362         * emacs-lisp/chart.el (chart-zap-chars):
363         * play/decipher.el (decipher-set-map):
364         * progmodes/ada-mode.el (ada-get-current-indent)
365         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
366         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
367         * progmodes/ada-xref.el (ada-initialize-runtime-library)
368         (ada-get-all-references):
369         * progmodes/cperl-mode.el (cperl-electric-paren)
370         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
371         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
372         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
373         (cperl-word-at-point-hard):
374         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
375         (idlwave-shell-filename-string, idlwave-shell-batch-command)
376         (idlwave-shell-display-line):
377         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
378         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
379         * progmodes/js.el (js--re-search-forward-inner)
380         (js--re-search-backward-inner):
381         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
382         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
383         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
384         * textmodes/flyspell.el (flyspell-process-localwords):
385         * textmodes/ispell.el (ispell-buffer-local-parsing)
386         (ispell-buffer-local-dict, ispell-buffer-local-words):
387         Use point-at-bol and point-at-eol.
389         * speedbar.el (speedbar-generic-item-info)
390         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
391         (speedbar-add-indicator, speedbar-check-vc-this-line)
392         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
393         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
394         Replace more uses of end-of-line etc with line-end-position.
396 2010-11-06  Glenn Morris  <rgm@gnu.org>
398         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
399         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
400         (texinfo-delete-existing-pointers, texinfo-find-pointer)
401         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
402         (texinfo-multiple-files-update):
403         * textmodes/table.el (table--probe-cell-left-up)
404         (table--probe-cell-right-bottom):
405         * textmodes/picture.el (picture-tab-search):
406         * textmodes/page-ext.el (pages-copy-header-and-position)
407         (pages-directory-for-addresses):
408         * progmodes/vera-mode.el (vera-get-offset):
409         * progmodes/simula.el (simula-calculate-indent):
410         * progmodes/python.el (python-pdbtrack-overlay-arrow):
411         * progmodes/prolog.el (end-of-prolog-clause):
412         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
413         * progmodes/icon.el (indent-icon-exp):
414         * progmodes/etags.el (tag-re-match-p):
415         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
416         * progmodes/ebnf2ps.el (ebnf-begin-file):
417         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
418         (dcl-save-local-variable):
419         * play/life.el (life-setup):
420         * play/gametree.el (gametree-looking-at-ply):
421         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
422         * mail/sendmail.el (mail-mode-auto-fill):
423         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
424         * emacs-lisp/edebug.el (edebug-overlay-arrow):
425         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
426         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
427         (woman-tab-to-tab-stop, WoMan-warn-ignored):
428         * type-break.el (type-break-file-keystroke-count):
429         * term.el (term-replace-by-expanded-history-before-point)
430         (term-skip-prompt, term-extract-string):
431         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
432         (speedbar-contract-line, speedbar-toggle-line-expansion)
433         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
434         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
435         * sort.el (sort-skip-fields):
436         * skeleton.el (skeleton-internal-list):
437         * simple.el (line-move-finish, line-move-to-column):
438         * shell.el (shell-forward-command):
439         * misc.el (copy-from-above-command):
440         * makesum.el (double-column):
441         * ebuff-menu.el (electric-buffer-update-highlight):
442         * dired.el (dired-move-to-end-of-filename):
443         * dframe.el (dframe-popup-kludge):
444         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
445         * arc-mode.el (archive-get-lineno):
446         Use line-end-position and line-beginning-position.
448         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
449         (idlwave-study-twins): Prefix dynamic local `class'.
450         (idlwave-routine-twin-compare): Update for above name change.
452         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
453         Use boundp tests to silence compiler.  Update for changed name of
454         bytecomp-filename variable.
456         * emulation/viper-cmd.el (viper-read-string-with-history):
457         Prefix dynamic local `initial'.
458         (viper-minibuffer-standard-hook): Update for above name change.
460         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
461         (elint-init-form): Update for above name change.
463         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
464         local variables `cbeg' and `cend' a prefix.
465         (mail-extr-voodoo): Update for above name change.
467         * textmodes/reftex-toc.el (reftex-toc-do-promote)
468         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
469         (reftex-toc-promote-action): Doc fix.
471         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
472         `prompt', `data' a prefix.
473         (reftex-select-post-command-hook, reftex-select-callback)
474         (reftex-select-mouse-accept, reftex-select-read-cite):
475         Update for above name changes.
477         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
478         `refstyle' to reftex-refstyle.
479         (reftex-offer-label-menu): Update for above name change.
480         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
481         `refstyle' name change.
483         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
484         with with-current-buffer.
485         (diff, template): Give dynamic local variables a prefix.
486         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
487         (emerge-line-number-in-buf): Update for above name change.
488         (emerge-combine-versions-internal): Rename local `template' to
489         emerge-combine-template.
490         (emerge-combine-versions-edit): Update for above name change.
492 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
494         * textmodes/reftex-cite.el
495         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
496         entries with whitespace after \bibitem.
497         (reftex-create-bibtex-file): Match entries containing numbers and
498         symbol constituents.  Make sure that entries with whitespace at
499         various places are found.
501 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
503         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
505 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
507         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
509 2010-11-05  Glenn Morris  <rgm@gnu.org>
511         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
512         (woman2-roff-buffer): Give local variable `request' a prefix.
513         (woman0-macro): Rename argument `request' in the same way.
514         (woman-request): New name for `request' dynamic variable.
515         (woman-unquote, woman-forward-arg): Update for above name change.
516         (woman1-roff-buffer): Give local variable `unquote' a prefix.
517         (woman1-unquote): New name for `unquote' dynamic variable.
518         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
519         (woman-translations): Rename from `translations'.  No longer global.
520         (woman2-tr, woman-translate): Update for above name change.
521         (woman-translate): Check for bound variable.
522         (woman2-roff-buffer): Give local variable `translations' a prefix.
524         * play/doctor.el: Give all local variables a prefix.  Update callers.
525         (doc$, doctor-put-meaning): Use backquote.
527         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
528         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
530         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
531         variables bytes, ptr, op a prefix.
532         (disassemble-offset): Update for above change.
534 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
536         * emacs-lisp/package.el (package-unpack): Remove no-op.
537         (package--builtins, package--dir): Doc fix.
538         (package-activate-1, package-activate, package-install)
539         (package-compute-transaction): Fix error message.
540         (package-delete): Use delete-directory.  Omit system packages.
541         (package-initialize): Set package-alist to nil first.
542         (package-menu-mark-delete, package-menu-mark-install): Don't add
543         symbols that are inconsistent with the package state.
544         (package-menu-execute): Perform deletions and installations as
545         single batch operations.
547 2010-11-03  Glenn Morris  <rgm@gnu.org>
549         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
550         (props): Remove unnecessary declaration.
552         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
553         set-process-query-on-exit-flag.
555         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
556         (reftex-toc-do-promote): Remove unused local `mpos'.
557         (reftex-toc-restore-region): Make `mpos' local to this function.
559         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
561         * play/landmark.el (lm-losing-threshold): Correct spelling.
562         (lm-human-plays): Use new name.
564         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
565         (gomoku-human-plays): Use new name.
567         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
568         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
569         (gomoku-score-trans-table, gomoku-winning-threshold)
570         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
572 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
574         * emacs-lisp/package.el: Don't put built-in packages in
575         package-alist, to avoid loading inefficiencies.
576         (package-built-in-p): Make VERSION optional, and treat it as a
577         minimum acceptable version.
578         (package-activate): Search separately for built-in packages.  Emit
579         a warning if a dependency fails.
580         (define-package): Handle most common case, where there is no
581         obsolete package, first.
582         (package-compute-transaction): Print required version in error.
583         (package--initialized): New variable.
584         (list-packages): Use it.
585         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
586         built-in packages in packages-alist; keep it separate.  Set
587         package--initialized.
588         (describe-package): Avoid activating packages as a side-effect.
589         Search separately for built-in packages.
590         (describe-package-1): Handle the case where an elpa package is
591         simultaneously built-in and available/installed.
592         (package-installed-p, package--generate-package-list): Search
593         separately for built-in packages.
594         (package-load-descriptor): Doc fix.
596 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
598         * progmodes/perl-mode.el (perl-syntax-propertize-function):
599         Handle __DATA__ and __END__.
601 2010-11-02  Noah Friedman  <friedman@splode.com>
603         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
604         nil, do not ask to recompile files that are not already compiled,
605         and do not recompile them.
607 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
609         * emacs-lisp/package.el (package-initialize): Ensure that
610         obsoleted built-in packages are not in package-activated-list
611         during activation.
612         (describe-package-1): Make the "installed" status override
613         "built-in".
615 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
617         * subr.el (version-separator, version-regexp-alist): Remove '*'
618         from docstring.
619         (version-list-<=, version<=, version=): Doc fix.
621 2010-11-01  Kenichi Handa  <handa@m17n.org>
623         * faces.el (glyphless-char): Inherit underline for tty.
625 2010-11-01  Kenichi Handa  <handa@m17n.org>
627         Implement various display methods for glyphless characters.
629         * international/characters.el (char-acronym-table): New variable.
630         (glyphless-char-control): New variable.
631         (update-glyphless-char-display): New funciton.
633         * faces.el (glyphless-char): New face.
635 2010-11-01  Glenn Morris  <rgm@gnu.org>
637         * calendar/holidays.el (general-holidays, oriental-holidays)
638         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
639         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
640         the definitions of their targets.
642         * emacs-lisp/smie.el (smie): New custom group.
643         (smie-blink-matching-inners, smie-indent-basic): Add :group.
645         * faces.el (xw-defined-colors, x-setup-function-keys):
646         * mouse-sel.el (x-select-text):
647         * term/w32console.el (x-setup-function-keys): Update declarations.
649         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
651         * textmodes/ispell.el (comment-add): Declare.
653         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
654         Declare.
656         * info.el (finder-keywords-hash, package-alist): Declare.
658 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
660         * finder.el (finder-compile-keywords): Don't use intern-soft,
661         since package names may not yet exist in the obarray.
663 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
665         * vc/vc-arch.el (vc-arch-checkin):
666         * vc/vc-cvs.el (vc-cvs-checkin):
667         * vc/vc-mtn.el (vc-mtn-checkin):
668         * vc/vc-rcs.el (vc-rcs-checkin):
669         * vc/vc-sccs.el (vc-sccs-checkin):
670         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
671         since 2010-04-21 commit by Stefan Monnier.
673 2010-11-01  Glenn Morris  <rgm@gnu.org>
675         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
677         * startup.el (package-enable-at-startup, package-initialize):
678         Silence compiler.
680         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
681         Silence compiler.
683 2010-10-31  Julien Danjou  <julien@danjou.info>
685         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
686         (byte-recompile-directory):
687         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
688         Use `byte-recompile-file'.
690 2010-10-31  Glenn Morris  <rgm@gnu.org>
692         * cus-start.el: Handle standard values via a keyword.
693         Only set version property if specified.
694         (cursor-in-non-selected-windows, menu-bar-mode)
695         (tool-bar-mode, show-trailing-whitespace):
696         Do not specify standard values.
697         (transient-mark-mode, temporary-file-directory): Use :standard.
699 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
701         * term/x-win.el (x-get-selection-value): New function that gets
702         PRIMARY with type as specified in x-select-request-type. (Bug#6802).
704 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
706         * net/tramp.el (tramp-handle-insert-file-contents): For root,
707         preserve owner and group when editing files.  (Bug#7289)
709 2010-10-31  Glenn Morris  <rgm@gnu.org>
711         * speedbar.el (speedbar-mode):
712         * play/fortune.el (fortune-in-buffer, fortune):
713         * play/gomoku.el (gomoku-mode):
714         * play/landmark.el (lm-mode):
715         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
716         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
718         * select.el (x-selection): Mark it as an obsolete alias.
720 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
722         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
723         major-mode (bug#7284).
725 2010-10-31  Glenn Morris  <rgm@gnu.org>
727         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
728         rather than just an unused variable that inherits from the real one.
730 2010-10-31  Alan Mackenzie  <acm@muc.de>
732         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
733         This fixes bug #7185.
735 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
737         * startup.el (command-line): Search for package directories, and
738         don't load package.el if none are found.
740         * emacs-lisp/package.el (describe-package, list-packages): Call
741         package-initialize if it has not been called yet.
743 2010-10-30  Alan Mackenzie  <acm@muc.de>
745         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
746         which fontifies the tail of an enum.
747         (c-basic-matchers-after): Insert a call to the above new function.
748         This fixes bug #7264.
750 2010-10-30  Glenn Morris  <rgm@gnu.org>
752         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
753         tool-bar-mode, transient-mark-mode.  (Bug#7306)
754         Include the :set property in the dumped Emacs.
756 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
758         SMIE: change indent rules format, improve smie-setup.
759         * emacs-lisp/smie.el (smie-precs-precedence-table)
760         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
761         Mark them pure so the tables gets built at compile time.
762         (smie-bnf-precedence-table): Store the closer-alist in the table.
763         (smie-prec2-levels): Preserve the closer-alist.
764         (smie-blink-matching-open): Be more forgiving in case of indentation.
765         (smie-hanging-p): Rename from smie-indent--hanging-p.
766         (smie-bolp): Rename from smie-indent--bolp.
767         (smie--parent, smie--after): New dynamic vars.
768         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
769         (smie-indent-rules): Remove.
770         (smie-indent--offset-rule): Remove fun.
771         (smie-rules-function): New var.
772         (smie-indent--rule): New fun.
773         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
774         (smie-indent-exps): Use it.
775         (smie-setup): Setup paren blinking; add keyword args for token
776         functions; extract closer-alist from op-levels.
777         (smie-indent-debug-log): Remove var.
778         (smie-indent-debug): Remove fun.
779         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
780         (prolog-smie-rules): New fun to replace it.
781         (prolog-mode-variables): Simplify.
782         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
783         it's setup automatically.
784         (octave-smie-indent-rules): Remove.
785         (octave-smie-rules): New fun to replace it.
786         (octave-mode): Simplify.
788 2010-10-29  Glenn Morris  <rgm@gnu.org>
790         * files.el (temporary-file-directory): Remove (already defined in C).
791         * cus-start.el: Add temporary-file-directory.
793         * abbrev.el (abbrev-mode):
794         * composite.el (auto-composition-mode):
795         * menu-bar.el (menu-bar-mode):
796         * simple.el (transient-mark-mode):
797         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
798         that they do not define the associated variables twice.
799         * simple.el (transient-mark-mode): Remove defvar.
800         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
801         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
802         Handle multiple groups, and also custom-delayed-init-variables.
803         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
805 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
807         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
808         (pcase-if): Add one minor optimization.
809         (pcase-split-equal): Rename from pcase-split-eq.
810         (pcase-split-member): Rename from pcase-split-memq.
811         (pcase-u1): Add strings to the member optimization.
812         Add `guard' variant of predicates.
813         (pcase-q1): Add string patterns.
815 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
817         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
819 2010-10-28  Glenn Morris  <rgm@gnu.org>
821         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
822         Move menu-bar related settings to ../menu-bar.el.
823         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
824         Move ns-specific settings here from term/ns-win.el.
826         * simple.el (x-selection-owner-p): Remove unused declaration.
828 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
830         * minibuffer.el (completion-cycling): New var (bug#7266).
831         (minibuffer-complete, completion--do-completion):
832         Use completion--flush-all-sorted-completions.
833         (minibuffer-complete): Only cycle if completion-cycling is set.
834         (completion--flush-all-sorted-completions): Unset completion-cycling.
835         (minibuffer-force-complete): Set completion-cycling.
836         (completion-all-sorted-completions): Move declaration before first use.
838 2010-10-28  Leo  <sdl.web@gmail.com>
840         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
841         which changes the order of matches seen by users (bug#7231).
843 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
845         * progmodes/compile.el (compilation-mode-font-lock-keywords):
846         Don't confuse -omega as "-o mega".
848 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
850         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
851         (log-edit-author): New dynamic var.
852         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
853         to return the author if different from committer.
854         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
856         * play/landmark.el: Adjust commenting convention.
857         (lm-nil-score): Rename from nil-score.
858         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
859         (OOOOscore): Move into a let in lm-score-trans-table.
860         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
862         * electric.el (electric-indent-chars): Autoload.
863         * progmodes/octave-mod.el (octave-mode):
864         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
865         (ruby-mode-abbrev-table): Merge initialization and declaration.
867 2010-10-27  Glenn Morris  <rgm@gnu.org>
869         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
870         variable.
872         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
874         * term/ns-win.el: Restore require of cl when compiling.
875         (menu-bar-final-items): Remove non-existent `windows' menu.
876         (ns-handle-nxopen): Optionally handle the temp-case.
877         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
878         (ns-insert-file, ns-find-file): Use `pop'.
880 2010-10-26  Glenn Morris  <rgm@gnu.org>
882         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
884 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
886         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
887         global map.
888         * term/common-win.el (x-setup-function-keys): Remove most of the
889         keymappings.  Comment on the remaining ones.
891 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
893         * server.el (server-port): New option.  (Bug#854)
894         (server-start): Use server-port.
896 2010-10-26  Glenn Morris  <rgm@gnu.org>
898         * term/ns-win.el (ns-version-string): Remove unused declaration.
899         (ns-invocation-args): Change to x-invocation-args.
900         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
901         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
902         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
903         Use x-invocation-args instead of ns-invocation-args.
904         (ns-initialize-window-system, handle-args-function-alist):
905         Use x-handle-args instead of ns-handle-args.
906         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
907         * startup.el (command-line-ns-option-alist): Replace
908         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
909         ns-handle-iconic with the x- equivalents.
911         * term/common-win.el (x-select-enable-clipboard):
912         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
914         * term/ns-win.el: No need to require cl when compiling.
915         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
916         (xw-defined-colors): Use the common-win definitions.
917         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
918         (ns-handle-iconic): Make it an alias for x-handle-iconic.
919         * term/common-win.el (x-select-text, x-alternatives-map)
920         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
921         * loadup.el [ns]: Load common-win.
923 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
925         * epa-mail.el (epa-mail-encrypt): Handle local-part only
926         recipients; expand mail aliases (Bug#7280).
928 2010-10-25  Glenn Morris  <rgm@gnu.org>
930         * term/common-win.el (x-handle-switch): Simplify with pop.
931         Optionally handle numeric switches.
932         (x-handle-numeric-switch): Just call x-handle-switch.
933         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
934         (x-handle-name-switch, x-handle-display, x-handle-args):
935         Simplify with pop.
937         * term/ns-win.el: Do not require easymenu.
938         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
939         <spell>: Move adjustments to menu-bar.el.
940         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
941         <separator-undo, spell>: Move ns-win's adjustments here.
942         * loadup.el [ns]: Do not load easymenu.
944 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
946         * image.el (image-checkbox-checked, image-checkbox-unchecked):
947         Delete (Bug#7222).
949         * startup.el (fancy-startup-tail): Instead of using inline images,
950         refer to image files from etc/.
952         * wid-edit.el (checkbox): Likewise.
953         (widget-image-find): Center image specs.
955 2010-10-24  Glenn Morris  <rgm@gnu.org>
957         * term/ns-win.el (x-select-text): Doc fix.
958         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
959         (x-select-text): Move to term/common-win.
960         * term/w32-win.el (xw-defined-colors): Move to common-win.
961         * term/x-win.el (xw-defined-colors, x-alternatives-map)
962         (x-setup-function-keys, x-select-text): Move to common-win.
963         * term/common-win.el (x-select-text, x-alternatives-map)
964         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
965         definitions here.
967 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
969         * net/mairix.el (mairix-searches-mode-map):
970         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
972 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
974         * verilog-mode.el (verilog-directive-re): Make this variable
975         auto-built for efficiency of execution and updating.
976         (verilog-extended-complete-re): Support 'pure' fucntion & task
977         declarations (these have no bodies).
978         (verilog-beg-of-statement): General cleanup to enable support of
979         'pure' fucntion & task declarations (these have no bodies).
980         These efforts together fix Verilog bug210 from veripool; which was also
981         noticed by Steve Pearlmutter.
982         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
983         (verilog-directive-nest-re, verilog-set-auto-endcomments):
984         Support `elsif.  Reported by Shankar Giri.
985         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
986         attribute handling for lining up declarations and assignments.
987         (verilog-beg-of-statement-1): Fix issue where continued declaration
988         is indented differently if it is after a begin..end clock.
989         (verilog-in-attribute-p, verilog-skip-backward-comments)
990         (verilog-skip-forward-comment-p): Support proper treatment of
991         attributes by indent code. Reported by Jeff Steele.
992         (verilog-in-directive-p): Fix comment to correctly describe function.
993         (verilog-backward-up-list, verilog-in-struct-region-p)
994         (verilog-backward-token, verilog-in-struct-p)
995         (verilog-in-coverage-p, verilog-do-indent)
996         (verilog-pretty-declarations): Use verilog-backward-up-list as
997         wrapper around backward-up-list inorder to properly skip comments.
998         Reported by David Rogoff.
999         (verilog-property-re, verilog-endcomment-reason-re)
1000         (verilog-beg-of-statement, verilog-set-auto-endcomments)
1001         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
1002         of if). Reported by Max Bjurling and
1003         (verilog-calc-1): Fix for clocking block in modport
1004         declaration. Reported by Brian Hunter.
1006 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
1008         * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
1009         (verilog-gate-keywords, verilog-read-sub-decls)
1010         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
1011         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
1012         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
1013         (verilog-read-decls): Fix spaces in V2K module parameters causing
1014         mis-identification as interfaces, bug287.
1015         (verilog-read-decls): Fix not treating "parameter string" as a
1016         parameter in AUTOINSTPARAM.
1017         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
1018         treating `elsif similar to `endif inside AUTOSENSE.
1019         (verilog-do-indent): Implement correct automatic or static task or
1020         function end comment highlight. Reported by Steve Pearlmutter.
1021         (verilog-font-lock-keywords-2): Fix highlighting of single
1022         character pins, bug264.  Reported by Michael Laajanen.
1023         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
1024         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
1025         (verilog-subdecls-get-interfaced, verilog-subdecls-new): Support
1026         interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
1027         (verilog-pretty-expr): Fix interactive arguments, bug272.
1028         Reported by Mark Johnson.
1029         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
1030         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
1031         bug269. Suggested by Gary Delp.
1032         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
1033         (verilog-preprocessor, verilog-set-compile-command):
1034         Create verilog-preprocess and verilog-preprocessor to show
1035         preprocessed output.
1036         (verilog-get-beg-of-line, verilog-get-end-of-line)
1037         (verilog-modi-file-or-buffer, verilog-modi-name)
1038         (verilog-modi-point, verilog-within-string): Move defmacro's
1039         before first use to avoid warning. Reported by Steve Pearlmutter.
1040         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
1041         (verilog-colorize-region, verilog-highlight-buffer)
1042         (verilog-highlight-includes, verilog-highlight-modules)
1043         (verilog-highlight-region, verilog-mode): Rename colorize to
1044         highlight to match other packages.  Disable module highlighting,
1045         as received speed complaints, reenable for experimentation only
1046         using new verilog-highlight-modules.
1047         (verilog-read-decls): Fix regexp stack overflow in very large
1048         AUTO_TEMPLATEs, bug250.
1049         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
1050         (verilog-scan): Create verilog-save-buffer-state to standardize
1051         making insignificant changes that shouldn't call hooks.
1052         (verilog-save-no-change-functions, verilog-save-scan-cache)
1053         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
1054         Create verilog-save-no-change-functions to wrap verilog-scan
1055         preservation, and fix to work with nested preserved calls.
1056         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
1057         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
1058         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
1059         (verilog-submit-bug-report): Update variable list to be complete.
1060         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
1061         breaking on-the-fly font-locking.
1062         (verilog-colorize-buffer, verilog-colorize-include-files)
1063         (verilog-colorize-include-files-buffer, verilog-colorize-region)
1064         (verilog-load-file-at-mouse, verilog-load-file-at-point)
1065         (verilog-mode, verilog-read-inst-module-matcher): With point on a
1066         AUTOINST cell instance name, middle mouse button now finds-file on
1067         it.  Suggested by Brad Dobbie.
1068         (verilog-alw-get-temps, verilog-auto-reset)
1069         (verilog-auto-sense-sigs, verilog-read-always-signals)
1070         (verilog-read-always-signals-recurse): Fix loop indexes being
1071         AUTORESET. AUTORESET now assumes any variables in the
1072         initialization section of a for() should be ignored.  Reported by
1073         Dan Dever.
1074         (verilog-error-font-lock-keywords)
1075         (verilog-error-regexp-emacs-alist)
1076         (verilog-error-regexp-xemacs-alist): Fix error detection of
1077         Cadence HAL, reported by David Asher.  Repair drift between the
1078         three similar error variables.
1079         (verilog-modi-lookup, verilog-modi-lookup-cache)
1080         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
1081         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
1082         Fix slow verilog-auto expansion on very large files.
1083         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
1084         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
1085         "{1*2{...".  Broke in last revision.
1086         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
1087         submodule connections with replications "{#{a},#{b}}".
1089 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
1091         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
1092         Fix typo in docstring.
1094 2010-10-24  Kenichi Handa  <handa@m17n.org>
1096         * face-remap.el (text-scale-adjust): Call read-event with a proper
1097         prompt.
1099 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
1101         * emacs-lisp/unsafep.el: Don't mark functions that display
1102         messages as safe.  Suggested by Johan Bockgård.
1104 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1106         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
1107         Turn comments into docstrings.
1109         * minibuffer.el (completion--replace): Move point where it belongs
1110         when there's a common suffix (bug#7215).
1112 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
1114         Merge read-color and facemenu-read-color (Bug#7242).
1116         * faces.el (read-color): Use the completion code from
1117         facemenu-read-color.  Require match in completion.  Doc fix.
1119         * facemenu.el (facemenu-read-color): Alias for read-color.
1120         (facemenu-set-foreground, facemenu-set-background): Use
1121         read-color.
1123         * frame.el (set-background-color, set-foreground-color)
1124         (set-cursor-color, set-mouse-color, set-border-color): Use
1125         read-color.
1127 2010-10-24  Leo  <sdl.web@gmail.com>
1129         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
1130         argument of delete-file and delete-directory (Bug#7011).
1132 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
1134         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
1135         button-buffer-map.
1137 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
1139         * emacs-lisp/package.el (package--generate-package-list): Make the
1140         *Packages* buffer read-only.
1142 2010-10-24  Alan Mackenzie  <acm@muc.de>
1144         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
1145         result of `c-beginning-of-decl-1' between invocations of a lambda
1146         function (Bug #7265).
1148 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
1150         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
1151         executable is not available on the system (Bug#7268).
1153 2010-10-24  Glenn Morris  <rgm@gnu.org>
1155         * select.el (selection-coding-system, next-selection-coding-system):
1156         Sync doc with C versions.
1158         * w32-vars.el (x-select-enable-clipboard):
1159         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
1160         * term/common-win.el (x-select-enable-clipboard): Move here.
1162         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
1163         definition of C variable.
1165         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
1166         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
1167         Don't redefine things that are defined in C.
1168         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
1169         (show-trailing-whitespace, auto-hscroll-mode)
1170         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
1171         Set up the appropriate custom properties.
1173 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
1175         Bind "C-c ]" to ...
1176         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
1177         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
1178         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
1179         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
1181 2010-10-23  Glenn Morris  <rgm@gnu.org>
1183         * textmodes/flyspell.el (flyspell-mode): If there was an error,
1184         say what it was.
1186         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
1187         Sync docs with C version.
1189         * term/ns-win.el (xw-defined-colors):
1190         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
1192         * term/pc-win.el (x-select-enable-clipboard):
1193         * term/x-win.el (x-select-enable-clipboard):
1194         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
1196         * comint.el (comint-password-prompt-regexp): Make it less vague.
1197         Bump version.
1199         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
1201         * help.el (finder-by-keyword): Remove unnecessary autoload.
1203 2010-10-22  Glenn Morris  <rgm@gnu.org>
1205         * loadup.el: Unconditionally load float-sup.
1206         * paren.el (show-paren-delay):
1207         * emacs-lisp/float-sup.el:
1208         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
1209         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
1210         (lazy-lock-stealth-verbose): Assume float support.
1211         * ps-print.el: Assume float support on Emacs.
1212         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
1213         Remove non-float branch.
1215         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
1216         src/Makefile no longer being pre-processed.
1218 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1220         * emacs-lisp/find-func.el (find-library): Use test-completion.
1222 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1224         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
1226 010-10-21  Michael Albinus  <michael.albinus@gmx.de>
1228         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
1229         space in stat format string.
1230         (tramp-send-command): Unset $PS1 when using here documents, in
1231         order not to get several prompts.
1232         (tramp-get-inline-coding): Return `nil' in case of errors.
1234 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
1236         * hexl.el (hexl-mode, hexl-mode-exit):
1237         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
1238         (hexl-revert-buffer-function): New function.
1239         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
1241 2010-10-19  Alan Mackenzie  <acm@muc.de>
1243         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
1244         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
1245         that these keywords aren't wrongly matched as identifiers.
1247         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
1248         setting of c-new-BEG and c-new-END from c-before-change to
1249         c-after-change.  (Bug#7181)
1251 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
1253         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
1254         Don't mark as safe.
1256         * custom.el (custom-theme-set-variables): Likewise.
1257         (load-theme): Add custom-theme-set-faces and
1258         custom-theme-set-variables to safe-functions while loading.
1259         (custom-enabled-themes): Mark as risky.
1261 2010-10-18  Julien Danjou  <julien@danjou.info>
1263         * bindings.el: Remove end dashes in default mode-line-format.
1265 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
1267         * bindings.el (global-map): Bind C-d to delete-char and deletechar
1268         to delete-forward-char.
1270         * simple.el (normal-erase-is-backspace-mode): Remap delete to
1271         deletechar, and hence delete-forward-char.
1273 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1275         * repeat.el (repeat): Use read-key (bug#6256).
1277 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
1279         * emacs-lisp/unsafep.el: Don't mark functions that display
1280         messages as safe.  Suggested by Johan Bockgård.
1282 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1284         * minibuffer.el (completion--replace): Move point where it belongs
1285         when there's a common suffix (bug#7215).
1287 2010-10-19  Kenichi Handa  <handa@m17n.org>
1289         * international/characters.el: Add category '|' (word breakable)
1290         to fullwidth characters.
1292 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
1294         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
1295         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
1296         order to make stat results a float.  Patch by Andreas Schwab
1297         <schwab@linux-m68k.org>.
1299 2010-10-18  Julien Danjou  <julien@danjou.info>
1301         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
1302         hidden by `make-pointer-invisible'.
1304 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1306         * files.el (locate-file-completion-table): Strip non-matching elements
1307         before checking length of list (bug#7238).
1309 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
1311         * custom.el (custom-theme-set-variables): Mark as a safe function.
1312         (load-theme): Check forms using unsafep.
1314         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
1316 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
1318         * textmodes/ispell.el (ispell-aspell-find-dictionary):
1319         Fix aspell data file searching (bug#7230).
1321 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
1323         * cus-theme.el (custom-theme--migrate-settings): New var.
1324         (customize-create-theme): Allow editing the `user' theme.
1325         (custom-theme-add-variable, custom-theme-add-var-1)
1326         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
1327         to the front of each variable or face widget.
1328         (custom-theme-write): Save theme settings in the correct order.
1329         Optionally, remove saved settings from user customizations.
1330         (custom-theme-write-variables, custom-theme-write-faces):
1331         Save only the checked widgets.
1332         (customize-themes): Add a link for migrating custom settings.
1334         * custom.el (custom-declare-theme, provide-theme):
1335         Use custom-theme-name-valid-p.
1336         (custom-theme-name-valid-p): Remove checks that are now
1337         unnecessary since themes no longer obey load-path.
1339         * cus-edit.el (custom-variable-value-create): For the simple
1340         style, hide documentation string when hidden.
1342 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
1344         * cus-edit.el (custom-variable, custom-face): Combine the
1345         :inhibit-magic and :display-style properties into a single
1346         :custom-style property.
1347         (custom-toggle-hide-variable, custom-toggle-hide-face):
1348         New functions.  If hiding an edited value, save it to :shown-value.
1349         (custom-variable-value-create, custom-face-value-create): Use them.
1350         (custom-magic-reset): Allow magic property to be unset.
1352         * custom.el: Custom themes no longer use load-path.
1353         (custom-theme-load-path): New option.  Change built-in theme
1354         directory to etc/.
1355         (custom-enabled-themes): Add custom-theme-load-path dependency.
1356         (custom-theme--load-path): New function.
1357         (load-theme, custom-available-themes): Use it.
1359         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
1360         (customize-themes): Link to custom-theme-load-path variable.
1361         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
1362         :custom-style property.
1364         * themes/*.el: Moved to etc/.
1366 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
1368         * textmodes/reftex-cite.el
1369         (reftex-extract-bib-entries-from-thebibliography): Do not move
1370         point when searching for \bibitem entries.  Match entries with
1371         spaces or tabs in front of arguments.
1373 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
1375         * cus-theme.el (customize-create-theme): Delete overlays after
1376         erasing.  If given a THEME arg, display only the faces of that arg
1377         instead of custom-theme--listed-faces.
1378         (custom-theme-variable-menu, custom-theme-variable-action)
1379         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
1380         (custom-theme-add-variable, custom-theme-add-face): Apply value
1381         from the theme settings, instead of the current value.
1382         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
1383         (custom-theme-visit-theme): Allow calling outside theme buffers.
1384         (custom-theme-merge-theme): Don't enable the theme when merging.
1385         (custom-theme-write-variables, custom-theme-write-faces): Use the
1386         :shown-value properties to save buffer values, not global ones.
1387         (customize-themes): Display a warning about user customizations.
1389         * cus-edit.el (custom-variable-value-create)
1390         (custom-face-value-create): Obey new special properties
1391         :shown-value and :inhibit-magic.
1393 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
1395         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1396         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
1397         <dale@codefu.org>.
1399 2010-10-14  Kenichi Handa  <handa@m17n.org>
1401         * mail/rmail.el (rmail-show-message-1): Catch an error of
1402         base64-decode-region and just show an error message (bug#7165).
1404         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
1405         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
1406         a font-spec (bug#7197).
1408 2010-10-14  Glenn Morris  <rgm@gnu.org>
1410         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
1412 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
1414         * international/mule.el (define-coding-system):
1415         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
1416         * composite.el (compose-region): Fix typo in docstring.
1418 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
1420         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
1421         only after checking the theme-face property.
1423         * faces.el (face-spec-reset-face): Reset all attributes in one
1424         single call to set-face-attribute.
1425         (face-spec-match-p): Make it a defsubst.
1426         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
1427         (x-create-frame-with-faces, tty-create-frame-with-faces)
1428         (tty-set-up-initial-frame-faces): Don't recompute face specs in
1429         frame-set-background-mode, since they are recomputed immediately
1430         afterwards in face-set-after-frame-default.
1431         (face-set-after-frame-default): Minor optimization.
1432         (cursor): Provide non-trivial defface spec.
1434         * custom.el (custom-theme-recalc-face): Simplify.
1436 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
1438         * calc/calc-alg.el (math-var): Rename from `var'.
1439         (math-is-polynomial, math-is-poly-rec): Replace `var'
1440         with `math-var'.
1442         * calc/calcalg2.el (math-var): Rename from `var'.
1443         (calcFunc-table, math-scan-for-limits): Replace `var'
1444         with `math-var'.
1446 2010-10-13  Glenn Morris  <rgm@gnu.org>
1448         * subr.el (last): Deal with dotted lists (reported in bug#7174).
1450 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
1452         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
1454 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1456         * net/tls.el (tls-program): Remove spurious %s from openssl.
1457         (tls-starttls-switches): Remove starttls hack.
1458         (open-tls-stream): Ditto.
1459         (tls-find-starttls-argument): Ditto.
1461 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
1463         * image.el (image-library-alist): Declare as obsolete alias.
1464         (image-type-available-p): Use `dynamic-library-alist'.
1466         * term/w32-win.el (dynamic-library-alist):
1467         Use instead of `image-library-alist'.
1469 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
1471         * subr.el (last): Make it faster.  (Bug#7174)
1473 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
1475         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
1477 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
1479         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
1480         (describe-theme-1): Extract doc from unloaded themes.
1482         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
1484         * themes/tango-theme.el:
1485         * themes/tango-dark-theme.el:
1486         * themes/wheatgrass-theme.el: New files.
1488 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
1490         * cus-theme.el (describe-theme, customize-themes)
1491         (custom-theme-save): New commands.
1492         (custom-new-theme-mode-map): Bind C-x C-s.
1493         (custom-new-theme-mode): Use custom--initialize-widget-variables.
1494         (customize-create-theme): New optional arg THEME.
1495         (custom-theme-revert): Use it.
1496         (custom-theme-visit-theme): Remove dead code.
1497         (custom-theme-merge-theme): Use custom-available-themes.
1498         (custom-theme-write): Make interactive.
1499         (custom-theme-write): Use custom-theme-name-valid-p.
1500         (describe-theme-1, custom-theme-choose-revert)
1501         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
1502         New funs.
1503         (custom-theme-allow-multiple-selections): New option.
1504         (custom-theme-choose-mode): New major mode.
1506         * custom.el (custom-theme-set-variables): Remove dead code.
1507         Obey custom--inhibit-theme-enable.
1508         (custom--inhibit-theme-enable): New var.
1509         (provide-theme): Obey it.
1510         (load-theme): Replace load with manual read/eval, in order to
1511         check for correctness.  Use custom-theme-name-valid-p.
1512         (custom-theme-name-valid-p): New function.
1513         (custom-available-themes): Use it.
1515         * cus-edit.el (custom--initialize-widget-variables): New function.
1516         (Custom-mode): Use it.
1518         * cus-face.el (custom-theme-set-faces): Remove dead code.
1519         Obey custom--inhibit-theme-enable.
1521         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
1523 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
1525         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
1527 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
1529         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
1530         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
1531         (mac-right-option-modifier): New alias for ns-right-option-modifier.
1533         * cus-start.el (all): ns-right-alternate-modifier is new.
1535 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1537         * emacs-lisp/lisp.el (lisp-completion-at-point):
1538         Use emacs-lisp-mode-syntax-table for the whole function.
1540 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
1542         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
1543         instead of font-lock-mode before adding keywords.
1544         Remove hi-lock-mode off code.  Remove inhibit hack.
1545         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
1546         non-nil; removed hook inhibit hack.
1548 2010-10-12  Glenn Morris  <rgm@gnu.org>
1550         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
1551         (load-path-shadows-find): ... to this.
1552         (list-load-path-shadows): Update for above change.
1554         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
1556 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
1558         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
1559         Fix comment for declare-function.
1561 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
1563         * custom.el (custom-fix-face-spec): New function; code moved from
1564         custom-face-edit-fix-value.
1565         (custom-push-theme): Use it when checking if a face has been
1566         changed outside customize.
1567         (custom-available-themes): New function.
1568         (load-theme): Use it.
1570         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
1572         * custom.el (custom-push-theme): Cleanup (use cond).
1573         (disable-theme): Recompute the saved-face property.
1574         (custom-theme-recalc-face): Follow face alias before setting prop.
1576         * image.el (image-checkbox-checked, image-checkbox-unchecked):
1577         New variables, containing checkbox images.
1579         * startup.el (fancy-startup-tail):
1580         * wid-edit.el (checkbox): Use them.
1582 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
1584         * shell.el (shell-mode-map):
1585         * progmodes/modula2.el (m2-mode-map):
1586         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
1587         * play/mpuz.el (mpuz-mode-map):
1588         * play/landmark.el (lm-mode-map):
1589         * play/decipher.el (decipher-mode-map):
1590         * play/5x5.el (5x5-mode-map):
1591         * net/telnet.el (telnet-mode-map):
1592         * net/quickurl.el (quickurl-list-mode-map):
1593         * net/mairix.el (mairix-searches-mode-map):
1594         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
1595         * net/dig.el (dig-mode-map):
1596         * mail/mspools.el (mspools-mode-map):
1597         * hexl.el (hexl-mode-map):
1598         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
1599         (wordstar-C-o-map, wordstar-C-q-map):
1600         * emacs-lisp/edebug.el (edebug-eval-mode-map):
1601         * emacs-lisp/chart.el (chart-map):
1602         * edmacro.el (edmacro-mode-map):
1603         * erc/erc-list.el (erc-list-menu-mode-map):
1604         * array.el (array-mode-map): Declare and define in one step.
1606         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
1608 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
1610         * epa.el (epa-passphrase-callback-function): Display filename
1611         passed as the 3rd arg.
1612         * epa-file.el (epa-file-passphrase-callback-function):
1613         Pass filename to epa-passphrase-callback-function.
1615 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
1617         * cus-edit.el (custom-face-widget-to-spec)
1618         (custom-face-get-current-spec, custom-face-state): New functions.
1619         (custom-face-set, custom-face-mark-to-save)
1620         (custom-face-value-create, custom-face-state-set): Use them.
1622         * cus-theme.el (custom-theme--listed-faces): New var.
1623         (customize-create-theme): Use *Custom Theme* as the buffer name.
1624         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
1625         faces listed in custom-theme--listed-faces.
1626         (custom-theme-revert): New function.
1627         (custom-theme-add-variable, custom-theme-add-face): Insert at the
1628         bottom of the list.
1629         (custom-theme-write): Prompt for theme name if empty.
1630         (custom-theme-write-variables): Use dolist.
1631         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
1633 2010-10-09  Alan Mackenzie  <acm@muc.de>
1635         Enhance fontification of declarators to take account of the
1636         presence/absence of "typedef".
1638         * cc-engine.el (c-forward-type): New &optional param
1639         "brace-block-too".
1640         (c-forward-decl-or-cast-1): cdr of return value now indicates the
1641         presence of either or both of a "struct"-like keyword and "typedef".
1643         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
1644         fontification of declarators which follow a "}".
1645         (c-font-lock-declarations): Fontify declarators according to the
1646         presence/absence of "typedef".
1648         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
1649         for "typedef".
1650         (c-typedef-decl-key): New lang variable built from
1651         c-typedef-decl-kwds.
1653 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1655         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
1656         since that's too annoying.  Move the filter groups commands to
1657         TAB/backtab.
1659         * epa.el (epa-passphrase-callback-function): Say what we're
1660         querying the password for.
1662         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
1663         behaviour, don't bury the ibuffer buffer when visiting other buffers.
1665 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
1667         * cus-edit.el (custom-commands, custom-buffer-create-internal)
1668         (custom-magic-value-create): Pad button tags with spaces.
1669         (custom-face-edit): New variable.
1670         (custom-face-value-create): Determine whether to use the usual
1671         face editor here, instead of using custom-face-selected.
1672         Pass face defaults to custom-face-edit widget.
1673         (custom-face-selected, custom-display-unselected): Delete widgets.
1674         (custom-display-unselected-match): Function removed.
1675         (custom-face-set, custom-face-mark-to-save):
1676         Accept custom-face-edit widgets as the direct widget child.
1678         * wid-edit.el (widget--completing-widget): New var.
1679         (widget-default-complete): Bind it when doing completion.
1680         (widget-string-complete, widget-file-complete): Use it.
1682 2010-10-09  Glenn Morris  <rgm@gnu.org>
1684         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
1685         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
1686         (holiday-hebrew-misc): Small simplifications.
1688         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
1690         * net/browse-url.el: Don't require thingatpt, term, dired,
1691         executable, or w3-auto when compiling.
1692         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
1693         Declare.
1694         (browse-url-text-emacs): Require term.
1696 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
1698         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
1700 2010-10-08  Glenn Morris  <rgm@gnu.org>
1702         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
1704         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
1705         (shadows-compare-text-p): Make it an obsolete alias for...
1706         (load-path-shadows-compare-text): ... new name.
1707         (find-emacs-lisp-shadows): Update for above name change.
1708         (load-path-shadows-same-file-or-nonexistent): New name for the old
1709         shadow-same-file-or-nonexistent.
1711 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
1713         * minibuffer.el (completion--some, completion--do-completion)
1714         (minibuffer-complete-and-exit, minibuffer-completion-help)
1715         (completion-basic-try-completion)
1716         (completion-basic-all-completions)
1717         (completion-pcm--find-all-completions): Use lexical-let to
1718         avoid some false matches in variable completion (Bug#7056)
1720 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
1722         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
1724 2010-10-08  Leo  <sdl.web@gmail.com>
1726         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
1727         return non-nil if the file exists (Bug#7090).
1729 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1731         * minibuffer.el (completion--replace):
1732         Better preserve markers (bug#7138).
1734 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
1736         * server.el (server-process-filter): Doc fix.
1738 2010-10-08  Drew Adams  <drew.adams@oracle.com>
1740         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
1742 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
1744         * Makefile.in (ELCFILES): Update.
1746 2010-10-08  Glenn Morris  <rgm@gnu.org>
1748         * vc/ediff-wind.el (ediff-setup-control-frame):
1749         * vc/ediff-ptch.el (ediff-default-backup-extension):
1750         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
1751         (ediff-exec-process): Remove system-types emx, windows-95.
1753         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
1755 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
1757         * cus-edit.el (custom-variable, custom-face): Doc fix.
1758         (custom-face-edit): Add value-create attribute.
1759         (custom-face-edit-value-create)
1760         (custom-face-edit-value-visibility-action): New functions.
1761         Hide unused face attributes by default, and add a visibility toggle.
1762         (custom-face-edit-deactivate): Show empty values with shadow face.
1763         (custom-face-selected): Only use this for face specs with default
1764         attributes.
1765         (custom-face-value-create): Cleanup.
1767         * wid-edit.el (widget-checklist-value-create): Use dolist.
1768         (widget-checklist-match-find): Make second arg optional.
1770 2010-10-07  Glenn Morris  <rgm@gnu.org>
1772         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
1773         Prefix things.
1775         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
1776         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
1777         load-path-shadows-mode, update references.
1778         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
1779         Rename variable and button.
1780         (list-load-path-shadows): Update button caller.
1782 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1784         * emacs-lisp/smie.el (smie-bnf-classify): New function.
1785         (smie-bnf-precedence-table): Use it to remember the closers/openers.
1786         (smie-merge-prec2s): Handle those new entries.
1787         (smie-prec2-levels): Only set precedence to nil for actual
1788         openers/closers.
1789         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
1790         that is now unnecessary.
1792 2010-10-07  Miles Bader  <miles@gnu.org>
1794         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
1796 2010-10-07  Glenn Morris  <rgm@gnu.org>
1798         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
1799         (mail-position-on-field): Remove declarations.
1800         (mail-position-on-field): Autoload it.
1801         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
1802         and mail-header-end.  Don't require sendmail.
1804         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
1805         (shadow-mode): New mode.
1806         (shadow-find-file): New button.
1807         (list-load-path-shadows): Use shadow-mode and buttons.
1809         * iimage.el (iimage-version): Remove.
1810         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
1811         Turn into defcustoms.
1812         (iimage-mode-map): Give it a doc string.
1814         * calendar/appt.el (appt-activate): Give a warning rather than an error
1815         if there is no diary-file.
1817 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
1819         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1820         Use `tramp-handle-find-backup-file-name'.
1822 2010-10-06  Glenn Morris  <rgm@gnu.org>
1824         * font-core.el (font-lock-defaults-alist): Remove variable.
1825         (font-lock-mode): Doc fix.
1826         (font-lock-default-function): Do not consult font-lock-defaults-alist.
1827         * font-lock.el (font-lock-refresh-defaults): Doc fix.
1828         (font-lock-set-defaults): Doc fix.
1829         Do not consult font-lock-defaults-alist.
1831         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
1833         * emacs-lisp/cl.el: No longer provide cl-19.
1835 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
1837         * net/tramp.el (tramp-handle-directory-files-and-attributes)
1838         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
1839         New defuns, taken from tramp-smb.el.
1840         (tramp-coding-system-change-eol-conversion)
1841         (tramp-set-process-query-on-exit-flag): Remove.
1843         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
1844         (tramp-compat-coding-system-change-eol-conversion)
1845         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
1846         from tramp.el.
1848         * net/tramp-gvfs.el:
1849         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
1850         by `tramp-compat-set-process-query-on-exit-flag'.
1852         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
1853         Use `tramp-handle-directory-files-and-attributes',
1854         `tramp-handle-file-exists-p' and
1855         `tramp-handle-file-newer-than-file-p'.
1856         (tramp-imap-handle-file-exists-p)
1857         (tramp-imap-handle-file-executable-p)
1858         (tramp-imap-handle-file-readable-p)
1859         (tramp-imap-handle-directory-files-and-attributes)
1860         (tramp-imap-handle-file-newer-than-file-p): Remove.
1862         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
1863         by `tramp-compat-set-process-query-on-exit-flag' and
1864         `tramp-coding-system-change-eol-conversion' by
1865         `tramp-compat-coding-system-change-eol-conversion'.
1867         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
1868         Use `tramp-handle-directory-files-and-attributes',
1869         `tramp-handle-file-exists-p' and
1870         `tramp-handle-file-newer-than-file-p'.
1871         (tramp-smb-handle-directory-files-and-attributes)
1872         (tramp-smb-handle-file-exists-p)
1873         (tramp-smb-handle-file-newer-than-file-p): Remove.
1874         (tramp-smb-maybe-open-connection):
1875         Replace `tramp-set-process-query-on-exit-flag' by
1876         `tramp-compat-set-process-query-on-exit-flag'.
1878 2010-10-05  Glenn Morris  <rgm@gnu.org>
1880         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
1882 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
1884         Continue reorganization of load dependencies.  (Bug#7156)
1886         * net/tramp.el (tramp-handle-file-local-copy-hook)
1887         (tramp-delete-temp-file-function): Move down.
1888         (tramp-exists-file-name-handler): Move up.
1889         (tramp-register-file-name-handlers): Simplify autoload.
1890         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
1891         (tramp-handle-directory-files, tramp-handle-dired-uncache)
1892         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
1893         (tramp-handle-file-name-completion)
1894         (tramp-handle-file-name-directory)
1895         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
1896         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
1897         (tramp-handle-find-backup-file-name)
1898         (tramp-handle-insert-file-contents, tramp-handle-load)
1899         (tramp-handle-substitute-in-file-name)
1900         (tramp-handle-unhandled-file-name-directory)
1901         (tramp-mode-string-to-int, tramp-local-host-p)
1902         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
1904         * net/tramp-gvfs.el (top):
1905         * net/tramp-smb.el (top): Do not require 'tramp-sh.
1907         * net/tramp-sh.el (all): Move several objects to tramp.el, see
1908         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
1910 2010-10-04  Glenn Morris  <rgm@gnu.org>
1912         * calendar/appt.el (appt-add): Ensure reminders are enabled.
1913         (appt-activate): Give status messages.
1915 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
1917         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
1918         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
1919         `gnutls-negotiate' (formerly `starttls-negotiate').
1920         Remove trivial wrapper `starttls-open-stream'.
1922 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
1924         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
1925         log-outgoing commands.
1926         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
1927         to create a buffer local revert-buffer-function variable.
1928         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
1929         revert-buffer-function lambda.
1931 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
1933         * net/gnutls.el (starttls-negotiate): Use the plist interface to
1934         `gnutls-boot'.  Make TYPE the only required parameter.
1935         Allow TRUSTFILES and KEYFILES to be lists.
1936         (open-ssl-stream): Use it.
1938 2010-10-03  Glenn Morris  <rgm@gnu.org>
1940         * subr.el (directory-sep-char): Remove obsolete variable.
1941         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
1942         it is "necessary".
1944         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
1945         * vc/vc.el (vc-static-header-alist): Doc fix.
1946         * vc/vc-cvs.el (vc-cvs-header):
1947         * vc/vc-rcs.el (vc-rcs-header):
1948         * vc/vc-sccs.el (vc-sccs-header):
1949         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
1950         * obsolete/vc-mcvs.el (vc-mcvs-header):
1951         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
1952         on XEmacs.
1954 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
1956         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
1957         Remove obsolete use of binary-overwrite-mode (Bug#7001).
1959 2010-10-03  Glenn Morris  <rgm@gnu.org>
1961         * obsolete/x-menu.el: Remove file, obsolete since 21.1
1963         * textmodes/rst.el (rst-font-lock-keywords-function):
1964         Drop Emacs 20 code.
1966         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
1968         * printing.el: Drop Emacs 20 code.
1970         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
1971         without having used appt.el already).
1973         * subr.el (make-local-hook): Remove function obsolete since 21.1.
1974         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
1975         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
1976         XEmacs.
1977         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
1978         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
1980         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
1981         (charset-width, find-charset-region, chars-in-region, forward-point)
1982         (encode-coding-string, coding-system-p, ccl-execute-on-string)
1983         (define-ccl-program, multibyte-string-p, string-make-multibyte):
1984         Remove compatibility cruft (none of these are used by ps*.el).
1986 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
1988         * subr.el (booleanp): Return t instead of a list (Bug#7086).
1990 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
1992         * server.el (server-process-filter, server-return-error):
1993         Give emacsclient time to shut down after receiving an error string.
1995 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
1997         * files.el (remote-file-name-inhibit-cache): New defcustom.
1999         * time.el (display-time-file-nonempty-p):
2000         Use `remote-file-name-inhibit-cache'.
2002         * net/tramp.el (tramp-completion-reread-directory-timeout):
2003         Fix docstring.
2005         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
2006         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
2007         `remote-file-name-inhibit-cache'.  Check also for an integer
2008         value.  Add/increase counter when `tramp-verbose' >= 10.
2009         (tramp-set-file-property): Add/increase counter when
2010         `tramp-verbose' >= 10.
2012         * net/tramp-cmds.el (tramp-cleanup-all-connections)
2013         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
2014         (tramp-bug): Set tramp-autoload cookie.  Report all interned
2015         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
2016         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
2017         characters only in strings.
2019         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
2020         to backward compatibility.
2022         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
2023         (tramp-handle-file-name-all-completions)
2024         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
2025         (tramp-open-connection-setup-interactive-shell):
2026         Call `tramp-cleanup-connection' directly.
2028 2010-10-02  Glenn Morris  <rgm@gnu.org>
2030         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
2032         * subr.el (char-bytes): Remove obsolete function.
2034         * isearch.el (isearch-return-char): Remove obsolete function.
2036         * mouse.el: No longer provide mldrag.
2037         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
2038         Remove obsolete aliases.
2040         * comint.el (comint-kill-output): Remove obsolete alias.
2042         * composite.el (decompose-composite-char): Remove obsolete function.
2043         * ps-def.el (decompose-composite-char): Remove unused function.
2045         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
2047         * outline.el (outline-visible): Remove obsolete function.
2049         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
2050         * faces.el (internal-find-face, internal-get-face)
2051         (frame-update-faces, frame-update-face-colors)
2052         (x-frob-font-weight, x-frob-font-slant)
2053         (internal-frob-font-weight, internal-frob-font-slant)
2054         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
2055         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
2056         (x-make-font-bold-italic): Remove functions and aliases, obsolete
2057         since Emacs 21.1.
2058         * emulation/viper-util.el (viper-get-face):
2059         * obsolete/lucid.el (find-face, get-face): Use facep.
2060         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
2061         Remove unused functions.
2062         * vc/ediff-util.el (ediff-submit-report): Doc fix.
2064         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
2065         delete tempfile if interrupted during compilation.
2067 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2069         * net/tls.el (tls-starttls-switches): Give up on using starttls with
2070         gnutls-cli.
2071         (tls-program): Add --insecure to be consistent with the defaults from
2072         openssl s_client.  Now all three commands are insecure.
2074 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
2076         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
2077         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
2078         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
2080 2010-10-01  Glenn Morris  <rgm@gnu.org>
2082         * obsolete/sc.el: Remove file.
2084         * files.el (temporary-file-directory): On darwin, also try
2085         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
2087 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
2089         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
2090         Let's not break compatibility gratuitously, shall we?
2092 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2094         * net/tls.el (tls-starttls-switches): New variable.
2095         (tls-find-starttls-argument): Use it.
2096         (open-tls-stream): Ditto.
2098         * net/netrc.el (netrc-credentials): Return the value of the "default"
2099         entry.
2100         (netrc-machine): Ditto.
2102 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
2104         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
2106 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
2108         * server.el (server-start): Don't write pid to the authentication file.
2109         (server-create-tty-frame): Don't send pid.
2110         (server-process-filter): Send pid at the start of every connection.
2112 2010-09-30  Glenn Morris  <rgm@gnu.org>
2114         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
2115         (show-all-diary-entries): Remove obsolete function aliases.
2117         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
2118         Remove options, obsolete since 22.1.
2119         (appt-display-format, appt-display-message): Remove
2120         backwards-compatibility code.
2121         (appt-check): No longer check appt-issue-message.
2122         (appt-make-list): No longer autoload it.  Doc fix.  No longer
2123         activate the package.
2125 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2127         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
2128         (starttls-negotiate): Just call boot, and let the handshake be
2129         triggered from the read loop.
2131 2010-09-29  Glenn Morris  <rgm@gnu.org>
2133         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
2134         not displaying the diary.
2135         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
2136         * calendar/appt.el (appt-check): No longer need to kill diary.
2138         * calendar/diary-lib.el (diary-list-entries): Move the
2139         "Preparing..." message entirely here.
2140         (diary-simple-display, diary-fancy-display): Move "Preparing..."
2141         messages to diary-list-entries.
2142         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
2143         diary-display-function.
2145         * calendar/diary-lib.el (diary-include-other-diary-files):
2146         Trap some recursive includes.
2148         * calendar/appt.el (appt-activate): Check diary file.
2150 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
2152         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
2153         construction.
2155         * calendar/time-date.el: No need to require cl for Emacs 21.
2157 2010-09-28  Glenn Morris  <rgm@gnu.org>
2159         * calendar/appt.el (appt-check): Minor simplification.
2161 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
2163         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
2164         citation prefix.
2166 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
2168         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2169         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
2171 2010-09-27  Kenichi Handa  <handa@m17n.org>
2173         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
2174         "ustar" format.
2176 2010-09-27  Kenichi Handa  <handa@m17n.org>
2178         * international/mule.el (define-coding-system): Docstring fixed.
2180         * international/mule-diag.el (describe-character-set): Use princ
2181         with proper print-length and print-level instead of insert.
2183 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
2185         * window.el (walk-windows): Doc fix (bug#7105).
2187 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2189         * emacs-lisp/float-sup.el (e): Remove.
2191 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
2193         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
2194         variable.
2195         (starttls-negotiate): Use it.
2197 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2199         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
2200         back.
2202 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2204         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
2206 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2208         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
2210         * net/netrc.el (netrc-store-data): New function.
2212 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
2214         * net/gnutls.el: GnuTLS glue code to set up a connection.
2216 2010-09-25  Julien Danjou  <julien@danjou.info>
2218         * notifications.el: Call dbus-register-signal only if it is bound.
2220 2010-09-25  Glenn Morris  <rgm@gnu.org>
2222         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2223         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2224         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2225         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2226         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2227         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
2228         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
2229         * eshell/esh-util.el, eshell/esh-var.el:
2230         Remove leading `*' from docs of faces and defcustoms.
2232 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
2234         * eshell/em-ls.el (eshell-ls-archive-regexp):
2235         * eshell/esh-util.el (eshell-tar-regexp):
2236         * ibuffer.el (ibuffer-compressed-file-name-regexp):
2237         * info.el (Info-suffix-list):
2238         * international/mule.el (auto-coding-alist):
2239         * woman.el (woman-file-regexp, woman-file-compression-regexp):
2240         * progmodes/etags.el (tags-compression-info-list):
2241         Support xz compression.
2243 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
2245         * files.el (get-free-disk-space): Don't assume the "df" output
2246         columns line up (Bug#6995).
2248 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
2250         * finder.el (finder-unknown-keywords):
2251         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
2252         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
2254 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
2256         * server.el (server-start): Revert part of 2010-08-08 change.  Using
2257         address 127.0.0.1 for local host is now done in Fmake_network_process.
2259 2010-09-24  Glenn Morris  <rgm@gnu.org>
2261         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
2262         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
2263         * textmodes/css-mode.el, textmodes/dns-mode.el:
2264         Move autoloaded auto-mode-alist entries to files.el.
2265         * files.el (auto-mode-alist): Move entries here.
2267 2010-09-23  Glenn Morris  <rgm@gnu.org>
2269         * isearch.el (isearch-lazy-highlight-cleanup)
2270         (isearch-lazy-highlight-initial-delay)
2271         (isearch-lazy-highlight-interval)
2272         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
2273         * net/net-utils.el (ipconfig-program-options):
2274         Move aliases to options before the associated definitions.
2276 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2278         * newcomment.el (comment-normalize-vars): Better test validity of
2279         comment-end-skip.
2281 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2283         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
2284         (float-e): New name for `e'.
2285         (degrees-to-radians, radians-to-degrees):
2286         * calendar/solar.el (solar-longitude):
2287         * calculator.el (calculator-registers, calculator-funcall):
2288         * textmodes/artist.el (artist-spray-random-points):
2289         * play/bubbles.el (bubbles--initialize-images): Use new names.
2291 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
2293         Update to CEDET 1.0's version of EIEIO.
2295         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
2296         New function.
2297         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
2298         (eieio-default-eval-maybe): Eval val instead of unquoting only.
2299         (class-precedence-list): If class is nil, return nil.
2300         (eieio-generic-call): If class of first input arg is nil, don't
2301         look up static methods, and do check for primary methods.
2302         (initialize-instance): See if the default needs to be evaluated
2303         during the constructor.
2304         (eieio-perform-slot-validation-for-default): Don't do the check
2305         for values that will eventually be evaluated.
2306         (eieio-eval-default-p): New function.
2307         (eieio-default-eval-maybe): Use it.
2309 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
2311         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
2312         method-invocation-order.
2313         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
2314         (eieio-class-precedence-dfs): Compute class precedence list using
2315         dfs algorithm.
2316         (eieio-class-precedence-bfs): Compute class precedence list using
2317         bfs algorithm.
2318         (eieio-class-precedence-c3): Compute class precedence list using
2319         c3 algorithm.
2320         (class-precedence-list): New function.
2321         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
2322         (inconsistent-class-hierarchy): New error symbol.
2323         (call-next-method): Stow the replacement argument list for future
2324         call-next-method invocations.
2326 2010-09-23  Glenn Morris  <rgm@gnu.org>
2328         * calendar/appt.el (appt-check): If not displaying the diary,
2329         use (diary 1) to only get the entries we need.
2330         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
2331         that it is in day order.  (Bug#7019)
2333         * calendar/appt.el (appt-check): Rather than showing the diary,
2334         just turn off invisible display, and only if needed.
2336         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
2338 2010-09-23  Glenn Morris  <rgm@gnu.org>
2340         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2341         (byte-compile-defvar, byte-compile-cl-warn):
2342         Start warnings with lower-case, like the majority.
2344         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
2346         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
2348         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
2349         * files.el (auto-mode-alist): Move ld-script entries here, further down
2350         the list.
2352         * vc/add-log.el: Don't require timezone when compiling.
2353         (timezone-make-date-sortable): Autoload it.
2354         (change-log-sortable-date-at): Don't require timezone.
2355         Use `ignore-errors'.
2357         * comint.el (comint-use-prompt-regexp-instead-of-fields):
2358         Move alias before definition, so it does not need autoloading.
2360         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
2361         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
2362         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
2363         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
2364         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
2365         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
2366         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
2367         * textmodes/tex-mode.el, textmodes/two-column.el:
2368         Remove leading `*' from docs of defcustoms etc.
2370 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
2372         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
2374 2010-09-22  Dan Christensen  <jdc@uwo.ca>
2376         * calendar/time-date.el (date-to-time): Try using parse-time-string
2377         first before using the slower timezone-make-date-arpa-standard.
2379 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
2381         * calendar/time-date.el (format-seconds): Comment fix.
2383 2010-09-22  Glenn Morris  <rgm@gnu.org>
2385         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
2386         is not automatically buffer-local.
2388 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2390         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
2391         (smie-indent-comment): Be more careful with comment-start-skip.
2392         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
2393         (smie-indent-functions): Use them.
2395 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
2397         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
2399 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
2401         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
2402         tool-bar-position.  Don't modify frame parameters here.
2403         (menu-bar-options-save): Add tool-bar-position.
2405         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
2407 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2409         * textmodes/reftex-parse.el (reftex-what-macro)
2410         (reftex-context-substring): Let-bind forward-sexp-function to nil
2411         since we don't need/want to treat \begin...\end as a block (bug#7053).
2413         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
2415         * simple.el (blink-matching-open): Use syntax-class.
2417         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
2418         Set invisibility spec for pascal's outline mode.
2419         (pascal-outline-change): Clean up calling convention.
2420         (pascal-show-all, pascal-hide-other-defuns): Update callers.
2422         * progmodes/prolog.el (prolog-smie-forward-token)
2423         (prolog-smie-backward-token): New functions.
2424         (prolog-mode-variables): Use them to parse "!," correctly.
2425         Set up smie-blink-matching for ".".
2427         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
2428         and `end'.
2429         (ispell-region, ispell-process-line): Update users.
2431         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
2432         point-min==1.
2434         * textmodes/ispell.el: Fix commenting convention.
2435         (ispell-parse-output): Simplify, use push.
2436         (ispell-region): Use match-string-no-properties.
2437         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
2438         (ispell-minor-mode): Use define-minor-mode.
2439         (ispell-message): Remove unused var `skip-regexp'.
2440         (ispell-add-per-file-word-list): Use dynamic let-binding.
2441         Try and use the proper comment marker.
2443         * mail/sendmail.el: Fix commenting convention.
2444         (sendmail-send-it): Use line-beginning-position.
2446         * help-fns.el (describe-variable): Add original value, if applicable.
2448 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
2450         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
2452         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
2454 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2456         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
2457         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
2458         (smie-prec2-levels): Use them to better diagnose precedence cycles.
2459         (smie-blink-matching-check): Don't signal a mismatch if car is t.
2460         (smie-blink-matching-open): Rewrite to remove assumptions, so that
2461         something like "." can also be a closer.
2462         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
2463         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
2464         Rename internal functions to use "--".  Update callers.
2466         * frame.el (make-frame-names-alist): Don't list frames on other displays.
2468         * fringe.el (fringe-styles): New var.
2469         (fringe-mode, fringe-query-style): Use it.
2471 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
2473         * progmodes/sql.el: Version 2.8
2474         (sql-login-params): Update widget structure; changes still needed.
2475         (sql-product-alist): Add :list-all and :list-table features for
2476         SQLite, Postgres and MySQL products.
2477         (sql-redirect): Handle default value.
2478         (sql-execute, sql-execute-feature): New functions.
2479         (sql-read-table-name): New function.
2480         (sql-list-all, sql-list-table): New functions.  User API.
2481         (sql-mode-map, sql-interactive-mode-map): Add key definitions
2482         for above functions.
2483         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
2484         for above functions.
2485         (sql-postgres-login-params): Add user and database defaults.
2486         (sql-buffer-live-p): Bug fix.
2487         (sql-product-history): New variable.
2488         (sql-read-product): New function. Use it.
2489         (sql-set-product, sql-product-interactive): Use it.
2490         (sql-connection-history): New variable.
2491         (sql-read-connection): New function.  Use it.
2492         (sql-connect): New function.
2493         (sql-for-each-login): Redesign function interface.
2494         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
2495         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
2496         (sql-comint): Check for program.  Existing live buffer.
2497         (sql-comint-postgres): Add port parameter.
2499 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2501         * emacs-lisp/warnings.el: Fix commenting convention.
2502         (display-warning): Use special mode and make the buffer read-only.
2504 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
2506         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
2507         empty string when it follows a repeated or optional pattern.
2509 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2511         * indent.el (indent-according-to-mode): Apply syntax-propertize.
2512         (indent-region): Use indent-according-to-mode.
2514 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
2516         * fringe.el (fringe-mode): Doc fix.
2518 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
2520         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
2521         refreshing the preview buffer.
2523 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2525         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
2526         (latex-syntax-propertize-rules): New consts; replace
2527         tex-font-lock-syntactic-keywords.
2528         (tex-env-mark, latex-env-before-change): New functions.
2529         (latex-electric-env-pair-mode): New minor mode.
2530         (tex-font-lock-verb): Change arguments; do move point.
2531         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
2532         representation as a form of comment.
2533         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
2534         (doctex-syntax-propertize-rules): New const; replaces
2535         doctex-font-lock-syntactic-keywords.
2536         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
2538         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
2539         (fortran-make-syntax-propertize-function): New function; replaces
2540         fortran-font-lock-syntactic-keywords.
2541         (fortran-mode): Use it.
2542         (fortran-line-length): Use it.  Improve interactive spec.
2544         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
2545         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
2546         when adding surrounding \(..\).
2548         * progmodes/js.el (js-mode): Fix last change (bug#7054).
2550 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2552         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
2553         Use with-current-buffer.
2555         * isearch.el (isearch-face): Rename from `isearch'.
2556         (isearch-highlight): Use new name.
2558 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
2560         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
2561         5, for `half' width fringes.  (Bug#6933)
2563 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2565         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
2566         (byte-compile-defvar): "foo/bar" does not lack a prefix.
2568         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
2570 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
2572         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
2573         in calculating new frame position.  Add more space between new and
2574         parent on the left (Bug#7048).
2576 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
2578         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
2579         defmacro.
2581 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
2583         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
2585         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
2586         obsolete alias for x-selection-value.
2588         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
2590 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
2592         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
2593         cookie.
2595 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
2597         * net/tramp-compat.el (tramp-compat-with-temp-message)
2598         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
2599         (tramp-compat-process-put): New defuns.
2601         * net/tramp.el (top):
2602         * net/tramp-gvfs.el (top):
2603         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
2605         * net/tramp.el (tramp-progress-reporter-update):
2606         Use `tramp-compat-funcall'.
2608         * net/tramp.el (tramp-process-actions):
2609         * net/tramp-gvfs.el (tramp-handle-vc-registered):
2610         * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
2611         (tramp-get-remote-stat, tramp-get-remote-readlink):
2612         Use `tramp-compat-with-temp-message'.
2614         * net/tramp-sh.el (top): Require 'cl.
2615         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
2616         (tramp-open-connection-setup-interactive-shell):
2617         Use `tramp-compat-process-put'.
2619 2010-09-15  Alan Mackenzie  <acm@muc.de>
2621         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
2622         indentation.
2623         (c-forward-<>-arglist-recur): Fix an infinite recursion.
2625 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2627         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
2628         `lexical' for warnings related to lexical scoping.
2629         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
2630         global vars which don't have a prefix and could hence affect lexical
2631         scoping in unrelated files.
2633 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2635         * net/imap.el: Revert back to version
2636         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
2637         seem problematic.
2639 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
2641         * obsolete/old-whitespace.el (whitespace-unload-function):
2642         Explicitly pass `obarray' to `unintern' to avoid a warning.
2644 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2646         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
2647         Add `when' argument.  Update callers.
2649         * subr.el (unintern): Declare the obarray arg mandatory.
2651 2010-09-14  Glenn Morris  <rgm@gnu.org>
2653         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
2654         Doc fixes.
2656         * calendar/diary-lib.el (diary-included-files): New variable.
2657         (diary-list-entries): Maybe initialize diary-included-files.
2658         (diary-include-other-diary-files): Append to diary-included-files.
2659         * calendar/appt.el (appt-update-list): Also check the members of
2660         diary-included-files.  (Bug#6999)
2661         (appt-check): Doc fix.
2663 2010-09-14  David Reitter  <david.reitter@gmail.com>
2665         * simple.el (line-move-visual): Do not truncate goal column to
2666         integer size.  (Bug#7020)
2668 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2670         * repeat.el (repeat): Allow repeating when the last event is a click.
2671         Suggested by Drew Adams (bug#6256).
2673 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
2675         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
2676         Replace setting HGRCPATH to "" by some less invasive --config options.
2678 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2680         * font-lock.el (font-lock-beginning-of-syntax-function):
2681         Mark as obsolete.
2683 2010-09-14  Glenn Morris  <rgm@gnu.org>
2685         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
2686         and tool-bar modes.  (Bug#6211)
2687         (menu-bar-mode): Move setting of standard-value after the
2688         minor-mode definition, otherwise it seems to have no effect.
2690 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
2692         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
2693         Fix typo.  (Bug#6976)
2695 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
2697         * whitespace.el: Allow cleaning up blanks without blank
2698         visualization (Bug#6651).  Adjust help window for
2699         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
2700         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
2701         (whitespace-style): Add new value 'face.  Adjust docstring.
2702         (whitespace-space, whitespace-hspace, whitespace-tab):
2703         Adjust foreground property face.
2704         (whitespace-line-column): Adjust docstring and type declaration.
2705         (whitespace-style-value-list, whitespace-toggle-option-alist)
2706         (whitespace-help-text): Adjust const initialization.
2707         (whitespace-toggle-options, global-whitespace-toggle-options):
2708         Adjust docstring.
2709         (whitespace-display-window, whitespace-interactive-char)
2710         (whitespace-style-face-p, whitespace-color-on): Adjust code.
2711         (whitespace-help-scroll): New fun.
2713 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
2715         * calendar/time-date.el (format-seconds): Comment fix.
2717 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
2719         * progmodes/sql.el: Version 2.7.
2720         (sql-buffer-live-p): Improve detection.
2721         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
2722         (sql-set-sqli-buffer): Use it.
2723         (sql-product-interactive): Run `sql-set-sqli-hook'.
2724         (sql-rename-buffer): Code cleanup.
2725         (sql-redirect, sql-redirect-value): New functions.  More to come.
2727 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
2729         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.
2730         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
2731         (TRAMP_SRC): New macro.
2732         ($(lisp)/net/tramp-loaddefs.el): New target.
2734 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
2736         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
2738         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
2740         * net/tramp.el (top): Don't show loading message.  Require just
2741         'tramp-compat, everything else is required there.
2742         Use `ignore-errors' where appropriate.
2743         (tramp-inline-compress-start-size, tramp-copy-size-limit)
2744         (tramp-terminal-type, tramp-end-of-output)
2745         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
2746         (tramp-completion-function-alist-ssh)
2747         (tramp-completion-function-alist-telnet)
2748         (tramp-completion-function-alist-su)
2749         (tramp-completion-function-alist-putty, tramp-remote-path)
2750         (tramp-remote-process-environment, tramp-sh-extra-args)
2751         (tramp-actions-before-shell, tramp-uudecode)
2752         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
2753         (tramp-perl-file-attributes)
2754         (tramp-perl-directory-files-and-attributes)
2755         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
2756         (tramp-perl-encode, tramp-perl-decode)
2757         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
2758         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
2759         (tramp-handle-make-symbolic-link, tramp-handle-load)
2760         (tramp-handle-file-name-as-directory)
2761         (tramp-handle-file-name-directory)
2762         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
2763         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
2764         (tramp-do-file-attributes-with-ls)
2765         (tramp-do-file-attributes-with-perl)
2766         (tramp-do-file-attributes-with-stat)
2767         (tramp-handle-set-visited-file-modtime)
2768         (tramp-handle-verify-visited-file-modtime)
2769         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
2770         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
2771         (tramp-handle-file-selinux-context)
2772         (tramp-handle-set-file-selinux-context)
2773         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
2774         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
2775         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
2776         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
2777         (tramp-handle-file-ownership-preserved-p)
2778         (tramp-handle-directory-file-name, tramp-handle-directory-files)
2779         (tramp-handle-directory-files-and-attributes)
2780         (tramp-do-directory-files-and-attributes-with-perl)
2781         (tramp-do-directory-files-and-attributes-with-stat)
2782         (tramp-handle-file-name-all-completions)
2783         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
2784         (tramp-handle-copy-file, tramp-handle-copy-directory)
2785         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
2786         (tramp-do-copy-or-rename-file-via-buffer)
2787         (tramp-do-copy-or-rename-file-directly)
2788         (tramp-do-copy-or-rename-file-out-of-band)
2789         (tramp-handle-make-directory, tramp-handle-delete-directory)
2790         (tramp-handle-delete-file)
2791         (tramp-handle-dired-recursive-delete-directory)
2792         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
2793         (tramp-handle-insert-directory)
2794         (tramp-handle-unhandled-file-name-directory)
2795         (tramp-handle-expand-file-name)
2796         (tramp-handle-substitute-in-file-name)
2797         (tramp-handle-executable-find, tramp-process-sentinel)
2798         (tramp-handle-start-file-process, tramp-handle-process-file)
2799         (tramp-handle-call-process-region, tramp-handle-shell-command)
2800         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
2801         (tramp-handle-insert-file-contents)
2802         (tramp-handle-insert-file-contents-literally)
2803         (tramp-handle-find-backup-file-name)
2804         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
2805         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
2806         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
2807         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
2808         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
2809         (tramp-find-file-exists-command, tramp-open-shell)
2810         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
2811         (tramp-open-connection-setup-interactive-shell)
2812         (tramp-local-coding-commands, tramp-remote-coding-commands)
2813         (tramp-find-inline-encoding, tramp-call-local-coding-command)
2814         (tramp-inline-compress-commands, tramp-find-inline-compress)
2815         (tramp-compute-multi-hops, tramp-maybe-open-connection)
2816         (tramp-send-command, tramp-wait-for-output)
2817         (tramp-send-command-and-check, tramp-barf-unless-okay)
2818         (tramp-send-command-and-read, tramp-mode-string-to-int)
2819         (tramp-convert-file-attributes, tramp-check-cached-permissions)
2820         (tramp-file-mode-from-int, tramp-file-mode-permissions)
2821         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
2822         (tramp-method-out-of-band-p, tramp-local-host-p)
2823         (tramp-get-remote-path, tramp-get-remote-tmpdir)
2824         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
2825         (tramp-get-test-command, tramp-get-test-nt-command)
2826         (tramp-get-file-exists-command, tramp-get-remote-ln)
2827         (tramp-get-remote-perl, tramp-get-remote-stat)
2828         (tramp-get-remote-readlink, tramp-get-remote-trash)
2829         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
2830         (tramp-get-local-uid, tramp-get-local-gid)
2831         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
2832         tramp-sh.el.
2833         (tramp-methods, tramp-default-method-alist)
2834         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
2835         Move initialization to tramp-sh.el.
2836         (tramp-temp-name-prefix): Make it a defconst.
2837         (tramp-dissect-file-name): Don't check anymore for multi-hop
2838         methods.
2839         (tramp-debug-outline-regexp): Add a docstring.
2840         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
2841         (tramp-get-debug-buffer): Use it.
2843         * net/tramp-cache.el (top): Set tramp-autoload cookie for
2844         initialization forms.
2845         (tramp-set-connection-property): Don't protect `tramp-message'
2846         call, it isn't necessary any longer.
2847         (tramp-dump-connection-properties): Use `ignore-errors'.
2849         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
2850         'password-cache and 'auth-source.
2852         * net/tramp-gvfs.el (top):
2853         * net/tramp-smb.el (top): Require 'tramp-sh.
2855         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
2857         * net/tramp-sh.el: New file, derived from tramp.el.
2858         (top): Initialize `tramp-methods', `tramp-default-method-alist',
2859         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
2860         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
2861         Use `ignore-errors' where appropriate.
2862         (tramp-sh-file-name-handler-alist): Rename from
2863         `tramp-file-name-handler-alist'.
2864         (tramp-send-command-and-check): Return t or nil.  Remove all
2865         `zerop' checks, where called.
2866         (tramp-handle-set-file-modes)
2867         (tramp-do-copy-or-rename-file-directly)
2868         (tramp-handle-delete-directory, tramp-handle-delete-file)
2869         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
2870         (tramp-sh-file-name-handler, tramp-send-command-and-check)
2871         (tramp-get-remote-ln): Set tramp-autoload cookie.
2873         * net/tramp-fish.el: Remove file.
2875 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
2877         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
2878         buffer-file-name to avoid file-locking.  (Bug#7026)
2880 2010-09-13  Julien Danjou  <julien@danjou.info>
2882         * notifications.el (notifications-notify): Add support for
2883         image-path and sound-name.
2884         (notifications-specification-version): Add this variable.
2886 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2888         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
2890 2010-09-12  Leo  <sdl.web@gmail.com>
2892         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
2893         (rcirc-completion-start): New variables.
2894         (rcirc-nick-completions): Rename to rcirc-completions.
2895         (rcirc-nick-completion-start-offset): Delete.
2896         (rcirc-completion-at-point): New function for constructing
2897         completion data for both nicks and irc commands.  Add to
2898         completion-at-point-functions in rcirc mode.
2899         (rcirc-complete): Rename from rcirc-nick-complete; use
2900         rcirc-completion-at-point.
2901         (defun-rcirc-command): Update rcirc-client-commands.
2903 2010-09-11  Glenn Morris  <rgm@gnu.org>
2905         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
2906         atomically, to avoid parallel build errors.  (Bug#4196)
2908 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
2910         * progmodes/sql.el: Version 2.6
2911         (sql-dialect): Synonym for "sql-product".
2912         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
2913         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
2914         Set "sql-buffer" to buffer name not buffer object so multiple sql
2915         interactive buffers work properly.  Reverts misguided changes in
2916         earlier work.
2917         (sql-comint): Make sure different buffer name is used if "*SQL*"
2918         buffer is for a different product.
2919         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
2920         login param.
2921         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
2922         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
2923         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
2924         Accept new buffer name or prompt for one.
2925         (sql-port): Default to zero.
2926         (sql-comint-mysql): Handle "sql-port" as a numeric.
2927         (sql-port-history): Delete unused variable.
2928         (sql-get-login): Default "sql-port" to a number.
2929         (sql-product-alist): Correct Postgres prompt and terminator regexp.
2930         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
2931         "sqlite3" executables.
2932         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
2933         (sql-buffer-live-p): New function.
2934         (sql-mode-menu, sql-send-string): Use it.
2935         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
2936         syntax pattern.
2937         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
2938         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
2940 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2942         * net/netrc.el (netrc-credentials): New convenience function.
2944 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2946         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
2947         to replace texinfo-font-lock-syntactic-keywords.
2948         (texinfo-mode): Use it.
2950         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
2951         Use syntax-propertize-function.
2953         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
2954         replace sgml-font-lock-syntactic-keywords.
2955         (sgml-mode): Use it.
2957         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
2958         since we don't use it.
2960         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
2962         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
2963         if available.
2964         (vhdl-fontify-buffer): Adjust.
2966         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
2967         replace tcl-font-lock-syntactic-keywords.
2968         (tcl-mode): Use it.
2970         * progmodes/simula.el (simula-syntax-propertize-function): New var to
2971         replace simula-font-lock-syntactic-keywords.
2972         (simula-mode): Use it.
2974         * progmodes/sh-script.el (sh-st-symbol): Remove.
2975         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
2976         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
2977         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
2978         (sh-font-lock-paren): Set syntax-multiline.
2979         (sh-font-lock-syntactic-keywords): Remove.
2980         (sh-syntax-propertize-function): New function to replace it.
2981         (sh-mode): Use it.
2983         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
2984         Define while compiling.
2985         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
2986         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
2987         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
2988         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
2989         (ruby-here-doc-end-syntax): Only define when
2990         syntax-propertize is not available.
2991         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
2992         New functions.
2993         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
2994         (electric-indent-chars): Silence bytecompiler.
2995         (ruby-mode): Use prog-mode, syntax-propertize-function, and
2996         electric-indent-chars.
2998         * progmodes/python.el (python-syntax-propertize-function): New var to
2999         replace python-font-lock-syntactic-keywords.
3000         (python-mode): Use it.
3001         (python-quote-syntax): Simplify and adjust to new use.
3003         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
3004         replace perl-font-lock-syntactic-keywords.
3005         (perl-syntax-propertize-special-constructs): New fun to replace
3006         perl-font-lock-special-syntactic-constructs.
3007         (perl-font-lock-syntactic-face-function): New fun.
3008         (perl-mode): Use it.
3010         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
3011         to replace octave-font-lock-close-quotes.
3012         (octave-syntax-propertize-function): New function to replace
3013         octave-font-lock-syntactic-keywords.
3014         (octave-mode): Use it.
3016         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
3017         replaces mixal-font-lock-syntactic-keywords.
3018         (mixal-mode): Use it.
3020         * progmodes/make-mode.el (makefile-syntax-propertize-function):
3021         New var; replaces makefile-font-lock-syntactic-keywords.
3022         (makefile-mode): Use it.
3023         (makefile-imake-mode): Adjust.
3025         * progmodes/js.el (js--regexp-literal): Define while compiling.
3026         (js-syntax-propertize-function): New var; replaces
3027         js-font-lock-syntactic-keywords.
3028         (js-mode): Use it.
3030         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
3031         replaces gdb-script-font-lock-syntactic-keywords.
3032         (gdb-script-mode): Use it.
3034         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
3035         (fortran--font-lock-syntactic-keywords): New var.
3036         (fortran-line-length): Update syntax-propertize-function and
3037         fortran--font-lock-syntactic-keywords.
3039         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
3041         * progmodes/cfengine.el (cfengine-mode):
3042         Use syntax-propertize-function.
3043         (cfengine-font-lock-syntactic-keywords): Remove.
3045         * progmodes/autoconf.el (autoconf-mode):
3046         Use syntax-propertize-function.
3047         (autoconf-font-lock-syntactic-keywords): Remove.
3049         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
3050         (ada-after-change-function, ada-initialize-syntax-table-properties)
3051         (ada-handle-syntax-table-properties): Only define when
3052         syntax-propertize is not available.
3053         (ada-mode): Use syntax-propertize-function.
3055         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
3056         (font-lock-fontify-syntactic-keywords-region): Move handling of
3057         font-lock-syntactically-fontified to...
3058         (font-lock-default-fontify-region): ...here.
3059         Let syntax-propertize-function take precedence.
3060         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
3062         * emacs-lisp/syntax.el (syntax-propertize-function)
3063         (syntax-propertize-chunk-size, syntax-propertize--done)
3064         (syntax-propertize-extend-region-functions): New vars.
3065         (syntax-propertize-wholelines, syntax-propertize-multiline)
3066         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
3067         (syntax-propertize): New functions.
3068         (syntax-propertize-rules): New macro.
3069         (syntax-ppss-flush-cache): Set syntax-propertize--done.
3070         (syntax-ppss): Call syntax-propertize.
3072         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
3074 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
3076         * textmodes/ispell.el (ispell-init-process): Improve comments.
3077         XEmacs compatibility changes regarding (add-hook) 'local option
3078         and (set-process-query-on-exit-flag).
3080 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
3082         * net/tramp-cache.el (tramp-parse-connection-properties):
3083         Set tramp-autoload cookie.
3085 2010-09-09  Glenn Morris  <rgm@gnu.org>
3087         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
3088         (imagemagick-register-types): Doc fix.
3090 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3092         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
3094         * progmodes/js.el (require): Require is already "eval-and-compile".
3095         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
3096         (js--re-search-backward): Use js--re-search-forward.
3098         * progmodes/fortran.el (fortran-line-length): Don't recompute
3099         syntactic keywords redundantly a second time.
3101         * progmodes/ada-mode.el: Replace "(set '" with setq.
3102         (ada-mode): Simplify.
3103         (ada-create-case-exception, ada-adjust-case-interactive)
3104         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
3105         (ada-search-ignore-string-comment, ada-move-to-start)
3106         (ada-move-to-end): Use with-syntax-table.
3108         * font-lock.el (save-buffer-state): Remove `varlist' arg.
3109         (font-lock-unfontify-region, font-lock-default-fontify-region):
3110         Update usage correspondingly.
3111         (font-lock-fontify-syntactic-keywords-region):
3112         Set parse-sexp-lookup-properties buffer-locally here.
3113         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
3115         * simple.el (blink-matching-open): Don't burp if we can't find a match.
3117 2010-09-08  Glenn Morris  <rgm@gnu.org>
3119         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
3120         Error if not compiled with -DBYTE_CODE_METER.
3122         * emacs-lisp/bytecomp.el (byte-recompile-directory):
3123         Ignore dir-locals-file.
3125 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3127         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3128         Not a const.
3129         (compilation-error-regexp-alist-alist): Rule out ": " in file names
3130         for the `gnu' messages.
3131         (compilation-set-skip-threshold): New command.
3132         (compilation-start): Use \' rather than $.
3133         (compilation-forget-errors): Use clrhash.
3135 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
3137         * textmodes/ispell.el (ispell-valid-dictionary-list):
3138         Simplify logic.
3140 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
3142         Migrate to Tramp 2.2.  Rearrange load dependencies.
3143         (Bug#1529, Bug#5448, Bug#5705)
3145         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
3146         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
3147         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3149         * net/tramp.el (top): Remove all other tramp-* loads except
3150         tramp-compat.el.  Remove all changes to tramp-unload-hook for
3151         other tramp-* packages.  Rearrange defun order.  Change calls of
3152         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
3153         `tramp-compat-octal-to-decimal' to new function names.
3154         (tramp-terminal-type, tramp-initial-end-of-output)
3155         (tramp-methods, tramp-foreign-file-name-handler-alist)
3156         (tramp-tramp-file-p, tramp-completion-mode-p)
3157         (tramp-send-command-and-check, tramp-get-remote-path)
3158         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
3159         (tramp-shell-quote-argument): Set tramp-autoload cookie.
3160         (with-file-property, with-connection-property): Move to
3161         tramp-cache.el.
3162         (tramp-local-call-process, tramp-decimal-to-octal)
3163         (tramp-octal-to-decimal): Move to tramp-compat.el.
3164         (tramp-handle-shell-command): Do not require 'shell.
3165         (tramp-compute-multi-hops): No special handling for tramp-gw-*
3166         symbols.
3167         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
3169         * net/tramp-cache.el (top): Require 'tramp.  Add to
3170         `tramp-unload-hook'.
3171         (tramp-cache-data, tramp-get-file-property)
3172         (tramp-set-file-property, tramp-flush-file-property)
3173         (tramp-flush-directory-property, tramp-get-connection-property)
3174         (tramp-set-connection-property, tramp-flush-connection-property)
3175         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
3176         cookie.
3177         (with-file-property, with-connection-property): New defuns, moved
3178         from tramp.el.
3179         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
3180         macro.
3182         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
3183         (tramp-version): Set tramp-autoload cookie.
3185         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
3186         changes to tramp-unload-hook for other tramp-* packages.  Add to
3187         `tramp-unload-hook'.
3188         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
3189         (tramp-compat-call-process): New defuns, moved from tramp.el.
3191         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
3192         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
3193         to `tramp-unload-hook'.  Change call of
3194         `tramp-compat-decimal-to-octal' to new function name.
3195         (tramp-fish-method): Make it a defconst.
3196         (tramp-fish-file-name-p): Make it a defsubst.
3197         (tramp-fish-method, tramp-fish-file-name-handler)
3198         (tramp-fish-file-name-p): Set tramp-autoload cookie.
3200         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
3201         `tramp-foreign-file-name-handler-alist'.  Add to
3202         `tramp-unload-hook'.
3203         (tramp-ftp-method): Make it a defconst.
3204         (tramp-ftp-file-name-p): Make it a defsubst.
3205         (tramp-ftp-method, tramp-ftp-file-name-handler)
3206         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
3208         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
3209         `tramp-foreign-file-name-handler-alist'.  Add to
3210         `tramp-unload-hook'.  Change checks, whether package can be
3211         loaded.
3212         (tramp-gvfs-file-name-p): Make it a defsubst.
3213         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
3214         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
3215         (tramp-gvfs-handle-file-directory-p): New defun.
3216         (tramp-gvfs-file-name-handler-alist): Use it.
3218         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
3219         `tramp-foreign-file-name-handler-alist'.  Add to
3220         `tramp-unload-hook'.
3221         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
3222         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
3223         defconst.
3224         (tramp-gw-tunnel-method, tramp-gw-socks-method)
3225         (tramp-gw-open-connection): Set tramp-autoload cookie.
3227         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
3228         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
3229         to `tramp-unload-hook'.  Change checks, whether package can be
3230         loaded.
3231         (tramp-imap-file-name-p): Make it a defsubst.
3232         (tramp-imap-method, tramp-imaps-method)
3233         (tramp-imap-file-name-handler)
3234         (tramp-imap-file-name-p): Set tramp-autoload cookie.
3236         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
3237         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
3238         to `tramp-unload-hook'.  Change checks, whether package can be
3239         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
3240         function name.
3241         (tramp-smb-tunnel-method): Make it a defconst.
3242         (tramp-smb-file-name-p): Make it a defsubst.
3243         (tramp-smb-method, tramp-smb-file-name-handler)
3244         (tramp-smb-file-name-p): Set tramp-autoload cookie.
3246         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
3247         (tramp-uuencode-region): Set tramp-autoload cookie.
3249         * net/trampver.el (top) Add to `tramp-unload-hook'.
3250         (tramp-version, tramp-bug-report-address): Set tramp-autoload
3251         cookie.  Update release number.
3253 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
3255         * textmodes/ispell.el (ispell-start-process): Make sure original
3256         arg list is properly initialized (Bug#6993, Bug#6994).
3258 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
3260         * files.el (directory-abbrev-alist): Use \` as default regexp.
3262         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
3263         chars like - or ] (bug#6984).
3264         (rx-any-condense-range): Explode 2-char ranges.
3266 2010-09-06  Glenn Morris  <rgm@gnu.org>
3268         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
3270 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3272         * textmodes/bibtex.el:
3273         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
3275 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3277         * net/imap.el (imap-message-map): Remove optional buffer parameter,
3278         since no callers use it.
3279         (imap-message-get): Ditto.
3280         (imap-message-put): Ditto.
3281         (imap-mailbox-map): Ditto.
3282         (imap-mailbox-put): Ditto.
3283         (imap-mailbox-get): Ditto.
3284         (imap-mailbox-get): Revert last change for this function.
3286 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3288         * net/imap.el (imap-fetch-safe): Remove function, and alter all
3289         callers to use `imap-fetch' instead.  According to the comments, this
3290         should be safe, since all other IMAP clients use the 1:* syntax.
3291         (imap-enable-exchange-bug-workaround): Remove.
3292         (imap-debug): Remove -- doesn't seem very useful.
3294 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3296         * net/imap.el (imap-log): New convenience function used throughout
3297         instead of repeating the same code all over the place.
3299 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
3301         * mouse.el (mouse-save-then-kill): Save region to kill-ring
3302         when mouse-drag-copy-region is non-nil (Bug#6956).
3304 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
3306         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
3307         Improve regexps (Bug#6987).
3308         (dired-sort-toggle): Search more robustly for -t flag.
3310         * files.el (get-free-disk-space): Search more robustly for
3311         "available" column.  Suggested by Ehud Karni
3312         <ehud@unix.mvs.co.il>.
3314 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
3316         * international/uni-bidi.el:
3317         * international/uni-category.el:
3318         * international/uni-combining.el:
3319         * international/uni-decimal.el:
3320         * international/uni-mirrored.el:
3321         * international/uni-name.el: Regenerate.
3323 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3325         * electric.el (electric-indent-post-self-insert-function):
3326         Don't reindent with a sloppy indentation function.
3328         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
3329         border case in change-log-mode.
3331 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
3333         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3334         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
3335         Recognize leading tab in gcc-include regexp.  Ignore names with
3336         leading "from" or "in" in gnu regexp (Bug#6937).
3338 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3340         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
3341         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
3342         (ispell-start-process): Avoid setq and simplify logic.
3343         (ispell-init-process): Setup kill-buffer-hook locally when needed.
3344         (kill-buffer-hook): Don't use it globally with code that uses
3345         expand-file-name since that may call kill-buffer via
3346         code_conversion_restore.
3348 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
3350         * emacs-lisp/package.el (package-directory-list): Only call
3351         file-name-nondirectory on a string.
3353 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
3355         * emacs-lisp/package.el (package--download-one-archive):
3356         Ensure that archive-contents is valid before saving it.
3357         (package-activate-1, package-mark-obsolete, define-package)
3358         (package-compute-transaction, package-list-maybe-add): Use push.
3360 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3362         Use SMIE's blink-paren for octave-mode.
3363         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
3364         Backslashes do not escape single-quotes, single-quotes do.
3365         (octave-block-else-regexp, octave-block-end-regexp)
3366         (octave-block-match-alist): Remove.
3367         (octave-smie-bnf-table): New var, with old content.
3368         (octave-smie-op-levels): Use it.
3369         (octave-smie-closer-alist): New var.
3370         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
3371         (octave-blink-matching-block-open): Remove.
3372         (octave-reindent-then-newline-and-indent, octave-electric-semi)
3373         (octave-electric-space): Let self-insert-command run expand-abbrev and
3374         blink parens.
3376         * electric.el (electricity): New group.
3377         (electric-indent-chars): New var.
3378         (electric-indent-post-self-insert-function): New fun.
3379         (electric-indent-mode): New minor mode.
3380         (electric-pair-skip-self): New custom.
3381         (electric-pair-post-self-insert-function): New function.
3382         (electric-pair-mode): New minor mode.
3384         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
3385         calcAlg-blink-matching-open.
3386         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
3387         (calc-do-alg-entry): Only touch the part of the keymap that varies.
3388         Use the new blink-matching-check-function.
3390         Provide blink-matching support to SMIE.
3391         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
3392         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
3393         (smie-blink-matching-check, smie-blink-matching-open): New functions.
3395         * simple.el (newline): Fix last change to properly remove itself from
3396         the hook.
3398 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3400         * simple.el (newline): Eliminate optimization.
3401         Use post-self-insert-hook to set hard-newline and things before
3402         running post-self-insert-hook.
3403         (blink-matching-check-mismatch): New function.
3404         (blink-matching-check-function): New variable.
3405         (blink-matching-open): Use them.
3406         Skip back forward over prefix chars skipped by forward-sexp.
3407         Don't check if the parens are backslash escaped.
3408         (blink-paren-post-self-insert-function): Check backslash escaping here.
3410 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
3412         * emacs-lisp/package.el (package-menu-mode-map):
3413         Change package-menu-revert bindings to revert-buffer.
3414         (package-menu-mode): Set revert-buffer-function.
3415         (package-menu-revert): Doc fix.
3417 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
3419         * textmodes/ispell.el (ispell-init-process): Use "~/" as
3420         `default-directory' unless using Ispell per-directory personal
3421         dictionaries and not in a mini-buffer under XEmacs.
3422         (kill-buffer-hook): Do not kill ispell process on exit when
3423         `ispell-process-directory' is "~/".  (Bug#6143)
3425 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
3427         * simple.el (kill-new): Call interprogram-cut-function with only
3428         one argument.
3430         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
3431         Remove cut buffer from error message.
3433         * term/x-win.el (x-select-text):
3434         * term/pc-win.el (x-selection-value):
3435         * term/ns-win.el (x-selection-value):
3436         * eshell/em-term.el:
3437         * w32-fns.el (x-get-selection-value):
3438         * mouse-sel.el (mouse-sel-set-selection-function):
3439         * frame.el (display-selections-p): Remove cut-buffer in documentation.
3441         * term/x-win.el: Update documentation for x-last-selected-text-*.
3442         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
3443         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
3444         (x-select-text): Remove argument PUSH, update documentation.  Remove
3445         cut-buffer code.
3446         (x-selection-value-internal): Was previously x-selection-value.
3447         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
3448         Update documentation, remove cut-buffer code.  Call
3449         x-selection-value-internal.
3450         (x-clipboard-yank): Call x-selection-value-internal.
3451         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
3453         * term/pc-win.el (x-last-selected-text):
3454         x-cut-buffer-or-selection-value renamed to x-selection-value
3455         (x-select-text): Remove argument PUSH, update documentation.
3457         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
3458         x-cut-buffer-or-selection-value renamed to x-selection-value
3459         (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
3460         (x-select-text): Remove argument PUSH, update documentation.
3462         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
3464         * w32-fns.el (x-last-selected-text):
3465         x-cut-buffer-or-selection-value renamed to x-selection-value.
3466         (x-cut-buffer-max): Remove.
3467         (x-select-text): Remove argument PUSH, update documentation.
3469         * simple.el (interprogram-cut-function): Remove mention of PUSH.
3471         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
3473         * mouse-sel.el (mouse-sel-get-selection-function):
3474         x-cut-buffer-or-selection-value renamed to x-selection-value.
3475         (x-select-text): Remove optional push.
3477 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3479         * simple.el (blink-paren-function): Move from C to here.
3480         (blink-paren-post-self-insert-function): New function.
3481         (post-self-insert-hook): Use it.
3483         * emacs-lisp/pcase.el (pcase-split-memq):
3484         Fix overenthusiastic optimisation.
3485         (pcase-u1): Handle the case of a lambda pred.
3487 2010-08-31  Kenichi Handa  <handa@m17n.org>
3489         * international/mule-cmds.el (standard-display-european-internal):
3490         Setup standard-display-table for 8-bit characters by storing 8-bit
3491         characters in the element vector.
3493         * disp-table.el (standard-display-8bit):
3494         Setup standard-display-table for 8-bit characters by storing 8-bit
3495         characters in the element vector.
3496         (standard-display-european): Likewise.
3498 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
3500         * textmodes/nroff-mode.el (nroff-view): New command.
3501         (nroff-mode-map): Bind it to C-c C-c.
3503 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
3505         * emacs-lisp/smie.el (smie-down-list): New command.
3507         Remove old indentation and navigation code on octave-mode.
3508         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
3509         smie-down-list rather than add a binding for octave-down-block.
3510         (octave-mark-block, octave-blink-matching-block-open):
3511         Rely on forward-sexp-function.
3512         (octave-fill-paragraph): Don't narrow, so you can use
3513         indent-according-to-mode.
3514         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
3515         (octave-in-block-p, octave-re-search-forward-kw)
3516         (octave-re-search-backward-kw, octave-indent-calculate)
3517         (octave-end-as-array-index-p, octave-block-end-offset)
3518         (octave-scan-blocks, octave-forward-block, octave-backward-block)
3519         (octave-down-block, octave-backward-up-block, octave-up-block)
3520         (octave-before-magic-comment-p, octave-indent-line): Remove.
3522 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
3524         * emacs-lisp/package.el (package--read-archive-file): Just use
3525         `read', to avoid copying an additional string.
3526         (package-menu-mode): Set header-line-format here.
3527         (package-menu-refresh, package-menu-revert): Signal an error if
3528         not in the Package Menu.
3529         (package-menu-package-list): New var.
3530         (package--generate-package-list): Operate on the current buffer;
3531         don't assume that it is *Packages*, since the user may rename it.
3532         Allow persistent package listings and sort keys using
3533         package-menu-package-list and package-menu-package-sort-key.
3534         (package-menu--version-predicate): Fix version calculation.
3535         (package-menu-sort-by-column): Don't select the window.
3536         (package--list-packages): Create the *Packages* buffer.
3537         Set package-menu-package-list-key.
3538         (list-packages): Sorting by status is now the default.
3539         (package-buffer-info): Use match-string-no-properties.
3540         (define-package): Add a &rest argument for future proofing, but
3541         don't use it yet.
3542         (package-install-from-buffer, package-install-buffer-internal):
3543         Merge into a single function, package-install-from-buffer.
3544         (package-install-file): Change caller.
3546         * finder.el: Load finder-inf using `require'.
3547         (finder-list-matches): Sorting by status is now the default.
3548         (finder-compile-keywords): Simpify printing.
3550 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3552         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
3553         (octave-mode-map): Remove special bindings for forward/backward-block
3554         and octave-backward-up-block.  Use smie-close-block.
3555         (octave-continuation-marker-regexp): New var.
3556         (octave-continuation-regexp): Use it.
3557         (octave-operator-table, octave-smie-op-levels)
3558         (octave-operator-regexp, octave-smie-indent-rules): New vars.
3559         (octave-smie-backward-token, octave-smie-forward-token): New funs.
3560         (octave-mode): Use SMIE.
3561         (octave-close-block): Delete.
3563 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
3565         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
3566         CLIPBOARD, not in PRIMARY.  (Bug#6944)
3568 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3570         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
3571         a list of parents.
3572         (smie-indent-column): Allow indirection through variables.
3574         * composite.el (save-buffer-state): Delete, unused.
3575         * font-lock.el (save-buffer-state): Use with-silent-modifications.
3576         (font-lock-default-fontify-region): Use with-syntax-table.
3577         * jit-lock.el (with-buffer-unmodified): Remove.
3578         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
3580         Use `declare' in defmacros.
3581         * window.el (save-selected-window):
3582         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
3583         * progmodes/python.el (def-python-skeleton):
3584         * net/dbus.el (dbus-ignore-errors):
3585         * jka-cmpr-hook.el (with-auto-compression-mode):
3586         * international/mule.el (with-category-table):
3587         * emacs-lisp/timer.el (with-timeout):
3588         * emacs-lisp/lisp-mnt.el (lm-with-file):
3589         * emacs-lisp/eieio.el (with-slots):
3590         * emacs-lisp/easymenu.el (easy-menu-define):
3591         * emacs-lisp/debug.el (debugger-env-macro):
3592         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
3593         (Multiple-value-call, Multiple-value-prog1):
3594         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
3595         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
3596         edebug rule to definition.
3597         * emacs-lisp/lisp-mode.el (save-selected-window)
3598         (with-current-buffer, combine-after-change-calls)
3599         (with-output-to-string, with-temp-file, with-temp-buffer)
3600         (with-temp-message, with-syntax-table, read-if, eval-after-load)
3601         (dolist, dotimes, when, unless):
3602         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
3604 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
3606         * finder.el: Require `package'.
3607         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
3608         (finder-package-info): Var deleted.
3609         (finder-keywords-hash, finder--builtins-alist): New vars.
3610         (finder-compile-keywords): Compute package--builtins and
3611         finder-keywords-hash instead of finder-keywords-hash, respecting
3612         the "Package" header.
3613         (finder-unknown-keywords, finder-list-matches):
3614         Use finder-keywords-hash and package--list-packages.
3615         (finder-mode): Don't set font-lock-defaults.
3616         (finder-exit): We don't use "*Finder-package*" and "*Finder
3617         Category*" buffers anymore.
3619         * emacs-lisp/package.el (package--builtins-base): Var deleted.
3620         (package--builtins): Set default value to nil.
3621         (package-initialize): Load precomputed value of package--builtins
3622         from finder-inf.el.
3623         (package-alist, package-compute-transaction)
3624         (package-download-transaction): Improve docstring.
3625         (package-read-all-archive-contents): Do not change
3626         package--builtins here.
3627         (list-packages): Make package-list-packages an alias for this.
3628         Sort by status by default.
3629         (package--list-packages): Add optional PACKAGES arg.
3630         (describe-package-1): Use font-lock-face property.  For built-in
3631         packages, insert file commentary.
3632         (package--generate-package-list): Rename from
3633         package-list-packages-internal; all callers changed.  Add optional
3634         PACKAGES arg.  Add alphabetical sort fallbacks.
3635         (package-menu--version-predicate, package-menu--status-predicate)
3636         (package-menu--description-predicate)
3637         (package-menu--name-predicate): New functions.
3639         * info.el (Info-finder-find-node): Search package-alist instead of
3640         finder-package-info.
3642 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
3644         * subr.el (version-regexp-alist): Don't use "a" and "b" for
3645         "alpha" and "beta".
3646         (version-to-list): Handle versions like "10.3d".
3648 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3650         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
3651         (macroexp-accumulate): Use `declare'.
3653 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3655         * whitespace.el (whitespace-style): Adjust type declaration.
3657 2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>
3659         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
3660         empty argument to gvfs-copy.
3662 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
3664         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
3665         handle new TRASH arg of `delete-file'.
3667 2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
3669         * net/tramp.el (tramp-handle-insert-directory): Don't use
3670         `forward-word', its default syntax could be changed.
3672 2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
3673             Michael Albinus  <michael.albinus@gmx.de>
3675         Implement compression for inline methods.
3677         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
3678         (tramp-copy-size-limit): Allow also nil.
3679         (tramp-inline-compress-commands): New defconst.
3680         (tramp-find-inline-compress, tramp-get-inline-compress)
3681         (tramp-get-inline-coding): New defuns.
3682         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
3683         replaced by `tramp-get-inline-coding'.
3684         (tramp-handle-file-local-copy, tramp-handle-write-region)
3685         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
3687 2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)
3689         Detect ssh 'ControlMaster' argument automatically in some cases.
3691         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
3692         (tramp-default-method): Use it.
3694 2010-08-26  Karel Klíč  <kklic@redhat.com>
3696         * net/tramp.el (tramp-file-name-for-operation):
3697         Add file-selinux-context.
3699 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
3701         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
3703 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
3705         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
3706         (Bug#6907).
3708 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
3710         * progmodes/js.el: Make indentation more customizable (Bug#6914).
3711         (js-paren-indent-offset, js-square-indent-offset)
3712         (js-curly-indent-offset): New options.
3713         (js--proper-indentation): Use them.
3715 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
3717         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
3718         instead of inspecting font-lock properties (Bug#6916).
3720 2010-08-26  David Reitter  <david.reitter@gmail.com>
3722         * server.el (server-visit-files): Run pre-command-hook and
3723         post-command-hook for each buffer while it is current (Bug#6910).
3724         (server-execute): Do not run hooks here.
3726 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
3728         Sync with Tramp 2.1.19.
3730         * net/tramp-cmds.el (tramp-cleanup-all-connections)
3731         (tramp-reporter-dump-variable, tramp-load-report-modules)
3732         (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
3733         (tramp-bug): Recommend setting of `tramp-verbose' to 9.
3735         * net/tramp-compat.el (top): Do not autoload
3736         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
3737         only when `start-file-process' is not bound.
3738         (byte-compile-not-obsolete-vars): Define if not bound.
3739         (tramp-compat-funcall): New defmacro.
3740         (tramp-compat-line-beginning-position)
3741         (tramp-compat-line-end-position)
3742         (tramp-compat-temporary-file-directory)
3743         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
3744         (tramp-compat-copy-file, tramp-compat-copy-directory)
3745         (tramp-compat-delete-file, tramp-compat-delete-directory)
3746         (tramp-compat-number-sequence, tramp-compat-process-running-p):
3747         Use it.
3748         (tramp-advice-file-expand-wildcards): Do not use
3749         `tramp-handle-file-remote-p'.
3750         (tramp-compat-make-temp-file): Simplify fallback implementation.
3751         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
3752         (tramp-compat-copy-tree): Remove function.
3753         (tramp-compat-delete-file): New defun.
3754         (tramp-compat-delete-directory): Provide implementation for older
3755         Emacsen.
3756         (tramp-compat-file-attributes): Handle only
3757         `wrong-number-of-arguments' error.
3759         * net/tramp-fish.el (tramp-fish-handle-copy-file):
3760         Add PRESERVE_SELINUX_CONTEXT.
3761         (tramp-fish-handle-delete-file): Add TRASH arg.
3762         (tramp-fish-handle-directory-files-and-attributes):
3763         Do not use `tramp-fish-handle-file-attributes.
3764         (tramp-fish-handle-file-local-copy)
3765         (tramp-fish-handle-insert-file-contents)
3766         (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
3768         * net/tramp-gvfs.el (top): Require url-util.
3769         (tramp-gvfs-mount-point): Remove.
3770         (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
3771         and `set-file-selinux-context'.
3772         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
3773         (tramp-gvfs-handle-file-selinux-context)
3774         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
3775         (with-tramp-dbus-call-method): Format trace message.
3776         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
3777         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
3778         Implement backup call, when operation on local files fails.
3779         Use progress reporter.  Flush properties of changed files.
3780         (tramp-gvfs-handle-delete-file): Add TRASH arg.  Use
3781         `tramp-compat-delete-file'.
3782         (tramp-gvfs-handle-expand-file-name): Expand "~/".
3783         (tramp-gvfs-handle-make-directory): Make more traces.
3784         (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
3785         (tramp-gvfs-url-file-name): Hexify file name in url.
3786         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
3787         into account for the resulting file name.
3788         (tramp-gvfs-handler-askquestion): Preserve current message, in
3789         order to let progress reporter continue afterwards.  (Bug#6257)
3790         Return dummy mountpoint, when the answer is "no".
3791         See `tramp-gvfs-maybe-open-connection'.
3792         (tramp-gvfs-handler-mounted-unmounted)
3793         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
3794         attribute "default_location".  Set "prefix" property.
3795         Handle default-location.
3796         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
3797         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
3798         exists.  Raise an error, if not (due to a corresponding answer
3799         "no" in interactive questions, for example).
3800         Use `tramp-compat-funcall'.
3802         * net/tramp-imap.el (top): Autoload `epg-make-context'.
3803         (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
3804         (tramp-imap-do-copy-or-rename-file)
3805         (tramp-imap-handle-insert-file-contents)
3806         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
3807         (tramp-imap-handle-delete-file): Add TRASH arg.
3809         * net/tramp-smb.el (tramp-smb-handle-copy-file):
3810         Add PRESERVE-SELINUX-CONTEXT.
3811         (tramp-smb-handle-copy-file)
3812         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
3813         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
3814         Use `with-progress-reporter'.
3815         (tramp-smb-handle-delete-file): Add TRASH arg.
3817         * net/tramp.el (tramp-methods): Move hostname to the end in all
3818         ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
3819         appropriate.
3820         (tramp-verbose): Describe verbose level 9.
3821         (tramp-completion-function-alist)
3822         (tramp-file-name-regexp, tramp-chunksize)
3823         (tramp-local-coding-commands, tramp-remote-coding-commands)
3824         (with-connection-property, tramp-completion-mode-p)
3825         (tramp-action-process-alive, tramp-action-out-of-band)
3826         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
3827         (tramp-exists-file-name-handler): Fix docstring.
3828         (tramp-remote-process-environment): Use `format' instead of
3829         `concat'.  Protect version string by apostroph.
3830         (tramp-shell-prompt-pattern): Do not use a shy group in case of
3831         XEmacs.
3832         (tramp-file-name-regexp-unified)
3833         (tramp-completion-file-name-regexp-unified): On W32 systems, do
3834         not regard the volume letter as remote filename.  (Bug#5447)
3835         (tramp-perl-file-attributes)
3836         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
3837         (tramp-vc-registered-read-file-names): Read input as
3838         here-document, otherwise the command could exceed maximum length
3839         of command line.
3840         (tramp-file-name-handler-alist): Add `file-selinux-context' and
3841         `set-file-selinux-context'.
3842         (tramp-debug-message): Add `tramp-compat-funcall' to ignored
3843         backtrace functions.
3844         (tramp-error-with-buffer): Don't show the connection buffer when
3845         we are in completion mode.
3846         (tramp-progress-reporter-update, tramp-remote-selinux-p)
3847         (tramp-handle-file-selinux-context)
3848         (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
3849         (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
3850         New defuns.
3851         (with-progress-reporter): New defmacro.
3852         (tramp-debug-outline-regexp): New defconst.
3853         (top, tramp-rfn-eshadow-setup-minibuffer)
3854         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
3855         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
3856         (tramp-completion-mode-p, tramp-check-for-regexp)
3857         (tramp-open-connection-setup-interactive-shell)
3858         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
3859         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
3860         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
3861         Use `tramp-compat-funcall'.
3862         (tramp-handle-make-symbolic-link): Flush file properties.
3863         (tramp-handle-load, tramp-handle-file-local-copy)
3864         (tramp-handle-insert-file-contents, tramp-handle-write-region)
3865         (tramp-handle-vc-registered, tramp-maybe-send-script)
3866         (tramp-find-shell): Use `with-progress-reporter'.
3867         (tramp-do-file-attributes-with-stat): Add space in format string,
3868         in order to work around a bug in pdksh.  Reported by Gilles Pion
3869         <gpion@lfdj.com>.
3870         (tramp-handle-verify-visited-file-modtime): Do not send a command
3871         when the connection is not established.
3872         (tramp-handle-set-file-times): Simplify the check for utc.
3873         (tramp-handle-directory-files-and-attributes)
3874         (tramp-get-remote-path): Use `copy-tree'.
3875         (tramp-completion-handle-file-name-all-completions): Ensure, that
3876         non remote files are still checked.  Oops.
3877         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
3878         Handle PRESERVE-SELINUX-CONTEXT.
3879         (tramp-do-copy-or-rename-file): Add progress reporter.
3880         (tramp-do-copy-or-rename-file-directly): Do not use
3881         `tramp-handle-file-remote-p'.
3882         (tramp-do-copy-or-rename-file-out-of-band):
3883         Use `tramp-compat-delete-directory'.
3884         (tramp-do-copy-or-rename-file-out-of-band)
3885         (tramp-compute-multi-hops, tramp-maybe-open-connection):
3886         Use `format-spec-make'.
3887         (tramp-handle-delete-file): Add TRASH arg.
3888         (tramp-handle-dired-uncache): Flush directory cache, not only file
3889         cache.
3890         (tramp-handle-expand-file-name)
3891         (tramp-completion-handle-file-name-all-completions)
3892         (tramp-completion-handle-file-name-completion):
3893         Use `tramp-connectable-p'.
3894         (tramp-handle-start-file-process): Set connection property "vec".
3895         Use it, in order to invalidate file caches.  Check only for
3896         `remote-tty' process property.
3897         Implement tty setting.  (Bug#4604, Bug#6360)
3898         (tramp-file-name-for-operation): Add `call-process-region' and
3899         `set-file-selinux-context'.
3900         (tramp-find-foreign-file-name-handler)
3901         (tramp-advice-make-auto-save-file-name)
3902         (tramp-set-auto-save-file-modes): Remove superfluous check for
3903         `stringp'.  This is done inside `tramp-tramp-file-p'.
3904         (tramp-file-name-handler): Trace 'quit.  Catch the error for some
3905         operations when we are in completion mode.  This gives the user
3906         the chance to correct the file name in the minibuffer.
3907         (tramp-completion-mode-p): Use `non-essential'.
3908         (tramp-handle-file-name-all-completions): Backward/ XEmacs
3909         compatibility: Use `completion-ignore-case' if
3910         `read-file-name-completion-ignore-case' does not exist.
3911         (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
3912         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3913         `tramp-open-shell'.
3914         (tramp-action-password): Hide password prompt before next run.
3915         (tramp-process-actions): Widen connection buffer for the trace.
3916         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
3917         process property.  Trace stty settings if `tramp-verbose' >= 9.
3918         Apply workaround for IRIX64 bug.  Move argument of last
3919         `tramp-send-command' where it belongs to.
3920         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
3921         front of `login-args'.
3922         (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
3923         on "/dev/null" instead of "/".
3924         (tramp-get-ls-command-with-dired): Make test for "--dired"
3925         stronger.
3926         (tramp-set-auto-save-file-modes): Adapt version check.
3927         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
3928         (tramp-handle-process-file): Call the program in a subshell, in
3929         order to preserve working directory.
3930         (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
3931         `tramp-remote-sh' from `tramp-methods'.
3932         (tramp-get-ls-command): Make test for "--color=never" stronger.
3933         (tramp-check-for-regexp): Use (forward-line 1).
3935         * net/trampver.el: Update release number.
3937 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
3939         * help.el (help-map): Bind `C-h P' to describe-package.
3941         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
3943         * emacs-lisp/package.el (package-refresh-contents): Catch errors
3944         when downloading archives.
3945         (describe-package-1): Add package commentary.
3946         (package-install-button-action): New function.
3947         (package-menu-mode-map): Bind ? to package-menu-describe-package.
3948         (package-menu-view-commentary): Function removed.
3949         (package-list-packages-internal): Hide the `package' package too.
3951 2010-08-25  Kenichi Handa  <handa@m17n.org>
3953         * language/misc-lang.el ("Arabic"): New language environment.
3954         Setup composition-function-table for Arabic characters.
3956         * international/fontset.el (setup-default-fontset): Fix typo for
3957         arabic OTF spec (fini->fina).
3959 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
3961         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
3962         on all frames.
3964 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3966         * whitespace.el: Allow cleaning up blanks without blank
3967         visualization (Bug#6651).  Adjust help window for
3968         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
3969         instead of whitespace-line-column (from EmacsWiki).  New version
3970         13.1.
3971         (whitespace-style): Added new value 'face.  Adjust docstring.
3972         (whitespace-space, whitespace-hspace, whitespace-tab): Adjust
3973         foreground property face.
3974         (whitespace-line-column): Adjust docstring and type declaration.
3975         (whitespace-style-value-list, whitespace-toggle-option-alist)
3976         (whitespace-help-text): Adjust const initialization.
3977         (whitespace-toggle-options, global-whitespace-toggle-options):
3978         Adjust docstring.
3979         (whitespace-display-window, whitespace-interactive-char)
3980         (whitespace-style-face-p, whitespace-color-on): Adjust code.
3981         (whitespace-help-scroll): New fun.
3983 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
3985         * emacs-lisp/package.el (list-packages): Alias for
3986         package-list-packages.
3988 2010-08-24  Kevin Ryde  <user42@zip.com.au>
3990         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
3991         (Bug#5651).
3993         * progmodes/ruby-mode.el (ruby): Add defgroup.
3995 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
3997         * progmodes/python.el: Add Ipython support (Bug#5390).
3998         (python-shell-prompt-alist)
3999         (python-shell-continuation-prompt-alist): New options.
4000         (python--set-prompt-regexp): New function.
4001         (inferior-python-mode, run-python, python-shell): Require
4002         ansi-color.  Use python--set-prompt-regexp to set the comint
4003         prompt based on the Python interpreter.
4004         (python--prompt-regexp): New var.
4005         (python-check-comint-prompt)
4006         (python-comint-output-filter-function): Use it.
4007         (run-python): Use a pipe (Bug#5694).
4009 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
4011         * progmodes/python.el (python-send-region): Send a different
4012         Python command if Ipython is in use.
4013         (python-check-version): Use a Python command to find the version.
4015 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
4017         * mouse.el (mouse-yank-primary): Avoid setting primary when
4018         deactivating the mark (Bug#6872).
4020 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
4022         * progmodes/python.el (python-block-pairs): Allow use of "finally"
4023         with "else" (Bug#3991).
4025 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
4027         * net/dbus.el: Accept UNIX domain sockets as bus address.
4028         (top): Don't initialize `dbus-registered-objects-table' anymore,
4029         this is done in dbusbind,c.
4030         (dbus-check-event): Adapt test for bus.
4031         (dbus-return-values-table, dbus-unregister-service)
4032         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
4033         Adapt doc string.
4035 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
4037         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
4039 2010-08-22  Juri Linkov  <juri@jurta.org>
4041         * simple.el (read-extended-command): New function with the logic
4042         for `completing-read' moved to Elisp from `execute-extended-command'.
4043         Use `function-called-at-point' in `minibuffer-default-add-function'
4044         to get a command name for M-n (bug#5364, bug#5214).
4046 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
4048         * startup.el (command-line-1): Issue warning for ignored arguments
4049         --unibyte, etc (Bug#6886).
4051 2010-08-22  Leo  <sdl.web@gmail.com>
4053         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
4054         (ignore, bright, dim, keyword): Split list of nicknames before
4055         passing to rcirc-add-or-remove (Bug#6894).
4057 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
4059         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
4061 2010-08-22  Leo  <sdl.web@gmail.com>
4063         Fix buffer-list rename&refresh after killing a buffer in ido.
4064         * ido.el: Revert Óscar's.
4065         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
4066         Remember the buffers at head, rather than their name.
4067         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
4069 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
4070             Stefan Monnier  <monnier@iro.umontreal.ca>
4072         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
4073         extra backslash added to each line (bug#6890).
4075 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4077         * subr.el (read-key): Don't echo keystrokes (bug#6883).
4079 2010-08-22  Glenn Morris  <rgm@gnu.org>
4081         * menu-bar.el (menu-bar-games-menu): Add landmark.
4083 2010-08-22  Glenn Morris  <rgm@gnu.org>
4085         * align.el (align-regexp): Make group and spacing arguments
4086         use the interactive defaults when non-interactive.  (Bug#6698)
4088         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
4089         expansion, so as not to need sendmail.
4090         (mail-text-start): Remove declaration.
4091         (rmail-retry-failure): Require sendmail.
4093 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
4095         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
4097 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
4099         * progmodes/flymake.el (flymake-start-syntax-check-process):
4100         Use `start-file-process' in order to let it run also on remote hosts.
4102 2010-08-22  Kenichi Handa  <handa@m17n.org>
4104         * files.el: Add `word-wrap' as safe local variable.
4106 2010-08-22  Glenn Morris  <rgm@gnu.org>
4108         * woman.el (woman-translate): Case matters.  (Bug#6849)
4110 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
4112         * simple.el (kill-region): Doc fix (Bug#6787).
4114 2010-08-22  Glenn Morris  <rgm@gnu.org>
4116         * calendar/diary-lib.el (diary-header-line-format):
4117         Fit it to the window, not the frame.
4119 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
4121         * subr.el (ignore-errors): Add debug declaration.
4123 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
4125         * whitespace.el (whitespace-color-off): Remove post-command-hook
4126         locally.
4128 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4130         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
4132 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
4134         * cus-edit.el (custom-group-value-create): Add extra newline
4135         before end line (Bug#6876).
4137 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
4139         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
4140         when extending it.  Before killing on the second click, check if
4141         the buffer is the correct one.  Doc fix.
4142         (mouse-secondary-save-then-kill): Allow usage without first
4143         calling mouse-start-secondary, by defaulting to point.  Don't save
4144         an empty secondary selection.  Doc fix.
4146 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4148         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
4149         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
4150         New version 13.0.
4151         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
4152         Adjust initialization.
4153         (whitespace-bob-marker, whitespace-eob-marker)
4154         (whitespace-buffer-changed): New vars.
4155         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
4156         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
4157         (whitespace-post-command-hook, whitespace-display-char-on):
4158         Adjust code.
4159         (whitespace-looking-back, whitespace-buffer-changed): New funs.
4160         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
4162 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4164         * files.el (locate-file-completion-table): Only list the .el and .elc
4165         extensions if there's no other choice (bug#5955).
4167         * facemenu.el (facemenu-self-insert-data): New var.
4168         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
4169         New functions.
4170         (facemenu-add-face): Use them.
4172         * simple.el (blink-matching-open): Obey forward-sexp-function.
4174 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4176         * simple.el (prog-mode-map): New var.
4177         (prog-indent-sexp): New command.
4179         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
4181         * progmodes/prolog.el (smie): Require.
4183         * emacs-lisp/smie.el (smie-default-backward-token)
4184         (smie-default-forward-token): Strip properties.
4185         (smie-next-sexp): Be more careful with associative operators.
4186         (smie-forward-sexp-command): Generalize.
4187         (smie-backward-sexp-command): Simplify.
4188         (smie-closer-alist): New var.
4189         (smie-close-block): New command.
4190         (smie-indent-debug-log): New var.
4191         (smie-indent-offset-rule): Add a few more cases.
4192         (smie-indent-column): New function.
4193         (smie-indent-after-keyword): Use it.
4194         (smie-indent-keyword): Use it.
4195         Fix up the opener code's point position.
4196         (smie-indent-comment): Only applies at BOL.
4197         (smie-indent-debug): New command.
4199         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
4200         declarations that are useful before running the macro.
4202 2010-08-18  Joakim Verona  <joakim@verona.se>
4204         * image.el (imagemagick-types-inhibit): New variable.
4205         (imagemagick-register-types): New function.
4206         * image-mode.el (image-transform-properties): New function.
4207         (image-transform-set-scale, image-transform-fit-to-height)
4208         (image-transform-set-rotation, image-transform-set-resize)
4209         (image-transform-fit-to-width, image-transform-fit-to-height):
4210         New functions.
4211         (image-toggle-display-image): Support image transforms.
4213 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
4215         * image.el (create-animated-image): Don't add heuristic mask to image
4216         (Bug#6839).
4218 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
4220         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
4221         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
4223 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4225         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
4227         Font-lock '...' strings, plus various simplifications and fixes.
4228         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4229         (octave-font-lock-close-quotes): New function.
4230         (octave-font-lock-syntactic-keywords): New var.
4231         (octave-mode): Use it.  Set beginning-of-defun-function.
4232         (octave-mode-map): Don't override the <foo>-defun commands.
4233         (octave-mode-menu): Pass it directly to easy-menu-define;
4234         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
4235         (octave-block-match-alist): Fix up last change so that
4236         octave-close-block uses the more specific keyword.
4237         (info-lookup-mode): Silence byte-compiler.
4238         (octave-beginning-of-defun): Not interactive any more.
4239         Optimize slightly.
4240         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
4241         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
4242         (octave-completion-at-point-function): Make sure point is within
4243         beg..end.
4244         (octave-reindent-then-newline-and-indent):
4245         Use reindent-then-newline-and-indent.
4246         (octave-add-octave-menu): Remove.
4248 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
4250         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
4251         (report-emacs-bug-can-use-xdg-email): New functions.
4252         (report-emacs-bug): Set can-xdg-email to result of
4253         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
4254         \C-cm to report-emacs-bug-insert-to-mailer and add help text
4255         about it.
4257         * net/browse-url.el (browse-url-default-browser): Add cond
4258         for browse-url-xdg-open.
4259         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
4261 2010-08-17  Glenn Morris  <rgm@gnu.org>
4263         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
4264         (c-fontify-recorded-types-and-refs): Define for compiler.
4265         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
4266         before use.
4268         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
4269         Fix format call.
4271 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
4273         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
4274         properties.
4275         (tramp-handle-process-file): Call the program in a subshell, in
4276         order to preserve working directory.
4277         (tramp-action-password): Hide password prompt before next run.
4278         (tramp-process-actions): Widen connection buffer for the trace.
4280 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
4282         * net/rcirc.el (rcirc-log-process-buffers): New option.
4283         (rcirc-print): Use it.
4284         (rcirc-generate-log-filename): New function.
4285         (rcirc-log-filename-function): Change default to
4286         rcirc-generate-log-filename (Bug#6828).
4288 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
4290         * simple.el (deactivate-mark): If select-active-regions is `only',
4291         only set selection for temporarily active regions.
4293         * cus-start.el: Change defcustom for select-active-regions.
4295 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
4297         * mouse.el (mouse--drag-set-mark-and-point): New function.
4298         (mouse-drag-track): Use LOCATION arg to push-mark.
4299         Use mouse--drag-set-mark-and-point to take click-count into
4300         consideration when updating point and mark (Bug#6840).
4302 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
4304         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4305         Give the Ruby rule a lower priority than Gnu (Bug#6778).
4307 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
4309         * font-lock.el (lisp-font-lock-keywords-2):
4310         Add combine-after-change-calls, condition-case-no-debug,
4311         with-demoted-errors, and with-silent-modifications (Bug#6025).
4313 2010-08-14  Kevin Ryde  <user42@zip.com.au>
4315         * emacs-lisp/copyright.el (copyright-update-year)
4316         (copyright-update): Temporary switch-to-buffer to ensure the
4317         buffer change being queried is visible (Bug#5394).
4319 2010-08-14  Tom Tromey  <tromey@redhat.com>
4321         * progmodes/etags.el (tags-file-name): Mark safe if stringp
4322         (Bug#6733).
4324 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
4326         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
4327         MS-DOS.  (Bug#6689)
4329 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
4331         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
4332         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
4333         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
4334         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
4335         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
4336         Call menu-bar-set-tool-bar-position.
4338 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4340         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
4341         comment style (bug#6834).
4342         * progmodes/scheme.el (scheme-mode-syntax-table):
4343         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
4344         "b" flag in "' 14b" syntax.
4346         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
4347         for (un)commenting the region and performing completion.
4348         (octave-mode-menu): Use standard commands for help and completion.
4349         (octave-mode-syntax-table): Support %{..%} comments (sort of).
4350         (octave-mode): Use define-derived-mode.
4351         Set completion-at-point-functions and don't set columns.
4352         Don't disable adaptive-fill-regexp.
4353         (octave-describe-major-mode, octave-comment-region)
4354         (octave-uncomment-region, octave-comment-indent)
4355         (octave-indent-for-comment): Remove.
4356         (octave-indent-calculate): Rename from calculate-octave-indent.
4357         (octave-indent-line, octave-fill-paragraph): Update caller.
4358         (octave-initialize-completions): No need to make an alist.
4359         (octave-completion-at-point-function): New function.
4360         (octave-complete-symbol): Use it.
4361         (octave-insert-defun): Use define-skeleton.
4363         * progmodes/octave-mod.el (octave-mode): Set comment-add.
4364         (octave-mode-map): Use comment-dwim (bug#6829).
4366 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
4368         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
4369         indentation of inserted comment.
4371 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
4373         * faces.el (region): Add type gtk that uses gtk colors.
4375         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
4376         Handle theme-name change.
4378 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
4380         * progmodes/sql.el: Version 2.5
4381         (sql-product-alist): Add :prompt-cont-regexp property for several
4382         database products.
4383         (sql-prompt-cont-regexp): New variable.
4384         (sql-output-newline-count, sql-output-by-send):
4385         New variables.  Record number of newlines in input text.
4386         (sql-send-string): Handle multiple filters and count newlines.
4387         (sql-send-magic-terminator): Count terminator newline.
4388         (sql-interactive-remove-continuation-prompt): Filters output to
4389         remove continuation prompts; one for each newline.
4390         (sql-interactive-mode): Set up new variables, prompt regexp and
4391         output filter.
4392         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
4393         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
4395 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4397         * emacs-lisp/pcase.el: New file.
4399 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
4401         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
4402         as here-document, otherwise the command could exceed maximum
4403         length of command line.
4404         (tramp-handle-vc-registered): Call script accordingly.
4405         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
4407 2010-08-10  Kenichi Handa  <handa@m17n.org>
4409         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
4410         composable pattern.
4412 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
4414         * emacs-lisp/package.el (package-version-split)
4415         (package--version-first-nonzero, package-version-compare):
4416         Functions removed.
4417         (package-directory-list, package-load-all-descriptors)
4418         (package--built-in, package-activate, define-package)
4419         (package-installed-p, package-compute-transaction)
4420         (package-read-all-archive-contents)
4421         (package--add-to-archive-contents, package-buffer-info)
4422         (package-tar-file-info, package-list-packages-internal):
4423         Use version-to-list and version-list-*.
4425         * emacs-lisp/package-x.el (package-upload-buffer-internal):
4426         Use version-to-list.
4427         (package-upload-buffer-internal): Use version-list-<=.
4429 2010-08-09  Kenichi Handa  <handa@m17n.org>
4431         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
4432         composable pattern.
4434 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
4436         * tutorial.el (tutorial--default-keys): C-d is now bound to
4437         delete-forward-char (Bug#6826).
4439         * mouse.el (mouse-drag-track): Remove accidentally-removed check
4440         for `double' value of mouse-1-click-follows-link (Bug#6807).
4442 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
4444         * replace.el (replace-highlight): Bind isearch-forward and
4445         isearch-error, ensuring that highlighting is updated if the user
4446         switches the search direction (Bug#6808).
4448         * isearch.el (isearch-lazy-highlight-forward): New var.
4449         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4450         (isearch-lazy-highlight-update): Use it.
4452 2010-08-08  Kenichi Handa  <handa@m17n.org>
4454         * international/mule.el (define-charset): Store NAME as :base property.
4455         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
4456         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
4457         current priority.  Force using the designation of the specific
4458         charset by adding `charset' text property.  Improve the whole algorithm.
4460 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
4462         * emulation/pc-select.el (pc-selection-mode-hook)
4463         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
4464         (pc-selection-mode): Fix typos in docstrings.
4466 2010-08-08  Kenichi Handa  <handa@m17n.org>
4468         * language/cyrillic.el: Don't add "microsoft-cp1251" to
4469         ctext-non-standard-encodings-alist here.
4471         * international/mule.el (ctext-non-standard-encodings-alist):
4472         Add "koi8-r" and "microsoft-cp1251".
4473         (ctext-standard-encodings): New variable.
4474         (ctext-non-standard-encodings-table): List only elements for
4475         non-standard encodings.
4476         (ctext-pre-write-conversion): Adjust for the above change.
4477         Check ctext-standard-encodings.
4479         * international/mule-conf.el (compound-text): Doc fix.
4480         (ctext-no-compositions): Doc fix.
4481         (compound-text-with-extensions): Doc fix.
4483 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4485         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
4487 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
4489         * progmodes/which-func.el (which-func-format): Split help-echo text
4490         into lines, like other mode-line tooltips.
4492         * server.el (server-start): When using TCP sockets, force IPv4
4493         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
4495 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4497         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
4499 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
4501         * term.el (term-delimiter-argument-list): Reflow docstring.
4502         (term-read-input-ring, term-write-input-ring, term-send-input)
4503         (term-bol, term-erase-in-display, serial-supported-or-barf):
4504         Fix typos in docstrings.
4506 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4508         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
4510 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
4512         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
4514 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
4516         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
4517         Fix typo in docstring (bug#6747).
4519 2010-08-08  Leo  <sdl.web@gmail.com>
4521         * eshell/esh-io.el (eshell-get-target): Better detection of
4522         read-only file (Bug#6762).
4524 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
4526         * align.el (align-default-spacing): Doc fix.
4527         (align-region-heuristic, align-regexp): Fix typos in docstrings.
4529 2010-08-08  Stephen Peters  <speters@itasoftware.com>
4531         * calendar/icalendar.el
4532         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
4533         (icalendar--get-weekday-numbers): New.
4534         (icalendar--convert-recurring-to-diary): Handle multiple byday
4535         values in weekly rules.  (Bug#6766)
4537 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
4539         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
4540         (icalendar--create-uid, icalendar-export-region)
4541         (icalendar--parse-summary-and-rest): Code formatting.
4543 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
4545         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
4546         to italicize headers.
4547         (calc-highlight-selections-with-faces): New variable.
4548         (calc-selected-face, calc-nonselected-face): New faces.
4550         * calc/calccomp.el (math-comp-highlight-string): Use
4551         `calc-highlight-selections-with-faces' to determine how to highlight
4552         sub-formulas.
4554         * calc/calc-sel.el (calc-show-selections): Change message to when
4555         using faces to highlight selections.
4557 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
4559         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
4560         Add SQLite 3 keywords, functions and datatypes.
4561         (sql-interactive-mode): Remove `comint-process-echoes' set to t
4562         (Bug#6686).
4564 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
4566         * simple.el (select-active-regions): Move to keyboard.c.
4567         (deactivate-mark): Used saved-region-selection.
4568         (select-active-region): Function removed.
4569         (activate-mark, set-mark, push-mark-command)
4570         (handle-shift-selection): Don't call it.
4571         (keyboard-quit): Avoid adding the region to the window selection.
4573         * mouse.el (mouse-drag-track): Remove hacks to deal with old
4574         select-active-regions implementation.
4575         (mouse-yank-at-click): Doc fix.
4577         * cus-start.el: Add custom declaration for select-active-regions.
4579 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
4581         * simple.el (delete-forward-char): Doc fix.
4583         * tutorial.el (help-with-tutorial): Hack safe file-local variables
4584         after reading the tutorial.
4586 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
4588         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
4589         for the case that a C style comment has its delimiters alone on
4590         their respective lines.
4592 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
4594         * net/tramp.el (tramp-handle-start-file-process): Set connection
4595         property "vec".
4596         (tramp-process-sentinel): Use it for flushing the cache.  We
4597         cannot do it via the process buffer, the buffer could be deleted
4598         already when running the sentinel.
4600 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
4602         * comint.el (comint-mode): Make directory tracking functions
4603         functional on remote files.  (Bug#6764)
4605 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
4607         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
4609 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
4611         * emacs-lisp/find-gc.el (find-gc-source-files): Rename
4612         unexec.c => unexcoff.c.
4614         * emacs-lisp/authors.el (authors-fixed-entries): Rename
4615         unexec.c => unexcoff.c.
4617 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
4619         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
4620         cache, not only file cache.
4621         (tramp-process-sentinel): New defun.
4622         (tramp-handle-start-file-process): Use it, in order to invalidate
4623         file caches.
4625 2010-08-03  Leo  <sdl.web@gmail.com>
4627         * server.el (server-start): Simplify loop.
4629 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4631         * frame.el (screen-height, screen-width, set-screen-width)
4632         (set-screen-height): Remove ancient compatibility aliases.
4634         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
4635         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
4637         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
4638         that change current buffer.
4640 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
4642         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
4643         beginning of the string.  Use `string-match-p'.  (Bug#6765)
4645 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
4647         * cus-start.el (x-gtk-use-system-tooltips): New variable.
4649 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
4651         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
4652         (package--builtins): Tweak descriptions.
4653         (package-print-package): Upcase descriptions if necessary.
4654         Show all built-in packages in font-lock-builtin-face.
4655         (package-list-packages-internal): Omit "emacs" package.
4656         Show status of built-in packages as "built-in".
4658 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
4660         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
4661         before killing to preserve the primary selection (Bug#6701).
4663         * term/x-win.el (x-select-text): Doc fix.
4665 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
4667         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
4668         The following functions were modified or created:
4670         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
4671         (objc-font-lock-extra-types):
4672         * progmodes/cc-mode.el (c-basic-common-init):
4673         * progmodes/cc-langs.el (c-make-mode-syntax-table)
4674         (c++-make-template-syntax-table)
4675         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
4676         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
4677         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
4678         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
4679         * progmodes/cc-fonts.el (c-make-inverse-face)
4680         (c-basic-matchers-after):
4681         * progmodes/cc-engine.el (c-forward-keyword-clause)
4682         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
4683         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
4684         (c-guess-continued-construct, c-guess-basic-syntax):
4686 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
4688         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
4690 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
4692         * files.el (bidi-paragraph-direction): Define safe local values.
4694         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
4695         language-info-alist.  Remove outdated FIXME in a comment.
4697 2010-07-31  Alan Mackenzie  <acm@muc.de>
4699         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
4700         Auto-fill broken in C/C++ modes.
4702 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
4704         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
4705         (menu-bar-showhide-tool-bar-menu-customize-disable)
4706         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
4707         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
4708         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
4709         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
4710         make a menu for Options => toolbar that can move it.
4712 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
4714         * emacs-lisp/package-x.el (package--make-rss-entry):
4715         (package-maint-add-news-item, package--update-news)
4716         (package-upload-buffer-internal): New arg ARCHIVE-URL.
4718         * emacs-lisp/package.el (package-archive-url): Rename from
4719         package-archive-id.
4720         (package-install): Doc fix.
4721         (package-download-single, package-download-tar, package-install)
4722         (package-menu-view-commentary): Callers changed.
4724 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
4726         * net/tramp.el (tramp-handle-start-file-process): Check only for
4727         `remote-tty' process property.
4728         (tramp-open-shell): Don't check for tty.
4729         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
4730         process property.
4732         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
4733         host.
4735 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
4737         * emacs-lisp/package.el (package-load-list, package-archives)
4738         (package-archive-contents, package-user-dir)
4739         (package-directory-list, package--builtins, package-alist)
4740         (package-activated-list, package-obsolete-alist): Mark as risky.
4742 2010-07-28  Phil Hagelberg  <phil@evri.com>
4744         Add support for non-default package repositories.
4745         * emacs-lisp/package.el (package-archive-base): Var deleted.
4746         (package-archives): New variable.
4747         (package-archive-contents): Doc fix.
4748         (package-load-descriptor): Do nothing if descriptor file is missing.
4749         (package--write-file-no-coding): New function.
4750         (package-unpack-single): Use it.
4751         (package-archive-id): New function.
4752         (package-download-single, package-download-tar)
4753         (package-menu-view-commentary): Use it.
4754         (package-installed-p): Make second argument optional.
4755         (package-read-all-archive-contents): New function.
4756         (package-initialize): Use it.
4757         (package-read-archive-contents): Add ARCHIVE argument.
4758         (package--add-to-archive-contents): New function.
4759         (package-install): Don't call package-read-archive-contents.
4760         (package--download-one-archive): Store archive file in a
4761         subdirectory of package-user-dir.
4762         (package-menu-execute): Remove spurious line movement.
4764 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
4766         * cus-start.el (tool-bar-style): Add text-image-horiz.
4768 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
4770         * progmodes/gud.el (gud-common-init): Check for remoteness of
4771         `file', and not of `default-directory'.
4773 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
4775         * net/tramp.el (tramp-methods): Move hostname to the end in all
4776         ssh `tramp-login-args'.
4777         (tramp-verbose): Describe verbose level 9.
4778         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
4779         (tramp-open-connection-setup-interactive-shell): Trace stty
4780         settings if `tramp-verbose' >= 9.
4781         (tramp-handle-start-file-process): Implement tty setting.
4782         (Bug#4604, Bug#6360)
4784         * net/tramp-cmds.el (tramp-bug): Recommend setting of
4785         `tramp-verbose' to 9.
4787 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
4789         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
4790         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
4791         Remove references to package `lisp-re' (bug#4369).
4793 2010-07-27  Tom Tromey  <tromey@redhat.com>
4795         * progmodes/js.el (js-mode):
4796         * progmodes/make-mode.el (makefile-mode):
4797         * progmodes/simula.el (simula-mode):
4798         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
4800 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
4802         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
4804         * time.el (display-time-day-and-date): Remove spurious * in docstring.
4805         (display-time-world-buffer-name, display-time-world-mode-map):
4806         Fix typos in docstrings.
4808 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
4810         * image-mode.el (image-display-size): New function.
4811         (image-forward-hscroll, image-next-line, image-eol, image-eob)
4812         (image-mode-fit-frame): Use it (Bug#6639).
4814 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
4816         * dired.el (dired-buffers-for-dir): Handle list values of
4817         dired-directory (Bug#6636).
4819 2010-07-26  Sam Steingold  <sds@gnu.org>
4821         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
4822         Do not call `x-get-selection' the second time, reuse the value.
4824 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
4826         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
4827         which consist of control chars only.  Suggested by Richard Stallman.
4829 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
4831         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
4832         exists before passing an error to find-file-not-found-functions
4833         (bug#6723).
4835 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
4837         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
4838         Remove leading nil element, adjust values.
4839         (tetris-shapes, tetris-shape-scores):
4840         Change representation of shapes and remove some redundancy.
4841         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
4842         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
4843         Adjust for working with new representation of shapes.
4844         (tetris-shape-rotations): New function.
4845         (tetris-move-bottom, tetris-move-left, tetris-move-right)
4846         (tetris-rotate-prev, tetris-rotate-next):
4847         Adjust for working with the new version of tetris-test-shape.
4849 2010-07-23  Markus Triska  <markus.triska@gmx.at>
4851         * progmodes/ps-mode.el: Use comint (bug#5954).
4852         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
4853         (ps-mode-other-newline): Simplify.
4854         (ps-run-mode): Derive from comint-mode instead of
4855         fundamental-mode, yielding input history etc.
4856         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
4857         (ps-run-send-string): Adapt for comint-mode.
4858         (ps-run-newline): Remove now unneeded function.
4860 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
4862         * net/tramp.el (tramp-methods): Move hostname to the end in all
4863         plink `tramp-login-args'.
4865 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
4867         * net/tramp.el (tramp-open-shell): New defun.
4868         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4869         Use it.
4871 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
4873         * net/tramp.el (tramp-file-name-regexp-unified)
4874         (tramp-completion-file-name-regexp-unified): On W32 systems, do
4875         not regard the volume letter as remote filename.  (Bug#5447)
4877 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
4879         * custom.el (custom-declare-variable): Give a clearer error message
4880         when the docstring is missing (bug#6476).
4882 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
4884         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
4885         (sql-login-params): New widget definition.
4886         (sql-oracle-login-params, sql-mysql-login-params)
4887         (sql-solid-login-params, sql-sybase-login-params)
4888         (sql-informix-login-params, sql-ingres-login-params)
4889         (sql-ms-login-params, sql-postgres-login-params)
4890         (sql-interbase-login-params, sql-db2-login-params)
4891         (sql-linter-login-params): Use it.
4892         (sql-sqlite-login-params): Use it; Define "database" parameter as
4893         a file name.
4894         (sql-sqlite-program): Change to "sqlite3".
4895         (sql-comint-sqlite): Make sure database name is complete.
4896         (sql-for-each-login): New function.
4897         (sql-connect, sql-save-connection): Use it.
4898         (sql-get-login-ext): New function.
4899         (sql-get-login): Use it.
4900         (sql-make-alternate-buffer-name): Handle :file parameters.
4902 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
4904         * dired.el (dired-no-confirm): Document value t and fix defcustom to
4905         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
4907 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
4909         * dired.el (dired-mode-map): Use command remapping (bug#6632).
4911 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
4913         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
4915 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
4917         * net/tramp.el (tramp-get-ls-command)
4918         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
4919         instead of "/".
4921 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
4923         * progmodes/sql.el: Version 2.3.
4924         (sql-connection-alist): Changed keys from symbols to strings;
4925         enhanced the widget definition.
4926         (sql-mode-menu): Added submenu to select connections.
4927         (sql-interactive-mode-menu): Added "Save Connection" item.
4928         (sql-add-product): Fixed menu item.
4929         (sql-get-product-feature): Improved error handling.
4930         (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
4931         (sql-make-alternate-buffer-name): Simplified.
4932         (sql-product-interactive): Handle missing product.
4933         (sql-connect): Support string keys, minor improvements.
4934         (sql-save-connection): New function.
4935         (sql-connection-menu-filter): New function.
4937 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
4939         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
4940         (tramp-open-connection-setup-interactive-shell): Apply
4941         workaround for IRIX64 bug.  Move argument of last
4942         `tramp-send-command' where it belongs to.
4944 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
4946         * net/tramp.el (tramp-perl-file-attributes)
4947         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
4948         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
4949         front of `login-args'.
4951 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
4953         * time.el (display-time-world-mode): Define with `define-derived-mode'.
4954         Set `show-trailing-whitespace' to nil.
4955         (display-time-world-display): Simplify.
4957 2010-07-18  Alan Mackenzie  <acm@muc.de>
4959         Enhance `c-file-style' in file/directory local variables.
4960         * progmodes/cc-mode.el (c-count-cfss): New function.
4961         (c-before-hack-hook): Call `c-set-style' differently according to
4962         whether c-file-style was set in file or directory local
4963         variables.
4965 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
4967         * progmodes/sql.el: Version 2.2.
4968         (sql-product, sql-user, sql-database, sql-server, sql-port): Use
4969         defcustom :safe keyword rather than putting safe-local-variable
4970         property.
4971         (sql-password): Use defcustom :risky keyword rather than putting
4972         risky-local-variable property.
4973         (sql-oracle-login-params, sql-sqlite-login-params)
4974         (sql-solid-login-params, sql-sybase-login-params)
4975         (sql-informix-login-params, sql-ingres-login-params)
4976         (sql-ms-login-params, sql-postgres-login-params)
4977         (sql-interbase-login-params, sql-db2-login-params)
4978         (sql-linter-login-params): Add `port' option.
4979         (sql-get-product-feature): Added NO-INDIRECT parameter.
4980         (sql-comint-oracle, sql-comint-sybase)
4981         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
4982         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
4983         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
4984         (sql-comint-linter): Renamed sql-connect-* functions to
4985         sql-comint-*.
4986         (sql-product-alist, sql-mode-menu): Renamed as above and
4987         :sqli-connect-func to :sqli-comint-func.
4988         (sql-connection): New variable.
4989         (sql-interactive-mode): Set it.
4990         (sql-connection-alist): New variable.
4991         (sql-connect): New function.
4992         (sql--alt-buffer-part, sql--alt-if-not-empty)
4993         (sql-make-alternate-buffer-name): Improved alternative buffer name.
4995 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
4997         * image-mode.el (image-bookmark-make-record): Do not set context
4998         in an image (Bug#6650).
5000 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
5002         * simple.el (select-active-region): New function.
5003         (push-mark-command, set-mark, activate-mark)
5004         (handle-shift-selection): Use it.
5005         (deactivate-mark): Don't check for size of region.
5007         * mouse.el (mouse-drag-track): Use select-active-region.
5009 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
5011         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
5012         "--dired" stronger.
5014 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
5016         * term/x-win.el (x-select-enable-primary): Change default to nil.
5017         (x-select-enable-clipboard): Add :version keyword.
5019         * mouse.el (mouse-drag-copy-region):
5020         * simple.el (select-active-regions): Likewise.
5022 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
5024         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
5025         (vc-coding-system-for-diff): Use it to decide whether to inherit
5026         from the file the EOL format for reading the diffs of that file.
5027         (Bug#4451)
5029 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
5031         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
5032         unibyte, so compressed attachments are not compressed again.
5034 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
5036         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
5037         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
5038         (tramp-find-shell): Simplify setting connection property.
5039         (tramp-get-ls-command): Make test for "--color=never" stronger.
5041 2010-07-15  Simon South  <ssouth@member.fsf.org>
5043         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
5044         blocks within record declarations (i.e. variant parts) correctly.
5046 2010-07-15  Simon South  <ssouth@member.fsf.org>
5048         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
5049         over literal tokens when parsing so newlines aren't "absorbed" by
5050         single-line comments.  Corrects the indentation of case blocks
5051         that have a comment on the first line.
5053 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
5055         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
5056         by Drew Adams (Bug#5504).
5058 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
5060         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
5061         now that Unicode is used (Bug#6594).
5063 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
5065         * term/x-win.el (x-select-enable-clipboard): Default to t.
5066         (x-initialize-window-system): Don't overwrite Paste menu item.
5068         * simple.el (select-active-regions): Default to t.
5069         (push-mark-command): Don't overwrite primary with empty string.
5071         * mouse.el: Bind mouse-2 to mouse-yank-primary.
5072         (mouse-drag-copy-region): Default to nil.
5074         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
5075         Cut/Copy/Paste menu bar items.
5077 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5079         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
5080         Patch applied by Karl Fogel.
5082         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
5083         and `bookmark-current-buffer' if they have been already set in
5084         another buffer (e.g gnus-art).
5086 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
5087             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5089         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
5091         * bookmark.el (bookmark-make-record-default): Allow unneeded
5092         information to be omitted from the record.
5094         Adjust declarations and calls:
5096         * info.el (bookmark-make-record-default): Adjust declaration.
5097         (Info-bookmark-make-record): Adjust call.
5099         * woman.el (bookmark-make-record-default): Adjust declaration.
5100         (woman-bookmark-make-record): Adjust call.
5102         * man.el (bookmark-make-record-default): Adjust declaration.
5103         (Man-bookmark-make-record): Adjust call.
5105         * image-mode.el (bookmark-make-record-default): Adjust declaration.
5107         * doc-view.el (bookmark-make-record-default): Adjust declaration.
5109 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
5111         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
5112         This is also from Thierry Volpiatto's patch in bug #6444.  However,
5113         because it was extraneous to the functional change in that patch,
5114         and causes a re-indendation, I am committing it separately.
5116 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5118         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
5119         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
5120         Patch applied by Karl Fogel (Bug#6444).
5122 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
5124         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
5126 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
5128         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
5129         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
5130         (ns-alternatives-map): Change S-tab binding to backtab
5131         (bug#6616).
5133         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
5134         under ns.
5136 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
5138         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
5139         (Bug#5806)
5141         * language/tv-util.el (tai-viet-re): Remove format.
5143 2010-07-12  Kenichi Handa  <handa@m17n.org>
5145         * language/hebrew.el: Remove no-byte-compile declaration.
5146         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
5147         composition-function-table for 3-character looking back.
5148         (hebrew-font-get-precomposed): New function.
5149         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
5151 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
5153         * mouse.el (mouse-drag-track): Handle select-active-regions
5154         (Bug#6612).
5156 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
5158         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5159         empty argument to gvfs-copy.
5161 2010-07-10  Glenn Morris  <rgm@gnu.org>
5163         * calendar/calendar.el (calendar-week-end-day): New function.
5164         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
5165         Respect calendar-week-start-day.  (Bug#6606)
5166         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
5167         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
5168         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
5169         respect calendar-week-start-day.
5171 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
5173         * simple.el (use-region-p): Doc fix (Bug#6607).
5175 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
5177         * progmodes/compile.el (compilation-error-regexp-alist-alist): Add
5178         regexps for cucumber and ruby.
5180 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
5182         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
5183         (epa-file-insert-file-contents): Hack to prevent
5184         find-file from opening empty buffer when decryption failed
5185         (bug#6568).
5187 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
5189         * textmodes/ispell.el (ispell-alternate-dictionary):
5190         Use file-readable-p.
5191         Return nil if no word-list is found at default locations.
5192         (ispell-complete-word-dict): Default to nil.
5193         (ispell-command-loop): Use 'word-list' when using lookup-words.
5194         (lookup-words): Use ispell-complete-word-dict or
5195         ispell-alternate-dictionary.  Check for word-list availability
5196         and handle errors if needed with better messages (Bug#6539).
5197         (ispell-complete-word): Use ispell-complete-word-dict or
5198         ispell-alternate-dictionary.
5200 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
5202         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
5203         builtins (BufferError, BytesWarning, WindowsError; callables
5204         bin, bytearray, bytes, format, memoryview, next, print; __package__).
5206 2010-07-07  Glenn Morris  <rgm@gnu.org>
5208         * play/zone.el (top-level): Do not require timer, tabify, or cl.
5209         (zone-shift-left): Ignore intangibility, and any errors from
5210         forward-char.
5211         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
5212         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
5213         deleting, and copying text properties.
5214         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
5215         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
5216         to point-max is hard.
5217         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
5218         (zone-fill-out-screen): Ignore intangibility.
5220 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
5222         * menu-bar.el (menu-bar-mode):
5223         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
5224         if it has been set.
5226         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
5227         word/line selection (Bug#6565).
5229 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
5231         * net/dbus.el (dbus-send-signal): Declare function.
5233 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
5235         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
5236         (dbus-register-property): New optional argument EMITS-SIGNAL.
5237         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
5239 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
5241         * mouse.el (mouse-drag-overlay): Variable deleted.
5242         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
5243         (mouse--remap-link-click-p): New function.
5244         (mouse-drag-track): Handle dragging by using temporary Transient
5245         Mark mode, instead of a special overlay.
5246         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
5247         mouse-show-mark.
5249         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
5250         deleted.
5252 2010-07-02  Juri Linkov  <juri@jurta.org>
5254         * autoinsert.el (auto-insert-alist): Fix readability
5255         by using dotted pair notation for lambda.
5257 2010-07-02  Juri Linkov  <juri@jurta.org>
5259         * faces.el (read-face-name): Rename arg `string-describing-default'
5260         to `default'.  Doc fix.  Display the default value in quotes
5261         in the prompt.  With empty input, return the `default' arg,
5262         unless the default value is a string (in which case return nil).
5263         (describe-face): Replace the string `default' arg of `read-face-name'
5264         with the symbol `default'.
5266 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
5268         * emulation/viper-cmd.el (viper-delete-backward-char)
5269         (viper-del-backward-char-in-insert)
5270         (viper-del-backward-char-in-replace, viper-change)
5271         (viper-backward-indent): Replace delete-backward-char with
5272         delete-char (Bug#6552).
5274 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
5276         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
5278 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
5280         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
5281         argument passed to frame-creation-function (Bug#5378).
5283         * faces.el (x-handle-named-frame-geometry)
5284         (x-handle-reverse-video, x-create-frame-with-faces)
5285         (face-set-after-frame-default, tty-create-frame-with-faces): Don't
5286         separately consult default-frame-alist.  It is now passed as the
5287         PARAMETER argument.
5289 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
5291         * startup.el (command-line): Don't call tool-bar-setup in a
5292         tty-only build.
5294 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
5296         * ruler-mode.el (ruler--save-header-line-format): New fun.
5297         (ruler-mode): Use it as a setter function, so as not to overwrite
5298         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
5300 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
5302         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
5303         (vc-root-diff, vc-print-root-log, vc-log-incoming)
5304         (vc-log-outgoing): Use it.
5305         (vc-diff-internal): Set diff-vc-backend.
5307         * vc/diff-mode.el (diff-vc-backend): New var.
5309 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
5311         * dynamic-setting.el (font-setting-change-default-font): Remove
5312         call to message.
5314 2010-06-28  Kenichi Handa  <handa@m17n.org>
5316         * international/quail.el (quail-insert-kbd-layout): Fix the
5317         showing of untranslated characters.
5319 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
5321         * simple.el (delete-active-region): New option.
5322         (delete-backward-char): Implement in Lisp.
5323         (delete-forward-char): New command.
5325         * mouse.el (mouse-region-delete-keys): Deleted.
5326         (mouse-show-mark): Simplify.
5328         * bindings.el (global-map): Bind delete and DEL, the former to
5329         delete-forward-char.
5331 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
5333         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
5334         (ruby-mode): Bind indent-line-function (Bug#5119).
5336 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
5338         * startup.el (command-line): Recognize "0" X resource value.
5340 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
5342         * startup.el (command-line): Use X resources to set the value of
5343         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
5345         * menu-bar.el (menu-bar-mode):
5346         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
5347         Set init-value to t.
5349         * frame.el (frame-notice-user-settings): Don't change
5350         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
5351         vice versa (Bug#2249).
5353 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
5355         * w32-fns.el (w32-convert-standard-filename): Doc fix.
5357 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
5359         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
5360         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
5362         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
5363         default directories are expanded (Bug#6143).
5365 2010-06-24  Juri Linkov  <juri@jurta.org>
5367         * minibuffer.el (completions-format): Change default from nil to
5368         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
5370 2010-06-24  Juri Linkov  <juri@jurta.org>
5372         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
5373         buffer-locally to lambda that re-runs the vc diff command.
5374         (Bug#6447)
5376 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
5378         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
5379         echo area is in use (Bug#3412).
5381 2010-06-22  Glenn Morris  <rgm@gnu.org>
5383         * textmodes/texinfmt.el (texinfo-format-region)
5384         (texinfo-raise-lower-sections, texinfo-format-separate-node)
5385         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
5386         (texinfo-format-option, texinfo-noindent):
5387         Use line-beginning-position and line-end-position.
5389         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
5390         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
5391         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
5392         utf-8 characters.
5394 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
5396         * play/zone.el (zone-fall-through-ws): Fix next-line ->
5397         forward-line fallout.
5399 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
5401         * mouse.el (mouse-appearance-menu): Add docstring.
5403         * help.el (describe-key): Print up-event using key-description.
5405 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
5407         * net/zeroconf.el (zeroconf-resolve-service)
5408         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
5409         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
5411 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
5413         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
5415 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
5417         Avoid displaying files with a nil state in vc-dir.
5418         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
5419         cases that cause insertion.
5420         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
5421         with a nil state.
5423 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
5425         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
5427 2010-06-29  Leo  <sdl.web@gmail.com>
5429         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
5431 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
5433         * generic-x.el (bat-generic-mode): Fix regexp for command line
5434         switches (Bug#5719).
5436 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
5438         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
5439         of nconc to avoid pure storage error (Bug#6239).
5441 2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)
5443         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
5444         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
5445         bindings of bookmark-automatically-show-annotations (Bug#6515).
5447 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
5449         * arc-mode.el (archive-zip-extract): Don't quote the file name on
5450         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
5452 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
5454         * comint.el (make-comint, make-comint-in-buffer): Mention return
5455         value in the docstrings.  (Bug#6498)
5457 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
5459         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
5460         since it is not present when using some non-default switches.
5462 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
5464         * simple.el (compose-mail): Fix doc string to refer to
5465         `compose-mail-user-agent-warnings', instead of to the
5466         nonexistent `compose-mail-check-user-agent'.
5468 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
5470         Fix an indentation bug:
5472         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
5473         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
5474         of existing values.
5476         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
5477         (c-clear->-pair-props-if-match-before): now return t when they've
5478         cleared properties, nil otherwise.
5479         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
5480         by taking account of the existing value.
5482         * progmodes/cc-defs.el
5483         (c-clear-char-property-with-value-function): Fix this to clear the
5484         property rather than overwriting it with nil.
5486 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
5488         * emacs-lisp/package.el (package-print-package): Add link to
5489         package description via describe-package.
5490         (describe-package-1): List package requirements.  Add button to
5491         perform installation.
5492         (package-menu-describe-package): New command.
5494         * help-mode.el (help-package): New button type.
5496 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
5498         * emacs-lisp/package.el: Move package-list-packages binding to
5499         menu-bar.el.
5500         (describe-package, describe-package-1, package--dir): New funs.
5501         (package-activate-1): Use package--dir.
5503         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
5505         * help-mode.el (help-package-def): New button type.
5507         * menu-bar.el: Move package-list-packages binding here from
5508         package.el.
5510 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
5512         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
5514 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5516         * emacs-lisp/edebug.el (edebug-read-list):
5517         Phase out old-style backquotes.
5519 2010-06-17  Juri Linkov  <juri@jurta.org>
5521         * help-mode.el (help-mode): Set buffer-local variable
5522         revert-buffer-function to help-mode-revert-buffer.
5523         (help-mode-revert-buffer): New function.
5525         * info.el (Info-revert-find-node): Check for major-mode Info-mode
5526         before popping to "*info*" (like in other Info functions).
5527         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
5528         old-history-forward.  Pop to old-buffer-name or "*info*" to
5529         recreate the killed buffer.  Set Info-history-forward from
5530         old-history-forward.
5531         (Info-breadcrumbs-depth): Add :group and :version.
5533 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
5535         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
5537 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
5539         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
5540         for languages like Portuguese with pt_{BR,PT} and no plain pt.
5542 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
5544         * emacs-lisp/package.el (package-menu-mode-map):
5545         Move initialization into declaration.
5547         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
5549 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
5551         * emacs-lisp/package.el (package-archive-base): Point to
5552         elpa.gnu.org.
5553         (package-enable, package-load-list): New defcustoms.
5554         (package-user-dir, package-directory-list): Turn into defcustoms.
5555         Don't include package-user-dir in package-directory-list.
5556         (package--builtins-base): Don't include Emacs as a "package".
5557         (package-subdirectory-regexp): New var.
5558         (package-load-all-descriptors, package-compute-transaction)
5559         (package-download-transaction): Obey package-load-list.
5560         (package-activate-1): Rename from package-do-activate.
5561         (package-list-packages-internal): Check package-load-list.
5562         (package-load-descriptor, package-generate-autoloads)
5563         (package-unpack, package-unpack-single)
5564         (package--read-archive-file, package-delete): Use
5565         expand-file-name.
5567         * emacs-lisp/package-x.el: New file.  Package uploading
5568         functionality split out from package.el.
5570         * startup.el (command-line): Load packages after reading init file.
5572 2010-06-17  Tom Tromey  <tromey@redhat.com>
5574         * emacs-lisp/package.el: New file.
5576 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
5578         Fix vc-annotate for renamed files when using Git.
5579         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
5580         ls-files.  Doe not pass the object as a file name to cat-file, it
5581         is not a file name.
5582         (vc-git-annotate-command): Pass the file name using -- to avoid
5583         ambiguity with the revision.
5584         (vc-git-previous-revision): Pass a relative file name.
5586 2010-06-22  Glenn Morris  <rgm@gnu.org>
5588         * progmodes/js.el (js-mode-map): Use standard capitalization and
5589         ellipses for menu entries.
5591         * wid-edit.el (widget-complete): Doc fix.
5593 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
5595         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
5597 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
5599         Fix annotating other revisions for renamed files in vc-annotate.
5600         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
5601         VC backend.  Use it when non-nil.
5602         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
5603         (Bug#6487)
5605         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
5606         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5607         Do not pass the file name to the 'previous-revision call when we
5608         don't want a file diff.  (Bug#6489)
5610 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
5612         Fix finding revisions for renamed files in vc-annotate.
5613         * vc/vc.el (vc-find-revision): Add an optional argument for
5614         the VC backend.  Use it when non-nil.
5615         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
5616         backend to vc-find-revision.  (Bug#6487)
5618 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
5620         Fix reading file names in Git annotate buffers.
5621         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
5622         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
5624 2010-06-20  Alan Mackenzie  <acm@muc.de>
5626         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
5627         in file local variables, set it first.
5629 2010-06-19  Glenn Morris  <rgm@gnu.org>
5631         * descr-text.el (describe-char-unicode-data): Insert separating
5632         space when needed.  (Bug#6422)
5634         * progmodes/idlwave.el (idlwave-action-and-binding):
5635         Fix typo in 2009-12-03 change.  (Bug#6450)
5637 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5639         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
5640         handling for `lambda' (misunderstanding).
5642 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
5644         * calc/calc-poly.el (math-accum-factors): Make sure that
5645         constants aren't distributed after they are factored out.
5647 2010-06-16  Juri Linkov  <juri@jurta.org>
5649         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
5650         `list-colors-print'.  (Bug#6332)
5652         * subr.el (read-quoted-char): Fix up last change (bug#6290).
5654 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5656         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
5657         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
5659         * font-lock.el (font-lock-major-mode): Rename from
5660         font-lock-mode-major-mode to distinguish it from
5661         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
5662         (font-lock-set-defaults):
5663         * font-core.el (font-lock-default-function): Adjust users.
5664         (font-lock-mode): Don't set it at all.
5666 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
5668         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
5670 2010-06-16  Glenn Morris  <rgm@gnu.org>
5672         * calendar/appt.el (appt-time-msg-list): Doc fix.
5673         (appt-check): Let-bind appt-warn-time.
5674         (appt-add): Make the 3rd argument optional.
5675         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
5676         Only add WARNTIME to the output list if non-nil.
5678 2010-06-16  Ivan Kanis  <apple@kanis.eu>
5680         * calendar/appt.el (appt-check): Let the 3rd element of
5681         appt-time-msg-list specify the warning time.
5682         (appt-add): Add new argument with the warning time.  (Bug#5176)
5684 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)
5686         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
5687         older than version 1.6.  (Bug#6361)
5689 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
5691         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
5692         used by cl-do-arglist.  (Bug#6408)
5694 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
5696         * textmodes/ispell.el (ispell-dictionary-base-alist): Fix
5697         portuguese casechars/not-casechars for missing 'çÇ'.
5698         Suggested by Rolando Pereira (bug#6434).
5700 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
5702         * facemenu.el (list-colors-sort): Doc fix.
5704 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)
5706         * progmodes/sql.el (sql-connect-mysql): Fix typo.
5708 2010-06-14  Juri Linkov  <juri@jurta.org>
5710         Add sort option `list-colors-sort'.  (Bug#6332)
5711         * facemenu.el (color-rgb-to-hsv): New function.
5712         (list-colors-sort): New defcustom.
5713         (list-colors-sort-key): New function.
5714         (list-colors-display): Doc fix.  Sort list according to the option
5715         `list-colors-sort'.
5716         (list-colors-print): Add HSV values to `help-echo' property of
5717         RGB strings.
5719 2010-06-14  Juri Linkov  <juri@jurta.org>
5721         * compare-w.el: Move to the "vc" subdirectory.
5723 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5725         * image-mode.el (image-mode-map): Remap left-char and right-char.
5727         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
5729 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
5731         * term/common-win.el (x-colors): Add all the color names defined
5732         in rgb.txt (Bug#6332).
5734         * facemenu.el (list-colors-print): Don't print extra names if it
5735         will overflow the window width.
5737         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
5738         change (Bug#6343).
5740 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
5742         * files.el (make-directory): Doc fix (bug#6396).
5744 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
5746         * net/tramp.el (tramp-remote-process-environment): Protect version
5747         string by apostroph.
5748         (tramp-shell-prompt-pattern): Do not use a shy group in case of
5749         XEmacs.
5750         (tramp-file-name-for-operation): Add `call-process-region'.
5751         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
5753         * net/tramp-compat.el (top): Do not autoload
5754         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
5755         only when `start-file-process' is not bound.
5756         (tramp-advice-file-expand-wildcards): Do not use
5757         `tramp-handle-file-remote-p'.
5758         (tramp-compat-make-temp-file): Handle the case, that
5759         `make-temp-file' has no third argument EXTENSION.
5761 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
5763         * makefile.w32-in (WINS_BASIC): Include new directory vc.
5765         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
5767 2010-06-11  Juri Linkov  <juri@jurta.org>
5769         * finder.el (finder-known-keywords): Add keyword "vc"
5770         for version control.
5772         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
5773         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
5774         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
5775         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
5777 2010-06-11  Juri Linkov  <juri@jurta.org>
5779         Move version control related files to the "vc" subdirectory.
5780         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
5781         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
5782         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
5783         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
5784         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
5785         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
5786         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
5787         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
5788         Move files to the "vc" subdirectory.
5790 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
5792         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
5793         (Bug#6367).
5795 2010-06-11  Stephen Eglen  <stephen@gnu.org>
5797         * shell.el: Bind `shell-resync-dirs' to M-RET.
5799 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
5801         * notifications.el: Move file from lisp/net, because it is
5802         supposed to talk locally to the user.
5804 2010-06-10  Julien Danjou  <julien@danjou.info>
5806         * net/notifications.el (notifications-on-action-signal)
5807         (notifications-on-closed-signal): Pass notification id as first
5808         argument to the callback functions.  Add docstrings.
5809         (notifications-notify): Fix docstring.
5811 2010-06-10  Glenn Morris  <rgm@gnu.org>
5813         * emacs-lisp/authors.el (authors-ignored-files)
5814         (authors-valid-file-names): Add some files.
5816 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5818         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
5819         merge conflict, giving preference to the emacs-23 version of the code.
5821 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5823         * emacs-lisp/advice.el (ad-compile-function):
5824         Define warning-suppress-types before we let-bind it (bug#6275).
5826         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
5827         declare it, make it buffer-local and permanent-local (bug#6324).
5828         (vc-resynch-window): Adjust name.
5829         * vc-hooks.el (vc-find-file-hook): Adjust name.
5831 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
5833         * net/notifications.el (notifications-notify): Fix docstring.
5835 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
5837         Update to Unicode 6.0.0 beta.
5838         * international/charprop.el: Update copyright.
5839         * international/mule-cmds.el (ucs-names): Update character ranges.
5840         * international/uni-bidi.el:
5841         * international/uni-category.el:
5842         * international/uni-combining.el:
5843         * international/uni-comment.el:
5844         * international/uni-decimal.el:
5845         * international/uni-decomposition.el:
5846         * international/uni-digit.el:
5847         * international/uni-lowercase.el:
5848         * international/uni-mirrored.el:
5849         * international/uni-name.el:
5850         * international/uni-numeric.el:
5851         * international/uni-old-name.el:
5852         * international/uni-titlecase.el:
5853         * international/uni-uppercase.el: Regenerate.
5855 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
5857         * emacs-lisp/smie.el (comment-string-strip): Declare function.
5858         (smie-precs-precedence-table): Fix typo in docstring.
5860         * vc-mtn.el (log-edit-extract-headers): Declare function.
5862         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
5864         * net/notifications.el (dbus-register-signal): Declare function.
5865         (notifications-notify): Fix typos and reflow docstring.
5867 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
5869         Improve VC create/retrieve tag/branch.
5870         * vc.el (vc-create-tag): Do not read the directory name for VCs
5871         with repository revision granularity.  Adjust the tag/branch
5872         prompt.  Reset VC properties.
5873         (vc-retrieve-tag): Do not read the directory name for VCs
5874         with repository revision granularity.  Reset VC properties.
5876 2010-06-09  Julien Danjou  <julien@danjou.info>
5878         * net/notifications.el: New file.
5880 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
5882         Add optional support for resetting VC properties.
5883         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
5884         call vc-file-clearprops when true.
5885         (vc-resynch-buffer): Add new optional argument, pass it down.
5886         (vc-resynch-buffers-in-directory): Likewise.
5888         Improve support for special markup in the VC commit message.
5889         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
5890         * vc-hg.el (vc-hg-checkin): Add support for Date:.
5891         * vc-git.el (vc-git-checkin):
5892         * vc-bzr.el (vc-bzr-checkin): Likewise.
5894 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
5896         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
5897         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
5899 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
5901         * iimage.el: Remove images as soon as the underlying text is modified.
5902         (iimage-modification-hook): New function.
5903         (iimage-mode-buffer): Use it.
5905 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5907         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
5908         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
5909         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
5910         (smie-indent-keyword): Add handling of open-paren keywords.
5911         (smie-indent-comment-continue): Don't assume comment-continue.
5913 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
5915         * window.el (pop-to-buffer): Remove the conditional that
5916         compares new-window and old-window, so it will reselect
5917         the selected window unconditionally.
5918         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
5920 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
5922         * emacs-lisp/smie.el (smie-indent-offset-after)
5923         (smie-indent-forward-token, smie-indent-backward-token): New functions.
5924         (smie-indent-after-keyword): Use them.
5925         (smie-indent-fixindent): Only applies to the indentation of the BOL.
5926         (smie-indent-keyword): Tweak the black magic.
5927         (smie-indent-comment-continue): Strip comment-continue before use.
5928         (smie-indent-functions): Indent comments before keywords.
5930 2010-06-06  Juri Linkov  <juri@jurta.org>
5932         * isearch.el (isearch-lazy-highlight-search): Fix looping
5933         by checking for empty match.  This syncs this loop with the
5934         similar loop in `isearch-search'.  (Bug#6362)
5936 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
5938         * net/dbus.el (dbus-register-method): Declare function.
5939         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
5940         (dbus-introspect): Doc fix.
5941         (dbus-event-bus-name, dbus-introspect-get-interface)
5942         (dbus-introspect-get-argument): Reflow docstrings.
5944 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
5946         vc-log-incoming/vc-log-outgoing fixes for Git.
5947         * vc-git.el (vc-git-log-view-mode): Fix font lock for
5948         incoming/outgoing logs.
5949         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
5950         instead of vc-git-compute-remote.
5951         (vc-git-compute-remote): Remove.
5953 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
5955         * term/common-win.el (x-colors): Add "dark green" and "dark
5956         turquoise" (Bug#6332).
5958 2010-06-04  Juri Linkov  <juri@jurta.org>
5960         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
5961         Instead of setting `replace' to t and replacing the same string
5962         with itself, don't do certain actions when
5963         kill-do-not-save-duplicates is non-nil and string is equal to car
5964         of kill-ring: don't call menu-bar-update-yank-menu, don't push
5965         interprogram-paste strings to kill-ring, and don't push the input
5966         argument `string' to kill-ring.
5967         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
5969 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
5971         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
5973 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
5975         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
5976         (tramp-gvfs-handler-mounted-unmounted)
5977         (tramp-gvfs-connection-mounted-p): Handle default-location.
5979         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
5980         move files to trash.
5982 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
5984         * international/mule-cmds.el (nonascii-insert-offset)
5985         (nonascii-translation-table): Add obsolescence information.
5987         * international/mule.el (make-translation-table-from-vector): Doc fix.
5989 2010-06-03  Glenn Morris  <rgm@gnu.org>
5991         * desktop.el (desktop-clear-preserve-buffers):
5992         Add "*Warnings*" buffer.  (Bug#6336)
5994 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
5996         vc-log-incoming/vc-log-outgoing improvements for Git.
5997         * vc-git.el (vc-git-log-outgoing): Use the same format as the
5998         short log.
5999         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
6001         Add bindings for vc-log-incoming and vc-log-outgoing.
6002         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
6003         and vc-log-outgoing.
6004         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
6005         and vc-log-outgoing.
6007 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
6009         * net/rcirc.el (rcirc-sort-nicknames): Remove.
6010         (rcirc-handler-366): Always sort nicknames.
6012 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
6014         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
6016 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
6018         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
6020 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6022         * net/rcirc.el (rcirc-sort-nicknames): Change default.
6023         (rcirc-sort-nicknames-join): Avoid setq.
6025 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
6027         * net/rcirc.el (rcirc-sort-nicknames): New custom.
6028         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
6029         (rcirc-handler-366): Use them.
6031 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6033         Split smie-indent-calculate into more manageable chunks.
6034         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
6035         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
6036         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
6037         (smie-indent-exps): Extract from smie-indent-calculate.
6038         (smie-indent-functions): New var.
6039         (smie-indent-functions): Use them.
6041 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6043         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
6044         (smie-indent-calculate): Simplify and cleanup.
6046 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
6048         * net/tramp-gvfs.el (top): Require url-util.
6049         (tramp-gvfs-mount-point): Remove.
6050         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
6051         New defuns.
6052         (with-tramp-dbus-call-method): Format trace message.
6053         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6054         Implement backup call, when operation on local files fails.
6055         Use progress reporter.  Flush properties of changed files.
6056         (tramp-gvfs-handle-make-directory): Make more traces.
6057         (tramp-gvfs-url-file-name): Hexify file name in url.
6058         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6059         into account for the resulting file name.
6060         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
6061         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
6062         (tramp-gvfs-handler-mounted-unmounted)
6063         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6064         attribute "default_location".  Set "prefix" property.
6065         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6066         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6067         exists.  Raise an error, if not (due to a corresponding answer
6068         "no" in interactive questions, for example).
6070 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
6072         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
6074 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
6076         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
6077         right-*.  (Bug#6265)
6079 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
6081         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
6082         * vc-git.el (vc-git-compute-remote): New function.
6083         (vc-git-log-outgoing): Use it instead of hard coding a value.
6084         (vc-git-log-incoming): New function.
6086         Improve state updating for VC tag commands.
6087         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
6088         to update the state of all buffers in the directory.
6090         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
6092 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6094         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
6095         `file-directory-p' to the filename part rather than to the whole text.
6097 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6099         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
6101 2010-05-31  Drew Adams  <drew.adams@oracle.com>
6103         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
6105 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
6107         * subr.el (momentary-string-display): Just use read-event to read
6108         the exit event (Bug#6238).
6110 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
6112         * international/mule.el (define-coding-system): Doc fix (bug#6313).
6114 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
6116         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
6117         Suggested by Eli Zaretskii <eliz@gnu.org>.
6119 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6121         * minibuffer.el (completion-file-name-table): Don't return a boundary
6122         past the end of `string' (bug#6299).
6123         (completion--file-name-table): Delegate to completion-file-name-table
6124         for the `boundaries' case.
6126 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
6128         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
6129         movement commands.
6131         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
6132         `path-separator', but maintain compatibility with Emacs 20.2.
6134 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
6136         * server.el (server-process-filter): Receive parent-id argument
6137         from emacsclient.
6138         (server-create-window-system-frame): New arg.  Pass parent-id as
6139         frame parameter.
6141 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
6143         Bidi-sensitive word movement with arrow keys.
6144         * subr.el (right-arrow-command, left-arrow-command): Move to
6145         bindings.el.
6147         * bindings.el (right-char, left-char): Move from subr.el and
6148         rename from right-arrow-command and left-arrow-command.
6149         (right-word, left-word): New functions.
6150         (global-map) <right>: Bind to right-char.
6151         (global-map) <left>: Bind to left-char.
6152         (global-map) <C-right>: Bind to right-word.
6153         (global-map) <C-left>: Bind to left-word.
6155         * ls-lisp.el (ls-lisp-classify-file): New function.
6156         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
6157         (ls-lisp-classify): Call ls-lisp-classify-file.
6158         (insert-directory): Remove blanks from switches.
6160 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
6162         * ansi-color.el: Delete unused escape sequences (Bug#6085).
6163         (ansi-color-drop-regexp): New constant.
6164         (ansi-color-apply, ansi-color-filter-region)
6165         (ansi-color-apply-on-region): Delete unrecognized control sequences.
6166         (ansi-color-apply): Build string list before calling concat.
6168 2010-05-28  Juri Linkov  <juri@jurta.org>
6170         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6171         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
6172         (Bug#5270)
6174 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
6176         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
6177         to ignored backtrace functions.
6178         (with-progress-reporter): Expand docstring.
6179         (tramp-handle-delete-file): Implement TRASH argument.
6180         (tramp-get-remote-trash): New defun.
6182 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
6184         * net/tramp-compat.el (tramp-compat-delete-file): Use
6185         `symbol-value' for backward compatibility.
6187         * net/tramp.el (tramp-handle-make-symbolic-link)
6188         (tramp-handle-load)
6189         (tramp-do-copy-or-rename-file-via-buffer)
6190         (tramp-do-copy-or-rename-file-directly)
6191         (tramp-do-copy-or-rename-file-out-of-band)
6192         (tramp-handle-process-file, tramp-handle-call-process-region)
6193         (tramp-handle-shell-command, tramp-handle-file-local-copy)
6194         (tramp-handle-insert-file-contents, tramp-handle-write-region)
6195         (tramp-delete-temp-file-function): Use `delete-file' instead
6196         of `tramp-compat-delete-file'.
6198         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
6199         (tramp-fish-handle-make-symbolic-link)
6200         (tramp-fish-handle-process-file): Use `delete-file' instead
6201         of `tramp-compat-delete-file'.
6203         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
6204         `delete-file' instead of `tramp-compat-delete-file'.
6206         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
6207         (tramp-gvfs-handle-write-region): Use `delete-file' instead of
6208         `tramp-compat-delete-file'.
6210         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
6211         `delete-file' instead of `tramp-compat-delete-file'.
6213         * net/tramp-smb.el (tramp-smb-handle-copy-file)
6214         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6215         (tramp-smb-handle-write-region): Use `delete-file' instead of
6216         `tramp-compat-delete-file'.
6217         (tramp-smb-handle-delete-directory): Use 'trash as arg.
6219 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
6221         * dired.el (dired-delete-file): New arg TRASH.
6222         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
6223         (dired-do-flagged-delete, dired-do-delete): Use trash.
6225         * speedbar.el (speedbar-item-delete): Allow trashing.
6227         * files.el (delete-directory): New arg TRASH.
6229         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
6230         (ange-ftp-rename-remote-to-remote)
6231         (ange-ftp-rename-local-to-remote)
6232         (ange-ftp-rename-remote-to-local, ange-ftp-load)
6233         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
6234         `delete-file'.
6235         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
6236         allow trashing.
6238         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6239         handle new TRASH arg of `delete-file'.
6241         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
6242         (tramp-handle-make-symbolic-link, tramp-handle-load)
6243         (tramp-do-copy-or-rename-file-via-buffer)
6244         (tramp-do-copy-or-rename-file-directly)
6245         (tramp-do-copy-or-rename-file-out-of-band)
6246         (tramp-handle-process-file, tramp-handle-call-process-region)
6247         (tramp-handle-shell-command, tramp-handle-file-local-copy)
6248         (tramp-handle-insert-file-contents, tramp-handle-write-region)
6249         (tramp-delete-temp-file-function): Use null TRASH arg in
6250         tramp-compat-delete-file call.
6252         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
6253         (tramp-fish-handle-delete-file)
6254         (tramp-fish-handle-make-symbolic-link)
6255         (tramp-fish-handle-process-file): Use null TRASH arg in
6256         `tramp-compat-delete-file' call.
6258         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
6259         arg in `tramp-compat-delete-file' call.
6261         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
6262         (tramp-gvfs-handle-write-region): Use null TRASH arg in
6263         `tramp-compat-delete-file' call.
6265         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
6266         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
6267         `tramp-compat-delete-file' call.
6269         * net/tramp-smb.el (tramp-smb-handle-copy-file)
6270         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6271         (tramp-smb-handle-write-region): Use null TRASH arg in
6272         tramp-compat-delete-file call.
6273         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
6274         (tramp-smb-handle-delete-file): Rename arg.
6276         * diff.el (diff-sentinel):
6277         * epg.el (epg--make-temp-file, epg-decrypt-string)
6278         (epg-verify-string, epg-sign-string, epg-encrypt-string):
6279         * jka-compr.el (jka-compr-partial-uncompress)
6280         (jka-compr-call-process, jka-compr-write-region):
6281         * server.el (server-sentinel): Remove optional arg from
6282         delete-file, reverting 2010-05-03 change.
6284 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
6286         * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
6287         font-lock-constant-face, not obsolete font-lock-reference-face.
6289 2010-05-27  Kenichi Handa  <handa@m17n.org>
6291         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
6292         element of GSTRING is nil.
6294 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6296         * emacs-lisp/smie.el (smie-forward-token-function)
6297         (smie-backward-token-function): New vars.
6298         (smie-backward-sexp, smie-forward-sexp)
6299         (smie-indent-hanging-p, smie-indent-calculate): Use them.
6300         (smie-default-backward-token): Rename from smie-backward-token and
6301         skip comments.
6302         (smie-default-forward-token): Rename from smie-forward-token and
6303         skip comments.
6304         (smie-next-sexp): Handle nil results from next-token.
6305         (smie-indent-calculate): Add a new case for special `fixindent' comments.
6307 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
6309         * progmodes/verilog-mode.el (verilog-type-font-keywords):
6310         Use font-lock-constant-face, not obsolete font-lock-reference-face.
6312 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
6314         * htmlfontify.el (hfy-face-resolve-face): New function.
6315         (hfy-face-to-style): Use it (Bug#6279).
6317 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6319         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
6320         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
6322 2010-05-26  Glenn Morris  <rgm@gnu.org>
6324         * emulation/edt.el (edt-load-keys): Use locate-library.
6326 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
6328         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
6329         (log-edit-changelog-entries): Doc fix.
6330         (log-edit-changelog-insert-entries): Args changed.
6331         Rename relative filenames in ChangeLog entries.  Delete tabs.
6332         (log-edit-insert-changelog-entries): Reorganize return value of
6333         `log-edit-changelog-entries' to pass filenames to
6334         log-edit-changelog-insert-entries.
6336 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6338         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
6339         `image-dired-dired-insert-marked-thumbs' to
6340         `image-dired-dired-toggle-marked-thumbs'.
6342         * image-dired.el: Require cl when compiling.
6343         (image-dired-dired-toggle-marked-thumbs): Rename from
6344         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
6345         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
6346         to 'no-dir.  Skip files whose names don't match
6347         `image-file-name-regexp'.  When file has a thumbnail overlay,
6348         delete it.  (Bug#5270)
6350 2010-05-25  Juri Linkov  <juri@jurta.org>
6352         * image-mode.el (image-mode): Add image-after-revert-hook to
6353         after-revert-hook.
6354         (image-after-revert-hook): New function.  (Bug#5669)
6356 2010-05-25  Juri Linkov  <juri@jurta.org>
6358         * image.el (image-animated-p): When delay between animated images
6359         is 0, set it to 10 (0.1 sec).  (Bug#6258)
6361 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
6363         * net/tramp.el (tramp-handle-insert-directory): Don't use
6364         `forward-word', its default syntax could be changed.
6366 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
6368         * net/tramp.el (tramp-progress-reporter-update): New defun.
6369         (with-progress-reporter): Use it.
6370         (tramp-process-actions):
6371         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
6372         current message, in order to let progress reporter continue
6373         afterwards.  (Bug#6257)
6375 2010-05-25  Glenn Morris  <rgm@gnu.org>
6377         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
6378         Add :version.
6380 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
6382         * net/rcirc.el (rcirc-default-user-name): Change to "user".
6383         (rcirc-default-full-name): Change to "unknown".
6384         (rcirc-user-name-history): Add variable.
6386 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
6387             Jonathan Rockway  <jon@jrock.us>
6389         * net/rcirc.el (rcirc-server-alist): Add :pass.
6390         (rcirc): When prompting for connection parameters, also prompt for
6391         username and password.
6392         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
6393         value to server when connecting.
6395 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6397         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
6398         (smie-merge-prec2s): Pass the tables as separate args.
6399         (smie-bnf-precedence-table): Adjust call accordingly.
6400         (smie-prec2-levels): Set levels at the end.
6402         Replace Lisp calls to delete-backward-char by delete-char.
6403         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
6404         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
6405         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
6406         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
6407         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
6408         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
6409         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
6410         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
6411         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
6412         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
6413         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
6414         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
6415         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
6416         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
6417         delete-backward-char by calls to delete-char.
6419 2010-05-25  Kenichi Handa  <handa@m17n.org>
6421         * language/hebrew.el (hebrew-shape-gstring): New function.
6422         Register it in composition-function-table for all Hebrew combining
6423         characters.
6425 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6427         * epa.el (epa--select-keys): Don't explicitly delete the window since
6428         that can fail (e.g. sole window in frame).  Use dedication instead.
6430 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
6432         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
6434 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
6436         * image.el (image-refresh): Define as an alias for image-flush.
6438         * image-mode.el (image-toggle-display-image): Caller changed.
6440 2010-05-21  Juri Linkov  <juri@jurta.org>
6442         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
6443         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
6444         whitespace, call wildcard-to-regexp on substrings and concat them
6445         with "\\|".  (Bug#6114)
6447 2010-05-21  Alan Mackenzie  <acm@muc.de>
6449         * progmodes/cc-engine.el (c-parse-state-get-strategy):
6450         Replace parameter `here' with `here-' and `here-plus', which sandwich
6451         any pertinent CPP construct.
6452         (c-remove-stale-state-cache-backwards): Fix a bug which happens
6453         when doing (c-parse-state) in a CPP construct: Exclude any "new"
6454         CPP construct from taking part in the scanning.
6456 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
6458         * net/tramp.el (tramp-do-copy-or-rename-file)
6459         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
6460         Tune `with-progress-reporter' messages.
6461         (tramp-handle-vc-registered):
6462         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
6463         (tramp-fish-handle-insert-file-contents)
6464         (tramp-fish-maybe-open-connection):
6465         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6466         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
6467         (tramp-imap-handle-insert-file-contents)
6468         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6470 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
6472         * add-log.el (change-log-font-lock-keywords):
6473         Highlight all authors in multi-author entries.
6475         * smerge-mode.el (smerge-refine-ignore-whitespace)
6476         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
6477         Fix typos in docstrings.
6478         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
6480 2010-05-21  Glenn Morris  <rgm@gnu.org>
6482         * progmodes/fortran.el (fortran-mode):
6483         * progmodes/f90.el (f90-mode): Derive from prog-mode.
6485         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
6486         having a relative path in src/Makefile.in.
6488 2010-05-20  Kevin Ryde  <user42@zip.com.au>
6490         * help-mode.el (help-make-xrefs): For Info node links turn
6491         newlines into spaces.  Link node names with newlines are matched
6492         by help-xref-info-regexp and buttonized, this change ensures they
6493         can be followed successfully with RET.  (Bug#6206)
6495 2010-05-20  Juri Linkov  <juri@jurta.org>
6497         * locate.el (locate): Use pop-to-buffer instead of
6498         switch-to-buffer-other-window.  (Bug#6204)
6500 2010-05-20  Juri Linkov  <juri@jurta.org>
6502         * replace.el (replace-highlight): Fix lazy-highlighting
6503         for `M-s w str M-% str RET'.
6505 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
6507         * isearch.el (isearch-yank-word-or-char): Pull next subword
6508         when `subword-mode' is activated.  (Bug#6220)
6510 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
6512         * isearch.el (isearch-update-post-hook): New hook.
6513         (isearch-update): Use the new hook.  (Bug#6225)
6515 2010-05-20  Juri Linkov  <juri@jurta.org>
6517         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
6518         [f1], [help], and (char-to-string help-char) instead of "\C-h".
6519         (Bug#6222)
6521 2010-05-20  Juri Linkov  <juri@jurta.org>
6523         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
6524         (Bug#6223)
6526 2010-05-20  Juri Linkov  <juri@jurta.org>
6528         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
6529         FILE-NAME to read from the minibuffer when called interactively
6530         with prefix argument instead of using buffer-file-name.
6531         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
6533         * dired.el: Update autoloads.
6535 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
6537         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
6538         nxml-finish-element, for consistency with SGML mode.
6540         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
6541         octave-close-block.
6543 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
6545         * composite.el: Require cl when compiling.
6546         (reference-point-alist, compose-gstring-for-graphic)
6547         (compose-gstring-for-terminal): Fix typos in docstrings.
6549 2010-05-19  Juri Linkov  <juri@jurta.org>
6551         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
6552         set-window-parameter.
6554 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
6556         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
6557         where appropriate.
6558         (tramp-maybe-open-connection): Use it.
6560 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
6562         * simple.el (move-end-of-line): Make sure we are at line beginning
6563         before backing up to end of previous line.
6565 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
6567         * password-cache.el (password-cache-remove): Fix docstring.
6569         * net/secrets.el: Autoload the widget functions.
6570         (secrets-search-items, secrets-create-item)
6571         (secrets-get-attributes, secrets-expand-item): Attributes will be
6572         stored on the password database without leading ":", as all other
6573         clients do as well.
6574         (secrets-mode): Fix docstring.
6575         (secrets-show-secrets): Provide it as autoloaded command only when
6576         D-Bus support is available.  Check existence of Secret Service API.
6578 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6580         * indent.el (indent-region): Deactivate region (bug#6200).
6582 2010-05-19  Glenn Morris  <rgm@gnu.org>
6584         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
6586 2010-05-19  Kenichi Handa  <handa@m17n.org>
6588         * composite.el: Register compose-gstring-for-graphic in
6589         composition-function-table only for combining characters (Mn, Mc, Me).
6591 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
6593         * calc/calc-trail.el (calc-trail-isearch-forward)
6594         (calc-trail-isearch-backward): Ensure that the new window
6595         point is set correctly.
6597 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6599         * subr.el (read-quoted-char): Resolve modifiers after key
6600         remapping (bug#6212).
6602 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
6604         Add visualization code for secrets.
6605         * net/secrets.el (secrets-mode): New major mode.
6606         (secrets-show-secrets, secrets-show-collections)
6607         (secrets-expand-collection, secrets-expand-item)
6608         (secrets-tree-widget-after-toggle-function)
6609         (secrets-tree-widget-show-password): New defuns.
6611 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6613         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
6614         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
6615         handled in smie-next-sexp.
6616         (smie-indent-calculate): Provide a starting indentation (so the
6617         recursion is well-founded ;-).
6619         Fix handling of non-associative equal levels.
6620         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
6621         when it's not needed.
6622         (smie-op-left, smie-op-right): New functions.
6623         (smie-next-sexp): New function, extracted from smie-backward-sexp.
6624         Better handle equal levels to distinguish the associative case from
6625         the "multi-keyword construct" case.
6626         (smie-backward-sexp, smie-forward-sexp): Use it.
6628 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
6630         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
6632         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
6633         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
6635 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6637         Provide a simple generic indentation engine and use it for Prolog.
6638         * emacs-lisp/smie.el: New file.
6639         * progmodes/prolog.el (prolog-smie-op-levels)
6640         (prolog-smie-indent-rules): New var.
6641         (prolog-mode-variables): Use them to configure SMIE.
6642         (prolog-indent-line, prolog-indent-level): Remove.
6644 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
6646         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
6647         order before computing the averages.
6649 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
6651         * calc/calc-vec.el (calc-histogram):
6652         (calcFunc-histogram): Allow vectors as inputs.
6653         (math-vector-avg): New function.
6655         * calc/calc-ext.el (math-group-float): Have the number of digits
6656         being grouped depend on the radix (Bug#6189).
6658 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
6660         * version.el (emacs-copyright, emacs-version): Don't define here,
6661         now that emacs.c defines it.
6663 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
6665         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
6666         "Describe Language Environment" menu item.
6668         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
6670         Bidi-sensitive movement with arrow keys.
6671         * subr.el (right-arrow-command, left-arrow-command): New functions.
6673         * bindings.el (global-map): Bind them to right and left arrow keys.
6675         Don't override standard definition of convert-standard-filename.
6676         * files.el (convert-standard-filename): Call
6677         w32-convert-standard-filename and dos-convert-standard-filename on
6678         the corresponding systems.
6680         * w32-fns.el (w32-convert-standard-filename): Rename from
6681         convert-standard-filename.  Doc fix.
6683         * dos-fns.el (dos-convert-standard-filename): Doc fix.
6684         (convert-standard-filename): Don't defalias.
6685         (register-name-alist, make-register, register-value)
6686         (set-register-value, intdos): Obsolete aliases for the
6687         corresponding dos-* functions and variables.
6688         (dos-intdos): Add a doc string.
6690 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
6692         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
6693         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
6694         (math-compose-tex-func):
6695         * calc/calccomp.el (math-compose-expr):
6696         * calc/calc-ext.el (math-format-flat-expr-fancy):
6697         * calc/calc-store.el (calc-read-var-name):
6698         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
6700         * calc/calc.el (var-π, var-φ, var-γ): New variables.
6701         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
6702         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
6703         (math-standard-units): Add units.
6705 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6707         * progmodes/asm-mode.el (asm-mode):
6708         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
6710         * pcomplete.el (pcomplete-completions-at-point): New function,
6711         extracted from pcomplete-std-complete.
6712         (pcomplete-std-complete): Use it.
6714 2010-05-15  Glenn Morris  <rgm@gnu.org>
6716         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6717         Remove references to CVS, RCS and Old directories.
6719 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
6721         * calc/calc-bin.el (math-format-twos-complement): Group digits when
6722         appropriate.
6724 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6726         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
6727         (sh-mode-syntax-table): Give it a default value instead.
6728         (sh-header-marker): Make buffer-local.
6729         (sh-mode): Move make-local-variable to the corresponding setq.
6730         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
6731         Use complete-with-action.
6733         * simple.el (prog-mode): New (abstract) major mode.
6734         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
6735         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
6737 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
6739         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
6740         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
6741         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
6742         (sql-make-alternate-buffer-name, sql-placeholders-filter)
6743         (sql-escape-newlines-filter, sql-input-sender)
6744         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
6746 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
6748         Add TeX open-block and close-block keybindings to SGML, and vice versa.
6750         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
6751         latex-open-block and C-c / to latex-close-block.
6753         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
6754         and C-c C-e to sgml-close-tag.
6756 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
6758         * net/tramp.el (with-progress-reporter): Create reporter object
6759         only when the message would be displayed.  Handle nested calls.
6760         (tramp-handle-load, tramp-handle-file-local-copy)
6761         (tramp-handle-insert-file-contents, tramp-handle-write-region)
6762         (tramp-maybe-send-script, tramp-find-shell):
6763         Use `with-progress-reporter'.
6764         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
6765         Fix message text.
6767         * net/tramp-smb.el (tramp-smb-handle-copy-file)
6768         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6769         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6770         Use `with-progress-reporter'.
6772 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
6774         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
6775         process everytime when spellchecking from the minibuffer (bug#6143).
6777 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6779         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
6781         * dos-fns.el: Add "dos-" prefix for namespace control.
6782         (convert-standard-filename): Define as alias for
6783         dos-convert-standard-filename but only if applicable.
6785 2010-05-12  Alan Mackenzie  <acm@muc.de>
6787         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
6788         Push the mark at the start of these functions when appropriate.
6790 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6792         * minibuffer.el (completion-cycle-threshold): New custom var.
6793         (completion--do-completion): Use it.
6794         (minibuffer-complete): Use cycling if appropriate.
6796 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
6798         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
6799         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
6801 2010-05-11  Juri Linkov  <juri@jurta.org>
6803         * scroll-all.el (scroll-all-check-to-scroll):
6804         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
6806 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6808         * iimage.el (iimage-mode-map): Move initialization into declaration.
6809         (iimage-mode-buffer): Use with-silent-modifications.
6810         Simplify calling convention.  Adjust callers.
6811         (iimage-mode): Don't run hook redundantly.
6813         * minibuffer.el (completion-pcm--pattern->regex):
6814         Fix last change (bug#6160).
6816 2010-05-10  Juri Linkov  <juri@jurta.org>
6818         Remove nodes visited during Isearch from the Info history.
6819         * info.el (Info-isearch-initial-history)
6820         (Info-isearch-initial-history-list): New variables.
6821         (Info-isearch-start): Record initial values of
6822         Info-isearch-initial-history and Info-isearch-initial-history-list.
6823         Add Info-isearch-end to isearch-mode-end-hook.
6824         (Info-isearch-end): New function.
6826 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
6828         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
6829         format string, in order to work around a bug in pdksh.
6830         Reported by Gilles Pion <gpion@lfdj.com>.
6831         (tramp-handle-verify-visited-file-modtime): Do not send a command
6832         when the connection is not established.
6833         (tramp-handle-set-file-times): Simplify the check for utc.
6835 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
6837         Fix use of `filter-buffer-substring' (rework previous change).
6838         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
6839         (cua-repeat-replace-region):
6840         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
6841         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
6842         (cua-cut-region-to-global-mark): Use it.
6844 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
6846         * progmodes/sql.el: Version 2.1.
6847         (sql-product-alist): Redesign structure of product info.
6848         (sql-product, sql-user, sql-server, sql-database): Safe variables.
6849         (sql-port, sql-port-history): New variables.
6850         (sql-interactive-product): New variable.
6851         (sql-send-terminator): New variable.
6852         (sql-imenu-generic-expression): Add "Types" imenu entry.
6853         (sql-oracle-login-params, sql-sqlite-login-params)
6854         (sql-mysql-login-params, sql-solid-login-params)
6855         (sql-sybase-login-params, sql-informix-login-params)
6856         (sql-ingres-login-params, sql-ms-login-params)
6857         (sql-postgres-login-params, sql-interbase-login-params)
6858         (sql-db2-login-params, sql-linter-login-params)
6859         (sql-oracle-scan-on): New variables.
6860         (sql-mode-map): Add C-c C-i to start interactive mode.
6861         (sql-mode-menu): Update existing menu entries.
6862         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
6863         (sql-mode-oracle-font-lock-keywords)
6864         (sql-mode-postgres-font-lock-keywords)
6865         (sql-mode-ms-font-lock-keywords)
6866         (sql-mode-sybase-font-lock-keywords)
6867         (sql-mode-informix-font-lock-keywords)
6868         (sql-mode-interbase-font-lock-keywords)
6869         (sql-mode-ingres-font-lock-keywords)
6870         (sql-mode-solid-font-lock-keywords)
6871         (sql-mode-mysql-font-lock-keywords)
6872         (sql-mode-sqlite-font-lock-keywords)
6873         (sql-mode-db2-font-lock-keywords)
6874         (sql-mode-linter-font-lock-keywords): Update initialization to
6875         reduce run-time complexity.
6876         (sql-add-product, sql-del-product): New functions.
6877         (sql-set-product-feature, sql-get-product-feature): New functions.
6878         (sql-product-font-lock): Update product API.
6879         (sql-add-product-keywords): New function.
6880         (sql-highlight-product): Update product API.
6881         (sql-help-list-products): New function.
6882         (sql-help): Dynamically lists free and non-free products.
6883         (sql-get-login): Correct bug in handling history and added
6884         prompt for port.
6885         (sql-copy-column): Copy without properties.
6886         (sqli-input-sender): Apply filters to SQLi input.
6887         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
6888         Implement as a filter.
6889         (sql-escape-newlines-filter): Implement as a filter.
6890         (sql-remove-tabs-filter): New function.
6891         (sql-send-magic-terminator): New function.
6892         (sql-send-string): Implement magic terminator.
6893         (sql-send-region): Use `sql-send-string'.
6894         (sql-interactive-mode): Use product API.
6895         (sql-product-interactive): Use product API.
6896         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
6897         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
6898         (sql-db2, sql-linter): Use `sql-product-interactive'.
6899         (sql-connect): New function.
6900         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
6901         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
6902         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
6903         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
6904         Use `sql-connect'.
6906 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6908         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
6909         New custom variable.
6910         (completion-pcm--string->pattern): Use it.
6911         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
6912         Make it handle any symbol as `any'.
6913         (completion-pcm--merge-completions): Extract common suffix for the new
6914         `prefix' symbol as well.
6915         (completion-substring--all-completions): Use the new `prefix' symbol.
6917 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
6919         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
6920         not bound.
6921         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6922         (tramp-compat-funcall): New defmacro.
6923         (tramp-compat-line-beginning-position)
6924         (tramp-compat-line-end-position)
6925         (tramp-compat-temporary-file-directory)
6926         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6927         (tramp-compat-copy-file, tramp-compat-copy-directory)
6928         (tramp-compat-delete-file, tramp-compat-delete-directory)
6929         (tramp-compat-number-sequence, tramp-compat-process-running-p)
6930         * net/tramp.el (top, with-progress-reporter)
6931         (tramp-rfn-eshadow-setup-minibuffer)
6932         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6933         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6934         (tramp-completion-mode-p, tramp-check-for-regexp)
6935         (tramp-open-connection-setup-interactive-shell)
6936         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6937         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6938         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
6939         * net/tramp-cmds.el (tramp-cleanup-all-connections)
6940         (tramp-reporter-dump-variable, tramp-load-report-modules)
6941         (tramp-append-tramp-buffers)
6942         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
6944         * net/tramp-imap.el (top): Autoload `epg-make-context'.
6946 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6948         * progmodes/compile.el (compilation-buffer-modtime): Rename from
6949         buffer-modtime.  Adjust users.
6951 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
6953         * international/mule.el (auto-coding-alist): Only purecopy
6954         car of each item, not the whole list (Bug#6083).
6956 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
6958         * progmodes/js.el (js-mode): Make paragraph variables local before
6959         calling c-setup-paragraph-variables (Bug#6071).
6961 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
6963         * composite.el (compose-region, reference-point-alist): Fix typos
6964         in the doc strings.
6966 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
6968         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
6969         gnuplot's "set" command.
6971 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
6973         * abbrev.el (last-abbrev-text): Doc fix.
6974         (abbrev-prefix-mark): Don't escape parenthesis.
6976 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
6978         * composite.el (find-composition): Doc fix.
6980 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
6982         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
6983         (sql-oracle-program, sql-sqlite-options)
6984         (sql-query-placeholders-and-send): Doc fixes.
6985         (sql-set-product, sql-interactive-mode): Reflow docstrings.
6986         (sql-imenu-generic-expression, sql-buffer)
6987         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
6988         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
6989         (sql-mode-sybase-font-lock-keywords)
6990         (sql-mode-informix-font-lock-keywords)
6991         (sql-mode-interbase-font-lock-keywords)
6992         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
6993         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
6994         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
6995         (sql-product-feature, sql-highlight-product)
6996         (comint-line-beginning-position, sql-rename-buffer)
6997         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
6998         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
6999         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
7000         Fix typos in docstrings.
7002 2010-05-08  Juri Linkov  <juri@jurta.org>
7004         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
7005         property instead of `invisible' and `after-string' (bug#5998).
7007 2010-05-08  Juri Linkov  <juri@jurta.org>
7009         * image-mode.el (image-mode-as-text): Fix typo in docstring.
7011 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
7013         * filecache.el (file-cache-add-directory-list)
7014         (file-cache-add-directory-recursively): Fix typos in docstrings.
7016 2010-05-08  Kenichi Handa  <handa@m17n.org>
7018         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
7019         (gujarati-composable-pattern): Fix typo.
7021 2010-05-08  Kenichi Handa  <handa@m17n.org>
7023         * language/indian.el (oriya-composable-pattern)
7024         (tamil-composable-pattern, malayalam-composable-pattern):
7025         Add two-part vowels to "v" (vowel sign).
7027 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
7029         * files.el (copy-directory): Handle symlinks (Bug#5982).
7031 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
7033         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
7034         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
7035         (Bug#5846).
7037 2010-05-08  Glenn Morris  <rgm@gnu.org>
7039         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
7041         * minibuffer.el (completion-at-point): Doc fix.
7043 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7045         * electric.el (Electric-command-loop): Minor tweak.
7047         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
7048         better with dedicated windows.
7050 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
7052         * Version 23.2 released.
7054 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
7055             Stefan Monnier  <monnier@iro.umontreal.ca>
7057         Highlight vendor specific properties.
7058         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
7059         (css-proprietary-property): New face.
7060         (css-font-lock-keywords): Use them.
7062 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
7064         * cus-start.el (all): Add native condition for tool-bar-* symbols.
7066 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7068         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
7069         * files.el (auto-mode-alist): Remove redundant entries.
7071         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
7072         * simple.el (auto-save-mode): Move from files.el.
7073         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
7075 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
7077         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
7079 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
7081         * mail/binhex.el (binhex-decode-region-internal)
7082         * mail/uudecode.el (uudecode-decode-region-internal)
7083         * net/dns.el (dns-read-string-name, dns-write, dns-read)
7084         (dns-read-type, dns-query)
7085         * pgg-parse.el (pgg-parse-armor)
7086         * pgg.el (pgg-verify-region)
7087         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
7088         XEmacs.
7090         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
7092 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
7094         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
7096         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
7097         * emulation/cua-base.el (cua-repeat-replace-region):
7098         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7099         (cua-cut-region-to-global-mark):
7100         Remove text properties with `set-text-properties'.
7102 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
7104         * net/tramp.el (top, with-progress-reporter):
7105         Use `symbol-function' inside `funcall'.
7107         * net/tramp-compat.el (tramp-compat-file-attributes)
7108         (tramp-compat-delete-file, tramp-compat-delete-directory):
7109         Handle only `wrong-number-of-arguments' error.
7111         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
7112         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
7113         inside `funcall'.
7115 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7117         * minibuffer.el (completion--sreverse, completion--common-suffix):
7118         New functions.
7119         (completion-pcm--merge-completions): Extract common suffix when safe.
7121         * emacs-lisp/easy-mmode.el (define-minor-mode):
7122         Make :variable more flexible.
7123         * files.el (auto-save-mode): Use it to define using define-minor-mode.
7125 2010-05-05  Juri Linkov  <juri@jurta.org>
7127         Add `slow' and `history' tags to the desktop data.
7129         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
7130         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
7131         (Info-finder-find-node): Require `finder.el' to be able
7132         to restore node from the desktop.
7133         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
7134         data `Info-history' and `slow' tag in the assoc list.
7135         (Info-restore-desktop-buffer): Don't restore nodes with the
7136         `slow' tag.  Restore `Info-history'.
7138 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
7140         Add FORCE argument to `delete-file'.
7142         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
7143         forcing to delete the temporary file.
7144         (ange-ftp-delete-file): Add FORCE arg.
7145         (ange-ftp-rename-remote-to-remote)
7146         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
7147         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
7148         Force file deletion.
7150         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
7152         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
7153         (tramp-handle-make-symbolic-link, tramp-handle-load)
7154         (tramp-do-copy-or-rename-file-via-buffer)
7155         (tramp-do-copy-or-rename-file-directly)
7156         (tramp-do-copy-or-rename-file-out-of-band)
7157         (tramp-handle-process-file, tramp-handle-call-process-region)
7158         (tramp-handle-shell-command, tramp-handle-file-local-copy)
7159         (tramp-handle-insert-file-contents, tramp-handle-write-region)
7160         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
7162         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
7163         (tramp-fish-handle-make-symbolic-link)
7164         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
7166         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7167         Use `tramp-compat-delete-file'.
7169         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
7170         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
7172         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
7173         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
7175         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
7176         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
7177         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
7178         `tramp-compat-delete-file'.
7180 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7182         Minor cleanups.
7183         * subr.el (add-minor-mode): Use push.
7184         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
7185         * emulation/edt.el (edt-select-mode): Simplify.
7187         Use define-minor-mode in more cases.
7188         * term/tvi970.el (tvi970-set-keypad-mode):
7189         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7190         (normal-erase-is-backspace-mode):
7191         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
7192         (set-scroll-bar-mode-1): (Re)move to its sole caller.
7193         (get-scroll-bar-mode): New function.
7194         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
7196         Use define-minor-mode for less obvious cases.
7197         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
7198         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
7199         * international/iso-ascii.el (iso-ascii-mode):
7200         * frame.el (auto-raise-mode, auto-lower-mode):
7201         * composite.el (global-auto-composition-mode): Use define-minor-mode.
7203 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
7205         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
7206         in order to see error messages for failed logins.
7208 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
7210         * diff.el (diff-sentinel):
7212         * epg.el (epg--make-temp-file, epg-decrypt-string)
7213         (epg-verify-string, epg-sign-string, epg-encrypt-string):
7215         * jka-compr.el (jka-compr-partial-uncompress)
7216         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
7218         * server.el (server-sentinel): Use delete-file's new FORCE arg
7219         (Bug#6070).
7221 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7223         Use define-minor-mode where applicable.
7224         * view.el (view-mode):
7225         * type-break.el (type-break-query-mode)
7226         (type-break-mode-line-message-mode):
7227         * textmodes/reftex.el (reftex-mode):
7228         * term/vt100.el (vt100-wide-mode):
7229         * tar-mode.el (tar-subfile-mode):
7230         * savehist.el (savehist-mode):
7231         * ibuf-ext.el (ibuffer-auto-mode):
7232         * composite.el (auto-composition-mode):
7233         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7234         Use define-minor-mode.
7235         (vhdl-mode): Use static mode-line format.
7236         (vhdl-mode-line-update): Delete.
7237         (vhdl-create-mode-menu, vhdl-activate-customizations)
7238         (vhdl-hs-minor-mode): Don't bother calling it.
7240 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7242         * simple.el (with-wrapper-hook): Move.
7243         (buffer-substring-filters): Mark obsolete.
7244         (filter-buffer-substring-functions): New variable.
7245         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
7247 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
7248             Michael Albinus  <michael.albinus@gmx.de>
7250         Implement compression for inline methods.
7252         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
7253         (tramp-copy-size-limit): Allow also nil.
7254         (tramp-inline-compress-commands): New defconst.
7255         (tramp-find-inline-compress, tramp-get-inline-compress)
7256         (tramp-get-inline-coding): New defuns.
7257         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
7258         replaced by `tramp-get-inline-coding'.
7259         (tramp-handle-file-local-copy, tramp-handle-write-region)
7260         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
7262 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7264         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
7265         Remove unused functions.
7267         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
7268         Set find-tag-default-function as a variable rather than a property.
7270         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
7271         * progmodes/etags.el (tags-completion-at-point-function):
7272         Remove left over interactive spec.  Add autoloading stub.
7273         (complete-tag): Use tags-completion-at-point-function.
7275 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
7277         * minibuffer.el (tags-completion-at-point-function): Fix return value.
7279 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
7281         * ido.el (ido-init-completion-maps): Remove C-v binding.
7282         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
7284 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
7286         * minibuffer.el (tags-completion-at-point-function): New function.
7287         (completion-at-point-functions): Use it.
7289         * progmodes/etags.el (complete-tag): Revert last change.
7291 2010-04-29  Alan Mackenzie  <acm@muc.de>
7293         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
7294         off-by-one error (in end of macro position).
7296 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7298         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
7299         firefox is absent.  Don't autoload.
7300         (browse-url-galeon-program): Don't autoload.
7302 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
7304         * bindings.el (complete-symbol): Move into minibuffer.el.
7306         * minibuffer.el (complete-tag): Move from etags.el.  If tags
7307         completion cannot be performed, return nil instead of signalling
7308         an error.
7309         (completion-at-point): Make it an alias for complete-symbol.
7310         (complete-symbol): Move from bindings.el, and replace with the
7311         body of completion-at-point.
7313         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
7315 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
7317         * net/tramp.el (tramp-remote-selinux-p): New defun.
7318         (tramp-handle-file-selinux-context)
7319         (tramp-handle-set-file-selinux-context): Use it.
7321 2010-04-28  Sam Steingold  <sds@gnu.org>
7323         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
7324         `safe-local-variable' if the value is a string or a symbol with
7325         the property `bug-reference-url-format'.
7327 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
7329         * progmodes/bug-reference.el (bug-reference-url-format):
7330         Revert 2010-04-27 change due to security risk.
7332 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7334         Make it possible to locally disable a globally enabled mode.
7335         * simple.el (fundamental-mode): Run fundamental-mode-hook.
7336         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
7337         rather than kill-all-local-variables so it runs fundamental-mode-hook.
7338         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7339         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
7340         that subsequent hooks get a chance to disable it.
7342 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7344         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7345         Avoid re-enabling a minor mode after the user turned the minor mode
7346         off if MODE-enable-in-buffers is run twice (typically once from
7347         fundamental-mode's after-change-major-mode-hook and a second time from
7348         run-mode-hook's own after-change-major-mode-hook).
7350         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
7352 2010-04-27  Sam Steingold  <sds@gnu.org>
7354         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
7355         `safe-local-variable' if the value is a string or a function, as
7356         documented and implemented on 2010-04-02.
7358 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
7360         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
7361         when method is 'kill.
7363 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
7365         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
7366         condition in default directory check.
7367         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
7368         Kill ispell process when killing its associated buffer.
7370 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
7372         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
7373         but we aren't using it.
7375 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
7377         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
7378         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
7380 2010-04-24  Glenn Morris  <rgm@gnu.org>
7382         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
7383         Ignore VCS-ignore files, and deleted nextstep preferences files.
7384         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
7385         (authors-ambiguous-files): New list.
7386         (authors-valid-file-names): Add some deleted files.
7387         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
7388         (authors-disambiguate-file-name): New function.  (Bug#5501)
7389         (authors-canonical-file-name): Doc fix.
7390         Don't warn about obsolete files.
7391         (authors-canonical-file-name, authors-scan-el):
7392         Use authors-disambiguate-file-name.
7394         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
7395         Add autoload cookies.
7396         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
7397         (generated-autoload-file): Set file-local value to "htmlfontify.el".
7398         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
7399         They have definitions / compiler macros in cl.el.
7400         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
7401         Replace manual autoloads with generated ones.
7402         (htmlfontify-unload-rgb-file): Remove autoload.
7403         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
7405 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7407         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
7408         (byte-compile-setq-default): Optimize for the
7409         single-var case and don't call byte-compile-form in this case to avoid
7410         inf-loop with byte-compile-set-default.
7412         * progmodes/compile.el (compilation-start): Abbreviate default directory.
7414 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
7416         Implement SELINUX backends.
7418         * net/tramp.el (tramp-file-name-handler-alist):
7419         Add `file-selinux-context' and `set-file-selinux-context'.
7420         (tramp-handle-file-selinux-context)
7421         (tramp-handle-set-file-selinux-context): New defuns.
7422         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
7423         Handle PRESERVE-SELINUX-CONTEXT.
7425         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7426         Add `file-selinux-context' and `set-file-selinux-context'.
7427         (tramp-gvfs-handle-file-selinux-context)
7428         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
7429         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
7431         * net/ange-ftp.el (ange-ftp-copy-file):
7432         * net/tramp-fish.el (tramp-fish-handle-copy-file):
7433         * net/tramp-imap.el (tramp-imap-handle-copy-file):
7434         * net/tramp-smb.el (tramp-smb-handle-copy-file):
7435         Add PRESERVE-SELINUX-CONTEXT.
7437 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
7439         Synchronize with Tramp repository.
7441         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
7442         (tramp-action-process-alive, tramp-action-out-of-band)
7443         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
7444         (tramp-exists-file-name-handler): Fix docstring.
7445         (with-progress-reporter): New defmacro.
7446         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
7447         (tramp-maybe-open-connection): Use it.
7449 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
7451         Detect ssh 'ControlMaster' argument automatically in some cases.
7453         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
7454         (tramp-default-method): Use it.
7456 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
7458         * net/tramp.el (tramp-handle-copy-file): Add new optional
7459         parameter `preserve-selinux-context'.
7460         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
7462 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
7464         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
7465         Ensure, that non remote files are still checked.  Oops.
7467 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
7469         Fix Bug#5840.
7471         * icomplete.el (icomplete-completions): Use `non-essential'.
7473         * net/tramp.el (tramp-connectable-p): New defun.
7474         (tramp-handle-expand-file-name)
7475         (tramp-completion-handle-file-name-all-completions)
7476         (tramp-completion-handle-file-name-completion): Use it.
7478 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7480         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
7482 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
7484         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
7486         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
7488         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
7489         is present.
7491         * info.el (info-tool-bar-map): Add labels.
7493         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
7495         * cus-edit.el (custom-commands): Add labels for tool bar.
7496         (custom-buffer-create-internal, Custom-mode): Adjust for
7497         labels in custom-commands.
7499         * dynamic-setting.el: Renamed from font-setting.el.
7501 2010-04-21  John Wiegley  <jwiegley@gmail.com>
7503         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
7504         toggles the use of virtual buffers.
7505         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
7506         (ido-toggle-virtual-buffers): New function.
7508 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
7510         Use `define-derived-mode'; fix window selection; doc fixes.
7511         * play/tetris.el (tetris, tetris-update-speed-function)
7512         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
7513         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
7514         (tetris-rotate-next, tetris-end-game, tetris-start-game)
7515         (tetris-pause-game): Fix typos in docstrings.
7516         (tetris-mode-map, tetris-null-map):
7517         Move initialization into declaration.
7518         (tetris-mode): Define with `define-derived-mode';
7519         set show-trailing-whitespace to nil.
7520         (tetris): Prefer window already displaying the "*Tetris*" buffer.
7522 2010-04-21  Karel Klíč  <kklic@redhat.com>
7524         * files.el (backup-buffer): Handle SELinux context, and return it
7525         if a backup was made by renaming.
7526         (backup-buffer-copy): Set SELinux context to the target file.
7527         (basic-save-buffer): Set SELinux context of the newly written file.
7528         (basic-save-buffer-1): Now it also returns any SELinux context.
7529         (basic-save-buffer-2): Set SELinux context of the newly created file,
7530         and return it.
7531         * net/tramp.el (tramp-file-name-for-operation):
7532         Add file-selinux-context.
7534 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7536         Make the log-edit comments use RFC822 format throughout.
7538         * vc.el (vc-checkin, vc-modify-change-comment):
7539         Adjust to new vc-start/finish-logentry.
7540         (vc-find-conflicted-file): New command.
7541         (vc-transfer-file): Adjust to new vc-checkin.
7542         (vc-next-action): Improve scoping.
7544         * vc-hg.el (vc-hg-log-edit-mode): Remove.
7545         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
7547         * vc-git.el (vc-git-log-edit-mode): Remove.
7548         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
7549         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
7551         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
7552         (vc-start-logentry): Remove argument `extra'.
7553         (vc-finish-logentry): Remove extra args.
7555         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
7556         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
7557         (vc-bzr-conflicted-files): New function.
7559         * log-edit.el (log-edit-extra-flags)
7560         (log-edit-before-checkin-process): Remove.
7561         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
7562         (log-edit-headers-alist): New var.
7563         (log-edit-header-contents-regexp): New const.
7564         (log-edit-match-to-eoh): New function.
7565         (log-edit-font-lock-keywords): Use them.
7566         (log-edit): Insert a "Summary:" header as default.
7567         (log-edit-mode): Mark font-lock rules as case-insensitive.
7568         (log-edit-done): Cleanup headers.
7569         (log-view-process-buffer): Remove.
7570         (log-edit-extract-headers): New function to replace it.
7572 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
7574         * subr.el (default-direction-reversed): Remove obsolescence info.
7576 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7578         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
7579         windows/frames.
7581         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
7582         I.e. include text after point in the completion region.
7583         Also, return nil when we're not after/in a symbol.
7585         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
7586         default enable-multibyte-characters.
7588 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7590         * international/mule.el: Help the user choose a valid coding-system.
7591         (read-buffer-file-coding-system): New function.
7592         (set-buffer-file-coding-system): Use it.  Prompt the user if the
7593         coding-system cannot encode all the chars.
7595         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
7596         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
7597         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
7598         Don't use *vc-bzr-shelve*.
7600 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
7602         Fix the version number for added files.
7603         * vc-hg.el (vc-hg-working-revision): Check if the file is
7604         registered after hg parent fails (Bug#5961).
7606 2010-04-19  Glenn Morris  <rgm@gnu.org>
7608         * htmlfontify.el (htmlfontify-buffer)
7609         (htmlfontify-copy-and-link-dir): Autoload entry points.
7611 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
7613         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
7614         name relative to the project root (Bug#5960).
7616 2010-04-19  Glenn Morris  <rgm@gnu.org>
7618         * vc-git.el (vc-git-print-log): Doc fix.
7620 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
7622         * ido.el (ido-file-internal): Fix 2009-12-02 change.
7624 2010-04-19  Christoph  <cschol2112@googlemail.com>  (tiny change)
7626         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
7627         default settings (Bug#5928).
7629 2010-04-19  Glenn Morris  <rgm@gnu.org>
7631         * progmodes/fortran.el (fortran-match-and-skip-declaration):
7632         New function.
7633         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
7635 2010-04-19  Kenichi Handa  <handa@m17n.org>
7637         * language/indian.el (malayalam-composable-pattern): Fix previous
7638         change (add U+0D4D "SIGN VIRAMA").
7639         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
7640         (tamil-composable-pattern): Fix typo in the regexp.
7641         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
7642         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
7643         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
7645 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
7647         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
7648         paragraph-separate (Bug#5821).
7650 2010-04-19  Juri Linkov  <juri@jurta.org>
7652         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
7654         * info.el (Info-find-node-2): Comment out code that skips
7655         breadcrumbs line.
7656         (Info-mouse-follow-link): New command.
7657         (Info-link-keymap): New keymap.
7658         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
7659         Return a string with links instead of inserting breadcrumbs
7660         to the Info buffer.
7661         (Info-fontify-node): Comment out code that inserts breadcrumbs.
7662         Instead of putting the `invisible' text property over the Info
7663         header, make an overlay over the Info header with the `invisible'
7664         property and `after-string' set to the string returned by
7665         `Info-breadcrumbs'.
7667 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
7669         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
7670         Reported by monkey@sandpframing.com.
7672 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7674         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
7675         (tmm-get-keymap): Add key-binding shortcuts now that they're not
7676         available in the "keyseq cache" any more.
7678         * custom.el (defcustom): Add edebug spec.
7680 2010-04-18  Juri Linkov  <juri@jurta.org>
7682         Test for special mode-class in view-buffer instead of view-file (bug#5513).
7684         * view.el (view-file, view-buffer): Move test for special mode-class
7685         from view-file to view-buffer.
7687         * tar-mode.el (tar-extract): Turn if's into one cond
7688         like in arc-mode.el.
7690 2010-04-18  Juri Linkov  <juri@jurta.org>
7692         Add 7z archive format support (bug#5475).
7694         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
7695         (archive-7z-extract): New defcustom.
7696         (archive-find-type): Add magic string for 7z.
7697         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
7698         If `stderr-file' is non-nil, use `(t stderr-file)' for the
7699         `buffer' arg of `call-process'.
7700         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
7701         call the function `archive-7z-extract' with the variable
7702         `archive-7z-extract' let-bound to `archive-zip-extract'.
7703         (archive-7z-summarize, archive-7z-extract): New functions.
7705         * international/mule.el (auto-coding-alist):
7706         * files.el (auto-mode-alist): Add 7z file extension.
7708 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7710         * loadup.el: Setup hash-cons for pure data.
7712         Fix duplicate entries in cedet's loaddefs.el files.
7713         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
7714         Should make most file-local generated-autoload-file unnecessary.
7715         (print-readably): Silence warnings.
7716         (autoload-find-destination): Take load-name as an arg to make sure
7717         it's the same as the one that will be in the file.
7718         (autoload-generate-file-autoloads): Adjust to above changes.
7719         Try to make the dataflow a bit simpler.
7721         * cvs-status.el (cvs-refontify): Remove unused.
7723 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
7725         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
7727         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
7728         twos-complement mode.
7730 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
7732         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
7733         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
7734         (calc-inverse): Add "Option" to message, as appropriate.
7735         (calc-hyperbolic): Add "Option" to message, as appropriate.
7736         (calc-option, calc-is-option): New functions.
7738         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
7739         (calc-option-prefix-help): New function.
7741         * calc/calc-misc.el (calc-help): Add "Option" entry.
7743         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
7744         (calc-option-flag): New variable.
7745         (calc-do): Set `calc-option-flag to nil.
7746         (calc-set-mode-line): Add "Opt " as appropriate.
7748 2010-04-16  Juri Linkov  <juri@jurta.org>
7750         Move scrolling commands from simple.el to window.el
7751         because their primitives are implemented in window.c.
7753         * simple.el (scroll-error-top-bottom)
7754         (scroll-up-command, scroll-down-command, scroll-up-line)
7755         (scroll-down-line, scroll-other-window-down)
7756         (beginning-of-buffer-other-window, end-of-buffer-other-window):
7757         * window.el (scroll-error-top-bottom)
7758         (scroll-up-command, scroll-down-command, scroll-up-line)
7759         (scroll-down-line, scroll-other-window-down)
7760         (beginning-of-buffer-other-window, end-of-buffer-other-window):
7761         Move from simple.el to window.el because their primitives are
7762         implemented in window.c.
7764 2010-04-16  Juri Linkov  <juri@jurta.org>
7766         * isearch.el (isearch-lookup-scroll-key): Check both
7767         `isearch-scroll' and `scroll-command' properties.
7768         (scroll-up, scroll-down): Remove `isearch-scroll' property.
7770         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
7772         * simple.el (scroll-up-command, scroll-down-command)
7773         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
7775 2010-04-15  Juri Linkov  <juri@jurta.org>
7777         * simple.el (scroll-up-command, scroll-down-command)
7778         (scroll-up-line, scroll-down-line): Put `scroll-command'
7779         property on the these symbols.  Remove them from
7780         `scroll-preserve-screen-position-commands'.
7782         * mwheel.el (mwheel-scroll): Put `scroll-command' and
7783         `isearch-scroll' properties on the `mwheel-scroll' symbol.
7784         Remove it from `scroll-preserve-screen-position-commands'.
7786         * isearch.el (isearch-allow-scroll): Doc fix.
7788 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
7790         * net/tramp.el (tramp-error-with-buffer): Don't show the
7791         connection buffer when we are in completion mode.
7792         (tramp-file-name-handler): Catch the error for some operations
7793         when we are in completion mode.  This gives the user the chance to
7794         correct the file name in the minibuffer.
7796 2010-04-15  Glenn Morris  <rgm@gnu.org>
7798         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
7800 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
7802         Simplify by using `define-derived-mode'.
7803         * info.el (Info-mode):
7804         * calendar/todo-mode.el (todo-mode):
7805         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
7806         (gomoku-mode-map): Move initialization into declaration.
7808 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
7810         Fix Bug#5840.
7811         * ido.el (ido-file-name-all-completions-1):
7812         * minibuffer.el (minibuffer-completion-help):
7813         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
7815 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7817         * simple.el (non-essential): New var.
7819         Add a new field `location' to bookmarks for non-file bookmarks.
7820         * bookmark.el (bookmark-location): Use the new field, if present.
7821         (bookmark-insert-location): Undo last change, not needed any more.
7822         * man.el (Man-bookmark-make-record):
7823         * woman.el (woman-bookmark-make-record): Add `location' field.
7825 2010-04-14  Juri Linkov  <juri@jurta.org>
7827         * simple.el (scroll-error-top-bottom): New defcustom.
7828         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
7830         * emulation/pc-select.el (pc-select-override-scroll-error):
7831         Obsolete in favor of `scroll-error-top-bottom'.
7833 2010-04-14  Juri Linkov  <juri@jurta.org>
7835         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
7836         `scroll-up-command' and `M-v' to `scroll-down-command'.
7838         * emulation/cua-rect.el (cua--init-rectangles):
7839         * forms.el (forms--change-commands):
7840         * image-mode.el (image-mode-map):
7841         Remap scroll-down-command and scroll-up-command
7842         in addition to scroll-down and scroll-up.
7844 2010-04-14  Juri Linkov  <juri@jurta.org>
7846         * mwheel.el (scroll-preserve-screen-position-commands):
7847         Add mwheel-scroll to this list of commands.
7849         * simple.el (scroll-preserve-screen-position-commands):
7850         Add scroll-up-command, scroll-down-command, scroll-up-line,
7851         scroll-down-line to this list of commands.
7853 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7855         * obsolete/complete.el: Move from lisp/complete.el.
7857         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
7859         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
7860         to the minor mode function now turns the mode ON unconditionally.
7862 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7864         * vc-dir.el (vc-dir-kill-line): New command.
7865         (vc-dir-mode-map): Bind it to C-k.
7867         * bookmark.el (bookmark-insert-location): Handle a nil filename.
7869         * woman.el: Add bookmark declarations to silence the compiler.
7870         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
7871         step to compatibility between man and woman bookmarks.
7872         Adjust for Man-default-bookmark-title renaming.
7873         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
7875         * man.el: Add bookmark declarations to silence the compiler.
7876         (Man-name-local-regexp): Make it match NAME as well.
7877         (Man-getpage-in-background): Return the buffer.
7878         (Man-notify-when-ready): Use `case'.
7879         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
7880         Don't hardcode "NAME".  Simplify.
7881         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
7882         Rename from Man-bookmark-make-record.
7883         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
7884         we have the actual man-args.  Use Man-getpage-in-background rather
7885         than `man' since the arg is already processed.  Let bookmark.el do the
7886         window handling.  Only wait for the relevant process.
7887         Don't forget to autoload.
7889         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
7891 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7893         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
7894         New functions.
7895         (woman-mode): Setup bookmark support.
7897         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
7898         (man-bookmark-jump): New functions.
7899         (Man-mode): Setup bookmark support.
7901 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
7903         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
7904         recognize ssh-keygen prompt (Bug#2817).
7906 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
7908         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
7910 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
7912         Synchronize with Tramp repository.
7914         * net/tramp.el (tramp-completion-function-alist)
7915         (tramp-file-name-regexp, tramp-chunksize)
7916         (tramp-local-coding-commands, tramp-remote-coding-commands):
7917         Fix docstring.
7918         (tramp-remote-process-environment): Use `format' instead of `concat'.
7919         (tramp-handle-directory-files-and-attributes)
7920         (tramp-get-remote-path): Use `copy-tree'.
7921         (tramp-handle-file-name-all-completions): Backward/ XEmacs
7922         compatibility: Use `completion-ignore-case' if
7923         `read-file-name-completion-ignore-case' does not exist.
7924         (tramp-do-copy-or-rename-file-directly): Do not use
7925         `tramp-handle-file-remote-p'.
7926         (tramp-do-copy-or-rename-file-out-of-band):
7927         Use `tramp-compat-delete-directory'.
7928         (tramp-do-copy-or-rename-file-out-of-band)
7929         (tramp-compute-multi-hops, tramp-maybe-open-connection):
7930         Use `format-spec-make'.
7931         (tramp-find-foreign-file-name-handler)
7932         (tramp-advice-make-auto-save-file-name)
7933         (tramp-set-auto-save-file-modes): Remove superfluous check for
7934         `stringp'.  This is done inside `tramp-tramp-file-p'.
7935         (tramp-debug-outline-regexp): New defconst.
7936         (tramp-get-debug-buffer): Use it.
7937         (tramp-check-for-regexp): Use (forward-line 1).
7938         (tramp-set-auto-save-file-modes): Adapt version check.
7940         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
7941         Wrap call of `featurep' for 2nd argument.
7942         (tramp-compat-make-temp-file): Simplify fallback implementation.
7943         (tramp-compat-copy-tree): Remove function.
7944         (tramp-compat-delete-directory): Provide implementation for older
7945         Emacsen.
7947         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
7948         Do not use `tramp-fish-handle-file-attributes.
7950         * net/trampver.el: Update release number.
7952 2010-04-10  Glenn Morris  <rgm@gnu.org>
7954         * progmodes/compile.el (compilation-save-buffers-predicate):
7955         Add missing :version tag.
7957 2010-04-09  Sam Steingold  <sds@gnu.org>
7959         * progmodes/compile.el (compilation-save-buffers-predicate):
7960         Remove the "autoload" cookie.
7962         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
7963         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
7964         and `bug-reference-prog-mode' can be used in hooks directly.
7966 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
7968         Add --author support to git commit.
7969         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
7970         (vc-git-log-edit-mode): New minor mode.
7971         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
7972         New declarations.
7974 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
7976         * vc-hooks.el, vc-git.el: Improve documentation comments.
7978 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7980         Fix some of the problems in defsubst* (bug#5728).
7981         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
7982         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
7984 2010-04-07  Sam Steingold  <sds@gnu.org>
7986         * progmodes/compile.el (compilation-save-buffers-predicate):
7987         New custom variable.
7988         (compile, recompile): Pass it to `save-some-buffers'.
7990 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
7992         * wid-edit.el (widget-choose): Move cursor to the second line of
7993         the buffer (Bug#5695).
7995 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
7997         Add new VC methods: vc-log-incoming and vc-log-outgoing.
7998         * vc.el (vc-print-log-setup-buttons): New function split out from
7999         vc-print-log-internal.
8000         (vc-log-internal-common): New function, a parametrized version of
8001         vc-print-log-internal.
8002         (vc-print-log-internal): Just call vc-log-internal-common with the
8003         right arguments.
8004         (vc-incoming-outgoing-internal):
8005         (vc-log-incoming, vc-log-outgoing): New functions.
8006         (vc-log-view-type): New permanent local variable.
8008         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
8010         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
8011         of the dynamic bound vc-short-log.
8012         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
8014         * vc-git.el (vc-git-log-outgoing): New function.
8015         (vc-git-log-view-mode): Use vc-log-view-type instead
8016         of the dynamic bound vc-short-log.
8018         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
8019         of the dynamic bound vc-short-log.  Highlight the tag.
8020         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
8021         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
8022         (vc-hg-incoming-mode): Remove.
8023         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
8025 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
8027         Fix default-directory for vc-root-diff.
8028         * vc.el (vc-root-diff): Bind default-directory to the root
8029         directory for the diff command.
8031 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
8033         * progmodes/verilog-mode.el (verilog-forward-sexp):
8034         (verilog-calc-1): Support "disable fork" and "fork wait" multi
8035         word keywords, suggested by Steve Pearlmutter.
8036         (verilog-pretty-declarations): Support lineup of declarations in
8037         port lists.
8038         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
8039         fix bug for /* / comments.
8040         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
8041         Speed up and simplfy as this is never called with a bound.
8042         (verilog-pretty-declarations): Enhance to line up declarations
8043         inside a parameter list, suggested by Alan Morgan.
8044         (verilog-pretty-expr): Tune assignment regular expression match
8045         string for corner cases; also use markers instead of character
8046         number as indent changes the later.
8048 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
8050         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
8051         as missing keyword.
8052         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
8053         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
8054         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
8055         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
8056         Tennant.
8057         (verilog-keywords):
8058         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
8059         1800-2009 keywords, including "global.".
8061 2010-04-06  John Wiegley  <jwiegley@gmail.com>
8063         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
8064         appearing in buffer list (if a live buffer name matched a recentf
8065         file basename).  Should use uniquify to offer a real solution.
8067 2010-04-06  John Wiegley  <jwiegley@gmail.com>
8069         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
8070         comment to code, and add a :version tag.
8071         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
8073 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
8075         Enable recentf-mode if using virtual buffers.
8076         * ido.el (recentf-list): Declare for byte-compiler.
8077         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
8078         (ido-make-buffer-list): Simplify.
8079         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
8081 2010-04-05  Juri Linkov  <juri@jurta.org>
8083         Scrolling commands which scroll a line instead of full screen.
8084         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
8086         * simple.el (scroll-up-line, scroll-down-line): New commands.
8087         Put property isearch-scroll=t on them.
8089         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
8090         Remove commands.
8092 2010-04-05  Juri Linkov  <juri@jurta.org>
8094         Scrolling commands which do not signal errors at top/bottom.
8095         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
8097         * simple.el (scroll-up-command, scroll-down-command): New commands.
8098         Put property isearch-scroll=t on them.
8100         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
8101         `scroll-down-command' and [next] from `scroll-up' to
8102         `scroll-up-command'.
8104         * emulation/cua-base.el: Put property CUA=move on
8105         `scroll-up-command' and `scroll-down-command'.
8106         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
8107         and `scroll-down-command' to `cua-scroll-down'.
8109 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
8111         * help.el (describe-mode): Return nil.
8113 2010-04-04  John Wiegley  <jwiegley@gmail.com>
8115         * ido.el (ido-use-virtual-buffers): New variable to indicate
8116         whether "virtual buffer" support is enabled for IDO.
8117         (ido-virtual): Face used to indicate virtual buffers in the list.
8118         (ido-buffer-internal): If a buffer is chosen, and no such buffer
8119         exists, but a virtual buffer of that name does (which would be why
8120         it was in the list), recreate the buffer by reopening the file.
8121         (ido-make-buffer-list): If virtual buffers are being used, call
8122         `ido-add-virtual-buffers-to-list' before the make list hook.
8123         (ido-virtual-buffers): New variable which contains a copy of the
8124         current contents of the `recentf-list', albeit pared down for the
8125         sake of speed, and with proper faces applied.
8126         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
8127         create a list of "virtual buffers" to present to the user in
8128         addition to the currently open set.  Note that this logic could
8129         get rather slow if that list is too large.  With the default
8130         `recentf-max-saved-items' of 200, there is little speed penalty.
8132 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8134         * font-lock.el: Require CL when compiling.
8135         (font-lock-turn-on-thing-lock): Use `case'.
8137 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
8139         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
8140         Zaretskii.
8142 2010-04-02  Juri Linkov  <juri@jurta.org>
8144         * ehelp.el (electric-help-orig-major-mode):
8145         New buffer-local variable.
8146         (electric-help-mode): Set it to original major-mode.  Doc fix.
8147         (with-electric-help): Use `electric-help-orig-major-mode' instead
8148         of (default-value 'major-mode).  Doc fix.
8149         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
8151 2010-04-02  Sam Steingold  <sds@gnu.org>
8153         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
8154         `vc-hg-command' with a list of flags.
8156         * progmodes/bug-reference.el (bug-reference-bug-regexp):
8157         Also accept "patch" and "RFE".
8158         (bug-reference-fontify): `bug-reference-url-format' can also be a
8159         function to be able to handle the bug kind.
8160         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
8162 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
8164         * tmm.el (tmm-get-keymap): Check with symbolp before passing
8165         value to fboundp, it may not be a symbol.
8167 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
8169         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
8171 2010-03-31  Juri Linkov  <juri@jurta.org>
8173         * simple.el (next-line, previous-line): Re-throw a signal
8174         with `signal' instead of using `ding'.
8175         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
8177 2010-03-31  Juri Linkov  <juri@jurta.org>
8179         * simple.el (keyboard-escape-quit): Raise deselecting the active
8180         region higher than exiting the minibuffer.
8181         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
8183 2010-03-31  Juri Linkov  <juri@jurta.org>
8185         * image.el (image-animated-p): Use `image-metadata' instead of
8186         `image-extension-data'.  Get GIF extenstion data from metadata
8187         property `extension-data'.
8189 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8191         * simple.el (append-to-buffer): Simplify.
8193 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
8195         * textmodes/artist.el (artist-mode): Fix typo in docstring.
8196         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
8198 2010-03-31  Kenichi Handa  <handa@m17n.org>
8200         * language/sinhala.el (composition-function-table): Fix regexp for
8201         the new Unicode specification.
8203         * language/indian.el (devanagari-composable-pattern)
8204         (tamil-composable-pattern, kannada-composable-pattern)
8205         (malayalam-composable-pattern): Adjust for the new Unicode
8206         specification.
8207         (bengali-composable-pattern, gurmukhi-composable-pattern)
8208         (gujarati-composable-pattern, oriya-composable-pattern)
8209         (telugu-composable-pattern): New variables to cope with the new
8210         Unicode specification.  Use them in composition-function-table.
8212 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8214         Make tmm-menubar work for the Buffers menu again (bug#5726).
8215         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
8216         vectors rather than cons cells, as used in menu-bar-update-buffers.
8218 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
8220         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
8221         (js-insert-and-indent): Revert 2009-08-15 change, restoring
8222         electric punctuation for "{}();,:" (Bug#5586).
8224         * mail/sendmail.el (mail-default-directory): Doc fix.
8226 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
8228         * mail/sendmail.el (mail-default-directory): Doc fix.
8230 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
8232         * subr.el (version-regexp-alist, version-to-list)
8233         (version-list-<, version-list-=, version-list-<=)
8234         (version-list-not-zero, version<, version<=, version=): Doc fix.
8235         (Bug#5744).
8237 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
8239         * vc.el (vc-root-diff): Doc fix.
8241 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
8243         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
8245         * simple.el (append-to-buffer): Fix last change.
8247 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
8249         * simple.el (append-to-buffer): Ensure that point is preserved if
8250         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
8251         (Bug#5749)
8253 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8255         * files.el (auto-mode-case-fold): Change default to t.
8257 2010-03-30  Juri Linkov  <juri@jurta.org>
8259         * dired-x.el (dired-omit-mode): Doc fix.
8261 2010-03-30  Juri Linkov  <juri@jurta.org>
8263         * replace.el (occur-accumulate-lines): Move occur-engine related
8264         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
8265         to be located after `occur-engine'.
8267 2010-03-30  Juri Linkov  <juri@jurta.org>
8269         Make occur handle multi-line matches cleanly with context.
8270         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
8272         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
8273         (occur-engine): Add local variables `ret', `prev-after-lines',
8274         `prev-lines'.  Use more arguments for `occur-context-lines'.
8275         Set first elem of its returned list to `data', and the second elem
8276         to `prev-after-lines'.  Don't print the separator line.
8277         In the end, print remaining context after-lines.
8278         (occur-context-lines): Add new arguments `begpt', `endpt',
8279         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
8280         after-lines of the previous match with before-lines of the
8281         current match and not overlap them.  Return a list with two
8282         values: the output line and the list of context after-lines.
8284 2010-03-30  Juri Linkov  <juri@jurta.org>
8286         * replace.el (occur-accumulate-lines): Fix a bug where the first
8287         context line at the beginning of the buffer was missing.
8289 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
8291         * files.el: Make bidi-display-reordering safe variable for boolean
8292         values.
8294 2010-03-29  Phil Hagelberg  <phil@evri.com>
8295             Chong Yidong  <cyd@stupidchicken.com>
8297         * subr.el: Extend progress reporters to perform "spinning".
8298         (progress-reporter-update, progress-reporter-do-update):
8299         Handle non-numeric value arguments.
8300         (progress-reporter--pulse-characters): New var.
8302 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
8304         * progmodes/compile.el (compilation-start): Fix regexp detection
8305         of initial cd command (Bug#5771).
8307 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
8309         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
8311 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
8313         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
8314         * progmodes/gdb-mi.el: Restore.
8315         * progmodes/gdb-ui.el: Remove.
8316         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
8318 2010-03-25  Glenn Morris  <rgm@gnu.org>
8320         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
8321         all dired buffers, even tramp ones.  (Bug#5755)
8323 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8325         Add "union tags" in mpc.el.
8326         * mpc.el: Remove backward compatibility code.
8327         (mpc-browser-tags): Change default.
8328         (mpc--find-memoize-union-tags): New var.
8329         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
8330         (mpc-cmd-find): Handle the case where the playlist does not exist.
8331         Handle union-tags.
8332         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
8333         (mpc-cmd-add): Use mpc-cmd-flush.
8334         (mpc-tagbrowser-tag-name): New fun.
8335         (mpc-tagbrowser-buf): Use it.
8336         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
8338 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8340         Misc cleanup.
8341         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
8342         Use replace-regexp-in-string.
8343         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
8344         (makefile-imake-mode-syntax-table): Move init into defvar.
8345         (makefile-mode): Use define-derived-mode.
8347         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
8348         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
8349         not be present any more.
8351 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
8353         * faces.el (set-face-attribute): Fix typo in docstring.
8354         (face-valid-attribute-values): Reflow docstring.
8356 2010-03-24  Glenn Morris  <rgm@gnu.org>
8358         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
8360 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
8362         * indent.el (indent-for-tab-command): Doc fix.
8364 2010-03-24  Alan Mackenzie  <acm@muc.de>
8366         * progmodes/cc-engine.el (c-remove-stale-state-cache):
8367         Fix off-by-one error.  Fixes bug #5747.
8369 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
8371         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
8372         (image-dired-read-comment): Doc fix.
8374         * json.el (json-object-type, json-array-type, json-key-type)
8375         (json-false, json-null, json-read-number):
8376         * minibuffer.el (completion-in-region-functions):
8377         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
8378         (cal-tex-cursor-week):
8379         * emacs-lisp/trace.el (trace-function):
8380         * eshell/em-basic.el (eshell/printnl):
8381         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
8382         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
8383         * obsolete/levents.el (allocate-event, event-key, event-object)
8384         (event-point, event-process, event-timestamp, event-to-character)
8385         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
8386         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
8387         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
8388         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
8389         (reftex-highlight-selection): Fix typos in docstrings.
8391 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
8393         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
8395 2010-03-24  Glenn Morris  <rgm@gnu.org>
8397         * mail/rmail.el (rmail-highlight-face): Restore option deleted
8398         2008-02-13 without comment; mark it obsolete.
8399         (rmail-highlight-headers): Use rmail-highlight-face once more.
8401 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
8403         * woman.el (woman2-process-escapes): Only consume the newline if
8404         the filler character is on a line by itself (Bug#5729).
8406 2010-03-24  Kenichi Handa  <handa@m17n.org>
8408         * language/indian.el (devanagari-composable-pattern): Add more
8409         consonants.
8411 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
8413         * net/trampver.el: Update release number.
8415 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
8417         * net/tramp.el (tramp-find-executable):
8418         Use `tramp-get-connection-buffer'.  Make the regexp for checking
8419         output of "wc -l" more robust.
8420         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
8421         (tramp-open-connection-setup-interactive-shell): Remove workaround
8422         for OpenSolaris bug, it is not needed anymore.
8424 2010-03-24  Glenn Morris  <rgm@gnu.org>
8426         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
8428 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
8430         * files.el (auto-mode-alist): Accept more verilog file patterns.
8432 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8434         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
8436 2010-03-24  Glenn Morris  <rgm@gnu.org>
8438         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
8439         log-edit-before-checkin-process.
8441         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
8443         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
8445         * vc-dispatcher.el (vc-start-logentry): Doc fix.
8446         (log-view-process-buffer, log-edit-extra-flags): Declare.
8448         * log-edit.el (log-edit-before-checkin-process): Doc fix.
8450 2010-03-23  Sam Steingold  <sds@gnu.org>
8452         Fix bug#5620: recalculate all markers on compilation buffer
8453         modifications, not on file modifications.
8454         * progmodes/compile.el (buffer-modtime): New buffer-local variable:
8455         the buffer modification time, for buffers not associated with files.
8456         (compilation-mode): Create it.
8457         (compilation-filter): Update it.
8458         (compilation-next-error-function): Use it instead of
8459         `visited-file-modtime' for timestamp.
8461 2010-03-23  Juri Linkov  <juri@jurta.org>
8463         Implement Occur multi-line matches.
8464         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
8466         * replace.el (occur): Doc fix.
8467         (occur-engine): Set `begpt' to the beginning of the first line.
8468         Set `endpt' to the end of the last match line.  At first, count
8469         line numbers between `origpt' and `begpt'.  Split out code from
8470         `out-line' variable to new let-bindings `match-prefix' and
8471         `match-str'.  In `out-line' add non-numeric prefix to all
8472         non-first lines of multi-line matches.  Finally, count lines
8473         between `begpt' and `endpt' and add to `lines'.
8475 2010-03-23  Juri Linkov  <juri@jurta.org>
8477         * replace.el (occur-accumulate-lines, occur-engine):
8478         Use `occur-engine-line' instead of duplicate code.
8479         (occur-engine-line): New function created from duplicate code
8480         in `occur-accumulate-lines' and `occur-engine'.
8482         * replace.el (occur-engine-line): Add optional arg `keep-props'.
8483         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
8485 2010-03-23  Juri Linkov  <juri@jurta.org>
8487         * finder.el: Remove TODO tasks.
8489         * info.el (Info-finder-find-node): Add node "all"
8490         with all package info.  Handle a list of multiple keywords
8491         separated by comma.
8492         (info-finder): In interactive use with a prefix argument,
8493         use `completing-read-multiple' to read a list of keywords
8494         separated by comma.
8496 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8498         Add a new completion style `substring'.
8499         * minibuffer.el (completion-basic--pattern): New function.
8500         (completion-basic-try-completion, completion-basic-all-completions):
8501         Use it.
8502         (completion-substring--all-completions)
8503         (completion-substring-try-completion)
8504         (completion-substring-all-completions): New functions.
8505         (completion-styles-alist): New style `substring'.
8507 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8509         Get rid of .elc files after removal of the corresponding .el.
8510         * Makefile.in (compile-clean): New target.
8511         (compile-main): Use it.
8513 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
8515         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
8516         don't do make there.  When compiling with separate object dir, there
8517         is no Makefile there.
8519 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8521         Get rid of the ELCFILES abomination, again.
8522         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
8523         (all, compile): Don't call compile-last.
8524         (compile-main): Build the "elcfiles" list dynamically.
8525         (compile-targets): New (internal) target.
8527 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
8529         * Makefile.in (top_srcdir): Define.
8530         (abs_top_builddir): Define.
8531         (srcdir): Don't append `/..'.
8532         (EMACS): Use ${abs_top_builddir}.
8533         (all, compile, compile-always, compile-last): Don't set emacswd.
8534         (update-subdirs, update-authors): Use $(top_srcdir) instead of
8535         $(srcdir).
8536         (lisp): Use $(srcdir) instead of @srcdir@.
8538 2010-03-21  Juri Linkov  <juri@jurta.org>
8540         Fix message of multi-line occur regexps and multi-buffer header lines.
8541         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
8543         * replace.el (occur-1): Don't display regexp if it is longer
8544         than window-width.  Use `query-replace-descr' to display regexp.
8545         (occur-engine): Don't display regexp in the buffer header for
8546         multi-buffer occur.  Display a separate header line with total
8547         match count and regexp for multi-buffer occur.
8548         Use `query-replace-descr' to display regexp.
8550 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
8552         * net/secrets.el: Fix parenthesis.
8553         (secrets-enabled): Fix parenthesis.
8555 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8557         Use more relative file and directory names.
8558         * Makefile.in (EMACS): Arrange for it to work when we chdir.
8559         (setwins, setwins_almost, setwins_for_subdirs):
8560         Don't `cd'; output relative names.
8561         (all, compile, compile-always, compile-last): Set emacswd.
8562         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
8563         Just cd to the lisp source dir so we can use relative file names.
8565         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
8567 2010-03-20  Glenn Morris  <rgm@gnu.org>
8569         * textmodes/rst.el: Use faces for font-lock customization, and make the
8570         old -face variables obsolete.
8571         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
8572         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
8573         (rst-block-face, rst-external-face, rst-definition-face)
8574         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
8575         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
8576         Make obsolete.
8577         (rst-font-lock-keywords-function): Update for above changes.
8579 2010-03-20  Juri Linkov  <juri@jurta.org>
8581         * s-region.el:
8582         * obsolete/s-region.el: Move to obsolete.
8584 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
8586         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
8588 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
8590         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
8592 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
8594         Add special markup processing for commit logs.
8595         * log-edit.el (log-edit-extra-flags): New variable.
8596         (log-edit): Add new argument MODE.  Use that mode when non-nil
8597         instead of the log-view-mode.
8598         (log-view-process-buffer): New function.
8600         * vc.el: Document that the checkin method takes optional
8601         arguments.  Document new backend specific method: log-view-mode.
8602         (vc-default-log-edit-mode): New function.
8603         (vc-checkin): Use a backend specific log-view-mode.
8604         Pass extra arguments to the checkin method.
8605         (vc-modify-change-comment): Pass a dummy extra argument.
8607         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
8608         log-edit.
8609         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
8610         (vc-finish-logentry): Process the log buffer before passing it
8611         down.  Pass log-edit-extra-flags.
8613         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
8614         command.
8615         (log-edit-extra-flags, log-edit-before-checkin-process):
8616         New declarations.
8618         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
8619         command.
8620         (log-edit-extra-flags, log-edit-before-checkin-process):
8621         New declarations.
8622         (vc-hg-log-edit-mode): New derived mode.
8624         * vc-arch.el (vc-arch-checkin):
8625         * vc-cvs.el (vc-cvs-checkin):
8626         * vc-git.el (vc-git-checkin):
8627         * vc-mtn.el (vc-mtn-checkin):
8628         * vc-rcs.el (vc-rcs-checkin):
8629         * vc-sccs.el (vc-sccs-checkin):
8630         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
8632 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8634         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
8635         parent typo).
8637 2010-03-19  Glenn Morris  <rgm@gnu.org>
8639         * password-cache.el (password-cache, password-cache-expiry): Autoload.
8641 2010-03-18  Glenn Morris  <rgm@gnu.org>
8643         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
8645         * replace.el (query-replace-history): Give it a doc string.
8646         (map-query-replace-regexp): Use query-replace-from-history-variable
8647         and query-replace-to-history-variable.
8649         * mail/hashcash.el (declare-function): Remove duplicate definition.
8651         * mail/emacsbug.el (report-emacs-bug-pretest-address):
8652         Make it an obsolete alias for report-emacs-bug-address.
8653         (message-strip-special-text-properties): Declare.
8654         (report-emacs-bug): Remove test for a pretest bug address.
8655         Combine message-mode-specific code.
8657         * mail/supercite.el: Don't require sendmail.
8658         (mh-in-header-p): Declare rather than using with-no-warnings.
8659         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
8660         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
8662         * calendar/cal-french.el: Convert to utf-8.
8664         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
8665         Emacs scripts.
8667 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
8669         * net/secrets.el (secrets-enabled): New variable.  Use it instead
8670         of a subfeature.
8672 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
8674         * net/secrets.el (top): Register the D-Bus signals only when the
8675         service "org.freedesktop.secrets" can be pinged.
8676         Provide subfeature `enabled'.
8678 2010-03-14  Juri Linkov  <juri@jurta.org>
8680         Add finder unknown keywords.
8682         * finder.el (finder-unknown-keywords): New function.
8684         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
8685         to create a Finder node with unknown keywords.
8687 2010-03-14  Juri Linkov  <juri@jurta.org>
8689         * finder.el (finder-compile-keywords): Replace `princ' with
8690         `prin1' on a list of symbols interned from keyword strings.
8692         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
8693         a comma, then split keywords using a comma and optional whitespace.
8694         Otherwise, split by whitespace.
8696         * complete.el:
8697         * face-remap.el:
8698         * log-view.el:
8699         * net/hmac-def.el:
8700         * net/hmac-md5.el:
8701         * net/netrc.el:
8702         * progmodes/mixal-mode.el: Fix keywords.
8704 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
8706         * Makefile.in (ELCFILES): Add net/secrets.elc.
8708         * net/secrets.el: New file.
8710 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
8712         * facemenu.el (list-colors-display, list-colors-print): New arg
8713         callback.  Use it to allow selecting colors.
8715         * wid-edit.el (widget-image-insert): Insert image prop even if the
8716         current display is non-graphic.
8717         (widget-field-value-set): New fun.
8718         (editable-field): Use it.
8719         (widget-field-value-get): Clean up unused var.
8720         (widget-color-value-create, widget-color--choose-action):
8721         New funs.  Allow using list-colors-display to choose color.
8723 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
8725         * cus-edit.el: Resort topmost custom groups.
8726         (custom-buffer-sort-alphabetically): Default to t.
8727         (customize-apropos): Use apropos-parse-pattern.
8728         (custom-search-field): New var.
8729         (custom-buffer-create-internal): Add custom-apropos search field.
8730         (custom-add-parent-links): Don't display parent doc.
8731         (custom-group-value-create): Don't sort top-level custom group.
8732         (custom-magic-value-create): Show visibility button before option name.
8734         (custom-variable-state): New fun, from custom-variable-state-set.
8735         (custom-variable-state-set): Use it.
8736         (custom-group-value-create): Hide options with standard values
8737         using the :hidden-states property.  Use progress reporter.
8739         (custom-show): Simplify.
8740         (custom-visibility): Disable images by default.
8741         (custom-variable): New property :hidden-states.
8742         (custom-variable-value-create): Enable images for
8743         custom-visibility widgets.  Use :hidden-states property to
8744         determine initial visibility.
8746         * wid-edit.el (widget-image-find): Give images center ascent.
8747         (visibility): Add :on-image and :off-image properties.
8748         (widget-visibility-value-create): Use them.
8750 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
8752         * cus-edit.el (processes): Remove from development group.
8753         (oop, hypermedia): Delete group.
8754         (comm): Promote to top-level group.
8756         * net/browse-url.el (browse-url):
8757         * net/xesam.el (xesam):
8758         * net/tramp.el (tramp):
8759         * net/goto-addr.el (goto-address):
8760         * net/ange-ftp.el (ange-ftp): Put in comm group.
8762         * view.el (view): Remove from editing group.
8764         * uniquify.el (uniquify): Put in files group.
8766         * net/browse-url.el (browse-url):
8767         * ps-print.el (postscript): Put in external group.
8769         * cus-edit.el (outlines):
8770         * textmodes/text-mode.el (text-mode-hook):
8771         * textmodes/table.el (table):
8772         * textmodes/picture.el (picture):
8773         * outline.el (outlines): Put in wp group.
8775         * nxml/nxml-mode.el (nxml): Remove from wp group.
8777         * net/tramp-imap.el (tramp-imap): Put in tramp group.
8779         * mail/metamail.el (metamail): Remove from hypermedia group.
8781         * cus-edit.el (abbrev):
8782         * whitespace.el (whitespace):
8783         * vcursor.el (vcursor):
8784         * reveal.el (reveal):
8785         * hl-line.el (hl-line): Put in convenience group.
8787         * epg-config.el (epg): Put in data group.
8789         * emulation/pc-select.el (pc-select): Put in emulations group.
8791         * calculator.el (calculator): Put in applications group.
8793 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
8795         Add .dir-locals.el support for file-less buffers.
8796         * files.el (hack-local-variables): Split out code to apply local
8797         variable settings ...
8798         (hack-local-variables-apply): ... here.  New function.
8799         (hack-dir-local-variables): Use the default directory for when the
8800         buffer does not have an associated file.
8801         (hack-dir-local-variables-non-file-buffer): New function.
8802         * diff-mode.el (diff-mode):
8803         * vc-annotate.el (vc-annotate-mode):
8804         * vc-dir.el (vc-dir-mode):
8805         * log-edit.el (log-edit-mode):
8806         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
8808 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
8810         Add support for shelving snapshots and for showing shelves.
8811         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
8812         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
8813         New functions.
8814         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
8815         (vc-bzr-extra-menu-map): Map them.
8817 2010-03-11  Glenn Morris  <rgm@gnu.org>
8819         * cus-edit.el (customize-changed-options-previous-release):
8820         Bump to 23.1.
8822         * image.el (image-animate-max-time): Fix :version tag.
8824 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
8826         * Branch for 23.2.
8828 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8830         * vc-git.el (vc-git-revision-table): Include remote branches.
8832 2010-03-10  Kim F. Storm  <storm@cua.dk>
8834         Animated image API.
8835         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
8837         * image.el (image-animate-max-time): New defcustom.
8838         (image-animated-types): New defconst.
8839         (create-animated-image, image-animate-timer)
8840         (image-animate-start, image-animate-stop, image-animate-timeout)
8841         (image-animated-p): New functions.
8843         * image-mode.el (image-toggle-display-image):
8844         Replace `create-image' with `create-animated-image'.
8846 2010-03-09  Miles Bader  <miles@gnu.org>
8848         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
8849         instead of "format:"; this ensures that the output is
8850         newline-terminated.
8852 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
8854         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
8855         that all errors are caught, and that the return value is always a
8856         list (Bug#5692).
8858 2010-03-08  Kenichi Handa  <handa@m17n.org>
8860         * language/misc-lang.el (windows-1256): New coding system.
8861         (cp1256): New alias of windows-1256 (bug#5690).
8863 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
8865         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
8866         call to rfc822-bad-address.  (Bug#5692)
8868 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
8870         * vc-git.el (vc-git-annotate-extract-revision-at-line):
8871         Use vc-git-root as default directory for revision path (Bug#5657).
8873 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
8875         * calculator.el (calculator): Don't bind split-window-keep-point
8876         (Bug#5674).
8878 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8880         * vc-git.el: Re-flow to fit into 80 columns.
8881         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
8882         Remove spurious `quote' element in each case alternative.
8883         (vc-git-show-log-entry): Use prog1.
8884         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
8886 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8888         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
8890 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
8892         * macros.el (insert-kbd-macro): Look up keyboard macro using the
8893         definition, not the name (Bug#5481).
8895 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
8897         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
8898         argument with a local variable.  (Bug#5670)
8900 2010-03-02  Juri Linkov  <juri@jurta.org>
8902         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
8904 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
8906         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
8907         error when FILENAME and NEWNAME are existing remote directories.
8909         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
8910         parameter DIR-FLAG.
8912 2010-03-02  Glenn Morris  <rgm@gnu.org>
8914         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
8915         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
8917 2010-03-01  Kenichi Handa  <handa@m17n.org>
8919         * language/burmese.el (burmese-composable-pattern): Rename from
8920         myanmar-composable-pattern.
8922         * international/characters.el (script-list):
8923         * international/fontset.el (script-representative-chars):
8924         Change myanmar to burmese.
8925         (otf-script-alist): Likewise.
8926         (setup-default-fontset): Likewise.  Re-fix :otf spec.
8928 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
8930         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
8932 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
8934         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
8936 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
8938         * net/tramp.el (tramp-handle-write-region): START can be a string.
8939         Take care in the checks.  Reported by Dan Davison
8940         <davison@stats.ox.ac.uk>.
8942 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
8944         * net/dbus.el (dbus-introspect, dbus-get-property)
8945         (dbus-set-property, dbus-get-all-properties):
8946         Use `dbus-call-method' when noninteractive.  (Bug#5645)
8948 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
8950         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
8951         * emacs-lisp/elint.el (elint-add-required-env):
8952         * calendar/icalendar.el (icalendar--add-diary-entry):
8953         * calc/calcalg2.el (math-tracing-integral):
8954         * files.el (recover-session-finish): Use with-current-buffer
8955         instead of save-excursion.
8957 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8959         Fix in-buffer completion when after-change-functions modify the buffer.
8960         * minibuffer.el (completion--replace): New function.
8961         (completion--do-completion): Use it and use relative movement.
8963 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
8965         * international/fontset.el (setup-default-fontset): Fix :otf spec.
8967 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
8969         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
8970         Allow the characters _<> in the stack entry (Bug#5653).
8972 2010-02-26  Kenichi Handa  <handa@m17n.org>
8974         * language/burmese.el: Fix entries in composition-function-table.
8975         (myanmar-composable-pattern): New variable.
8977         * international/fontset.el (setup-default-fontset): Add an entry
8978         for myanmar.
8980         * international/characters.el (script-list): Add Myanmar
8981         Extended-A.
8983 2010-02-26  Glenn Morris  <rgm@gnu.org>
8985         * custom.el (custom-initialize-delay): Doc fix.
8987         * mail/sendmail.el (send-mail-function): Autoload the call
8988         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
8990 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
8992         * files.el (hack-local-variables-filter): For eval forms, also
8993         check safe-local-variable-p (Bug#5636).
8995 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
8997         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
8998         setting the modes by `ignore-errors'.  It might fail, for example
8999         if the file is not owned by the user but the group.
9000         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
9002 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
9004         * files.el (directory-listing-before-filename-regexp): Use
9005         stricter matching for iso-style dates, to avoid false matches with
9006         date-like filenames (Bug#5597).
9008         * htmlfontify.el (htmlfontify): Doc fix.
9010         * eshell/eshell.el (eshell): Doc fix.
9012         * startup.el (fancy-about-screen): In mode-line, apply
9013         mode-line-buffer-id face only to the buffer name (Bug#5613).
9015 2010-02-20  Kevin Ryde  <user42@zip.com.au>
9017         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9018         In `watcom' anchor regexp to start of line, to avoid slowness
9019         (Bug#5599).
9021 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
9023         * subr.el (remove-yank-excluded-properties): Explain in a comment
9024         why `category' property is removed.
9026 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
9028         * isearch.el (isearch-update-post-hook, isearch-update): Revert
9029         2010-02-17 change.
9031 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
9033         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
9034         (icalendar--convert-weekly-to-ical)
9035         (icalendar--convert-yearly-to-ical)
9036         (icalendar--convert-block-to-ical)
9037         (icalendar--convert-cyclic-to-ical)
9038         (icalendar--convert-anniversary-to-ical): Take care of time
9039         specifications where hour has 1-digit only (Bug#5549).
9041 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
9043         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
9044         of disassemble output in GDB 7.1.
9046 2010-02-19  Glenn Morris  <rgm@gnu.org>
9048         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
9049         property.  (Bug#5593)
9051 2010-02-18  Sam Steingold  <sds@gnu.org>
9053         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
9055 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9057         Use abbreviated file names in bookmarks (bug#5591).
9058         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
9059         calls to expand-file-name.
9060         (bookmark-relocate): Use abbreviated file names in bookmarks.
9061         (bookmark-load): Use abbreviated file names in messages.
9063 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
9065         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
9066         expand "." and "..".  Reported by Thierry Volpiatto
9067         <thierry.volpiatto@gmail.com>.
9069 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
9071         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
9072         permissions of the temporary file to "0600".  In case the remote
9073         file has no read permissions for the owner, there might be
9074         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
9076 22010-02-18  Glenn Morris  <rgm@gnu.org>
9078         * emacs-lisp/authors.el (authors-renamed-files-alist):
9079         Add entries for INSTALL.CVS.
9081 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
9083         * vc-bzr.el: Fix typo in Known Bugs section.
9085         * isearch.el (isearch-update-post-hook): New hook.
9086         (isearch-update): Use the new hook.
9088 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
9090         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
9091         Fix errors in copying directories.
9092         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
9093         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
9094         (tramp-handle-delete-file)
9095         (tramp-handle-dired-recursive-delete-directory)
9096         (tramp-handle-write-region): Flush also the cache for the upper
9097         directory.
9099 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
9101         * simple.el (save-interprogram-paste-before-kill): Doc fix.
9103         * cus-edit.el (hardware): Doc fix.
9105         * man.el (man): Add to external custom group.
9107         * delim-col.el (columns): Move to wp custom group.
9109         * doc-view.el (doc-view): Add to data custom group.
9111         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
9113         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
9114         by ispell-parse-output (Bug#5575).
9116 2010-02-16  Kenichi Handa  <handa@m17n.org>
9118         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
9119         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
9120         (skkdic-convert): Use `euc-japan' coding system for writing.
9122 2010-02-16  Glenn Morris  <rgm@gnu.org>
9124         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
9125         tex-main-file before using it.  (Bug#5562)
9127 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9129         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
9130         warnings, since it is annoying for the user to see them each time he
9131         runs the code.
9133 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
9135         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
9136         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
9137         instead of PROC for caching "first-password-request".  Otherwise,
9138         new processes would not profit from passwords already entered.
9140         * net/tramp-cache.el (tramp-dump-connection-properties):
9141         Don't save "first-password-request" property.
9143 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
9145         * outline.el (outline-head-from-level):
9146         * simple.el (with-wrapper-hook):
9147         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
9148         (elint-defun, elint-buffer-env, elint-top-form-logged)
9149         (elint-unbound-variable):
9150         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
9151         Fix typos in docstrings.
9153 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
9155         * files.el (insert-directory): When WILDCARD-REGEXP and
9156         FULL-DIRECTORY-P are nil, insert the file entry instead of the
9157         whole directory.  (Bug#5551)
9159         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
9160         dired's alignment sanity.  (Bug#5516)
9162 2010-02-14  Juri Linkov  <juri@jurta.org>
9164         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
9165         Remove remaining ^H with their preceding chars.  (Bug#5566)
9167 2010-02-13  Glenn Morris  <rgm@gnu.org>
9169         * simple.el (transpose-subr): Give it a doc-string.
9171         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
9172         Doc fixes.
9174 2010-02-12  Juri Linkov  <juri@jurta.org>
9176         * arc-mode.el (archive-unique-fname): Make directories for nested
9177         archives.  (Bug#5540)
9179 2010-02-12  Juri Linkov  <juri@jurta.org>
9181         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
9183 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9185         * subr.el (copy-overlay): Handle deleted overlays.
9187         * man.el (Man-completion-table): Don't signal an error if we can't run
9188         manual-program (bug#4056).
9190 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
9192         * textmodes/artist.el (artist-mt): Fix typos in docstring.
9194 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9196         * info.el (Info-bookmark-jump): Simplify.
9198         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
9199         (bookmark-default-handler): Accept new bookmark field `buffer'.
9201 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
9203         * iswitchb.el (iswitchb-completions): Revert last change.
9205 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
9207         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
9208         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
9209         This prevents file names like "~/" being listed literally.
9211 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
9213         * term/xterm.el (xterm-maybe-set-dark-background-mode):
9214         Remove dead code.  (Bug#5546)
9216 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
9218         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
9219         correctly (Bug#5548).
9221 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
9223         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
9224         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
9226 2010-02-08  Kenichi Handa  <handa@m17n.org>
9228         * international/mule-util.el (with-coding-priority): Add autoload
9229         cookie for putting `lisp-indent-function'.
9231 2010-02-07  Glenn Morris  <rgm@gnu.org>
9233         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
9234         Move F2003 named interfaces from keywords-2 to keywords-1, and
9235         use function-name-face rather than constant-face.
9236         Simplify "abstract interface" regexp.
9238 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
9240         * eshell/esh-util.el (eshell-file-attributes): New optional arg
9241         ID-FORMAT.  Pass it to `file-attributes'.
9243         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
9245 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
9247         * faces.el (set-face-attribute): Allow calling
9248         internal-set-lisp-face-attribute with 'unspecified family and
9249         foundry argument (Bug#5536).
9251 2010-02-07  Glenn Morris  <rgm@gnu.org>
9253         * progmodes/f90.el (f90-font-lock-keywords-2)
9254         (f90-looking-at-type-like, f90-looking-at-program-block-end):
9255         Handle F2003 named interfaces.
9257 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
9259         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
9260         beg and end before calling c-get-state-before-change-functions.
9262 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
9264         * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
9266 2010-02-05  Juri Linkov  <juri@jurta.org>
9268         * doc-view.el (doc-view-mode):
9269         * image-mode.el (image-mode): Put property mode-class=special.
9270         (Bug#4896)
9272 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
9274         * vc-svn.el (vc-svn-revision-table): New function.
9276 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
9278         * net/ange-ftp.el (ange-ftp-insert-directory):
9279         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
9280         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
9281         Handle also directories.  (Bug#5478)
9283 2010-02-05  Glenn Morris  <rgm@gnu.org>
9285         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
9287 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
9289         * startup.el (command-line-1): Convert options beginning with a
9290         single dash as well (Bug#5519).
9292 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9294         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
9295         * minibuffer.el (completion-initials-expand): Only check the presence
9296         of delims *within* the boundaries, since otherwise the / delim is
9297         always found for files.
9299         Fix up various corner case problems.
9300         * doc-view.el (doc-view-last-page-number): New function.
9301         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
9302         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
9303         (doc-view-kill-proc): Avoid inf-loop in freak cases.
9304         (doc-view-reconvert-doc): Use the new recursive delete-directory.
9305         (doc-view-convert-current-doc): Don't create the resolution.el file
9306         here any more.
9307         (doc-view-pdf/ps->png): Do it here instead.
9308         (doc-view-already-converted-p): Check that resolution.el is present.
9309         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
9310         windows that are not yet showing images.
9312 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
9314         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
9315         `dired-uncache' for every elemnt which is an absolute file name.
9317         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
9318         directory, handle its directory component.
9319         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
9320         function is called permanently and creates noise, otherwise.
9322         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
9323         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
9324         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
9326 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
9328         * macros.el (apply-macro-to-region-lines):
9329         Minor simplification.  (Bug#5485)
9331 2010-02-04  Glenn Morris  <rgm@gnu.org>
9333         * mail/rmail.el (rmail-show-message-1): Handle malformed
9334         quoted-printable text.  (Bug#5441)
9336         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
9338         * simple.el (visual-line-mode): Capitalize lighter.
9340 2010-02-03  John Wiegley  <jwiegley@gmail.com>
9342         * iswitchb.el (iswitchb-completions): Add bookmark files to the
9343         list of files considered for "virtual buffer" completions.
9345 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
9347         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
9348         also in case of (and (not full) (not wildcard)).  This is needed
9349         when dired is called with a list of files, which are not in
9350         `default-directory'.  (Bug#5478)
9352 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9354         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
9356 2010-02-02  Juri Linkov  <juri@jurta.org>
9358         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
9359         from unidiff to allow function-line after @@.
9361 2010-02-02  Juri Linkov  <juri@jurta.org>
9363         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
9364         '(RCS SCCS) with inverted condition.
9366 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
9368         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
9369         messages.
9371 2010-02-01  Juri Linkov  <juri@jurta.org>
9373         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
9374         compare with "pkunzip" and "pkzip" instead of only "pkzip".
9375         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
9376         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
9378 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9380         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
9381         (doc-view-revert-buffer): New command.
9382         (doc-view-mode-map): Use it.
9384 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
9386         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
9387         pending merge is detected.
9389 2010-01-31  Juri Linkov  <juri@jurta.org>
9391         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
9392         beginning of interactive spec like all other grep commands do.
9393         Put "all" in front of "gz".  (Bug#5260)
9395 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
9397         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
9399 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
9401         * dirtrack.el (dirtrack): Warn instead of signalling error if the
9402         regexp is incorrect (Bug#5476).
9404 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
9406         * net/tramp.el (tramp-handle-insert-directory): Handle also
9407         symlinks, when FILENAME is not in `default-directory'.
9409 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
9411         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
9412         FILE is not in `default-directory'.  (Bug#5478)
9414         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
9415         of SWITCHES.  Handle the case, FILENAME is not in
9416         `default-directory'.  (Bug#5478)
9417         (tramp-register-file-name-handlers): Add safe-magic property.
9419 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
9421         * arc-mode.el (archive-zip-extract): Quote the argument passed to
9422         unzip (Bug#5475).
9424 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
9426         * progmodes/flymake.el (flymake-allowed-file-name-masks)
9427         (flymake-master-make-header-init): Add other C++ filename masks.
9428         (flymake-find-possible-master-files)
9429         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
9431 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
9433         Fix some busybox annoyances.
9435         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
9436         not responding." string.
9437         (tramp-open-connection-setup-interactive-shell): Dump stty
9438         settings.  Enable "neveropen" arg for all `tramp-send-command'
9439         calls.  Handle "=" in variable values properly.
9440         (tramp-find-inline-encoding): Raise an error, when no encoding is
9441         found.
9442         (tramp-wait-for-output): Check, whether PROC buffer is available.
9443         Remove spurious " ^H" sequences, sent by busybox.
9444         (tramp-get-ls-command): Suppress coloring, if possible.
9446 2010-01-28  Glenn Morris  <rgm@gnu.org>
9448         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
9450         * log-edit.el (log-edit-strip-single-file-name): Add missing
9451         :safe, :group, and :version tags.
9453 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
9455         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
9456         buffers.  (Bug#5477)
9458 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
9460         * files.el (delete-directory): Handle moving to trash without
9461         first doing recursion (Bug#5436).
9463 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
9465         * vc-hooks.el (vc-path): Mark as obsolete.
9467 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
9469         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
9470         names too.
9472         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
9473         for the short log.
9474         (vc-bzr-log-view-mode): Adjust regexp for the above change.
9476 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
9478         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
9480         * vc-bzr.el (vc-bzr-revision-table): New function.
9482 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>  (tiny change)
9484         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
9485         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
9487 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
9489         Remove support for adding --signoff on commit.
9490         Future support will use an incompatible generic mechanism.
9491         * vc-git.el (vc-git-add-signoff): Remove variable.
9492         (vc-git-toggle-signoff): Remove function.
9493         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
9495         * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
9496         from xterm-set-background-mode.  Return t if the background mode
9497         was set.
9498         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
9499         earlier, call it again in case the background mode has changed.
9501 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
9503         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
9504         (Bug#3541).
9506 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
9508         * emacs-lisp/assoc.el (aelement): Doc fix.
9509         (aput, adelete, amake): Use lexical-let (Bug#5450).
9511 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
9513         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
9514         is the same as subprogram call, not declaration.  (Bug#5435).
9516 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
9518         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
9519         (tramp-smb-maybe-open-connection): Use it.
9521 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
9523         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
9525 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9527         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
9528         just because we see "encoding: 8bit".
9529         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
9531 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
9533         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
9535 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
9537         * jka-compr.el (jka-compr-load): If load-file is not in
9538         load-history, try its file-truename version.  (bug#5447)
9540 2010-01-21  Alan Mackenzie  <acm@muc.de>
9542         Fix a situation where deletion of a cpp construct throws an error.
9543         * progmodes/cc-engine.el (c-invalidate-state-cache):
9544         Before invoking c-with-all-but-one-cpps-commented-out, check that the
9545         special cpp construct is still in the buffer.
9546         (c-parse-state): Record the special cpp with markers, not numbers.
9548 2010-01-21  Kenichi Handa  <handa@m17n.org>
9550         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
9551         process last-command-event, as it is now decoded first (Bug#5380).
9553 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
9555         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
9557 2010-01-20  Glenn Morris  <rgm@gnu.org>
9559         * indent.el (tab-always-indent): Fix custom-type.
9561 2010-01-19  Alan Mackenzie  <acm@muc.de>
9563         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
9564         buffer throws "args out of range".
9565         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
9566         playing the role of delimiter.
9568 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
9570         * progmodes/ada-mode.el: Fix bug#5400.
9571         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
9572         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
9573         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
9574         Improve comments in "is" portion.  Handle null procedure declaration.
9575         (ada-move-to-end): Improve doc string.
9577 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
9579         * ido.el (ido-cur-list): Initialize to nil.
9580         Remove obsolete information from commentary.
9581         (ido-choice-list): Initialize to nil.
9582         (ido-get-bufname): Reject minibuffers.
9583         (ido-make-buffer-list): If "default" is a nonexistent
9584         buffer, ignore it, as per the function's comment.
9585         (ido-kill-buffer-internal): New function.
9586         (ido-kill-buffer-at-head): Use it.
9587         (ido-visit-buffer): Likewise.
9589 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
9591         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
9593 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
9595         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
9596         Fix typos in chart titles.
9598         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
9599         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
9600         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
9601         (describe-class, eieio-describe-generic, describe-generic):
9602         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
9603         (eieio-speedbar-expand):
9604         * emulation/viper-cmd.el (viper-exec-form-in-vi)
9605         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
9606         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
9607         (viper-del-backward-char-in-replace, viper-backward-indent)
9608         (viper-brac-function, viper-register-to-point, viper-submit-report):
9609         * net/tramp.el (tramp-remote-coding-commands):
9610         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
9611         Fix typos in docstrings.
9613 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
9615         * mail/sendmail.el (mail-yank-original): Set the mark if the
9616         specified function for yanking does not do it.
9618 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
9620         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
9622         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
9623         resyncing a directory.
9625 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
9627         * progmodes/ada-mode.el: Fix bug#1920.
9628         (ada-ident-re): Delete ., allow multibyte characters.
9629         (ada-goto-label-re): New; matches goto labels.
9630         (ada-block-label-re): New; matches block labels.
9631         (ada-label-re): New; matches both.
9632         (ada-named-block-re): Deleted; callers changed to use
9633         `ada-block-label-re' instead.
9634         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
9635         Use `ada-block-label-re'.
9636         (ada-indent-on-previous-lines): Improve handling of goto labels.
9637         (ada-get-indent-block-start): Special-case block label.
9638         (ada-get-indent-label): Split into `ada-indent-block-label' and
9639         `ada-indent-goto-label'.
9640         (ada-goto-stmt-start, ada-goto-next-non-ws):
9641         Optionally ignore goto labels.
9642         (ada-goto-next-word): Simplify.
9643         (ada-indent-newline-indent-conditional): Insert newline before
9644         trying to fix indentation; doc fix.
9646 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
9648         * calc/calc.el (calc-command-flags): Give it an initial value.
9650 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
9652         * files.el (minibuffer-with-setup-hook):
9653         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
9654         (artist-key-draw-continously, artist-key-do-continously-continously)
9655         (artist-key-set-point-continously, artist-mouse-draw-continously):
9656         Fix typos in docstrings.
9658 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
9660         * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
9661         return t (Bug#3898).
9663 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
9665         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
9666         can parse the output of the external commands (Bug#5279).
9668 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
9670         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
9672 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
9674         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
9676         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
9678         * startup.el (command-line): Remove unused --icon-type arg.
9679         Handle --display arg, passing it to command-line-1 (Bug#5392).
9681 2010-01-16  Mario Lang  <mlang@delysid.org>
9683         * emacs-lisp/chart.el (chart-translate-namezone):
9684         * textmodes/artist.el (artist-compute-popup-menu-table):
9685         Remove duplicated words in doc-strings.
9687 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
9689         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
9690         to mairix-search to suppress threading (Bug#5342).
9692 2010-01-15  Kenichi Handa  <handa@m17n.org>
9694         * international/mule-cmds.el (canonicalize-coding-system-name):
9695         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
9697 2010-01-15  Glenn Morris  <rgm@gnu.org>
9699         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
9701         * wid-edit.el (widget-keymap): Doc fix.
9703         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
9704         former seems to be more widely accepted by various svn versions.
9706 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
9708         * find-cmd.el (find-constituents):
9709         * vc-arch.el (vc-arch-root):
9710         * window.el (window-body-height, pop-up-frames):
9711         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
9712         * progmodes/ada-stmt.el (ada-if):
9713         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
9714         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
9715         (ispell-encoding8-command, ispell-aspell-supports-utf8)
9716         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
9718         * progmodes/flymake.el (flymake-post-syntax-check):
9719         Fix typo in error message.
9721 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
9723         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
9724         which is always a string.  (Bug#5313)
9726 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
9728         * progmodes/ada-xref.el (ada-default-prj-properties):
9729         Simplify previous change.
9731 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
9733         * progmodes/ada-xref.el (ada-default-prj-properties):
9734         Default ada_project_path to $ADA_PROJECT_PATH.
9736 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
9738         * progmodes/ada-mode.el (ada-create-keymap):
9739         Override `narrow-to-defun' with `ada-narrow-to-defun'.
9741 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
9743         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
9744         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
9745         (ada-get-current-indent, ada-imenu-generic-expression)
9746         (ada-which-function): Check for it.
9748 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
9750         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
9751         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
9753 2010-01-14  Glenn Morris  <rgm@gnu.org>
9755         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
9757 2010-01-14  Kenichi Handa  <handa@m17n.org>
9759         * composite.el (auto-composition-mode): Make it a buffer local
9760         variable (permanent-local).
9761         (auto-composition-function): Set the default value to
9762         auto-compose-chars.
9763         (auto-composition-mode): Make it a simple function, not a minor mode.
9764         (global-auto-composition-mode): Likewise.
9765         (turn-on-auto-composition-if-enabled): Delete it.
9767 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
9769         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
9771 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
9773         * files.el (copy-directory): Compute target for recursive
9774         directories with identical names.  (Bug#5343)
9776 2010-01-12  Glenn Morris  <rgm@gnu.org>
9778         * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
9779         it to bug-gnu-emacs rather than emacs-pretest-bug.
9781 2010-01-11  Sam Steingold  <sds@gnu.org>
9783         * imenu.el (imenu-default-create-index-function): Detect infinite
9784         loops caused by imenu-prev-index-position-function.
9786 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
9788         * htmlfontify.el (htmlfontify-load-rgb-file)
9789         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
9790         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
9791         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
9792         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
9793         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
9794         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
9795         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
9796         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
9797         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
9798         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
9799         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
9800         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
9801         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
9802         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
9803         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
9804         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
9805         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
9806         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
9807         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
9808         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
9809         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
9810         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
9811         backslash-quoting from parentheses, etc.
9813 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
9815         * progmodes/js.el: Autoload javascript-mode alias.
9817 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
9819         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
9820         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
9821         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
9822         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
9823         Fix typos in docstrings.
9824         (ffap-url-regexp): Doc fix.
9825         (ffap-at-mouse): Fix typo in message.
9827 2010-01-11  Glenn Morris  <rgm@gnu.org>
9829         * version.el (emacs-copyright): Set copyright year to 2010.
9831 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9833         * format.el (format-annotate-function): Only set
9834         write-region-post-annotation-function after running to-fn so as not to
9835         affect nested write-region calls (bug#5273).
9837 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
9839         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
9840         wisent/python.el.
9842 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
9844         * man.el (Man-goto-section): Signal error if the section is not
9845         found (Bug#5317).
9847 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
9849         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
9850         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
9852 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
9854         * progmodes/compile.el: Don't treat compile-command as safe if
9855         compilation-read-command might be nil (Bug#4218).
9857 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
9859         * startup.el (command-line-1): Use orig-argi to check for ignored X and
9860         NS options.
9862 2010-01-08  Kenichi Handa  <handa@m17n.org>
9864         * international/fontset.el (build-default-fontset-data):
9865         Exclude characters in scripts kana, hangul, han, or cjk-misc.
9867 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
9869         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
9870         to `create-file-buffer' as it expects, not just a buffer name.
9871         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
9872         to help uniquify.  (Bug#3224)
9874 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
9876         * font-setting.el (font-setting-change-default-font): Use user-spec
9877         instead of name.
9879 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
9881         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
9883 2010-01-05  Tom Tromey  <tromey@redhat.com>
9885         * progmodes/python.el (python-font-lock-keywords):
9886         Handle qualified decorators (Bug#881).
9888 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
9890         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
9891         in a lightweight checkout.
9893 2010-01-05  Kenichi Handa  <handa@m17n.org>
9895         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
9897 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
9899         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
9901 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
9903         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
9904         checkouts.  (Bug#618)
9905         (vc-bzr-log-view-mode): Also highlight the author.
9906         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
9907         (vc-bzr-shelve-menu-map):
9908         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
9909         (vc-bzr-shelve-apply): Make prompt more explicit.
9911 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
9913         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
9914         They are valid characters in URL paths (rfc3986), and at least
9915         Firefox does not understand the encoded version (Bug#3166).
9917 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
9919         * progmodes/octave-mod.el (octave-end-keywords)
9920         (octave-block-begin-or-end-regexp, octave-block-match-alist):
9921         Add "end" keyword (Bug#3061).
9922         (octave-end-as-array-index-p): New function.
9923         (calculate-octave-indent): Use it.
9925 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9927         * bookmark.el: Consistently put the text property on the bookmark name.
9928         (bookmark-bmenu-marks-width): Bump back to 2, to include
9929         annotation marks.
9930         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
9931         property on the bookmark name, instead of not putting it at all.
9932         (bookmark-bmenu-list): Fix where we put the text property.
9934 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9936         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
9937         for showing buffer modified state (as added in the previous change).
9939 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9941         * bookmark.el: Show modified state of bookmark buffer more accurately.
9942         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
9943         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
9944         (with-buffer-modified-unmodified): New macro.
9945         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
9946         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
9947         Use new macro to preserve the buffer modified state.
9949 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9951         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
9952         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
9953         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
9954         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
9955         (bookmark-bmenu-rename, bookmark-bmenu-locate)
9956         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
9957         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
9959 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
9961         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9962         Make the lines in the generated doc string shorter.  (Bug#4668)
9964 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
9966         * net/rcirc.el: Add follow-link binding (Bug#4738).
9968 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
9970         * Makefile.in (bzr-update): Rename from cvs-update.
9971         (cvs-update): New target for backward compatibility.
9973         * makefile.w32-in (bzr-update): Rename from cvs-update.
9974         (cvs-update): New target for backward compatibility.
9976 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9978         * bookmark.el: Remove gratuitous gratitude.
9980 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9982         * bookmark.el (bookmark-bmenu-any-marks): New function.
9983         (bookmark-bmenu-save): Clear buffer modification if no marks.
9985 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
9987         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
9988         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
9989         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
9990         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
9992         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
9993         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
9994         To: emacs-devel {_AT_} gnu.org
9995         Subject: bookmark.el bug report
9996         Date: Mon, 28 Dec 2009 14:19:16 +0800
9997         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
9999 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10001         * bookmark.el: Improvements suggested by Drew Adams:
10002         (bookmark-bmenu-ensure-position): New name for
10003         `bookmark-bmenu-check-position'.  Just ensure the position,
10004         don't return any meaningful value.
10005         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
10006         New constants.
10008 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
10010         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
10011         (bookmark-yank-point, bookmark-bmenu-check-position):
10012         Fix typos in docstrings.
10013         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
10014         (bookmark-name-from-full-record, bookmark-get-position)
10015         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
10016         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
10017         Remove useless quoting of parenthesis, etc. in docstrings.
10019         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
10020         (ediff-append-custom-diff): Fix typo in error message.
10021         (ediff-meta-mark-equal-files): Fix typos in messages.
10023         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
10025         * net/imap-hash.el (imap-hash-make): Doc fix.
10026         (imap-hash-test): Fix typo in error message; reflow docstring.
10027         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
10028         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
10029         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
10030         Fix typos in docstrings.
10031         (imap-hash-open-connection): Fix typo in error message.
10033         * play/gomoku.el (gomoku): Fix typos in docstring.
10035         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
10036         (gdb-jsonify-buffer): Fix typos in docstring.
10037         (gdb-goto-breakpoint): Fix typo in error message.
10038         ("Display Other Windows"): Fix typo in help message.
10039         (gdb-speedbar-expand-node): Fix typo in question.
10041         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
10042         (idlwave-html-system-help-location, idlwave-html-help-location)
10043         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
10044         (idlwave-help-browser-generic-args, idlwave-help-directory)
10045         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
10046         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
10047         (idlwave-online-help, idlwave-help-html-link)
10048         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
10049         Fix typos in docstrings.
10050         (idlwave-help-with-source, idlwave-help-find-routine-definition):
10051         Reflow docstrings.
10052         (idlwave-help-assistant-start): Fix typo in error message.
10054         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
10055         (octave-electric-space): Fix typos in docstrings.
10057 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
10059         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
10061 2010-01-01  Juri Linkov  <juri@jurta.org>
10063         * comint.el (comint-input-ring-size): Make it a defcustom and
10064         increase the default to 500 (Bug#5148).
10066 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
10068         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
10069         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
10070         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
10072 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
10074         Show working revision correctly for mercurial.
10075         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
10076         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
10078 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
10080         Declare some functions for the byte-compiler.
10081         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
10082         (speedbar-timer-fn, speedbar-change-expand-button-char)
10083         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
10085 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
10087         This changeset reverts GDB Graphical Interface to use annotations.
10088         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
10090 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
10092         Make vc-dir work on subdirectories of the bzr root.
10093         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.  Return
10094         file names relative to it.
10095         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
10096         relative directory to vc-bzr-after-dir-status.
10098 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
10100         * font-lock.el (font-lock-refresh-defaults): New function, which
10101         can be used to let font-lock react to external changes in
10102         variables like font-lock-defaults and keywords.
10103         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
10105 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
10107         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
10109         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
10111 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
10113         Supersede color.diff settings in git log (bug#5211).
10115         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
10116         escape chars in its output when the user has color.diff set to `always'.
10117         This fix works on git 1.4.2 and newer (released on 2006-08-13).
10119 2009-12-26  Kevin Ryde  <user42@zip.com.au>
10121         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
10122         node.  Keep previous "Index" name to work with past coreutils too.
10124         * man.el (man): Revise docstring a bit to show -a and -l as
10125         examples.  Add -k description since support for it has otherwise
10126         been a secret.  (Further to bug#3717.)
10127         (Man-bgproc-sentinel): When "-k foo" produces no output show error
10128         "no matches" rather than "Can't find manpage", as the latter reads
10129         like -k was interpreted as a page name, which is not so.  (Bug#5431)
10131 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
10133         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
10134         switches.  Check also for //SUBDIRED// line.
10136 2009-12-25  Kenichi Handa  <handa@m17n.org>
10138         * language/indian.el (devanagari-composable-pattern): Fixed to
10139         handle ZWNJ and ZWJ.  Use it in composition-function-table for
10140         Devanagari.
10141         (malayalam-composable-pattern): Fix previous change.
10143 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
10145         * ps-print.el (ps-face-attributes): It was not returning the
10146         attribute face for faces specified as string.  Reported by harven
10147         <harven@free.fr>.  (Bug#5254)
10148         (ps-print-version): New version 7.3.5.
10150 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
10152         * calendar/icalendar.el (icalendar--convert-tz-offset):
10153         Fix timezone names.
10154         (icalendar--convert-tz-offset): Fix the "last-day-problem".
10155         (icalendar--add-diary-entry): Remove the trailing blank that
10156         diary-make-entry inserts.
10158 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
10160         Make `file-expand-wildcards' work for remote files.
10162         * files.el (file-expand-wildcards): In case of remote files, check
10163         only local file name part for wildcards.  Provide feature 'files
10164         and subfeature 'remote-wildcards.  (Bug#5198)
10166         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
10167         if there is already an established connection.
10168         (tramp-advice-file-expand-wildcards): Remove it.
10170         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
10171         (tramp-advice-file-expand-wildcards): Move from tramp.el.
10172         Activate advice for older GNU Emacs versions.  (Bug#5237)
10174 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
10176         Some doc fixes (more needed).
10178         * find-cmd.el (find-constituents): Reflow docstring.
10179         (find-cmd, find-prune, find-command): Fix typos in docstrings.
10180         (find-generic): Doc fix.
10182 2009-12-17  Juri Linkov  <juri@jurta.org>
10184         Fix regression from 23.1 to allow multiple modes in Local Variables.
10186         * files.el (hack-local-variables-filter): While ignoring duplicates,
10187         don't take `mode' into account.
10188         (hack-local-variables-filter, hack-dir-local-variables):
10189         Don't remove duplicate `mode' from local-variables-alist (like `eval').
10191 2009-12-17  Juri Linkov  <juri@jurta.org>
10193         Make `dired-diff' safer.  (Bug#5225)
10195         * dired-aux.el (dired-diff): Signal an error when `file' equals to
10196         `current' or when `file' is a directory of the `current' file.
10198 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
10200         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
10201         unconditionally preloaded files.
10203 2009-12-16  Juri Linkov  <juri@jurta.org>
10205         Revert to old 23.1 logic of using the file at the mark as default.
10206         * dired-aux.el (dired-diff): Use the file at the mark as default
10207         if it's not the same as the current file, and the target dir is
10208         the current dir or the mark is active.  Add the current file
10209         as the arg of `dired-dwim-target-defaults'.  Use the default file
10210         in the prompt.  (Bug#5225)
10212 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
10214         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
10215         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
10216         (tramp-check-for-regexp): Check also, when an echoing shell stops
10217         to echo sent commands.
10219 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
10221         * Makefile.in: Revert last change (Bug#5191).
10223 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
10225         * vc-hg.el (vc-hg-print-log): Fix argument order.
10226         (vc-hg-working-revision): Make sure the command is executed in a
10227         known environment so that we can parse the output.  (Bug#4417)
10229 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
10231         * progmodes/python.el (python-symbol-completions): Remove text
10232         properties from symbol string before calling python-send-receive.
10234 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
10236         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
10237         when there are values for both file and line.  (Bug#5060)
10239 2009-12-14  Juri Linkov  <juri@jurta.org>
10241         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
10242         whitespace after the file name of the first line of unified format,
10243         because git-diff doesn't output whitespace and file modification time
10244         after the file name.
10246 2009-12-14  David Kastrup  <dak@gnu.org>
10248         * info.el (Info-hide-cookies-node): Before hiding a cookie,
10249         check if it already has the `display' property added by
10250         `Info-display-images-node', and not put the `invisible' property
10251         in this case.
10253 2009-12-13  Glenn Morris  <rgm@gnu.org>
10255         * mail/emacsbug.el (message-sort-headers): Define for compiler.
10256         (report-emacs-bug): In message-mode, sort manually before storing
10257         original report text.  (Bug#5178)
10258         Remove superfluous save-excursion.
10260 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
10262         * net/dbus.el (dbus-property-handler): Filter lambda forms out
10263         when responding to "GetAll" properties.
10265 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
10267         * simple.el (compose-mail): Remove mail-setup-with-from from
10268         customization checks.
10270 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
10272         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
10273         RAR archives created on Unix systems.
10275 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10277         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
10278         the varalias that was accidentally removed by the 2009-11-19 change
10279         (bug#5186).
10281 2009-12-12  Kenichi Handa  <handa@m17n.org>
10283         * language/indian.el (indian-compose-regexp): New function.
10284         (malayalam-composable-pattern): Fix the pattern.
10285         (composition-function-table): Set malayalam-composable-pattern for
10286         Malayalam characters.
10288 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
10290         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
10291         rather than down-mouse-1, based on follow-link conventions.
10293         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
10294         are compiled.
10296 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
10298         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
10299         (verilog-vmm-statement-re, verilog-ovm-statement-re)
10300         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
10301         (verilog-leap-to-head, verilog-backward-token):
10302         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
10304 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
10306         * progmodes/verilog-mode.el (verilog-auto-lineup)
10307         (verilog-nameable-item-re): Cleanup user-visible spelling and
10308         documentation errors.  One reported by Gary Delp.
10309         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
10310         (verilog-read-decls): Fix AUTOWIRE with types declared in a
10311         package, bug195.  Reported by Pierre-David Pfister.
10313 2009-12-11  Glenn Morris  <rgm@gnu.org>
10315         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
10317         * mail/emacsbug.el: No longer require sendmail.
10318         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
10319         (report-emacs-bug-orig-text): Doc fix.
10320         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
10321         New local variables, to adapt to different mail-user-agents.
10322         (report-emacs-bug): Fix test for a gnu.org address.
10323         Use overlays for emphasis, since font-lock defeats 'face property.
10324         Pretest bugs also end up at the newsgroup these days.
10325         Stop message-mode stripping text properties.
10326         Set and use the new buffer-local variables.
10327         (report-emacs-bug-hook): Add doc-string.
10328         Remove some unnecessary save-excursions and simplify.
10329         Use the appropriate hook and send-command.
10331         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
10332         capitalization of some menu entries.
10334 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
10336         * whitespace.el (whitespace-display-char-on):
10337         Ensure `buffer-display-table' is unique when two or more windows are
10338         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
10339         New version 12.1.
10341 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
10343         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
10344         characters in the Attribute field.
10346 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
10348         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
10350 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10352         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
10353         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10354         Disregard autoload-excludes.
10355         (update-directory-autoloads): Obey autoload-excludes here instead.
10356         But don't store its contents in no-autoloads and remove entries that
10357         refer to excludes files.
10359 2009-12-10  Glenn Morris  <rgm@gnu.org>
10361         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
10362         (expand-mail-aliases): Define for compiler.
10364         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
10365         Define for compiler.
10367         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
10368         appropriate for the mail-user-agent in use.
10370 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
10372         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
10374 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
10376         Fix short log parsing and fontification.
10377         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
10378         Fix fontification for the [merge] label.
10380 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
10382         Drop some properties to avoid surprises (bug#5002).
10383         * htmlfontify.el (hfy-ignored-properties): New defcustom.
10384         (hfy-fontify-buffer): Use it.
10386 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10388         Minor cleanup.
10389         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
10390         Adjust all callers.
10391         (ffap-locate-file): Remove unused arg `dir-ok' and make other
10392         args compulsory.  Adjust callers.
10393         (ffap-gopher-at-point): Remove unused var `name'.
10395         Get rid of the ELCFILES abomination.
10396         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10397         (compile-elcfiles): New phony target.
10398         (compile-main): Compute ELCFILES dynamically.
10399         (compile-clean): New target to remove left-over elc files.
10400         (compile, all): Use it.
10402 2009-12-09  Kenichi Handa  <handa@etlken>
10404         * international/mule-diag.el: Require help-mode instead of help-fns.
10406 2009-12-09  Kenichi Handa  <handa@m17n.org>
10408         * international/mule-cmds.el (ucs-names): Supply sufficiently
10409         fine ranges instead of pre-calculating accurate ranges.
10410         Iterate with bigger gc-cons-threshold.
10412 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
10414         Add support for stashing a snapshot of the current tree.
10415         * vc-git.el (vc-git-stash-snapshot): New function.
10416         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
10418 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
10420         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
10421         instead of `(beginning|end)-of-line'.
10423 2009-12-08  Glenn Morris  <rgm@gnu.org>
10425         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
10427         * Makefile.in (ELCFILES): Regenerate.
10429 2009-12-07  Juri Linkov  <juri@jurta.org>
10431         Don't lazy-highlight the comint output in history Isearch mode.
10433         * comint.el (comint-history-isearch-search): Instead of
10434         `comint-line-beginning-position', use `comint-after-pmark-p'
10435         to check if point if before the process mark, and go to
10436         `process-mark' in this case.
10438 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10440         * textmodes/tex-mode.el (latex-complete)
10441         (latex-indent-or-complete): Remove.
10442         (latex-mode): Set completion-at-point-functions instead.
10444         Provide a standard completion command and hook it into TAB.
10445         * minibuffer.el (completion-at-point-functions): New var.
10446         (completion-at-point): New command.
10447         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
10448         * progmodes/python.el (python-mode-map): Use completion-at-point.
10449         (python-completion-at-point): Rename from python-partial-symbol and
10450         adjust for use in completion-at-point-functions.
10451         (python-mode): Setup completion-at-point for Python completion.
10452         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
10453         extracted from lisp-complete-symbol.
10454         (lisp-complete-symbol): Use it.
10455         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
10456         setup completion-at-point for Elisp completion.
10457         (emacs-lisp-mode-map, lisp-interaction-mode-map):
10458         Use completion-at-point.
10459         * ielm.el (ielm-map): Use completion-at-point.
10460         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
10461         * progmodes/sym-comp.el: Move to...
10462         * obsolete/sym-comp.el: Move from progmodes.
10464 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
10466         Prevent save-buffer in Rmail buffers from using the coding-system
10467         of the current message, and from clobbering the encoding mnemonics
10468         in the mode line (Bug#4623).
10470         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
10471         flag, too.
10472         (rmail-message-encoding): New variable.
10473         (rmail-write-region-annotate): Record the encoding of the current
10474         message in rmail-message-encoding.
10475         (rmail-after-save-hook): New function, restores the encoding of
10476         the current message after the message collection is saved.
10478 2009-12-07  Juri Linkov  <juri@jurta.org>
10480         * progmodes/grep.el (grep-read-files): Use `completing-read'
10481         instead of `read-string'.  Set its `collection' arg to
10482         `read-file-name-internal'.  (Bug#4301)
10484 2009-12-07  Juri Linkov  <juri@jurta.org>
10486         Correctly restore original Isearch point.  (Bug#4994)
10488         * isearch.el (isearch-mode): Move `isearch-push-state' after
10489         `(run-hooks 'isearch-mode-hook)'.
10490         (isearch-cancel): When `isearch-push-state-function' is defined,
10491         let-bind `isearch-cmds' to the first state (the last element of
10492         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
10493         function and restores the original point).  Otherwise, move point
10494         to `isearch-opoint'.
10496 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10498         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
10499         chars that don't have names, so the table can be built much faster at
10500         run-time.
10502 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
10504         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
10505         change.  Suggested by David Kastrup.
10507         * simple.el (compose-mail): Check for incompatibilities and warn.
10508         (compose-mail-user-agent-warnings): New option.
10510 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
10512         Support showing a single log entry from vc-annotate.
10513         * vc.el (print-log): Add a new argument: START-REVISION.
10514         (vc-print-log-internal): Add a new optional argument and
10515         pass it to the backend.
10516         (vc-print-log, vc-print-root-log): Adjust callers.
10517         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
10518         buffer already displays the requested log entry, use it.
10519         Otherwise display only the log entry in question.
10520         * vc-svn.el (vc-svn-print-log):
10521         * vc-mtn.el (vc-mtn-print-log):
10522         * vc-hg.el (vc-hg-state):
10523         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
10524         (vc-git-show-log-entry): Return t on success.
10525         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
10526         (vc-bzr-show-log-entry): Return t on success.
10527         * vc-rcs.el (vc-rcs-print-log):
10528         * vc-sccs.el (vc-sccs-print-log):
10529         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
10531 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
10533         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
10534         Add menus to the meta mode.  (Bug#5043)
10536 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
10538         * ediff-init.el (ediff-event-key): Use event-to-character instead of
10539         event-key.
10541         * ediff.el (ediff-buffers-internal): Add unwind-protect.
10543 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
10545         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
10546         Berbain <raphael.berbain@gmail.com>.
10548         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
10549         characters.
10550         (tramp-initial-end-of-output): New defconst.
10551         (tramp-methods, tramp-find-shell)
10552         (tramp-open-connection-setup-interactive-shell)
10553         (tramp-maybe-open-connection): Use it.
10554         (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
10555         existence of `#' and `$'.
10557         * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
10558         `tramp-initial-end-of-output'.
10560 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
10562         Get the background mode from the terminal for xterm, and set
10563         faces accordingly.
10564         * term/xterm.el (xterm-set-background-mode): New function.
10565         (terminal-init-xterm): Use it in case xterm supports background
10566         color queries.  Recompute faces after getting the background
10567         color.
10569 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
10571         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
10572         number comment back on its own line, for easier parsing.
10574 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10576         Make it work for non-file buffers (bug#5102).
10577         * doc-view.el (doc-view-current-cache-dir):
10578         Use doc-view-buffer-file-name rather than buffer-file-name.
10579         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
10581 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
10583         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
10584         author field is too short.
10586 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
10588         * vc-git.el (vc-git-print-log): Handle a limit argument.
10589         Display the short log in graph form and with labels.
10590         (vc-git-log-view-mode): Handle labels.
10592         Make vc-revert change VC state from 'added to 'unregistered.
10593         * vc-git.el (vc-git-revert): Call git reset first.
10595 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
10597         * net/newst-backend.el, net/newst-plainview.el:
10598         * net/newst-reader.el, net/newst-ticker.el:
10599         * net/newst-treeview.el, net/newsticker.el:
10600         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
10602 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
10604         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
10606         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
10607         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
10608         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
10609         Update annotation regexp.
10611         * simple.el (beginning-of-visual-line): Constrain to field
10612         boundaries (Bug#5106).
10614 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
10616         * xml.el (xml-substitute-numeric-entities): Move
10617         newsticker--decode-numeric-entities in newst-backend.el to
10618         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
10619         * net/newst-backend.el (newsticker--parse-generic-feed)
10620         (newsticker--parse-generic-items)
10621         (newsticker--decode-numeric-entities): Move
10622         newsticker--decode-numeric-entities in newst-backend.el to
10623         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
10625 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
10627         * progmodes/js.el (js--js-not): Add null to the list of values.
10629 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
10631         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
10633 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
10635         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
10636         delimiter if it is at the end of the current line.
10637         (bibtex-generate-url-list): Fix docstring.
10639 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10641         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
10642         minibuffer's content with itself.
10643         Fold the confirm-after-completion case into the `confirm' case.
10644         (completion-pcm-word-delimiters): Add : and / to the delimiters.
10646 2009-12-06  Kevin Ryde  <user42@zip.com.au>
10648         * ffap.el (ffap-rfc-path): Make this a defcustom since
10649         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
10651         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
10652         manuals, similar to existing setup for help-mode.  (Bug#3913.)
10654 2009-12-05  Juri Linkov  <juri@jurta.org>
10656         Save and restore dired buffer's point positions too.  (Bug#4880)
10658         * dired.el (dired-save-positions): Return in the first element
10659         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
10660         Doc fix.
10661         (dired-restore-positions): First restore buffer's position.
10662         While restoring window's positions, check if window still displays
10663         the original buffer.
10665 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
10667         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
10668         if possible.
10670         * shell.el (shell): Require ansi-color (Bug#5113).
10672         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
10674         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
10676 2009-12-05  Alan Mackenzie  <acm@muc.de>
10678         * progmodes/cc-mode.el (c-before-hack-hook)
10679         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
10680         `c-file-style' to work again.  This reversion restores the current
10681         software to its state in Emacs 23.1.  (Bug#4146)
10683 2009-12-05  Kevin Ryde  <user42@zip.com.au>
10685         * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
10686         comment-start-skip to comment-end-skip as comment (Bug#4781).
10688 2009-12-05  Juri Linkov  <juri@jurta.org>
10690         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
10691         for virtual nodes.  (Bug#4147)
10692         (Info-find-node-2): Set `Info-current-node-virtual' to nil
10693         when moving from a virtual node.
10694         (Info-mode-menu): Add `Info-virtual-index' to the menu.
10695         (Info-mode): Add `Info-virtual-index' to the docstring.
10697 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
10699         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
10700         track of the buffer position of the end of a BibTeX entry as this
10701         position may change during reformatting.
10702         (bibtex-format-entry): Remove whitespace before processing
10703         numerical fields so that we recognize the latter properly.
10704         (bibtex-reformat): Do not use push which changes the global value
10705         of bibtex-entry-format.
10706         (bibtex-field-braces-alist, bibtex-field-strings-alist)
10707         (bibtex-field-re-init): Replace only space characters by regexp
10708         for whitespace.
10709         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
10710         (bibtex-initialize): Also update bibtex-strings.
10711         (bibtex-kill-field): Preserve white space at end of entry.
10712         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
10713         Update bibtex-reference-keys.
10715 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10717         * minibuffer.el (completion-pcm--merge-try): Also consider placing
10718         point after a star, if that's the only place where modifications can
10719         make progress.
10721 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
10723         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
10724         in docstrings.
10726 2009-12-04  Juri Linkov  <juri@jurta.org>
10728         * proced.el (proced): Call `(proced-update t)' to update process
10729         information instead of only running proced-post-display-hook.
10730         (proced-send-signal): Add a leading space to the buffer name
10731         " *Marked Processes*" to make this buffer ephemeral.
10733 2009-12-04  Juri Linkov  <juri@jurta.org>
10735         * dired.el (dired-auto-revert-buffer): New defcustom.
10736         (dired-internal-noselect): Use it.
10738 2009-12-04  Juri Linkov  <juri@jurta.org>
10740         Change roles of modes and functions in image-mode.el (Bug#5062).
10742         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
10743         in `auto-mode-alist'.
10744         (image-mode-previous-major-mode): New variable.
10745         (image-minor-mode-map): Rename from `image-mode-text-map'.
10746         (image-mode): Move graceful error-handling code from
10747         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
10748         (image-minor-mode): Remove all image-handling code.
10749         Replace `image-mode-text-map' with `image-minor-mode-map'.
10750         Check for `image-type' in mode-line format string.
10751         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
10752         (image-mode-as-text): New function with most code from
10753         `image-mode-maybe'.
10754         (image-toggle-display-text): Move code that removes image
10755         properties from `image-toggle-display' to here.
10756         (image-toggle-display-image): New function with code that adds
10757         image properties copied from `image-toggle-display'.
10758         (image-toggle-display): Remove most code with leaving only code
10759         that toggles between `image-mode-as-text' and `image-mode'.
10761 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
10763         * net/newst-treeview.el
10764         (newsticker--treeview-list-highlight-start): Restored call to
10765         save-excursion: Selected item was stuck.
10766         (newsticker--treeview-list-select): New.
10767         (newsticker--treeview-item-show-text)
10768         (newsticker--treeview-item-show)
10769         (newsticker--treeview-item-update): Use new
10770         newsticker-treeview-item-mode.
10771         (newsticker-treeview-update): Keep current item.
10772         (newsticker-treeview-next-new-or-immortal-item): Doc change.
10773         (newsticker--treeview-first-feed): Doc change.
10774         (newsticker-treeview-list-menu)
10775         (newsticker-treeview-item-menu): Added menu entries.
10776         (newsticker-treeview-item-mode): New.
10778         * net/newst-backend.el (newsticker-customize): Delete other
10779         windows.
10781 2009-12-04  Sam Steingold  <sds@gnu.org>
10783         * log-view.el (log-view-mode-map): "q" calls quit-window,
10784         like in all the other non-self-insert buffers.
10786 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
10788         Minor cleanup.
10789         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
10790         key decoding rather than do it manually via last-input-event +
10791         ascii-character.
10792         (term-exec): Use delete-and-extract-region.
10793         (term-handle-ansi-terminal-messages): Remove unused var `end'.
10794         (term-process-pager): Remove unused var `i'.
10795         (term-dynamic-simple-complete): Make obsolete.
10796         (serial-update-config-menu): Remove unused vars `y' and `str'.
10797         (term-update-mode-line): Remove unused var `temp'.
10799 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
10801         Limit the number of log entries displayed by default.
10802         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
10803         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
10804         using a prefix argument.
10806 2009-12-03  Glenn Morris  <rgm@gnu.org>
10808         * progmodes/idlwave.el (class): Restore still useful declaration.
10810 2009-12-03  Alan Mackenzie  <acm@muc.de>
10812         Enhance `c-parse-state' to run efficiently in "brace deserts".
10814         * progmodes/cc-mode.el (c-basic-common-init):
10815         Call c-state-cache-init.
10816         (c-neutralize-syntax-in-and-mark-CPP): Rename from
10817         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
10818         placing `category' properties value 'c-cpp-delimiter at its boundaries.
10820         * progmodes/cc-langs.el (c-before-font-lock-function):
10821         c-extend-and-neutralize-syntax-in-CPP has been renamed
10822         c-neutralize-syntax-in-and-mark-CPP.
10824         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
10825         with `category' properties now, not `syntax-table' ones.
10827         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
10828         enhanced (but slower) version of c-end-of-macro that won't land
10829         inside a literal or on another awkward character.
10830         (c-state-cache-too-far, c-state-cache-start)
10831         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
10832         (c-state-nonlit-pos-cache-limit, c-state-point-min)
10833         (c-state-point-min-lit-type, c-state-point-min-lit-start)
10834         (c-state-min-scan-pos, c-state-brace-pair-desert)
10835         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
10836         buffer local variables.
10837         (c-state-literal-at, c-state-lit-beg)
10838         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
10839         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
10840         (c-state-cache-top-paren, c-state-cache-after-top-paren)
10841         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
10842         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
10843         (c-renarrow-state-cache)
10844         (c-append-lower-brace-pair-to-state-cache)
10845         (c-state-push-any-brace-pair, c-append-to-state-cache)
10846         (c-remove-stale-state-cache)
10847         (c-remove-stale-state-cache-backwards, c-state-cache-init)
10848         (c-invalidate-state-cache-1, c-parse-state-1)
10849         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
10850         (c-parse-state): Enhance and refactor.
10851         (c-debug-parse-state): Amend to deal with all the new variables.
10853         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
10854         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
10855         modify to use category text properties rather than syntax-table ones.
10856         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
10857         to switch off/on the syntactic paren property of C++ template
10858         delimiters using the category property.
10859         (c-with-<->-as-parens-suppressed): Macro to invoke code with
10860         template delims suppressed.
10861         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
10862         New constant/macros which apply category properties to the start
10863         and end of preprocessor constructs.
10864         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
10865         "comment out" the syntactic value of characters in preprocessor
10866         constructs.
10867         (c-with-cpps-commented-out)
10868         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
10869         with characters in all or all but one preprocessor constructs
10870         "commented out".
10872 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
10874         * proced.el (proced-filter-alist): Use regexp-quote.
10876 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
10878         Cleanup.
10879         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
10880         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
10881         arguments.  Expand `default-directory'.
10883         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
10884         the benefit of returning an expanded localname.
10885         (tramp-tramp-file-p): Handle the case NAME is not a string.
10887 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
10889         Add support for bzr shelve/unshelve.
10890         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
10891         (vc-bzr-extra-menu-map): New variables.
10892         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
10893         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
10894         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
10895         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
10896         (vc-bzr-dir-extra-headers): Display shelves.
10898         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
10900 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10902         * textmodes/bibtex.el (bibtex-complete-internal):
10903         Use completion-in-region.
10904         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
10906 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
10908         Support applying stashes.  Improve UI.
10909         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
10910         (vc-git-stash-apply, vc-git-stash-pop)
10911         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
10912         (vc-git-stash-menu): New functions.
10913         (vc-git-stash-menu-map): New variable.
10914         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
10916 2009-12-03  Glenn Morris  <rgm@gnu.org>
10918         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
10919         (vc-print-log-internal): Fix previous change.
10920         (vc-revert): Correct pluralization.
10922 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10924         * progmodes/make-mode.el (makefile-special-targets-list): No need for
10925         it to be an alist any more.
10926         (makefile-complete): Use completion-in-region.
10928         * progmodes/octave-mod.el (octave-complete-symbol):
10929         Use completion-in-region.
10931         Misc cleanup.
10932         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
10933         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
10934         (idlwave-complete-class): Don't quote lambda.
10935         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
10936         (idlwave-mode-map): Move initialization into declaration.
10937         (idlwave-action-and-binding): Use backquotes.
10938         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
10939         Simplify.
10940         (idlwave-is-pointer-dereference): Remove unused var `pos'.
10941         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
10942         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
10943         `parts', and `all-parts'.
10944         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
10945         (idlwave-convert-xml-system-routine-info): Remove unused string
10946         `version-string'.
10947         (idlwave-display-user-catalog-widget): Use dolist.
10948         (idlwave-scanning-lib): Declare dynamically-scoped var.
10949         (idlwave-scan-library-catalogs): Remove unused var `flags'.
10950         (completion-highlight-first-word-only): Declare to silence bytecomp.
10951         (idlwave-popup-select): Tighten scope of `resp'.
10952         (idlwave-find-struct-tag): Remove unused var `beg'.
10953         (idlwave-after-load-rinfo-hook): Declare.
10954         (idlwave-sintern-class-info): Remove unused var `taglist'.
10955         (idlwave-find-class-definition): Remove unused var `list'.
10956         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
10957         (idlwave-what-module-find-class): Remove unused var `classes'.
10959 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
10961         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
10963 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10965         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
10966         buffers visited.  Remove redundant current-buffer-saving.
10968 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
10970         Use completion-in-buffer and remove uses of dynamic scoping.
10971         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
10972         (pascal-buffer-to-use, pascal-flag): Don't declare.
10973         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
10974         (pascal-get-completion-decl, pascal-keyword-completion):
10975         Add `pascal-str' argument, save-excursion,
10976         return the found completions, and don't filter with pascal-pred.
10977         (pascal-completion-cache): New var.
10978         (pascal-completion): Don't switch buffer any more (it was never
10979         necessary).  Don't save-excursion any more (it's done by the called
10980         subroutines).  Use a cache to avoid redundant computations.
10981         Use complete-with-action rather than pascal-completion-response and
10982         let it apply the predicate as well.
10983         (pascal-complete-word): Use completion-in-buffer when
10984         pascal-toggle-completions is nil.
10985         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
10986         not used any more.
10987         (pascal-comp-defun): Don't change buffer any more.
10988         Use complete-with-action rather than pascal-completion-response and
10989         let it apply the predicate as well.
10990         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
10991         when neded.
10993 2009-12-02  Kenichi Handa  <handa@m17n.org>
10995         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
10996         shape for all Indic scripts.
10998 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11000         Use completion-in-buffer.
11001         * wid-edit.el (widget-field-text-end): New function.
11002         (widget-field-value-get): Use it.
11003         (widget-string-complete, widget-file-complete)
11004         (widget-color-complete): Use it and completion-in-region.
11005         (widget-complete): Don't narrow the buffer.
11007 2009-12-02  Glenn Morris  <rgm@gnu.org>
11009         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
11010         (rmail-select-summary): Use rmail-pop-to-buffer.
11011         * mail/rmailsum.el: Replace all pop-to-buffer calls with
11012         rmail-pop-to-buffer, to prevent horizontal splits.
11014         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
11015         save-excursion with save-current-buffer.
11016         Widen before searching.  (Bug#5093)
11017         (diary-list-sexp-entries): Remove superfluous save-excursion.
11019 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
11021         * woman.el (woman-make-bufname): Handle man-pages with "." in the
11022         name.  (Bug#5038)
11024 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
11026         * ido.el (ido-file-internal): Handle filenames at point that do
11027         not have a directory part.  (Bug#5049)
11029 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
11031         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
11032         (mpc-songs-jump-to, mpc-resume): Doc fixes.
11034 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
11036         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
11037         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
11038         any more.
11040 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11042         * comint.el (comint-insert-input): Ignore clicks to the right of
11043         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
11045         * vc.el (vc-print-log-internal): Don't wait for the process to
11046         terminate before setting up the major mode.
11048         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
11049         in case.
11051         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
11052         the last element.
11054         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
11056 2009-12-01  Glenn Morris  <rgm@gnu.org>
11058         * window.el (window--display-buffer-2): Fix previous changes.
11060 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
11062         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
11064 2009-12-01  Glenn Morris  <rgm@gnu.org>
11066         * Makefile.in (ELCFILES): Add mpc.elc.
11068 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11070         * mpc.el: New file.
11072 2009-12-01  Glenn Morris  <rgm@gnu.org>
11074         * window.el (window-to-use): Define for compiler.
11076         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
11077         consistent with others (no final period).
11079         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
11080         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
11082 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
11084         Make vc-print-log buttons work.
11085         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
11087 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
11089         * savehist.el (savehist-autosave-interval): Allow setting to nil
11090         through customize.  (Bug#5056)
11092 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
11094         Fix references to jit-lock properties.
11095         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
11096         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
11097         (perl-font-lock-special-syntactic-constructs):
11098         Quote jit-lock-defer-multiline property.
11100 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
11102         * vc-git.el (vc-git-registered): Call vc-git-root only once.
11104 2009-11-30  Juri Linkov  <juri@jurta.org>
11106         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
11107         value `buffer' of `multi-isearch-next-buffer-current-function'.
11108         Use `(current-buffer)' when `buffer' is nil.
11109         (multi-isearch-next-buffer-from-list): Don't fallback to
11110         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
11112 2009-11-30  Juri Linkov  <juri@jurta.org>
11114         * misearch.el (multi-isearch-read-buffers): Move canonicalization
11115         of buffers with `get-buffer' to `multi-isearch-buffers'.
11116         (multi-isearch-buffers, multi-isearch-buffers-regexp):
11117         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
11118         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
11119         FILES with `expand-file-name' converting relative file names
11120         to absolute.  Doc fix.  (Bug#4727)
11122 2009-11-30  Juri Linkov  <juri@jurta.org>
11124         * misearch.el (multi-isearch-read-buffers)
11125         (multi-isearch-read-matching-buffers): New functions.
11126         (multi-isearch-buffers, multi-isearch-buffers-regexp):
11127         Use them in the `interactive' spec.  Doc fix.
11128         (multi-isearch-read-files, multi-isearch-read-matching-files):
11129         New functions.
11130         (multi-isearch-files, multi-isearch-files-regexp):
11131         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
11133 2009-11-30  Juri Linkov  <juri@jurta.org>
11135         * doc-view.el (doc-view-continuous):
11136         Rename from `doc-view-continuous-mode'.
11137         (doc-view-menu): Move "Toggle display" to the top.
11138         Add submenu "Continuous" with radio buttons "Off"/"On"
11139         and "Save as Default".
11140         (doc-view-scroll-up-or-next-page)
11141         (doc-view-scroll-down-or-previous-page)
11142         (doc-view-next-line-or-next-page)
11143         (doc-view-previous-line-or-previous-page): Rename
11144         `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
11146 2009-11-30  Juri Linkov  <juri@jurta.org>
11148         * comint.el (comint-mode-map): Rebind `M-r' from
11149         `comint-previous-matching-input' to
11150         `comint-history-isearch-backward-regexp'.
11151         Unbind `M-s' to allow global key binding `M-s'.
11152         Add menu items for `comint-history-isearch-backward' and
11153         `comint-history-isearch-backward-regexp'.  (Bug#3746)
11155 2009-11-30  Juri Linkov  <juri@jurta.org>
11157         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
11158         For def=recenter, replace `recenter' with `recenter-top-bottom'
11159         that is called with `this-command' and `last-command' let-bound
11160         to `recenter-top-bottom'.  When the last `def' was not `recenter',
11161         set `recenter-last-op' to nil.  (Bug#4981)
11163 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11165         Minor cleanup and simplification.
11166         * filecache.el (file-cache-add-directory)
11167         (file-cache-add-directory-recursively)
11168         (file-cache-add-from-file-cache-buffer)
11169         (file-cache-delete-file-regexp, file-cache-delete-directory)
11170         (file-cache-files-matching-internal, file-cache-display): Use dolist.
11171         (file-cache-temp-minibuffer-message): Delete function.
11172         (file-cache-minibuffer-complete): Use minibuffer-message instead.
11174         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
11175         Don't signal an error when bumping into EOB in tr, s, or y.
11177 2009-11-29  Juri Linkov  <juri@jurta.org>
11179         * startup.el (fancy-about-text): Fix wording of Guided Tour.
11180         (Bug#4960)
11182         * descr-text.el (describe-char-unidata-list): Use lowercase name
11183         for "Unicode name" like in other tags.
11185 2009-11-29  Juri Linkov  <juri@jurta.org>
11187         * ediff-util.el (ediff-minibuffer-with-setup-hook):
11188         New compatibility macro.
11189         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
11191 2009-11-29  Juri Linkov  <juri@jurta.org>
11193         Add defcustom to define the cycling order of `recenter-top-bottom'.
11194         (Bug#4981)
11196         * window.el (recenter-last-op): Doc fix.
11197         (recenter-positions): New defcustom.
11198         (recenter-top-bottom): Rewrite to use `recenter-positions'.
11199         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
11201 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
11203         Improve integration of Tramp and ange-ftp in eshell.
11205         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
11206         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
11207         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
11209         * eshell/esh-util.el (top): Require also Tramp when compiling.
11210         (eshell-directory-files-and-attributes): Check for FTP remote
11211         connection.
11212         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
11213         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
11214         (eshell-file-attributes): Handle ".".  Return `entry'.
11216         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
11217         (ange-ftp-directory-files-and-attributes)
11218         (ange-ftp-real-directory-files-and-attributes): New defuns.
11220         * net/tramp.el (tramp-maybe-open-connection): Open the remote
11221         shell with "exec" when possible.  This prevents trailing prompts
11222         in `start-file-process'.
11224 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11226         Try and remove assumptions about point-min==1.
11227         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
11228         (rng-compute-mode-line-string): Show the validation percentage in
11229         terms of the narrowed text, not the widened text.
11230         (rng-do-some-validation): Don't catch internal errors when debugging.
11231         (rng-first-error): Simplify.
11232         (rng-after-change-function): Remove work around.  AFAIK the bug has
11233         been fixed a while ago.
11235         * image-mode.el (image-minor-mode): Exit more gracefully when the image
11236         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
11238         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
11240         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
11241         `cd' doesn't always do it for us (bug#5067).
11243         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
11244         on 2009-10-25 as part of some other change (bug#5067).
11246 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11248         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
11249         `suspicious'.
11250         (byte-compile-warnings): Use byte-compile-warning-types.
11251         (byte-compile-save-excursion): Warn about use of set-buffer right
11252         after save-excursion.
11254         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
11255         the excursion as well.
11257 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
11259         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
11260         providing a Tramp related implementation of "su" and "sudo".
11261         (eshell-unix-initialize): Add "su" and "sudo".
11263 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
11265         * net/socks.el (socks-send-command): Convert binary request to
11266         unibyte before sending.  This fixes mishandling of some port
11267         numbers such as 129.
11269 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11271         * help.el (describe-bindings-internal): Remove `interactive'.
11273         * man.el (Man-completion-table): Trim a terminating "(".
11274         Remove the space between name page a section.
11275         Add the command's description on the `help-echo' property.
11276         Remove `process-connection-type' binding since it's unused by
11277         call-process.
11278         Provide completion for the "<section> <name>" format as well.
11279         (Man-default-man-entry): Remove spurious var shadowing the argument.
11281 2009-11-26  Kevin Ryde  <user42@zip.com.au>
11283         * log-view.el: Add "Keywords: tools", since its other keywords
11284         aren't in finder-known-keywords, and following vc.el.
11286         * sha1.el (sha1-string-external): default-directory "/" in case
11287         otherwise non-existent.  process-connection-type pipe for touch of
11288         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
11290 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11292         Misc coding convention cleanups.
11293         * htmlfontify.el (hfy-init-kludge-hook): Rename from
11294         hfy-init-kludge-hooks.
11295         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
11296         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
11297         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
11298         and push.
11299         (hfy-slant, hfy-weight): Use tables rather than code.
11300         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
11301         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
11302         (hfy-face-attr-for-class): Initialize `face-spec' directly.
11303         (hfy-face-to-css): Remove `nconc' with single arg.
11304         (hfy-p-to-face-lennart): Use `or'.
11305         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
11306         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
11307         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
11308         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
11309         (hfy-force-fontification): Use run-hooks.
11311 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
11313         Various minor fixes.
11314         * htmlfontify.el (hfy-default-header): Add toggle_invis since
11315         Javascript belongs in the header, not the body.
11316         (hfy-javascript): Remove.
11317         (hfy-fontify-buffer): Don't insert it any more.
11318         (hfy-face-at): Handle (face0 face1 face2) style face properties.
11319         Fix bug in invis handling when there were no invis props in a chunk.
11321 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11323         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
11325 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
11327         * finder.el (finder-mode-map): Add a menu.
11329 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
11331         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
11332         "unsigned" structs.
11334         (verilog-leap-to-head, verilog-backward-token): Handle "disable
11335         fork" statement better.
11337 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
11339         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
11340         (verilog-delete-auto, verilog-delete-empty-auto-pair)
11341         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
11342         Reported by Clay Douglass.
11344         (verilog-auto-inst, verilog-auto-star-safe)
11345         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
11346         Fix removing "// Interfaces" when saving .* expansions.  Reported by
11347         Pierre-David Pfister.
11349 2009-11-26  Glenn Morris  <rgm@gnu.org>
11351         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
11352         the scope.
11354 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
11356         * vc-annotate.el (vc-annotate-revision-previous-to-line):
11357         Really use previous revision.
11359 2009-11-25  Kevin Ryde  <user42@zip.com.au>
11361         * man.el (Man-completion-table): default-directory "/" in case
11362         doesn't otherwise exist.  process-environment COLUMNS=999 so as
11363         not to truncate long names.  process-connection-type pipe to avoid
11364         any chance of hitting the pseudo-tty TIOCGWINSZ.
11365         (man): completion-ignore-case t for friendliness and since man
11366         itself is case-insensitive on the command line.
11367         Further to Bug#3717.
11369         * arc-mode.el: Add "Keywords: files", so the details in its
11370         commentary can be reached from finder-by-keyword.
11371         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
11372         editing mode, but it's comms related and sgml-mode.el has "comm"
11373         on that basis too.
11374         * textmodes/bibtex-style.el: Add "Keywords: tex".
11375         * international/isearch-x.el, international/ja-dic-cnv.el:
11376         * international/ja-dic-utl.el, international/kkc.el:
11377         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
11379 2009-11-25  Juri Linkov  <juri@jurta.org>
11381         * man.el (Man-completion-table): Modify regexp to include
11382         section names to completion strings.  (Bug#3717)
11384 2009-11-25  Juri Linkov  <juri@jurta.org>
11386         Search recursively in gzipped files.  (Bug#4982)
11388         * progmodes/grep.el (grep-highlight-matches): Add new options
11389         `always' and `auto'.  Doc fix.
11390         (grep-process-setup): Check `grep-highlight-matches' for
11391         `auto-detect' to determine the need to compute grep defaults.
11392         Move Windows/DOS specific --colors settings handling
11393         to `grep-compute-defaults'.  Check `grep-highlight-matches'
11394         to get the value of "--color=".
11395         (grep-compute-defaults): Compute `grep-highlight-matches' when it
11396         has the value `auto-detect'.  Move Windows/DOS specific settings
11397         from `grep-process-setup'.
11398         (zrgrep): New command with alias `rzgrep'.
11400 2009-11-25  Juri Linkov  <juri@jurta.org>
11402         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
11403         to nil instead of switching off view-mode.  (Bug#4896)
11405 2009-11-25  Juri Linkov  <juri@jurta.org>
11407         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
11409         * mwheel.el (mwheel-scroll-up-function)
11410         (mwheel-scroll-down-function): New defvars.
11411         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
11412         `scroll-up', and `mwheel-scroll-down-function' instead of
11413         `scroll-down'.
11415         * doc-view.el (doc-view-scroll-up-or-next-page)
11416         (doc-view-scroll-down-or-previous-page): Add optional ARG.
11417         Use this ARG in the call to image-scroll-up/image-scroll-down.
11418         Change `interactive' spec to "P".  Goto next/previous page only
11419         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
11420         SPC/DEL case).  Doc fix.
11421         (doc-view-next-line-or-next-page)
11422         (doc-view-previous-line-or-previous-page): Rename arg to ARG
11423         for consistency.
11424         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
11425         `doc-view-scroll-up-or-next-page', and buffer-local
11426         `mwheel-scroll-down-function' to
11427         `doc-view-scroll-down-or-previous-page'.
11429 2009-11-25  Juri Linkov  <juri@jurta.org>
11431         Provide additional default values (directories at other Dired
11432         windows) via M-n in the minibuffer of some Dired commands.
11434         * dired-aux.el (dired-diff, dired-compare-directories)
11435         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
11436         `minibuffer-default' in `minibuffer-with-setup-hook'.
11437         (dired-dwim-target-directory): Find a window that displays Dired
11438         buffer instead of failing when the next window is not Dired.
11439         Use `get-window-with-predicate' to find for the next Dired window.
11440         (dired-dwim-target-defaults): New function.
11442         * ediff-util.el (ediff-read-file-name):
11443         Use `dired-dwim-target-defaults' to set `minibuffer-default'
11444         in `minibuffer-with-setup-hook'.
11446 2009-11-25  Juri Linkov  <juri@jurta.org>
11448         Provide additional default values (file name at point or at the
11449         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
11451         * minibuffer.el (read-file-name-defaults): New function.
11452         (read-file-name): Reset `minibuffer-default' to nil when
11453         it duplicates initial input `insdef'.
11454         Bind `minibuffer-default-add-function' to lambda that
11455         calls `read-file-name-defaults' in `minibuffer-selected-window'.
11456         (minibuffer-insert-file-name-at-point): New command.
11458         * files.el (file-name-at-point-functions): New defcustom.
11459         (find-file-default): Remove defvar.
11460         (find-file-read-args): Don't use `find-file-default'.
11461         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
11462         to `read-file-name'.
11463         (find-file-literally): Use `read-file-name' with
11464         `confirm-nonexistent-file-or-buffer'.
11466         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
11468         * dired.el (dired-read-dir-and-switches):
11469         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
11470         to `read-file-name'.
11471         (dired-file-name-at-point): New function.
11472         (dired-mode): Add hook `dired-file-name-at-point' to
11473         `file-name-at-point-functions'.
11475 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11477         Really make the *Completions* window soft-dedicated (bug#5030).
11478         * window.el (window--display-buffer-2): Add `dedicated' argument.
11479         (display-buffer): Pass it when needed so the dedicated flag is set
11480         after calling set-window-buffer, which would otherwise reset it.
11482 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11484         * progmodes/meta-mode.el (meta-complete-symbol):
11485         * progmodes/etags.el (complete-tag):
11486         * mail/mailabbrev.el (mail-abbrev-complete-alias):
11487         Use completion-in-region.
11489         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
11490         (dabbrev-completion): Use completion-in-region.
11491         (dabbrev--abbrev-at-point): Simplify regexp.
11493         * abbrev.el (abbrev--before-point): Use word-motion functions
11494         if :regexp is not specified (bug#5031).
11496         * subr.el (string-prefix-p): New function.
11498         * man.el (Man-completion-cache): New var.
11499         (Man-completion-table): Use it.
11501         * vc.el (vc-print-log-internal): Make `limit' optional for better
11502         compatibility (e.g. with vc-annotate.el).
11504 2009-11-24  Kevin Ryde  <user42@zip.com.au>
11506         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
11507         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
11509         * emacs-lisp/elint.el (elint-add-required-env): Better error message
11510         when .el source file not found or other error.
11512 2009-11-24  Markus Triska  <markus.triska@gmx.at>
11514         * linum.el (linum-update-window): Ignore intangible (bug#4996).
11516 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11518         Handle the [back] button properly (bug#4979).
11519         * descr-text.el (describe-text-properties): Add a `buffer' argument.
11520         Use help-setup-xref, help-buffer, and with-help-window.
11521         (describe-char): Add `buffer' argument.
11522         Pass proper command to help-setup-xref.  Don't meddle with
11523         help-xref-stack-item directly.
11524         (describe-text-category): Use with-help-window and help-buffer.
11526         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
11527         for the displayed buffer (bug#4887).
11529         * man.el (Man-completion-table): New function.
11530         (man): Use it.
11532 2009-11-24  David Reitter  <david.reitter@gmail.com>
11534         * vc-git.el (vc-git-registered): Use checkout directory (where
11535         .git is) rather than the file's directory and a relative path spec
11536         to work around a bug in git.
11538 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
11540         Improve handling of processes on remote hosts.
11542         * eshell/esh-util.el (eshell-path-env): New defvar.
11543         (eshell-parse-colon-path): New defun.
11544         (eshell-file-attributes): Use `eshell-parse-colon-path'.
11546         * eshell/esh-ext.el (eshell-search-path):
11547         Use `eshell-parse-colon-path'.
11548         (eshell-remote-command): Remove argument HANDLER.
11549         (eshell-external-command): Check for FTP remote connection.
11551         * eshell/esh-proc.el (eshell-gather-process-output):
11552         Use `file-truename', in order to start also symlinked files.
11553         Apply `start-file-process' instead of `start-process'.
11554         Shorten `command' to the local file name part.
11556         * eshell/em-cmpl.el (eshell-complete-commands-list):
11557         Use `eshell-parse-colon-path'.
11559         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
11561         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
11562         to `eshell-directory-change-hook'.
11564 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
11566         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
11567         because it could be enabled automatically if view-read-only is non-nil.
11569 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
11571         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
11572         made on 2009-11-22.
11574 2009-11-24  Glenn Morris  <rgm@gnu.org>
11576         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
11577         deleted variable bookmark-bmenu-bookmark-column.
11579 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11581         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
11583 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
11585         * net/browse-url.el (browse-url-filename-alist): On Windows, add
11586         two slashes to the "file:" prefix.
11587         (browse-url-file-url): De-munge Cygwin filenames before passing
11588         them to Windows browser.
11589         (browse-url-default-windows-browser): Use call-process.
11591 2009-11-23  Juri Linkov  <juri@jurta.org>
11593         Implement DocView Continuous mode.  (Bug#4896)
11594         * doc-view.el (doc-view-continuous-mode): New defcustom.
11595         (doc-view-mode-map): Bind C-n/<down> to
11596         `doc-view-next-line-or-next-page', C-p/<up> to
11597         `doc-view-previous-line-or-previous-page'.
11598         (doc-view-next-line-or-next-page)
11599         (doc-view-previous-line-or-previous-page): New commands.
11601 2009-11-23  Juri Linkov  <juri@jurta.org>
11603         Implement Isearch in comint input history.  (Bug#3746)
11604         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
11605         `isearch-mode-hook'.
11606         (comint-history-isearch): New defcustom.
11607         (comint-history-isearch-backward)
11608         (comint-history-isearch-backward-regexp): New commands.
11609         (comint-history-isearch-message-overlay): New buffer-local variable.
11610         (comint-history-isearch-setup, comint-history-isearch-end)
11611         (comint-goto-input, comint-history-isearch-search)
11612         (comint-history-isearch-message, comint-history-isearch-wrap)
11613         (comint-history-isearch-push-state)
11614         (comint-history-isearch-pop-state): New functions.
11616 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
11618         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
11619         return.
11620         (tramp-handle-make-symbolic-link)
11621         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
11622         Quote file names.
11623         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
11624         (tramp-handle-process-file): Use it.
11626 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11628         * window.el (move-to-window-line-last-op): Remove.
11629         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
11631 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
11633         Make M-r mirror the new cycling behavior of C-l.
11634         * window.el (move-to-window-line-last-op): New var.
11635         (move-to-window-line-top-bottom): New command.
11636         (global-map): Bind M-r move-to-window-line-top-bottom.
11638 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
11640         * dired-x.el (dired-guess-shell-alist-default):
11641         Support xz format.  (Bug#4953)
11643 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
11645         * emulation/viper-cmd.el: Use viper-last-command-char instead of
11646         last-command-char/last-command-event.
11647         (viper-prefix-arg-value): Do correct conversion of event-char for
11648         XEmacs.
11650         * emulation/viper-util.el, emulation/viper.el:
11651         Use viper-last-command-char instead of
11652         last-command-char/last-command-event.
11654         * ediff-init.el, ediff-mult.el, ediff-util.el:
11655         Replace last-command-char and last-command-event
11656         with (ediff-last-command-char) everywhere.
11658         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
11659         created in fundamental mode.
11661         * ediff.el (ediff-version): Revert the change of interactive-p to
11662         called-interactively-p.
11664 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
11666         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
11667         generation from word-movement command names.
11669 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
11671         * cus-start.el (all): Add native condition for font-use-system-font.
11673 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
11675         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
11676         Correct the patch from 2009-11-18.  (Bug#3910)
11678 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
11680         * progmodes/subword.el: Rename from lisp/subword.el.
11682         * subword.el: Rename to progmodes/subword.el.
11684         * Makefile.in (ELCFILES): Adapt to subword.el move.
11686 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11687             Stefan Monnier  <monnier@iro.umontreal.ca>
11689         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
11690         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
11691         (bookmark-bmenu-show-filenames): Use push.
11692         (bookmark-bmenu-hide-filenames): Use local var instead of
11693         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
11694         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
11695         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
11696         filenames now that the bookmark names are always available.
11698 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
11700         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
11701         (bookmark-search-pattern): Move and leave unbound.
11702         (bookmark-bmenu-mode-map): Change binding.
11703         (bookmark-read-search-input): Simplify.
11704         Don't use text-char-description.  Don't error on non-char events.
11705         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
11706         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
11707         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
11708         Use a local var for the timer.
11709         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
11710         (i.e. bookmark-bmenu-search).
11712 2009-11-21  Glenn Morris  <rgm@gnu.org>
11714         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
11716 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
11718         * net/browse-url.el (browse-url-default-windows-browser):
11719         Use cygstart for cygwin.
11721 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
11723         * bookmark.el: Formatting and doc fixes only:
11724         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
11725         (bookmark-bmenu-search): Wrap to fit within 80 columns.
11726         Minor grammar and punctuation fixes in doc string.
11727         (bookmark-read-search-input): Adjust to fit within 80 columns.
11729 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
11731         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
11732         (c-backward-into-nomenclature): Adapt to subword renaming.
11734         * subword.el (subword-forward, subword-backward, subword-mark)
11735         (subword-kill, subword-backward-kill, subword-transpose)
11736         (subword-downcase, subword-upcase, subword-capitalize)
11737         (subword-forward-internal, subword-backward-internal):
11738         Rename from forward-subword, backward-subword, mark-subword,
11739         kill-subword, backward-kill-subword, transpose-subwords,
11740         downcase-subword, upcase-subword, capitalize-subword,
11741         forward-subword-internal, backward-subword-internal.
11743 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11745         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
11746         New options.
11747         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
11748         New vars.
11749         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
11750         (bookmark-bmenu-filter-alist-by-regexp)
11751         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
11752         (bookmark-bmenu-search): New command.
11753         (bookmark-bmenu-mode-map): Bind it.
11755 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
11757         * progmodes/cc-cmds.el: declare-functioned forward-subword and
11758         backward-subword to quit the byte-compiler.
11760         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
11762         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
11764         * progmodes/cc-cmds.el (c-update-modeline)
11765         (c-forward-into-nomenclature, c-backward-into-nomenclature):
11766         Refer to subword.el functions instead of cc-subword.el.
11768         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
11769         subword.el functions instead of cc-subword.el.
11771         * progmodes/cc-subword.el: Rename to subword.el.
11772         * subword.el: Rename from progmodes/cc-subword.el.
11773         (subword-mode-map): Rename from c-subword-mode-map.
11774         (subword-mode): Rename from c-subword-mode.
11775         (global-subword-mode): New global minor mode.
11776         (forward-subword): Rename from c-forward-subword.
11777         (backward-subword): Rename from c-backward-subword.
11778         (mark-subword): Rename from c-mark-subword.
11779         (kill-subword): Rename from c-kill-subword.
11780         (backward-kill-subword): Rename from c-backward-kill-subword.
11781         (transpose-subwords): Rename from c-tranpose-subword.
11782         (downcase-subword): Rename from c-downcase-subword.
11783         (capitalize-subword): Rename from c-capitalize-subword.
11784         (forward-subword-internal): Rename from c-forward-subword-internal.
11785         (backward-subword-internal): Rename from c-backward-subword-internal.
11787 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
11789         * vc.el (vc-deduce-fileset): Allow non-state changing operations
11790         from a dired buffer.
11791         (vc-dired-deduce-fileset): New function.
11792         (vc-root-diff, vc-print-root-log): Use it.
11794         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
11795         nil LIMIT argument to vc-print-log-internal.
11797 2009-11-20  Glenn Morris  <rgm@gnu.org>
11799         * Makefile.in (ELCFILES): Regenerate.
11801 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
11803         * calc/calc.el (calc-set-mode-line):
11804         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11805         (math-format-number): Rename `math-format-complement-signed' to
11806         `math-format-twos-complement'.
11808         * calc/calc-bin.el (math-format-twos-complement): Rename from
11809         math-format-complement-signed.
11810         (calc-radix): Rename `calc-complement-signed-mode' to
11811         `calc-twos-complement-mode'.
11812         (calc-octal-radix, calc-hex-radix): Add an argument for
11813         two's complement.
11815         * calc/calc-embed.el (calc-embedded-mode-vars):
11816         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11818         * calc/calc-ext.el (calc-init-extensions):
11819         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
11820         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
11822         * calc/calc-units.el (math-build-units-table-buffer):
11823         Let `calc-twos-complement-mode' be nil.
11825         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
11826         entries.
11828         * calc/calc-vec.el (calcFunc-vunpack):
11829         * calc/calc-aent.el (calc-do-calc-eval):
11830         * calc/calc-forms.el (math-format-date):
11831         * calc/calc-graph.el (calc-graph-plot):
11832         * calc/calc-math.el (math-use-emacs-fn):
11833         * calc/calccomp.el (math-compose-expr):
11834         Let `calc-twos-complement-mode' be nil.
11836 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11838         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
11839         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
11840         * minibuffer.el (completion-in-region-functions): New hook.
11841         (completion-in-region): New function.
11842         * emacs-lisp/lisp.el (lisp-complete-symbol):
11843         * pcomplete.el (pcomplete-std-complete): Use it.
11845 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11847         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
11848         (latex-complete-alist): New vars.
11849         (latex-string-prefix-p, latex-complete-bibtex-keys)
11850         (latex-complete-envnames, latex-complete-refkeys)
11851         (latex-complete-data): New functions.
11852         (latex-complete, latex-indent-or-complete): New commands.
11854         * window.el (display-buffer-mark-dedicated): New var.
11855         (display-buffer): Obey it.
11856         * minibuffer.el (minibuffer-completion-help): Use it.
11858         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
11860         * filecache.el (file-cache-add-file): Use push and cons.
11861         (file-cache-delete-file-regexp): Use push.
11862         (file-cache-complete): Use completion-in-region.
11864         * simple.el (with-wrapper-hook): Fix thinko.
11866         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
11867         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
11868         Use with-current-buffer and string-to-number.
11869         (hfy-fallback-colour-values): Use assoc-string.
11870         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
11871         (hfy-face-at): Remove unused var `found-face'.
11872         (hfy-compile-stylesheet): Remove unused var `css'.
11873         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
11874         and `orig-buffer'.
11875         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
11876         Use with-current-buffer.
11877         (hfy-text-p): Use expand-file-name and fewer setq.
11879 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
11881         * htmlfontify.el, hfy-cmap.el: New files.
11883 2009-11-19  Juri Linkov  <juri@jurta.org>
11885         * minibuffer.el (completions-format): New defcustom.
11886         (completion--insert-strings): Implement vertical format.
11888         * simple.el (switch-to-completions): Move point to the first
11889         completion when point was at the beginning of the buffer.
11891 2009-11-19  Juri Linkov  <juri@jurta.org>
11893         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
11895         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
11897 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
11899         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
11900         (mail-signature): Change default to t.
11901         (mail-from-style): Deprecate `system-default' value.
11902         (mail-insert-from-field): For default value of mail-from-style,
11903         default to `angles' unless `angles' needs quoting and `parens'
11904         does not.
11905         (mail-citation-prefix-regexp): Use citation regexp from
11906         message-mode.
11908 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
11910         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11911         Set variables for computing the prompt for reading password.
11913 2009-11-19  Glenn Morris  <rgm@gnu.org>
11915         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
11917         * textmodes/flyspell.el (sgml-lexical-context): Declare.
11919         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
11920         (newsticker-treeview-listwindow-height): Fix custom type.
11922 2009-11-19  Kenichi Handa  <handa@m17n.org>
11924         * descr-text.el (describe-char-padded-string): Compose with TAB
11925         only if there's a font for CH.
11926         (describe-char): Fix the condition for detecting a trivial composition.
11928 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
11930         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
11931         more accurate version of the regexp.  (Bug#3910)
11933 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
11935         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
11937 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
11939         * font-setting.el (font-use-system-font): Declare for byte-compiler.
11940         (font-setting-change-default-font): Fix typo in docstring.
11942 2009-11-18  Alan Mackenzie  <acm@muc.de>
11944         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
11946 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
11948         * font-setting.el (font-use-system-font): Move ...
11950         * cus-start.el (all): ... to here.
11952 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
11954         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
11955         Don't set `ad-return-value' if `ad-do-it' doesn't.
11957         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
11958         modification time.
11960 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
11962         * menu-bar.el: Put "Use system font" in Option-menu.
11963         (menu-bar-options-save): Add font-use-system-font.
11965         * loadup.el: If feature system-font-setting or font-render-setting is
11966         there, load font-setting.
11968         * Makefile.in (ELCFILES): Add font-settings.el.
11969         * font-setting.el: New file.
11971 2009-11-17  Glenn Morris  <rgm@gnu.org>
11973         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
11975         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
11976         Preserve point in the list buffer.  (Bug#4939)
11977         Use point-at-eol.
11978         (newsticker--treeview-list-update-highlight)
11979         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
11981 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
11983         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
11984         Remove.
11986         * calc/calc-ext.el (calc-init-extensions): Remove references to
11987         symclip.
11989         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
11991         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
11992         * calc/calc-help.el (calc-b-prefix-help): Remove references to
11993         `calc-symclip'.
11995 2009-11-16  Kevin Ryde  <user42@zip.com.au>
11997         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
11998         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
12000         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
12001         (lm-keywords-list): Allow comma-only separator like "foo,bar".
12002         Ignore trailing spaces by omit-nulls to split-string (fixing
12003         regression from Emacs 21 due to the incompatible split-string
12004         change).  (Bug #4928.)
12006 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
12008         * vc.el (vc-log-show-limit): Default to 2000.
12009         (vc-print-log-internal): Insert buttons to request more entries
12010         when limiting the output.
12012         * vc-sccs.el (vc-sccs-print-log):
12013         * vc-rcs.el (vc-rcs-print-log):
12014         * vc-cvs.el (vc-cvs-print-log):
12015         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
12016         LIMIT is non-nil.
12018 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
12020         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
12021         error when `tramp-gvfs-dbus-event-vector' is set.
12022         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
12024 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12026         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
12028 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
12030         * net/dbus.el (dbus-unregister-service): New defun.
12031         (dbus-register-property): Register the handlers of
12032         "org.freedesktop.DBus.Properties" for SERVICE.
12033         (dbus-property-handler): Fix docstring.
12035 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
12037         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
12038         Quote doc string reference in defvaralias as it is not in special form.
12039         (byte-compile-output-docform): Doc fix.
12041 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
12043         * calc/calc.el (math-2-word-size, math-half-2-word-size)
12044         (calc-complement-signed-mode): New variables.
12045         (calc-set-mode-line): Add indicator for twos-complements.
12046         (math-format-number): Format twos-complement notation.
12048         * calc/calc-bin.el (calc-word-size): Reset the variables
12049         `math-2-word-size' and `math-half-2-word-size'.
12050         (math-format-complement-signed, math-symclip, calcFunc-symclip)
12051         (calc-symclip): New functions.
12053         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
12055         * calc/calc-embed.el (calc-embedded-mode-vars):
12056         Add `calc-complement-signed-mode' to the list of modes.
12058         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
12059         (calc-b-oper-keys): Add `calc-symclip' to list.
12061         * calc/calc-ext.el (math-read-number-fancy): Read complement
12062         signed numbers.
12063         (calc-init-extensions): Add binding for `calc-symclip'.
12064         Add autoload for `calcFunc-symclip' and `calc-symclip'.
12066         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
12067         `calc-symclip'.
12068         (calc-modes-menu): Add item for twos complement mode.
12070         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
12072 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
12074         * register.el (jump-to-register, insert-register): Handle Semantic
12075         tags.  From commented-out advice in semantic/senator.el.
12077 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
12079         * vc.el (vc-log-show-limit): New variable.
12080         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
12081         when using a prefix argument.
12082         (vc-print-log-internal): Add new argument LIMIT.
12084         * vc-svn.el (vc-svn-print-log):
12085         * vc-mtn.el (vc-mtn-print-log):
12086         * vc-hg.el (vc-hg-print-log):
12087         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
12088         pass it to the log command when set.  Make the BUFFER argument
12089         non-optional.
12091         * vc-sccs.el (vc-sccs-print-log):
12092         * vc-rcs.el (vc-rcs-print-log):
12093         * vc-git.el (vc-git-print-log):
12094         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
12095         ignore it.  Make the BUFFER argument non-optional
12097         * bindings.el (mode-line-buffer-identification): Do not purecopy.
12099 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
12101         * dired.el (dired-mode-map): Move encryption items to "Operate"
12102         menu (Bug#4703).
12104         * strokes.el (strokes-update-window-configuration): Make strokes
12105         buffer current before erasing (Bug#4906).
12107 2009-11-15  Juri Linkov  <juri@jurta.org>
12109         * simple.el (set-mark-default-inactive): Add :type, :group
12110         and :version.  (Bug#4876)
12112 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
12114         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
12115         (archive-unique-fname): ... here.  (Bug#4929)
12117 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12119         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
12120         with a real fix.
12122         * novice.el (disabled-command-function): Add useful args.
12123         Setup the help buffer so that [back] works.
12124         Remove redundant call to help-mode.
12125         (disabled-command-function): Use `case'.
12126         (en/disable-command): New function extracted from enable-command.
12127         (enable-command, disable-command): Use it.
12129 2009-11-14  Glenn Morris  <rgm@gnu.org>
12131         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
12132         constants.  (Bug#4913)
12134         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
12136 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
12138         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
12139         defined in C that have no doc-strings.  (Bug#1063)
12141 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
12143         * cus-edit.el (data, files):
12144         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
12146 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
12148         * simple.el (shell-command): Doc fix (Bug#4891).
12150         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
12152 2009-11-14  Glenn Morris  <rgm@gnu.org>
12154         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
12155         statements for vc-diff, emerge-quit, and rmail-cease-edit.
12156         If they are already loaded, eval-after-load will do the right thing.
12158         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
12159         compiling.
12161         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
12163         * simple.el (x-selection-owner-p): Declare.
12164         (read-mail-command): Use custom radio type rather than choice.
12165         (completion-no-auto-exit): Doc fix.
12167         * custom.el (defgroup):
12168         * epg-config.el (epg): Doc fixes.
12170 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
12172         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
12173         * international/ccl.el (define-ccl-program): Do not purecopy the
12174         docstring, defconst does it anyway.
12176 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12178         * add-log.el (add-change-log-entry): Avoid displaying the changelog
12179         a second time.
12181         * x-dnd.el (x-dnd-maybe-call-test-function):
12182         * window.el (split-window-vertically):
12183         * whitespace.el (whitespace-help-on):
12184         * vc-rcs.el (vc-rcs-consult-headers):
12185         * userlock.el (ask-user-about-lock-help)
12186         (ask-user-about-supersession-help):
12187         * type-break.el (type-break-force-mode-line-update):
12188         * time-stamp.el (time-stamp-conv-warn):
12189         * terminal.el (te-set-output-log, te-more-break, te-filter)
12190         (te-sentinel, terminal-emulator):
12191         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
12192         (term-write-input-ring, term-check-source, term-start-output-log):
12193         (term-display-buffer-line, term-dynamic-list-completions):
12194         (term-ansi-make-term, serial-term):
12195         * subr.el (selective-display):
12196         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
12197         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
12198         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
12199         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
12200         (speedbar-remove-localized-speedbar-support)
12201         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
12202         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
12203         (speedbar-buffers-line-directory):
12204         * simple.el (shell-command-on-region, append-to-buffer)
12205         (prepend-to-buffer):
12206         * shadowfile.el (shadow-save-todo-file):
12207         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
12208         (scroll-bar-maybe-set-window-start):
12209         * sb-image.el (speedbar-image-dump):
12210         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
12211         (load-save-place-alist-from-file):
12212         * ps-samp.el (ps-print-message-from-summary):
12213         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
12214         (ps-background-image, ps-begin-job, ps-do-despool):
12215         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
12216         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
12217         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
12218         (pr-call-process, pr-file-list, pr-interface-save):
12219         * novice.el (disabled-command-function)
12220         (enable-command, disable-command):
12221         * mouse.el (mouse-buffer-menu-alist):
12222         * mouse-copy.el (mouse-kill-preserving-secondary):
12223         * macros.el (kbd-macro-query):
12224         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
12225         * informat.el (batch-info-validate):
12226         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
12227         * hippie-exp.el (try-expand-dabbrev-visible):
12228         * help-mode.el (help-make-xrefs):
12229         * help-fns.el (describe-variable):
12230         * generic-x.el (bat-generic-mode-run-as-comint):
12231         * finder.el (finder-mouse-select):
12232         * find-dired.el (find-dired-sentinel):
12233         * filesets.el (filesets-file-close):
12234         * files.el (list-directory):
12235         * faces.el (list-faces-display, describe-face):
12236         * facemenu.el (list-colors-display):
12237         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
12238         * epg.el (epg--process-filter, epg-cancel):
12239         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
12240         (epa--read-signature-type):
12241         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
12242         (emerge-file-names):
12243         * ehelp.el (electric-helpify):
12244         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
12245         * ediff-vers.el (rcs-ediff-view-revision):
12246         * ediff-util.el (ediff-setup):
12247         * ediff-mult.el (ediff-append-custom-diff):
12248         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
12249         (ediff-wordify):
12250         * echistory.el (Electric-command-history-redo-expression):
12251         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
12252         * disp-table.el (describe-display-table):
12253         * dired.el (dired-find-buffer-nocreate):
12254         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
12255         * dabbrev.el (dabbrev--same-major-mode-p):
12256         * chistory.el (list-command-history):
12257         * apropos.el (apropos-documentation):
12258         * allout.el (allout-obtain-passphrase):
12259         (allout-copy-exposed-to-buffer):
12260         (allout-verify-passphrase): Use with-current-buffer.
12262 2009-11-13  Glenn Morris  <rgm@gnu.org>
12264         * Makefile.in (ELCFILES): Regenerate.
12266 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
12268         * net/dbus.el (dbus-registered-objects-table): Rename from
12269         `dbus-registered-functions-table', because it contains also properties.
12270         (dbus-unregister-object): Unregister also properties.
12271         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12272         Use a timeout of 500 msec, in order to not block.
12273         (dbus-register-property, dbus-property-handler): New defuns.
12275 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12277         * simple.el (minibuffer-default-add-completions): Drop deprecated
12278         4th arg.
12280 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
12282         * textmodes/artist.el (artist-mouse-choose-operation):
12283         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
12284         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
12285         (artist-compute-up-event-key): New function.
12286         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
12288 2009-11-13  Kenichi Handa  <handa@m17n.org>
12290         * language/japan-util.el: Make sure that the value of jisx0208
12291         property is jisx0208 character.
12293 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
12295         * international/mule.el (auto-coding-regexp-alist): Only purecopy
12296         car or each item, not the whole list.
12298 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12300         * minibuffer.el (minibuffer-completion-help):
12301         Use minibuffer-hide-completions.
12303 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
12305         * dired.el (dired-save-positions, dired-restore-positions): New funs.
12306         (dired-revert): Use them (bug#4880).
12308 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
12310         * tooltip.el (tooltip-frame-parameters): Undo previous change.
12312 2009-11-12  Juri Linkov  <juri@jurta.org>
12314         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
12315         New functions.
12316         (find-file-literally-at-point): Alias of `ffap-literally'.
12318 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
12320         * textmodes/ispell.el (ispell-skip-region-alist):
12321         * textmodes/css-mode.el (auto-mode-alist):
12322         * progmodes/compile.el (auto-mode-alist):
12323         * international/mule.el (ctext-non-standard-encodings-alist)
12324         (ctext-non-standard-encodings-regexp):
12325         * simple.el (shell-command-switch, text-read-only):
12326         * replace.el (occur-mode-map):
12327         * paths.el (rmail-file-name):
12328         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
12329         * find-file.el (ff-special-constructs):
12330         * files.el (file-name-handler-alist):
12331         * composite.el: Purecopy strings.
12333         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
12335 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
12337         * widget.el (define-widget): Purecopy the docstring.
12338         * international/mule-cmds.el (charset): Do not purecopy the
12339         docstring here, define-widget does it.
12341         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
12342         * textmodes/bibtex-style.el (auto-mode-alist):
12343         * progmodes/inf-lisp.el (inferior-lisp-prompt):
12344         * progmodes/compile.el (compile-command):
12345         * language/korea-util.el (default-korean-keyboard):
12346         * international/mule-conf.el (file-coding-system-alist):
12347         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
12348         * tooltip.el (tooltip-frame-parameters):
12349         * newcomment.el (comment-end, comment-padding):
12350         * dired.el (dired-trivial-filenames):
12351         * comint.el (comint-file-name-prefix): Purecopy initial values.
12353 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
12355         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
12356         (tramp-advice-minibuffer-electric-tilde): Unload advices via
12357         `tramp-unload'.
12358         (tramp-advice-make-auto-save-file-name)
12359         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
12360         after removing the advice.
12362 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
12364         * progmodes/grep.el (grep-regexp-alist):
12365         * international/mule-cmds.el (iso-2022-control-alist):
12366         * emacs-lisp/timer.el (timer-duration-words):
12367         * subr.el (version-separator, version-regexp-alist):
12368         * minibuffer.el (completion-styles-alist):
12369         * faces.el (face-attribute-name-alist, list-faces-sample-text):
12370         Change defvars to defconsts.
12372         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
12373         * loadup.el ("international/mule-conf"): Load the byte compiled version.
12374         * international/mule-conf.el: Allow to be byte compiled.
12376         * international/mule.el (define-charset): Purecopy props.
12377         (load-with-code-conversion): Purecopy doc string and file name.
12378         (put-charset-property): Purecopy strings.
12379         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
12381         * international/mule-cmds.el (register-input-method): Purecopy arguments.
12382         (define-char-code-property): Correctly purecopy the table.
12384         * international/ccl.el (define-ccl-program): Purecopy the docstring.
12386         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
12388         * subr.el (add-hook): Purecopy strings.
12389         (eval-after-load): Purecopy load-history-regexp and the form.
12391         * custom.el (custom-declare-group): Purecopy load-file-name.
12393         * subr.el (menu-bar-separator): New defconst.
12394         * net/eudc.el (eudc-tools-menu):
12395         * international/mule-cmds.el (set-coding-system-map)
12396         (mule-menu-keymap):
12397         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
12398         * vc-hooks.el (vc-menu-map):
12399         * replace.el (occur-mode-map):
12400         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
12401         (menu-bar-edit-menu, menu-bar-goto-menu)
12402         (menu-bar-custom-menu, menu-bar-showhide-menu)
12403         (menu-bar-options-menu, menu-bar-tools-menu)
12404         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
12405         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
12406         (menu-bar-help-menu):
12407         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
12408         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
12410         * term/x-win.el (x-gtk-stock-map):
12411         * progmodes/vera-mode.el (auto-mode-alist):
12412         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
12413         (inferior-lisp-program, inferior-lisp-load-command):
12414         * progmodes/hideshow.el (hs-special-modes-alist):
12415         * progmodes/gud.el (same-window-regexps):
12416         * progmodes/grep.el (grep-program, find-program, xargs-program):
12417         * net/telnet.el (same-window-regexps):
12418         * net/rlogin.el (same-window-regexps):
12419         * language/ethiopic.el (font-ccl-encoder-alist):
12420         * vc-sccs.el (vc-sccs-master-templates):
12421         * vc-rcs.el (vc-rcs-master-templates):
12422         * subr.el (cl-assertion-failed):
12423         * simple.el (next-error-overlay-arrow-position):
12424         * lpr.el (lpr-command):
12425         * locate.el (locate-ls-subdir-switches):
12426         * info.el (same-window-regexps, info)
12427         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
12428         * image-mode.el (image-mode, auto-mode-alist):
12429         * hippie-exp.el (hippie-expand-ignore-buffers):
12430         * format.el (format-alist):
12431         * find-dired.el (find-ls-subdir-switches, find-grep-options)
12432         (find-name-arg):
12433         * facemenu.el (facemenu-keybindings):
12434         * dired.el (dired-listing-switches, dired-chown-program):
12435         * diff.el (diff-switches, diff-command):
12436         * cus-edit.el (same-window-regexps):
12437         * bindings.el (mode-line-mule-info)
12438         (mode-line-buffer-identification): Purecopy strings.
12440 2009-11-11  Juri Linkov  <juri@jurta.org>
12442         * simple.el (dired-get-filename) <declare-function>:
12443         Tell the byte-compiler about dired-get-filename.
12444         (shell-command): In Dired mode, get filename from the current line
12445         as the default value.
12447 2009-11-10  Glenn Morris  <rgm@gnu.org>
12449         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
12450         * calendar/holidays.el, progmodes/cperl-mode.el:
12451         Update x-popup-menu declarations.
12453         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
12454         (list-load-path-shadows): Use dolist.
12455         (list-load-path-shadows): Use with-current-buffer.
12457 2009-11-10  Juri Linkov  <juri@jurta.org>
12459         * minibuffer.el (read-file-name): Support a list of default values
12460         in `default-filename'.  Use the first file name where only one
12461         element is required.  Doc fix.
12463 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
12465         * net/dbus.el (dbus-unregister-object): Release service, if no
12466         other method is registered for it.
12468 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
12470         * bookmark.el (bookmark-completing-read): Sort bookmark names if
12471         bookmark-sort-flag is non-nil (Bug#4653).
12473 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
12475         * emulation/cua-base.el: Add CUA property to some CC mode commands
12476         (Bug#4100).
12478 2009-11-08  Kevin Ryde  <user42@zip.com.au>
12480         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
12481         at end of sentence (Bug#4818).
12483 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
12485         * progmodes/compile.el (compilation-error-regexp-alist-alist):
12486         Handle "see declaration of" MSFT statements (Bug#4100).
12488 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
12490         * net/tramp.el (tramp-advice-make-auto-save-file-name)
12491         (tramp-advice-file-expand-wildcards): Unload via
12492         `ad-remove-advice'.
12494         * net/trampver.el: Update release number.
12496 2009-11-08  Kevin Ryde  <user42@zip.com.au>
12498         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
12499         `ad-do-it'.
12501 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
12503         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
12504         in order to keep context in SELinux.
12506 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
12508         * dired-aux.el (dired-query): Place cursor in echo area and allow
12509         C-g.
12511         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
12512         menu item if not on a directory (Bug#4701).
12514 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
12516         Sync with Tramp 2.1.17.
12518         * net/tramp.el (tramp-handle-copy-directory): Don't use
12519         `file-remote-p' (due to compatibility).
12521         * net/tramp-compat.el (tramp-compat-copy-directory)
12522         (tramp-compat-delete-directory): New defuns.
12524         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
12525         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
12526         `tramp-compat-delete-directory'.
12528         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
12529         (tramp-smb-handle-delete-directory): Use
12530         `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
12532         * net/trampver.el: Update release number.
12534 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
12536         * tar-mode.el (tar-copy): Call write-region on the right buffer
12537         (Bug#4857).
12539         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
12540         by hand, if necessary (Bug#4878).
12542 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
12544         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
12545         align size column (Bug#4839).
12547         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
12548         statement.
12550 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
12552         * progmodes/ld-script.el (auto-mode-alist):
12553         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
12555         * cus-face.el (custom-declare-face): Purecopy face spec.
12557 2009-11-06  Kenichi Handa  <handa@m17n.org>
12559         * international/uni-bidi.el: Re-generated.
12560         * international/uni-category.el: Re-generated.
12561         * international/uni-combining.el: Re-generated.
12562         * international/uni-mirrored.el: Re-generated.
12564 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
12566         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
12567         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
12568         (tex-start-options, slitex-run-command, latex-run-command)
12569         (tex-run-command, tex-directory):
12570         * textmodes/ispell.el (ispell-html-skip-alists)
12571         (ispell-tex-skip-alists, ispell-tex-skip-alists):
12572         * textmodes/fill.el (adaptive-fill-first-line-regexp):
12573         (adaptive-fill-regexp):
12574         * textmodes/dns-mode.el (auto-mode-alist):
12575         * progmodes/python.el (interpreter-mode-alist):
12576         * progmodes/etags.el (tags-compression-info-list):
12577         * progmodes/etags.el (tags-file-name):
12578         * net/browse-url.el (browse-url-galeon-program)
12579         (browse-url-firefox-program):
12580         * mail/sendmail.el (mail-signature-file)
12581         (mail-citation-prefix-regexp):
12582         * international/mule-conf.el (eight-bit):
12583         * international/latexenc.el (latex-inputenc-coding-alist):
12584         * international/fontset.el (x-pixel-size-width-font-regexp):
12585         * emacs-lisp/warnings.el (warning-type-format):
12586         * emacs-lisp/trace.el (trace-buffer):
12587         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
12588         (emacs-lisp-mode-map):
12589         * calendar/holidays.el (holiday-solar-holidays)
12590         (holiday-bahai-holidays, holiday-islamic-holidays)
12591         (holiday-christian-holidays, holiday-hebrew-holidays)
12592         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
12593         (hebrew-holidays-1, holiday-oriental-holidays)
12594         (holiday-general-holidays):
12595         * x-dnd.el (x-dnd-known-types):
12596         * tool-bar.el (tool-bar):
12597         * startup.el (site-run-file):
12598         * shell.el (shell-dumb-shell-regexp):
12599         * rfn-eshadow.el (file-name-shadow-tty-properties)
12600         (file-name-shadow-properties):
12601         * paths.el (remote-shell-program, news-directory):
12602         * mouse.el ([C-down-mouse-3]):
12603         * menu-bar.el (menu-bar-tools-menu):
12604         * jka-cmpr-hook.el (jka-compr-load-suffixes)
12605         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
12606         (jka-compr-compression-info-list):
12607         * isearch.el (search-whitespace-regexp):
12608         * image-file.el (image-file-name-extensions):
12609         * find-dired.el (find-ls-option):
12610         * files.el (directory-listing-before-filename-regexp)
12611         (directory-free-space-args, insert-directory-program)
12612         (list-directory-brief-switches, magic-fallback-mode-alist)
12613         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
12614         (automount-dir-prefix):
12615         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
12616         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
12617         (face-font-registry-alternatives, face-font-registry-alternatives)
12618         (face-font-family-alternatives):
12619         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
12620         (facemenu-foreground-menu, facemenu-face-menu):
12621         * epa-hook.el (epa-file-name-regexp):
12622         * dnd.el (dnd-protocol-alist):
12623         * textmodes/rst.el (auto-mode-alist):
12624         * button.el (default-button): Purecopy strings.
12626 2009-11-06  Glenn Morris  <rgm@gnu.org>
12628         * Makefile.in (ELCFILES): Update.
12630 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
12632         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
12633         * emacs-lisp/levents.el: Move to obsolete/levents.el.
12635         * nxml/xsd-regexp.el (xsdre-gen-categories):
12636         * nxml/xmltok.el (xmltok-parse-entity):
12637         * nxml/rng-parse.el (rng-parse-validate-file):
12638         * nxml/rng-maint.el (rng-format-manual)
12639         (rng-manual-output-force-new-line):
12640         * nxml/rng-loc.el (rng-save-schema-location-1):
12641         * nxml/rng-cmpct.el (rng-c-parse-file):
12642         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
12643         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
12645 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
12647         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
12648         Remove extra save-excursions and make-variable-buffer-local's.
12649         Suggested by Stefan Monnier.
12651         (verilog-getopt-file, verilog-module-inside-filename-p)
12652         (verilog-set-define): Merge GNU 1.35 and repair changes from
12653         switching to using with-current-buffer.
12655         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
12656         being treated as a number and confusing AUTORESET.
12657         Reported by Dan Dever.
12659         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
12660         Add verilog-auto-ignore-concat to fix backward compatibility with
12661         older verilog-modes.  Reported by Dan Katz.
12663         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
12664         containing closing anchors "...$".
12666         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
12667         Reported by Wade Smith.
12669         (verilog-batch-execute-func): Comment on function usage.
12671 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
12673         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
12674         for labels.
12676         (verilog-label-re, verilog-calc-1): Support proper indent of named
12677         asserts.
12679         (verilog-backward-token, verilog-basic-complete-re)
12680         (verilog-beg-of-statement, verilog-indent-re): Support proper
12681         indent of the assert statement at the beginning of a block of text.
12683         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
12684         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
12685         tokens as begins.
12687 2009-11-05  Glenn Morris  <rgm@gnu.org>
12689         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
12690         Emacs 19.  (Bug#1531)
12691         (byte-compile-fix-header): Update for the above change.
12692         Drop test for epoch::version.
12694         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
12695         * cus-dep.el (custom-make-dependencies):
12696         * finder.el (finder-compile-keywords):
12697         Use autoload-rubric's feature argument.
12699         * calendar/diary-lib.el (top-level): Make load behave more like require.
12701         * vc-git.el (vc-git-stash-map): Move definition before use.
12703 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
12705         * custom.el (custom-declare-group): Purecopy standard-value.
12706         (custom-declare-group): Purecopy custom-prefix.
12708         * international/mule.el (load-with-code-conversion):
12709         Call do-after-load-evaluation unconditionally.
12711         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
12713 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
12715         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
12717 2009-11-04  Glenn Morris  <rgm@gnu.org>
12719         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
12720         (byte-compile-compatibility): Remove option.
12721         (byte-compile-close-variables, byte-compile-fix-header)
12722         (byte-compile-insert-header, byte-compile-output-docform)
12723         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
12724         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
12725         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
12726         (byte-compile-insert, byte-compile-defun):
12727         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
12728         (byte-defop-compiler19): Remove.
12729         Without byte-compile-compatibility, the 'emacs19-opcode property is not
12730         used by anything.  Replace all calls with byte-defop-compiler.
12732 2009-11-04  Juri Linkov  <juri@jurta.org>
12734         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
12735         (menu-bar-options-menu): Don't quote the `prop' arg of
12736         `menu-bar-make-mm-toggle'.
12738 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
12740         * calendar/calendar.el (cal-loaddefs):
12741         * calendar/diary-lib.el (diary-loaddefs):
12742         * calendar/holidays.el (hol-loaddefs):
12743         * eshell/esh-module.el (esh-groups): Load rather than require.
12745 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12747         * calendar/todo-mode.el (todo-add-category): Don't hardcode
12748         point-min==1.
12749         (todo-top-priorities): Only display-buffer when called interactively.
12750         (todo-item-start): Don't save excursion point.
12751         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
12752         (todo-insert-item-here, todo-file-item, todo-remove-item):
12753         Adjust uses of todo-item-start and todo-item-end.
12755         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
12756         (autoload-rubric): Don't use any more.
12758         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
12759         and only put a prop if it is non-nil.
12761 2009-11-03  Juri Linkov  <juri@jurta.org>
12763         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
12764         (menu-bar-options-menu): Fix list quoting (Bug#4429).
12766         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
12767         and "Menu" to make top-level menu item visually one unit (like
12768         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
12769         multi-word menu items).  Fix :help string for quit-window.
12771 2009-11-03  Glenn Morris  <rgm@gnu.org>
12773         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
12774         (byte-compile-file-form-define-abbrev-table)
12775         (byte-compile-file-form-custom-declare-variable)
12776         (byte-compile-variable-ref, byte-compile-defvar):
12777         Whether or not a warning is enabled should only affect whether we issue
12778         the warning, not whether or not we collect the relevant data.
12779         Eg warnings can be turned on and off throughout the course of a file.
12781         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
12782         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
12784 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12786         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
12787         * play/mpuz.el (mpuz-create-buffer):
12788         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
12789         (lm-print-y,s,noise, lm-print-w0, lm-init):
12790         * play/gomoku.el (gomoku-prompt-for-move):
12791         * play/fortune.el (fortune-in-buffer):
12792         * play/dissociate.el (dissociated-press):
12793         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
12794         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
12795         * mail/supercite.el (sc-eref-show):
12796         * mail/smtpmail.el (smtpmail-send-it):
12797         * mail/rmailsum.el (rmail-summary-next-labeled-message)
12798         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
12799         (rmail-summary-undelete-many, rmail-summary-rmail-update)
12800         (rmail-summary-goto-msg, rmail-summary-expunge)
12801         (rmail-summary-get-new-mail, rmail-summary-search-backward)
12802         (rmail-summary-add-label, rmail-summary-output-menu)
12803         (rmail-summary-output-body):
12804         * mail/rfc822.el (rfc822-addresses):
12805         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
12806         * mail/mailpost.el (post-mail-send-it):
12807         * mail/hashcash.el (hashcash-generate-payment):
12808         * mail/feedmail.el (feedmail-run-the-queue)
12809         (feedmail-queue-send-edit-prompt-help-first)
12810         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
12811         (feedmail-deduce-address-list):
12812         * eshell/esh-ext.el (eshell-remote-command):
12813         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
12814         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
12815         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
12816         (viper-save-string-in-file, viper-valid-marker):
12817         * emulation/viper-keym.el (viper-toggle-key):
12818         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
12819         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
12820         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
12821         * emulation/viper-cmd.el (viper-exec-form-in-vi)
12822         (viper-exec-form-in-emacs, viper-brac-function):
12823         * emulation/viper.el (viper-delocalize-var):
12824         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
12825         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
12826         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
12827         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
12828         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
12829         * emulation/edt.el (edt-electric-helpify):
12830         * emulation/cua-rect.el (cua--rectangle-aux-replace):
12831         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
12832         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
12833         (cua-indent-to-global-mark-column):
12834         * calendar/diary-lib.el (calendar-mark-1):
12835         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
12836         Use with-current-buffer.
12837         * emulation/viper.el (viper-delocalize-var): Use dolist.
12839 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
12841         * comint.el (comint-replace-by-expanded-history-before-point):
12842         Replace !! with the previous input string literally (Bug#1795).
12844 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
12846         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
12847         to be made up of whitespace.
12849 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
12851         * minibuffer.el (read-file-name): Don't use file dialogs for
12852         remote directories (Bug#99).
12854 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
12856         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
12858 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
12860         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
12861         instead of deleting the window or frame.
12863 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
12865         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
12866         Support face colors.
12868         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
12869         New function.  Support face colors (Bug#1168).
12870         (tex-common-initialization): Use it.
12872         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
12873         mode allows it (Bug#1168).
12875 2009-10-31  Juri Linkov  <juri@jurta.org>
12877         * facemenu.el (list-colors-display): Don't mark buffer as
12878         modified (Bug#3948).
12880 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
12882         * international/mule-diag.el (list-character-sets-1): Minor
12883         message fix (Bug#3526).
12885         * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
12886         face property (Bug#4834).
12887         (etags-list-tags, etags-tags-apropos-additional)
12888         (etags-tags-apropos, tags-select-tags-table): Add follow-link
12889         property.
12891         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
12892         items.
12894 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
12896         * textmodes/two-column.el (2C-split):
12897         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
12898         * textmodes/tex-mode.el (tex-set-buffer-directory):
12899         * textmodes/spell.el (spell-region, spell-string):
12900         * textmodes/reftex.el (reftex-erase-buffer):
12901         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
12902         * textmodes/reftex-toc.el (reftex-toc-promote-action):
12903         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
12904         (reftex-select-item):
12905         * textmodes/reftex-ref.el (reftex-label-info-update)
12906         (reftex-offer-label-menu):
12907         * textmodes/reftex-index.el (reftex-index-change-entry)
12908         (reftex-index-phrases-info):
12909         * textmodes/reftex-global.el (reftex-create-tags-file)
12910         (reftex-save-all-document-buffers, reftex-ensure-write-access):
12911         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
12912         (reftex-view-crossref-from-bibtex):
12913         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
12914         (reftex-extract-bib-entries-from-thebibliography)
12915         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
12916         * textmodes/refbib.el (r2b-capitalize-title):
12917         (r2b-convert-buffer, r2b-help):
12918         * textmodes/page-ext.el (pages-directory)
12919         (pages-directory-goto-with-mouse):
12920         * textmodes/bibtex.el (bibtex-validate-globally):
12921         * textmodes/bib-mode.el (bib-capitalize-title):
12922         * textmodes/artist.el (artist-clear-buffer, artist-system):
12923         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
12924         (local-set-scheme-interaction-buffer, xscheme-process-filter)
12925         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
12926         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
12927         (xscheme-send-control-g-interrupt, xscheme-start-process)
12928         (xscheme-process-sentinel, xscheme-cd):
12929         * progmodes/verilog-mode.el (verilog-read-always-signals)
12930         (verilog-set-define, verilog-getopt-file)
12931         (verilog-module-inside-filename-p):
12932         * progmodes/sh-script.el:
12933         * progmodes/python.el (python-pdbtrack-get-source-buffer)
12934         (python-pdbtrack-grub-for-buffer, python-execute-file):
12935         * progmodes/octave-inf.el (inferior-octave):
12936         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
12937         (idlwave-shell-compile-helper-routines, idlwave-set-local)
12938         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
12939         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
12940         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
12941         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
12942         (idlwave-shell-filter, idlwave-shell-examine-highlight)
12943         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
12944         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
12945         (idlwave-shell-examine-display, idlwave-shell-run-region)
12946         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
12947         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
12948         * progmodes/idlw-help.el (idlwave-help-get-special-help)
12949         (idlwave-help-get-help-buffer):
12950         * progmodes/gud.el (gud-basic-call, gud-find-class)
12951         (gud-tooltip-activate-mouse-motions-if-enabled):
12952         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
12953         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
12954         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
12955         (ebrowse-tags-next-file):
12956         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
12957         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
12958         (ebnf-eps-finish-and-write):
12959         * progmodes/cpp.el (cpp-edit-save):
12960         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
12961         * progmodes/cc-defs.el (c-emacs-features):
12962         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
12963         (antlr-directory-dependencies):
12964         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
12965         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
12966         (ada-find-any-references, ada-make-filename-from-adaname)
12967         (ada-make-body-gnatstub):
12968         * obsolete/rnews.el (news-list-news-groups):
12969         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
12970         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
12971         * net/rcirc.el (rcirc-debug):
12972         * net/newst-treeview.el (newsticker--treeview-list-add-item)
12973         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
12974         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
12975         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
12976         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
12977         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
12978         (newsticker--treeview-list-clear-highlight)
12979         (newsticker--treeview-list-update-highlight)
12980         (newsticker--treeview-list-highlight-start)
12981         (newsticker--treeview-tree-update-highlight)
12982         (newsticker--treeview-get-selected-item)
12983         (newsticker-treeview-mark-list-items-old)
12984         (newsticker--treeview-set-current-node):
12985         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
12986         * net/newst-backend.el (newsticker--get-news-by-funcall)
12987         (newsticker--get-news-by-wget, newsticker--image-get)
12988         (newsticker--image-sentinel):
12989         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
12990         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
12991         (eudc-ph-close-session):
12992         * net/eudc.el (eudc-save-options):
12993         * language/thai-word.el (thai-update-word-table):
12994         * language/japan-util.el (japanese-string-conversion):
12995         * international/titdic-cnv.el (tsang-quick-converter)
12996         (ziranma-converter, ctlau-converter):
12997         * international/mule-cmds.el (describe-language-environment):
12998         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
12999         (skkdic-convert-postfix, skkdic-convert-prefix):
13000         (skkdic-convert-okuri-nasi, skkdic-convert):
13001         * emacs-lisp/re-builder.el (reb-update-overlays):
13002         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
13003         * emacs-lisp/gulp.el (gulp-send-requests):
13004         * emacs-lisp/find-gc.el (trace-call-tree):
13005         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
13006         (eieio-describe-generic):
13007         * emacs-lisp/eieio-base.el (eieio-persistent-read):
13008         * emacs-lisp/edebug.el (edebug-outside-excursion):
13009         * emacs-lisp/debug.el (debugger-make-xrefs):
13010         * emacs-lisp/cust-print.el (custom-prin1-to-string):
13011         * emacs-lisp/chart.el (chart-new-buffer):
13012         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
13013         Use with-current-buffer.
13014         * textmodes/artist.el (artist-system): Don't call
13015         copy-sequence on a fresh string.
13016         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
13018 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
13020         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
13021         is no item to edit.  (Bug#4820)
13022         (todo-top-priorities): Restore point and restore narrowing in Todo
13023         buffer.  (Bug#4820)
13025 2009-10-31  Glenn Morris  <rgm@gnu.org>
13027         * net/ange-ftp.el (top-level): Don't require dired when compiling.
13028         (comint-last-output-start, comint-last-input-start)
13029         (comint-last-input-end): Don't defvar when compiling.
13030         (ange-ftp-process-file): Use bound-and-true-p.
13032         * pcmpl-rpm.el (top-level): Move provide statement to end.
13033         (pcmpl-rpm): Remove unused custom group.
13035         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
13037         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
13039         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
13040         (byte-compile-warnings): Add `constants' as an option.
13041         (byte-compile-callargs-warn, byte-compile-arglist-warn)
13042         (display-call-tree): Update for byte-compile-fdefinition possibly
13043         returning `(macro lambda ...)'.  (Bug#4778)
13044         (byte-compile-variable-ref, byte-compile-setq-default):
13045         Respect `constants' member of byte-compile-warnings.
13047 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13049         * vc-bzr.el (vc-bzr-revision-keywords): New var.
13050         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
13051         to "submit:".
13053 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
13055         * textmodes/ispell.el (ispell-skip-region-alist):
13056         * international/mule-conf.el (eight-bit):
13057         * international/fontset.el (font-encoding-alist):
13058         * startup.el (pure-space-overflow-message):
13059         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
13060         * paths.el (gnus-nntp-service, rmail-spool-directory)
13061         (term-file-prefix):
13062         * files.el (save-some-buffers-action-alist):
13063         * cmuscheme.el (same-window-buffer-names):
13064         * ielm.el (same-window-buffer-names):
13065         * shell.el (same-window-buffer-names):
13066         * mail/sendmail.el (same-window-buffer-names):
13067         * progmodes/inf-lisp.el (same-window-buffer-names):
13068         * bindings.el (mode-line-client)
13069         (mode-line-column-line-number-mode-map):
13070         * language/tibetan.el (tibetan-precomposition-rule-regexp)
13071         (tibetan-precomposed-regexp): Purecopy string arguments.
13073 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13075         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
13076         (calcDigit-nondigit):
13077         * calc/calc-yank.el (calc-copy-to-buffer):
13078         * calc/calc-units.el (calc-invalidate-units-table):
13079         * calc/calc-trail.el (calc-trail-yank):
13080         * calc/calc-store.el (calc-insert-variables):
13081         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
13082         * calc/calc-prog.el (calc-read-parse-table):
13083         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
13084         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
13085         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
13086         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
13087         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
13088         (calc-graph-name, calc-graph-find-command, calc-graph-view)
13089         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
13090         * calc/calc-ext.el (calc-realign):
13091         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
13092         (calc-embedded-finish-edit, calc-embedded-make-info)
13093         (calc-embedded-finish-command, calc-embedded-stack-change):
13094         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
13096         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
13097         shell-dynamic-complete-filename in preference to
13098         comint-dynamic-complete-filename.
13100         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
13101         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
13102         Don't consider whether the display supports colors.
13103         (bookmark-import-new-list): Use dolist.
13104         (bookmark-bmenu-mode-map): Move initialization into declaration.
13105         (bookmark-bmenu-list): Use dolist, simplify.
13106         (bookmark-show-all-annotations): Use save-selected-window and dolist.
13107         (menu-bar-final-items): Use push.
13109 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
13111         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
13112         it works on remote files.
13113         (vc-hg-diff): Don't pass any `--cwd' argument.
13115 2009-10-27  Kevin Ryde  <user42@zip.com.au>
13117         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
13118         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
13119         (Further to Bug#3921).
13121 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
13123         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
13124         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
13125         calling `tramp-imap-put-file'.  Add file size to the call.
13126         (tramp-imap-get-file-entries): Compute also user name, file size,
13127         and date.
13128         (tramp-imap-handle-insert-directory): Insert uid and gid.
13129         (tramp-imap-handle-file-attributes): Transform uid and gid
13130         according to `id-format'.
13131         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
13132         size in header X-Size.
13134 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
13136         * simple.el (transpose-subr): Give clearer error when the mark
13137         is not set.  (Bug#4807)
13139 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
13141         * net/tramp.el (tramp-perl-file-truename): New defconst.
13142         Perl code contributed by yary <not.com@gmail.com> (tiny change).
13143         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
13144         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
13145         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
13147         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
13148         Ignore `dired-call-process'.
13149         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
13151 2009-10-26  Julian Scheid  <julians37@gmail.com>
13153         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
13154         (tramp-get-remote-readlink): New defun.
13155         (tramp-handle-file-truename): Use it.
13156         (tramp-handle-file-exists-p): Check file-attributes cache, assume
13157         file exists if cache value present.
13158         (tramp-check-cached-permissions): New defun.
13159         (tramp-handle-file-readable-p): Use it.
13160         (tramp-handle-file-writable-p): Likewise.
13161         (tramp-handle-file-executable-p): Likewise.
13162         (tramp-handle-file-name-all-completions): Try using Perl to get
13163         partial completions.  When perl not available, combine `cd' and
13164         `ls' into single remote operation and use shell expansion to get
13165         partial remote directory contents.  Set `file-exists-p' cache for
13166         directory and any files returned by ls.  Change cache handling to
13167         support partial directory contents.  Use error message emitted by
13168         remote `cd' or Perl code for local tramp-error.
13169         (tramp-do-copy-or-rename-file-directly): Avoid separate
13170         tramp-send-command-and-check call.
13171         (tramp-handle-process-file): Merge three remote ops into one.
13172         Do not flush all caches when `process-file-side-effects' is set.
13173         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
13174         file-attributes shows uid/gid to be set already.
13176 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
13178         * textmodes/tex-mode.el (tex-dvi-view-command)
13179         (tex-show-queue-command, tex-open-quote):
13180         * progmodes/ruby-mode.el (auto-mode-alist)
13181         (interpreter-mode-alist): Purecopy strings.
13183         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
13185         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
13186         string for the hook, keymap and abbrev table.
13188         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
13190         * x-dnd.el (x-dnd-xdnd-to-action):
13191         * startup.el (fancy-startup-text, fancy-about-text): Change to
13192         defconst from defvar.
13194         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
13196         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
13197         Purecopy initialization strings.
13199         * mail/sendmail.el (mail-header-separator)
13200         (mail-personal-alias-file):
13201         * mail/rmail.el (rmail-default-dont-reply-to-names)
13202         (rmail-ignored-headers, rmail-retry-ignored-headers)
13203         (rmail-highlighted-headers, rmail-secondary-file-directory)
13204         (rmail-secondary-file-regexp):
13205         * files.el (null-device, file-name-invalid-regexp)
13206         (locate-dominating-stop-dir-regexp)
13207         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
13208         (interpreter-mode-alist): Use mapcar instead of mapc.
13210         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
13212         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
13213         (completion-ignored-extensions):
13214         (debug-ignored-errors): Purecopy strings.
13216 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13218         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
13219         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
13220         (pcomplete--here): Use push.
13222         * subr.el (all-completions): Declare the 4th arg obsolete.
13224 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13226         * pcomplete.el (pcomplete-unquote-argument-function): New var.
13227         (pcomplete-unquote-argument): New function.
13228         (pcomplete--common-suffix): Always pay attention to case.
13229         (pcomplete--table-subvert): Quote and unquote the text.
13230         (pcomplete--common-quoted-suffix): New function.
13231         (pcomplete-std-complete): Use it and pcomplete-begin.
13233         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
13234         we're inside a dedicated or minibuffer window.
13236 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
13238         * bookmark.el: Update documentation, especially documentation
13239         of `bookmark-alist' and of the bookmark file format.
13240         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
13242 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
13244         * mail/emacsbug.el (report-emacs-bug): Clarify that the
13245         keybindings apply to the mail buffer (Bug#4003).  Shrink help
13246         window to buffer.
13248         * whitespace.el (whitespace-mode, whitespace-newline-mode)
13249         (global-whitespace-mode, global-whitespace-newline-mode)
13250         (whitespace-toggle-options, global-whitespace-toggle-options):
13251         Doc fix (Bug#3660).
13253         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
13254         of xmltok-start before the end tag was inserted (Bug#2840).
13256         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
13257         patterns that are preceded by an open-paren (Bug#1320).
13259 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
13261         * files.el (delete-directory): Delete symlinks to directories with
13262         delete-file (Bug#4739).
13264 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
13266         * vc.el (vc-backend-for-registration): Rename from
13267         vc-get-backend-for-registration.  Update callers.
13269         * international/mule-cmds.el (set-language-info-alist):
13270         Purecopy lang-env.
13271         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
13272         (charset): Purecopy the name.
13273         (define-char-code-property): Purecopy string arguments.
13275         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13276         Purecopy string arguments.
13278         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13279         * ediff-hook.el (menu-bar-ediff-menu):
13280         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
13281         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
13283 2009-10-24  Glenn Morris  <rgm@gnu.org>
13285         * comint.el (comint-dynamic-list-completions):
13286         * term.el (term-dynamic-list-completions): Use choose-completion rather
13287         than obsolete alias mouse-choose-completion.
13289         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
13290         file-cache-choose-completion.
13291         (file-cache-choose-completion): Handle an optional event argument.
13292         (file-cache-mouse-choose-completion): Make it an obsolete alias.
13294         * progmodes/octave-mod.el (octave-complete-symbol):
13295         Use choose-completion if mouse-choose-completion is ever removed.
13297         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
13298         use.
13300         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
13301         compiler.
13303         * vc-hooks.el (vc-responsible-backend): Fix declaration.
13305 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13307         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
13308         Ignore `pred' now that we receive one.
13309         Handle test-completion specially.
13311 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
13313         * vc.el (vc-responsible-backend): Throw an error if not backend is
13314         found.  Remove the REGISTER argument.  Move the code dealing with
13315         REGISTER ...
13316         (vc-get-backend-for-registration): ... here.  New function.
13317         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
13318         of vc-responsible-backend, pass the file name instead of the
13319         directory name.
13321 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13323         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
13324         New funs.
13325         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
13326         (pcomplete-comint-setup): Don't modify a global var via
13327         accidental side-effects.
13328         (pcomplete-shell-setup): Adjust call accordingly.
13329         (pcomplete-parse-comint-arguments): Use push.
13331 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
13333         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
13334         Allow uncapitalized info node names (Bug#3921).
13336         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
13337         to the DEBUG file (Bug#3781).
13339 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
13341         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
13342         dictionary entry (Bug#4579).
13344 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
13346         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
13347         from `rfn-eshadow-update-overlay-hook' when unloading.
13348         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
13349         "rsyncc".  Adjust doc string.
13350         (tramp-temp-buffer-file-name): New buffer-local defvar.
13351         (tramp-handle-insert-file-contents, tramp-handle-write-region):
13352         Keep temporary file when indicated by method ("rsync" and
13353         "rsyncc").
13354         (tramp-handle-write-region): Handle APPEND.
13355         (tramp-delete-temp-file-function): New defun.  Added to
13356         `kill-buffer-hook'.
13358 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
13360         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
13362 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
13364         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
13365         (color-name-rgb-alist, tty-standard-colors)
13366         (tty-color-mode-alist): Change to defconst.
13368         * simple.el (mark-inactive): Purecopy message.
13370         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
13371         (global-map, yank-menu):
13372         * textmodes/ispell.el (ispell-menu-map):
13373         * net/eudc.el (eudc-tools-menu):
13374         * international/mule-cmds.el (describe-language-environment-map)
13375         (setup-language-environment-map, set-coding-system-map)
13376         (mule-menu-keymap):
13377         * vc-hooks.el (vc-menu-entry, vc-menu-map):
13378         * replace.el (occur-mode-map):
13379         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
13381 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
13383         * calc/calc.el (math-read-number, math-read-number-simple): Use
13384         `save-match-data'.
13386 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13388         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
13389         rather than fiddling with global-map bindings, since it should only
13390         affect per-terminal settings.
13391         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
13393         * minibuffer.el (completion-table-with-terminator): Allow to specify
13394         the terminator-regexp.
13396         * simple.el (switch-to-completions): Look for *Completions* in other
13397         frames as well.
13399         * pcomplete.el: Allow the use of completion-tables.
13400         (pcomplete-std-complete): New command.
13401         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
13402         (pcomplete--here): Use a function for `form' rather than an expression,
13403         so it can be byte-compiled.
13404         (pcomplete-here, pcomplete-here*): Adjust accordingly.
13405         Add edebug declaration.
13406         (pcomplete-show-completions): Remove unused var `curbuf'.
13407         (pcomplete-do-complete, pcomplete-stub):
13408         Don't assume `completions' is a list of strings any more.
13410 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
13412         * find-dired.el (find-name-arg): Fix typo in docstring.
13414 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13416         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
13417         (pcmpl-linux-fs-types): Same, and update to new modules layout.
13419         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
13420         pcomplete-entries.
13422         * comint.el (comint-read-input-ring, comint-write-input-ring)
13423         (comint-substitute-in-file-name)
13424         (comint-dynamic-complete-as-filename)
13425         (comint-dynamic-simple-complete)
13426         (comint-dynamic-list-filename-completions)
13427         (comint-dynamic-list-completions)
13428         (comint-redirect-results-list-from-process): Minor simplifications.
13430 2009-10-21  Kevin Ryde  <user42@zip.com.au>
13432         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
13433         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
13434         the first form.  And insert a blank line after ";;; Code" since
13435         that's usual style.  (Bug#4612)
13437         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
13439 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13441         * minibuffer.el (completion-table-with-terminator): Properly implement
13442         boundaries, in case `terminator' appears in the suffix.
13443         (completion--embedded-envvar-table): Don't return boundaries if
13444         there's no valid completion.  Simplify.
13445         (completion-file-name-table): New completion table extracted from
13446         completion--file-name-table.
13447         (completion--file-name-table): Use it.
13448         (read-file-name-predicate): Declare obsolete.
13449         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
13450         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
13451         completion-file-name-table, and use the `pred' argument.
13452         * files.el (locate-file-completion-table): Use the `pred' arg rather
13453         than read-file-name-predicate.
13454         (abbreviate-file-name): Use \` rather than ^ for BOS.
13456 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
13458         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
13459         vc-responsible-backend to register, it causes problems.
13461 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13463         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
13465 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
13467         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
13468         (tramp-smb-handle-file-attributes): Use it.
13469         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
13470         (tramp-smb-handle-insert-directory): Use `mapc' rather than
13471         `mapcar'.  Use `tramp-smb-get-stat-capability'.
13472         Add `dired-filename' text properties.
13473         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
13474         (tramp-smb-maybe-open-connection): Simplify check for smbclient
13475         version.
13477 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13479         * subr.el (read-key-delay): Reduce to 0.01.
13480         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
13481         (bug#4751).
13483 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13485         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
13487         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
13488         (Info-menu): Remove unused vars `last' and `completions'.
13489         (Info-index-nodes): Remove unused var `node'.
13491         * info.el (Info-complete-menu-item): Use complete-with-action.
13493 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
13495         Make vc-annotate work through copies and renames.
13496         * vc-annotate.el (vc-annotate-extract-revision-at-line):
13497         Return the file name too.
13498         (vc-annotate-revision-at-line)
13499         (vc-annotate-find-revision-at-line)
13500         (vc-annotate-revision-previous-to-line)
13501         (vc-annotate-show-log-revision-at-line): Update to get the file
13502         name from vc-annotate-extract-revision-at-line.
13503         (vc-annotate-show-diff-revision-at-line-internal): Change the
13504         argument to mean whether to show a file diff or not.  Get the file
13505         name from vc-annotate-extract-revision-at-line.
13506         (vc-annotate-show-diff-revision-at-line):
13507         Update vc-annotate-show-diff-revision-at-line call.
13508         (vc-annotate-warp-revision): Add an optional file argument.
13510         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
13511         (vc-git-annotate-extract-revision-at-line): Also return the file
13512         name if found.
13514         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
13515         command.  Remove unused code.
13516         (vc-hg-annotate-re): Update to match --follow output.
13517         (vc-hg-annotate-extract-revision-at-line): Also return the file
13518         name if found.
13520         * vc.el: Update annotate-extract-revision-at-line documentation.
13522 2009-10-18  Kevin Ryde  <user42@zip.com.au>
13524         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
13525         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
13527         * net/browse-url.el (browse-url): Identify alist with "consp and
13528         not functionp" and let all other things go down the `apply' leg,
13529         as suggested by Stefan.  (Further to bug#4531.)
13531 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
13533         * minibuffer.el (read-file-name): Check for repeat before putting
13534         a default argument in file-name-history (Bug#4657).
13536         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
13537         read syntax (Bug#4737).
13539         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
13541 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
13543         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
13544         (html-tag-alist, html-tag-help): Add descriptions for undocumented
13545         entries and make note of obsolete tags.
13547 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13549         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
13551 2009-10-18  Glenn Morris  <rgm@gnu.org>
13553         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
13554         grep, so that binary files (eg international/uni-bidi.el) can match.
13555         Remove test for "UnicodeData" files, since it is hopefully unnecessary
13556         now, and in any case the file header format has changed.
13558 2009-10-17  Glenn Morris  <rgm@gnu.org>
13560         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
13561         (flyspell-get-word, flyspell-large-region)
13562         (flyspell-auto-correct-previous-word): Doc/error message fixes.
13564 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
13566         * Makefile.in (ELCFILES): Add ede/shell.
13568 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
13570         * term/common-win.el (x-colors): Purecopy it.
13572 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13574         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
13575         permissive for when the buffer is empty.
13576         (tar-header-block-tokenize): Decode the username and groupname.
13577         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
13579 2009-10-17  Eric Ludlam  <zappo@gnu.org>
13581         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
13582         contains multibyte characters, choose first applicable coding
13583         system automatically.
13585 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13587         * international/mule-cmds.el (select-safe-coding-system): If the file
13588         has a coding cookie, use it regardless of any other setting (bug#4712).
13590 2009-10-17  Glenn Morris  <rgm@gnu.org>
13592         * foldout.el (foldout-mouse-swallow-events):
13593         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
13595         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
13596         (dired-keep-marker-copy, dired-keep-marker-hardlink)
13597         (dired-keep-marker-symlink, dired-dwim-target)
13598         (dired-copy-preserve-time): Do not autoload these defcustoms.
13600         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
13601         messages from messing up the file coding.  (Bug#4623)
13603 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
13605         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
13606         if no match is found for the current dictionary.  (Bug#4578)
13608         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
13609         optional, since that is how it is documented, and this is often called
13610         with a nil argument.  (Bug#4577)
13611         (flyspell-external-point-words, flyspell-auto-correct-word)
13612         (flyspell-correct-word-before-point, flyspell-word-search-forward)
13613         (flyspell-word-search-backward): Remove nil argument in calls to
13614         flyspell-get-word, since it is not needed now.
13616 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
13618         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
13620 2009-10-16  Glenn Morris  <rgm@gnu.org>
13622         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
13624 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
13626         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
13627         (ange-ftp-file-size): New function.
13628         (ange-ftp-file-attributes): Use it.
13630 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
13632         * net/tramp-smb.el (tramp-smb-version): New defvar.
13633         (tramp-smb-maybe-open-connection): Use it, in order to avoid
13634         repeated checks.
13636 2009-10-16  Glenn Morris  <rgm@gnu.org>
13638         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
13639         Maybe copy some custom properties from old to new name.  (Bug#4706)
13641 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
13643         * subr.el (error, sit-for, start-process-shell-command)
13644         (start-file-process-shell-command): Set the calling convention
13645         after the function definition.
13647 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
13649         * subr.el (error, sit-for, start-process-shell-command)
13650         (start-file-process-shell-command): Use the new
13651         set-advertised-calling-convention feature.
13653 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
13655         * international/ucs-normalize.el (ucs-normalize-version):
13656         Change to 1.2.
13657         (check-range): Adjust for Unicode 5.2.
13659 2009-10-15  Juri Linkov  <juri@jurta.org>
13661         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
13662         to the `menu-item' format.
13664 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
13666         * net/tramp.el (tramp-replace-environment-variables): Do not fail
13667         if the environment variable does not exist.
13669         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13670         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
13671         parameter.
13672         (tramp-smb-handle-add-name-to-file)
13673         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
13674         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
13675         (tramp-smb-handle-file-attributes)
13676         (tramp-smb-do-file-attributes-with-stat)
13677         (tramp-smb-handle-file-local-copy)
13678         (tramp-smb-handle-insert-directory)
13679         (tramp-smb-handle-make-directory)
13680         (tramp-smb-handle-make-directory-internal)
13681         (tramp-smb-handle-make-symbolic-link)
13682         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
13683         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
13684         (tramp-smb-maybe-open-connection): Apply the changed parameters.
13685         (tramp-smb-read-file-entry): Read Disk names in compressed format.
13686         Handle long file names.
13687         (tramp-smb-get-cifs-capabilities): Check, whether the connection
13688         process is running.
13689         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
13690         Read share names with "-g" option.
13692 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
13694         * net/rcirc.el (rcirc-view-log-file): New command.
13695         (rcirc-track-minor-mode-map): Remove C-c ` binding.
13696         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
13697         specified.
13699 2009-10-15  Glenn Morris  <rgm@gnu.org>
13701         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
13702         from the second command-line argument.
13703         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
13704         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
13705         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
13706         w32-batch-update-autoloads.
13707         * emacs-lisp/autoload.el (autoload-make-program): New variable.
13708         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
13710         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
13711         the headers cannot be located.  Simplify, subtracting superflous
13712         save-excursions.
13714 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
13716         Replace completion-base-size by completion-base-position to fix bugs
13717         such as (bug#4699).
13718         * simple.el (completion-base-position): New var.
13719         (completion-base-size): Mark as obsolete.
13720         (choose-completion): Make it work for mouse events as well.
13721         Pass the new base-position to choose-completion-string.
13722         (choose-completion-guess-base-position): New function, extracted from
13723         choose-completion-delete-max-match.
13724         (choose-completion-delete-max-match): Use it.  Make obsolete.
13725         (choose-completion-string): Use the new base-position info.
13726         (completion-root-regexp): Delete.
13727         (completion-setup-function): Preserve completion-base-position.
13728         Eliminate obsolete base-size manipulation.
13729         * minibuffer.el (display-completion-list): Don't mess with base-size.
13730         (minibuffer-completion-help): Set completion-base-position instead.
13731         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
13732         choose-completion.
13733         * textmodes/bibtex.el (bibtex-complete):
13734         * emacs-lisp/crm.el (crm--choose-completion-string):
13735         Adjust to new calling convention.
13736         * complete.el (partial-completion-mode): Use minibufferp to avoid
13737         bumping into incompatible change to choose-completion-string-functions.
13738         * ido.el (ido-choose-completion-string): Make its calling convention
13739         more permissive.
13740         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
13741         base-size manipulation.
13742         (comint-dynamic-list-input-ring): Use dotimes and push.
13743         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
13744         fundamental-mode.  Use `or'.
13746 2009-10-14  Juri Linkov  <juri@jurta.org>
13748         * misearch.el (multi-isearch-next-buffer-from-list)
13749         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
13751 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13753         * Makefile.in (compile-onefile): Load `bytecomp' rather than
13754         `bytecomp.el'.
13756         * minibuffer.el (completion-pcm--merge-completions): Make sure the
13757         string we return is all made up of text from the completions rather
13758         than part from the completions and part from the input (bug#4219).
13760         * ido.el (ido-everywhere): Use define-minor-mode.
13762         * buff-menu.el (list-buffers, ctl-x-map):
13763         Mark the entry points with ;;;###autoload cookies.
13765 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
13767         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
13768         correctly in the detached head case.
13769         (vc-git-print-log): Remove unused binding.
13771         * vc.el (vc-responsible-backend): When a directory is passed for
13772         for registration create a VC repository if no backend is
13773         responsible for the directory argument.
13774         (vc-deduce-fileset): Tell vc-responsible-backend to register.
13776         * vc.el: Move comments about RCS and SCCS ...
13777         * vc-rcs.el:
13778         * vc-sccs.el: ... here, respectively.
13780 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
13782         * minibuffer.el (completion--file-name-table): Return nil if there's
13783         no file completion, even if substitute-in-file-name changed
13784         the string (bug#4708).
13786 2009-10-13  Juri Linkov  <juri@jurta.org>
13788         * files-x.el (read-file-local-variable-value): Don't filter out
13789         minor modes from mode name completion (bug#4664).
13791 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
13793         * international/mule-cmds.el (ucs-names): Remove exclusion of
13794         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
13796 2009-10-13  Kenichi Handa  <handa@m17n.org>
13798         * international/uni-name.el: Regenerated.
13800 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
13802         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
13803         should be automatically buffer-local, but isn't.)
13805 2009-10-12  Sam Steingold  <sds@gnu.org>
13807         * progmodes/compile.el (compilation-next-error-function): Fix the
13808         timestamps if the buffer has been visited before.
13809         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
13810         non-anchored patterns, like the perl one (bug#3928).
13812 2009-10-12  Glenn Morris  <rgm@gnu.org>
13814         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
13815         Let-bind `size'.
13817 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
13819         * proced.el (proced-unload-function): New function.
13821         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
13822         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
13823         Doc fix.
13825         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
13827 2009-10-11  Juri Linkov  <juri@jurta.org>
13829         * files-x.el (read-file-local-variable-value):
13830         Provide default value only for bound variables (bug#4664).
13832 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
13834         * net/tramp.el (tramp-local-host-p): Function shall return nil for
13835         connection methods like smb.
13837         * net/tramp-cache.el (tramp-flush-connection-property): The hash
13838         can be empty.
13840         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13841         (tramp-smb-file-name-handler-alist): Add handlers for
13842         `add-name-to-file', `make-symbolic-link'.
13843         (tramp-smb-handle-add-name-to-file)
13844         (tramp-smb-do-file-attributes-with-stat)
13845         (tramp-smb-handle-make-symbolic-link)
13846         (tramp-smb-get-cifs-capabilities): New defuns.
13847         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
13848         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
13849         (tramp-smb-handle-file-local-copy)
13850         (tramp-smb-handle-make-directory-internal)
13851         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
13852         The file name syntax depends on cifs capabilities.
13853         (tramp-smb-handle-file-attributes):
13854         Call `tramp-smb-do-file-attributes-with-stat' if possible.
13855         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
13856         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
13858 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
13860         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
13861         (eieio-defclass): Apply deftype handler and setf-method properties
13862         directly.
13863         (eieio-add-new-slot): Avoid union function from cl library.
13864         (eieio--typep): New function.
13865         (eieio-perform-slot-validation): Use it.
13867 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
13869         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
13870         Update documentation to refer to the variables documented in r1.135.
13871         (Bug#4188)
13873 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
13875         * bookmark.el (Info-suffix-list): Remove this unused variable.
13876         (bookmark-current-point): Remove this obsolete variable.
13877         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
13878         Adjust for removal of bookmark-current-point.
13880         (bookmarks-already-loaded, bookmark-current-buffer)
13881         (bookmark-yank-point): Document.  (Bug#4188)
13883 2009-10-10  Glenn Morris  <rgm@gnu.org>
13885         * frame.el (frame-height): Doc fix.
13887         * calendar/calendar.el (calendar-split-width-threshold): New option.
13888         (calendar-basic-setup): Use calendar-split-width-threshold.
13890 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
13892         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
13893         Ideographic Supplement" range (U+1F200..U+1F2FF).
13895 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
13897         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
13898         since the list will have been rebuilt anyway.  (Bug#4349)
13900 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
13902         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
13903         (bookmark-bmenu-execute-deletions): Don't save here, as
13904         bookmark-delete will now do so if necessary.
13905         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
13906         (Bug#4348)
13908 2009-10-09  Glenn Morris  <rgm@gnu.org>
13910         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
13912 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
13914         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
13915         (bookmark-jump-other-window): Just invoke bookmark-jump with new
13916         argument now, so the two function's behaviors will match.  (Bug#3645)
13918 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
13920         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
13921         (tramp-file-name-real-host, tramp-file-name-port):
13922         Apply `save-match-data'.
13924         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
13925         case both directories are remote.
13926         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
13927         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
13929 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
13931         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
13933 2009-10-07  Glenn Morris  <rgm@gnu.org>
13935         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
13936         of concat.
13938 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13940         * files-x.el (read-file-local-variable): Include some
13941         non-user-variables in the completion table (bug#4664).
13943 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
13945         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
13946         message.
13948         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
13949         (tramp-smb-file-name-handler-alist): Add handler for
13950         `copy-directory', `expand-file-name', `set-file-modes'.
13951         (tramp-smb-handle-copy-directory)
13952         (tramp-smb-handle-expand-file-name)
13953         (tramp-smb-handle-set-file-modes): New defuns.
13954         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
13955         (tramp-smb-handle-file-attributes): Simplify check for retrieving
13956         entry.
13957         (tramp-smb-handle-insert-directory): Don't flush the cache.
13958         (tramp-smb-maybe-open-connection): Check for samba client and
13959         server versions.
13961 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
13963         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
13964         to not error out of search for "^lisp=" fails.
13966 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
13968         * makefile.w32-in (WINS_UPDATES): New macro.
13969         (custom-deps, finder-data, autoloads): Use it.
13971 2009-10-07  Glenn Morris  <rgm@gnu.org>
13973         * Makefile.in (autoloads): Revert previous change.
13974         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
13975         the list of preloaded files passed on the command-line, get
13976         it from src/Makefile.
13978         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
13979         show the original buffer rather than a random one.
13981 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
13983         * help.el (describe-no-warranty): Place point in a slightly better
13984         position in the GPLv3 text.
13986 2009-10-06  Sam Steingold  <sds@gnu.org>
13988         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
13989         the comm attribute is present before calling regexp-quote.
13991 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
13993         * play/animate.el (animate-string): For good effect, make sure
13994         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
13996         * play/animate.el (animate-sequence, animate-birthday-present):
13997         * misc.el (butterfly): Don't set `indent-tabs-mode'.
13999 2009-10-06  Glenn Morris  <rgm@gnu.org>
14001         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
14003         * emacs-lisp/autoload.el (autoload-excludes): New variable.
14004         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
14005         (batch-update-autoloads): Process a string value of autoload-excludes,
14006         set during the build process.
14007         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
14009         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
14010         inside with-parsed...  macro so that `v' is defined.
14012         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
14013         * progmodes/fortran.el (fortran-end-of-block)
14014         (fortran-beginning-of-block):
14015         Also push mark in the macro case.
14017         * emerge.el (emerge-show-file-name):
14018         * calc/calc.el (calc-quit):
14019         * calc/calc-misc.el (calc-big-or-small):
14020         * calc/calc-graph.el (calc-graph-view):
14021         * calc/calc-ext.el (calc-reset):
14022         * calendar/calendar.el (calendar-basic-setup):
14023         Use window-full-height-p.
14025         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
14026         header we don't understand, don't insert another.  (Bug#4624)
14027         If changing mime charset, insert the new one in the right place.
14029 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
14031         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
14032         (cal-tex-cursor-month): Correctly increment the end date for diary and
14033         holiday listing.  (Bug#4626)
14035 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14037         * help-fns.el (describe-function-1): Don't burp if the function is not
14038         a symbol.
14040 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
14042         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
14043         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
14044         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
14045         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
14047         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
14048         (eieio-default-superclass): Reflow docstrings.
14049         (this, class-option-assoc, defclass, eieio-class-un-autoload)
14050         (eieio-unbind-method-implementations, defmethod)
14051         (eieio-validate-slot-value, eieio-validate-class-slot-value)
14052         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
14053         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
14054         (eieio-slot-originating-class-p, eieio-slot-name-index)
14055         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
14056         (constructor, initialize-instance, no-next-method, object-print)
14057         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
14058         Fix typos in docstrings.
14059         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
14060         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
14061         (next-method-p): Doc fixes.
14062         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
14063         Fix typos in error messages.
14064         (eieio-defmethod): Fix typo in description of generic method.
14066         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
14067         (eieio-persistent-save-interactive, slot-missing):
14068         Fix typos in docstrings.
14069         (eieio-instance-inheritor-slot-boundp): Doc fix.
14071         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
14072         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
14074         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
14075         (eieio-custom-object-apply-reset):
14076         Fix typos in docstrings and error messages.
14078         * emacs-lisp/eieio-datadebug.el (data-debug-show):
14079         Fix typo in docstring.
14081         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
14082         (eieio-browse-tree): Doc fix.
14083         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
14084         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
14085         Fix typos in docstrings.
14087         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
14088         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
14089         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
14090         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
14091         Reflow docstrings.
14093 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
14095         * vc-hg.el (log-view-vc-backend): Declare for compiler.
14096         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
14097         Set log-view-vc-backend so that diff can work.
14099         * log-view.el (log-view-diff): Use vc-diff-internal instead of
14100         vc-version-diff.
14101         (vc-diff-internal): Autoload this instead of vc-version-diff.
14103 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
14105         * simple.el (eval-expression): Doc fix.
14107         * progmodes/cwarn.el (cwarn-mode): Doc fix.
14109 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
14111         * files.el (directory-files-no-dot-files-regexp): New defconst.
14112         (delete-directory): Use it.
14113         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
14115         * net/tramp.el (tramp-verbose): Fix docstring.
14116         (tramp-methods): Add recursive option to `tramp-copy-args'.
14117         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
14118         "scp1_old", "scp2_old", "rsync", "rsyncc".
14119         (tramp-default-method): Check also for `auth-source-user-or-password'.
14120         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
14121         Add handler for `copy-directory'.
14122         (tramp-handle-copy-directory): New defun.
14123         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
14124         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
14125         Optimize sent command.
14127 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14129         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
14130         window if necessary.
14132         * calendar/calendar.el (calendar-basic-setup): Don't call
14133         switch-to-buffer in a dedicated window.
14135 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
14137         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
14138         don't do anything related to relocating, just return nil.
14139         (bookmark-error-no-filename): New error.
14140         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
14141         bookmark has no file.  Don't even attempt to handle things that
14142         are not files; the whole point of custom handlers is to keep that
14143         knowledge elsewhere anyway.  Tighten some comments.
14144         (bookmark-file-or-variation-thereof): Remove now-unused function.
14145         (bookmark-location): Doc string fix.
14146         (Bug#4250)
14148 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
14150         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
14151         don't use a file dialog, because they usually don't know how to read
14152         a directory target from the user.  (Bug#4230)
14153         Also, make sure the prompt can display directories as well as files.
14155 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
14157         * bookmark.el (bookmark-set, bookmark-buffer-name):
14158         Improve doc strings.  (Bug#1193)
14160 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
14162         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
14163         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
14164         (bookmark-get-annotation, bookmark-set-annotation)
14165         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
14166         (bookmark-set-position, bookmark-get-front-context-string)
14167         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
14168         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
14169         (bookmark-jump-other-window, bookmark-handle-bookmark)
14170         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
14171         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
14172         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
14173         Improve doc strings to say whether bookmark can be a string or
14174         a record or both, and make other consistency and clarity fixes.
14175         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
14176         (bookmark-default-annotation-text, bookmark-yank-word)
14177         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
14178         (bookmark-import-new-list, bookmark-maybe-rename)
14179         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14180         (bookmark-bmenu-bookmark): Give these doc strings.
14181         (bookmark-bmenu-check-position): Give this a doc string, but also
14182         add a FIXME comment about how the function may be pointless.
14183         (bookmark-default-handler): Rework doc string and change a
14184         parameter name, to clarify that this takes a bookmark record
14185         not a bookmark name.
14186         (bookmark-set): Change a parameter name to indicate its meaning,
14187         and improve the doc string a bit.
14188         (Bug#4188)
14190 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
14192         * bookmark.el (bookmark-alist): Document the new `handler' element
14193         in the param alist.
14194         (bookmark-make-record-function): Adjust documentation for above.
14195         (Bug#4193)
14197 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
14199         * info.el (Info-bookmark-make-record): Document this function.
14200         (Info-bookmark-jump): Document with a doc string, not just a comment.
14201         (Bug#4203)
14203 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
14205         * files.el (copy-directory): New defun.
14207         * dired-aux.el (dired-copy-file-recursive): Use it.
14209 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
14211         * files-x.el (modify-dir-local-variable)
14212         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
14213         docstrings.
14215         * recentf.el (recentf-unload-function): New function.
14217 2009-10-04  Glenn Morris  <rgm@gnu.org>
14219         * window.el (window-full-height-p): Add doc string.
14221 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
14223         * window.el (window-full-height-p): New function.  (Bug#4543)
14225 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
14227         * vc.el: Remove commented out code.
14228         (vc-derived-from-dir-mode): Remove, unused.
14229         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
14231 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
14233         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
14234         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
14235         there could be recursive loading when `default-directory' is a
14236         remote file name.  (Bug#4614)
14238 2009-10-03  Glenn Morris  <rgm@gnu.org>
14240         * calendar/calendar.el (calendar-basic-setup): Handle the case where
14241         the frame is wide.
14242         (calendar-generate-window): Test for shrinkability rather than width.
14244         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
14245         reusing existing buffers, in case we happen to visit two files with the
14246         same basename.  (Bug#4593)
14248 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
14250         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
14251         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
14252         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
14253         subdirs of cedet as well.
14254         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
14256 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14258         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
14259         Obey advertised-signature-table.
14261         * help-fns.el (help-function-arglist): Don't check
14262         advertised-signature-table.
14263         (describe-function-1): Do it here instead so it also applies to subrs.
14265 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
14267         * simple.el (start-file-process): Say in the doc-string, that file
14268         handlers might not support pty association, if PROGRAM is nil.
14270         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
14271         HOST and USER are strings.  They are nil, when there are
14272         incomplete entries in ~/.netrc, for example.
14273         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
14274         root directory ("device busy" error otherwise).
14276         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
14277         Flush file properties of created directory.
14279 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
14281         * makefile.w32-in (WINS_BASIC): Remove cedet.
14282         (WINS_CEDET): Add cedet.
14283         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
14285 2009-10-02  Kevin Ryde  <user42@zip.com.au>
14287         * net/browse-url.el (browse-url): Pass any symbol in
14288         browse-url-browser-function to `apply', since if you've mistakenly put
14289         an unbound symbol then the error is clearer.  (Bug#4531)
14291 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
14293         * allout.el (allout-init, allout-back-to-current-heading)
14294         (allout-beginning-of-current-entry, allout-ascend-to-depth)
14295         (allout-ascend, allout-up-current-level, allout-end-of-level)
14296         (allout-previous-visible-heading, allout-forward-current-level)
14297         (allout-backward-current-level, allout-show-children):
14298         * apropos.el (apropos-describe-plist):
14299         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
14300         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
14301         * completion.el (add-completion, add-permanent-completion):
14302         * descr-text.el (describe-text-category, describe-char):
14303         * desktop.el (desktop-lazy-abort):
14304         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
14305         * dired.el (dired-build-subdir-alist):
14306         * ediff.el (ediff-version):
14307         * elide-head.el (elide-head, elide-head-show):
14308         * emerge.el (emerge-version):
14309         * env.el (getenv):
14310         * face-remap.el (variable-pitch-mode):
14311         * faces.el (describe-face):
14312         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
14313         (dired-at-point):
14314         * files.el (find-file-existing, auto-save-mode):
14315         * font-lock.el (font-lock-fontify-buffer):
14316         * help-fns.el (describe-function, describe-variable)
14317         (describe-syntax, describe-categories):
14318         * help.el (view-lossage, describe-bindings, describe-key)
14319         (describe-mode):
14320         * hexl.el (hexl-current-address):
14321         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
14322         * info.el (Info-goto-emacs-key-command-node):
14323         * log-edit.el (log-edit-insert-cvs-template)
14324         (log-edit-insert-cvs-rcstemplate):
14325         * menu-bar.el (menu-bar-mode):
14326         * mouse.el (mouse-appearance-menu):
14327         * newcomment.el (comment-indent-new-line):
14328         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
14329         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
14330         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
14331         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
14332         * recentf.el (recentf-mode):
14333         * savehist.el (savehist-mode, savehist-save):
14334         * shadowfile.el (shadow-copy-files):
14335         * simple.el (kill-ring-save, next-line, previous-line)
14336         (normal-erase-is-backspace-mode):
14337         * strokes.el (strokes-update-window-configuration)
14338         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
14339         (strokes-xpm-for-stroke):
14340         * time.el (emacs-uptime, emacs-init-time):
14341         * tutorial.el (tutorial--describe-nonstandard-key)
14342         (tutorial--detailed-help):
14343         * type-break.el (type-break-mode)
14344         (type-break-mode-line-message-mode, type-break-query-mode)
14345         (type-break-guesstimate-keystroke-threshold):
14346         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
14347         * version.el (emacs-version):
14348         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
14349         * winner.el (winner-mode):
14350         * calendar/timeclock.el (timeclock-in, timeclock-out)
14351         (timeclock-status-string, timeclock-change)
14352         (timeclock-workday-remaining-string)
14353         (timeclock-workday-elapsed-string)
14354         (timeclock-when-to-leave-string):
14355         * calendar/todo-mode.el (todo-add-category):
14356         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
14357         * emacs-lisp/autoload.el (update-file-autoloads):
14358         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
14359         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
14360         (checkdoc-message-text, checkdoc-defun):
14361         * emacs-lisp/debug.el (debugger-list-functions):
14362         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14363         * emacs-lisp/eieio-opt.el (eieio-describe-class)
14364         (eieio-describe-generic):
14365         * emacs-lisp/lisp-mnt.el (lm-synopsis):
14366         * emacs-lisp/shadow.el (list-load-path-shadows):
14367         * emulation/cua-base.el (cua-mode):
14368         * emulation/edt.el (edt-set-scroll-margins):
14369         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
14370         (tpu-toggle-regexp, tpu-toggle-search-direction)
14371         (tpu-toggle-rectangle, tpu-toggle-control-keys):
14372         * emulation/tpu-extras.el (tpu-set-scroll-margins):
14373         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14374         (viper-set-parsing-style-toggling-macro)
14375         (viper-set-emacs-state-searchstyle-macros):
14376         * emulation/viper.el (viper-set-hooks):
14377         * eshell/esh-mode.el (eshell-truncate-buffer):
14378         * international/mule-cmds.el (prefer-coding-system)
14379         (describe-input-method, describe-language-environment):
14380         * international/mule-diag.el (list-character-sets)
14381         (describe-character-set, describe-coding-system)
14382         (describe-fontset, list-fontsets, list-input-methods):
14383         * mail/sendmail.el (mail-signature):
14384         * net/ange-ftp.el (ange-ftp-copy-file):
14385         * net/browse-url.el (browse-url):
14386         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
14387         * net/quickurl.el (quickurl-add-url):
14388         * net/rcirc.el (names, topic):
14389         * net/xesam.el (xesam-mode):
14390         * play/5x5.el (5x5-new-game):
14391         * play/yow.el (apropos-zippy):
14392         * progmodes/ada-mode.el (ada-mode-version):
14393         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
14394         (f90-end-of-block)
14395         (f90-beginning-of-block):
14396         * progmodes/fortran.el (fortran-end-of-block)
14397         (fortran-beginning-of-block):
14398         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
14399         * progmodes/python.el (python-describe-symbol, python-shell):
14400         * term/ns-win.el (ns-print-buffer):
14401         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
14402         * textmodes/flyspell.el (flyspell-mode-on):
14403         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
14404         (pages-directory-for-addresses):
14405         * textmodes/table.el (table-recognize-cell)
14406         (table-query-dimension, table-generate-source)
14407         (table-insert-sequence, table--warn-incompatibility):
14408         * textmodes/tex-mode.el (tex-validate-buffer):
14409         * textmodes/texinfmt.el (texinfmt-version)
14410         (texinfo-format-buffer):
14411         Use `called-interactively-p' instead of `interactive-p'.
14413 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
14415         * image-mode.el (image-toggle-display):
14416         * emacs-lisp/elp.el (elp-instrument-function):
14417         * emacs-lisp/advice.el (ad-make-advised-definition):
14418         * emacs-lisp/easy-mmode.el (define-minor-mode):
14419         * net/browse-url.el (browse-url-maybe-new-window):
14420         * progmodes/sh-script.el (sh-learn-buffer-indent):
14421         Pass new argument 'any to `called-interactively-p'.
14423 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
14425         * international/uni-bidi.el:
14426         * international/uni-category.el:
14427         * international/uni-combining.el:
14428         * international/uni-comment.el:
14429         * international/uni-decimal.el:
14430         * international/uni-decomposition.el:
14431         * international/uni-digit.el:
14432         * international/uni-lowercase.el:
14433         * international/uni-mirrored.el:
14434         * international/uni-name.el:
14435         * international/uni-numeric.el:
14436         * international/uni-old-name.el:
14437         * international/uni-titlecase.el:
14438         * international/uni-uppercase.el:
14439         Regenerate from Unicode 5.2.0 data.
14441 2009-10-01  Glenn Morris  <rgm@gnu.org>
14443         * Makefile.in (ELCFILES): Regenerate.
14445 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14447         * subr.el (interactive-p): Mark obsolete.
14448         (called-interactively-p): Make the optional-ness of `kind' obsolete.
14449         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
14450         advertised-signature-table for subroutines as well.
14452         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
14453         (set-advertised-calling-convention): New function.
14454         (make-obsolete, define-obsolete-function-alias)
14455         (make-obsolete-variable, define-obsolete-variable-alias):
14456         Make the optional-ness of `when' obsolete.
14457         (define-obsolete-face-alias): Make `when' non-optional.
14458         * help-fns.el (help-function-arglist):
14459         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
14460         Use advertised-signature-table.
14462 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
14464         * files.el (delete-directory): New defun.  The original function
14465         in fileio.c has been renamed to `delete-directory-internal'.
14467         * dired.el (dired-delete-file): Call `delete-directory' with
14468         RECURSIVE parameter.
14470         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
14471         parameter RECURSIVE.  Implementation is missing.
14473         * net/tramp.el (tramp-handle-make-directory): Flush upper
14474         directory's file properties.
14475         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
14476         (tramp-handle-dired-recursive-delete-directory): Flush directory
14477         properties after the remove command only.
14479         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14480         Handle optional parameter RECURSIVE.
14482         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14483         Handle optional parameter RECURSIVE.
14485         * net/tramp-smb.el (tramp-smb-errors): Add error message for
14486         connection timeout.
14487         (tramp-smb-handle-delete-directory): Handle optional parameter
14488         RECURSIVE.
14490 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14492         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
14493         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
14494         (byte-compile-defmacro): Use backquotes.
14496         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
14498         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
14499         has no associated file.
14500         (vc-resynch-buffer): Use vc-dir-buffers.
14502 2009-10-01  Glenn Morris  <rgm@gnu.org>
14504         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
14505         (chart-file-count):
14506         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
14507         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
14508         * emacs-lisp/eieio-opt.el (eieio-describe-class):
14509         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
14510         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
14511         (eieio-copy-parents-into-subclass, make-instance, class-children)
14512         (eieio-generic-form):
14514         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
14515         match-data.  (Bug#4555).
14517         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
14518         rather than parsing it as a regexp.  This relaxes the layout
14519         requirements and makes errors easier to detect.
14520         (check-declare-verify): Check file is regular.
14521         (check-declare-directory): Doc fix.
14522         * subr.el (declare-function): Doc fix.
14524         * ibuffer.el (ibuffer-format-qualifier):
14525         * isearch.el (hi-lock-regexp-okay):
14526         * calc/calc.el (math-zerop):
14527         * mail/uce.el (rmail-msgbeg, rmail-msgend):
14528         * term/w32-win.el (setup-default-fontset, set-fontset-font):
14529         Remove unused declarations.
14531 2009-09-30  Eric Ludlam  <zappo@gnu.org>
14533         * emacs-lisp/eieio.el (boolean-p): Delete.
14535 2009-09-30  Glenn Morris  <rgm@gnu.org>
14537         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
14539         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
14540         filename is not a string.
14542 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
14544         * files.el (safe-local-eval-forms): Fix typo.
14546 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
14548         * vc-hooks.el (vc-dir-buffers): New var.
14549         (vc-state-refresh): New function.
14550         (vc-state): Use it.
14551         (vc-after-save): Always ask the backend to recompute the new state.
14552         Always call vc-dir if necessary, using vc-dir-buffers.
14553         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
14554         Use vc-dir-buffers.
14555         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
14556         (vc-dir-prepare-status-buffer, vc-dir-update)
14557         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
14558         Don't call expand-file-name on default-directory.
14560 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
14562         * speedbar.el (speedbar-item-delete):
14563         * calc/calc-prog.el (calc-kbd-if):
14564         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
14566         * epa.el (epa-key-list-mode-map):
14567         * hi-lock.el (hi-lock-menu): Fix typos in menus.
14569         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
14570         (hs-show-hook): Fix typo in docstring.
14572 2009-09-29  Glenn Morris  <rgm@gnu.org>
14574         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
14575         file-name-nondirectory call preventing location of cedet files.
14576         (check-declare-verify): Use literal search rather than re-search.
14577         Add basic defmethod and defclass, and define-overloadable-function.
14579         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
14580         Use tramp-compat-file-attributes rather than nonexistent
14581         tramp-compat-handle-file-attributes.
14583         * Makefile.in (lisptagsfiles4): New.
14584         (AUTOGENEL): Add cedet loaddefs files.
14585         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
14586         (update-elclist, compile-always, backup-compiled-files)
14587         (bootstrap-clean): Add yet another directory level.
14588         (update-elclist): Use LC_COLLATE rather than COLLATE.
14589         (ELCFILES): Update, via `make update-elclist'.
14591 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
14593         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
14594         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
14595         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
14597 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
14599         * Makefile.in (lisptagsfiles3): Define.
14600         (TAGS, TAGS-LISP): Use it.
14601         (update-elclist): Add third directory level to look for elc files.
14602         (compile-always): Likewise.
14603         (backup-compiled-files): Likewise.
14604         (bootstrap-clean): Likewise.
14605         (ELCFILES): Update.
14607 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
14609         * Makefile.in (ELCFILES): Add CEDET files.
14611 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
14613         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
14615         * net/tramp.el (top): Require tramp-imap.
14617         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
14618         Use `tramp-compat-handle-file-attributes'.
14620 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
14622         * net/tramp-imap.el: New package.
14624 2009-09-28  Eric Ludlam  <zappo@gnu.org>
14626         * emacs-lisp/chart.el:
14627         * emacs-lisp/eieio-base.el:
14628         * emacs-lisp/eieio-comp.el:
14629         * emacs-lisp/eieio-custom.el:
14630         * emacs-lisp/eieio-datadebug.el:
14631         * emacs-lisp/eieio-opt.el:
14632         * emacs-lisp/eieio-speedbar.el:
14633         * emacs-lisp/eieio.el: New files.
14635 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14637         * whitespace.el (whitespace-trailing-regexp)
14638         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
14639         Fix doc string.
14641 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
14643         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
14644         menu.
14646         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
14647         menu-bar-ediff-menu.
14649         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
14650         define-overloadable-function.
14652         * progmodes/autoconf.el: Provide autoconf as well, so that this
14653         file can be `require'd.
14655         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
14657         * emacs-lisp/autoload.el (generated-autoload-feature)
14658         (generated-autoload-load-name): New vars.
14659         (autoload-rubric, autoload-generate-file-autoloads): Use them.
14660         (make-autoload): Recognize define-overloadable-function and
14661         defclass forms (for EIEIO).
14663         * Makefile.in (update-subdirs): Exclude cedet directory.
14665 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
14667         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
14669         * faces.el: Default light-background background for region face to
14670         ns_selection_color under NS.
14672 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
14674         * net/imap-hash.el: New library, see NEWS.
14676         * Makefile.in (ELCFILES): Add imap-hash.el.
14678 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
14680         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
14681         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
14682         * help-macro.el (make-help-screen): Avoid using an ambiguous function
14683         definition where the docstring could be taken for the return value.
14685 2009-09-26  Glenn Morris  <rgm@gnu.org>
14687         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
14688         Add option to only show images below a certain size.
14689         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
14690         save-excursion calls.
14692 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
14694         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
14695         subdirectories) and eieio.
14697 2009-09-26  Alan Mackenzie  <acm@muc.de>
14699         * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
14700         buggy bracketing.  (Bug#4289)
14702         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
14703         character constants (as case labels).  (Bug#4289)
14705 2009-09-25  Juri Linkov  <juri@jurta.org>
14707         * files.el (safe-local-eval-forms): Allow time-stamp in
14708         before-save-hook (Bug#4554).
14710 2009-09-25  Drew Adams  <drew.adams@oracle.com>
14712         * menu-bar.el (list-buffers-directory): Doc fix.
14714 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14716         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
14717         Try and avoid copying twice the same paragraph.
14718         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
14719         Remove save-excursion.
14720         (log-edit-changelog-entry): Do it here instead.
14722 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
14724         * bs.el (bs--get-file-name): Use `list-buffers-directory'
14725         when available, instead of hardcoding mode names.  Doc fix.
14727         * menu-bar.el (list-buffers-directory): Add docstring.
14728         Make automatically buffer-local.
14730         * dired.el (dired-mode):
14731         * files.el (cd-absolute):
14732         * pcvs.el (cvs-temp-buffer):
14733         * pcvs-util.el (cvs-get-buffer-create):
14734         * shell.el (shell-mode):
14735         * vc-dir.el (vc-dir-mode):
14736         Don't make `list-buffers-directory' buffer local.
14738 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
14740         * comint.el (comint-exec, comint-run, make-comint):
14741         Doc fixes (Bug#4542).
14743 2009-09-25  Glenn Morris  <rgm@gnu.org>
14745         * mail/rmailmm.el (rmail-mime): New custom group.
14746         Move all defcustoms in this file into this group.
14747         (rmail-mime-media-type-handlers-alist): Revert previous change.
14748         (rmail-mime-show-images): New option.
14749         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
14750         references to it, since it wasn't actually used for anything.
14751         (rmail-mime-insert-image): New function.
14752         (rmail-mime-image): Use rmail-mime-insert-image.
14753         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
14754         obey the value of `rmail-mime-show-images' option.  Print the size of
14755         attachments.
14757 2009-09-25  David Engster  <deng@randomsample.de>
14759         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
14761 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
14763         * whitespace.el: Does not highlight trailing spaces While point is
14764         at end of line.  Does not highligt spaces at beginning of buffer
14765         while point is at beginning of buffer.  Does not highlight spaces
14766         at end of buffer while point is at end of buffer.  (Bug#4177)
14767         New version 12.0.
14768         (whitespace-display-mappings): Adjust initialization.
14769         (whitespace-point, whitespace-font-lock-refontify): New vars.
14770         (whitespace-color-on, whitespace-color-off): Adjust code.
14771         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
14772         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
14773         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
14775 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
14777         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
14779         * textmodes/sgml-mode.el: Remove xml-mode alias.
14781         * files.el (auto-mode-alist, conf-mode-maybe)
14782         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
14784 2009-09-24  Alan Mackenzie  <acm@muc.de>
14786         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
14787         c-forward-conditionals, but it doesn't move point and doesn't set
14788         the mark.
14789         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
14790         (c-down-conditional-with-else, c-backward-conditional)
14791         (c-forward-conditional): Refactor to use c-scan-conditionals.
14793 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
14795         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
14796         (help-default-arg-highlight): Remove.
14797         (help-highlight-arg): New function.
14798         (help-do-arg-highlight): Use it.
14799         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
14801 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14803         * term.el (term-set-scroll-region, term-handle-ansi-escape):
14804         Undo last change, which didn't fix the problem and introduced others.
14806 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
14808         * progmodes/gdb-mi.el: Don't require speedbar.
14809         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
14811 2009-09-24  Glenn Morris  <rgm@gnu.org>
14813         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
14815         * term/ns-win.el (ns-reg-to-script): Define for compiler.
14817         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
14818         there is no newline after the final mime boundary.  (Bug#4539)
14819         Move markers on insertion so that any buttons inserted don't end up in
14820         the next part of a multipart message.
14821         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
14822         (rmail-mime-bulk-handler): Optionally handle images.
14823         (rmail-mime-image): New button action.
14824         (rmail-mime-image-handler): New function.
14825         (rmail-mime-mode): New mode.
14826         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
14828 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14830         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
14831         than just dropping elements from it (bug#4504).
14833         * term.el (term-set-scroll-region): Don't move cursor any more.
14834         (term-handle-ansi-escape): Call term-goto here instead.
14835         Suggested by Ivan Kanis <apple@kanis.eu>.
14837         * term.el: Require CL.
14838         (term-ansi-reset): New function.
14839         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
14840         (term-handle-colors-array): Simplify.
14842 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
14844         * allout.el (allout-overlay-interior-modification-handler)
14845         (allout-obtain-passphrase):
14846         * epa-file.el (epa-file-write-region):
14847         * ps-print.el (ps-begin-job):
14848         * vc-hooks.el (vc-toggle-read-only):
14849         * vc-rcs.el (vc-rcs-rollback):
14850         * vc-sccs.el (vc-sccs-rollback):
14851         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
14852         (vc-version-diff, vc-revert, vc-rollback):
14853         * wdired.el (wdired-check-kill-buffer):
14854         * emacs-lisp/authors.el (authors):
14855         * net/socks.el (socks-open-connection):
14856         * net/zeroconf.el (zeroconf-service-add-hook):
14857         * obsolete/vc-mcvs.el (vc-mcvs-register):
14858         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
14859         (gdb-select-frame):
14860         * progmodes/grep.el (lgrep, rgrep):
14861         * progmodes/idlw-help.el (idlwave-help-check-locations)
14862         (idlwave-help-html-link, idlwave-help-assistant-open-link):
14863         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
14864         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
14865         (reftex-toc-rename-label): Fix typos in error messages.
14867         * dired-aux.el (dired-do-shell-command): Reflow docstring.
14868         (dired-copy-how-to-fn): Doc fix.
14869         (dired-files-attributes, dired-read-shell-command):
14870         Fix typos in docstrings.
14872         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
14873         (dired-x-find-file-other-window): Reflow docstrings.
14874         (dired-omit-marker-char, dired-read-shell-command)
14875         (dired-x-submit-report): Fix typos in docstrings.
14877         * shell.el (shell-mode-hook):
14878         * view.el (View-scroll-line-forward):
14879         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
14880         Fix typos in docstrings.
14882         * net/dig.el (dig-invoke): Fix typo in docstring.
14883         (query-dig): Reflow docstring.
14885         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
14886         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
14887         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
14888         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
14889         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
14890         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
14891         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
14892         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
14893         (idlwave-completion-map, idlwave-current-indent)
14894         (idlwave-custom-ampersand-surround, idlwave-customize)
14895         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
14896         (idlwave-define-abbrev, idlwave-determine-class-special)
14897         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
14898         (idlwave-end-block-reg, idlwave-end-of-statement)
14899         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
14900         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
14901         (idlwave-explicit-class-listed, idlwave-file-header)
14902         (idlwave-fill-paragraph, idlwave-find-class-definition)
14903         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
14904         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
14905         (idlwave-in-quote, idlwave-indent-action-table)
14906         (idlwave-indent-expand-table, idlwave-indent-line)
14907         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
14908         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
14909         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
14910         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
14911         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
14912         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
14913         (idlwave-outlawed-buffers, idlwave-popup-select)
14914         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
14915         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
14916         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
14917         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
14918         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
14919         (idlwave-statement-type, idlwave-struct-skip)
14920         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
14921         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
14922         (idlwave-what-module-find-class): Fix typos in docstrings.
14923         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
14924         (idlwave-calculate-cont-indent, idlwave-expand-equal)
14925         (idlwave-find-module, idlwave-find-structure-definition)
14926         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
14927         (idlwave-list-load-path-shadows, idlwave-next-statement)
14928         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
14929         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
14930         (idlwave-template): Reflow docstrings.
14932         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
14933         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
14934         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
14935         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
14936         (idlwave-shell-display-line, idlwave-shell-display-wframe)
14937         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
14938         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
14939         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
14940         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
14941         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
14942         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
14943         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
14944         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
14945         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
14946         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
14947         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
14948         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
14949         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
14950         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
14951         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
14952         Fix typos in docstrings.
14953         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
14954         (idlwave-shell-hide-output, idlwave-shell-mode)
14955         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
14956         Reflow docstrings.
14958         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
14960 2009-09-24  Ivan Kanis  <apple@kanis.eu>
14962         * term.el (term-bold-attribute): New var.
14963         (term-handle-colors-array): Use it.
14965 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
14967         * progmodes/gdb-mi.el (gdb-version): New variable.
14968         (gdb-non-stop-handler): Set gdb-version.
14969         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
14970         Condition "--thread" option on gdb-version.
14971         (gdb-invalidate-threads): Remove unused argument.
14973 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14975         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
14976         to looking-back to avoid ridiculous slow down in large files (bug#4511).
14978 2009-09-23  Glenn Morris  <rgm@gnu.org>
14980         * mail/rmail.el (rmail-reply): Don't try to add a References header when
14981         replying to mail without References or Message-Id.  (Bug#4525)
14983 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
14985         * term/ns-win.el (ns-reg-to-script): New variable.
14987 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
14989         * epg.el (epg-wait-for-status): Preserve existing 'error results.
14991 2009-09-22  Sam Steingold  <sds@gnu.org>
14993         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
14994         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
14995         to 1 because hg returns status 1 when nothing is found.
14996         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
14998 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
15000         * textmodes/fill.el: Convert to utf-8 encoding.
15001         (fill-french-nobreak-p): Remove redundant » and « inherited from our
15002         pre-Unicode days.
15004         * add-log.el (change-log-fill-forward-paragraph): New function.
15005         (change-log-mode): Use it so fill-region DTRT.
15006         Set fill-indent-according-to-mode here rather than in
15007         change-log-fill-paragraph.
15008         (change-log-fill-paragraph): Remove.
15010 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
15012         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
15013         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
15015 2009-09-22  Glenn Morris  <rgm@gnu.org>
15017         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
15018         the scroll-bar scroll the calendar window rather than the buffer.
15020         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
15021         commands that move point (as opposed to scrolling).
15023         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
15025         * emacs-lisp/elint.el (elint): New custom group.
15026         (elint-log-buffer): Make it a defcustom.
15027         (elint-scan-preloaded, elint-ignored-warnings)
15028         (elint-directory-skip-re): New options.
15029         (elint-builtin-variables): Doc fix.
15030         (elint-preloaded-env): New variable.
15031         (elint-unknown-builtin-args): Add an entry for encode-time.
15032         (elint-extra-errors): Make it a variable rather than a constant.
15033         (elint-preloaded-skip-re): New constant.
15034         (elint-directory): Skip files matching elint-directory-skip-re.
15035         (elint-features): New variable, local to linted buffers.
15036         (elint-update-env): Initialize elint-features.  Possibly add
15037         elint-preloaded-env to the buffer's environment.
15038         (elint-get-top-forms): Bind elint-current-pos, for log messages.
15039         Skip quoted forms.
15040         (elint-init-form): New function, extracted from elint-init-env.
15041         Make non-list forms a warning rather than an error.
15042         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
15043         easy-menu-define, put that adds an error-condition, and provide.
15044         When requiring cl, also require cl-macs.  Really require cl, to handle
15045         some cl macros.  Store required libraries in the list elint-features,
15046         so as not to re-load them.  Treat cc-require like require.
15047         (elint-init-env): Call elint-init-form to do the work.
15048         Handle eval-and-compile and such like.
15049         (elint-add-required-env): Do not clear messages.
15050         (elint-special-forms): Add handlers for function, defalias, if, when,
15051         unless, and, or.
15052         (elint-form): Add optional argument to ignore elint-special-forms,
15053         useful to prevent recursive calls from handlers.  Doc fix.
15054         Respect elint-ignored-warnings.
15055         (elint-form): Respect elint-ignored-warnings.
15056         (elint-bound-variable, elint-bound-function): New variables.
15057         (elint-unbound-variable): Respect elint-bound-variable.
15058         (elint-get-args): Respect elint-bound-function.
15059         (elint-check-cond-form): Add some simple handling for (f)boundp and
15060         featurep tests.
15061         (elint-check-defalias-form): New handler.
15062         (elint-check-let-form): Make an empty let a warning rather than an
15063         error.
15064         (elint-check-setq-form): Make an empty setq a warning rather than an
15065         error.  Respect elint-ignored-warnings.
15066         (elint-check-defvar-form): Accept null doc-strings.
15067         (elint-check-conditional-form): New handler.  Does some simple-minded
15068         checking of featurep and (f)boundp tests.
15069         (elint-put-function-args): New function.
15070         (elint-initialize): Use elint-scan-doc-file rather than
15071         elint-find-builtin-variables.  Use elint-put-function-args.
15072         Possibly scan preloaded-file-list.
15073         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
15074         extend to handle functions as well.
15076 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
15078         * linum.el (linum-delete-overlays, linum-update-window):
15079         Do not modify the right margin.  (Bug#3971)
15081 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
15083         * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
15084         nxml-mode instead of xml-mode.
15086 2009-09-21  Kevin Ryde  <user42@zip.com.au>
15088         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
15090 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15092         * net/dig.el (dig-mode): Use define-derived-mode.
15094 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
15096         * vc-dispatcher.el (vc-do-command): Return the process object in
15097         the asynchronous case.  Use when instead of if.  Do not run
15098         vc-exec-after to display a message if not enabled.  (Bug#4463)
15100         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
15101         properties to the stash strings.
15102         (vc-git-stash-list): Return a list of strings.
15103         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
15104         (vc-git-stash-show-at-point): New functions.
15105         (vc-git-stash-map): New keymap.
15107         * register.el (ctl-x-r-map): Define the keys here instead of
15108         using autoload.
15110 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
15112         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
15113         list, to workaround performance problem (bug#4485).
15115 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
15117         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
15119 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
15121         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
15122         Document that this option is not recommended to use.
15124 2009-09-19  Glenn Morris  <rgm@gnu.org>
15126         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
15127         variable `var'.
15129         * calc/calc-alg.el (var):
15130         * calc/calcalg2.el (var): Define for compiler.
15132 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
15134         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
15135         Doc fix (Bug#3932).
15137         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
15139         * time-stamp.el (time-stamp-month-dd-yyyy)
15140         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
15141         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
15142         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
15143         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
15144         Remove functions that have been obsolete since 1995 (Bug#4436).
15146         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
15147         indent buffer only if called interactively (Bug#4452).
15149 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
15150             Eli Zaretskii  <eliz@gnu.org>
15152         This fixes bug#4197 (merged to bug#865, though not identical).
15153         * server.el (server-auth-dir): Add docstring note about FAT32.
15154         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
15155         but warn against using them.
15157 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
15159         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
15160         older GDB where there is no has_more field.
15162 2009-09-19  Glenn Morris  <rgm@gnu.org>
15164         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
15166 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
15168         * files.el (auto-mode-alist): Change default for XML files to nXML
15169         mode (Bug#4169).
15171 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
15173         * server.el (server-ensure-safe-dir): Pass 'integer
15174         to `file-attributes', as suggested.
15176 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
15178         * dired-aux.el (dired-query-alist): Remove spurious backslash.
15179         (dired-query): Use read-key.
15181 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
15183         * cus-start.el (ns-use-qd-smoothing): Remove.
15185 2009-09-18  Glenn Morris  <rgm@gnu.org>
15187         * allout.el (top-level): Remove unnecessary progn.
15189         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
15191         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
15192         definition of abbrev table.
15194         * speedbar.el (speedbar-track-mouse):
15195         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
15196         * net/eudc.el (eudc-expand-inline):
15197         * net/newst-backend.el (newsticker--cache-read-feed):
15198         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
15199         condition-case handlers.
15201 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
15203         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
15204         (gdb-var-list): Add an element for has_more field.
15205         (gdb-non-stop-handler): Enable pretty printing for STL containers.
15206         (gdb-var-create-handler, gdb-var-list-children-handler-1)
15207         (gdb-var-update-handler-1): Parse output of dynamic variable
15208         objects (STL containers).
15209         (gdb-var-delete-1): Pass var1 as an explicit second argument.
15210         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
15212         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
15213         gdb-var-list.
15214         (gud-speedbar-buttons): Make node expandable if expression "has more"
15215         children.
15217 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
15219         * startup.el (emacs-quick-startup): Remove variable and all uses.
15220         (command-line): Set `inhibit-x-resources' instead.
15221         (command-line-1): Use `inhibit-x-resources' instead.
15223 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
15225         * subr.el: Fix last change to avoid using the `unless' macro,
15226         which breaks bootstrapping.
15228 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15230         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
15231         extended definitions, in case we reload subr.el after having
15232         loaded CL.
15233         (eval-next-after-load): Mark as obsolete.
15235 2009-09-17  Juri Linkov  <juri@jurta.org>
15237         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
15238         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
15239         (menu-bar-showhide-menu, menu-bar-tools-menu)
15240         (menu-bar-describe-menu, menu-bar-help-menu)
15241         (minibuffer-local-completion-map, minibuffer-local-map):
15242         Fix list quoting.
15244 2009-09-17  Glenn Morris  <rgm@gnu.org>
15246         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
15247         arguments, whether or not it has a handler.
15249         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
15251         * simple.el (hard-newline): Give it a doc-string.
15253         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15254         (lisp-mode-syntax-table): Give them doc-strings.
15256 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
15258         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
15259         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
15260         (menu-bar-options-menu, menu-bar-showhide-menu)
15261         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
15262         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
15263         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
15264         (menu-bar-options-menu, menu-bar-tools-menu)
15265         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
15266         (menu-bar-help-menu):
15267         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
15268         string arguments.
15270         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
15271         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
15272         calls for the menu names and :help.
15274 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15276         * mouse.el (minor-mode-menu-from-indicator): Pay attention
15277         to :minor-mode-function (bug#4455).
15279 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15281         * startup.el (command-line): Initialize the window-system after
15282         processing the command-line.
15284         * textmodes/page.el (what-page): Make sure we don't inf-loop if
15285         page-delimiter matches the empty string.
15287 2009-09-16  Glenn Morris  <rgm@gnu.org>
15289         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
15290         byte-compile-not-obsolete-var.  It's a list now.
15291         (byte-compile-not-obsolete-funcs): New variable.
15292         (byte-compile-warn-obsolete): Don't warn about functions if they are in
15293         byte-compile-not-obsolete-funcs.
15294         (byte-compile-variable-ref, byte-compile-defvar): Update for
15295         byte-compile-not-obsolete-vars name-change and list nature.
15296         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
15297         and variables behind (f)boundp tests.
15298         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
15300 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
15302         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
15304 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15306         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
15307         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
15308         Don't autoload.
15310 2009-09-15  Stephen Eglen  <stephen@gnu.org>
15312         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
15313         the virtual-buffers, use the name of the buffer specified by
15314         find-file-noselect, as the match may be a symlink.  (This was a
15315         problem if the target and the symlink had different names.)
15317 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15319         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
15321         * desktop.el (desktop-path): Check user-emacs-directory.
15323         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
15325         * loadup.el: Use after-load-functions to GC after loading each file.
15326         Remove the explicit GC calls that used to be sprinkled around.
15328         * subr.el (after-load-functions): New hook.
15329         (do-after-load-evaluation): Run it.  Use string-match-p to detect
15330         `obsolete' packages, rather than painfully extracting the relevant
15331         directory name.
15333 2009-09-15  Glenn Morris  <rgm@gnu.org>
15335         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
15336         free variable `doc'.
15338         * dired.el (dired-mode-map): Add menu entry for async shell command.
15340         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
15341         variables, also consider the .elc files, since the .el files are
15342         normally gzipped (subsequent code locates the .el.gz from the .elc).
15344         * calc/calc-prog.el (arglist): Define for compiler.
15346         * calendar/diary-lib.el (diary-display-function): Change the default to
15347         fancy display.
15348         (body): Define for compiler.
15350         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
15351         (byte-compile-file-form, byte-compile-lambda)
15352         (byte-compile-top-level-body, byte-compile-form)
15353         (byte-compile-variable-ref, byte-compile-setq)
15354         (byte-compile-setq-default, byte-compile-body)
15355         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
15356         (batch-byte-compile): Give some more local variables with common names
15357         a "bytecomp-" prefix to avoid masking warnings about free variables.
15359         * startup.el (command-line-1): Give local variables with common names a
15360         distinguishing prefix, so as not to hide free variable warnings during
15361         bootstrap.
15363         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
15364         clever and add a suffix to make a unique name, just let the user decide
15365         whether or not to overwrite it.  If the input is a directory, write the
15366         default filename to that directory.  (Bug#4388)
15367         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
15368         is a filename-as-a-directory.
15370 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15372         * textmodes/page.el (what-page): Don't move to beginning of line.
15373         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
15375 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
15377         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
15379 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
15381         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
15382         * help.el (help-for-help-internal): Add purecopy calls for text.
15384         * vc.el (top): print-log method now takes an optional SHORTLOG
15385         argument.  Add a new method: root.
15386         (vc-root-diff, vc-print-root-log): New functions.
15387         (vc-log-short-style): New variable.
15388         (vc-print-log-internal): Add support for showing short logs.
15390         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
15391         vc-print-root-log and vc-print-root-diff.
15393         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
15394         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
15395         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
15396         short logs.
15398         * vc-cvs.el (vc-cvs-print-log):
15399         * vc-mtn.el (vc-mtn-print-log):
15400         * vc-rcs.el (vc-rcs-print-log):
15401         * vc-sccs.el (vc-sccs-print-log):
15402         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
15403         that is ignored for now.
15405         * vc-mtn.el (vc-mtn-annotate-command):
15406         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
15408 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15410         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
15411         to function-key-map, and give them ascii-character property.
15412         * term/x-win.el (x-alternatives-map):
15413         * term/ns-win.el (ns-alternatives-map):
15414         * term/internal.el (msdos-key-remapping-map):
15415         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
15417 2009-09-14  Glenn Morris  <rgm@gnu.org>
15419         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
15420         temp-buffers (2009-09-12).
15422 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15424         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
15425         the new read-key function.
15427 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
15429         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
15430         is defined (Bug#4405).
15432 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
15434         * recentf.el (recentf-cleanup): Use a hash table to find
15435         duplicates (Bug#4407).
15437 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
15439         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
15440         kp-0 to ascii equivalents (Bug#4325).
15442 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
15444         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
15446         * eshell/em-hist.el:
15447         * eshell/em-dirs.el (eshell-complete-user-reference):
15448         Declare pcomplete functions and variables to avoid compiler warnings.
15450 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
15452         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
15453         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
15454         * eshell/em-alias.el (eshell-aliases-file):
15455         * eshell/em-hist.el (eshell-history-file-name):
15456         Use expand-file-name instead of concat to make file names (Bug#4308).
15458 2009-09-13  Glenn Morris  <rgm@gnu.org>
15460         * ediff-merg.el (ediff-do-merge):
15461         * filesets.el (filesets-run-cmd):
15462         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
15463         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
15464         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
15465         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
15466         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
15467         Replace empty `let's with `progn'.
15469 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15471         * mail/sendmail.el (send-mail-function):
15472         * tooltip.el (tooltip-mode):
15473         * simple.el (transient-mark-mode):
15474         * rfn-eshadow.el (file-name-shadow-mode):
15475         * frame.el (blink-cursor-mode):
15476         * font-core.el (global-font-lock-mode):
15477         * files.el (temporary-file-directory)
15478         (small-temporary-file-directory, auto-save-file-name-transforms):
15479         * epa-hook.el (auto-encryption-mode):
15480         * composite.el (global-auto-composition-mode):
15481         Use custom-initialize-delay.
15482         * startup.el (command-line): Don't explicitly call
15483         custom-reevaluate-setting for all the above vars.
15484         * custom.el (custom-initialize-safe-set)
15485         (custom-initialize-safe-default): Delete.
15487 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15489         * term/x-win.el (x-initialize-window-system):
15490         * term/w32-win.el (w32-initialize-window-system):
15491         * term/ns-win.el (ns-initialize-window-system): Don't call
15492         mouse-wheel-mode since it's enabled globally by default already.
15494         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
15495         actually define the variable, but only silences the byte-compiler.
15496         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
15497         before looking it up.
15498         (mouse-wheel-scroll-amount): Also reset the bindings if this value
15499         is changed.
15501 2009-09-12  Glenn Morris  <rgm@gnu.org>
15503         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
15504         1000.
15505         (elint-add-required-env): Don't beep on error.
15506         (elint-forms): In case of error, return ENV unchanged.
15507         (elint-init-env): Skip non-list forms.
15508         (elint-log): Handle unknown file positions.
15510 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
15512         * epg.el (epg-make-context): Add autoload cookie.
15513         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
15514         (epg-decrypt-string, epg-start-verify, epg-verify-file)
15515         (epg-verify-string, epg-start-sign, epg-sign-file)
15516         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
15517         (epg-encrypt-string, epg-start-export-keys)
15518         (epg-export-keys-to-file, epg-export-keys-to-string)
15519         (epg-start-import-keys, epg-import-keys-from-file)
15520         (epg-import-keys-from-string, epg-start-receive-keys)
15521         (epg-receive-keys, epg-import-keys-from-server)
15522         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
15523         (epg-sign-keys, epg-start-generate-key)
15524         (epg-generate-key-from-file, epg-generate-key-from-string):
15525         Remove autoload cookie.
15527 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
15529         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
15530         reevaluation of trash-directory.
15532         * mwheel.el: Fix last change.
15533         (mouse-wheel-mode): New defvar.
15534         (mouse-wheel-mode): Remove autoload cookie.
15536 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15538         * mwheel.el (mwheel-installed-bindings): New var.
15539         (mouse-wheel-mode): Use it, so as to make sure we really remove all
15540         the bindings we set last time.  Use custom-initialize-delay.
15541         * loadup.el: Load mwheel after term/*-win.el.
15542         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
15543         and mouse-wheel-up-event now that their first evaluation is done
15544         sufficiently late to be correct.
15546         * startup.el (tutorial-directory): Make it a defcustom.
15547         Use custom-initialize-delay rather than eval-at-startup to set it.
15548         * image.el (image-load-path): Make it a defcustom.
15549         Use custom-initialize-delay rather than eval-at-startup to set it.
15550         * subr.el (eval-at-startup): Remove.
15551         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
15553         * subr.el (do-after-load-evaluation): Warn the user after loading an
15554         obsolete package.
15556 2009-09-12  Glenn Morris  <rgm@gnu.org>
15558         * proced.el (proced-mark-alt): Remove alias.
15559         (proced-mode-map): Remove proced-mark-alt.
15561         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
15562         Elint file and directory.  Remove initialization entry.
15564         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
15565         commands.
15566         (elint-current-buffer): Set mode-line-process.
15567         (elint-init-env): Handle define-derived-mode.
15568         Fix declare-function with unspecified arglist.  Guard against odd
15569         defalias statements (eg iso-insert's 8859-1-map).
15570         (elint-add-required-env): Use a temp buffer.
15571         (elint-form): Just print the function/macro name, not the whole form.
15572         Return env unchanged if we fail to parse a macro.
15573         (elint-forms): Guard against parse errors.
15574         (elint-output): New function, to handle batch mode.
15575         (elint-log-message): Add optional argument.  Use elint-output.
15576         (elint-set-mode-line): New function.
15578 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
15580         * emacs-lisp/elp.el (elp-not-profilable): Add more
15581         functions (Bug#4233).
15583 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
15585         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
15586         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
15588 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
15590         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
15591         (gdb-var-list-children): Use json parsing.
15593 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
15595         * progmodes/js.el (js--proper-indentation): Handle the case where
15596         char-before is null.  Reported by Deniz Dogan.
15598 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
15600         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
15602 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
15604         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
15605         (epg-digest-algorithm-alist): Add SHA224.
15606         (epg-context-set-passphrase-callback)
15607         (epg-context-set-progress-callback): Add description about
15608         callback function.
15610 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15612         * custom.el (custom-delayed-init-variables): New var.
15613         (custom-initialize-delay): New function.
15614         * startup.el (command-line): "Re"evaluate all vars in
15615         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
15616         explicitly any more.
15617         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
15618         to avoid creating a ~/.emacs.d at build-time (bug#4347).
15620         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
15622 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
15624         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
15625         (gdb-var-update-handler): Use json parsing.
15627 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
15629         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
15630         decode annotated text, regardless of language environment.  (Bug#2741)
15632 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15634         * Makefile.in (autoloads): Make rmail.el writable as well.
15636 2009-09-11  Glenn Morris  <rgm@gnu.org>
15638         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
15639         loaddefs.el.
15640         * dired.el: Regenerate with extracted autoloads.
15641         * Makefile.in (autoloads): Make dired.el writable.
15643         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
15644         * ibuffer.el: Regenerate with extracted autoloads.
15645         * Makefile.in (autoloads): Make ibuffer.el writable.
15647         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
15648         * version.el (emacs-copyright, emacs-major-version)
15649         (emacs-minor-version): Reformat doc-strings for make-docfile.
15651         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
15652         functions and variables, since they must be stuff specific to some other
15653         platform.
15654         (apropos-print): Make mouse-click message less specific about button.
15656         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
15657         that records where a macro was defined.
15658         * help-fns.el (describe-function-1): Mention if a function has a
15659         compiler-macro.
15660         * help-mode.el (help-function-cmacro): New button.
15662         * locate.el (top-level): Always require dired.
15663         (locate-mode-map): Initialize inside the defvar.
15665         * net/ange-ftp.el (dired-compress-file): Declare.
15666         (ange-ftp-dired-compress-file): Add doc string.
15668         * term/ns-win.el (x-display-name, x-setup-function-keys):
15669         Unify doc-strings with X versions.
15671 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15673         * emulation/crisp.el (crisp-mode-map): Move initialization
15674         into declaration.
15675         (crisp-mode): Use define-minor-mode.
15677         * progmodes/xscheme.el (xscheme-evaluation-commands):
15678         Put a :advertised-binding property rather than using
15679         advertised-xscheme-send-previous-expression.
15680         (advertised-xscheme-send-previous-expression): Declare obsolete.
15681         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
15682         `advertised-undo'.
15683         (crisp-mode): Add corresponding bindings to
15684         undo's :advertised-binding instead.
15685         * dired.el (dired-mode-map): Put a :advertised-binding property rather
15686         than using dired-advertised-find-file.
15687         (dired-advertised-find-file):
15688         * simple.el (advertised-undo):
15689         * wid-edit.el (advertised-widget-backward): Declare obsolete.
15690         (widget-keymap): Put a :advertised-binding property rather
15691         than using advertised-widget-backward.
15692         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
15693         than using advertised-undo.
15694         * tutorial.el (tutorial--default-keys): Adjust accordingly.
15696 2009-09-10  Simon South  <ssouth@slowcomputing.org>
15698         * progmodes/delphi.el (delphi-tab): Indent region when Transient
15699         Mark mode is enabled and region is active; otherwise indent or
15700         insert TAB as usual.
15701         (delphi-mode): Update description of TAB-key binding.
15703 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
15705         * subr.el (define-key-rebound-commands): Mark obsolete.
15706         * startup.el (precompute-menubar-bindings): Remove.
15707         (normal-top-level): Remove obsolete code that tried to precompute
15708         menubar bindings.
15709         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
15710         define-key-rebound-commands and precompute-menubar-bindings.
15712 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
15714         * net/imap.el (imap-interactive-login): Better messages.
15715         (imap-open): Fix bug with renamed buffer on reconnect.
15716         (imap-authenticate): Add buffer-local imap-last-authenticator variable
15717         for easier debugging and cleaner code.  On successful (guessed based on
15718         server capabilities) secondary authentication, set imap-state
15719         correctly.
15720         (imap-last-authenticator): Define imap-last-authenticator as a variable
15721         to avoid warnings.
15723 2009-09-10  Glenn Morris  <rgm@gnu.org>
15725         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
15727         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
15728         (byte-compile-file-form-autoload): Don't warn about unknown functions
15729         where the autoload statement comes after the use.
15730         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
15731         that any handlers inside the body (eg require) are in turn respected.
15733         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
15734         effects.
15736         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
15737         and syntax and abbrev tables basic docs, if they don't have any.
15739         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
15741         * international/mule-cmds.el (top-level): Require cl when compiling.
15742         (view-hello-file): Use default-value rather than
15743         default-enable-multibyte-characters.
15745         * progmodes/fortran.el: Move all safe and risky properties into the
15746         defcustoms.
15748         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
15749         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
15750         * mail/undigest.el:
15751         Put autoloads in rmail.el rather than loaddefs.el.
15752         * mail/rmail.el: Regenerate with extracted autoloads.
15754         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
15755         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
15757 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
15759         Reported in thread for Bug#4375.
15760         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
15761         "-data-evaluate-expression" instead of print.
15762         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
15763         (gdb-tooltip-print): Parse output from above MI command.
15764         (gdb): Revert 2009-08-11 change.  User should detach inferior
15765         manually.
15767         Remove the word "separate" from IO functions as inferior
15768         output is now never displayed in the GUD buffer.
15770 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
15772         * startup.el (command-line-normalize-file-name): On Windows and
15773         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
15775 2009-09-10  Juri Linkov  <juri@jurta.org>
15777         * isearch.el (isearch-text-char-description): Propertize escape
15778         character sequences with the `escape-glyph' face.  (Bug#4344)
15780         * simple.el (shell-command): Set asynchronous process filter to
15781         `comint-output-filter'.  (Bug#4343)
15783         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
15784         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
15785         the list.  Move "asm" to the bottom.
15786         (grep-find-ignored-directories): Add `choice' with nil value
15787         to empty the list easily.
15788         (grep-find-ignored-files): New option.
15789         (grep-files-history): Set to nil by default instead of '("ch" "el").
15790         (grep-compute-defaults): Add "<X>" to `grep-template'.
15791         (grep-read-files): Bind new local variables `default-alias' and
15792         `default-extension'.  Use a list of default values for the file prompt.
15793         (lgrep): Add `--exclude=' command line options composed from
15794         `grep-find-ignored-files'.
15795         (rgrep): Add `-name' command line options composed from
15796         `grep-find-ignored-files'.  (Bug#4301)
15798 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
15800         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
15801         (bug#4368).
15803 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
15805         * calendar/time-date.el (autoload):
15806         Expand define-obsolete-function-alias into defalias and make-obsolete
15807         for old Emacsen that Gnus supports.
15808         (with-no-warnings): Define it for old Emacsen.
15809         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
15810         is available.
15811         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
15812         float-time is available; suppress compile warning for time-to-seconds.
15814 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
15816         * net/imap.el (imap-message-map): Docstring fix.
15818 2009-09-09  Glenn Morris  <rgm@gnu.org>
15820         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
15821         line numbers too.  (Bug#4374)
15823 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
15825         * smerge-mode.el (smerge-remove-props, smerge-refine):
15826         Use with-silent-modifications (bug#4342).
15828         * subr.el (with-silent-modifications): New macro.
15830 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
15832         * files.el (top-level): Require `cl' when compiling.
15834 2009-09-07  Glenn Morris  <rgm@gnu.org>
15836         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
15838         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
15839         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
15841 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
15843         * vc-git.el (vc-git-annotate-command): Use separator to parse
15844         arguments correctly.
15846 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
15848         * proced.el (proced-mode): Doc fix.
15850 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
15852         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
15853         lstat fails.
15854         (tramp-do-file-attributes-with-ls): Check for file existence at
15855         remote end.
15856         (tramp-do-file-attributes-with-stat): Likewise.
15857         (tramp-convert-file-attributes): Return nil when attr is nil.
15859 2009-09-05  Glenn Morris  <rgm@gnu.org>
15861         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
15862         properties to this button.
15863         (diary-fancy-display): Don't extend the button to the final newline.
15864         (diary-fancy-display-mode): Continue to define "q" as a local key.
15866         * calendar/cal-china.el (holiday-chinese): Make it slightly more
15867         efficient.
15869         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
15871         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
15872         (byte-compile-dest-file-function): New option.
15873         (byte-compile-dest-file): Doc fix.
15874         Obey byte-compile-dest-file-function.
15875         (byte-compile-cl-file-p): New function.
15876         (byte-compile-eval): Only suppress noruntime warnings about cl functions
15877         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
15878         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
15879         than for file being previously loaded.
15880         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
15881         (byte-compile-file-form-require): Handle the case where requiring a file
15882         indirectly causes CL to be loaded.
15884 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
15886         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
15887         before killing the old buffer, since by the time `kill-buffer' is
15888         run so many buffer variables have been set to nil that it may not
15889         behave as expected.  (Bug#4061)
15891 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
15893         * files.el (find-alternate-file): If the old buffer is modified
15894         and visiting a file, behave similarly to `kill-buffer' when
15895         killing it, thus reverting to the pre-1.878 behavior; see
15896         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
15897         for discussion.  Also, consult `buffer-file-name' as a variable
15898         not as a function, for consistency with the rest of the code.
15900 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
15902         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
15903         also when adding a new directory.
15905         * net/tramp-compat.el (tramp-compat-line-beginning-position): New
15906         defun.
15908 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15910         * files.el (locate-file-completion-table): Make it provide boundary
15911         information, so partial-completion works better.
15913 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
15915         * mail/footnote.el (Footnote-text-under-cursor):
15916         Check footnote-text-marker-alist before using it (bug#4324).
15918 2009-09-04  Glenn Morris  <rgm@gnu.org>
15920         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
15921         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
15922         * play/solitaire.el, play/tetris.el:
15923         Remove leading * from defcustom and defface docs.
15925         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
15926         necessary.
15927         (diary-fancy-overriding-map): New variable.
15928         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
15929         Use view-mode.
15931         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
15932         goto-line.
15934 2009-09-03  Glenn Morris  <rgm@gnu.org>
15936         * arc-mode.el (archive-mode):
15937         * dos-fns.el (set-default-process-coding-system):
15938         * man.el (Man-getpage-in-background):
15939         * menu-bar.el (menu-bar-describe-menu):
15940         * server.el (server-process-filter):
15941         * startup.el (command-line):
15942         * tar-mode.el (tar-header-block-tokenize, tar-extract):
15943         * w32-fns.el (set-default-process-coding-system):
15944         * x-dnd.el (x-dnd-handle-file-name):
15945         * international/mule-cmds.el (mule-menu-keymap)
15946         (set-default-coding-systems, language-info-alist, set-language-info)
15947         (set-language-environment, standard-display-european-internal)
15948         (set-locale-environment):
15949         * international/mule-diag.el (mule-diag):
15950         * mail/emacsbug.el (report-emacs-bug):
15951         * mail/rmail.el (rmail-mode):
15952         * mail/sendmail.el (mail-setup):
15953         Use default-value rather than default-enable-multibyte-characters.
15955         * progmodes/f90.el: Move all safe properties into the defcustoms.
15956         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
15958         * calendar/appt.el (appt-check):
15959         * calendar/diary-lib.el (diary-set-header, diary-live-p)
15960         (diary-check-diary-file, diary-list-entries)
15961         (diary-include-other-diary-files, diary-simple-display)
15962         (diary-fancy-display, diary-print-entries)
15963         (diary-mark-included-diary-files, diary-make-entry):
15964         Don't call substitute-in-file-name on diary-file.
15966 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
15967             Stefan Monnier  <monnier@iro.umontreal.ca>
15969         * mail/footnote.el (footnote-prefix): Make it a defcustom.
15970         (footnote-mode-map): Move initialization into the declaration.
15971         (footnote-minor-mode-map): Define it rather than changing global-map.
15972         (footnote-mode): Use define-minor-mode.
15974 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
15976         * net/tramp.el (tramp-handle-file-attributes-with-ls)
15977         (tramp-do-file-attributes-with-perl)
15978         (tramp-do-file-attributes-with-stat): Rename from
15979         `tramp-handle-file-attributes-with-*'.
15980         (tramp-handle-file-attributes): Use them.
15981         (tramp-do-directory-files-and-attributes-with-perl)
15982         (tramp-do-directory-files-and-attributes-with-stat): Rename from
15983         `tramp-handle-directory-files-and-attributes-with-*'.
15984         (tramp-handle-directory-files-and-attributes): Use them.
15985         (tramp-method-out-of-band-p): Additional parameter SIZE.
15986         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
15987         (tramp-handle-write-region): Use it.
15988         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
15989         (tramp-handle-vc-registered): Check, whether the first run did
15990         return files to be tested.
15991         (tramp-advice-make-auto-save-file-name): Do not call directly
15992         `tramp-handle-make-auto-save-file-name', because this would bypass
15993         the locking mechanism.
15995         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
15996         (file-remote-p, process-file, start-file-process, set-file-times)
15997         (tramp-compat-file-attributes): Compatibility functions shall not
15998         call directly `tramp-handle-*', because this would bypass the
15999         locking mechanism.
16000         (tramp-compat-number-sequence): New defun.
16002 2009-09-02  Glenn Morris  <rgm@gnu.org>
16004         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
16005         alias for float-time.
16006         (time-to-number-of-days): In Emacs, use float-time.
16007         * net/newst-backend.el (time-add): Suppress warnings from compat
16008         function.
16009         * time.el (emacs-uptime, emacs-init-time):
16010         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
16011         Use float-time rather than time-to-seconds.
16013         * minibuffer.el (completion-initials-expand): Fix typo.
16015         * faces.el (modeline, modeline-inactive, modeline-highlight)
16016         (modeline-buffer-id):
16017         * info.el (info-menu-5): Mark these face aliases as obsolete.
16019 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
16021         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
16022         space ...
16023         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
16024         no "--thread" option.
16025         (gdb-stopped): Don't print "Switched to thread" message when it is
16026         unchanged.
16028 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16030         * minibuffer.el (completion-try-completion)
16031         (completion-all-completions): Remove ill-defined (and
16032         mistakenly installed and luckily never used nor documented)
16033         `completion-styles' property.
16034         (completion-initials-expand, completion-initials-all-completions)
16035         (completion-initials-try-completion): New functions.
16036         (completion-styles-alist): Add doc to each entry.
16037         Add new `initials' entry.
16039 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
16041         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
16042         MI command -var-evaluate-expression.
16043         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
16044         and tweak for case of string child.
16045         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
16047 2009-09-01  Glenn Morris  <rgm@gnu.org>
16049         * add-log.el (change-log-date-face, change-log-name-face)
16050         (change-log-email-face, change-log-file-face, change-log-list-face)
16051         (change-log-conditionals-face, change-log-function-face)
16052         (change-log-acknowledgement-face):
16053         * cus-edit.el (custom-invalid-face, custom-rogue-face)
16054         (custom-modified-face, custom-set-face, custom-changed-face)
16055         (custom-saved-face, custom-button-face, custom-button-pressed-face)
16056         (custom-documentation-face, custom-state-face, custom-comment-face)
16057         (custom-comment-tag-face, custom-variable-tag-face)
16058         (custom-variable-button-face, custom-face-tag-face)
16059         (custom-group-tag-face-1, custom-group-tag-face):
16060         * diff-mode.el (diff-header-face, diff-file-header-face)
16061         (diff-index-face, diff-hunk-header-face, diff-removed-face)
16062         (diff-added-face, diff-changed-face, diff-function-face)
16063         (diff-context-face, diff-nonexistent-face):
16064         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
16065         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
16066         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
16067         (Info-title-4-face):
16068         * isearch.el (isearch-lazy-highlight-face):
16069         * log-view.el (log-view-file-face, log-view-message-face):
16070         * paren.el (show-paren-match-face, show-paren-mismatch-face):
16071         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
16072         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
16073         (cvs-msg-face):
16074         * smerge-mode.el (smerge-mine-face, smerge-other-face)
16075         (smerge-base-face, smerge-markers-face):
16076         * wid-edit.el (widget-documentation-face, widget-button-face)
16077         (widget-field-face, widget-single-line-field-face)
16078         (widget-inactive-face, widget-button-pressed-face):
16079         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
16080         (woman-addition-face):
16081         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
16082         (eshell-ls-executable-face, eshell-ls-readonly-face)
16083         (eshell-ls-unreadable-face, eshell-ls-special-face)
16084         (eshell-ls-missing-face, eshell-ls-archive-face)
16085         (eshell-ls-backup-face, eshell-ls-product-face)
16086         (eshell-ls-clutter-face):
16087         * eshell/em-prompt.el (eshell-prompt-face):
16088         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
16089         * obsolete/old-whitespace.el (whitespace-highlight-face):
16090         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
16091         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
16092         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
16093         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
16094         (antlr-font-lock-literal-face):
16095         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
16096         (ebrowse-root-class-face, ebrowse-file-name-face)
16097         (ebrowse-default-face, ebrowse-member-attribute-face)
16098         (ebrowse-member-class-face, ebrowse-progress-face):
16099         * progmodes/make-mode.el (makefile-space-face):
16100         * progmodes/sh-script.el (sh-heredoc-face):
16101         * textmodes/flyspell.el (flyspell-incorrect-face)
16102         (flyspell-duplicate-face):
16103         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
16104         * textmodes/texinfo.el (texinfo-heading-face):
16105         Mark face aliases with "-face" suffix as obsolete.
16107         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
16108         compiler.
16110         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
16111         (eudc-bob-sound-menu): Use defvar rather than defconst, since
16112         easy-menu-define wants to modify these.
16114         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
16116         * net/browse-url.el (browse-url-file-url):
16117         * term/internal.el (dos-codepage-setup):
16118         Use default-value rather than default-enable-multibyte-characters.
16120         * progmodes/etags.el (etags-goto-tag-location):
16121         * progmodes/flymake.el (flymake-highlight-line)
16122         (flymake-goto-file-and-line, flymake-goto-line):
16123         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
16124         (gdb-goto-breakpoint):
16125         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
16126         * progmodes/python.el (python-find-function)
16127         (python-pdbtrack-track-stack-file):
16128         * progmodes/verilog-mode.el (verilog-surelint-off):
16129         * term/ns-win.el (ns-open-file-select-line):
16130         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
16131         Use forward-line rather than goto-line.
16133         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
16134         * textmodes/reftex-index.el (reftex-display-index):
16135         * textmodes/reftex-ref.el (reftex-offer-label-menu):
16136         * textmodes/reftex-toc.el (reftex-toc):
16137         Remove unnecessary bindings of default-major-mode (all are followed by
16138         major-mode check and possible mode switch).
16140 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
16142         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16143         Handle watchpoints (bug#4282).
16144         (def-gdb-thread-buffer-command): Enable thread to be selected by
16145         clicking without selecting threads buffer first.
16146         (gdb-current-context-command): Use selected frame so that "up",
16147         "down" etc work in the GUD buffer.
16148         (gdb-update): Find selected frame before rendering stack buffer.
16149         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
16151 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16153         * progmodes/sym-comp.el (displayed-completions): Remove.
16154         (symbol-complete): Use minibuffer-complete.
16156 2009-08-31  Glenn Morris  <rgm@gnu.org>
16158         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
16160         * apropos.el (apropos-symbols-internal):
16161         Handle (obsolete) face aliases.
16163         * faces.el (describe-face): Adjust the output format to be more like
16164         describe-variable, and to mention (obsolete) face aliases.
16165         Adjust the whitespace so that help-setup-xref works.
16167         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
16168         * calendar/diary-lib.el (diary-button-face):
16169         Mark these face aliases as obsolete.
16171         * calendar/calendar.el (calendar-today): Doc fix.
16173 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
16175         * progmodes/gdb-mi.el (gdb-control-all-threads)
16176         (gdb-control-current-thread): Force tool bar update.
16177         (gdb-non-stop-handler): New function.
16178         (gdb-init-1): Use it to test if non-stop mode is supported.
16179         Remove unused gdbmi buffer type.
16181 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
16183         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
16184         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
16186 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
16188         * comint.el (comint-exec-1): Check command is non-null first.
16189         Part of gdb-mi.el change (2009-08-28).
16191 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16193         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
16195 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
16197         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
16198         instead of `dolist' to avoid a recursive require when bootstrapping.
16200 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16202         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
16204         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
16206         * net/imap.el (imap-send-command): Simplify.
16207         (imap-wait-for-tag): point-max -> buffer-size.
16209         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
16211         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
16212         with constant argument.
16214         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
16216         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
16218         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
16219         Change default, since most of our files don't have a history.
16220         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
16221         the user.
16223         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16224         Add comint-run.
16226         * calc/calc.el: Improve commenting convention.
16227         (calc-digit-map, toplevel): Simplify.
16229         * comint.el (comint-insert-input): Be careful to only set point if we
16230         don't delegate to some other command.
16232         * proced.el (proced-signal-list): Make it an alist.
16233         (proced-grammar-alist): Capitalize names.
16234         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
16235         Disable undo manually and make it read-only.
16236         Use completion-annotate-function.
16238         * minibuffer.el (minibuffer-message): If the current buffer is not
16239         a minibuffer, insert the message in the echo area rather than at the
16240         end of the buffer.
16241         (completion-annotate-function): New variable.
16242         (minibuffer-completion-help): Use it.
16243         (completion--embedded-envvar-table): Environment vars are
16244         always case-sensitive.
16246 2009-08-30  Glenn Morris  <rgm@gnu.org>
16248         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
16249         from fortran-current-defun.
16250         (fortran-beginning-of-subprogram): Be more precise about finding the
16251         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
16252         (fortran-end-of-subprogram): Simplify.
16253         (fortran-current-defun): Use fortran-start-prog-re.
16255 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
16257         * subr.el (do-after-load-evaluation): Simplify.
16259 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
16261         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
16263         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
16264         (vc-rcs-print-log): Use it.
16266         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
16268 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
16270         * paths.el (abbrev-file-name): Move to abbrev.el.
16271         * abbrev.el (abbrev-file-name): Move from paths.el.
16272         Obey user-emacs-directory.
16273         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
16274         user-emacs-directory.
16275         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
16276         abbrev-file-name and calc-settings-file any more.
16277         * startup.el (command-line): Recompute abbrev-file-name and
16278         abbreviated-home-dir.
16279         (normal-no-mouse-startup-screen): Improve the generic code and get rid
16280         of the special code for when C-h bindings haven't been changed.
16281         (display-startup-echo-area-message): Use with-current-buffer.
16282         (command-line-1): Use a list of strings, rather than a list of lists
16283         of strings for longopts.
16285         * files.el (get-free-disk-space): Use / for default-directory.
16287         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
16288         Use with-current-buffer.
16290         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
16291         Recognize immutable variables like most-positive-fixnum.
16292         (byte-compile-setq-default): Check and warn if trying to assign
16293         to an immutable variable, or a non-variable.
16295         * progmodes/cc-vars.el (c-comment-continuation-stars):
16296         * progmodes/cc-engine.el (c-looking-at-bos):
16297         * progmodes/cc-cmds.el (c-toggle-auto-state)
16298         (c-forward-into-nomenclature, c-backward-into-nomenclature)
16299         (c-comment-line-break-function): Add version of obsolescence.
16301 2009-08-28  Juri Linkov  <juri@jurta.org>
16303         * files.el (magic-fallback-mode-alist): Add ZIP magic number
16304         associated with `archive-mode'.
16306         * image.el (image-type-header-regexps): Use only JPEG magic number
16307         to determine JPEG images, and don't use `image-jpeg-p' because
16308         Emacs can display non-JFIF non-Exif JPEG images.
16310 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
16312         * arc-mode.el (archive-mode):
16313         * emacs-lisp/re-builder.el (re-builder-unload-function):
16314         Protect against the default value of `major-mode' being nil.
16316 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
16318         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
16319         Fix typos in docstrings.
16321         * progmodes/js.el (js--macro-decl-re): Doc fix.
16322         (js--plain-method-re, js--split-name): Refloc docstring.
16323         (js--class-styles, js--make-merged-item, js--splice-into-items):
16324         Fix typos in docstrings; reflow docstrings.
16325         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
16326         (js--variable-decl-matcher, js--inside-pitem-p)
16327         (js--parse-state-at-point, js--get-all-known-symbols)
16328         (js--symbol-history, js-find-symbol, js--js-references)
16329         (js--moz-interactor, js--js-encode-value, js--read-tab):
16330         Fix typos in docstrings.
16332 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16334         * textmodes/reftex.el (reftex-get-file-buffer-force):
16335         * progmodes/verilog-mode.el (verilog-batch-execute-func):
16336         * emulation/viper.el (viper-go-away, viper-set-hooks):
16337         * emacs-lisp/re-builder.el (re-builder-unload-function):
16338         * emacs-lisp/bytecomp.el (byte-compile-file):
16339         * ses.el (ses-unload-function):
16340         * hexl.el (hexl-find-file):
16341         * files.el (normal-mode):
16342         * ehelp.el (with-electric-help):
16343         * autoinsert.el (auto-insert-alist):
16344         * arc-mode.el (archive-mode):
16345         Use (default-value 'major-mode) instead of default-major-mode.
16347         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
16348         * international/mule.el (load-with-code-conversion):
16349         * emacs-lisp/debug.el (debug):
16350         * ediff-vers.el (ediff-rcs-get-output-buffer):
16351         * dired.el (dired-internal-noselect): Don't let-bind
16352         default-major-mode around code that doesn't use it.
16353         E.g. buffer creation via get-buffer-create doesn't use it.
16355 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
16357         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
16358         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
16359         when writing the temp file.  Otherwise, epa-file gets confused.
16360         (tramp-register-file-name-handlers): Make it a defun.  Move also
16361         `epa-file-handler' to the front of `file-name-handler-alist'.
16363 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16365         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
16366         start right after a ^M.
16367         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
16368         (tramp-completion-file-name-regexp-separate)
16369         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
16370         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
16371         Don't modify last-coding-system-used by accident.
16372         (tramp-completion-file-name-handler): Apply the checks here,
16373         instead during registration.
16374         (tramp-register-file-name-handlers): Renamed from
16375         `tramp-register-file-name-handler'.  Register both
16376         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
16377         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
16379 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
16381         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
16382         Remove variable ...
16383         (gdb-init-1, gdb-display-separate-io-buffer)
16384         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
16385         references to it.
16386         (gdb-inferior-io-mode): Use make-comint-in-buffer.
16387         (gdb-inferior-filter): Use comint-output-filter to stop
16388         echoing and remove ^M characters.
16390 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16392         * emulation/viper-init.el (viper-restore-cursor-type):
16393         * emulation/cua-base.el (cua--update-indications):
16394         Replace default-cursor-type with (default-value 'cursor-type).
16396         * mail/sendmail.el (mail-recover-1):
16397         * international/mule-diag.el (describe-current-coding-system-briefly)
16398         (describe-current-coding-system):
16399         * international/mule-cmds.el (select-safe-coding-system)
16400         (select-message-coding-system)
16401         (set-language-environment-coding-systems, set-locale-environment):
16402         * hexl.el (hexl-insert-multibyte-char):
16403         * dos-w32.el (find-buffer-file-type-coding-system):
16404         * simple.el (what-cursor-position):
16405         Replace uses of default-buffer-file-coding-system
16406         with (default-value 'buffer-file-coding-system).
16408         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
16409         Replace uses of default-cursor-in-non-selected-windows
16410         with (default-value 'cursor-in-non-selected-windows).
16411         Use with-current-buffer.
16413         * mail/feedmail.el: Use CL macros.
16414         (feedmail-run-the-queue, feedmail-send-it-immediately):
16415         * dos-w32.el (find-buffer-file-type): Replace uses of
16416         default-buffer-file-type with (default-value 'buffer-file-type).
16418 2009-08-28  Glenn Morris  <rgm@gnu.org>
16420         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
16421         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
16422         Use default-value of major-mode rather than default-major-mode.
16424 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16426         * Makefile.in (update-elcfiles): Report left over elc files.
16428         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
16429         expand-file-name and with-current-buffer.
16430         (mail-get-names, mail-directory): Use with-current-buffer.
16432         * vc.el (vc-read-revision): New function.
16433         (vc-version-diff, vc-merge): Use it.
16435 2009-08-27  Sam Steingold  <sds@gnu.org>
16437         * simple.el (kill-do-not-save-duplicates): New user option.
16438         (kill-new): When it is non-nil, and the new string is the same as
16439         the latest kill, set replace to t to avoid duplicates in kill-ring.
16441 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
16443         * net/tramp.el (tramp-handle-process-file): Do not flush all
16444         caches when `process-file-side-effects' is set.
16445         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
16446         instead of `tramp-find-file-exists-command'.
16447         Unset `process-file-side-effects'.
16449 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
16451         * net/tramp.el (tramp-methods): New method "rsyncc".
16452         (top): Add completion function for "rsyncc".
16453         (tramp-message-show-message): New defvar.
16454         (tramp-message, tramp-error): Use it.
16455         (tramp-do-copy-or-rename-file-directly): Extend check for direct
16456         remote copying.
16457         (tramp-do-copy-or-rename-file-out-of-band): Handle new
16458         `tramp-methods' entry `copy-env' of "rsyncc".
16459         (tramp-vc-registered-read-file-names): New defconst.
16460         (tramp-vc-registered-file-names): New defvar.
16461         (tramp-handle-vc-registered): Implement optimization strategy.
16462         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
16463         (tramp-vc-file-name-handler): New defun.
16464         (tramp-get-ls-command, tramp-get-test-command)
16465         (tramp-get-file-exists-command, tramp-get-remote-ln)
16466         (tramp-get-remote-perl, tramp-get-remote-stat)
16467         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
16469         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
16470         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
16471         timestamps.
16472         (tramp-get-file-property): Check for timestamps in
16473         `tramp-cache-inhibit-cache'.
16474         (tramp-set-file-property): Write timestamp.
16476 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
16478         * language/japan-util.el (japanese-symbol-table): Add entries for
16479         cp932-2-byte.
16481         * international/characters.el: Add category `j' to cp932-2-byte.
16483 2009-08-27  Kenichi Handa  <handa@m17n.org>
16485         * international/fontset.el (build-default-fontset-data): New macro.
16486         (setup-default-fontset): Use build-default-fontset-data for CJK,
16487         tibetan, ethiopic, and ipa.
16489 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16491         * cus-start.el (default-major-mode): Customize `major-mode' instead.
16492         (enable-multibyte-characters): Not customizable any more.
16494         * subr.el (default-mode-line-format, default-header-line-format)
16495         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
16496         (default-direction-reversed, default-truncate-lines)
16497         (default-left-margin, default-tab-width, default-case-fold-search)
16498         (default-left-margin-width, default-right-margin-width)
16499         (default-left-fringe-width, default-right-fringe-width)
16500         (default-fringes-outside-margins, default-scroll-bar-width)
16501         (default-vertical-scroll-bar, default-indicate-empty-lines)
16502         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
16503         (default-fringe-cursor-alist, default-scroll-up-aggressively)
16504         (default-scroll-down-aggressively, default-fill-column)
16505         (default-cursor-type, default-buffer-file-type)
16506         (default-cursor-in-non-selected-windows)
16507         (default-buffer-file-coding-system, default-major-mode)
16508         (default-enable-multibyte-characters): Mark as obsolete.
16510 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
16512         * vc-dir.el (vc-dir-update): Remove debug helper.
16514         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
16516 2009-08-26  Sam Steingold  <sds@gnu.org>
16518         * simple.el (save-interprogram-paste-before-kill): New user option.
16519         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
16520         save the interprogram-paste into kill-ring before overriding it
16521         with the Emacs kill.
16523 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
16525         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
16526         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
16527         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
16528         and move to vc-rcs.el.
16529         (vc-default-next-revision): Rename to vc-rcs-next-revision and
16530         move to vc-rcs.el.
16531         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
16532         (vc-rcs-update-changelog): Remove.
16533         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
16534         and move to vc-rcs.el.
16536         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
16537         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
16538         renaming.
16539         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
16540         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
16541         vc.el, renamed to be RCS specific.
16543         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
16544         New functions.
16545         (vc-cvs-update-changelog): Move here from vc.el.
16547         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
16548         New functions.
16550 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16552         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
16554 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
16556         * vc-git.el (vc-git-register): Use "git add" for directories.
16557         (vc-git-stash, vc-git-stash-show): New functions.
16558         (vc-git-extra-menu-map): Bind them.
16560         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
16561         directory correctly in case the item is a directory itself.
16563         * vc.el: Document the desired behavior for reverted files in the
16564         `added' state.
16565         (vc-default-prettify-state-info): Remove function, unused.
16567         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
16569 2009-08-26  Glenn Morris  <rgm@gnu.org>
16571         * bindings.el (standard-mode-line-format): Reposition dashes in
16572         which-func entry.  (Bug#4217)
16574         * files.el (enable-local-variables, enable-local-eval)
16575         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
16576         the defcustoms.
16577         (auto-mode-alist, ignored-local-variables)
16578         (save-some-buffers-action-alist): Move risky declarations to the
16579         definitions.
16580         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
16581         (font-lock-defaults, format-alist, imenu--index-alist)
16582         (imenu-generic-expression, input-method-alist, minor-mode-alist)
16583         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
16584         (mode-line-modified, mode-line-mule-info, mode-line-position)
16585         (mode-line-process, mode-line-remote, outline-level)
16586         (parse-time-rules, rmail-output-file-alist)
16587         (special-display-buffer-names, vc-mode):
16588         Move risky declarations to the relevant files.
16589         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
16590         (mode-line-modified, mode-line-process, mode-line-position)
16591         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
16592         * font-core.el (font-lock-defaults):
16593         * format.el (format-alist):
16594         * vc-hooks.el (vc-mode):
16595         * window.el (special-display-buffer-names):
16596         * international/mule-cmds.el (input-method-alist):
16597         Define riskiness here (dumped file) rather than in files.el.
16598         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
16599         * imenu.el (imenu-generic-expression, imenu--index-alist):
16600         * outline.el (outline-level):
16601         * time.el (display-time-string):
16602         * calendar/parse-time.el (parse-time-rules):
16603         * mail/rmailout.el (rmail-output-file-alist):
16604         Autoload riskiness here, rather than placing in files.el.
16606 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
16608         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
16610 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
16612         * simple.el (process-file-side-effects): New defvar.
16614         * dired-aux.el (dired-show-file-type):
16615         * vc.el (vc-diff-internal):
16616         * vc-arch.el (vc-arch-diff):
16617         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
16618         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
16619         * vc-git.el (vc-git-registered, vc-git-working-revision)
16620         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
16621         (vc-git--empty-db-p):
16622         * vc-hooks.el (vc-user-login-name):
16623         * vc-svn.el (vc-svn-registered, vc-svn-state)
16624         (vc-svn-dir-extra-headers, vc-svn-find-revision):
16625         * progmodes/grep.el (grep-probe): Let-bind
16626         `process-file-side-effects' with nil.
16628         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
16630         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
16631         daemon.  Replace ping by checking for running service for bluez
16632         and zeroconf.  (Bug#4239)
16634 2009-08-25  Kevin Ryde  <user42@zip.com.au>
16636         * net/dig.el (dig): Add autoload cookie.
16638 2009-08-25  Glenn Morris  <rgm@gnu.org>
16640         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
16641         load-history for absolute file-names.
16642         (byte-compile-file-form-require): Warn about use of the cl package.
16644         * format.el (format-alist): Doc fix.
16646         * play/bubbles.el (top-level): Don't require cl at run-time.
16648         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
16649         run-time cl).
16651 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
16653         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
16654         from cl package.
16655         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
16657 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
16659         * calc/calc-alg.el (math-trig-rewrite)
16660         (math-hyperbolic-trig-rewrite): New functions.
16661         (calc-simplify): Simplify trig functions when asked.
16663 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
16665         * diff-mode.el (diff-find-source-location): Avoid goto-line.
16667 2009-08-24  Kenichi Handa  <handa@m17n.org>
16669         * language/ind-util.el (mapthread): Delete it.
16670         (combinatorial): New function.
16671         (indian--puthash-cv): Use combinatorial instead of mapthread.
16673 2009-08-22  Kevin Ryde  <user42@zip.com.au>
16675         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
16676         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
16677         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
16678         Clarify docstring that the value is strings not symbols.
16679         (checkdoc-list-of-strings-p): New function.
16681 2009-08-22  Glenn Morris  <rgm@gnu.org>
16683         * files.el (auto-mode-alist):
16684         * hippie-exp.el (he-concat-directory-file-name):
16685         * lpr.el (lpr-windows-system, printer-name):
16686         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
16687         * ps-print.el (ps-windows-system):
16688         * startup.el (command-line):
16689         * emulation/viper-ex.el (viper-glob-function):
16690         * international/mule-cmds.el (set-language-environment-coding-systems):
16691         * net/ange-ftp.el (ange-ftp-write-region):
16692         * obsolete/fast-lock.el (fast-lock-cache-name):
16693         Remove code for defunct system-types emx, macos, mswindows, next-mach,
16694         unisoft-unix, vax-vms, win32, w32.
16696         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
16697         given name if the pattern is not more specific.
16699         * calendar/lunar.el (lunar-phase-names): New option.
16700         (lunar-phase): Doc fix.
16701         (lunar-cycles-per-year): New constant.
16702         (lunar-index): New function.
16703         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
16704         (lunar-phase-name): Use lunar-phase-names.
16705         (calendar-lunar-phases): Use format.
16706         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
16708         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
16709         Copy imenu-example--name-and-position function here for own use.
16710         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
16712         * bs.el (bs--redisplay):
16713         * cus-edit.el (custom-redraw):
16714         * ibuffer.el (ibuffer-bury-buffer):
16715         * server.el (server-goto-line-column):
16716         * startup.el (command-line-1):
16717         * strokes.el (strokes-xpm-for-stroke):
16718         * term.el (term-display-buffer-line):
16719         * view.el (View-goto-line):
16720         * calc/calc.el (calc-do, calc-trail-buffer):
16721         * play/gamegrid.el (gamegrid-add-score-insecure):
16722         * progmodes/ada-mode.el (ada-compile-goto-error):
16723         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
16724         (ebrowse-select-1st-to-9nth):
16725         * progmodes/cperl-mode.el (cperl-time-fontification):
16726         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
16727         * progmodes/gud.el (gud-display-line):
16728         (idlwave-shell-display-line):
16729         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
16730         * progmodes/make-mode.el (makefile-browser-toggle):
16731         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
16732         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
16733         * textmodes/picture.el (picture-draw-rectangle):
16734         * textmodes/reftex-index.el (reftex-index-goto-letter):
16735         (reftex-select-jump-to-previous):
16736         * textmodes/reftex-sel.el (reftex-find-start-point)
16737         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
16738         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
16739         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
16740         * textmodes/tex-mode.el (tex-compilation-parse-errors):
16741         * textmodes/two-column.el (2C-associated-buffer):
16742         Use forward-line rather than goto-line.
16744         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
16745         goto-line.
16747         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
16748         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
16749         (quick-check-list-to-regexp): Declare.
16751         * progmodes/make-mode.el (makefile-browser-insert-selection):
16752         Use goto-char rather than goto-line.
16754         * progmodes/prolog.el (compilation-error-regexp-alist)
16755         (compilation-forget-errors): Declare.
16757 2009-08-22  Juri Linkov  <juri@jurta.org>
16759         * progmodes/grep.el (lgrep, rgrep): At the beginning
16760         set `dir' to `default-directory' unless `dir' is a non-nil
16761         readable directory.  (Bug#4052)
16762         (lgrep, rgrep): Change a weird way to report an error
16763         from using `read-string' to using `error'.
16764         Instead of using interactive arguments in the function body,
16765         add new argument `confirm'.
16767 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16769         * textmodes/remember.el (remember-buffer):
16770         * progmodes/cperl-mode.el (cperl-vc-header-alist):
16771         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
16772         (icalendar-extract-ical-from-buffer):
16773         * net/newst-treeview.el (newsticker-groups-filename):
16774         * net/newst-backend.el (newsticker-cache-filename):
16775         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
16776         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
16777         (speedbar-add-ignored-path-regexp, speedbar-line-path)
16778         (speedbar-buffers-line-path, speedbar-path-line)
16779         (speedbar-buffers-line-path):
16780         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
16781         (epg-sign-keys):
16782         * epa.el (epa-display-verify-result):
16783         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
16785 2009-08-21  Glenn Morris  <rgm@gnu.org>
16787         * progmodes/js.el (inferior-moz-process): Fix declaration.
16789         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
16791         * obsolete/rnewspost.el (news-mail-reply):
16792         Use goto-char rather than goto-line.
16794         * term/ns-win.el (ns-open-file-select-line):
16795         Use line-beginning-position rather than goto-line.
16797         * apropos.el (apropos-command):
16798         * ehelp.el (electric-helpify):
16799         * printing.el (pr-show-setup):
16800         * strokes.el (strokes-help):
16801         * tutorial.el (tutorial--describe-nonstandard-key)
16802         (tutorial--detailed-help):
16803         * woman.el (woman-mini-help, woman-display-extended-fonts):
16804         * calc/calc-help.el (calc-describe-key):
16805         * emulation/edt.el (edt-electric-helpify):
16806         * international/mule-diag.el (mule-diag):
16807         * play/yow.el (apropos-zippy):
16808         * progmodes/python.el (python-describe-symbol):
16809         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
16810         * textmodes/table.el (*table--cell-describe-mode)
16811         (*table--cell-describe-bindings):
16812         Use help-print-return-message rather than the now obsolete alias.
16814         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
16815         (calendar-cursor-to-visible-date):
16816         * play/5x5.el (5x5-position-cursor):
16817         * play/decipher.el (decipher):
16818         * play/gomoku.el (gomoku-goto-xy):
16819         * play/landmark.el (lm-goto-xy):
16820         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
16821         (mpuz-paint-digit):
16822         Use forward-line, not goto-line.
16824         * mail/rmail.el (rmail-obsolete): Delete custom group.
16825         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
16826         (rmail-remote-password, rmail-remote-password-required):
16827         Remove unneeded :set-after and :set properties.
16829 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
16831         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
16833 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
16835         * loadup.el: Remove leftover macos code.
16837         * vc-git.el (vc-git-annotate-command): Run asynchronously.
16838         Explicitly pass the date format to git blame so that user local
16839         so that the output format can be parsed.
16841 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
16843         * net/dbus.el (top): Don't check for (getenv
16844         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
16846 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
16848         * log-edit.el (log-edit-strip-single-file-name): New var.
16849         (log-edit-insert-changelog): Use it.  Bug#3571
16851 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16853         * subr.el (read-passwd): Use read-key so keypad keys work as well.
16854         Bug#3287
16856         * help.el (help-print-return-message): Rename from
16857         print-help-return-message.
16859         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
16860         cvs-mode-map parent hack.
16861         (log-view-mode): Derive from special-mode.
16863         * linum.el (linum-mode): window-size-change-functions is redundant.
16864         Adapt to new window-configuration-change-hook behavior.
16865         (linum-after-size, linum-after-config): Remove.
16867         * imenu.el (imenu-example--name-and-position)
16868         (imenu-example--lisp-extract-index-name)
16869         (imenu-example--create-lisp-index, imenu-example--create-c-index):
16870         Mark as obsolete.
16872         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
16873         (inferior-prolog-mode): Use it.
16874         (inferior-prolog-load-file): Reset list of errors.
16876 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
16878         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
16880         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
16882 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
16884         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
16885         is running already.
16887 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16889         * subr.el (listify-key-sequence-1): Use normal syntax since those
16890         integers are nowadays always represented by the same (positive) number
16891         on all platforms.
16892         (read-key-empty-map): New const.
16893         (read-key-delay): New var.
16894         (read-key): New function.
16895         (force-mode-line-update): Use with-current-buffer.
16896         (locate-user-emacs-file): Don't forget to abbreviate the file name.
16897         (start-process-shell-command, start-file-process-shell-command):
16898         Discourage the use of command-args.
16900 2009-08-19  Glenn Morris  <rgm@gnu.org>
16902         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
16904 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16906         * simple.el (choose-completion-string): Don't rely on
16907         minibuffer-completing-file-name and ad-hoc checks to decide whether
16908         to continue completion or not.
16910         * minibuffer.el (minibuffer-hide-completions): New function.
16911         (completion--do-completion): Use it.
16912         (completions-annotations): New face.
16913         (completion--insert-strings): Use it.
16914         (completion-pcm--delim-wild-regex): Add docstring.
16915         (completion-pcm--string->pattern): Add support for 0-width delimiters
16916         in completion-pcm--delim-wild-regex.
16918 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16920         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
16921         Remove unused var `buffer-modified-p'.
16923         * minibuffer.el (completion--do-completion): Move point for the #b001
16924         case as well (bug#4176).
16925         (minibuffer-complete, minibuffer-complete-word): Don't move point.
16927 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
16929         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
16930         and :session buses.
16932 2009-08-18  Kenichi Handa  <handa@m17n.org>
16934         * international/ucs-normalize.el (ucs-normalize-version):
16935         Change to 1.1.
16936         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
16937         (utf-8-hfs): Make it perform normalization on encoding too.
16939         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
16940         (sentence-end-without-space): Delete duplicated chars.
16941         (sentence-end-base): Likewise.
16943         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
16944         (html-mode): Delete duplicated chars from sentence-end-base.
16946         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
16947         (texinfo-mode): Delete duplicated chars from sentence-end-base.
16949 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
16951         * files.el (hack-one-local-variable): If the mode function is for
16952         a minor mode, pass it an argument (Bug#4148).
16954 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
16956         * net/tramp.el (tramp-register-completion-file-name-handler):
16957         Check also for (member 'partial-completion completion-styles).
16959 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
16961         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
16962         abbrev (Bug#3943).
16964 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
16966         * progmodes/cperl-mode.el: Merge upstream 6.2.
16967         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
16968         (cperl-forward-re): Check cperl-brace-recursing.
16969         (cperl-highlight-charclass): New function.
16970         (cperl-find-pods-heres): Use it.
16971         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
16972         (cperl-beautify-regexp-piece): Fix column calculation.
16973         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
16974         (cperl-beautify-level): Don't process entire regexp.
16975         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
16976         calling man.
16977         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
16978         (cperl-init-faces): Build a list in the normal way.
16980 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
16982         * calendar/parse-time.el (parse-time-string-chars): Save match
16983         data.
16985 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16987         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
16988         (sql-product): Use it.
16989         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
16990         (sql-set-product): Add completion.
16991         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
16992         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
16993         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
16994         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
16995         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
16996         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
16997         (sql-highlight-db2-keywords): Remove.
16998         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
16999         (sql-highlight-product): Use derived-mode-p.
17000         (sql-set-sqli-buffer): Use with-current-buffer.
17001         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
17002         Simplify.
17004         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
17006         * term.el: Fix commenting convention, turn comments into docstrings.
17008 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
17010         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
17012 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
17014         * calendar/parse-time.el (parse-time-string-chars): Compute using
17015         character classes, to handle non-ascii characters (Bug#3190).
17017 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
17019         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
17020         another heredoc if the user adds another < (Bug#3226).
17022         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
17023         Don't initialize based on window-system (Bug#4124).
17025         * facemenu.el (facemenu-read-color): Use a completion function
17026         that accepts any defined color, such as RGB triplets (Bug#3677).
17028         * files.el (get-free-disk-space): Change fallback default
17029         directory to /.  Expand DIR argument before switching to fallback.
17030         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
17032 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
17034         * files.el (load-library): Doc fix.
17036 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
17038         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
17039         (viper-if-string): Redefine C-s in the minibuffer to insert the last
17040         incremental search string.
17042         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
17043         XEmacs.
17045         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
17046         (ediff-merge-region-is-non-clash)
17047         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
17048         Also check if the job is really a merge job.
17050         * ediff.el (ediff-current-file): New function.
17052 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
17054         * progmodes/js.el: Edit docstrings throughout to follow Emacs
17055         conventions.
17056         (js-insert-and-indent): Delete function.
17057         (js-mode-map): Don't bind keys to js-insert-and-indent.
17058         (js-beginning-of-defun): Rename from js--beginning-of-defun.
17059         (js-end-of-defun): Rename from js--end-of-defun.
17060         (js-auto-indent-flag): Delete variable.
17062 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
17064         * progmodes/js.el: Remove proclaim statement.
17065         Defvar which-func-imenu-joiner-function to silence compiler.
17067         * files.el (auto-mode-alist): Use js-mode for .js files.
17069         * progmodes/js2-mode.el: Remove file.
17071         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
17073         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
17075         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
17077 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
17078             Karl Landstrom  <karl.landstrom@brgeight.se>
17080         * progmodes/js.el: New file.
17082 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
17084         * timezone.el (timezone-parse-date): Add ability to understand ISO
17085         basic format (minimal separators) dates in addition to the
17086         already-supported extended format dates.
17088 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
17090         * international/ucs-normalize.el: Add a `coding' file variable.
17092         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
17094 2009-08-14  Sam Steingold  <sds@gnu.org>
17096         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
17098 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
17100         * faces.el (help-argument-name): Define it here instead of
17101         help-fns.el, because in daemon mode help-fns.el may be loaded when
17102         faces are still uninitialized (Bug#1078).
17104         * help-fns.el (help-argument-name): Move defface to faces.el.
17106 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
17108         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
17109         create buffer with a pty but no process so that GDB can make the
17110         inferior the controlling process.
17112 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
17114         * international/ucs-normalize.el: New file.
17116 2009-08-13  Richard Stallman  <rms@gnu.org>
17118         * mail/rmail.el (rmail-get-attr-names):
17119         Accept an attribute header that is too short.
17121         * mail/rmail.el (rmail-forget-messages):
17122         Ignore nil elt in rmail-message-vector.  Use dotimes.
17124         * progmodes/compile.el (compilation-goto-locus):
17125         Use next-error-move-function.
17127         * simple.el (next-error-move-function): New variable.
17129 2009-08-12  Juri Linkov  <juri@jurta.org>
17131         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
17132         always non-nil.  (Bug#4052)
17134         * replace.el (read-regexp): Return empty string when
17135         `default-value' is nil.
17136         (keep-lines-read-args): Don't use empty string as the
17137         default value for `read-regexp'.  (Bug#2495)
17139 2009-08-12  Juri Linkov  <juri@jurta.org>
17141         * international/mule-cmds.el (ucs-insert): Change arguments
17142         from `arg' to `character', `count', `inherit' to be the same
17143         as in `insert-char'.  Doc fix.  (Bug#4039)
17145         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
17147 2009-08-12  Juri Linkov  <juri@jurta.org>
17149         * files-x.el: New file.
17151         * files.el: Move code that deals with adding/deleting
17152         file/directory-local variables to files-x.el.
17154         * Makefile.in (ELCFILES): Add files-x.elc.
17156 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
17158         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
17159         to use `goto-line'.
17160         (gdb-place-breakpoints, gdb-get-location): Rewritten without
17161         `goto-line'.
17162         (gdb-invalidate-disassembly): Do not refresh upon receiving
17163         'update signal.  Instead, update all disassembly buffers only after
17164         threads list.
17165         (gdb): Send -target-detach when buffer is killed (Bug#3794).
17166         (gdb-starting): Moved -data-list-register-names...
17167         (gdb-stopped): ...here so it's sent when first thread stops.
17168         (gdb-registers-handler-custom): Do nothing if register names are
17169         unknown yet.
17171         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
17172         from `gdb-mi.el' to avoid extra tangling.
17174         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
17175         change which breaks `gud-def' definitions used in `gdb'.
17176         (gdb-update-gud-running): No extra fuss for updating frame number.
17178 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
17180         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
17181         (describe-language-environment-map, setup-language-environment-map)
17182         (set-coding-system-map): Move initialization into declaration.
17183         (set-language-info-alist): Last arg to define-key-after can be skipped.
17185         * international/quail.el (quail-completion-1): Simplify.
17186         (quail-define-rules): Use slightly more compact code.
17187         (quail-insert-decode-map): Propertize keys, compact columns.
17189         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17190         Add goto-line.
17192 2009-08-10  Miles Bader  <miles@gnu.org>
17194         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
17195         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
17196         (js2-instance-member, js2-private-member, js2-private-function-call)
17197         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
17198         (js2-magic-paren, js2-external-variable):
17199         Remove "-face" suffix from face names.
17200         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
17201         (js2-highlight-undeclared-vars, js2-peek-token)
17202         (js2-parse-function-params, js2-mode-show-errors)
17203         (js2-mode-show-warnings, js2-make-magic-delimiter)
17204         (js2-mode-highlight-magic-parens): Update to use new face names.
17206 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
17208         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
17209         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
17211 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
17213         * subr.el: Provide hashtable-print-readable.
17215         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
17216         hs-c-like-adjust-block-beginning.
17217         (hs-hide-block-at-point): Stop hiding at the beginning of
17218         hs-block-end-regexp (Bug#700).
17220 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
17222         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
17223         a macro.
17224         (gdb-registers-handler-custom): Do not fail when register names
17225         are unavailable.
17227 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
17229         * progmodes/gdb-mi.el (gdb-control-all-threads)
17230         (gdb-control-current-thread): Interactive setters for
17231         `gdb-gud-control-all-threads' to use in menu.
17232         (gdb-show-run-p): Show «Go» when process is not active.
17233         (gud-tool-bar-map): Add non-stop/A,T indicator.  Uses
17234         gud/thread.xpm and gud/all.xpm.
17236 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
17238         * net/net-utils.el (net-utils-font-lock-keywords): New var.
17239         (nslookup-font-lock-keywords): Make it a variable.
17240         (net-utils-mode): New mode for viewing diagnostic network output.
17241         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
17242         (net-utils-run-simple): New function.
17243         (ifconfig, iwconfig, netstat, arp, route): Use it.
17245 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
17247         * progmodes/gdb-mi.el (gdb-read-memory-custom)
17248         (gdb-memory-set-address, def-gdb-set-positive-number)
17249         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
17250         after changing settings.
17251         (gdb-invalidate-disassembly): Update when first shown.
17252         (gdb-edit-locals-value): Fixed.
17253         (gdb-registers-handler-custom): Print registers in right order and
17254         allow changing register values (only for current thread yet).
17255         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
17256         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
17257         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
17258         (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
17259         info in mode name.
17260         (gdb-registers-mode-map): TAB to switch to locals.
17262 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
17264         * mail/rmail.el (rmail-add-mbox-headers)
17265         (rmail-set-message-counters-counter): Search for
17266         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
17268 2009-08-08  Glenn Morris  <rgm@gnu.org>
17270         * Makefile.in (ELCFILES): Update.
17272 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
17274         * mail/sendmail.el (mail-yank-original): Set
17275         buffer-file-coding-system from the one used by the message whose
17276         text is yanked.
17278         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
17279         to "windows" when "pgnuplot" is used.
17280         (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
17281         call accept-process-output if "pgnuplot" is used.
17282         (calc-graph-init): Don't send -display and -geometry to
17283         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
17284         running "pgnuplot -V" with shell-command-to-string.
17286         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
17287         the default.
17289 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
17291         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
17292         org/org-latex.elc.
17294 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
17296         * vc-dispatcher.el (vc-resynch-window): Update comment.
17298         * term.el (term-handle-ansi-escape): Add comments with the
17299         terminfo capabilities implemented.
17301 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
17303         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
17304         (gdb-var-create-handler): Rewritten using JSON parser.
17305         (gdb-propertize-header): Moved earlier.
17306         (gdb-set-header): Removed to avoid duplication.
17307         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
17308         Refresh disassembly buffers only after threads list have been
17309         update.
17310         (gdb-threads-header, gdb-registers-header): Per-buffer header line
17311         variables.
17313 2009-08-04  Juri Linkov  <juri@jurta.org>
17315         * files.el: Commands to add/delete file/directory-local variables.
17316         (read-file-local-variable, read-file-local-variable-value)
17317         (read-file-local-variable-mode, modify-file-local-variable)
17318         (modify-file-local-variable-prop-line)
17319         (modify-dir-local-variable): New functions.
17320         (add-file-local-variable, delete-file-local-variable)
17321         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
17322         (add-dir-local-variable, delete-dir-local-variable)
17323         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
17324         (copy-dir-locals-to-file-locals-prop-line): New commands.
17326 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
17328         * abbrev.el (insert-abbrev-table-description): Prettify output.
17329         Suggested by Karl Chen.
17331 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
17333         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
17334         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
17335         (gdb-overlay-arrow-position, gdb-thread-position)
17336         (gdb-disassembly-position): Declare variables.
17337         (gdb-wait-for-pending): Function now.
17338         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
17339         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
17340         compilation goes smoothly.
17341         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
17342         (gdb-non-stop-setting): New customization setting which replaces
17343         `gdb-non-stop' so changing it doesn't break active GDB session.
17344         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
17345         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
17346         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
17347         (gdb-show-threads-by-default): New customization options.
17348         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
17349         routines.
17350         (gdb-get-buffer-create): Send buffers update signal when they are
17351         created.
17352         (gdb-invalidate-locals, gdb-invalidate-registers)
17353         (gdb-invalidate-breakpoints)
17354         (gdb-invalidate-threads, gdb-invalidate-disassembly)
17355         (gdb-invalidate-memory): Accept update signal.
17356         (gdb-current-context-command): Use --frame option.
17357         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
17358         Implement `gdb-frame-number' selection logic.
17359         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
17360         whether to show GUD toolbar buttons.
17361         (gdb-thread-exited): Unselect current thread when it exits.
17362         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
17363         (gdb-mark-line): Routine which sets overlay arrow or inverses
17364         video on fringeless displays.
17365         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
17366         to build aligned columns of data in GDB buffers and set text
17367         properties line-by-line.
17368         (gdb-invalidate-breakpoints)
17369         (gdb-breakpoints-list-handler-custom)
17370         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
17371         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
17372         (gdb-registers-handler-custom): Align data columns.
17373         (gdb-locals-handler-custom): Now prints data like in variable
17374         declarations.
17375         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
17376         Removed confusing buttons.
17377         (gdb-invalidate-threads): Append --frame.
17378         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
17379         between breakpoints/threads buffers.
17380         (gdb-set-window-buffer): Now can ignore dedicated windows.
17381         (gdb-propertize-header): Use `gdb-set-window-buffer'.
17382         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
17383         (def-gdb-thread-buffer-gud-command): Replaces
17384         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
17385         for fine thread control.
17386         (gdb-preempt-existing-or-display-buffer): New function used to
17387         display bound buffers without breaking window layout.
17388         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
17389         (gdb-select-frame): New version of `gdb-frames-select' which now
17390         sets `gdb-frame-number' so commands may use --frame option instead
17391         of inner debugger state.
17392         (gdb-frame-handler): Do not set `gdb-frame-number'.
17393         (gdb-threads-mode-map): Select threads with mouse.
17395         * progmodes/gud.el (gdb-gud-context-call): Declare function to
17396         avoid compilation warning.
17397         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
17398         `gdb-show-stop-p`.
17400         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
17401         Argument `key' renamed to `buffer-type'.
17402         (gdb-current-context-buffer-name): Do not add thread info to
17403         buffer name when no thread is selected.
17404         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
17405         command (bug 3794).
17406         (gdb-thread-selected): Handle `=thread-selected' notification.
17407         (gdb-wait-for-pending): New macro to deal with congestion problems.
17408         (gdb-breakpoints-list-handler-custom): Don't fail on pending
17409         breakpoints.
17410         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
17411         This fixes problem similar to one described in bug 3947.
17412         (gud-menu-map): More menu items.
17413         (gdb-init-1): Reset `gdb-thread-number' to nil.
17415         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
17416         non-stop settings.
17418         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
17419         (gdb-current-context-command): Do not append --thread if
17420         `gdb-thread-number' is nil.
17421         (gdb-running-threads-count, gdb-stopped-threads-count): New
17422         variables.
17423         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
17424         (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
17425         customization options.
17426         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
17427         GUD commands.
17428         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
17429         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
17430         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
17431         set `gdb-thread-number' and update `gud-running' properly.
17432         (gdb-running): Update threads list when new threads appear.
17433         (gdb-stopped): Support non-stop operation and new thread switching
17434         logic.
17435         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
17436         (gdb-json-partial-output): New set of JSON routines.
17437         (def-gdb-auto-update-trigger): New `signal-list' optional
17438         argument.
17439         (gdb-thread-list-handler-custom): Update `gud-running',
17440         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
17441         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
17442         (gdb-continue-thread, gdb-step-thread): New commands for fine
17443         thread execution control.
17444         (gud-menu-map): New menu items to switch non-stop options.
17445         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
17446         (gdb-send): Mimic RET properly (bug 3794).
17448         * progmodes/gdb-mi.el (gdb-rules-name-maker)
17449         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
17450         gdb-buffer-rules.
17451         (def-gdb-auto-update-handler): New nopreserve optional argument.
17452         (gdb-stack-list-frames-custom): Print stack from top to bottom.
17454         * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
17455         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
17456         (gdb-parent-mode): New mode to derive other GDB modes from.
17457         (gdb-display-disassembly-for-thread)
17458         (gdb-frame-disassembly-for-thread): New commands for threads
17459         buffer.
17461         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
17462         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
17463         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
17464         (gdb-update): We now store all GDB buffers in a list so that they
17465         can be updated by traversing a list instead of calling invalidate
17466         triggers explicitly.
17467         (def-gdb-trigger-and-handler): New macro to define trigger-handler
17468         pair for GDB buffer.
17469         (gdb-stack-buffer-name): Add thread information.
17470         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
17471         handle pending triggers.
17472         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
17473         (def-gdb-thread-buffer-simple-command)
17474         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
17475         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
17476         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
17477         New commands which show buffers bound to thread.
17478         (gdb-stack-list-locals-regexp): Removed unused regexp.
17480         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
17481         (gdb-locals-buffer-name, gdb-registers-buffer-name)
17482         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
17483         to (gud-comint-buffer) in *-buffer-name functions
17484         because (gdb-get-target-string) already does that.
17485         (gdb-locals-handler-custom, gdb-registers-handler-custom)
17486         (gdb-changed-registers-handler): Rewritten without regexps.
17488         * progmodes/gdb-mi.el: Basic thread selection support.
17489         (gdb-thread-number): New variable.
17490         (gdb-current-context-command): New macro which adds --thread
17491         option to command.
17492         (gdb-threads-mode-map): Select thread with SPC.
17493         (gdb-thread-list-handler-custom): Mark current thread with overlay
17494         arrow.  Synchronize GDB thread and Emacs thread.
17495         (gdb-select-thread): New command which selects current thread.
17496         (gdb-invalidate-frames, gdb-invalidate-locals)
17497         (gdb-invalidate-registers): Use --thread option.
17499 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
17501         * net/tramp.el (top): Make check for tramp-gvfs loading more
17502         robust.  (Bug#3977)
17503         (tramp-handle-insert-file-contents): `unwind-protect' must be
17504         inside `with-parsed-tramp-file-name'.
17506         * net/tramp-gvfs.el (top): Remove superfluous message when loading
17507         fails.
17509 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
17511         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
17512         directory if CLASSPATH is not set.
17514 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
17516         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
17517         New defconst.
17518         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
17520 2009-08-02  Kevin Ryde  <user42@zip.com.au>
17522         * net/newst-backend.el (newsticker--raw-url-list-defaults):
17523         Update freshmeat link.  Delete newsforge.com as it seems gone.
17525 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
17527         * select.el (x-set-selection): Doc fix (Bug#4021).
17529         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
17531         * help-fns.el (describe-variable): Treat list return values from
17532         dir-locals-find-file properly (Bug#4005).
17534 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
17536         * net/tramp.el (tramp-debug-message): Print also microseconds.
17538 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
17540         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
17541         or END is non-nil.
17542         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
17543         (tramp-get-debug-buffer): Change `outline-regexp' according to new
17544         format.
17546         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
17547         (tramp-get-file-property): Use it.
17549         * autorevert.el (auto-revert-handler): Allow
17550         `auto-revert-tail-mode' for remote files.
17552 2009-08-02  Jason Rumney  <jasonr@gnu.org>
17554         * minibuffer.el (read-file-name): Treat confirm options to
17555         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
17557 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
17559         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
17560         (font-lock-variable-name-face, font-lock-constant-face): Darken
17561         the colors for light backgrounds.
17563 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
17565         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
17566         month names.  (Bug#3987)
17568 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
17570         * simple.el (line-move-finish): Pass whole number to
17571         line-move-to-column.
17572         (line-move-visual): Perform hscroll to the recorded position.
17574 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
17576         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
17578 2009-07-29  Alan Mackenzie  <acm@muc.de>
17580         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
17582 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
17584         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
17585         (gdb-place-breakpoints): Use full path when setting breakpoints.
17587 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
17589         * calc/calc.el (calc-mode-map): Add keybinding for
17590         `calc-transpose-lines'.
17592 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
17594         * calc/calc-misc.el (calc-transpose-lines): New function.
17596 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
17598         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
17599         Simplify check for out-of-band methods.
17600         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
17601         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
17603 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
17605         * vc-git.el (vc-git-checkin): Fix typo.
17607 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
17609         * progmodes/js2-mode.el: New file.
17611 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
17613         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
17614         (gud-menu-map): Adjust tooltip accordingly.
17616 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
17618         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
17619         (vc-bzr-log-view-mode): Adjust log-view-file-re.
17621         * add-log.el (change-log-mode-map): Add a menu.
17623 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
17625         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
17626         function returns nil.
17627         (dbus-handle-event): Handle special return value :ignore.
17628         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
17630 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
17632         * view.el (view-mode-enable): Don't define Helper-return-blurb if
17633         it's not needed.
17635 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
17637         Fix Bug#3888:
17639         * w32-vars.el (x-select-enable-clipboard): Doc fix.
17641         * term/pc-win.el (x-display-name, x-colors)
17642         (x-select-enable-clipboard, x-select-text): Doc fix.
17644         * term/common-win.el (x-display-name, x-colors): Doc fix.
17646         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
17647         (xw-defined-colors): Doc fix.
17649         * w32-fns.el (x-select-text, x-setup-function-keys)
17650         (x-get-selection, x-set-selection): Doc fix.
17652         * term/x-win.el (x-select-text, x-setup-function-keys)
17653         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
17655         * select.el (x-set-selection): Doc fix.
17657 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
17659         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
17660         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
17661         "IsNSSSupportAvailable" method is not available.  Reported by
17662         Steve Youngs <steve@sxemacs.org>.
17664 2009-07-24  Kenichi Handa  <handa@m17n.org>
17666         * international/characters.el: Fix setting of category ?C, ?|, ?K,
17667         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
17668         (build-unicode-category-table): Fix range checks.
17670 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
17672         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
17673         the buffer we try to sync is current when calling
17674         vc-resynch-buffer.
17676         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
17677         not show up to date files.
17679 2009-07-24  Glenn Morris  <rgm@gnu.org>
17681         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
17682         Add autoload cookies.  If necessary, initialize.
17683         (elint-log): Handle non-file buffers.
17684         (elint-initialize): Add optional argument to reinitialize.
17685         (elint-find-builtin-variables): Save excursion.
17687 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
17689         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
17690         for Lint.
17692 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
17694         * vc.el (vc-print-log-internal): New function, split out from ...
17695         (vc-print-log): ... here.
17696         (vc-dir-move-to-goal-column): Declare.
17698         * vc-git.el (vc-git-add-signoff): New variable.
17699         (vc-git-checkin): Use it.
17700         (vc-git-toggle-signoff): New function.
17701         (vc-git-extra-menu-map): Bind it to menu.
17702         (vc-git--run-command-string): Accept a nil FILE argument.
17703         (vc-git-stash-list): New function.
17704         (vc-git-dir-extra-headers): Use it.
17706 2009-07-23  Glenn Morris  <rgm@gnu.org>
17708         * help-fns.el (describe-variable): Describe ignored and risky local
17709         variables in a similar way to that in which we describe safe ones.
17711         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
17712         (byte-compile-output-file-form, byte-compile-output-docform)
17713         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
17714         Give some more local variables with common names a "bytecomp-" prefix,
17715         so as not to shadow things during compilation.
17716         * emacs-lisp/cl-macs.el (load-time-value)
17717         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
17718         `outbuffer' to `bytecomp-outbuffer'.
17720         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
17721         since the next two variables cover them automatically now.
17722         (elint-builtin-variables, elint-autoloaded-variables): New.
17723         (elint-unknown-builtin-args): Remove all members, since they can be
17724         parsed automatically now.
17725         (elint-extra-errors): New.
17726         (elint-env-add-env, elint-env-add-macro): Use cadr.
17727         (elint-current-buffer): Use or.  Change final message.
17728         (elint-get-top-forms): Use line-end-position.
17729         (elint-init-env): Use cadr.  Handle autoload, declare-function,
17730         and defalias.
17731         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
17732         (regexp-assoc): Remove unused function.
17733         (elint-top-form): Set elint-current-pos, to record the start of the
17734         top-level form, for compilation-mode.
17735         (elint-form): Trap errors in macro expansion.  Use dolist.
17736         (elint-unbound-variable): Use elint-builtin-variables and
17737         elint-autoloaded-variables.
17738         (elint-get-args): Use cadr, or.
17739         (elint-check-cond-form): Use dolist, cadr.
17740         (elint-check-condition-case-form): Doc fix.  Use cadr.
17741         Use elint-extra-errors.
17742         (elint-log): New function.
17743         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
17744         Distinguish errors and warnings.
17745         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
17746         Use a bytecomp-style format.
17747         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
17748         (elint-get-log-buffer): Use compilation mode.  Disable undo.
17749         Don't truncate lines.
17750         (elint-initialize): Set builtin and autoloaded variable lists.
17751         Only process elint-unknown-builtin-args if non-nil.
17752         (elint-find-builtin-variables, elint-find-autoloaded-variables):
17753         New functions.
17754         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
17756 2009-07-22  Kevin Ryde  <user42@zip.com.au>
17758         * net/newst-backend.el (newsticker--parse-atom-1.0)
17759         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
17760         (newsticker--parse-rss-1.0):
17761         * progmodes/idlwave.el (idlwave-mode):
17762         * progmodes/idlw-shell.el (idlwave-shell-mode):
17763         * progmodes/vera-mode.el (vera-mode):
17764         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
17765         * progmodes/vhdl-mode.el (vhdl-mode):
17766         * textmodes/table.el (table-generate-source)
17767         (table--warn-incompatibility):
17768         Hyperlink urls in docstrings with URL `...'.
17770 2009-07-22  Glenn Morris  <rgm@gnu.org>
17772         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
17773         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
17774         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
17775         Remove leading * from defcustom docs.
17777         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
17779         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
17780         defcustom doc.
17781         (list-load-path-shadows): Optionally, just return shadows as a string.
17783         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
17785 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
17787         * mail/rmailedit.el (rmail-edit-mode): Use
17788         auto-save-include-big-deletions.
17790         * mail/rmail.el (rmail-variables): Use
17791         auto-save-include-big-deletions.
17793         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
17794         changes.
17796 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
17798         * calc/calc.el (calc-undo-length): New variable.
17799         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
17801 2009-07-21  Richard Stallman  <rms@gnu.org>
17803         * files.el (auto-save-mode): Handle buffer-save-size = -2
17804         for toggling mode.
17806 2009-07-21  Glenn Morris  <rgm@gnu.org>
17808         * textmodes/ispell.el (ispell-looking-back): Update declaration.
17810         * calendar/todo-mode.el (calendar-current-date): Update declaration.
17812         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
17813         silence compiler.  Instead...
17814         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
17815         (ps-print-ensure-fontified): Update for above function name changes.
17817         * printing.el (pr-mh-get-msg-num, pr-mh-show)
17818         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
17819         silence compiler.  Instead...
17820         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
17821         (mh-show-buffer): Only define for compiler.
17822         (pr-mh-current-message): Update for above function name changes.
17824         * files.el (abort-if-file-too-large): Explicitly pass `filename'
17825         as an argument.
17826         (find-file-noselect, insert-file-1): Update for above change.
17828         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
17830         * mail/mailclient.el (mailclient-send-it): Fix message.
17832         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
17833         (edebug-eval): Check cl-debug-env is bound.
17834         (print-level, print-circle): Don't redefine built-in variables.
17836         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
17837         (custom-print-vectors): Remove old comments from doc.
17839         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
17840         (emerge-version): Make the variable an obsolete alias for the
17841         emacs-version variable.  Make the function obsolete.
17842         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
17843         Emerge options, rather than merging in into the main Options menu.
17844         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
17845         and auto advance modes.  Disable edit/fast items when not relevant.
17847 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
17849         * term/vt420.el (terminal-init-vt420): Fix typo.
17851 2009-07-20  Sam Steingold  <sds@gnu.org>
17853         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
17854         variable (removed from compile.el on 2004-03-11).
17856 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
17858         * files.el (hack-local-variables-filter): Fix last change.
17860 2009-07-19  Juri Linkov  <juri@jurta.org>
17862         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
17863         (dir-local-variables-alist): New buffer-local variable.
17864         (hack-local-variables-filter): If variable is not dir-local,
17865         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
17866         because file-local overrides dir-local.
17867         (c-postprocess-file-styles) <declare-function>:
17868         Remove obsolete declaration.
17869         (hack-dir-local-variables): Add dir-local variable/value pair to
17870         `dir-local-variables-alist' and remove duplicates.  Doc fix.
17872         * help-fns.el (describe-variable): Add information about
17873         file-local and dir-local variables.
17875 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
17877         * files.el (hack-local-variables-filter): Rewrite.
17879 2009-07-19  Glenn Morris  <rgm@gnu.org>
17881         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
17882         Silence compiler by only defining on XEmacs.
17884         * international/mule.el (auto-coding-regexp-alist): Only match
17885         BABYL... at the start of buffer, not of lines.  (Bug#3790)
17887         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
17888         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
17889         (cal-menu-context-mouse-menu): Doc fix.
17891         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
17893         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
17895 2009-07-18  Juri Linkov  <juri@jurta.org>
17897         * info.el: Virtual Info keyword finder.
17898         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
17899         (Info-finder-file): New variable.
17900         (Info-finder-find-file): New function.
17901         (finder-known-keywords, finder-package-info)
17902         (find-library-name, lm-commentary): Use defvar and
17903         declare-function to silence compiler warnings.
17904         (Info-finder-find-node): New function.
17905         (info-finder): New command.
17907         * subr.el (process-kill-buffer-query-function): New function.
17908         (add-hook)<kill-buffer-query-functions>: Add hook
17909         `process-kill-buffer-query-function'.
17911 2009-07-18  Alan Mackenzie  <acm@muc.de>
17913         * progmodes/cc-mode.el (c-before-hack-hook)
17914         (c-postprocess-file-styles): Give invocation of `c-set-style'
17915         DONT-OVERRIDE parameter of t.  Already set style variables will
17916         thus not be overridden by style settings given by `c-file-syle'.
17918         * files.el (hack-local-variables-filter): Remove entries with
17919         duplicate keys from `file-local-variables-alist'.
17921 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
17923         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
17924         x-set-selection if display-selections-p returns nil for the
17925         current frame.
17927 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
17929         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
17931 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
17933         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
17934         Accept nil in addition to a regexp.
17935         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
17936         Accept nil in addition to a regexp.
17937         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
17938         buffers that have an associated file.  Handle nil values of
17939         desktop-buffers-not-to-save and desktop-files-not-to-save.
17940         (Bug#3833)
17942         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
17943         (x-disown-selection-internal): New functions.
17945 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
17947         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
17948         warning.
17949         (gdb-breakpoints-header): Move forward to avoid compiler warning.
17950         (gdb-make-header-line-mouse-map): Remove duplicate definition.
17952 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
17954         * simple.el (set-mark): Revert last change.
17956 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
17958         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
17959         rendering of pngs is not possible instead of messaging a long
17960         description.
17962 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
17964         * w32-fns.el (x-selection-owner-p): New function.
17966         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
17967         (mouse-yank-at-click, mouse-yank-primary): If
17968         select-active-regions is non-nil, deactivate the mark before
17969         insertion.
17971         * simple.el (deactivate-mark, set-mark): Only save selection if we
17972         own it.
17974 2009-07-17  Kenichi Handa  <handa@m17n.org>
17976         * case-table.el (describe-buffer-case-table): Fix for the case
17977         that KEY is a cons.
17979 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
17981         * vc-rcs.el (vc-rcs-find-file-hook):
17982         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
17984 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
17986         * net/tramp.el (tramp-wait-for-output): Handle the case when
17987         commands do not return a newline but a null byte before the shell
17988         prompt.  (Bug#3858)
17990 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
17992         * term/ns-win.el (ns-set-alpha): Don't declare.
17993         (ns-set-background-alpha): Remove function.
17995 2009-07-16  Kevin Ryde  <user42@zip.com.au>
17997         * emacs-lisp/copyright.el (copyright-update): Save match-data across
17998         y-or-n-p, for safety.
18000 2009-07-16  Richard Stallman  <rms@gnu.org>
18002         * files.el (auto-save-mode): If buffer-saved-size is -2,
18003         don't clobber it.
18005         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
18006         (rmail-retry-ignored-headers): Add more uninteresting fields.
18008 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
18010         * net/rcirc.el (rcirc): Use history variables.
18011         (rcirc-server-name-history, rcirc-nick-name-history)
18012         (rcirc-server-port-history): New variables.
18014 2009-07-15  Kenichi Handa  <handa@m17n.org>
18016         * international/mule-cmds.el (set-language-environment-charset):
18017         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
18018         ignore them.
18020         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
18021         Delete unibyte-display.
18023 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
18025         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
18027 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
18029         * simple.el (deactivate-mark): Optional argument FORCE.
18030         (set-mark): Use deactivate-mark.
18032         * info.el (Info-search): No need to check transient-mark-mode
18033         before calling deactivate-mark.
18035         * select.el (x-set-selection): Doc fix.
18036         (x-valid-simple-selection-p): Allow buffer values.
18037         (xselect--selection-bounds): Handle buffer values.  Suggested by
18038         David De La Harpe Golden.
18040         * mouse.el (mouse-set-region, mouse-drag-track): Call
18041         copy-region-as-kill before setting the mark, to let
18042         select-active-regions work.
18044 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
18046         * simple.el (deactivate-mark): If select-active-regions is
18047         non-nil, copy the selection data into a string.
18048         (activate-mark): If select-active-regions is non-nil, set the
18049         selection to the current buffer.
18050         (set-mark): Update selection if select-active-regions is non-nil.
18052         * select.el (x-valid-simple-selection-p): Allow buffer values.
18054 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
18056         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
18057         and more featureful message-mode.
18059 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
18061         * select.el (x-set-selection): Doc fix.
18062         (x-valid-simple-selection-p): Disallow selection data consisting
18063         of a list or cons of integers, since that is not used.
18064         (xselect--selection-bounds, xselect--int-to-cons): New functions.
18065         (xselect-convert-to-string, xselect-convert-to-length)
18066         (xselect-convert-to-filename, xselect-convert-to-charpos)
18067         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
18069 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
18071         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
18072         output in -break-info command (Emacs bug #3794).
18074 2009-07-14  Glenn Morris  <rgm@gnu.org>
18076         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
18077         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
18078         (edebug-print-length, edebug-print-level, edebug-print-circle)
18079         (edebug-sit-for-seconds, edebug-view-outside)
18080         (edebug-bounce-point, edebug-set-global-break-condition)
18081         (edebug-Go-nonstop-mode, edebug-trace-mode)
18082         (edebug-Trace-fast-mode, edebug-continue-mode)
18083         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
18084         (edebug-visit-eval-list): Doc fixes.
18086         * subr.el (def-edebug-spec): Doc fix.
18088 2009-07-14  Kenichi Handa  <handa@m17n.org>
18090         * international/characters.el: Fix setting of category ?C.
18092 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
18094         * term/ns-win.el (x-select-font): defalias x-select-font to
18095         ns-popup-font-panel instead of generate-fontset-menu.
18097 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
18099         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
18101 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
18103         * arc-mode.el (archive-find-type): Allow for a PK00 string before
18104         the PK\003\004 header (Bug#3770).
18106 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
18108         * pcomplete.el (pcomplete-comint-setup): Check for
18109         shell-dynamic-complete-filename too.
18111 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
18113         * simple.el (temporary-goal-column): Change the value for
18114         line-move-visual to a cons cell.
18115         (line-move-visual): Record or set the window hscroll, if
18116         necessary (Bug#3494).
18117         (line-move-1): Handle cons value of temporary-goal-column.
18119 2009-07-11  Kenichi Handa  <handa@m17n.org>
18121         * international/mule-diag.el (describe-character-set): Don't show
18122         width.
18124 2009-07-10  Sam Steingold  <sds@gnu.org>
18126         * progmodes/compile.el (compilation-mode-font-lock-keywords):
18127         Omake sometimes indents the errors it prints, so allow all
18128         regexps to start with spaces.
18130 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
18132         * cus-edit.el (customize-changed-options-previous-release):
18133         Bump value to 22.1.  (Bug#3804)
18135 2009-07-08  Sam Steingold  <sds@gnu.org>
18137         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
18138         to be a cons cell (test . ignored-directory) to selectively ignore
18139         some directories depending on the location of the search.
18141 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
18143         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
18144         remote user is root, on the local host.
18145         (tramp-local-host-p): Either the local user or the remote user
18146         must be root.  (Bug#3771)
18148 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
18150         * progmodes/gdb-mi.el (gdb): Remove description of
18151         gdb-use-separate-io-buffer.
18152         (menu): Don't allow toggling of or enable
18153         gdb-use-separate-io-buffer from menubar.
18155 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
18157         * mail/unrmail.el (unrmail): Make sure the message ends with two
18158         newlines (Bug#3769).
18160 2009-07-08  Glenn Morris  <rgm@gnu.org>
18162         * calendar/calendar.el (calendar-current-date): Rework previous change.
18164 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
18166         * calendar/calendar.el (calendar-current-date):
18167         Add an optional argument giving an offset from today.
18169 2009-07-08  Glenn Morris  <rgm@gnu.org>
18171         * tutorial.el (tutorial--describe-nonstandard-key):
18172         Adjust the message for when a key has been unbound.
18173         (help-with-tutorial): Hide the arch-tag.
18175 2009-07-08  Kenichi Handa  <handa@m17n.org>
18177         * international/fontset.el (setup-default-fontset): For each
18178         script, append (not set) font-specs.
18180         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
18181         docstring.
18183 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
18185         * progmodes/gdb-mi.el (gdb-init-1): Move sending
18186         -data-list-register-names to ...
18187         (gdb-starting): ... here because GDB 7.0 requires execution to
18188         have started when using this MI command.
18189         (gdb-set-header): New function to distinguish select and
18190         unselected tabs in gdb buffers.
18191         (gdb-propertize-header): New macro that uses gdb-set-header.
18192         (gdb-breakpoints-header, gdb-locals-header): Use it.
18193         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
18195 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
18197         * Makefile.in (ELCFILES): Remove fadr.elc.
18199 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
18201         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
18202         may contain frame information, so `string-match' should be used.
18203         (gdb-update): Disassembly is invalidated through
18204         `gdb-get-selected-frame'.
18205         (gdb-pad-string): New function to pad string with spaces.
18206         (gdb-invalidate-disassembly): Invalidate only if the buffer
18207         exists.
18208         (gdb-disassembly-handler-custom): Column alignment.
18209         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
18210         placing new ones.
18211         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
18212         end of line, too.
18213         (gdb-frame-handler): Match convention to for disassembly buffer
18214         mode name.
18215         (gdb-stack-list-frames-handler): Rewritten without regexps.
18216         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
18217         not highlight breakpoints without line information.
18218         (gdb-input): Add trailing newline to command.
18220         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
18221         buffer properly.
18222         (gdb-breakpoints-list-handler-custom): Replacement for
18223         `gdb-break-list-handler'.  Using real parser instead of regexps
18224         now.
18225         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
18226         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
18227         to place breakpoints.
18228         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
18229         functions.
18230         (gdb-disassembly-handler-custom): Show overlay arrow.
18231         (gdb-disassembly-place-breakpoints): Show breakpoints in
18232         disassembly buffer.
18233         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
18234         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
18235         instead of parsing breakpoints buffer.  Fixed old menu references
18236         in `gud-menu-map'.
18238         * fadr.el: Remove.
18240         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
18241         (gdb-memory-address): New variable which holds top address of
18242         memory page shown in memory buffer.
18243         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
18244         customization variables.
18245         New functions:
18246         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
18247         display the memory buffer.
18248         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
18249         buffer display parameters.
18250         (def-gdb-memory-format, gdb-memory-format-binary)
18251         (gdb-memory-format-octal, gdb-memory-format-unsigned)
18252         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
18253         Functions for setting memory buffer format.
18254         (gdb-memory-unit-word, gdb-memory-unit-halfword)
18255         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
18256         unit size used in memory buffer.
18257         (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
18258         to next/previous page of memory buffer.
18259         Now using (bindat-get-field) instead of fadr functions.
18261 2009-07-07  Sam Steingold  <sds@gnu.org>
18263         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
18264         non-top-level files.
18266 2009-07-07  Kenichi Handa  <handa@m17n.org>
18268         * international/mule-cmds.el (reset-language-environment): Put
18269         the highset priority to the charset iso-8859-1.
18271 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
18273         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
18274         to the end of the line when locating the block (Bug#700).
18276 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
18278         * net/tramp.el (tramp-handle-write-region): Flush file properties
18279         in case of short track.
18281 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
18283         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
18284         Coded custom representation of verilog error regular expressions
18285         to work with Emacs-22's new format.
18286         (verilog-error-regexp-xemacs-alist): Coded custom representation
18287         of verilog error regular expressions to work with XEmacs format.
18288         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
18289         error recognition into XEmacs.
18290         (verilog-error-regexp-add-emacs): Hook routine to install verilog
18291         error recognition into Emacs-22.
18293 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
18295         * woman.el: Remove stand-alone closing parentheses.
18296         (woman-file-name, woman2-format-paragraphs)
18297         (woman-leave-blank-lines): Code cleanup.
18298         (woman-use-own-frame): Change default to nil.
18299         (woman-italic, woman-bold, woman-unknown, woman-addition): Change
18300         defaults to inherit from default faces.
18301         (woman2-process-escapes): Consume the newline after a stand-alone
18302         filler character (Bug#3651).
18304 2009-07-06  Glenn Morris  <rgm@gnu.org>
18306         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
18307         (top-level): Move provide to the end.
18308         (ffap): Remove defunct URL from custom group.
18310         * subr.el (eval-after-load): Doc fix.
18312 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
18314         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
18315         `calc-embedded-word' is called twice.
18317 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18319         * files.el (find-alternate-file-other-window, find-alternate-file):
18320         Obey confirm-nonexistent-file-or-buffer.
18322 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
18324         * dired-aux.el (dired-show-file-type): Handle remote files.
18326 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
18328         * desktop.el (desktop-globals-to-save):
18329         Add file-name-history (Bug#2750).
18331 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
18333         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
18335 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
18337         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
18338         property on entire argument since this is what eshell-lisp-command
18339         expects.
18341 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
18343         * net/tramp-gvfs.el (tramp-gvfs-methods)
18344         (tramp-gvfs-zeroconf-domain)
18345         (tramp-bluez-discover-devices-timeout): Add version flag.
18346         (tramp-gvfs-handler-mounted-unmounted)
18347         (tramp-gvfs-connection-mounted-p): Polish handling of
18348         incompatibilities between GVFS 0.2 and 1.0.
18350 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
18352         * cus-start.el (all): Add make-pointer-invisible.
18354 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
18356         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
18357         formatted correctly.
18359 2009-07-02  Juri Linkov  <juri@jurta.org>
18361         * info.el: Virtual Info files and nodes.
18362         (Info-virtual-files, Info-virtual-nodes): New variables.
18363         (Info-current-node-virtual): New variable.
18364         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
18365         New functions.
18366         (Info-file-supports-index-cookies): Use Info-virtual-file-p
18367         to check for a virtual file instead of checking a fixed list
18368         of node names.
18369         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
18370         instead of ad-hoc processing of "dir" and (apropos history toc).
18371         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
18372         instead of ad-hoc processing of "dir" and (apropos history toc).
18373         Reread a file when moving from a virtual node.
18374         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
18375         (Info-directory-toc-nodes, Info-directory-find-file)
18376         (Info-directory-find-node): New functions.
18377         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
18378         (Info-history): Move part of code to
18379         `Info-history-find-node'.
18380         (Info-history-toc-nodes, Info-history-find-file)
18381         (Info-history-find-node): New functions.
18382         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
18383         (Info-toc): Move part of code to `Info-toc-find-node'.
18384         (Info-toc-find-node): New function.
18385         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
18386         the current Info file name to references because now the node
18387         "*TOC*" belongs to the same Info manual.
18388         (Info-toc-build): Rename from `Info-build-toc'.
18389         (Info-toc-nodes): Rename input argument `file' to `filename'.
18390         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
18391         instead of ad-hoc processing of ("dir" apropos history toc).
18392         (Info-index-nodes): Use Info-virtual-file-p
18393         to check for a virtual file instead of checking a fixed list
18394         of node names.
18395         (Info-index-node): Add check for `Info-current-node-virtual'.
18396         Raise `save-match-data' higher up the tree to contain
18397         `search-forward' too (bug fix).
18398         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
18399         (Info-virtual-index-nodes): New variable.
18400         (Info-virtual-index-find-node, Info-virtual-index): New functions.
18401         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
18402         (Info-apropos-file, Info-apropos-nodes): New variables.
18403         (Info-apropos-toc-nodes, Info-apropos-find-file)
18404         (Info-apropos-find-node, Info-apropos-matches): New functions.
18405         (info-apropos): Move part of code to `Info-apropos-find-node' and
18406         `Info-apropos-matches'.
18407         (Info-mode-map): Bind "I" to `Info-virtual-index'.
18408         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
18409         for a virtual file instead of checking a fixed list of node names.
18411         * simple.el (async-shell-command): New command.
18413         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
18415         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
18416         instead of `mount-info'.
18418 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
18420         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
18421         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
18423 2009-07-02  Kenichi Handa  <handa@m17n.org>
18425         * international/mule.el (set-keyboard-coding-system): Force *-unix
18426         coding-system to avoid eol conversion.
18428 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
18430         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
18431         Add handler for `process-file', `shell-command' and
18432         `start-file-process'.
18433         (tramp-gvfs-handle-shell-command)
18434         (tramp-gvfs-handle-start-file-process)
18435         (tramp-gvfs-handle-process-file): New defuns.
18436         (tramp-synce-list-devices): Simplify check for existence of property.
18438 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
18440         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
18442 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
18444         * language/korean.el (set-language-info-alist): Add korean-cp949,
18445         cp949 to spec.
18447 2009-07-01  Kenichi Handa  <handa@m17n.org>
18449         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
18451         * international/encoded-kb.el: Deleted.
18453         * international/mule.el (set-keyboard-coding-system): Perform the
18454         necessary setup here instead of calling encoded-kbd-setup-display.
18456 2009-07-01  Glenn Morris  <rgm@gnu.org>
18458         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
18460 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
18462         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
18464 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
18466         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
18467         Handle also the 'rename case, when setting file modes.  (Bug#3712)
18468         (tramp-default-file-modes): Remove execute permissions.
18470         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
18471         (top): Add a default for "synce" in `tramp-default-user-alist'.
18472         Add completion function for "synce" method.
18473         (tramp-hal-service, tramp-hal-path-manager)
18474         (tramp-hal-interface-manager, tramp-hal-interface-device):
18475         New defconst.
18476         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
18477         (tramp-synce-list-devices, tramp-synce-parse-device-names):
18478         New defuns.
18480         * net/trampver.el: Update release number.
18482 2009-06-30  Kenichi Handa  <handa@m17n.org>
18484         * international/fontset.el (setup-default-fontset): Add CJK fonts
18485         for symbols and the other miscellaneous characters.
18487         * language/korea-util.el (setup-korean-environment-internal):
18488         Make char-width-table suitable for Korean environments.
18489         (exit-korean-environment): Cancel above.
18491         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
18492         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
18493         setup-function to make char-width-table suitable for respective
18494         environments, and an exit-function to cancel that.
18496         * language/japan-util.el (setup-japanese-environment-internal):
18497         Call use-cjk-char-width-table with arg `ja_JP'.
18499         * international/characters.el (cjk-char-width-table): Delete it.
18500         (cjk-char-width-table-list): New variable.
18501         (use-cjk-char-width-table): New arg local-name.
18502         (use-default-char-width-table): Fix for the case that Emacs is
18503         already using the default char-width-table.
18505 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
18507         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
18508         modes mandatory.  (Bug#3712)
18510 2009-06-29  Alan Mackenzie  <acm@muc.de>
18512         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
18513         correction between the visible width of TABs and their number of bytes.
18515 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
18517         * server.el (server-buffer-done): Prevent kill-buffer from
18518         prompting by clearing the buffer modification flag (Bug#3696).
18520 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
18522         * progmodes/verilog-mode.el (verilog-beg-of-statement)
18523         (verilog-endcomment-reason-re): Support unique case and priority case.
18524         (verilog-basic-complete-re): Support localparam lineup.
18525         (verilog-beg-of-statement-1): Fix for robustness, unique case.
18526         (verilog-set-auto-endcomments): Fix for unique case, always_comb
18527         commenting.
18528         (verilog-leap-to-case-head): Now support *nested* unique &
18529         priority case statements.
18530         (verilog-auto-lineup): Make just declarations the default (as it
18531         had been).
18532         (verilog-leap-to-case-head): Support priority/unique case statements.
18533         (verilog-auto-lineup): Rework to give users radio buttons to
18534         select the various styles of automatic lineup.
18535         (verilog-error-regexp-alist): Rework to support the XEmacs style
18536         of error regular expressions from compilers, lint tools &
18537         simulators.  Note that GNU Emacs has made it impossible for a mode
18538         to load such things.
18539         (electric-verilog-terminate-line, verilog-indent-declaration)
18540         (verilog-auto-wiure): Rework for radio button selection of
18541         auto-lineup selection of specification of auto lineup.
18542         (verilog-beg-of-statement-1): Redesign to support proper operation
18543         in additional code, based on testing with auto-lineup.
18544         (verilog-calculate-indent, assignments & declarations)
18545         (verilog-backward-token): Enhance to support auto-lineup of
18546         assignments & declarations.
18547         (verilog-in-directive-p, verilog-at-struct-p): New function for
18548         easy test of whether we are.
18549         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
18550         to support safe execution at almost anyline.
18551         (verilog-calc-1): Properly support indenting deep inside generate
18552         blocks.
18553         (verilog-init-font): Remove definition & use of verilog-init-font,
18554         as it is redundant with font-lock-defaults.
18555         (verilog-mode): Alter the definition of verilog-font-lock-defaults
18556         to avoid circular calls if syntax-ppss is a function (as is the
18557         case now in 22.x GNU Emacs) as that function would sometimes call
18558         itself, leading to (nearly) infinite recursion.
18559         (verilog-ovm-begin-re, verilog-ovm-end-re)
18560         (verilog-ovm-statement-re, verilog-leap-to-head)
18561         (verilog-backward-token): Add support for OVM macros.  Some are
18562         complete statements, and others open and close scopes like begin
18563         and end.
18564         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
18565         (verilog-defun-level-generate-only-re): Really fix the defun-list
18566         compilation issue.
18567         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
18568         coverpoint, constraint and cross statements.
18569         (verilog-defun-level-list, verilog-generate-defun-level-list)
18570         (verilog-all-defun-level-list): Redo these specifications - it is
18571         too hard to support eval-when compile aggregation of lists also
18572         built at when-compile time.
18573         (verilog-defun-level-list): Place defconsts of variables used in
18574         building regular expressions which are built in eval-when-compile
18575         bodies in the same eval-when-compile body to facilitate compile
18576         without load.
18577         (verilog-beg-block-re-ordered): Support indenting
18578         virtual/protected tasks and functions.
18579         (verilog-defun-level-list, verilog-in-generate-region-p)
18580         (verilog-backward-ws&directives, verilog-calc-1): Speed up
18581         indentation of some module items (generate items).
18582         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
18583         across virtual/protected tasks and functions.
18585 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
18587         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
18588         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
18589         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
18590         in concatenations.  Reported by Yishay Belkind.
18591         (verilog-auto-ascii-enum): Support one-hot state machines in
18592         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
18593         (verilog-auto-inst, verilog-auto-inst-port): Include interface
18594         modport in AUTOINST and add vl-modport for users.  Reported by
18595         David Rogoff.
18596         (verilog-auto-inout-module, verilog-auto-inst)
18597         (verilog-decls-get-interfaces, verilog-insert-definition)
18598         (verilog-insert-one-definition, verilog-read-decls)
18599         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
18600         (verilog-sig-modport, verilog-signals-combine-bus)
18601         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
18602         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
18603         Suggested by David Rogoff.
18604         (verilog-repair-open-comma): Fix non-insertion of comma when
18605         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
18606         (verilog-make-width-expression): Simplify [A-1:0] expression
18607         widths to just {A{1'b0}}.
18608         (verilog-mode): Cleanup checkdoc warnings.
18609         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
18610         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
18611         inputs/outputs or data type.  Suggested by Vasu Kandadi.
18612         (next-error-last-buffer): Fix byte-compiler warning.
18613         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
18614         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
18615         or shell command text during AUTO expansion.  Suggested by Tad Truex.
18616         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
18617         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
18618         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
18619         in AUTOINOUT.  Reported by Matthew Lovell.
18620         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
18621         causing use of <= assignments.  Reported by Alex Reed.
18622         (verilog-read-decls): Fix triand, trior, wand, wor to be
18623         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
18624         (verilog-extended-complete-re): Support import "DPI-C" functions.
18625         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
18626         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
18627         (verilog-insert-date, verilog-insert-year)
18628         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
18629         Windows systems.  Reported by Michael Potts.
18630         (verilog-read-module-name): Fix AUTOINST when the child module
18631         declaration's name is a tick define.  Reported by Elliot Mednick.
18632         (verilog-read-decls): Fix V2K parameter bit subscripts getting
18633         passed to next parameter's definition.  Reported by Bruce T.
18634         (verilog-read-decls): Fix detecting "parameter int" when using
18635         AUTOINSTPARAM.  Reported by Bruce T.
18636         (verilog-goto-defun): Fix goto not finding modules unless first
18637         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
18638         (verilog-mode): Expand -f flag arguments on entry to mode so
18639         verilog-goto-defun will work.  Reported by Lawrence Butcher.
18640         (verilog-getopt): Expand environment variables in -f file
18641         arguments.  Suggested by Lawrence Butcher.
18642         (verilog-set-define): Fix "Symbol's value as variable is void"
18643         when reading enumerations.
18644         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
18645         Suggested by Stephen Peltan.
18646         (verilog-read-defines): Fix reading of enumerations in include
18647         files.  Reported by Steve Peltan.
18649 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
18651         * files.el (trash-directory): Fix defcustom type.
18653 2009-06-28  Juri Linkov  <juri@jurta.org>
18655         * help-fns.el (describe-function-1): Correctly locate adviced
18656         functions in hyperlink (Bug#2438).
18658 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
18660         * files.el (trash-directory): Change default to nil.
18661         (move-file-to-trash): If trash-directory is nil and
18662         system-move-file-to-trash is unbound, perform freedesktop-style
18663         trashing.
18665 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
18667         * files.el (move-file-to-trash): Add freedesktop trash
18668         support (Bug#973).
18670 2009-06-28  Glenn Morris  <rgm@gnu.org>
18672         * autorevert.el (global-auto-revert-non-file-buffers)
18673         (global-auto-revert-mode): Doc fixes.
18675 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
18677         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
18679 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
18681         * faces.el (x-handle-named-frame-geometry): Ensure that we have
18682         opened an X connection before calling x-get-resource (Bug#3194).
18684         * play/doctor.el: Remove reference to obsolete website.
18685         (make-doctor-variables): Correct grammar mistake (Bug#2633).
18687 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
18689         Remove find-file-not-found-hook VC method.  (Bug#2757)
18690         * vc-hooks.el (vc-file-not-found-hook)
18691         (vc-default-find-file-not-found-hook): Remove functions.
18692         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
18693         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
18694         * vc.el:
18695         * vc-hg.el:
18696         * vc-git.el: Do not mention find-file-not-found-hook VC method.
18698 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
18700         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
18701         compatibility function for `looking-back'.
18703         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
18704         Use `ispell-looking-back'.
18706 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
18708         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
18709         rather than `filename'.
18711 2009-06-23  Miles Bader  <miles@gnu.org>
18713         * face-remap.el (text-scale-set): New function.
18715 2009-06-23  Glenn Morris  <rgm@gnu.org>
18717         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
18719         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
18721         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
18723         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
18725         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
18726         Simplify Persian conditionals.
18728         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
18729         variable `filename'.
18731         * comint.el (comint-insert-input): Doc fix.
18733         * Makefile.in (ELCFILES): Fix typo in previous change.
18735 2009-06-23  Miles Bader  <miles@gnu.org>
18737         * cus-start.el: Add entry for `recenter-redisplay'.
18739 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
18741         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
18742         Add an optional argument for the backend, use it instead of
18743         calling vc-backend.
18744         (vc-mode-line): Add an optional argument for the backend.
18745         Pass the backend to vc-state and vc-working-revision.  Move code for
18746         special handling for vc-state being a buffer to ...
18748         * vc-rcs.el (vc-rcs-find-file-hook):
18749         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
18751         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
18752         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
18753         vc-stay-local-p and vc-mode-line calls.
18755         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
18756         (vc-cvs-diff, vc-cvs-annotate-command)
18757         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
18758         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
18759         vc-mode-line calls.
18761         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
18762         direct comparison.
18763         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
18764         backend when calling vc-mode-line.
18765         (vc-register): Do not create a closure for calling the vc register
18766         function, call it directly.
18768 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
18770         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
18771         to make it obvious item can be clicked.
18773         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
18775 2009-06-23  Kenichi Handa  <handa@m17n.org>
18777         * language/korea-util.el (korean-key-bindings): Change the binding
18778         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
18779         same command.
18781 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
18783         Sync with Tramp 2.1.16.
18785         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
18787         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
18788         when a loading of a package fails.  Completion function for rsync
18789         is `tramp-completion-function-alist-ssh'.
18790         (all): Replace all calls of `split-string' and
18791         `tramp-split-string' by `tramp-compat-split-string'.
18792         (tramp-default-method): Use `tramp-compat-process-running-p'.
18793         (tramp-default-proxies-alist): Allow also Lisp forms.
18794         (tramp-remote-path): Add choice "Private Directories".
18795         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
18796         (tramp-domain-regexp): Allow also "-", "_" and ".".
18797         (tramp-end-of-output): Remove newlines, and add "$" at the end.
18798         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
18799         (tramp-debug-message): Insert header line in debug buffer.
18800         (tramp-handle-directory-files-and-attributes-with-stat):
18801         Care about filenames with spaces, or starting with "-".
18802         (tramp-handle-dired-uncache): New defun.
18803         (tramp-handle-insert-directory): Don't flush the directory from
18804         cache, this is handled by `dired-uncache' now.
18805         (tramp-handle-insert-file-contents): Improve error handling.
18806         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
18807         Quote `tramp-end-of-output'.
18808         (tramp-action-password): Improve trace message.
18809         (tramp-check-for-regexp): Both echoes must be present, before removing.
18810         (tramp-open-connection-setup-interactive-shell): Trace coding system.
18811         (tramp-compute-multi-hops): Eval cons cells of
18812         `tramp-default-proxies-alist'.
18813         (tramp-maybe-open-connection): Use the same command pattern for
18814         first hop and further hops.
18815         (tramp-wait-for-output): Remove handling of newlines.
18816         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
18817         (tramp-split-string): Remove function.  It is handled in
18818         tramp-compat now.
18820         * net/tramp-cmds.el (tramp-bug):
18821         Recommend `tramp-cleanup-all-connections' in the bug mail.
18823         * net/tramp-compat.el (tramp-compat-split-string)
18824         (tramp-compat-process-running-p): New defuns.
18826         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
18827         for `dired-uncache'.
18829         * net/tramp-gvfs.el: New package.
18831         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
18832         Add handler for `dired-uncache'.
18833         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
18835         * net/trampver.el: Update release number.  Make version check fit
18836         for SXEmacs 22.
18838 2009-06-22  Jim Meyering  <meyering@redhat.com>
18840         Automatically handle .xz suffix (XZ-compressed files), too.
18841         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
18842         XZ is the successor to LZMA: <http://tukaani.org/xz/>
18844 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
18845             Nick Roberts  <nickrob@snap.net.nz>
18847         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
18848         repository (http://sphinx.net.ru/hg/gdb-mi/).
18850 2009-06-22  Glenn Morris  <rgm@gnu.org>
18852         * files.el (dir-locals-collect-mode-variables): Allow for any number of
18853         `mode' and `eval' entries.  (Bug#3430)
18855         * Makefile.in (ELCFILES): Add fadr.elc.
18857         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
18858         differing behavior of \n and ^ in strings.  (Bug#3385)
18860         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
18862         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
18863         property.
18864         (lisp-indent-function): Make it a defcustom.
18866 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
18868         * progmodes/gdb-ui.el: Replace with ...
18869         * progmodes/gdb-mi.el: ... this file.
18870         * progmodes/gud.el: Modify for gdb-mi.el.
18872 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
18874         * fadr.el: New file.
18876 See ChangeLog.14 for earlier changes.
18878 ;; Local Variables:
18879 ;; coding: utf-8
18880 ;; End:
18882   Copyright (C) 2009, 2010  Free Software Foundation, Inc.
18884   This file is part of GNU Emacs.
18886   GNU Emacs is free software: you can redistribute it and/or modify
18887   it under the terms of the GNU General Public License as published by
18888   the Free Software Foundation, either version 3 of the License, or
18889   (at your option) any later version.
18891   GNU Emacs is distributed in the hope that it will be useful,
18892   but WITHOUT ANY WARRANTY; without even the implied warranty of
18893   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18894   GNU General Public License for more details.
18896   You should have received a copy of the GNU General Public License
18897   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.