* lisp/Makefile.in: Fix up last merge.
[emacs/old-mirror.git] / lisp / ChangeLog
blob460961ee4a610870ab6ec312eb5b63d3c36a0ff1
1 2010-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3         * Makefile.in: Fix up last merge.
5         * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
6         (diff-sentinel): Get them as arguments instead.
7         (diff-old-file, diff-new-file, diff-extra-args): Remove.
8         (diff-file-local-copy, diff-better-file-name): New funs.
9         (diff-no-select): Rename from diff-into-buffer.
10         Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
11         Prefer closures to buffer-local variables.
12         (diff): Adjust accordingly.
13         (diff-buffer-with-file): Move from files.el.
14         * files.el (diff-buffer-with-file): Move to vc/diff.el.
15         (diff-buffer-internal): Remove.
16         (diff-buffer-buffer): Remove.
17         (save-some-buffers-action-alist): Use diff-no-select so as not to guess
18         the buffer name used, and so as not to mess up windows and frames.
20 2010-11-22  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
22         * files.el: Make revert work with diff-buffer-with-file (bug#7277).
23         (diff-buffer-internal): New function extracted from diff-buffer-with-file
24         (diff-buffer-with-file): Use it.
25         * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
26         (diff): Use it.
28 2010-11-22  Tassilo Horn  <tassilo@member.fsf.org>
30         * textmodes/reftex-ref.el (reftex-goto-label): Use the current
31         \ref's or \pageref's value as default instead of initial input.
33 2010-11-21  Michael Albinus  <michael.albinus@gmx.de>
35         * files.el (backup-by-copying-when-mismatch): The default value is
36         now t.
38         * startup.el (normal-top-level):
39         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
40         `backup-by-copying-when-mismatch'.
42 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
44         * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
46 2010-11-21  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
48         * progmodes/python.el (python-font-lock-keywords):
49         Highlight top-level augmented assignments (Bug#6445).
51 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
53         * term/ns-win.el (ns-right-control-modifier)
54         (ns-right-command-modifier): Defvar them.
56         * cus-start.el (all): Add ns-right-control-modifier and
57         ns-right-command-modifier (Bug#7458).
59 2010-11-20  Glenn Morris  <rgm@gnu.org>
61         * emacs-lisp/authors.el (authors-ignored-files)
62         (authors-valid-file-names, authors-renamed-files-alist): Add entries.
64 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
66         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
67         (report-emacs-bug-parse-query-results)
68         (report-emacs-bug-create-existing-bugs-buffer): Pass through
69         keywords used for querying the bug database to show them in the
70         existing bugs buffer.
72 2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>
74         * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
76         * info.el (info-tool-bar-map): Add some :vert-only keywords.
78 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
80         * international/characters.el (glyphless-char-display-control):
81         Make it a defcustom, with update-glyphless-char-display as its
82         :set attribute.
83         (top level): Don't call update-glyphless-char-display.
85 2010-11-20  Michael Albinus  <michael.albinus@gmx.de>
87         Sync with Tramp 2.2.0.
89         * net/tramp.el (tramp-handle-insert-file-contents): Don't use
90         `file-remote-p' (due to compatibility).
92         * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
93         (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
95         * net/trampver.el: Update release number.
97 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
99         * faces.el (glyphless-char): Define value for `pc'.
101 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
103         Implemented a bug querying mechanism.
104         * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
105         (report-emacs-bug-create-existing-bugs-buffer)
106         (report-emacs-bug-parse-query-results)
107         (report-emacs-bug-query-existing-bugs): New functions.
109 2010-11-19  Tassilo Horn  <tassilo@member.fsf.org>
111         * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
112         a \ref{} or \pageref{} macro, then use its value as initial input.
114 2010-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
116         * calc/calc-units.el (math-build-units-table-buffer):
117         calc/README: Mention that the TeX specific units won't use the
118         `tex' prefix in TeX mode.
119         calc/calc-lang.el (math-variable-table): Don't use the `tex'
120         prefix for units in TeX mode.
122 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
124         * simple.el (kill-new, kill-append, kill-region):
125         * comint.el (comint-kill-region): Make the yank-handler argument obsolete.
127 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
129         * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
130         that are both openers (resp. closers) and something else.
131         (smie-grammar): Loosen definition of valid values.
132         (smie-next-sexp, smie-down-list, smie-blink-matching-open)
133         (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
134         (smie-indent-after-keyword): Adjust users.
135         (smie-indent-keyword): Don't indent empty lines.
137         * vc-hg.el (vc-hg-program): New var.
138         Suggested by Norman Gray <norman@astro.gla.ac.uk>.
139         (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
141 2010-11-18  Glenn Morris  <rgm@gnu.org>
143         * emacs-lisp/autoload.el (autoload-find-destination): The function
144         coding-system-eol-type may return non-numeric values.  (Bug#7414)
146 2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
148         * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
150 2010-11-18  Eli Zaretskii  <eliz@gnu.org>
152         * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
154 2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
156         * textmodes/picture.el (picture-mouse-set-point): Don't use
157         posn-col-row; explicitly compute the motion based on the posn at
158         the window-start (Bug#7390).
160 2010-11-18  Glenn Morris  <rgm@gnu.org>
162         * novice.el (disabled-command-function):
163         Fix 2009-11-15 change.  (Bug#7384)
165 2010-11-18  Glenn Morris  <rgm@gnu.org>
167         * calendar/calendar.el (diary-iso-date-forms): Make elements
168         mutually exclusive.  (Bug#7377)
170 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
172         * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
173         when filling the remaining "unconstrained" values.
175 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
177         * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
178         safety predicate.
180         * files.el (safe-local-variable-p): Gracefully handle errors.
182         * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
183         Use smie-indent-virtual when indenting relative to an opener.
184         (smie-rule-separator): Use smie-rule-parent.
185         (smie-indent-keyword): Consult rules, even for openers at bol.
186         (smie-indent-comment-close): Try to align closer's content.
188 2010-11-18  Glenn Morris  <rgm@gnu.org>
190         * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
192 2010-11-18  Glenn Morris  <rgm@gnu.org>
194         * printing.el (pr-menu-bind): Doc fix.
196         * speedbar.el (speedbar-toggle-images): Doc fix.
198         * progmodes/python.el (python-shell): Doc fix.
200         * wid-edit.el (widget-field-use-before-change)
201         (widget-use-overlay-change): Doc fixes.
203 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
205         Minor cleanup to improve style.
206         * textmodes/rst.el (rst-update-section): Use point-marker.
207         (rst-get-decoration): Eliminate unneeded assignment.
208         (rst-promote-region, rst-straighten-decorations)
209         (rst-section-tree, rst-adjust): Use point-marker.
210         (rst-toc-mode-mouse-goto): Avoid setq.
211         (rst-shift-region-guts, rst-shift-region-left)
212         (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
213         (rst-convert-bullets-to-enumeration): Use copy-marker.
215         * minibuffer.el (completion-fail-discreetly): New var.
216         (completion--do-completion): Use it.
218         * electric.el (electric-pair-pairs): New var.
219         (electric-pair-post-self-insert-function): Use it.
220         (electric-layout-post-self-insert-function): Don't insert a before
221         newline unless it's actually needed.
223 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
225         * progmodes/python.el (run-python): Explain why we remove the current
226         directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
228         * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
230 2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
232         * progmodes/octave-mod.el: Rely on elecric-*-modes.
233         (octave-mode-map): Don't bind ;, SPC, and LF.
234         (octave-auto-indent, octave-auto-newline): Remove.
235         (electric-layout-rules): Declare.
236         (octave-mode): Set electric-layout-rules.
237         (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
238         (octave-reindent-then-newline-and-indent, octave-electric-semi)
239         (octave-electric-space): Remove.
241         * electric.el (electric-layout-mode): New minor mode.
242         (electric--after-char-pos): New function.
243         (electric-indent-post-self-insert-function): Use it.
244         (electric-layout-rules): New var.
245         (electric-layout-post-self-insert-function): New function.
246         (electric-indent-mode): Make them interact better.
248 2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
250         * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
251         (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
252         (checkdoc-proper-noun-region-engine): Use with-syntax-table.
254 2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
256         * textmodes/flyspell.el (flyspell-generic-progmode-verify):
257         Make sure to check inside the word (Bug#6761).
259 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
261         * startup.el (command-line): If the cursorColor resource is set,
262         change the cursor face-spec (Bug#7392).
264 2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
266         The main features of the following allout.el changes are:
267         - implement user customization for the allout key bindings
268         - add a customization control by which the user can inhibit use of
269           a trailing Ctrl-H, so by default it's reserved for use with
270           describe-prefix-bindings
271         - adapt to new version of called-interactively-p, while
272           maintaining backwards compatibility with old version
273         - fix hotspot navigation so i works properly with meta-modified keys
275         * allout.el (allout-keybindings, allout-bind-keys)
276         (allout-keybindings-binding, allout-prefixed-keybindings)
277         (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
278         (allout-keybindings-list, allout-mode-map-adjustments)
279         (allout-setup-mode-map): Establish allout-mode keymaps as user
280         customizable settings, and also establish a customizable setting which
281         regulates whether or not a trailing control-h is reserved for use with
282         describe-prefix-bindings - and inhibit it by default, so that control-h
283         *is* reserved for describe-prefix-bindings unless the user changes it.
285         * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
286         and accurately between modified and unmodified events, and handle
287         modified events more comprehensively.
289         * allout.el (allout-substring-no-properties):
290         Alias to use or provide version of `substring-no-properties'.
291         (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
293         * allout.el (allout-next-single-char-property-change):
294         Alias to use or provide version of `next-single-char-property-change'.
295         (allout-annotate-hidden, allout-hide-by-annotation):
296         Use `allout-next-single-char-property-change'.
298         * allout.el (allout-select-safe-coding-system):
299         Alias to use or provide version of `select-safe-coding-system'.
300         (allout-toggle-subtree-encryption):
301         Use `allout-select-safe-coding-system'.
303         * allout.el (allout-set-buffer-multibyte):
304         Alias to use or provide version of `set-buffer-multibyte'.
305         (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
307         * allout.el (allout-called-interactively-p): Macro for using the
308         different versions of called-interactively-p identically, depending on
309         the subroutine's argument signature.
310         (allout-back-to-current-heading, allout-beginning-of-current-entry):
311         Use `(interactive "p")' instead of `(called-interactively-p)'.
313         * allout.el (allout-init, allout-ascend, allout-end-of-level)
314         (allout-previous-visible-heading, allout-forward-current-level)
315         (allout-backward-current-level, allout-show-children):
316         Use `allout-called-interactively-p' instead of `called-interactively-p'.
318         * allout.el (allout-before-change-handler):
319         Exempt edits to the (overlaid) character after the allout outline
320         bullet from edit confirmation prompt.
322         * allout.el (allout-add-resumptions):
323         Ensure that it respects correct buffer for keybindings.
325         * allout.el (allout-beginning-of-line):
326         Use `allout-previous-single-char-property-change' alias for the sake of
327         diverse compatibility.
329         * allout.el (allout-end-of-line):
330         Use `allout-mark-active-p' to encapsulate respect for mark activity.
332 2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
334         * frame.el (frame-notice-user-settings): Don't clobber other
335         user-set parameters when calling face-set-after-frame-default in
336         response to background-color parameter (Bug#7373).
338 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
340         * international/characters.el (glyphless-char-display-control):
341         Renamed from glyphless-char-control; all users changed.  Doc fix.
342         Signal an error if display method is not one of the recognized
343         symbols.
345 2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
347         * net/tramp-compat.el (tramp-compat-line-beginning-position)
348         (tramp-compat-line-end-position): Remove them.
350         * net/tramp.el (tramp-parse-rhosts-group)
351         (tramp-parse-shosts-group, tramp-parse-sconfig-group)
352         (tramp-parse-hosts-group, tramp-parse-passwd-group)
353         (tramp-parse-netrc-group, tramp-parse-putty-group)
354         * net/tramp-cmds.el (tramp-append-tramp-buffers)
355         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
356         (tramp-sh-handle-file-selinux-context)
357         (tramp-sh-handle-file-name-all-completions)
358         (tramp-sh-handle-insert-directory)
359         (tramp-sh-handle-expand-file-name, tramp-find-executable)
360         (tramp-wait-for-output, tramp-send-command-and-read)
361         * net/tramp-smb.el (tramp-smb-read-file-entry)
362         (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
364         * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
365         `point-at-bol'.
366         (tramp-remote-coding-commands): Add an alternative using "base64
367         -d -i".  This is needed for older base64 versions from GNU
368         coreutils.  Reported by Klaus Reichl
369         <Klaus.Reichl@thalesgroup.com>.
371 2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
373         * simple.el (count-words-region): New function.
375 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
377         * shell.el (shell-dir-cookie-re): New custom variable.
378         (shell-dir-cookie-watcher): New function.
380         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
381         and compilation-mode (bug#7350).
383         * vc/smerge-mode.el (smerge-refine): Choose better default part to
384         highlight when one of them is empty.
386         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
387         trailing space.
388         (skeleton-newline): New function.
389         (skeleton-internal-1): Use it.
391         * simple.el (open-line): `newline' may strip trailing space.
393 2010-11-12  Kevin Ryde  <user42@zip.com.au>
395         * international/mule-cmds.el (princ-list): Use mapc.
397 2010-11-12  Glenn Morris  <rgm@gnu.org>
399         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
400         Use it to replace all instances of "*Compile-Log*"
402 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
404         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
405         indentation specs.
407 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
409         * progmodes/modula2.el: Use SMIE and skeleton.
410         (m2-mode-syntax-table): (*..*) can be nested.
411         Add //...\n.  Fix paren syntax.
412         (m2-mode-map): Remove LF and TAB bindings.
413         (m2-indent): Add safety property.
414         (m2-smie-grammar): New var.
415         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
416         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
417         (m2-mode): Use define-derived-mode.
418         (m2-newline, m2-tab): Remove.
419         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
420         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
421         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
422         (m2-import): Use define-skeleton.
424 2010-11-11  Glenn Morris  <rgm@gnu.org>
426         * obsolete/lucid.el: Don't warn about any CL functions in this file.
428         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
429         (ls-lisp-verbosity): Add custom :set-after property.
430         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
431         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
432         (ls-lisp-insert-directory): Update caller.
433         (ls-lisp-set-options): New function.
434         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
435         Doc fix.
437         * play/landmark.el (lm-prompt-for-move):
438         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
440         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
442         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
443         (idlwave-study-twins): Prefix dynamic local variable `name'.
444         (idlwave-routine-twin-compare): Update for above change.
446         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
447         Prefix dynamic local variables `name', `kwd', and `link'.
448         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
449         * progmodes/idlw-complete-structtag.el
450         (idlwave-complete-structure-tag-help):
451         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
452         (idlwave-complete-sysvar-tag-help)
453         (idlwave-complete-class-structure-tag-help):
454         Update for above name changes.
456 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
458         * net/browse-url.el (browse-url-browser-function): Change the
459         default to use `browse-url-mail' on mailto: URLs.
461 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
463         * emacs-lisp/package.el (package-read-all-archive-contents):
464         Reset package-archive-contents to nil before re-reading.
466 2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
468         * textmodes/flyspell.el (flyspell-word): Do not re-check words
469         already found as misspellings by (flyspell-large-region), just
470         do highlighting (bug#7322).
472 2010-11-10  Glenn Morris  <rgm@gnu.org>
474         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
476         * emulation/edt.el (edt-with-position): New macro.
477         (edt-find-forward, edt-find-backward, edt-find-next-forward)
478         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
479         (edt-paragraph-forward, edt-paragraph-backward): Use it.
481         * emulation/tpu-extras.el (tpu-with-position): New macro.
482         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
484         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
486         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
487         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
488         (texinfo-master-menu, texinfo-insert-node-lines)
489         (texinfo-multiple-files-update):
490         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
491         Use line-beginning-position.
493         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
494         No recent Emacs supports system-type `emx'.
496         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
497         (ada-command-separator, ada-default-prj-properties)
498         (ada-find-any-references): Update for above name change.
500         * dirtrack.el (dirtrack-directory-function)
501         (dirtrack-canonicalize-function):
502         * filecache.el (file-cache-completion-ignore-case)
503         (file-cache-case-fold-search, file-cache-ignore-case):
504         * term.el (serial-port-is-file-p): Cosmetic change.
506         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
507         Remove non-existent `windows-95' system-type.
508         * dired.el (dired-chown-program): Remove non-existent `linux'
509         system-type.
511         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
512         (ping-program-options): Remove non-existent `linux' system-type.
514         * startup.el (package-initialize): Update declaration.
516         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
517         (ls-lisp-handle-switches): Use time-less-p.
518         (ls-lisp-format-time): Use float-time.
520         * textmodes/remember.el (remember-time-to-seconds): Remove.
521         (remember-store-in-mailbox): Use float-time.
523         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
525         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
526         never a real function.
527         (with-no-warnings): Remove compat stub, now unused.
528         (time-less-p): Doc fix.
529         (time-to-number-of-days): Simplify.
531         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
532         Remove.
533         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
534         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
535         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
536         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
537         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
539         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
540         (eshell-shuffle-files, eshell-shorthand-tar-command)
541         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
542         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
543         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
544         Prefix dynamic local variable `matches'.
546         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
547         Prefix dynamic local variable `skeleton'.
549 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
551         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
552         in mail buffer; make yank-action always a command that yanks original
553         buffer.
555 2010-11-09  Glenn Morris  <rgm@gnu.org>
557         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
559 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
561         * minibuffer.el (minibuffer-completion-help): Specify the end of the
562         completion field (bug#7211).
564         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
565         Fix handling of backslash escapes.
566         (python-quote-syntax): Adjust accordingly.
568 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
570         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
571         (vc-mtn-workfile-branch): Adjust to new output format.
573 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
575         * international/mule-cmds.el (princ-list): Mark as obsolete.
577 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
579         * emacs-lisp/smie.el: New package.
581 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
583         * files.el (backup-by-copying-when-mismatch):
584         Set `permanent-local' property.
586         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
587         `permanent-local' property for `backup-by-copying-when-mismatch'.
589 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
591         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
593 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
595         * progmodes/verilog-mode.el (verilog-insert-one-definition)
596         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
597         AUTOINOUT for SV style multidimensional arrays, bug294.
598         Reported by Eric Mastromarchi.
599         (verilog-preprocess): Use with-current-buffer and
600         font-lock-fontify-buffer to cleanup style issues.
602 2010-11-09  Glenn Morris  <rgm@gnu.org>
604         * locate.el (locate, locate-mode): Doc fixes.
606 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
608         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
609         user for confirmation.
610         (server-force-stop): Use it.
611         (server-start): Use server-force-stop for kill-emacs-hook, to
612         avoid user interaction while killing Emacs.
614 2010-11-09  Glenn Morris  <rgm@gnu.org>
616         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
617         (meta-indent-line): Simplify.
619         * vc/emerge.el (emerge-line-number-in-buf):
620         * textmodes/ispell.el (ispell-region):
621         * textmodes/fill.el (current-fill-column):
622         * progmodes/xscheme.el (xscheme-send-current-line):
623         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
624         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
625         * progmodes/sh-script.el (sh-handle-prev-do):
626         * progmodes/meta-mode.el (meta-indent-line):
627         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
628         (idlwave-in-quote):
629         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
630         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
631         * progmodes/fortran.el (fortran-looking-at-if-then):
632         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
633         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
634         (cperl-find-pods-heres):
635         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
636         * net/quickurl.el (quickurl-list-insert):
637         * net/ldap.el (ldap-search-internal):
638         * net/eudc.el (eudc-expand-inline):
639         * mail/sendmail.el (sendmail-send-it):
640         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
641         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
642         (viper-brac-function):
643         * calc/calc-yank.el (calc-do-grab-region):
644         * calc/calc-keypd.el (calc-keypad-press):
645         * term.el (term-move-columns, term-insert-spaces):
646         * speedbar.el (speedbar-highlight-one-tag-line):
647         * simple.el (current-word):
648         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
649         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
650         (Info-scroll-down):
651         * hippie-exp.el (he-line-beg):
652         * epa.el (epa--marked-keys):
653         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
654         (dired-update-file-line, dired-add-entry, dired-remove-entry)
655         (dired-relist-entry):
656         * buff-menu.el (Buffer-menu-buffer):
657         * array.el (current-line):
658         * allout.el (allout-resolve-xref)
659         (allout-latex-verbatim-quote-curr-line):
660         Replace yet more uses of end-of-line etc with line-end-position, etc.
662 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
664         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
665         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
666         (checkdoc-syntax-table): Initialize in the declaration.
667         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
668         the mode on unconditionally.
670         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
671         (extent-end-position, extent-start-position): Remove setf method for
672         non-existing functions (bug#7319).
674 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
676         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
677         (smie-precs->prec2): Rename from smie-precs-precedence-table.
678         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
679         (smie-prec2->grammar): Rename from smie-prec2-levels.
680         (smie-grammar): Rename from smie-op-levels.
681         (smie-indent--hanging-p): Rename from smie-hanging-p.
682         (smie-rule-hanging-p): New alias.
683         (smie-indent--bolp): Rename from smie-bolp.
684         (smie-indent--hanging-p): New alias.
685         (smie--token): New dynamically bound variable.
686         (smie-indent--parent): New function.
687         (smie-rule-parent-p): Use it; rename from smie-parent-p.
688         (smie-rule-next-p): Rename from smie-next-p.
689         (smie-rule-prev-p): Rename from smie-prev-p.
690         (smie-rule-sibling-p, smie-rule-parent)
691         (smie-indent--separator-outdent, smie-rule-separator): New functions.
692         (smie-rule-separator-outdent): New var.
693         (smie-indent--rule): Merge with smie-indent--column.
694         (smie-indent-forward-token, smie-indent-backward-token):
695         Also recognize close parens.
696         (smie-indent-keyword): Don't use smie-indent--column any more.
697         (smie-indent-after-keyword): Ignore closers by default.
698         (smie-indent-line): Use with-demoted-errors.
699         * progmodes/octave-mod.el (octave-smie-grammar):
700         Rename from octave-smie-op-levels.
701         (octave-smie-rules): Adjust to new behavior.
702         * progmodes/prolog.el (prolog-smie-grammar):
703         Rename from prolog-smie-op-levels.
705 2010-11-07  Glenn Morris  <rgm@gnu.org>
707         * eshell/esh-util.el (subst-char-in-string)
708         (directory-files-and-attributes): These compatibility definitions are
709         not needed on any version of Emacs since at least 21.4.
711         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
712         (verilog-get-end-of-line): Remove.
713         (verilog-within-string, verilog-re-search-forward-substr)
714         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
715         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
716         Use point-at-bol, point-at-eol.
717         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
718         Remove.
719         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
720         (electric-pascal-terminate-line, pascal-set-auto-comments)
721         (pascal-indent-paramlist, pascal-indent-declaration)
722         (pascal-get-lineup-indent, pascal-func-completion)
723         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
724         Use point-at-bol, point-at-eol.
725         * progmodes/flymake.el (flymake-line-beginning-position)
726         (flymake-line-end-position): Remove.
727         (flymake-highlight-line): Use point-at-bol, point-at-eol.
728         * eshell/esh-util.el (line-end-position, line-beginning-position):
729         Remove compat definitions.
731         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
732         Use end-of-line N.
733         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
734         Use line-end-position.
736         * emacs-lisp/chart.el (chart-zap-chars):
737         * play/decipher.el (decipher-set-map):
738         * progmodes/ada-mode.el (ada-get-current-indent)
739         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
740         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
741         * progmodes/ada-xref.el (ada-initialize-runtime-library)
742         (ada-get-all-references):
743         * progmodes/cperl-mode.el (cperl-electric-paren)
744         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
745         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
746         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
747         (cperl-word-at-point-hard):
748         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
749         (idlwave-shell-filename-string, idlwave-shell-batch-command)
750         (idlwave-shell-display-line):
751         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
752         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
753         * progmodes/js.el (js--re-search-forward-inner)
754         (js--re-search-backward-inner):
755         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
756         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
757         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
758         * textmodes/flyspell.el (flyspell-process-localwords):
759         * textmodes/ispell.el (ispell-buffer-local-parsing)
760         (ispell-buffer-local-dict, ispell-buffer-local-words):
761         Use point-at-bol and point-at-eol.
763         * speedbar.el (speedbar-generic-item-info)
764         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
765         (speedbar-add-indicator, speedbar-check-vc-this-line)
766         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
767         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
768         Replace more uses of end-of-line etc with line-end-position.
770 2010-11-06  Glenn Morris  <rgm@gnu.org>
772         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
773         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
774         (texinfo-delete-existing-pointers, texinfo-find-pointer)
775         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
776         (texinfo-multiple-files-update):
777         * textmodes/table.el (table--probe-cell-left-up)
778         (table--probe-cell-right-bottom):
779         * textmodes/picture.el (picture-tab-search):
780         * textmodes/page-ext.el (pages-copy-header-and-position)
781         (pages-directory-for-addresses):
782         * progmodes/vera-mode.el (vera-get-offset):
783         * progmodes/simula.el (simula-calculate-indent):
784         * progmodes/python.el (python-pdbtrack-overlay-arrow):
785         * progmodes/prolog.el (end-of-prolog-clause):
786         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
787         * progmodes/icon.el (indent-icon-exp):
788         * progmodes/etags.el (tag-re-match-p):
789         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
790         * progmodes/ebnf2ps.el (ebnf-begin-file):
791         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
792         (dcl-save-local-variable):
793         * play/life.el (life-setup):
794         * play/gametree.el (gametree-looking-at-ply):
795         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
796         * mail/sendmail.el (mail-mode-auto-fill):
797         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
798         * emacs-lisp/edebug.el (edebug-overlay-arrow):
799         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
800         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
801         (woman-tab-to-tab-stop, WoMan-warn-ignored):
802         * type-break.el (type-break-file-keystroke-count):
803         * term.el (term-replace-by-expanded-history-before-point)
804         (term-skip-prompt, term-extract-string):
805         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
806         (speedbar-contract-line, speedbar-toggle-line-expansion)
807         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
808         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
809         * sort.el (sort-skip-fields):
810         * skeleton.el (skeleton-internal-list):
811         * simple.el (line-move-finish, line-move-to-column):
812         * shell.el (shell-forward-command):
813         * misc.el (copy-from-above-command):
814         * makesum.el (double-column):
815         * ebuff-menu.el (electric-buffer-update-highlight):
816         * dired.el (dired-move-to-end-of-filename):
817         * dframe.el (dframe-popup-kludge):
818         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
819         * arc-mode.el (archive-get-lineno):
820         Use line-end-position and line-beginning-position.
822         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
823         (idlwave-study-twins): Prefix dynamic local `class'.
824         (idlwave-routine-twin-compare): Update for above name change.
826         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
827         Use boundp tests to silence compiler.  Update for changed name of
828         bytecomp-filename variable.
830         * emulation/viper-cmd.el (viper-read-string-with-history):
831         Prefix dynamic local `initial'.
832         (viper-minibuffer-standard-hook): Update for above name change.
834         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
835         (elint-init-form): Update for above name change.
837         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
838         local variables `cbeg' and `cend' a prefix.
839         (mail-extr-voodoo): Update for above name change.
841         * textmodes/reftex-toc.el (reftex-toc-do-promote)
842         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
843         (reftex-toc-promote-action): Doc fix.
845         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
846         `prompt', `data' a prefix.
847         (reftex-select-post-command-hook, reftex-select-callback)
848         (reftex-select-mouse-accept, reftex-select-read-cite):
849         Update for above name changes.
851         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
852         `refstyle' to reftex-refstyle.
853         (reftex-offer-label-menu): Update for above name change.
854         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
855         `refstyle' name change.
857         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
858         with with-current-buffer.
859         (diff, template): Give dynamic local variables a prefix.
860         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
861         (emerge-line-number-in-buf): Update for above name change.
862         (emerge-combine-versions-internal): Rename local `template' to
863         emerge-combine-template.
864         (emerge-combine-versions-edit): Update for above name change.
866 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
868         * textmodes/reftex-cite.el
869         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
870         entries with whitespace after \bibitem.
871         (reftex-create-bibtex-file): Match entries containing numbers and
872         symbol constituents.  Make sure that entries with whitespace at
873         various places are found.
875 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
877         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
879 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
881         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
883 2010-11-05  Glenn Morris  <rgm@gnu.org>
885         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
886         (woman2-roff-buffer): Give local variable `request' a prefix.
887         (woman0-macro): Rename argument `request' in the same way.
888         (woman-request): New name for `request' dynamic variable.
889         (woman-unquote, woman-forward-arg): Update for above name change.
890         (woman1-roff-buffer): Give local variable `unquote' a prefix.
891         (woman1-unquote): New name for `unquote' dynamic variable.
892         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
893         (woman-translations): Rename from `translations'.  No longer global.
894         (woman2-tr, woman-translate): Update for above name change.
895         (woman-translate): Check for bound variable.
896         (woman2-roff-buffer): Give local variable `translations' a prefix.
898         * play/doctor.el: Give all local variables a prefix.  Update callers.
899         (doc$, doctor-put-meaning): Use backquote.
901         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
902         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
904         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
905         variables bytes, ptr, op a prefix.
906         (disassemble-offset): Update for above change.
908 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
910         * emacs-lisp/package.el (package-unpack): Remove no-op.
911         (package--builtins, package--dir): Doc fix.
912         (package-activate-1, package-activate, package-install)
913         (package-compute-transaction): Fix error message.
914         (package-delete): Use delete-directory.  Omit system packages.
915         (package-initialize): Set package-alist to nil first.
916         (package-menu-mark-delete, package-menu-mark-install): Don't add
917         symbols that are inconsistent with the package state.
918         (package-menu-execute): Perform deletions and installations as
919         single batch operations.
921 2010-11-03  Glenn Morris  <rgm@gnu.org>
923         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
924         (props): Remove unnecessary declaration.
926         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
927         set-process-query-on-exit-flag.
929         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
930         (reftex-toc-do-promote): Remove unused local `mpos'.
931         (reftex-toc-restore-region): Make `mpos' local to this function.
933         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
935         * play/landmark.el (lm-losing-threshold): Correct spelling.
936         (lm-human-plays): Use new name.
938         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
939         (gomoku-human-plays): Use new name.
941         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
942         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
943         (gomoku-score-trans-table, gomoku-winning-threshold)
944         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
946 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
948         * emacs-lisp/package.el: Don't put built-in packages in
949         package-alist, to avoid loading inefficiencies.
950         (package-built-in-p): Make VERSION optional, and treat it as a
951         minimum acceptable version.
952         (package-activate): Search separately for built-in packages.
953         Emit a warning if a dependency fails.
954         (define-package): Handle most common case, where there is no
955         obsolete package, first.
956         (package-compute-transaction): Print required version in error.
957         (package--initialized): New variable.
958         (list-packages): Use it.
959         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
960         built-in packages in packages-alist; keep it separate.
961         Set package--initialized.
962         (describe-package): Avoid activating packages as a side-effect.
963         Search separately for built-in packages.
964         (describe-package-1): Handle the case where an elpa package is
965         simultaneously built-in and available/installed.
966         (package-installed-p, package--generate-package-list):
967         Search separately for built-in packages.
968         (package-load-descriptor): Doc fix.
970 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
972         * progmodes/perl-mode.el (perl-syntax-propertize-function):
973         Handle __DATA__ and __END__.
975 2010-11-02  Noah Friedman  <friedman@splode.com>
977         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
978         nil, do not ask to recompile files that are not already compiled,
979         and do not recompile them.
981 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
983         * emacs-lisp/package.el (package-initialize): Ensure that
984         obsoleted built-in packages are not in package-activated-list
985         during activation.
986         (describe-package-1): Make the "installed" status override
987         "built-in".
989 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
991         * subr.el (version-separator, version-regexp-alist): Remove '*'
992         from docstring.
993         (version-list-<=, version<=, version=): Doc fix.
995 2010-11-01  Kenichi Handa  <handa@m17n.org>
997         * faces.el (glyphless-char): Inherit underline for tty.
999 2010-11-01  Kenichi Handa  <handa@m17n.org>
1001         Implement various display methods for glyphless characters.
1003         * international/characters.el (char-acronym-table): New variable.
1004         (glyphless-char-control): New variable.
1005         (update-glyphless-char-display): New funciton.
1007         * faces.el (glyphless-char): New face.
1009 2010-11-01  Glenn Morris  <rgm@gnu.org>
1011         * calendar/holidays.el (general-holidays, oriental-holidays)
1012         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
1013         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
1014         the definitions of their targets.
1016         * emacs-lisp/smie.el (smie): New custom group.
1017         (smie-blink-matching-inners, smie-indent-basic): Add :group.
1019         * faces.el (xw-defined-colors, x-setup-function-keys):
1020         * mouse-sel.el (x-select-text):
1021         * term/w32console.el (x-setup-function-keys): Update declarations.
1023         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
1025         * textmodes/ispell.el (comment-add): Declare.
1027         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
1028         Declare.
1030         * info.el (finder-keywords-hash, package-alist): Declare.
1032 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
1034         * finder.el (finder-compile-keywords): Don't use intern-soft,
1035         since package names may not yet exist in the obarray.
1037 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
1039         * vc/vc-arch.el (vc-arch-checkin):
1040         * vc/vc-cvs.el (vc-cvs-checkin):
1041         * vc/vc-mtn.el (vc-mtn-checkin):
1042         * vc/vc-rcs.el (vc-rcs-checkin):
1043         * vc/vc-sccs.el (vc-sccs-checkin):
1044         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
1045         since 2010-04-21 commit by Stefan Monnier.
1047 2010-11-01  Glenn Morris  <rgm@gnu.org>
1049         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
1051         * startup.el (package-enable-at-startup, package-initialize):
1052         Silence compiler.
1054         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
1055         Silence compiler.
1057 2010-10-31  Julien Danjou  <julien@danjou.info>
1059         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
1060         (byte-recompile-directory):
1061         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
1062         Use `byte-recompile-file'.
1064 2010-10-31  Glenn Morris  <rgm@gnu.org>
1066         * cus-start.el: Handle standard values via a keyword.
1067         Only set version property if specified.
1068         (cursor-in-non-selected-windows, menu-bar-mode)
1069         (tool-bar-mode, show-trailing-whitespace):
1070         Do not specify standard values.
1071         (transient-mark-mode, temporary-file-directory): Use :standard.
1073 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
1075         * term/x-win.el (x-get-selection-value): New function that gets
1076         PRIMARY with type as specified in x-select-request-type. (Bug#6802).
1078 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
1080         * net/tramp.el (tramp-handle-insert-file-contents): For root,
1081         preserve owner and group when editing files.  (Bug#7289)
1083 2010-10-31  Glenn Morris  <rgm@gnu.org>
1085         * speedbar.el (speedbar-mode):
1086         * play/fortune.el (fortune-in-buffer, fortune):
1087         * play/gomoku.el (gomoku-mode):
1088         * play/landmark.el (lm-mode):
1089         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
1090         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
1092         * select.el (x-selection): Mark it as an obsolete alias.
1094 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
1096         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
1097         major-mode (bug#7284).
1099 2010-10-31  Glenn Morris  <rgm@gnu.org>
1101         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
1102         rather than just an unused variable that inherits from the real one.
1104 2010-10-31  Alan Mackenzie  <acm@muc.de>
1106         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
1107         This fixes bug #7185.
1109 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
1111         * startup.el (command-line): Search for package directories, and
1112         don't load package.el if none are found.
1114         * emacs-lisp/package.el (describe-package, list-packages):
1115         Call package-initialize if it has not been called yet.
1117 2010-10-30  Alan Mackenzie  <acm@muc.de>
1119         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
1120         which fontifies the tail of an enum.
1121         (c-basic-matchers-after): Insert a call to the above new function.
1122         This fixes bug #7264.
1124 2010-10-30  Glenn Morris  <rgm@gnu.org>
1126         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
1127         tool-bar-mode, transient-mark-mode.  (Bug#7306)
1128         Include the :set property in the dumped Emacs.
1130 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1132         SMIE: change indent rules format, improve smie-setup.
1133         * emacs-lisp/smie.el (smie-precs-precedence-table)
1134         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
1135         Mark them pure so the tables gets built at compile time.
1136         (smie-bnf-precedence-table): Store the closer-alist in the table.
1137         (smie-prec2-levels): Preserve the closer-alist.
1138         (smie-blink-matching-open): Be more forgiving in case of indentation.
1139         (smie-hanging-p): Rename from smie-indent--hanging-p.
1140         (smie-bolp): Rename from smie-indent--bolp.
1141         (smie--parent, smie--after): New dynamic vars.
1142         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
1143         (smie-indent-rules): Remove.
1144         (smie-indent--offset-rule): Remove fun.
1145         (smie-rules-function): New var.
1146         (smie-indent--rule): New fun.
1147         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
1148         (smie-indent-exps): Use it.
1149         (smie-setup): Setup paren blinking; add keyword args for token
1150         functions; extract closer-alist from op-levels.
1151         (smie-indent-debug-log): Remove var.
1152         (smie-indent-debug): Remove fun.
1153         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
1154         (prolog-smie-rules): New fun to replace it.
1155         (prolog-mode-variables): Simplify.
1156         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
1157         it's setup automatically.
1158         (octave-smie-indent-rules): Remove.
1159         (octave-smie-rules): New fun to replace it.
1160         (octave-mode): Simplify.
1162 2010-10-29  Glenn Morris  <rgm@gnu.org>
1164         * files.el (temporary-file-directory): Remove (already defined in C).
1165         * cus-start.el: Add temporary-file-directory.
1167         * abbrev.el (abbrev-mode):
1168         * composite.el (auto-composition-mode):
1169         * menu-bar.el (menu-bar-mode):
1170         * simple.el (transient-mark-mode):
1171         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
1172         that they do not define the associated variables twice.
1173         * simple.el (transient-mark-mode): Remove defvar.
1174         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
1175         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
1176         Handle multiple groups, and also custom-delayed-init-variables.
1177         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1179 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1181         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
1182         (pcase-if): Add one minor optimization.
1183         (pcase-split-equal): Rename from pcase-split-eq.
1184         (pcase-split-member): Rename from pcase-split-memq.
1185         (pcase-u1): Add strings to the member optimization.
1186         Add `guard' variant of predicates.
1187         (pcase-q1): Add string patterns.
1189 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1191         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
1193 2010-10-28  Glenn Morris  <rgm@gnu.org>
1195         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
1196         Move menu-bar related settings to ../menu-bar.el.
1197         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
1198         Move ns-specific settings here from term/ns-win.el.
1200         * simple.el (x-selection-owner-p): Remove unused declaration.
1202 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1204         * minibuffer.el (completion-cycling): New var (bug#7266).
1205         (minibuffer-complete, completion--do-completion):
1206         Use completion--flush-all-sorted-completions.
1207         (minibuffer-complete): Only cycle if completion-cycling is set.
1208         (completion--flush-all-sorted-completions): Unset completion-cycling.
1209         (minibuffer-force-complete): Set completion-cycling.
1210         (completion-all-sorted-completions): Move declaration before first use.
1212 2010-10-28  Leo  <sdl.web@gmail.com>
1214         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
1215         which changes the order of matches seen by users (bug#7231).
1217 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
1219         * progmodes/compile.el (compilation-mode-font-lock-keywords):
1220         Don't confuse -omega as "-o mega".
1222 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1224         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
1225         (log-edit-author): New dynamic var.
1226         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
1227         to return the author if different from committer.
1228         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
1230         * play/landmark.el: Adjust commenting convention.
1231         (lm-nil-score): Rename from nil-score.
1232         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
1233         (OOOOscore): Move into a let in lm-score-trans-table.
1234         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
1236         * electric.el (electric-indent-chars): Autoload.
1237         * progmodes/octave-mod.el (octave-mode):
1238         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
1239         (ruby-mode-abbrev-table): Merge initialization and declaration.
1241 2010-10-27  Glenn Morris  <rgm@gnu.org>
1243         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
1244         variable.
1246         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
1248         * term/ns-win.el: Restore require of cl when compiling.
1249         (menu-bar-final-items): Remove non-existent `windows' menu.
1250         (ns-handle-nxopen): Optionally handle the temp-case.
1251         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
1252         (ns-insert-file, ns-find-file): Use `pop'.
1254 2010-10-26  Glenn Morris  <rgm@gnu.org>
1256         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
1258 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
1260         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
1261         global map.
1262         * term/common-win.el (x-setup-function-keys): Remove most of the
1263         keymappings.  Comment on the remaining ones.
1265 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
1267         * server.el (server-port): New option.  (Bug#854)
1268         (server-start): Use server-port.
1270 2010-10-26  Glenn Morris  <rgm@gnu.org>
1272         * term/ns-win.el (ns-version-string): Remove unused declaration.
1273         (ns-invocation-args): Change to x-invocation-args.
1274         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
1275         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
1276         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
1277         Use x-invocation-args instead of ns-invocation-args.
1278         (ns-initialize-window-system, handle-args-function-alist):
1279         Use x-handle-args instead of ns-handle-args.
1280         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
1281         * startup.el (command-line-ns-option-alist): Replace
1282         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
1283         ns-handle-iconic with the x- equivalents.
1285         * term/common-win.el (x-select-enable-clipboard):
1286         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
1288         * term/ns-win.el: No need to require cl when compiling.
1289         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
1290         (xw-defined-colors): Use the common-win definitions.
1291         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
1292         (ns-handle-iconic): Make it an alias for x-handle-iconic.
1293         * term/common-win.el (x-select-text, x-alternatives-map)
1294         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
1295         * loadup.el [ns]: Load common-win.
1297 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
1299         * epa-mail.el (epa-mail-encrypt): Handle local-part only
1300         recipients; expand mail aliases (Bug#7280).
1302 2010-10-25  Glenn Morris  <rgm@gnu.org>
1304         * term/common-win.el (x-handle-switch): Simplify with pop.
1305         Optionally handle numeric switches.
1306         (x-handle-numeric-switch): Just call x-handle-switch.
1307         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
1308         (x-handle-name-switch, x-handle-display, x-handle-args):
1309         Simplify with pop.
1311         * term/ns-win.el: Do not require easymenu.
1312         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
1313         <spell>: Move adjustments to menu-bar.el.
1314         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
1315         <separator-undo, spell>: Move ns-win's adjustments here.
1316         * loadup.el [ns]: Do not load easymenu.
1318 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
1320         * image.el (image-checkbox-checked, image-checkbox-unchecked):
1321         Delete (Bug#7222).
1323         * startup.el (fancy-startup-tail): Instead of using inline images,
1324         refer to image files from etc/.
1326         * wid-edit.el (checkbox): Likewise.
1327         (widget-image-find): Center image specs.
1329 2010-10-24  Glenn Morris  <rgm@gnu.org>
1331         * term/ns-win.el (x-select-text): Doc fix.
1332         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
1333         (x-select-text): Move to term/common-win.
1334         * term/w32-win.el (xw-defined-colors): Move to common-win.
1335         * term/x-win.el (xw-defined-colors, x-alternatives-map)
1336         (x-setup-function-keys, x-select-text): Move to common-win.
1337         * term/common-win.el (x-select-text, x-alternatives-map)
1338         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
1339         definitions here.
1341 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
1343         * net/mairix.el (mairix-searches-mode-map):
1344         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
1346 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
1348         * verilog-mode.el (verilog-directive-re): Make this variable
1349         auto-built for efficiency of execution and updating.
1350         (verilog-extended-complete-re): Support 'pure' fucntion & task
1351         declarations (these have no bodies).
1352         (verilog-beg-of-statement): General cleanup to enable support of
1353         'pure' fucntion & task declarations (these have no bodies).
1354         These efforts together fix Verilog bug210 from veripool; which was also
1355         noticed by Steve Pearlmutter.
1356         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
1357         (verilog-directive-nest-re, verilog-set-auto-endcomments):
1358         Support `elsif.  Reported by Shankar Giri.
1359         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
1360         attribute handling for lining up declarations and assignments.
1361         (verilog-beg-of-statement-1): Fix issue where continued declaration
1362         is indented differently if it is after a begin..end clock.
1363         (verilog-in-attribute-p, verilog-skip-backward-comments)
1364         (verilog-skip-forward-comment-p): Support proper treatment of
1365         attributes by indent code. Reported by Jeff Steele.
1366         (verilog-in-directive-p): Fix comment to correctly describe function.
1367         (verilog-backward-up-list, verilog-in-struct-region-p)
1368         (verilog-backward-token, verilog-in-struct-p)
1369         (verilog-in-coverage-p, verilog-do-indent)
1370         (verilog-pretty-declarations): Use verilog-backward-up-list as
1371         wrapper around backward-up-list inorder to properly skip comments.
1372         Reported by David Rogoff.
1373         (verilog-property-re, verilog-endcomment-reason-re)
1374         (verilog-beg-of-statement, verilog-set-auto-endcomments)
1375         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
1376         of if). Reported by Max Bjurling and
1377         (verilog-calc-1): Fix for clocking block in modport
1378         declaration. Reported by Brian Hunter.
1380 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
1382         * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
1383         (verilog-gate-keywords, verilog-read-sub-decls)
1384         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
1385         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
1386         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
1387         (verilog-read-decls): Fix spaces in V2K module parameters causing
1388         mis-identification as interfaces, bug287.
1389         (verilog-read-decls): Fix not treating "parameter string" as a
1390         parameter in AUTOINSTPARAM.
1391         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
1392         treating `elsif similar to `endif inside AUTOSENSE.
1393         (verilog-do-indent): Implement correct automatic or static task or
1394         function end comment highlight. Reported by Steve Pearlmutter.
1395         (verilog-font-lock-keywords-2): Fix highlighting of single
1396         character pins, bug264.  Reported by Michael Laajanen.
1397         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
1398         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
1399         (verilog-subdecls-get-interfaced, verilog-subdecls-new):
1400         Support interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
1401         (verilog-pretty-expr): Fix interactive arguments, bug272.
1402         Reported by Mark Johnson.
1403         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
1404         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
1405         bug269. Suggested by Gary Delp.
1406         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
1407         (verilog-preprocessor, verilog-set-compile-command):
1408         Create verilog-preprocess and verilog-preprocessor to show
1409         preprocessed output.
1410         (verilog-get-beg-of-line, verilog-get-end-of-line)
1411         (verilog-modi-file-or-buffer, verilog-modi-name)
1412         (verilog-modi-point, verilog-within-string): Move defmacro's
1413         before first use to avoid warning. Reported by Steve Pearlmutter.
1414         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
1415         (verilog-colorize-region, verilog-highlight-buffer)
1416         (verilog-highlight-includes, verilog-highlight-modules)
1417         (verilog-highlight-region, verilog-mode): Rename colorize to
1418         highlight to match other packages.  Disable module highlighting,
1419         as received speed complaints, reenable for experimentation only
1420         using new verilog-highlight-modules.
1421         (verilog-read-decls): Fix regexp stack overflow in very large
1422         AUTO_TEMPLATEs, bug250.
1423         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
1424         (verilog-scan): Create verilog-save-buffer-state to standardize
1425         making insignificant changes that shouldn't call hooks.
1426         (verilog-save-no-change-functions, verilog-save-scan-cache)
1427         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
1428         Create verilog-save-no-change-functions to wrap verilog-scan
1429         preservation, and fix to work with nested preserved calls.
1430         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
1431         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
1432         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
1433         (verilog-submit-bug-report): Update variable list to be complete.
1434         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
1435         breaking on-the-fly font-locking.
1436         (verilog-colorize-buffer, verilog-colorize-include-files)
1437         (verilog-colorize-include-files-buffer, verilog-colorize-region)
1438         (verilog-load-file-at-mouse, verilog-load-file-at-point)
1439         (verilog-mode, verilog-read-inst-module-matcher): With point on a
1440         AUTOINST cell instance name, middle mouse button now finds-file on
1441         it.  Suggested by Brad Dobbie.
1442         (verilog-alw-get-temps, verilog-auto-reset)
1443         (verilog-auto-sense-sigs, verilog-read-always-signals)
1444         (verilog-read-always-signals-recurse): Fix loop indexes being
1445         AUTORESET. AUTORESET now assumes any variables in the
1446         initialization section of a for() should be ignored.
1447         Reported by Dan Dever.
1448         (verilog-error-font-lock-keywords)
1449         (verilog-error-regexp-emacs-alist)
1450         (verilog-error-regexp-xemacs-alist): Fix error detection of
1451         Cadence HAL, reported by David Asher.  Repair drift between the
1452         three similar error variables.
1453         (verilog-modi-lookup, verilog-modi-lookup-cache)
1454         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
1455         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
1456         Fix slow verilog-auto expansion on very large files.
1457         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
1458         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
1459         "{1*2{...".  Broke in last revision.
1460         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
1461         submodule connections with replications "{#{a},#{b}}".
1463 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
1465         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
1466         Fix typo in docstring.
1468 2010-10-24  Kenichi Handa  <handa@m17n.org>
1470         * face-remap.el (text-scale-adjust): Call read-event with a proper
1471         prompt.
1473 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
1475         * emacs-lisp/unsafep.el: Don't mark functions that display
1476         messages as safe.  Suggested by Johan Bockgård.
1478 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1480         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
1481         Turn comments into docstrings.
1483         * minibuffer.el (completion--replace): Move point where it belongs
1484         when there's a common suffix (bug#7215).
1486 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
1488         Merge read-color and facemenu-read-color (Bug#7242).
1490         * faces.el (read-color): Use the completion code from
1491         facemenu-read-color.  Require match in completion.  Doc fix.
1493         * facemenu.el (facemenu-read-color): Alias for read-color.
1494         (facemenu-set-foreground, facemenu-set-background):
1495         Use read-color.
1497         * frame.el (set-background-color, set-foreground-color)
1498         (set-cursor-color, set-mouse-color, set-border-color):
1499         Use read-color.
1501 2010-10-24  Leo  <sdl.web@gmail.com>
1503         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
1504         argument of delete-file and delete-directory (Bug#7011).
1506 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
1508         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
1509         button-buffer-map.
1511 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
1513         * emacs-lisp/package.el (package--generate-package-list): Make the
1514         *Packages* buffer read-only.
1516 2010-10-24  Alan Mackenzie  <acm@muc.de>
1518         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
1519         result of `c-beginning-of-decl-1' between invocations of a lambda
1520         function (Bug #7265).
1522 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
1524         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
1525         executable is not available on the system (Bug#7268).
1527 2010-10-24  Glenn Morris  <rgm@gnu.org>
1529         * select.el (selection-coding-system, next-selection-coding-system):
1530         Sync doc with C versions.
1532         * w32-vars.el (x-select-enable-clipboard):
1533         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
1534         * term/common-win.el (x-select-enable-clipboard): Move here.
1536         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
1537         definition of C variable.
1539         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
1540         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
1541         Don't redefine things that are defined in C.
1542         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
1543         (show-trailing-whitespace, auto-hscroll-mode)
1544         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
1545         Set up the appropriate custom properties.
1547 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
1549         Bind "C-c ]" to ...
1550         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
1551         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
1552         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
1553         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
1555 2010-10-23  Glenn Morris  <rgm@gnu.org>
1557         * textmodes/flyspell.el (flyspell-mode): If there was an error,
1558         say what it was.
1560         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
1561         Sync docs with C version.
1563         * term/ns-win.el (xw-defined-colors):
1564         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
1566         * term/pc-win.el (x-select-enable-clipboard):
1567         * term/x-win.el (x-select-enable-clipboard):
1568         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
1570         * comint.el (comint-password-prompt-regexp): Make it less vague.
1571         Bump version.
1573         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
1575         * help.el (finder-by-keyword): Remove unnecessary autoload.
1577 2010-10-22  Glenn Morris  <rgm@gnu.org>
1579         * loadup.el: Unconditionally load float-sup.
1580         * paren.el (show-paren-delay):
1581         * emacs-lisp/float-sup.el:
1582         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
1583         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
1584         (lazy-lock-stealth-verbose): Assume float support.
1585         * ps-print.el: Assume float support on Emacs.
1586         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
1587         Remove non-float branch.
1589         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
1590         src/Makefile no longer being pre-processed.
1592 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1594         * emacs-lisp/find-func.el (find-library): Use test-completion.
1596 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1598         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
1600 2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
1602         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
1603         space in stat format string.
1604         (tramp-send-command): Unset $PS1 when using here documents, in
1605         order not to get several prompts.
1606         (tramp-get-inline-coding): Return `nil' in case of errors.
1608 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
1610         * hexl.el (hexl-mode, hexl-mode-exit):
1611         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
1612         (hexl-revert-buffer-function): New function.
1613         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
1615 2010-10-19  Alan Mackenzie  <acm@muc.de>
1617         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
1618         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
1619         that these keywords aren't wrongly matched as identifiers.
1621         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
1622         setting of c-new-BEG and c-new-END from c-before-change to
1623         c-after-change.  (Bug#7181)
1625 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
1627         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
1628         Don't mark as safe.
1630         * custom.el (custom-theme-set-variables): Likewise.
1631         (load-theme): Add custom-theme-set-faces and
1632         custom-theme-set-variables to safe-functions while loading.
1633         (custom-enabled-themes): Mark as risky.
1635 2010-10-18  Julien Danjou  <julien@danjou.info>
1637         * bindings.el: Remove end dashes in default mode-line-format.
1639 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
1641         * bindings.el (global-map): Bind C-d to delete-char and deletechar
1642         to delete-forward-char.
1644         * simple.el (normal-erase-is-backspace-mode): Remap delete to
1645         deletechar, and hence delete-forward-char.
1647 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1649         * repeat.el (repeat): Use read-key (bug#6256).
1651 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
1653         * emacs-lisp/unsafep.el: Don't mark functions that display
1654         messages as safe.  Suggested by Johan Bockgård.
1656 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1658         * minibuffer.el (completion--replace): Move point where it belongs
1659         when there's a common suffix (bug#7215).
1661 2010-10-19  Kenichi Handa  <handa@m17n.org>
1663         * international/characters.el: Add category '|' (word breakable)
1664         to fullwidth characters.
1666 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
1668         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
1669         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
1670         order to make stat results a float.  Patch by Andreas Schwab
1671         <schwab@linux-m68k.org>.
1673 2010-10-18  Julien Danjou  <julien@danjou.info>
1675         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
1676         hidden by `make-pointer-invisible'.
1678 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1680         * files.el (locate-file-completion-table): Strip non-matching elements
1681         before checking length of list (bug#7238).
1683 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
1685         * custom.el (custom-theme-set-variables): Mark as a safe function.
1686         (load-theme): Check forms using unsafep.
1688         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
1690 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
1692         * textmodes/ispell.el (ispell-aspell-find-dictionary):
1693         Fix aspell data file searching (bug#7230).
1695 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
1697         * cus-theme.el (custom-theme--migrate-settings): New var.
1698         (customize-create-theme): Allow editing the `user' theme.
1699         (custom-theme-add-variable, custom-theme-add-var-1)
1700         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
1701         to the front of each variable or face widget.
1702         (custom-theme-write): Save theme settings in the correct order.
1703         Optionally, remove saved settings from user customizations.
1704         (custom-theme-write-variables, custom-theme-write-faces):
1705         Save only the checked widgets.
1706         (customize-themes): Add a link for migrating custom settings.
1708         * custom.el (custom-declare-theme, provide-theme):
1709         Use custom-theme-name-valid-p.
1710         (custom-theme-name-valid-p): Remove checks that are now
1711         unnecessary since themes no longer obey load-path.
1713         * cus-edit.el (custom-variable-value-create): For the simple
1714         style, hide documentation string when hidden.
1716 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
1718         * cus-edit.el (custom-variable, custom-face): Combine the
1719         :inhibit-magic and :display-style properties into a single
1720         :custom-style property.
1721         (custom-toggle-hide-variable, custom-toggle-hide-face):
1722         New functions.  If hiding an edited value, save it to :shown-value.
1723         (custom-variable-value-create, custom-face-value-create): Use them.
1724         (custom-magic-reset): Allow magic property to be unset.
1726         * custom.el: Custom themes no longer use load-path.
1727         (custom-theme-load-path): New option.  Change built-in theme
1728         directory to etc/.
1729         (custom-enabled-themes): Add custom-theme-load-path dependency.
1730         (custom-theme--load-path): New function.
1731         (load-theme, custom-available-themes): Use it.
1733         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
1734         (customize-themes): Link to custom-theme-load-path variable.
1735         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
1736         :custom-style property.
1738         * themes/*.el: Moved to etc/.
1740 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
1742         * textmodes/reftex-cite.el
1743         (reftex-extract-bib-entries-from-thebibliography): Do not move
1744         point when searching for \bibitem entries.  Match entries with
1745         spaces or tabs in front of arguments.
1747 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
1749         * cus-theme.el (customize-create-theme): Delete overlays after
1750         erasing.  If given a THEME arg, display only the faces of that arg
1751         instead of custom-theme--listed-faces.
1752         (custom-theme-variable-menu, custom-theme-variable-action)
1753         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
1754         (custom-theme-add-variable, custom-theme-add-face): Apply value
1755         from the theme settings, instead of the current value.
1756         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
1757         (custom-theme-visit-theme): Allow calling outside theme buffers.
1758         (custom-theme-merge-theme): Don't enable the theme when merging.
1759         (custom-theme-write-variables, custom-theme-write-faces): Use the
1760         :shown-value properties to save buffer values, not global ones.
1761         (customize-themes): Display a warning about user customizations.
1763         * cus-edit.el (custom-variable-value-create)
1764         (custom-face-value-create): Obey new special properties
1765         :shown-value and :inhibit-magic.
1767 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
1769         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
1770         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
1771         <dale@codefu.org>.
1773 2010-10-14  Kenichi Handa  <handa@m17n.org>
1775         * mail/rmail.el (rmail-show-message-1): Catch an error of
1776         base64-decode-region and just show an error message (bug#7165).
1778         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
1779         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
1780         a font-spec (bug#7197).
1782 2010-10-14  Glenn Morris  <rgm@gnu.org>
1784         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
1786 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
1788         * international/mule.el (define-coding-system):
1789         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
1790         * composite.el (compose-region): Fix typo in docstring.
1792 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
1794         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
1795         only after checking the theme-face property.
1797         * faces.el (face-spec-reset-face): Reset all attributes in one
1798         single call to set-face-attribute.
1799         (face-spec-match-p): Make it a defsubst.
1800         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
1801         (x-create-frame-with-faces, tty-create-frame-with-faces)
1802         (tty-set-up-initial-frame-faces): Don't recompute face specs in
1803         frame-set-background-mode, since they are recomputed immediately
1804         afterwards in face-set-after-frame-default.
1805         (face-set-after-frame-default): Minor optimization.
1806         (cursor): Provide non-trivial defface spec.
1808         * custom.el (custom-theme-recalc-face): Simplify.
1810 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
1812         * calc/calc-alg.el (math-var): Rename from `var'.
1813         (math-is-polynomial, math-is-poly-rec): Replace `var'
1814         with `math-var'.
1816         * calc/calcalg2.el (math-var): Rename from `var'.
1817         (calcFunc-table, math-scan-for-limits): Replace `var'
1818         with `math-var'.
1820 2010-10-13  Glenn Morris  <rgm@gnu.org>
1822         * subr.el (last): Deal with dotted lists (reported in bug#7174).
1824 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
1826         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
1828 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1830         * net/tls.el (tls-program): Remove spurious %s from openssl.
1831         (tls-starttls-switches): Remove starttls hack.
1832         (open-tls-stream): Ditto.
1833         (tls-find-starttls-argument): Ditto.
1835 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
1837         * image.el (image-library-alist): Declare as obsolete alias.
1838         (image-type-available-p): Use `dynamic-library-alist'.
1840         * term/w32-win.el (dynamic-library-alist):
1841         Use instead of `image-library-alist'.
1843 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
1845         * subr.el (last): Make it faster.  (Bug#7174)
1847 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
1849         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
1851 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
1853         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
1854         (describe-theme-1): Extract doc from unloaded themes.
1856         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
1858         * themes/tango-theme.el:
1859         * themes/tango-dark-theme.el:
1860         * themes/wheatgrass-theme.el: New files.
1862 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
1864         * cus-theme.el (describe-theme, customize-themes)
1865         (custom-theme-save): New commands.
1866         (custom-new-theme-mode-map): Bind C-x C-s.
1867         (custom-new-theme-mode): Use custom--initialize-widget-variables.
1868         (customize-create-theme): New optional arg THEME.
1869         (custom-theme-revert): Use it.
1870         (custom-theme-visit-theme): Remove dead code.
1871         (custom-theme-merge-theme): Use custom-available-themes.
1872         (custom-theme-write): Make interactive.
1873         (custom-theme-write): Use custom-theme-name-valid-p.
1874         (describe-theme-1, custom-theme-choose-revert)
1875         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
1876         New funs.
1877         (custom-theme-allow-multiple-selections): New option.
1878         (custom-theme-choose-mode): New major mode.
1880         * custom.el (custom-theme-set-variables): Remove dead code.
1881         Obey custom--inhibit-theme-enable.
1882         (custom--inhibit-theme-enable): New var.
1883         (provide-theme): Obey it.
1884         (load-theme): Replace load with manual read/eval, in order to
1885         check for correctness.  Use custom-theme-name-valid-p.
1886         (custom-theme-name-valid-p): New function.
1887         (custom-available-themes): Use it.
1889         * cus-edit.el (custom--initialize-widget-variables): New function.
1890         (Custom-mode): Use it.
1892         * cus-face.el (custom-theme-set-faces): Remove dead code.
1893         Obey custom--inhibit-theme-enable.
1895         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
1897 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
1899         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
1901 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
1903         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
1904         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
1905         (mac-right-option-modifier): New alias for ns-right-option-modifier.
1907         * cus-start.el (all): ns-right-alternate-modifier is new.
1909 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1911         * emacs-lisp/lisp.el (lisp-completion-at-point):
1912         Use emacs-lisp-mode-syntax-table for the whole function.
1914 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
1916         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
1917         instead of font-lock-mode before adding keywords.
1918         Remove hi-lock-mode off code.  Remove inhibit hack.
1919         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
1920         non-nil; removed hook inhibit hack.
1922 2010-10-12  Glenn Morris  <rgm@gnu.org>
1924         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
1925         (load-path-shadows-find): ... to this.
1926         (list-load-path-shadows): Update for above change.
1928         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
1930 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
1932         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
1933         Fix comment for declare-function.
1935 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
1937         * custom.el (custom-fix-face-spec): New function; code moved from
1938         custom-face-edit-fix-value.
1939         (custom-push-theme): Use it when checking if a face has been
1940         changed outside customize.
1941         (custom-available-themes): New function.
1942         (load-theme): Use it.
1944         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
1946         * custom.el (custom-push-theme): Cleanup (use cond).
1947         (disable-theme): Recompute the saved-face property.
1948         (custom-theme-recalc-face): Follow face alias before setting prop.
1950         * image.el (image-checkbox-checked, image-checkbox-unchecked):
1951         New variables, containing checkbox images.
1953         * startup.el (fancy-startup-tail):
1954         * wid-edit.el (checkbox): Use them.
1956 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
1958         * shell.el (shell-mode-map):
1959         * progmodes/modula2.el (m2-mode-map):
1960         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
1961         * play/mpuz.el (mpuz-mode-map):
1962         * play/landmark.el (lm-mode-map):
1963         * play/decipher.el (decipher-mode-map):
1964         * play/5x5.el (5x5-mode-map):
1965         * net/telnet.el (telnet-mode-map):
1966         * net/quickurl.el (quickurl-list-mode-map):
1967         * net/mairix.el (mairix-searches-mode-map):
1968         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
1969         * net/dig.el (dig-mode-map):
1970         * mail/mspools.el (mspools-mode-map):
1971         * hexl.el (hexl-mode-map):
1972         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
1973         (wordstar-C-o-map, wordstar-C-q-map):
1974         * emacs-lisp/edebug.el (edebug-eval-mode-map):
1975         * emacs-lisp/chart.el (chart-map):
1976         * edmacro.el (edmacro-mode-map):
1977         * erc/erc-list.el (erc-list-menu-mode-map):
1978         * array.el (array-mode-map): Declare and define in one step.
1980         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
1982 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
1984         * epa.el (epa-passphrase-callback-function): Display filename
1985         passed as the 3rd arg.
1986         * epa-file.el (epa-file-passphrase-callback-function):
1987         Pass filename to epa-passphrase-callback-function.
1989 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
1991         * cus-edit.el (custom-face-widget-to-spec)
1992         (custom-face-get-current-spec, custom-face-state): New functions.
1993         (custom-face-set, custom-face-mark-to-save)
1994         (custom-face-value-create, custom-face-state-set): Use them.
1996         * cus-theme.el (custom-theme--listed-faces): New var.
1997         (customize-create-theme): Use *Custom Theme* as the buffer name.
1998         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
1999         faces listed in custom-theme--listed-faces.
2000         (custom-theme-revert): New function.
2001         (custom-theme-add-variable, custom-theme-add-face): Insert at the
2002         bottom of the list.
2003         (custom-theme-write): Prompt for theme name if empty.
2004         (custom-theme-write-variables): Use dolist.
2005         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
2007 2010-10-09  Alan Mackenzie  <acm@muc.de>
2009         Enhance fontification of declarators to take account of the
2010         presence/absence of "typedef".
2012         * cc-engine.el (c-forward-type): New &optional param
2013         "brace-block-too".
2014         (c-forward-decl-or-cast-1): cdr of return value now indicates the
2015         presence of either or both of a "struct"-like keyword and "typedef".
2017         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
2018         fontification of declarators which follow a "}".
2019         (c-font-lock-declarations): Fontify declarators according to the
2020         presence/absence of "typedef".
2022         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
2023         for "typedef".
2024         (c-typedef-decl-key): New lang variable built from
2025         c-typedef-decl-kwds.
2027 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2029         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
2030         since that's too annoying.  Move the filter groups commands to
2031         TAB/backtab.
2033         * epa.el (epa-passphrase-callback-function): Say what we're
2034         querying the password for.
2036         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
2037         behaviour, don't bury the ibuffer buffer when visiting other buffers.
2039 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
2041         * cus-edit.el (custom-commands, custom-buffer-create-internal)
2042         (custom-magic-value-create): Pad button tags with spaces.
2043         (custom-face-edit): New variable.
2044         (custom-face-value-create): Determine whether to use the usual
2045         face editor here, instead of using custom-face-selected.
2046         Pass face defaults to custom-face-edit widget.
2047         (custom-face-selected, custom-display-unselected): Delete widgets.
2048         (custom-display-unselected-match): Function removed.
2049         (custom-face-set, custom-face-mark-to-save):
2050         Accept custom-face-edit widgets as the direct widget child.
2052         * wid-edit.el (widget--completing-widget): New var.
2053         (widget-default-complete): Bind it when doing completion.
2054         (widget-string-complete, widget-file-complete): Use it.
2056 2010-10-09  Glenn Morris  <rgm@gnu.org>
2058         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
2059         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
2060         (holiday-hebrew-misc): Small simplifications.
2062         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
2064         * net/browse-url.el: Don't require thingatpt, term, dired,
2065         executable, or w3-auto when compiling.
2066         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
2067         Declare.
2068         (browse-url-text-emacs): Require term.
2070 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
2072         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
2074 2010-10-08  Glenn Morris  <rgm@gnu.org>
2076         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
2078         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
2079         (shadows-compare-text-p): Make it an obsolete alias for...
2080         (load-path-shadows-compare-text): ... new name.
2081         (find-emacs-lisp-shadows): Update for above name change.
2082         (load-path-shadows-same-file-or-nonexistent): New name for the old
2083         shadow-same-file-or-nonexistent.
2085 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
2087         * minibuffer.el (completion--some, completion--do-completion)
2088         (minibuffer-complete-and-exit, minibuffer-completion-help)
2089         (completion-basic-try-completion)
2090         (completion-basic-all-completions)
2091         (completion-pcm--find-all-completions): Use lexical-let to
2092         avoid some false matches in variable completion (Bug#7056)
2094 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
2096         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
2098 2010-10-08  Leo  <sdl.web@gmail.com>
2100         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
2101         return non-nil if the file exists (Bug#7090).
2103 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2105         * minibuffer.el (completion--replace):
2106         Better preserve markers (bug#7138).
2108 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
2110         * server.el (server-process-filter): Doc fix.
2112 2010-10-08  Drew Adams  <drew.adams@oracle.com>
2114         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
2116 2010-10-08  Glenn Morris  <rgm@gnu.org>
2118         * vc/ediff-wind.el (ediff-setup-control-frame):
2119         * vc/ediff-ptch.el (ediff-default-backup-extension):
2120         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
2121         (ediff-exec-process): Remove system-types emx, windows-95.
2123         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
2125 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
2127         * cus-edit.el (custom-variable, custom-face): Doc fix.
2128         (custom-face-edit): Add value-create attribute.
2129         (custom-face-edit-value-create)
2130         (custom-face-edit-value-visibility-action): New functions.
2131         Hide unused face attributes by default, and add a visibility toggle.
2132         (custom-face-edit-deactivate): Show empty values with shadow face.
2133         (custom-face-selected): Only use this for face specs with default
2134         attributes.
2135         (custom-face-value-create): Cleanup.
2137         * wid-edit.el (widget-checklist-value-create): Use dolist.
2138         (widget-checklist-match-find): Make second arg optional.
2140 2010-10-07  Glenn Morris  <rgm@gnu.org>
2142         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
2143         Prefix things.
2145         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
2146         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
2147         load-path-shadows-mode, update references.
2148         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
2149         Rename variable and button.
2150         (list-load-path-shadows): Update button caller.
2152 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2154         * emacs-lisp/smie.el (smie-bnf-classify): New function.
2155         (smie-bnf-precedence-table): Use it to remember the closers/openers.
2156         (smie-merge-prec2s): Handle those new entries.
2157         (smie-prec2-levels): Only set precedence to nil for actual
2158         openers/closers.
2159         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
2160         that is now unnecessary.
2162 2010-10-07  Miles Bader  <miles@gnu.org>
2164         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
2166 2010-10-07  Glenn Morris  <rgm@gnu.org>
2168         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
2169         (mail-position-on-field): Remove declarations.
2170         (mail-position-on-field): Autoload it.
2171         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
2172         and mail-header-end.  Don't require sendmail.
2174         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
2175         (shadow-mode): New mode.
2176         (shadow-find-file): New button.
2177         (list-load-path-shadows): Use shadow-mode and buttons.
2179         * iimage.el (iimage-version): Remove.
2180         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
2181         Turn into defcustoms.
2182         (iimage-mode-map): Give it a doc string.
2184         * calendar/appt.el (appt-activate): Give a warning rather than an error
2185         if there is no diary-file.
2187 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
2189         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2190         Use `tramp-handle-find-backup-file-name'.
2192 2010-10-06  Glenn Morris  <rgm@gnu.org>
2194         * font-core.el (font-lock-defaults-alist): Remove variable.
2195         (font-lock-mode): Doc fix.
2196         (font-lock-default-function): Do not consult font-lock-defaults-alist.
2197         * font-lock.el (font-lock-refresh-defaults): Doc fix.
2198         (font-lock-set-defaults): Doc fix.
2199         Do not consult font-lock-defaults-alist.
2201         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
2203         * emacs-lisp/cl.el: No longer provide cl-19.
2205 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
2207         * net/tramp.el (tramp-handle-directory-files-and-attributes)
2208         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
2209         New defuns, taken from tramp-smb.el.
2210         (tramp-coding-system-change-eol-conversion)
2211         (tramp-set-process-query-on-exit-flag): Remove.
2213         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
2214         (tramp-compat-coding-system-change-eol-conversion)
2215         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
2216         from tramp.el.
2218         * net/tramp-gvfs.el:
2219         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
2220         by `tramp-compat-set-process-query-on-exit-flag'.
2222         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
2223         Use `tramp-handle-directory-files-and-attributes',
2224         `tramp-handle-file-exists-p' and
2225         `tramp-handle-file-newer-than-file-p'.
2226         (tramp-imap-handle-file-exists-p)
2227         (tramp-imap-handle-file-executable-p)
2228         (tramp-imap-handle-file-readable-p)
2229         (tramp-imap-handle-directory-files-and-attributes)
2230         (tramp-imap-handle-file-newer-than-file-p): Remove.
2232         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
2233         by `tramp-compat-set-process-query-on-exit-flag' and
2234         `tramp-coding-system-change-eol-conversion' by
2235         `tramp-compat-coding-system-change-eol-conversion'.
2237         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2238         Use `tramp-handle-directory-files-and-attributes',
2239         `tramp-handle-file-exists-p' and
2240         `tramp-handle-file-newer-than-file-p'.
2241         (tramp-smb-handle-directory-files-and-attributes)
2242         (tramp-smb-handle-file-exists-p)
2243         (tramp-smb-handle-file-newer-than-file-p): Remove.
2244         (tramp-smb-maybe-open-connection):
2245         Replace `tramp-set-process-query-on-exit-flag' by
2246         `tramp-compat-set-process-query-on-exit-flag'.
2248 2010-10-05  Glenn Morris  <rgm@gnu.org>
2250         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
2252 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
2254         Continue reorganization of load dependencies.  (Bug#7156)
2256         * net/tramp.el (tramp-handle-file-local-copy-hook)
2257         (tramp-delete-temp-file-function): Move down.
2258         (tramp-exists-file-name-handler): Move up.
2259         (tramp-register-file-name-handlers): Simplify autoload.
2260         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
2261         (tramp-handle-directory-files, tramp-handle-dired-uncache)
2262         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
2263         (tramp-handle-file-name-completion)
2264         (tramp-handle-file-name-directory)
2265         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
2266         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
2267         (tramp-handle-find-backup-file-name)
2268         (tramp-handle-insert-file-contents, tramp-handle-load)
2269         (tramp-handle-substitute-in-file-name)
2270         (tramp-handle-unhandled-file-name-directory)
2271         (tramp-mode-string-to-int, tramp-local-host-p)
2272         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
2274         * net/tramp-gvfs.el (top):
2275         * net/tramp-smb.el (top): Do not require 'tramp-sh.
2277         * net/tramp-sh.el (all): Move several objects to tramp.el, see
2278         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
2280 2010-10-04  Glenn Morris  <rgm@gnu.org>
2282         * calendar/appt.el (appt-add): Ensure reminders are enabled.
2283         (appt-activate): Give status messages.
2285 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
2287         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
2288         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
2289         `gnutls-negotiate' (formerly `starttls-negotiate').
2290         Remove trivial wrapper `starttls-open-stream'.
2292 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
2294         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
2295         log-outgoing commands.
2296         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
2297         to create a buffer local revert-buffer-function variable.
2298         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
2299         revert-buffer-function lambda.
2301 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
2303         * net/gnutls.el (starttls-negotiate): Use the plist interface to
2304         `gnutls-boot'.  Make TYPE the only required parameter.
2305         Allow TRUSTFILES and KEYFILES to be lists.
2306         (open-ssl-stream): Use it.
2308 2010-10-03  Glenn Morris  <rgm@gnu.org>
2310         * subr.el (directory-sep-char): Remove obsolete variable.
2311         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
2312         it is "necessary".
2314         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
2315         * vc/vc.el (vc-static-header-alist): Doc fix.
2316         * vc/vc-cvs.el (vc-cvs-header):
2317         * vc/vc-rcs.el (vc-rcs-header):
2318         * vc/vc-sccs.el (vc-sccs-header):
2319         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
2320         * obsolete/vc-mcvs.el (vc-mcvs-header):
2321         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
2322         on XEmacs.
2324 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
2326         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
2327         Remove obsolete use of binary-overwrite-mode (Bug#7001).
2329 2010-10-03  Glenn Morris  <rgm@gnu.org>
2331         * obsolete/x-menu.el: Remove file, obsolete since 21.1
2333         * textmodes/rst.el (rst-font-lock-keywords-function):
2334         Drop Emacs 20 code.
2336         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
2338         * printing.el: Drop Emacs 20 code.
2340         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
2341         without having used appt.el already).
2343         * subr.el (make-local-hook): Remove function obsolete since 21.1.
2344         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
2345         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
2346         XEmacs.
2347         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
2348         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
2350         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
2351         (charset-width, find-charset-region, chars-in-region, forward-point)
2352         (encode-coding-string, coding-system-p, ccl-execute-on-string)
2353         (define-ccl-program, multibyte-string-p, string-make-multibyte):
2354         Remove compatibility cruft (none of these are used by ps*.el).
2356 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
2358         * subr.el (booleanp): Return t instead of a list (Bug#7086).
2360 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
2362         * server.el (server-process-filter, server-return-error):
2363         Give emacsclient time to shut down after receiving an error string.
2365 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
2367         * files.el (remote-file-name-inhibit-cache): New defcustom.
2369         * time.el (display-time-file-nonempty-p):
2370         Use `remote-file-name-inhibit-cache'.
2372         * net/tramp.el (tramp-completion-reread-directory-timeout):
2373         Fix docstring.
2375         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
2376         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
2377         `remote-file-name-inhibit-cache'.  Check also for an integer
2378         value.  Add/increase counter when `tramp-verbose' >= 10.
2379         (tramp-set-file-property): Add/increase counter when
2380         `tramp-verbose' >= 10.
2382         * net/tramp-cmds.el (tramp-cleanup-all-connections)
2383         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
2384         (tramp-bug): Set tramp-autoload cookie.  Report all interned
2385         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
2386         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
2387         characters only in strings.
2389         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
2390         to backward compatibility.
2392         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
2393         (tramp-handle-file-name-all-completions)
2394         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
2395         (tramp-open-connection-setup-interactive-shell):
2396         Call `tramp-cleanup-connection' directly.
2398 2010-10-02  Glenn Morris  <rgm@gnu.org>
2400         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
2402         * subr.el (char-bytes): Remove obsolete function.
2404         * isearch.el (isearch-return-char): Remove obsolete function.
2406         * mouse.el: No longer provide mldrag.
2407         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
2408         Remove obsolete aliases.
2410         * comint.el (comint-kill-output): Remove obsolete alias.
2412         * composite.el (decompose-composite-char): Remove obsolete function.
2413         * ps-def.el (decompose-composite-char): Remove unused function.
2415         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
2417         * outline.el (outline-visible): Remove obsolete function.
2419         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
2420         * faces.el (internal-find-face, internal-get-face)
2421         (frame-update-faces, frame-update-face-colors)
2422         (x-frob-font-weight, x-frob-font-slant)
2423         (internal-frob-font-weight, internal-frob-font-slant)
2424         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
2425         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
2426         (x-make-font-bold-italic): Remove functions and aliases, obsolete
2427         since Emacs 21.1.
2428         * emulation/viper-util.el (viper-get-face):
2429         * obsolete/lucid.el (find-face, get-face): Use facep.
2430         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
2431         Remove unused functions.
2432         * vc/ediff-util.el (ediff-submit-report): Doc fix.
2434         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
2435         delete tempfile if interrupted during compilation.
2437 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2439         * net/tls.el (tls-starttls-switches): Give up on using starttls with
2440         gnutls-cli.
2441         (tls-program): Add --insecure to be consistent with the defaults from
2442         openssl s_client.  Now all three commands are insecure.
2444 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
2446         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
2447         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
2448         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
2450 2010-10-01  Glenn Morris  <rgm@gnu.org>
2452         * obsolete/sc.el: Remove file.
2454         * files.el (temporary-file-directory): On darwin, also try
2455         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
2457 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
2459         * server.el (server-start): Revert part of revno 101688.
2460         Let's not break compatibility gratuitously, shall we?
2462 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2464         * net/tls.el (tls-starttls-switches): New variable.
2465         (tls-find-starttls-argument): Use it.
2466         (open-tls-stream): Ditto.
2468         * net/netrc.el (netrc-credentials): Return the value of the "default"
2469         entry.
2470         (netrc-machine): Ditto.
2472 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
2474         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
2476 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
2478         * server.el (server-start): Don't write pid to the authentication file.
2479         (server-create-tty-frame): Don't send pid.
2480         (server-process-filter): Send pid at the start of every connection.
2482 2010-09-30  Glenn Morris  <rgm@gnu.org>
2484         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
2485         (show-all-diary-entries): Remove obsolete function aliases.
2487         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
2488         Remove options, obsolete since 22.1.
2489         (appt-display-format, appt-display-message):
2490         Remove backwards-compatibility code.
2491         (appt-check): No longer check appt-issue-message.
2492         (appt-make-list): No longer autoload it.  Doc fix.  No longer
2493         activate the package.
2495 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2497         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
2498         (starttls-negotiate): Just call boot, and let the handshake be
2499         triggered from the read loop.
2501 2010-09-29  Glenn Morris  <rgm@gnu.org>
2503         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
2504         not displaying the diary.
2505         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
2506         * calendar/appt.el (appt-check): No longer need to kill diary.
2508         * calendar/diary-lib.el (diary-list-entries): Move the
2509         "Preparing..." message entirely here.
2510         (diary-simple-display, diary-fancy-display): Move "Preparing..."
2511         messages to diary-list-entries.
2512         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
2513         diary-display-function.
2515         * calendar/diary-lib.el (diary-include-other-diary-files):
2516         Trap some recursive includes.
2518         * calendar/appt.el (appt-activate): Check diary file.
2520 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
2522         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
2523         construction.
2525         * calendar/time-date.el: No need to require cl for Emacs 21.
2527 2010-09-28  Glenn Morris  <rgm@gnu.org>
2529         * calendar/appt.el (appt-check): Minor simplification.
2531 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
2533         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
2534         citation prefix.
2536 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
2538         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2539         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
2541 2010-09-27  Kenichi Handa  <handa@m17n.org>
2543         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
2544         "ustar" format.
2546 2010-09-27  Kenichi Handa  <handa@m17n.org>
2548         * international/mule.el (define-coding-system): Docstring fixed.
2550         * international/mule-diag.el (describe-character-set): Use princ
2551         with proper print-length and print-level instead of insert.
2553 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
2555         * window.el (walk-windows): Doc fix (bug#7105).
2557 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2559         * emacs-lisp/float-sup.el (e): Remove.
2561 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
2563         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
2564         variable.
2565         (starttls-negotiate): Use it.
2567 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2569         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
2570         back.
2572 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2574         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
2576 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2578         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
2580         * net/netrc.el (netrc-store-data): New function.
2582 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
2584         * net/gnutls.el: GnuTLS glue code to set up a connection.
2586 2010-09-25  Julien Danjou  <julien@danjou.info>
2588         * notifications.el: Call dbus-register-signal only if it is bound.
2590 2010-09-25  Glenn Morris  <rgm@gnu.org>
2592         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2593         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2594         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2595         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2596         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2597         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
2598         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
2599         * eshell/esh-util.el, eshell/esh-var.el:
2600         Remove leading `*' from docs of faces and defcustoms.
2602 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
2604         * eshell/em-ls.el (eshell-ls-archive-regexp):
2605         * eshell/esh-util.el (eshell-tar-regexp):
2606         * ibuffer.el (ibuffer-compressed-file-name-regexp):
2607         * info.el (Info-suffix-list):
2608         * international/mule.el (auto-coding-alist):
2609         * woman.el (woman-file-regexp, woman-file-compression-regexp):
2610         * progmodes/etags.el (tags-compression-info-list):
2611         Support xz compression.
2613 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
2615         * files.el (get-free-disk-space): Don't assume the "df" output
2616         columns line up (Bug#6995).
2618 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
2620         * finder.el (finder-unknown-keywords):
2621         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
2622         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
2624 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
2626         * server.el (server-start): Revert part of 2010-08-08 change.  Using
2627         address 127.0.0.1 for local host is now done in Fmake_network_process.
2629 2010-09-24  Glenn Morris  <rgm@gnu.org>
2631         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
2632         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
2633         * textmodes/css-mode.el, textmodes/dns-mode.el:
2634         Move autoloaded auto-mode-alist entries to files.el.
2635         * files.el (auto-mode-alist): Move entries here.
2637 2010-09-23  Glenn Morris  <rgm@gnu.org>
2639         * isearch.el (isearch-lazy-highlight-cleanup)
2640         (isearch-lazy-highlight-initial-delay)
2641         (isearch-lazy-highlight-interval)
2642         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
2643         * net/net-utils.el (ipconfig-program-options):
2644         Move aliases to options before the associated definitions.
2646 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2648         * newcomment.el (comment-normalize-vars): Better test validity of
2649         comment-end-skip.
2651 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2653         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
2654         (float-e): New name for `e'.
2655         (degrees-to-radians, radians-to-degrees):
2656         * calendar/solar.el (solar-longitude):
2657         * calculator.el (calculator-registers, calculator-funcall):
2658         * textmodes/artist.el (artist-spray-random-points):
2659         * play/bubbles.el (bubbles--initialize-images): Use new names.
2661 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
2663         Update to CEDET 1.0's version of EIEIO.
2665         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
2666         New function.
2667         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
2668         (eieio-default-eval-maybe): Eval val instead of unquoting only.
2669         (class-precedence-list): If class is nil, return nil.
2670         (eieio-generic-call): If class of first input arg is nil, don't
2671         look up static methods, and do check for primary methods.
2672         (initialize-instance): See if the default needs to be evaluated
2673         during the constructor.
2674         (eieio-perform-slot-validation-for-default): Don't do the check
2675         for values that will eventually be evaluated.
2676         (eieio-eval-default-p): New function.
2677         (eieio-default-eval-maybe): Use it.
2679 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
2681         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
2682         method-invocation-order.
2683         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
2684         (eieio-class-precedence-dfs): Compute class precedence list using
2685         dfs algorithm.
2686         (eieio-class-precedence-bfs): Compute class precedence list using
2687         bfs algorithm.
2688         (eieio-class-precedence-c3): Compute class precedence list using
2689         c3 algorithm.
2690         (class-precedence-list): New function.
2691         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
2692         (inconsistent-class-hierarchy): New error symbol.
2693         (call-next-method): Stow the replacement argument list for future
2694         call-next-method invocations.
2696 2010-09-23  Glenn Morris  <rgm@gnu.org>
2698         * calendar/appt.el (appt-check): If not displaying the diary,
2699         use (diary 1) to only get the entries we need.
2700         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
2701         that it is in day order.  (Bug#7019)
2703         * calendar/appt.el (appt-check): Rather than showing the diary,
2704         just turn off invisible display, and only if needed.
2706         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
2708 2010-09-23  Glenn Morris  <rgm@gnu.org>
2710         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2711         (byte-compile-defvar, byte-compile-cl-warn):
2712         Start warnings with lower-case, like the majority.
2714         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
2716         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
2718         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
2719         * files.el (auto-mode-alist): Move ld-script entries here, further down
2720         the list.
2722         * vc/add-log.el: Don't require timezone when compiling.
2723         (timezone-make-date-sortable): Autoload it.
2724         (change-log-sortable-date-at): Don't require timezone.
2725         Use `ignore-errors'.
2727         * comint.el (comint-use-prompt-regexp-instead-of-fields):
2728         Move alias before definition, so it does not need autoloading.
2730         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
2731         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
2732         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
2733         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
2734         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
2735         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
2736         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
2737         * textmodes/tex-mode.el, textmodes/two-column.el:
2738         Remove leading `*' from docs of defcustoms etc.
2740 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
2742         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
2744 2010-09-22  Dan Christensen  <jdc@uwo.ca>
2746         * calendar/time-date.el (date-to-time): Try using parse-time-string
2747         first before using the slower timezone-make-date-arpa-standard.
2749 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
2751         * calendar/time-date.el (format-seconds): Comment fix.
2753 2010-09-22  Glenn Morris  <rgm@gnu.org>
2755         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
2756         is not automatically buffer-local.
2758 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2760         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
2761         (smie-indent-comment): Be more careful with comment-start-skip.
2762         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
2763         (smie-indent-functions): Use them.
2765 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
2767         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
2769 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
2771         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
2772         tool-bar-position.  Don't modify frame parameters here.
2773         (menu-bar-options-save): Add tool-bar-position.
2775         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
2777 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
2779         * textmodes/reftex-parse.el (reftex-what-macro)
2780         (reftex-context-substring): Let-bind forward-sexp-function to nil
2781         since we don't need/want to treat \begin...\end as a block (bug#7053).
2783         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
2785         * simple.el (blink-matching-open): Use syntax-class.
2787         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
2788         Set invisibility spec for pascal's outline mode.
2789         (pascal-outline-change): Clean up calling convention.
2790         (pascal-show-all, pascal-hide-other-defuns): Update callers.
2792         * progmodes/prolog.el (prolog-smie-forward-token)
2793         (prolog-smie-backward-token): New functions.
2794         (prolog-mode-variables): Use them to parse "!," correctly.
2795         Set up smie-blink-matching for ".".
2797         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
2798         and `end'.
2799         (ispell-region, ispell-process-line): Update users.
2801         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
2802         point-min==1.
2804         * textmodes/ispell.el: Fix commenting convention.
2805         (ispell-parse-output): Simplify, use push.
2806         (ispell-region): Use match-string-no-properties.
2807         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
2808         (ispell-minor-mode): Use define-minor-mode.
2809         (ispell-message): Remove unused var `skip-regexp'.
2810         (ispell-add-per-file-word-list): Use dynamic let-binding.
2811         Try and use the proper comment marker.
2813         * mail/sendmail.el: Fix commenting convention.
2814         (sendmail-send-it): Use line-beginning-position.
2816         * help-fns.el (describe-variable): Add original value, if applicable.
2818 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
2820         * subr.el (y-or-n-p): Remove leftover code from revno 101459.
2822         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
2824 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2826         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
2827         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
2828         (smie-prec2-levels): Use them to better diagnose precedence cycles.
2829         (smie-blink-matching-check): Don't signal a mismatch if car is t.
2830         (smie-blink-matching-open): Rewrite to remove assumptions, so that
2831         something like "." can also be a closer.
2832         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
2833         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
2834         Rename internal functions to use "--".  Update callers.
2836         * frame.el (make-frame-names-alist): Don't list frames on other displays.
2838         * fringe.el (fringe-styles): New var.
2839         (fringe-mode, fringe-query-style): Use it.
2841 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
2843         * progmodes/sql.el: Version 2.8
2844         (sql-login-params): Update widget structure; changes still needed.
2845         (sql-product-alist): Add :list-all and :list-table features for
2846         SQLite, Postgres and MySQL products.
2847         (sql-redirect): Handle default value.
2848         (sql-execute, sql-execute-feature): New functions.
2849         (sql-read-table-name): New function.
2850         (sql-list-all, sql-list-table): New functions.  User API.
2851         (sql-mode-map, sql-interactive-mode-map): Add key definitions
2852         for above functions.
2853         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
2854         for above functions.
2855         (sql-postgres-login-params): Add user and database defaults.
2856         (sql-buffer-live-p): Bug fix.
2857         (sql-product-history): New variable.
2858         (sql-read-product): New function. Use it.
2859         (sql-set-product, sql-product-interactive): Use it.
2860         (sql-connection-history): New variable.
2861         (sql-read-connection): New function.  Use it.
2862         (sql-connect): New function.
2863         (sql-for-each-login): Redesign function interface.
2864         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
2865         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
2866         (sql-comint): Check for program.  Existing live buffer.
2867         (sql-comint-postgres): Add port parameter.
2869 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2871         * emacs-lisp/warnings.el: Fix commenting convention.
2872         (display-warning): Use special mode and make the buffer read-only.
2874 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
2876         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
2877         empty string when it follows a repeated or optional pattern.
2879 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2881         * indent.el (indent-according-to-mode): Apply syntax-propertize.
2882         (indent-region): Use indent-according-to-mode.
2884 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
2886         * fringe.el (fringe-mode): Doc fix.
2888 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
2890         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
2891         refreshing the preview buffer.
2893 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2895         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
2896         (latex-syntax-propertize-rules): New consts; replace
2897         tex-font-lock-syntactic-keywords.
2898         (tex-env-mark, latex-env-before-change): New functions.
2899         (latex-electric-env-pair-mode): New minor mode.
2900         (tex-font-lock-verb): Change arguments; do move point.
2901         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
2902         representation as a form of comment.
2903         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
2904         (doctex-syntax-propertize-rules): New const; replaces
2905         doctex-font-lock-syntactic-keywords.
2906         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
2908         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
2909         (fortran-make-syntax-propertize-function): New function; replaces
2910         fortran-font-lock-syntactic-keywords.
2911         (fortran-mode): Use it.
2912         (fortran-line-length): Use it.  Improve interactive spec.
2914         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
2915         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
2916         when adding surrounding \(..\).
2918         * progmodes/js.el (js-mode): Fix last change (bug#7054).
2920 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2922         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
2923         Use with-current-buffer.
2925         * isearch.el (isearch-face): Rename from `isearch'.
2926         (isearch-highlight): Use new name.
2928 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
2930         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
2931         5, for `half' width fringes.  (Bug#6933)
2933 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2935         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
2936         (byte-compile-defvar): "foo/bar" does not lack a prefix.
2938         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
2940 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
2942         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
2943         in calculating new frame position.  Add more space between new and
2944         parent on the left (Bug#7048).
2946 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
2948         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
2949         defmacro.
2951 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
2953         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
2955         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
2956         obsolete alias for x-selection-value.
2958         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
2960 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
2962         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
2963         cookie.
2965 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
2967         * net/tramp-compat.el (tramp-compat-with-temp-message)
2968         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
2969         (tramp-compat-process-put): New defuns.
2971         * net/tramp.el (top):
2972         * net/tramp-gvfs.el (top):
2973         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
2975         * net/tramp.el (tramp-progress-reporter-update):
2976         Use `tramp-compat-funcall'.
2978         * net/tramp.el (tramp-process-actions):
2979         * net/tramp-gvfs.el (tramp-handle-vc-registered):
2980         * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
2981         (tramp-get-remote-stat, tramp-get-remote-readlink):
2982         Use `tramp-compat-with-temp-message'.
2984         * net/tramp-sh.el (top): Require 'cl.
2985         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
2986         (tramp-open-connection-setup-interactive-shell):
2987         Use `tramp-compat-process-put'.
2989 2010-09-15  Alan Mackenzie  <acm@muc.de>
2991         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
2992         indentation.
2993         (c-forward-<>-arglist-recur): Fix an infinite recursion.
2995 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2997         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
2998         `lexical' for warnings related to lexical scoping.
2999         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
3000         global vars which don't have a prefix and could hence affect lexical
3001         scoping in unrelated files.
3003 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3005         * net/imap.el: Revert back to version
3006         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
3007         seem problematic.
3009 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
3011         * obsolete/old-whitespace.el (whitespace-unload-function):
3012         Explicitly pass `obarray' to `unintern' to avoid a warning.
3014 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3016         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
3017         Add `when' argument.  Update callers.
3019         * subr.el (unintern): Declare the obarray arg mandatory.
3021 2010-09-14  Glenn Morris  <rgm@gnu.org>
3023         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
3024         Doc fixes.
3026         * calendar/diary-lib.el (diary-included-files): New variable.
3027         (diary-list-entries): Maybe initialize diary-included-files.
3028         (diary-include-other-diary-files): Append to diary-included-files.
3029         * calendar/appt.el (appt-update-list): Also check the members of
3030         diary-included-files.  (Bug#6999)
3031         (appt-check): Doc fix.
3033 2010-09-14  David Reitter  <david.reitter@gmail.com>
3035         * simple.el (line-move-visual): Do not truncate goal column to
3036         integer size.  (Bug#7020)
3038 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3040         * repeat.el (repeat): Allow repeating when the last event is a click.
3041         Suggested by Drew Adams (bug#6256).
3043 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
3045         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
3046         Replace setting HGRCPATH to "" by some less invasive --config options.
3048 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3050         * font-lock.el (font-lock-beginning-of-syntax-function):
3051         Mark as obsolete.
3053 2010-09-14  Glenn Morris  <rgm@gnu.org>
3055         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
3056         and tool-bar modes.  (Bug#6211)
3057         (menu-bar-mode): Move setting of standard-value after the
3058         minor-mode definition, otherwise it seems to have no effect.
3060 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
3062         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
3063         Fix typo.  (Bug#6976)
3065 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3067         * whitespace.el: Allow cleaning up blanks without blank
3068         visualization (Bug#6651).  Adjust help window for
3069         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
3070         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
3071         (whitespace-style): Add new value 'face.  Adjust docstring.
3072         (whitespace-space, whitespace-hspace, whitespace-tab):
3073         Adjust foreground property face.
3074         (whitespace-line-column): Adjust docstring and type declaration.
3075         (whitespace-style-value-list, whitespace-toggle-option-alist)
3076         (whitespace-help-text): Adjust const initialization.
3077         (whitespace-toggle-options, global-whitespace-toggle-options):
3078         Adjust docstring.
3079         (whitespace-display-window, whitespace-interactive-char)
3080         (whitespace-style-face-p, whitespace-color-on): Adjust code.
3081         (whitespace-help-scroll): New fun.
3083 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
3085         * calendar/time-date.el (format-seconds): Comment fix.
3087 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
3089         * progmodes/sql.el: Version 2.7.
3090         (sql-buffer-live-p): Improve detection.
3091         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3092         (sql-set-sqli-buffer): Use it.
3093         (sql-product-interactive): Run `sql-set-sqli-hook'.
3094         (sql-rename-buffer): Code cleanup.
3095         (sql-redirect, sql-redirect-value): New functions.  More to come.
3097 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
3099         Port tramp-related Makefile changes of revnos 101381, 101422 to Windows.
3100         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3101         (TRAMP_SRC): New macro.
3102         ($(lisp)/net/tramp-loaddefs.el): New target.
3104 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
3106         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
3108         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
3110         * net/tramp.el (top): Don't show loading message.  Require just
3111         'tramp-compat, everything else is required there.
3112         Use `ignore-errors' where appropriate.
3113         (tramp-inline-compress-start-size, tramp-copy-size-limit)
3114         (tramp-terminal-type, tramp-end-of-output)
3115         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
3116         (tramp-completion-function-alist-ssh)
3117         (tramp-completion-function-alist-telnet)
3118         (tramp-completion-function-alist-su)
3119         (tramp-completion-function-alist-putty, tramp-remote-path)
3120         (tramp-remote-process-environment, tramp-sh-extra-args)
3121         (tramp-actions-before-shell, tramp-uudecode)
3122         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
3123         (tramp-perl-file-attributes)
3124         (tramp-perl-directory-files-and-attributes)
3125         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
3126         (tramp-perl-encode, tramp-perl-decode)
3127         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
3128         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
3129         (tramp-handle-make-symbolic-link, tramp-handle-load)
3130         (tramp-handle-file-name-as-directory)
3131         (tramp-handle-file-name-directory)
3132         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
3133         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
3134         (tramp-do-file-attributes-with-ls)
3135         (tramp-do-file-attributes-with-perl)
3136         (tramp-do-file-attributes-with-stat)
3137         (tramp-handle-set-visited-file-modtime)
3138         (tramp-handle-verify-visited-file-modtime)
3139         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
3140         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
3141         (tramp-handle-file-selinux-context)
3142         (tramp-handle-set-file-selinux-context)
3143         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
3144         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
3145         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
3146         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
3147         (tramp-handle-file-ownership-preserved-p)
3148         (tramp-handle-directory-file-name, tramp-handle-directory-files)
3149         (tramp-handle-directory-files-and-attributes)
3150         (tramp-do-directory-files-and-attributes-with-perl)
3151         (tramp-do-directory-files-and-attributes-with-stat)
3152         (tramp-handle-file-name-all-completions)
3153         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
3154         (tramp-handle-copy-file, tramp-handle-copy-directory)
3155         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
3156         (tramp-do-copy-or-rename-file-via-buffer)
3157         (tramp-do-copy-or-rename-file-directly)
3158         (tramp-do-copy-or-rename-file-out-of-band)
3159         (tramp-handle-make-directory, tramp-handle-delete-directory)
3160         (tramp-handle-delete-file)
3161         (tramp-handle-dired-recursive-delete-directory)
3162         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
3163         (tramp-handle-insert-directory)
3164         (tramp-handle-unhandled-file-name-directory)
3165         (tramp-handle-expand-file-name)
3166         (tramp-handle-substitute-in-file-name)
3167         (tramp-handle-executable-find, tramp-process-sentinel)
3168         (tramp-handle-start-file-process, tramp-handle-process-file)
3169         (tramp-handle-call-process-region, tramp-handle-shell-command)
3170         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
3171         (tramp-handle-insert-file-contents)
3172         (tramp-handle-insert-file-contents-literally)
3173         (tramp-handle-find-backup-file-name)
3174         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
3175         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
3176         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
3177         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
3178         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
3179         (tramp-find-file-exists-command, tramp-open-shell)
3180         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
3181         (tramp-open-connection-setup-interactive-shell)
3182         (tramp-local-coding-commands, tramp-remote-coding-commands)
3183         (tramp-find-inline-encoding, tramp-call-local-coding-command)
3184         (tramp-inline-compress-commands, tramp-find-inline-compress)
3185         (tramp-compute-multi-hops, tramp-maybe-open-connection)
3186         (tramp-send-command, tramp-wait-for-output)
3187         (tramp-send-command-and-check, tramp-barf-unless-okay)
3188         (tramp-send-command-and-read, tramp-mode-string-to-int)
3189         (tramp-convert-file-attributes, tramp-check-cached-permissions)
3190         (tramp-file-mode-from-int, tramp-file-mode-permissions)
3191         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
3192         (tramp-method-out-of-band-p, tramp-local-host-p)
3193         (tramp-get-remote-path, tramp-get-remote-tmpdir)
3194         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
3195         (tramp-get-test-command, tramp-get-test-nt-command)
3196         (tramp-get-file-exists-command, tramp-get-remote-ln)
3197         (tramp-get-remote-perl, tramp-get-remote-stat)
3198         (tramp-get-remote-readlink, tramp-get-remote-trash)
3199         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
3200         (tramp-get-local-uid, tramp-get-local-gid)
3201         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
3202         tramp-sh.el.
3203         (tramp-methods, tramp-default-method-alist)
3204         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
3205         Move initialization to tramp-sh.el.
3206         (tramp-temp-name-prefix): Make it a defconst.
3207         (tramp-dissect-file-name): Don't check anymore for multi-hop
3208         methods.
3209         (tramp-debug-outline-regexp): Add a docstring.
3210         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
3211         (tramp-get-debug-buffer): Use it.
3213         * net/tramp-cache.el (top): Set tramp-autoload cookie for
3214         initialization forms.
3215         (tramp-set-connection-property): Don't protect `tramp-message'
3216         call, it isn't necessary any longer.
3217         (tramp-dump-connection-properties): Use `ignore-errors'.
3219         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
3220         'password-cache and 'auth-source.
3222         * net/tramp-gvfs.el (top):
3223         * net/tramp-smb.el (top): Require 'tramp-sh.
3225         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
3227         * net/tramp-sh.el: New file, derived from tramp.el.
3228         (top): Initialize `tramp-methods', `tramp-default-method-alist',
3229         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
3230         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
3231         Use `ignore-errors' where appropriate.
3232         (tramp-sh-file-name-handler-alist): Rename from
3233         `tramp-file-name-handler-alist'.
3234         (tramp-send-command-and-check): Return t or nil.  Remove all
3235         `zerop' checks, where called.
3236         (tramp-handle-set-file-modes)
3237         (tramp-do-copy-or-rename-file-directly)
3238         (tramp-handle-delete-directory, tramp-handle-delete-file)
3239         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
3240         (tramp-sh-file-name-handler, tramp-send-command-and-check)
3241         (tramp-get-remote-ln): Set tramp-autoload cookie.
3243         * net/tramp-fish.el: Remove file.
3245 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
3247         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
3248         buffer-file-name to avoid file-locking.  (Bug#7026)
3250 2010-09-13  Julien Danjou  <julien@danjou.info>
3252         * notifications.el (notifications-notify): Add support for
3253         image-path and sound-name.
3254         (notifications-specification-version): Add this variable.
3256 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3258         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
3260 2010-09-12  Leo  <sdl.web@gmail.com>
3262         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
3263         (rcirc-completion-start): New variables.
3264         (rcirc-nick-completions): Rename to rcirc-completions.
3265         (rcirc-nick-completion-start-offset): Delete.
3266         (rcirc-completion-at-point): New function for constructing
3267         completion data for both nicks and irc commands.  Add to
3268         completion-at-point-functions in rcirc mode.
3269         (rcirc-complete): Rename from rcirc-nick-complete; use
3270         rcirc-completion-at-point.
3271         (defun-rcirc-command): Update rcirc-client-commands.
3273 2010-09-11  Glenn Morris  <rgm@gnu.org>
3275         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
3276         atomically, to avoid parallel build errors.  (Bug#4196)
3278 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
3280         * progmodes/sql.el: Version 2.6
3281         (sql-dialect): Synonym for "sql-product".
3282         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3283         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
3284         Set "sql-buffer" to buffer name not buffer object so multiple sql
3285         interactive buffers work properly.  Reverts misguided changes in
3286         earlier work.
3287         (sql-comint): Make sure different buffer name is used if "*SQL*"
3288         buffer is for a different product.
3289         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
3290         login param.
3291         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
3292         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
3293         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
3294         Accept new buffer name or prompt for one.
3295         (sql-port): Default to zero.
3296         (sql-comint-mysql): Handle "sql-port" as a numeric.
3297         (sql-port-history): Delete unused variable.
3298         (sql-get-login): Default "sql-port" to a number.
3299         (sql-product-alist): Correct Postgres prompt and terminator regexp.
3300         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
3301         "sqlite3" executables.
3302         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
3303         (sql-buffer-live-p): New function.
3304         (sql-mode-menu, sql-send-string): Use it.
3305         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
3306         syntax pattern.
3307         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
3308         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
3310 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3312         * net/netrc.el (netrc-credentials): New convenience function.
3314 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3316         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
3317         to replace texinfo-font-lock-syntactic-keywords.
3318         (texinfo-mode): Use it.
3320         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
3321         Use syntax-propertize-function.
3323         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
3324         replace sgml-font-lock-syntactic-keywords.
3325         (sgml-mode): Use it.
3327         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
3328         since we don't use it.
3330         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
3332         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
3333         if available.
3334         (vhdl-fontify-buffer): Adjust.
3336         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
3337         replace tcl-font-lock-syntactic-keywords.
3338         (tcl-mode): Use it.
3340         * progmodes/simula.el (simula-syntax-propertize-function): New var to
3341         replace simula-font-lock-syntactic-keywords.
3342         (simula-mode): Use it.
3344         * progmodes/sh-script.el (sh-st-symbol): Remove.
3345         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
3346         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
3347         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
3348         (sh-font-lock-paren): Set syntax-multiline.
3349         (sh-font-lock-syntactic-keywords): Remove.
3350         (sh-syntax-propertize-function): New function to replace it.
3351         (sh-mode): Use it.
3353         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
3354         Define while compiling.
3355         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3356         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
3357         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
3358         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3359         (ruby-here-doc-end-syntax): Only define when
3360         syntax-propertize is not available.
3361         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
3362         New functions.
3363         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
3364         (electric-indent-chars): Silence bytecompiler.
3365         (ruby-mode): Use prog-mode, syntax-propertize-function, and
3366         electric-indent-chars.
3368         * progmodes/python.el (python-syntax-propertize-function): New var to
3369         replace python-font-lock-syntactic-keywords.
3370         (python-mode): Use it.
3371         (python-quote-syntax): Simplify and adjust to new use.
3373         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
3374         replace perl-font-lock-syntactic-keywords.
3375         (perl-syntax-propertize-special-constructs): New fun to replace
3376         perl-font-lock-special-syntactic-constructs.
3377         (perl-font-lock-syntactic-face-function): New fun.
3378         (perl-mode): Use it.
3380         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
3381         to replace octave-font-lock-close-quotes.
3382         (octave-syntax-propertize-function): New function to replace
3383         octave-font-lock-syntactic-keywords.
3384         (octave-mode): Use it.
3386         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
3387         replaces mixal-font-lock-syntactic-keywords.
3388         (mixal-mode): Use it.
3390         * progmodes/make-mode.el (makefile-syntax-propertize-function):
3391         New var; replaces makefile-font-lock-syntactic-keywords.
3392         (makefile-mode): Use it.
3393         (makefile-imake-mode): Adjust.
3395         * progmodes/js.el (js--regexp-literal): Define while compiling.
3396         (js-syntax-propertize-function): New var; replaces
3397         js-font-lock-syntactic-keywords.
3398         (js-mode): Use it.
3400         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
3401         replaces gdb-script-font-lock-syntactic-keywords.
3402         (gdb-script-mode): Use it.
3404         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
3405         (fortran--font-lock-syntactic-keywords): New var.
3406         (fortran-line-length): Update syntax-propertize-function and
3407         fortran--font-lock-syntactic-keywords.
3409         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
3411         * progmodes/cfengine.el (cfengine-mode):
3412         Use syntax-propertize-function.
3413         (cfengine-font-lock-syntactic-keywords): Remove.
3415         * progmodes/autoconf.el (autoconf-mode):
3416         Use syntax-propertize-function.
3417         (autoconf-font-lock-syntactic-keywords): Remove.
3419         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
3420         (ada-after-change-function, ada-initialize-syntax-table-properties)
3421         (ada-handle-syntax-table-properties): Only define when
3422         syntax-propertize is not available.
3423         (ada-mode): Use syntax-propertize-function.
3425         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
3426         (font-lock-fontify-syntactic-keywords-region): Move handling of
3427         font-lock-syntactically-fontified to...
3428         (font-lock-default-fontify-region): ...here.
3429         Let syntax-propertize-function take precedence.
3430         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
3432         * emacs-lisp/syntax.el (syntax-propertize-function)
3433         (syntax-propertize-chunk-size, syntax-propertize--done)
3434         (syntax-propertize-extend-region-functions): New vars.
3435         (syntax-propertize-wholelines, syntax-propertize-multiline)
3436         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
3437         (syntax-propertize): New functions.
3438         (syntax-propertize-rules): New macro.
3439         (syntax-ppss-flush-cache): Set syntax-propertize--done.
3440         (syntax-ppss): Call syntax-propertize.
3442         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
3444 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
3446         * textmodes/ispell.el (ispell-init-process): Improve comments.
3447         XEmacs compatibility changes regarding (add-hook) 'local option
3448         and (set-process-query-on-exit-flag).
3450 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
3452         * net/tramp-cache.el (tramp-parse-connection-properties):
3453         Set tramp-autoload cookie.
3455 2010-09-09  Glenn Morris  <rgm@gnu.org>
3457         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
3458         (imagemagick-register-types): Doc fix.
3460 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3462         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
3464         * progmodes/js.el (require): Require is already "eval-and-compile".
3465         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
3466         (js--re-search-backward): Use js--re-search-forward.
3468         * progmodes/fortran.el (fortran-line-length): Don't recompute
3469         syntactic keywords redundantly a second time.
3471         * progmodes/ada-mode.el: Replace "(set '" with setq.
3472         (ada-mode): Simplify.
3473         (ada-create-case-exception, ada-adjust-case-interactive)
3474         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
3475         (ada-search-ignore-string-comment, ada-move-to-start)
3476         (ada-move-to-end): Use with-syntax-table.
3478         * font-lock.el (save-buffer-state): Remove `varlist' arg.
3479         (font-lock-unfontify-region, font-lock-default-fontify-region):
3480         Update usage correspondingly.
3481         (font-lock-fontify-syntactic-keywords-region):
3482         Set parse-sexp-lookup-properties buffer-locally here.
3483         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
3485         * simple.el (blink-matching-open): Don't burp if we can't find a match.
3487 2010-09-08  Glenn Morris  <rgm@gnu.org>
3489         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
3490         Error if not compiled with -DBYTE_CODE_METER.
3492         * emacs-lisp/bytecomp.el (byte-recompile-directory):
3493         Ignore dir-locals-file.
3495 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3497         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3498         Not a const.
3499         (compilation-error-regexp-alist-alist): Rule out ": " in file names
3500         for the `gnu' messages.
3501         (compilation-set-skip-threshold): New command.
3502         (compilation-start): Use \' rather than $.
3503         (compilation-forget-errors): Use clrhash.
3505 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
3507         * textmodes/ispell.el (ispell-valid-dictionary-list):
3508         Simplify logic.
3510 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
3512         Migrate to Tramp 2.2.  Rearrange load dependencies.
3513         (Bug#1529, Bug#5448, Bug#5705)
3515         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
3516         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
3517         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3519         * net/tramp.el (top): Remove all other tramp-* loads except
3520         tramp-compat.el.  Remove all changes to tramp-unload-hook for
3521         other tramp-* packages.  Rearrange defun order.  Change calls of
3522         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
3523         `tramp-compat-octal-to-decimal' to new function names.
3524         (tramp-terminal-type, tramp-initial-end-of-output)
3525         (tramp-methods, tramp-foreign-file-name-handler-alist)
3526         (tramp-tramp-file-p, tramp-completion-mode-p)
3527         (tramp-send-command-and-check, tramp-get-remote-path)
3528         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
3529         (tramp-shell-quote-argument): Set tramp-autoload cookie.
3530         (with-file-property, with-connection-property): Move to
3531         tramp-cache.el.
3532         (tramp-local-call-process, tramp-decimal-to-octal)
3533         (tramp-octal-to-decimal): Move to tramp-compat.el.
3534         (tramp-handle-shell-command): Do not require 'shell.
3535         (tramp-compute-multi-hops): No special handling for tramp-gw-*
3536         symbols.
3537         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
3539         * net/tramp-cache.el (top): Require 'tramp.  Add to
3540         `tramp-unload-hook'.
3541         (tramp-cache-data, tramp-get-file-property)
3542         (tramp-set-file-property, tramp-flush-file-property)
3543         (tramp-flush-directory-property, tramp-get-connection-property)
3544         (tramp-set-connection-property, tramp-flush-connection-property)
3545         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
3546         cookie.
3547         (with-file-property, with-connection-property): New defuns, moved
3548         from tramp.el.
3549         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
3550         macro.
3552         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
3553         (tramp-version): Set tramp-autoload cookie.
3555         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
3556         changes to tramp-unload-hook for other tramp-* packages.  Add to
3557         `tramp-unload-hook'.
3558         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
3559         (tramp-compat-call-process): New defuns, moved from tramp.el.
3561         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
3562         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
3563         Add to `tramp-unload-hook'.  Change call of
3564         `tramp-compat-decimal-to-octal' to new function name.
3565         (tramp-fish-method): Make it a defconst.
3566         (tramp-fish-file-name-p): Make it a defsubst.
3567         (tramp-fish-method, tramp-fish-file-name-handler)
3568         (tramp-fish-file-name-p): Set tramp-autoload cookie.
3570         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
3571         `tramp-foreign-file-name-handler-alist'.  Add to
3572         `tramp-unload-hook'.
3573         (tramp-ftp-method): Make it a defconst.
3574         (tramp-ftp-file-name-p): Make it a defsubst.
3575         (tramp-ftp-method, tramp-ftp-file-name-handler)
3576         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
3578         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
3579         `tramp-foreign-file-name-handler-alist'.  Add to
3580         `tramp-unload-hook'.  Change checks, whether package can be
3581         loaded.
3582         (tramp-gvfs-file-name-p): Make it a defsubst.
3583         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
3584         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
3585         (tramp-gvfs-handle-file-directory-p): New defun.
3586         (tramp-gvfs-file-name-handler-alist): Use it.
3588         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
3589         `tramp-foreign-file-name-handler-alist'.  Add to
3590         `tramp-unload-hook'.
3591         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
3592         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
3593         defconst.
3594         (tramp-gw-tunnel-method, tramp-gw-socks-method)
3595         (tramp-gw-open-connection): Set tramp-autoload cookie.
3597         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
3598         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
3599         Add to `tramp-unload-hook'.  Change checks, whether package can be
3600         loaded.
3601         (tramp-imap-file-name-p): Make it a defsubst.
3602         (tramp-imap-method, tramp-imaps-method)
3603         (tramp-imap-file-name-handler)
3604         (tramp-imap-file-name-p): Set tramp-autoload cookie.
3606         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
3607         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
3608         Add to `tramp-unload-hook'.  Change checks, whether package can be
3609         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
3610         function name.
3611         (tramp-smb-tunnel-method): Make it a defconst.
3612         (tramp-smb-file-name-p): Make it a defsubst.
3613         (tramp-smb-method, tramp-smb-file-name-handler)
3614         (tramp-smb-file-name-p): Set tramp-autoload cookie.
3616         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
3617         (tramp-uuencode-region): Set tramp-autoload cookie.
3619         * net/trampver.el (top) Add to `tramp-unload-hook'.
3620         (tramp-version, tramp-bug-report-address): Set tramp-autoload
3621         cookie.  Update release number.
3623 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
3625         * textmodes/ispell.el (ispell-start-process): Make sure original
3626         arg list is properly initialized (Bug#6993, Bug#6994).
3628 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
3630         * files.el (directory-abbrev-alist): Use \` as default regexp.
3632         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
3633         chars like - or ] (bug#6984).
3634         (rx-any-condense-range): Explode 2-char ranges.
3636 2010-09-06  Glenn Morris  <rgm@gnu.org>
3638         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
3640 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3642         * textmodes/bibtex.el:
3643         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
3645 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3647         * net/imap.el (imap-message-map): Remove optional buffer parameter,
3648         since no callers use it.
3649         (imap-message-get): Ditto.
3650         (imap-message-put): Ditto.
3651         (imap-mailbox-map): Ditto.
3652         (imap-mailbox-put): Ditto.
3653         (imap-mailbox-get): Ditto.
3654         (imap-mailbox-get): Revert last change for this function.
3656 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3658         * net/imap.el (imap-fetch-safe): Remove function, and alter all
3659         callers to use `imap-fetch' instead.  According to the comments, this
3660         should be safe, since all other IMAP clients use the 1:* syntax.
3661         (imap-enable-exchange-bug-workaround): Remove.
3662         (imap-debug): Remove -- doesn't seem very useful.
3664 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3666         * net/imap.el (imap-log): New convenience function used throughout
3667         instead of repeating the same code all over the place.
3669 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
3671         * mouse.el (mouse-save-then-kill): Save region to kill-ring
3672         when mouse-drag-copy-region is non-nil (Bug#6956).
3674 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
3676         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
3677         Improve regexps (Bug#6987).
3678         (dired-sort-toggle): Search more robustly for -t flag.
3680         * files.el (get-free-disk-space): Search more robustly for
3681         "available" column.  Suggested by Ehud Karni
3682         <ehud@unix.mvs.co.il>.
3684 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
3686         * international/uni-bidi.el:
3687         * international/uni-category.el:
3688         * international/uni-combining.el:
3689         * international/uni-decimal.el:
3690         * international/uni-mirrored.el:
3691         * international/uni-name.el: Regenerate.
3693 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3695         * electric.el (electric-indent-post-self-insert-function):
3696         Don't reindent with a sloppy indentation function.
3698         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
3699         border case in change-log-mode.
3701 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
3703         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3704         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
3705         Recognize leading tab in gcc-include regexp.  Ignore names with
3706         leading "from" or "in" in gnu regexp (Bug#6937).
3708 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3710         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
3711         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
3712         (ispell-start-process): Avoid setq and simplify logic.
3713         (ispell-init-process): Setup kill-buffer-hook locally when needed.
3714         (kill-buffer-hook): Don't use it globally with code that uses
3715         expand-file-name since that may call kill-buffer via
3716         code_conversion_restore.
3718 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
3720         * emacs-lisp/package.el (package-directory-list): Only call
3721         file-name-nondirectory on a string.
3723 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
3725         * emacs-lisp/package.el (package--download-one-archive):
3726         Ensure that archive-contents is valid before saving it.
3727         (package-activate-1, package-mark-obsolete, define-package)
3728         (package-compute-transaction, package-list-maybe-add): Use push.
3730 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3732         Use SMIE's blink-paren for octave-mode.
3733         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
3734         Backslashes do not escape single-quotes, single-quotes do.
3735         (octave-block-else-regexp, octave-block-end-regexp)
3736         (octave-block-match-alist): Remove.
3737         (octave-smie-bnf-table): New var, with old content.
3738         (octave-smie-op-levels): Use it.
3739         (octave-smie-closer-alist): New var.
3740         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
3741         (octave-blink-matching-block-open): Remove.
3742         (octave-reindent-then-newline-and-indent, octave-electric-semi)
3743         (octave-electric-space): Let self-insert-command run expand-abbrev and
3744         blink parens.
3746         * electric.el (electricity): New group.
3747         (electric-indent-chars): New var.
3748         (electric-indent-post-self-insert-function): New fun.
3749         (electric-indent-mode): New minor mode.
3750         (electric-pair-skip-self): New custom.
3751         (electric-pair-post-self-insert-function): New function.
3752         (electric-pair-mode): New minor mode.
3754         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
3755         calcAlg-blink-matching-open.
3756         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
3757         (calc-do-alg-entry): Only touch the part of the keymap that varies.
3758         Use the new blink-matching-check-function.
3760         Provide blink-matching support to SMIE.
3761         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
3762         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
3763         (smie-blink-matching-check, smie-blink-matching-open): New functions.
3765         * simple.el (newline): Fix last change to properly remove itself from
3766         the hook.
3768 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3770         * simple.el (newline): Eliminate optimization.
3771         Use post-self-insert-hook to set hard-newline and things before
3772         running post-self-insert-hook.
3773         (blink-matching-check-mismatch): New function.
3774         (blink-matching-check-function): New variable.
3775         (blink-matching-open): Use them.
3776         Skip back forward over prefix chars skipped by forward-sexp.
3777         Don't check if the parens are backslash escaped.
3778         (blink-paren-post-self-insert-function): Check backslash escaping here.
3780 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
3782         * emacs-lisp/package.el (package-menu-mode-map):
3783         Change package-menu-revert bindings to revert-buffer.
3784         (package-menu-mode): Set revert-buffer-function.
3785         (package-menu-revert): Doc fix.
3787 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
3789         * textmodes/ispell.el (ispell-init-process): Use "~/" as
3790         `default-directory' unless using Ispell per-directory personal
3791         dictionaries and not in a mini-buffer under XEmacs.
3792         (kill-buffer-hook): Do not kill ispell process on exit when
3793         `ispell-process-directory' is "~/".  (Bug#6143)
3795 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
3797         * simple.el (kill-new): Call interprogram-cut-function with only
3798         one argument.
3800         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
3801         Remove cut buffer from error message.
3803         * term/x-win.el (x-select-text):
3804         * term/pc-win.el (x-selection-value):
3805         * term/ns-win.el (x-selection-value):
3806         * eshell/em-term.el:
3807         * w32-fns.el (x-get-selection-value):
3808         * mouse-sel.el (mouse-sel-set-selection-function):
3809         * frame.el (display-selections-p): Remove cut-buffer in documentation.
3811         * term/x-win.el: Update documentation for x-last-selected-text-*.
3812         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
3813         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
3814         (x-select-text): Remove argument PUSH, update documentation.
3815         Remove cut-buffer code.
3816         (x-selection-value-internal): Was previously x-selection-value.
3817         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
3818         Update documentation, remove cut-buffer code.
3819         Call x-selection-value-internal.
3820         (x-clipboard-yank): Call x-selection-value-internal.
3821         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
3823         * term/pc-win.el (x-last-selected-text):
3824         x-cut-buffer-or-selection-value renamed to x-selection-value
3825         (x-select-text): Remove argument PUSH, update documentation.
3827         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
3828         x-cut-buffer-or-selection-value renamed to x-selection-value
3829         (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
3830         (x-select-text): Remove argument PUSH, update documentation.
3832         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
3834         * w32-fns.el (x-last-selected-text):
3835         x-cut-buffer-or-selection-value renamed to x-selection-value.
3836         (x-cut-buffer-max): Remove.
3837         (x-select-text): Remove argument PUSH, update documentation.
3839         * simple.el (interprogram-cut-function): Remove mention of PUSH.
3841         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
3843         * mouse-sel.el (mouse-sel-get-selection-function):
3844         x-cut-buffer-or-selection-value renamed to x-selection-value.
3845         (x-select-text): Remove optional push.
3847 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
3849         * simple.el (blink-paren-function): Move from C to here.
3850         (blink-paren-post-self-insert-function): New function.
3851         (post-self-insert-hook): Use it.
3853         * emacs-lisp/pcase.el (pcase-split-memq):
3854         Fix overenthusiastic optimisation.
3855         (pcase-u1): Handle the case of a lambda pred.
3857 2010-08-31  Kenichi Handa  <handa@m17n.org>
3859         * international/mule-cmds.el (standard-display-european-internal):
3860         Setup standard-display-table for 8-bit characters by storing 8-bit
3861         characters in the element vector.
3863         * disp-table.el (standard-display-8bit):
3864         Setup standard-display-table for 8-bit characters by storing 8-bit
3865         characters in the element vector.
3866         (standard-display-european): Likewise.
3868 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
3870         * textmodes/nroff-mode.el (nroff-view): New command.
3871         (nroff-mode-map): Bind it to C-c C-c.
3873 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
3875         * emacs-lisp/smie.el (smie-down-list): New command.
3877         Remove old indentation and navigation code on octave-mode.
3878         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
3879         smie-down-list rather than add a binding for octave-down-block.
3880         (octave-mark-block, octave-blink-matching-block-open):
3881         Rely on forward-sexp-function.
3882         (octave-fill-paragraph): Don't narrow, so you can use
3883         indent-according-to-mode.
3884         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
3885         (octave-in-block-p, octave-re-search-forward-kw)
3886         (octave-re-search-backward-kw, octave-indent-calculate)
3887         (octave-end-as-array-index-p, octave-block-end-offset)
3888         (octave-scan-blocks, octave-forward-block, octave-backward-block)
3889         (octave-down-block, octave-backward-up-block, octave-up-block)
3890         (octave-before-magic-comment-p, octave-indent-line): Remove.
3892 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
3894         * emacs-lisp/package.el (package--read-archive-file): Just use
3895         `read', to avoid copying an additional string.
3896         (package-menu-mode): Set header-line-format here.
3897         (package-menu-refresh, package-menu-revert): Signal an error if
3898         not in the Package Menu.
3899         (package-menu-package-list): New var.
3900         (package--generate-package-list): Operate on the current buffer;
3901         don't assume that it is *Packages*, since the user may rename it.
3902         Allow persistent package listings and sort keys using
3903         package-menu-package-list and package-menu-package-sort-key.
3904         (package-menu--version-predicate): Fix version calculation.
3905         (package-menu-sort-by-column): Don't select the window.
3906         (package--list-packages): Create the *Packages* buffer.
3907         Set package-menu-package-list-key.
3908         (list-packages): Sorting by status is now the default.
3909         (package-buffer-info): Use match-string-no-properties.
3910         (define-package): Add a &rest argument for future proofing, but
3911         don't use it yet.
3912         (package-install-from-buffer, package-install-buffer-internal):
3913         Merge into a single function, package-install-from-buffer.
3914         (package-install-file): Change caller.
3916         * finder.el: Load finder-inf using `require'.
3917         (finder-list-matches): Sorting by status is now the default.
3918         (finder-compile-keywords): Simpify printing.
3920 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3922         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
3923         (octave-mode-map): Remove special bindings for forward/backward-block
3924         and octave-backward-up-block.  Use smie-close-block.
3925         (octave-continuation-marker-regexp): New var.
3926         (octave-continuation-regexp): Use it.
3927         (octave-operator-table, octave-smie-op-levels)
3928         (octave-operator-regexp, octave-smie-indent-rules): New vars.
3929         (octave-smie-backward-token, octave-smie-forward-token): New funs.
3930         (octave-mode): Use SMIE.
3931         (octave-close-block): Delete.
3933 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
3935         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
3936         CLIPBOARD, not in PRIMARY.  (Bug#6944)
3938 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3940         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
3941         a list of parents.
3942         (smie-indent-column): Allow indirection through variables.
3944         * composite.el (save-buffer-state): Delete, unused.
3945         * font-lock.el (save-buffer-state): Use with-silent-modifications.
3946         (font-lock-default-fontify-region): Use with-syntax-table.
3947         * jit-lock.el (with-buffer-unmodified): Remove.
3948         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
3950         Use `declare' in defmacros.
3951         * window.el (save-selected-window):
3952         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
3953         * progmodes/python.el (def-python-skeleton):
3954         * net/dbus.el (dbus-ignore-errors):
3955         * jka-cmpr-hook.el (with-auto-compression-mode):
3956         * international/mule.el (with-category-table):
3957         * emacs-lisp/timer.el (with-timeout):
3958         * emacs-lisp/lisp-mnt.el (lm-with-file):
3959         * emacs-lisp/eieio.el (with-slots):
3960         * emacs-lisp/easymenu.el (easy-menu-define):
3961         * emacs-lisp/debug.el (debugger-env-macro):
3962         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
3963         (Multiple-value-call, Multiple-value-prog1):
3964         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
3965         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
3966         edebug rule to definition.
3967         * emacs-lisp/lisp-mode.el (save-selected-window)
3968         (with-current-buffer, combine-after-change-calls)
3969         (with-output-to-string, with-temp-file, with-temp-buffer)
3970         (with-temp-message, with-syntax-table, read-if, eval-after-load)
3971         (dolist, dotimes, when, unless):
3972         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
3974 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
3976         * finder.el: Require `package'.
3977         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
3978         (finder-package-info): Var deleted.
3979         (finder-keywords-hash, finder--builtins-alist): New vars.
3980         (finder-compile-keywords): Compute package--builtins and
3981         finder-keywords-hash instead of finder-keywords-hash, respecting
3982         the "Package" header.
3983         (finder-unknown-keywords, finder-list-matches):
3984         Use finder-keywords-hash and package--list-packages.
3985         (finder-mode): Don't set font-lock-defaults.
3986         (finder-exit): We don't use "*Finder-package*" and "*Finder
3987         Category*" buffers anymore.
3989         * emacs-lisp/package.el (package--builtins-base): Var deleted.
3990         (package--builtins): Set default value to nil.
3991         (package-initialize): Load precomputed value of package--builtins
3992         from finder-inf.el.
3993         (package-alist, package-compute-transaction)
3994         (package-download-transaction): Improve docstring.
3995         (package-read-all-archive-contents): Do not change
3996         package--builtins here.
3997         (list-packages): Make package-list-packages an alias for this.
3998         Sort by status by default.
3999         (package--list-packages): Add optional PACKAGES arg.
4000         (describe-package-1): Use font-lock-face property.  For built-in
4001         packages, insert file commentary.
4002         (package--generate-package-list): Rename from
4003         package-list-packages-internal; all callers changed.  Add optional
4004         PACKAGES arg.  Add alphabetical sort fallbacks.
4005         (package-menu--version-predicate, package-menu--status-predicate)
4006         (package-menu--description-predicate)
4007         (package-menu--name-predicate): New functions.
4009         * info.el (Info-finder-find-node): Search package-alist instead of
4010         finder-package-info.
4012 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
4014         * subr.el (version-regexp-alist): Don't use "a" and "b" for
4015         "alpha" and "beta".
4016         (version-to-list): Handle versions like "10.3d".
4018 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4020         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
4021         (macroexp-accumulate): Use `declare'.
4023 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4025         * whitespace.el (whitespace-style): Adjust type declaration.
4027 2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>
4029         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
4030         empty argument to gvfs-copy.
4032 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
4034         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
4035         handle new TRASH arg of `delete-file'.
4037 2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
4039         * net/tramp.el (tramp-handle-insert-directory): Don't use
4040         `forward-word', its default syntax could be changed.
4042 2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
4043             Michael Albinus  <michael.albinus@gmx.de>
4045         Implement compression for inline methods.
4047         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
4048         (tramp-copy-size-limit): Allow also nil.
4049         (tramp-inline-compress-commands): New defconst.
4050         (tramp-find-inline-compress, tramp-get-inline-compress)
4051         (tramp-get-inline-coding): New defuns.
4052         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
4053         replaced by `tramp-get-inline-coding'.
4054         (tramp-handle-file-local-copy, tramp-handle-write-region)
4055         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
4057 2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)
4059         Detect ssh 'ControlMaster' argument automatically in some cases.
4061         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
4062         (tramp-default-method): Use it.
4064 2010-08-26  Karel Klíč  <kklic@redhat.com>
4066         * net/tramp.el (tramp-file-name-for-operation):
4067         Add file-selinux-context.
4069 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
4071         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
4073 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
4075         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
4076         (Bug#6907).
4078 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
4080         * progmodes/js.el: Make indentation more customizable (Bug#6914).
4081         (js-paren-indent-offset, js-square-indent-offset)
4082         (js-curly-indent-offset): New options.
4083         (js--proper-indentation): Use them.
4085 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
4087         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
4088         instead of inspecting font-lock properties (Bug#6916).
4090 2010-08-26  David Reitter  <david.reitter@gmail.com>
4092         * server.el (server-visit-files): Run pre-command-hook and
4093         post-command-hook for each buffer while it is current (Bug#6910).
4094         (server-execute): Do not run hooks here.
4096 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
4098         Sync with Tramp 2.1.19.
4100         * net/tramp-cmds.el (tramp-cleanup-all-connections)
4101         (tramp-reporter-dump-variable, tramp-load-report-modules)
4102         (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
4103         (tramp-bug): Recommend setting of `tramp-verbose' to 9.
4105         * net/tramp-compat.el (top): Do not autoload
4106         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
4107         only when `start-file-process' is not bound.
4108         (byte-compile-not-obsolete-vars): Define if not bound.
4109         (tramp-compat-funcall): New defmacro.
4110         (tramp-compat-line-beginning-position)
4111         (tramp-compat-line-end-position)
4112         (tramp-compat-temporary-file-directory)
4113         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
4114         (tramp-compat-copy-file, tramp-compat-copy-directory)
4115         (tramp-compat-delete-file, tramp-compat-delete-directory)
4116         (tramp-compat-number-sequence, tramp-compat-process-running-p):
4117         Use it.
4118         (tramp-advice-file-expand-wildcards): Do not use
4119         `tramp-handle-file-remote-p'.
4120         (tramp-compat-make-temp-file): Simplify fallback implementation.
4121         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4122         (tramp-compat-copy-tree): Remove function.
4123         (tramp-compat-delete-file): New defun.
4124         (tramp-compat-delete-directory): Provide implementation for older
4125         Emacsen.
4126         (tramp-compat-file-attributes): Handle only
4127         `wrong-number-of-arguments' error.
4129         * net/tramp-fish.el (tramp-fish-handle-copy-file):
4130         Add PRESERVE_SELINUX_CONTEXT.
4131         (tramp-fish-handle-delete-file): Add TRASH arg.
4132         (tramp-fish-handle-directory-files-and-attributes):
4133         Do not use `tramp-fish-handle-file-attributes.
4134         (tramp-fish-handle-file-local-copy)
4135         (tramp-fish-handle-insert-file-contents)
4136         (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
4138         * net/tramp-gvfs.el (top): Require url-util.
4139         (tramp-gvfs-mount-point): Remove.
4140         (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
4141         and `set-file-selinux-context'.
4142         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
4143         (tramp-gvfs-handle-file-selinux-context)
4144         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
4145         (with-tramp-dbus-call-method): Format trace message.
4146         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
4147         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
4148         Implement backup call, when operation on local files fails.
4149         Use progress reporter.  Flush properties of changed files.
4150         (tramp-gvfs-handle-delete-file): Add TRASH arg.
4151         Use `tramp-compat-delete-file'.
4152         (tramp-gvfs-handle-expand-file-name): Expand "~/".
4153         (tramp-gvfs-handle-make-directory): Make more traces.
4154         (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
4155         (tramp-gvfs-url-file-name): Hexify file name in url.
4156         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
4157         into account for the resulting file name.
4158         (tramp-gvfs-handler-askquestion): Preserve current message, in
4159         order to let progress reporter continue afterwards.  (Bug#6257)
4160         Return dummy mountpoint, when the answer is "no".
4161         See `tramp-gvfs-maybe-open-connection'.
4162         (tramp-gvfs-handler-mounted-unmounted)
4163         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
4164         attribute "default_location".  Set "prefix" property.
4165         Handle default-location.
4166         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
4167         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
4168         exists.  Raise an error, if not (due to a corresponding answer
4169         "no" in interactive questions, for example).
4170         Use `tramp-compat-funcall'.
4172         * net/tramp-imap.el (top): Autoload `epg-make-context'.
4173         (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4174         (tramp-imap-do-copy-or-rename-file)
4175         (tramp-imap-handle-insert-file-contents)
4176         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
4177         (tramp-imap-handle-delete-file): Add TRASH arg.
4179         * net/tramp-smb.el (tramp-smb-handle-copy-file):
4180         Add PRESERVE-SELINUX-CONTEXT.
4181         (tramp-smb-handle-copy-file)
4182         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4183         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
4184         Use `with-progress-reporter'.
4185         (tramp-smb-handle-delete-file): Add TRASH arg.
4187         * net/tramp.el (tramp-methods): Move hostname to the end in all
4188         ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
4189         appropriate.
4190         (tramp-verbose): Describe verbose level 9.
4191         (tramp-completion-function-alist)
4192         (tramp-file-name-regexp, tramp-chunksize)
4193         (tramp-local-coding-commands, tramp-remote-coding-commands)
4194         (with-connection-property, tramp-completion-mode-p)
4195         (tramp-action-process-alive, tramp-action-out-of-band)
4196         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
4197         (tramp-exists-file-name-handler): Fix docstring.
4198         (tramp-remote-process-environment): Use `format' instead of
4199         `concat'.  Protect version string by apostroph.
4200         (tramp-shell-prompt-pattern): Do not use a shy group in case of
4201         XEmacs.
4202         (tramp-file-name-regexp-unified)
4203         (tramp-completion-file-name-regexp-unified): On W32 systems, do
4204         not regard the volume letter as remote filename.  (Bug#5447)
4205         (tramp-perl-file-attributes)
4206         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
4207         (tramp-vc-registered-read-file-names): Read input as
4208         here-document, otherwise the command could exceed maximum length
4209         of command line.
4210         (tramp-file-name-handler-alist): Add `file-selinux-context' and
4211         `set-file-selinux-context'.
4212         (tramp-debug-message): Add `tramp-compat-funcall' to ignored
4213         backtrace functions.
4214         (tramp-error-with-buffer): Don't show the connection buffer when
4215         we are in completion mode.
4216         (tramp-progress-reporter-update, tramp-remote-selinux-p)
4217         (tramp-handle-file-selinux-context)
4218         (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
4219         (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
4220         New defuns.
4221         (with-progress-reporter): New defmacro.
4222         (tramp-debug-outline-regexp): New defconst.
4223         (top, tramp-rfn-eshadow-setup-minibuffer)
4224         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
4225         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
4226         (tramp-completion-mode-p, tramp-check-for-regexp)
4227         (tramp-open-connection-setup-interactive-shell)
4228         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
4229         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
4230         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
4231         Use `tramp-compat-funcall'.
4232         (tramp-handle-make-symbolic-link): Flush file properties.
4233         (tramp-handle-load, tramp-handle-file-local-copy)
4234         (tramp-handle-insert-file-contents, tramp-handle-write-region)
4235         (tramp-handle-vc-registered, tramp-maybe-send-script)
4236         (tramp-find-shell): Use `with-progress-reporter'.
4237         (tramp-do-file-attributes-with-stat): Add space in format string,
4238         in order to work around a bug in pdksh.  Reported by Gilles Pion
4239         <gpion@lfdj.com>.
4240         (tramp-handle-verify-visited-file-modtime): Do not send a command
4241         when the connection is not established.
4242         (tramp-handle-set-file-times): Simplify the check for utc.
4243         (tramp-handle-directory-files-and-attributes)
4244         (tramp-get-remote-path): Use `copy-tree'.
4245         (tramp-completion-handle-file-name-all-completions): Ensure, that
4246         non remote files are still checked.  Oops.
4247         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
4248         Handle PRESERVE-SELINUX-CONTEXT.
4249         (tramp-do-copy-or-rename-file): Add progress reporter.
4250         (tramp-do-copy-or-rename-file-directly): Do not use
4251         `tramp-handle-file-remote-p'.
4252         (tramp-do-copy-or-rename-file-out-of-band):
4253         Use `tramp-compat-delete-directory'.
4254         (tramp-do-copy-or-rename-file-out-of-band)
4255         (tramp-compute-multi-hops, tramp-maybe-open-connection):
4256         Use `format-spec-make'.
4257         (tramp-handle-delete-file): Add TRASH arg.
4258         (tramp-handle-dired-uncache): Flush directory cache, not only file
4259         cache.
4260         (tramp-handle-expand-file-name)
4261         (tramp-completion-handle-file-name-all-completions)
4262         (tramp-completion-handle-file-name-completion):
4263         Use `tramp-connectable-p'.
4264         (tramp-handle-start-file-process): Set connection property "vec".
4265         Use it, in order to invalidate file caches.  Check only for
4266         `remote-tty' process property.
4267         Implement tty setting.  (Bug#4604, Bug#6360)
4268         (tramp-file-name-for-operation): Add `call-process-region' and
4269         `set-file-selinux-context'.
4270         (tramp-find-foreign-file-name-handler)
4271         (tramp-advice-make-auto-save-file-name)
4272         (tramp-set-auto-save-file-modes): Remove superfluous check for
4273         `stringp'.  This is done inside `tramp-tramp-file-p'.
4274         (tramp-file-name-handler): Trace 'quit.  Catch the error for some
4275         operations when we are in completion mode.  This gives the user
4276         the chance to correct the file name in the minibuffer.
4277         (tramp-completion-mode-p): Use `non-essential'.
4278         (tramp-handle-file-name-all-completions): Backward/ XEmacs
4279         compatibility: Use `completion-ignore-case' if
4280         `read-file-name-completion-ignore-case' does not exist.
4281         (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
4282         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4283         `tramp-open-shell'.
4284         (tramp-action-password): Hide password prompt before next run.
4285         (tramp-process-actions): Widen connection buffer for the trace.
4286         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
4287         process property.  Trace stty settings if `tramp-verbose' >= 9.
4288         Apply workaround for IRIX64 bug.  Move argument of last
4289         `tramp-send-command' where it belongs to.
4290         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
4291         front of `login-args'.
4292         (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
4293         on "/dev/null" instead of "/".
4294         (tramp-get-ls-command-with-dired): Make test for "--dired"
4295         stronger.
4296         (tramp-set-auto-save-file-modes): Adapt version check.
4297         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
4298         (tramp-handle-process-file): Call the program in a subshell, in
4299         order to preserve working directory.
4300         (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
4301         `tramp-remote-sh' from `tramp-methods'.
4302         (tramp-get-ls-command): Make test for "--color=never" stronger.
4303         (tramp-check-for-regexp): Use (forward-line 1).
4305         * net/trampver.el: Update release number.
4307 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
4309         * help.el (help-map): Bind `C-h P' to describe-package.
4311         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
4313         * emacs-lisp/package.el (package-refresh-contents): Catch errors
4314         when downloading archives.
4315         (describe-package-1): Add package commentary.
4316         (package-install-button-action): New function.
4317         (package-menu-mode-map): Bind ? to package-menu-describe-package.
4318         (package-menu-view-commentary): Function removed.
4319         (package-list-packages-internal): Hide the `package' package too.
4321 2010-08-25  Kenichi Handa  <handa@m17n.org>
4323         * language/misc-lang.el ("Arabic"): New language environment.
4324         Setup composition-function-table for Arabic characters.
4326         * international/fontset.el (setup-default-fontset): Fix typo for
4327         arabic OTF spec (fini->fina).
4329 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
4331         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
4332         on all frames.
4334 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4336         * whitespace.el: Allow cleaning up blanks without blank
4337         visualization (Bug#6651).  Adjust help window for
4338         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
4339         instead of whitespace-line-column (from EmacsWiki).  New version
4340         13.1.
4341         (whitespace-style): Added new value 'face.  Adjust docstring.
4342         (whitespace-space, whitespace-hspace, whitespace-tab):
4343         Adjust foreground property face.
4344         (whitespace-line-column): Adjust docstring and type declaration.
4345         (whitespace-style-value-list, whitespace-toggle-option-alist)
4346         (whitespace-help-text): Adjust const initialization.
4347         (whitespace-toggle-options, global-whitespace-toggle-options):
4348         Adjust docstring.
4349         (whitespace-display-window, whitespace-interactive-char)
4350         (whitespace-style-face-p, whitespace-color-on): Adjust code.
4351         (whitespace-help-scroll): New fun.
4353 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
4355         * emacs-lisp/package.el (list-packages): Alias for
4356         package-list-packages.
4358 2010-08-24  Kevin Ryde  <user42@zip.com.au>
4360         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
4361         (Bug#5651).
4363         * progmodes/ruby-mode.el (ruby): Add defgroup.
4365 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
4367         * progmodes/python.el: Add Ipython support (Bug#5390).
4368         (python-shell-prompt-alist)
4369         (python-shell-continuation-prompt-alist): New options.
4370         (python--set-prompt-regexp): New function.
4371         (inferior-python-mode, run-python, python-shell):
4372         Require ansi-color.  Use python--set-prompt-regexp to set the comint
4373         prompt based on the Python interpreter.
4374         (python--prompt-regexp): New var.
4375         (python-check-comint-prompt)
4376         (python-comint-output-filter-function): Use it.
4377         (run-python): Use a pipe (Bug#5694).
4379 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
4381         * progmodes/python.el (python-send-region): Send a different
4382         Python command if Ipython is in use.
4383         (python-check-version): Use a Python command to find the version.
4385 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
4387         * mouse.el (mouse-yank-primary): Avoid setting primary when
4388         deactivating the mark (Bug#6872).
4390 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
4392         * progmodes/python.el (python-block-pairs): Allow use of "finally"
4393         with "else" (Bug#3991).
4395 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
4397         * net/dbus.el: Accept UNIX domain sockets as bus address.
4398         (top): Don't initialize `dbus-registered-objects-table' anymore,
4399         this is done in dbusbind,c.
4400         (dbus-check-event): Adapt test for bus.
4401         (dbus-return-values-table, dbus-unregister-service)
4402         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
4403         Adapt doc string.
4405 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
4407         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
4409 2010-08-22  Juri Linkov  <juri@jurta.org>
4411         * simple.el (read-extended-command): New function with the logic
4412         for `completing-read' moved to Elisp from `execute-extended-command'.
4413         Use `function-called-at-point' in `minibuffer-default-add-function'
4414         to get a command name for M-n (bug#5364, bug#5214).
4416 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
4418         * startup.el (command-line-1): Issue warning for ignored arguments
4419         --unibyte, etc (Bug#6886).
4421 2010-08-22  Leo  <sdl.web@gmail.com>
4423         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
4424         (ignore, bright, dim, keyword): Split list of nicknames before
4425         passing to rcirc-add-or-remove (Bug#6894).
4427 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
4429         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
4431 2010-08-22  Leo  <sdl.web@gmail.com>
4433         Fix buffer-list rename&refresh after killing a buffer in ido.
4434         * ido.el: Revert Óscar's.
4435         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
4436         Remember the buffers at head, rather than their name.
4437         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
4439 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
4440             Stefan Monnier  <monnier@iro.umontreal.ca>
4442         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
4443         extra backslash added to each line (bug#6890).
4445 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4447         * subr.el (read-key): Don't echo keystrokes (bug#6883).
4449 2010-08-22  Glenn Morris  <rgm@gnu.org>
4451         * menu-bar.el (menu-bar-games-menu): Add landmark.
4453 2010-08-22  Glenn Morris  <rgm@gnu.org>
4455         * align.el (align-regexp): Make group and spacing arguments
4456         use the interactive defaults when non-interactive.  (Bug#6698)
4458         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
4459         expansion, so as not to need sendmail.
4460         (mail-text-start): Remove declaration.
4461         (rmail-retry-failure): Require sendmail.
4463 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
4465         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
4467 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
4469         * progmodes/flymake.el (flymake-start-syntax-check-process):
4470         Use `start-file-process' in order to let it run also on remote hosts.
4472 2010-08-22  Kenichi Handa  <handa@m17n.org>
4474         * files.el: Add `word-wrap' as safe local variable.
4476 2010-08-22  Glenn Morris  <rgm@gnu.org>
4478         * woman.el (woman-translate): Case matters.  (Bug#6849)
4480 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
4482         * simple.el (kill-region): Doc fix (Bug#6787).
4484 2010-08-22  Glenn Morris  <rgm@gnu.org>
4486         * calendar/diary-lib.el (diary-header-line-format):
4487         Fit it to the window, not the frame.
4489 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
4491         * subr.el (ignore-errors): Add debug declaration.
4493 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
4495         * whitespace.el (whitespace-color-off): Remove post-command-hook
4496         locally.
4498 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4500         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
4502 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
4504         * cus-edit.el (custom-group-value-create): Add extra newline
4505         before end line (Bug#6876).
4507 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
4509         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
4510         when extending it.  Before killing on the second click, check if
4511         the buffer is the correct one.  Doc fix.
4512         (mouse-secondary-save-then-kill): Allow usage without first
4513         calling mouse-start-secondary, by defaulting to point.  Don't save
4514         an empty secondary selection.  Doc fix.
4516 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4518         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
4519         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
4520         New version 13.0.
4521         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
4522         Adjust initialization.
4523         (whitespace-bob-marker, whitespace-eob-marker)
4524         (whitespace-buffer-changed): New vars.
4525         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
4526         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
4527         (whitespace-post-command-hook, whitespace-display-char-on):
4528         Adjust code.
4529         (whitespace-looking-back, whitespace-buffer-changed): New funs.
4530         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
4532 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4534         * files.el (locate-file-completion-table): Only list the .el and .elc
4535         extensions if there's no other choice (bug#5955).
4537         * facemenu.el (facemenu-self-insert-data): New var.
4538         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
4539         New functions.
4540         (facemenu-add-face): Use them.
4542         * simple.el (blink-matching-open): Obey forward-sexp-function.
4544 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4546         * simple.el (prog-mode-map): New var.
4547         (prog-indent-sexp): New command.
4549         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
4551         * progmodes/prolog.el (smie): Require.
4553         * emacs-lisp/smie.el (smie-default-backward-token)
4554         (smie-default-forward-token): Strip properties.
4555         (smie-next-sexp): Be more careful with associative operators.
4556         (smie-forward-sexp-command): Generalize.
4557         (smie-backward-sexp-command): Simplify.
4558         (smie-closer-alist): New var.
4559         (smie-close-block): New command.
4560         (smie-indent-debug-log): New var.
4561         (smie-indent-offset-rule): Add a few more cases.
4562         (smie-indent-column): New function.
4563         (smie-indent-after-keyword): Use it.
4564         (smie-indent-keyword): Use it.
4565         Fix up the opener code's point position.
4566         (smie-indent-comment): Only applies at BOL.
4567         (smie-indent-debug): New command.
4569         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
4570         declarations that are useful before running the macro.
4572 2010-08-18  Joakim Verona  <joakim@verona.se>
4574         * image.el (imagemagick-types-inhibit): New variable.
4575         (imagemagick-register-types): New function.
4576         * image-mode.el (image-transform-properties): New function.
4577         (image-transform-set-scale, image-transform-fit-to-height)
4578         (image-transform-set-rotation, image-transform-set-resize)
4579         (image-transform-fit-to-width, image-transform-fit-to-height):
4580         New functions.
4581         (image-toggle-display-image): Support image transforms.
4583 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
4585         * image.el (create-animated-image): Don't add heuristic mask to image
4586         (Bug#6839).
4588 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
4590         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
4591         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
4593 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4595         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
4597         Font-lock '...' strings, plus various simplifications and fixes.
4598         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4599         (octave-font-lock-close-quotes): New function.
4600         (octave-font-lock-syntactic-keywords): New var.
4601         (octave-mode): Use it.  Set beginning-of-defun-function.
4602         (octave-mode-map): Don't override the <foo>-defun commands.
4603         (octave-mode-menu): Pass it directly to easy-menu-define;
4604         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
4605         (octave-block-match-alist): Fix up last change so that
4606         octave-close-block uses the more specific keyword.
4607         (info-lookup-mode): Silence byte-compiler.
4608         (octave-beginning-of-defun): Not interactive any more.
4609         Optimize slightly.
4610         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
4611         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
4612         (octave-completion-at-point-function): Make sure point is within
4613         beg..end.
4614         (octave-reindent-then-newline-and-indent):
4615         Use reindent-then-newline-and-indent.
4616         (octave-add-octave-menu): Remove.
4618 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
4620         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
4621         (report-emacs-bug-can-use-xdg-email): New functions.
4622         (report-emacs-bug): Set can-xdg-email to result of
4623         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
4624         \C-cm to report-emacs-bug-insert-to-mailer and add help text
4625         about it.
4627         * net/browse-url.el (browse-url-default-browser): Add cond
4628         for browse-url-xdg-open.
4629         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
4631 2010-08-17  Glenn Morris  <rgm@gnu.org>
4633         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
4634         (c-fontify-recorded-types-and-refs): Define for compiler.
4635         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
4636         before use.
4638         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
4639         Fix format call.
4641 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
4643         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
4644         properties.
4645         (tramp-handle-process-file): Call the program in a subshell, in
4646         order to preserve working directory.
4647         (tramp-action-password): Hide password prompt before next run.
4648         (tramp-process-actions): Widen connection buffer for the trace.
4650 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
4652         * net/rcirc.el (rcirc-log-process-buffers): New option.
4653         (rcirc-print): Use it.
4654         (rcirc-generate-log-filename): New function.
4655         (rcirc-log-filename-function): Change default to
4656         rcirc-generate-log-filename (Bug#6828).
4658 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
4660         * simple.el (deactivate-mark): If select-active-regions is `only',
4661         only set selection for temporarily active regions.
4663         * cus-start.el: Change defcustom for select-active-regions.
4665 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
4667         * mouse.el (mouse--drag-set-mark-and-point): New function.
4668         (mouse-drag-track): Use LOCATION arg to push-mark.
4669         Use mouse--drag-set-mark-and-point to take click-count into
4670         consideration when updating point and mark (Bug#6840).
4672 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
4674         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4675         Give the Ruby rule a lower priority than Gnu (Bug#6778).
4677 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
4679         * font-lock.el (lisp-font-lock-keywords-2):
4680         Add combine-after-change-calls, condition-case-no-debug,
4681         with-demoted-errors, and with-silent-modifications (Bug#6025).
4683 2010-08-14  Kevin Ryde  <user42@zip.com.au>
4685         * emacs-lisp/copyright.el (copyright-update-year)
4686         (copyright-update): Temporary switch-to-buffer to ensure the
4687         buffer change being queried is visible (Bug#5394).
4689 2010-08-14  Tom Tromey  <tromey@redhat.com>
4691         * progmodes/etags.el (tags-file-name): Mark safe if stringp
4692         (Bug#6733).
4694 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
4696         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
4697         MS-DOS.  (Bug#6689)
4699 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
4701         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
4702         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
4703         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
4704         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
4705         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
4706         Call menu-bar-set-tool-bar-position.
4708 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4710         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
4711         comment style (bug#6834).
4712         * progmodes/scheme.el (scheme-mode-syntax-table):
4713         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
4714         "b" flag in "' 14b" syntax.
4716         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
4717         for (un)commenting the region and performing completion.
4718         (octave-mode-menu): Use standard commands for help and completion.
4719         (octave-mode-syntax-table): Support %{..%} comments (sort of).
4720         (octave-mode): Use define-derived-mode.
4721         Set completion-at-point-functions and don't set columns.
4722         Don't disable adaptive-fill-regexp.
4723         (octave-describe-major-mode, octave-comment-region)
4724         (octave-uncomment-region, octave-comment-indent)
4725         (octave-indent-for-comment): Remove.
4726         (octave-indent-calculate): Rename from calculate-octave-indent.
4727         (octave-indent-line, octave-fill-paragraph): Update caller.
4728         (octave-initialize-completions): No need to make an alist.
4729         (octave-completion-at-point-function): New function.
4730         (octave-complete-symbol): Use it.
4731         (octave-insert-defun): Use define-skeleton.
4733         * progmodes/octave-mod.el (octave-mode): Set comment-add.
4734         (octave-mode-map): Use comment-dwim (bug#6829).
4736 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
4738         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
4739         indentation of inserted comment.
4741 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
4743         * faces.el (region): Add type gtk that uses gtk colors.
4745         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
4746         Handle theme-name change.
4748 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
4750         * progmodes/sql.el: Version 2.5
4751         (sql-product-alist): Add :prompt-cont-regexp property for several
4752         database products.
4753         (sql-prompt-cont-regexp): New variable.
4754         (sql-output-newline-count, sql-output-by-send):
4755         New variables.  Record number of newlines in input text.
4756         (sql-send-string): Handle multiple filters and count newlines.
4757         (sql-send-magic-terminator): Count terminator newline.
4758         (sql-interactive-remove-continuation-prompt): Filters output to
4759         remove continuation prompts; one for each newline.
4760         (sql-interactive-mode): Set up new variables, prompt regexp and
4761         output filter.
4762         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
4763         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
4765 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
4767         * emacs-lisp/pcase.el: New file.
4769 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
4771         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
4772         as here-document, otherwise the command could exceed maximum
4773         length of command line.
4774         (tramp-handle-vc-registered): Call script accordingly.
4775         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
4777 2010-08-10  Kenichi Handa  <handa@m17n.org>
4779         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
4780         composable pattern.
4782 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
4784         * emacs-lisp/package.el (package-version-split)
4785         (package--version-first-nonzero, package-version-compare):
4786         Functions removed.
4787         (package-directory-list, package-load-all-descriptors)
4788         (package--built-in, package-activate, define-package)
4789         (package-installed-p, package-compute-transaction)
4790         (package-read-all-archive-contents)
4791         (package--add-to-archive-contents, package-buffer-info)
4792         (package-tar-file-info, package-list-packages-internal):
4793         Use version-to-list and version-list-*.
4795         * emacs-lisp/package-x.el (package-upload-buffer-internal):
4796         Use version-to-list.
4797         (package-upload-buffer-internal): Use version-list-<=.
4799 2010-08-09  Kenichi Handa  <handa@m17n.org>
4801         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
4802         composable pattern.
4804 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
4806         * tutorial.el (tutorial--default-keys): C-d is now bound to
4807         delete-forward-char (Bug#6826).
4809         * mouse.el (mouse-drag-track): Remove accidentally-removed check
4810         for `double' value of mouse-1-click-follows-link (Bug#6807).
4812 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
4814         * replace.el (replace-highlight): Bind isearch-forward and
4815         isearch-error, ensuring that highlighting is updated if the user
4816         switches the search direction (Bug#6808).
4818         * isearch.el (isearch-lazy-highlight-forward): New var.
4819         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
4820         (isearch-lazy-highlight-update): Use it.
4822 2010-08-08  Kenichi Handa  <handa@m17n.org>
4824         * international/mule.el (define-charset): Store NAME as :base property.
4825         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
4826         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
4827         current priority.  Force using the designation of the specific
4828         charset by adding `charset' text property.  Improve the whole algorithm.
4830 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
4832         * emulation/pc-select.el (pc-selection-mode-hook)
4833         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
4834         (pc-selection-mode): Fix typos in docstrings.
4836 2010-08-08  Kenichi Handa  <handa@m17n.org>
4838         * language/cyrillic.el: Don't add "microsoft-cp1251" to
4839         ctext-non-standard-encodings-alist here.
4841         * international/mule.el (ctext-non-standard-encodings-alist):
4842         Add "koi8-r" and "microsoft-cp1251".
4843         (ctext-standard-encodings): New variable.
4844         (ctext-non-standard-encodings-table): List only elements for
4845         non-standard encodings.
4846         (ctext-pre-write-conversion): Adjust for the above change.
4847         Check ctext-standard-encodings.
4849         * international/mule-conf.el (compound-text): Doc fix.
4850         (ctext-no-compositions): Doc fix.
4851         (compound-text-with-extensions): Doc fix.
4853 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4855         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
4857 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
4859         * progmodes/which-func.el (which-func-format): Split help-echo text
4860         into lines, like other mode-line tooltips.
4862         * server.el (server-start): When using TCP sockets, force IPv4
4863         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
4865 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4867         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
4869 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
4871         * term.el (term-delimiter-argument-list): Reflow docstring.
4872         (term-read-input-ring, term-write-input-ring, term-send-input)
4873         (term-bol, term-erase-in-display, serial-supported-or-barf):
4874         Fix typos in docstrings.
4876 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4878         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
4880 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
4882         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
4884 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
4886         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
4887         Fix typo in docstring (bug#6747).
4889 2010-08-08  Leo  <sdl.web@gmail.com>
4891         * eshell/esh-io.el (eshell-get-target): Better detection of
4892         read-only file (Bug#6762).
4894 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
4896         * align.el (align-default-spacing): Doc fix.
4897         (align-region-heuristic, align-regexp): Fix typos in docstrings.
4899 2010-08-08  Stephen Peters  <speters@itasoftware.com>
4901         * calendar/icalendar.el
4902         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
4903         (icalendar--get-weekday-numbers): New.
4904         (icalendar--convert-recurring-to-diary): Handle multiple byday
4905         values in weekly rules.  (Bug#6766)
4907 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
4909         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
4910         (icalendar--create-uid, icalendar-export-region)
4911         (icalendar--parse-summary-and-rest): Code formatting.
4913 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
4915         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
4916         to italicize headers.
4917         (calc-highlight-selections-with-faces): New variable.
4918         (calc-selected-face, calc-nonselected-face): New faces.
4920         * calc/calccomp.el (math-comp-highlight-string): Use
4921         `calc-highlight-selections-with-faces' to determine how to highlight
4922         sub-formulas.
4924         * calc/calc-sel.el (calc-show-selections): Change message to when
4925         using faces to highlight selections.
4927 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
4929         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
4930         Add SQLite 3 keywords, functions and datatypes.
4931         (sql-interactive-mode): Remove `comint-process-echoes' set to t
4932         (Bug#6686).
4934 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
4936         * simple.el (select-active-regions): Move to keyboard.c.
4937         (deactivate-mark): Used saved-region-selection.
4938         (select-active-region): Function removed.
4939         (activate-mark, set-mark, push-mark-command)
4940         (handle-shift-selection): Don't call it.
4941         (keyboard-quit): Avoid adding the region to the window selection.
4943         * mouse.el (mouse-drag-track): Remove hacks to deal with old
4944         select-active-regions implementation.
4945         (mouse-yank-at-click): Doc fix.
4947         * cus-start.el: Add custom declaration for select-active-regions.
4949 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
4951         * simple.el (delete-forward-char): Doc fix.
4953         * tutorial.el (help-with-tutorial): Hack safe file-local variables
4954         after reading the tutorial.
4956 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
4958         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
4959         Fix for the case that a C style comment has its delimiters alone on
4960         their respective lines.
4962 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
4964         * net/tramp.el (tramp-handle-start-file-process): Set connection
4965         property "vec".
4966         (tramp-process-sentinel): Use it for flushing the cache.
4967         We cannot do it via the process buffer, the buffer could be deleted
4968         already when running the sentinel.
4970 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
4972         * comint.el (comint-mode): Make directory tracking functions
4973         functional on remote files.  (Bug#6764)
4975 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
4977         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
4979 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
4981         * emacs-lisp/find-gc.el (find-gc-source-files):
4982         Rename unexec.c => unexcoff.c.
4984         * emacs-lisp/authors.el (authors-fixed-entries):
4985         Rename unexec.c => unexcoff.c.
4987 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
4989         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
4990         cache, not only file cache.
4991         (tramp-process-sentinel): New defun.
4992         (tramp-handle-start-file-process): Use it, in order to invalidate
4993         file caches.
4995 2010-08-03  Leo  <sdl.web@gmail.com>
4997         * server.el (server-start): Simplify loop.
4999 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5001         * frame.el (screen-height, screen-width, set-screen-width)
5002         (set-screen-height): Remove ancient compatibility aliases.
5004         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
5005         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
5007         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
5008         that change current buffer.
5010 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
5012         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
5013         beginning of the string.  Use `string-match-p'.  (Bug#6765)
5015 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
5017         * cus-start.el (x-gtk-use-system-tooltips): New variable.
5019 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
5021         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
5022         (package--builtins): Tweak descriptions.
5023         (package-print-package): Upcase descriptions if necessary.
5024         Show all built-in packages in font-lock-builtin-face.
5025         (package-list-packages-internal): Omit "emacs" package.
5026         Show status of built-in packages as "built-in".
5028 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
5030         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
5031         before killing to preserve the primary selection (Bug#6701).
5033         * term/x-win.el (x-select-text): Doc fix.
5035 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
5037         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
5038         (objc-font-lock-extra-types):
5039         * progmodes/cc-mode.el (c-basic-common-init):
5040         * progmodes/cc-langs.el (c-make-mode-syntax-table)
5041         (c++-make-template-syntax-table)
5042         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
5043         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
5044         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
5045         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
5046         * progmodes/cc-fonts.el (c-make-inverse-face)
5047         (c-basic-matchers-after):
5048         * progmodes/cc-engine.el (c-forward-keyword-clause)
5049         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
5050         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
5051         (c-guess-continued-construct, c-guess-basic-syntax):
5052         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
5053         The above functions were modified or created.
5055 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
5057         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
5059 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
5061         * files.el (bidi-paragraph-direction): Define safe local values.
5063         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
5064         language-info-alist.  Remove outdated FIXME in a comment.
5066 2010-07-31  Alan Mackenzie  <acm@muc.de>
5068         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
5069         Auto-fill broken in C/C++ modes.
5071 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
5073         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5074         (menu-bar-showhide-tool-bar-menu-customize-disable)
5075         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5076         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
5077         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
5078         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
5079         make a menu for Options => toolbar that can move it.
5081 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
5083         * emacs-lisp/package-x.el (package--make-rss-entry):
5084         (package-maint-add-news-item, package--update-news)
5085         (package-upload-buffer-internal): New arg ARCHIVE-URL.
5087         * emacs-lisp/package.el (package-archive-url): Rename from
5088         package-archive-id.
5089         (package-install): Doc fix.
5090         (package-download-single, package-download-tar, package-install)
5091         (package-menu-view-commentary): Callers changed.
5093 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
5095         * net/tramp.el (tramp-handle-start-file-process): Check only for
5096         `remote-tty' process property.
5097         (tramp-open-shell): Don't check for tty.
5098         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5099         process property.
5101         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
5102         host.
5104 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
5106         * emacs-lisp/package.el (package-load-list, package-archives)
5107         (package-archive-contents, package-user-dir)
5108         (package-directory-list, package--builtins, package-alist)
5109         (package-activated-list, package-obsolete-alist): Mark as risky.
5111 2010-07-28  Phil Hagelberg  <phil@evri.com>
5113         Add support for non-default package repositories.
5114         * emacs-lisp/package.el (package-archive-base): Var deleted.
5115         (package-archives): New variable.
5116         (package-archive-contents): Doc fix.
5117         (package-load-descriptor): Do nothing if descriptor file is missing.
5118         (package--write-file-no-coding): New function.
5119         (package-unpack-single): Use it.
5120         (package-archive-id): New function.
5121         (package-download-single, package-download-tar)
5122         (package-menu-view-commentary): Use it.
5123         (package-installed-p): Make second argument optional.
5124         (package-read-all-archive-contents): New function.
5125         (package-initialize): Use it.
5126         (package-read-archive-contents): Add ARCHIVE argument.
5127         (package--add-to-archive-contents): New function.
5128         (package-install): Don't call package-read-archive-contents.
5129         (package--download-one-archive): Store archive file in a
5130         subdirectory of package-user-dir.
5131         (package-menu-execute): Remove spurious line movement.
5133 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
5135         * cus-start.el (tool-bar-style): Add text-image-horiz.
5137 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
5139         * progmodes/gud.el (gud-common-init): Check for remoteness of
5140         `file', and not of `default-directory'.
5142 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
5144         * net/tramp.el (tramp-methods): Move hostname to the end in all
5145         ssh `tramp-login-args'.
5146         (tramp-verbose): Describe verbose level 9.
5147         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
5148         (tramp-open-connection-setup-interactive-shell): Trace stty
5149         settings if `tramp-verbose' >= 9.
5150         (tramp-handle-start-file-process): Implement tty setting.
5151         (Bug#4604, Bug#6360)
5153         * net/tramp-cmds.el (tramp-bug): Recommend setting of
5154         `tramp-verbose' to 9.
5156 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
5158         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
5159         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
5160         Remove references to package `lisp-re' (bug#4369).
5162 2010-07-27  Tom Tromey  <tromey@redhat.com>
5164         * progmodes/js.el (js-mode):
5165         * progmodes/make-mode.el (makefile-mode):
5166         * progmodes/simula.el (simula-mode):
5167         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
5169 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
5171         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
5173         * time.el (display-time-day-and-date): Remove spurious * in docstring.
5174         (display-time-world-buffer-name, display-time-world-mode-map):
5175         Fix typos in docstrings.
5177 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
5179         * image-mode.el (image-display-size): New function.
5180         (image-forward-hscroll, image-next-line, image-eol, image-eob)
5181         (image-mode-fit-frame): Use it (Bug#6639).
5183 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
5185         * dired.el (dired-buffers-for-dir): Handle list values of
5186         dired-directory (Bug#6636).
5188 2010-07-26  Sam Steingold  <sds@gnu.org>
5190         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
5191         Do not call `x-get-selection' the second time, reuse the value.
5193 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
5195         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
5196         which consist of control chars only.  Suggested by Richard Stallman.
5198 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
5200         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
5201         exists before passing an error to find-file-not-found-functions
5202         (bug#6723).
5204 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
5206         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
5207         Remove leading nil element, adjust values.
5208         (tetris-shapes, tetris-shape-scores):
5209         Change representation of shapes and remove some redundancy.
5210         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
5211         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
5212         Adjust for working with new representation of shapes.
5213         (tetris-shape-rotations): New function.
5214         (tetris-move-bottom, tetris-move-left, tetris-move-right)
5215         (tetris-rotate-prev, tetris-rotate-next):
5216         Adjust for working with the new version of tetris-test-shape.
5218 2010-07-23  Markus Triska  <markus.triska@gmx.at>
5220         * progmodes/ps-mode.el: Use comint (bug#5954).
5221         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
5222         (ps-mode-other-newline): Simplify.
5223         (ps-run-mode): Derive from comint-mode instead of
5224         fundamental-mode, yielding input history etc.
5225         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
5226         (ps-run-send-string): Adapt for comint-mode.
5227         (ps-run-newline): Remove now unneeded function.
5229 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
5231         * net/tramp.el (tramp-methods): Move hostname to the end in all
5232         plink `tramp-login-args'.
5234 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
5236         * net/tramp.el (tramp-open-shell): New defun.
5237         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5238         Use it.
5240 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
5242         * net/tramp.el (tramp-file-name-regexp-unified)
5243         (tramp-completion-file-name-regexp-unified): On W32 systems, do
5244         not regard the volume letter as remote filename.  (Bug#5447)
5246 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
5248         * custom.el (custom-declare-variable): Give a clearer error message
5249         when the docstring is missing (bug#6476).
5251 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
5253         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
5254         (sql-login-params): New widget definition.
5255         (sql-oracle-login-params, sql-mysql-login-params)
5256         (sql-solid-login-params, sql-sybase-login-params)
5257         (sql-informix-login-params, sql-ingres-login-params)
5258         (sql-ms-login-params, sql-postgres-login-params)
5259         (sql-interbase-login-params, sql-db2-login-params)
5260         (sql-linter-login-params): Use it.
5261         (sql-sqlite-login-params): Use it; Define "database" parameter as
5262         a file name.
5263         (sql-sqlite-program): Change to "sqlite3".
5264         (sql-comint-sqlite): Make sure database name is complete.
5265         (sql-for-each-login): New function.
5266         (sql-connect, sql-save-connection): Use it.
5267         (sql-get-login-ext): New function.
5268         (sql-get-login): Use it.
5269         (sql-make-alternate-buffer-name): Handle :file parameters.
5271 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
5273         * dired.el (dired-no-confirm): Document value t and fix defcustom to
5274         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
5276 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
5278         * dired.el (dired-mode-map): Use command remapping (bug#6632).
5280 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
5282         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
5284 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
5286         * net/tramp.el (tramp-get-ls-command)
5287         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
5288         instead of "/".
5290 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
5292         * progmodes/sql.el: Version 2.3.
5293         (sql-connection-alist): Changed keys from symbols to strings;
5294         enhanced the widget definition.
5295         (sql-mode-menu): Added submenu to select connections.
5296         (sql-interactive-mode-menu): Added "Save Connection" item.
5297         (sql-add-product): Fixed menu item.
5298         (sql-get-product-feature): Improved error handling.
5299         (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
5300         (sql-make-alternate-buffer-name): Simplified.
5301         (sql-product-interactive): Handle missing product.
5302         (sql-connect): Support string keys, minor improvements.
5303         (sql-save-connection): New function.
5304         (sql-connection-menu-filter): New function.
5306 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
5308         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
5309         (tramp-open-connection-setup-interactive-shell):
5310         Apply workaround for IRIX64 bug.  Move argument of last
5311         `tramp-send-command' where it belongs to.
5313 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
5315         * net/tramp.el (tramp-perl-file-attributes)
5316         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5317         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5318         front of `login-args'.
5320 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
5322         * time.el (display-time-world-mode): Define with `define-derived-mode'.
5323         Set `show-trailing-whitespace' to nil.
5324         (display-time-world-display): Simplify.
5326 2010-07-18  Alan Mackenzie  <acm@muc.de>
5328         Enhance `c-file-style' in file/directory local variables.
5329         * progmodes/cc-mode.el (c-count-cfss): New function.
5330         (c-before-hack-hook): Call `c-set-style' differently according to
5331         whether c-file-style was set in file or directory local
5332         variables.
5334 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
5336         * progmodes/sql.el: Version 2.2.
5337         (sql-product, sql-user, sql-database, sql-server, sql-port):
5338         Use defcustom :safe keyword rather than putting safe-local-variable
5339         property.
5340         (sql-password): Use defcustom :risky keyword rather than putting
5341         risky-local-variable property.
5342         (sql-oracle-login-params, sql-sqlite-login-params)
5343         (sql-solid-login-params, sql-sybase-login-params)
5344         (sql-informix-login-params, sql-ingres-login-params)
5345         (sql-ms-login-params, sql-postgres-login-params)
5346         (sql-interbase-login-params, sql-db2-login-params)
5347         (sql-linter-login-params): Add `port' option.
5348         (sql-get-product-feature): Added NO-INDIRECT parameter.
5349         (sql-comint-oracle, sql-comint-sybase)
5350         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
5351         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
5352         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
5353         (sql-comint-linter): Renamed sql-connect-* functions to
5354         sql-comint-*.
5355         (sql-product-alist, sql-mode-menu): Renamed as above and
5356         :sqli-connect-func to :sqli-comint-func.
5357         (sql-connection): New variable.
5358         (sql-interactive-mode): Set it.
5359         (sql-connection-alist): New variable.
5360         (sql-connect): New function.
5361         (sql--alt-buffer-part, sql--alt-if-not-empty)
5362         (sql-make-alternate-buffer-name): Improved alternative buffer name.
5364 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5366         * image-mode.el (image-bookmark-make-record): Do not set context
5367         in an image (Bug#6650).
5369 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
5371         * simple.el (select-active-region): New function.
5372         (push-mark-command, set-mark, activate-mark)
5373         (handle-shift-selection): Use it.
5374         (deactivate-mark): Don't check for size of region.
5376         * mouse.el (mouse-drag-track): Use select-active-region.
5378 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
5380         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
5381         "--dired" stronger.
5383 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
5385         * term/x-win.el (x-select-enable-primary): Change default to nil.
5386         (x-select-enable-clipboard): Add :version keyword.
5388         * mouse.el (mouse-drag-copy-region):
5389         * simple.el (select-active-regions): Likewise.
5391 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
5393         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
5394         (vc-coding-system-for-diff): Use it to decide whether to inherit
5395         from the file the EOL format for reading the diffs of that file.
5396         (Bug#4451)
5398 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
5400         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
5401         unibyte, so compressed attachments are not compressed again.
5403 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
5405         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
5406         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
5407         (tramp-find-shell): Simplify setting connection property.
5408         (tramp-get-ls-command): Make test for "--color=never" stronger.
5410 2010-07-15  Simon South  <ssouth@member.fsf.org>
5412         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
5413         blocks within record declarations (i.e. variant parts) correctly.
5415 2010-07-15  Simon South  <ssouth@member.fsf.org>
5417         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
5418         over literal tokens when parsing so newlines aren't "absorbed" by
5419         single-line comments.  Corrects the indentation of case blocks
5420         that have a comment on the first line.
5422 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
5424         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
5425         by Drew Adams (Bug#5504).
5427 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
5429         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
5430         now that Unicode is used (Bug#6594).
5432 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
5434         * term/x-win.el (x-select-enable-clipboard): Default to t.
5435         (x-initialize-window-system): Don't overwrite Paste menu item.
5437         * simple.el (select-active-regions): Default to t.
5438         (push-mark-command): Don't overwrite primary with empty string.
5440         * mouse.el: Bind mouse-2 to mouse-yank-primary.
5441         (mouse-drag-copy-region): Default to nil.
5443         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
5444         Cut/Copy/Paste menu bar items.
5446 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5448         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
5449         Patch applied by Karl Fogel.
5451         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
5452         and `bookmark-current-buffer' if they have been already set in
5453         another buffer (e.g gnus-art).
5455 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
5456             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5458         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
5460         * bookmark.el (bookmark-make-record-default): Allow unneeded
5461         information to be omitted from the record.
5463         Adjust declarations and calls:
5465         * info.el (bookmark-make-record-default): Adjust declaration.
5466         (Info-bookmark-make-record): Adjust call.
5468         * woman.el (bookmark-make-record-default): Adjust declaration.
5469         (woman-bookmark-make-record): Adjust call.
5471         * man.el (bookmark-make-record-default): Adjust declaration.
5472         (Man-bookmark-make-record): Adjust call.
5474         * image-mode.el (bookmark-make-record-default): Adjust declaration.
5476         * doc-view.el (bookmark-make-record-default): Adjust declaration.
5478 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
5480         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
5481         This is also from Thierry Volpiatto's patch in bug #6444.  However,
5482         because it was extraneous to the functional change in that patch,
5483         and causes a re-indendation, I am committing it separately.
5485 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5487         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
5488         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
5489         Patch applied by Karl Fogel (Bug#6444).
5491 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
5493         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
5495 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
5497         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
5498         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
5499         (ns-alternatives-map): Change S-tab binding to backtab
5500         (bug#6616).
5502         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
5503         under ns.
5505 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
5507         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
5508         (Bug#5806)
5510         * language/tv-util.el (tai-viet-re): Remove format.
5512 2010-07-12  Kenichi Handa  <handa@m17n.org>
5514         * language/hebrew.el: Remove no-byte-compile declaration.
5515         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
5516         composition-function-table for 3-character looking back.
5517         (hebrew-font-get-precomposed): New function.
5518         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
5520 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
5522         * mouse.el (mouse-drag-track): Handle select-active-regions
5523         (Bug#6612).
5525 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
5527         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5528         empty argument to gvfs-copy.
5530 2010-07-10  Glenn Morris  <rgm@gnu.org>
5532         * calendar/calendar.el (calendar-week-end-day): New function.
5533         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
5534         Respect calendar-week-start-day.  (Bug#6606)
5535         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
5536         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
5537         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
5538         respect calendar-week-start-day.
5540 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
5542         * simple.el (use-region-p): Doc fix (Bug#6607).
5544 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
5546         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5547         Add regexps for cucumber and ruby.
5549 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
5551         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
5552         (epa-file-insert-file-contents): Hack to prevent
5553         find-file from opening empty buffer when decryption failed
5554         (bug#6568).
5556 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
5558         * textmodes/ispell.el (ispell-alternate-dictionary):
5559         Use file-readable-p.
5560         Return nil if no word-list is found at default locations.
5561         (ispell-complete-word-dict): Default to nil.
5562         (ispell-command-loop): Use 'word-list' when using lookup-words.
5563         (lookup-words): Use ispell-complete-word-dict or
5564         ispell-alternate-dictionary.  Check for word-list availability
5565         and handle errors if needed with better messages (Bug#6539).
5566         (ispell-complete-word): Use ispell-complete-word-dict or
5567         ispell-alternate-dictionary.
5569 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
5571         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
5572         builtins (BufferError, BytesWarning, WindowsError; callables
5573         bin, bytearray, bytes, format, memoryview, next, print; __package__).
5575 2010-07-07  Glenn Morris  <rgm@gnu.org>
5577         * play/zone.el (top-level): Do not require timer, tabify, or cl.
5578         (zone-shift-left): Ignore intangibility, and any errors from
5579         forward-char.
5580         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
5581         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
5582         deleting, and copying text properties.
5583         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
5584         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
5585         to point-max is hard.
5586         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
5587         (zone-fill-out-screen): Ignore intangibility.
5589 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
5591         * menu-bar.el (menu-bar-mode):
5592         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
5593         if it has been set.
5595         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
5596         word/line selection (Bug#6565).
5598 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
5600         * net/dbus.el (dbus-send-signal): Declare function.
5602 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
5604         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
5605         (dbus-register-property): New optional argument EMITS-SIGNAL.
5606         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
5608 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
5610         * mouse.el (mouse-drag-overlay): Variable deleted.
5611         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
5612         (mouse--remap-link-click-p): New function.
5613         (mouse-drag-track): Handle dragging by using temporary Transient
5614         Mark mode, instead of a special overlay.
5615         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
5616         mouse-show-mark.
5618         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
5619         deleted.
5621 2010-07-02  Juri Linkov  <juri@jurta.org>
5623         * autoinsert.el (auto-insert-alist): Fix readability
5624         by using dotted pair notation for lambda.
5626 2010-07-02  Juri Linkov  <juri@jurta.org>
5628         * faces.el (read-face-name): Rename arg `string-describing-default'
5629         to `default'.  Doc fix.  Display the default value in quotes
5630         in the prompt.  With empty input, return the `default' arg,
5631         unless the default value is a string (in which case return nil).
5632         (describe-face): Replace the string `default' arg of `read-face-name'
5633         with the symbol `default'.
5635 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
5637         * emulation/viper-cmd.el (viper-delete-backward-char)
5638         (viper-del-backward-char-in-insert)
5639         (viper-del-backward-char-in-replace, viper-change)
5640         (viper-backward-indent): Replace delete-backward-char with
5641         delete-char (Bug#6552).
5643 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
5645         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
5647 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
5649         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
5650         argument passed to frame-creation-function (Bug#5378).
5652         * faces.el (x-handle-named-frame-geometry)
5653         (x-handle-reverse-video, x-create-frame-with-faces)
5654         (face-set-after-frame-default, tty-create-frame-with-faces):
5655         Don't separately consult default-frame-alist.  It is now passed as the
5656         PARAMETER argument.
5658 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
5660         * startup.el (command-line): Don't call tool-bar-setup in a
5661         tty-only build.
5663 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
5665         * ruler-mode.el (ruler--save-header-line-format): New fun.
5666         (ruler-mode): Use it as a setter function, so as not to overwrite
5667         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
5669 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
5671         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
5672         (vc-root-diff, vc-print-root-log, vc-log-incoming)
5673         (vc-log-outgoing): Use it.
5674         (vc-diff-internal): Set diff-vc-backend.
5676         * vc/diff-mode.el (diff-vc-backend): New var.
5678 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
5680         * dynamic-setting.el (font-setting-change-default-font):
5681         Remove call to message.
5683 2010-06-28  Kenichi Handa  <handa@m17n.org>
5685         * international/quail.el (quail-insert-kbd-layout): Fix the
5686         showing of untranslated characters.
5688 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
5690         * simple.el (delete-active-region): New option.
5691         (delete-backward-char): Implement in Lisp.
5692         (delete-forward-char): New command.
5694         * mouse.el (mouse-region-delete-keys): Deleted.
5695         (mouse-show-mark): Simplify.
5697         * bindings.el (global-map): Bind delete and DEL, the former to
5698         delete-forward-char.
5700 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
5702         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
5703         (ruby-mode): Bind indent-line-function (Bug#5119).
5705 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
5707         * startup.el (command-line): Recognize "0" X resource value.
5709 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
5711         * startup.el (command-line): Use X resources to set the value of
5712         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
5714         * menu-bar.el (menu-bar-mode):
5715         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
5716         Set init-value to t.
5718         * frame.el (frame-notice-user-settings): Don't change
5719         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
5720         vice versa (Bug#2249).
5722 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
5724         * w32-fns.el (w32-convert-standard-filename): Doc fix.
5726 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
5728         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
5729         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
5731         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
5732         default directories are expanded (Bug#6143).
5734 2010-06-24  Juri Linkov  <juri@jurta.org>
5736         * minibuffer.el (completions-format): Change default from nil to
5737         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
5739 2010-06-24  Juri Linkov  <juri@jurta.org>
5741         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
5742         buffer-locally to lambda that re-runs the vc diff command.
5743         (Bug#6447)
5745 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
5747         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
5748         echo area is in use (Bug#3412).
5750 2010-06-22  Glenn Morris  <rgm@gnu.org>
5752         * textmodes/texinfmt.el (texinfo-format-region)
5753         (texinfo-raise-lower-sections, texinfo-format-separate-node)
5754         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
5755         (texinfo-format-option, texinfo-noindent):
5756         Use line-beginning-position and line-end-position.
5758         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
5759         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
5760         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
5761         utf-8 characters.
5763 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
5765         * play/zone.el (zone-fall-through-ws): Fix next-line ->
5766         forward-line fallout.
5768 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
5770         * mouse.el (mouse-appearance-menu): Add docstring.
5772         * help.el (describe-key): Print up-event using key-description.
5774 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
5776         * net/zeroconf.el (zeroconf-resolve-service)
5777         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
5778         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
5780 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
5782         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
5784 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
5786         Avoid displaying files with a nil state in vc-dir.
5787         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
5788         cases that cause insertion.
5789         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
5790         with a nil state.
5792 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
5794         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
5796 2010-06-29  Leo  <sdl.web@gmail.com>
5798         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
5800 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
5802         * generic-x.el (bat-generic-mode): Fix regexp for command line
5803         switches (Bug#5719).
5805 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
5807         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
5808         of nconc to avoid pure storage error (Bug#6239).
5810 2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)
5812         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
5813         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
5814         bindings of bookmark-automatically-show-annotations (Bug#6515).
5816 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
5818         * arc-mode.el (archive-zip-extract): Don't quote the file name on
5819         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
5821 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
5823         * comint.el (make-comint, make-comint-in-buffer): Mention return
5824         value in the docstrings.  (Bug#6498)
5826 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
5828         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
5829         since it is not present when using some non-default switches.
5831 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
5833         * simple.el (compose-mail): Fix doc string to refer to
5834         `compose-mail-user-agent-warnings', instead of to the
5835         nonexistent `compose-mail-check-user-agent'.
5837 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
5839         Fix an indentation bug:
5841         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
5842         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
5843         of existing values.
5845         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
5846         (c-clear->-pair-props-if-match-before): now return t when they've
5847         cleared properties, nil otherwise.
5848         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
5849         by taking account of the existing value.
5851         * progmodes/cc-defs.el
5852         (c-clear-char-property-with-value-function): Fix this to clear the
5853         property rather than overwriting it with nil.
5855 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
5857         * emacs-lisp/package.el (package-print-package): Add link to
5858         package description via describe-package.
5859         (describe-package-1): List package requirements.  Add button to
5860         perform installation.
5861         (package-menu-describe-package): New command.
5863         * help-mode.el (help-package): New button type.
5865 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
5867         * emacs-lisp/package.el: Move package-list-packages binding to
5868         menu-bar.el.
5869         (describe-package, describe-package-1, package--dir): New funs.
5870         (package-activate-1): Use package--dir.
5872         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
5874         * help-mode.el (help-package-def): New button type.
5876         * menu-bar.el: Move package-list-packages binding here from
5877         package.el.
5879 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
5881         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
5883 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5885         * emacs-lisp/edebug.el (edebug-read-list):
5886         Phase out old-style backquotes.
5888 2010-06-17  Juri Linkov  <juri@jurta.org>
5890         * help-mode.el (help-mode): Set buffer-local variable
5891         revert-buffer-function to help-mode-revert-buffer.
5892         (help-mode-revert-buffer): New function.
5894         * info.el (Info-revert-find-node): Check for major-mode Info-mode
5895         before popping to "*info*" (like in other Info functions).
5896         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
5897         old-history-forward.  Pop to old-buffer-name or "*info*" to
5898         recreate the killed buffer.  Set Info-history-forward from
5899         old-history-forward.
5900         (Info-breadcrumbs-depth): Add :group and :version.
5902 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
5904         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
5906 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
5908         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
5909         for languages like Portuguese with pt_{BR,PT} and no plain pt.
5911 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
5913         * emacs-lisp/package.el (package-menu-mode-map):
5914         Move initialization into declaration.
5916         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
5918 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
5920         * emacs-lisp/package.el (package-archive-base): Point to
5921         elpa.gnu.org.
5922         (package-enable, package-load-list): New defcustoms.
5923         (package-user-dir, package-directory-list): Turn into defcustoms.
5924         Don't include package-user-dir in package-directory-list.
5925         (package--builtins-base): Don't include Emacs as a "package".
5926         (package-subdirectory-regexp): New var.
5927         (package-load-all-descriptors, package-compute-transaction)
5928         (package-download-transaction): Obey package-load-list.
5929         (package-activate-1): Rename from package-do-activate.
5930         (package-list-packages-internal): Check package-load-list.
5931         (package-load-descriptor, package-generate-autoloads)
5932         (package-unpack, package-unpack-single)
5933         (package--read-archive-file, package-delete):
5934         Use expand-file-name.
5936         * emacs-lisp/package-x.el: New file.  Package uploading
5937         functionality split out from package.el.
5939         * startup.el (command-line): Load packages after reading init file.
5941 2010-06-17  Tom Tromey  <tromey@redhat.com>
5943         * emacs-lisp/package.el: New file.
5945 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
5947         Fix vc-annotate for renamed files when using Git.
5948         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
5949         ls-files.  Doe not pass the object as a file name to cat-file, it
5950         is not a file name.
5951         (vc-git-annotate-command): Pass the file name using -- to avoid
5952         ambiguity with the revision.
5953         (vc-git-previous-revision): Pass a relative file name.
5955 2010-06-22  Glenn Morris  <rgm@gnu.org>
5957         * progmodes/js.el (js-mode-map): Use standard capitalization and
5958         ellipses for menu entries.
5960         * wid-edit.el (widget-complete): Doc fix.
5962 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
5964         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
5966 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
5968         Fix annotating other revisions for renamed files in vc-annotate.
5969         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
5970         VC backend.  Use it when non-nil.
5971         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
5972         (Bug#6487)
5974         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
5975         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5976         Do not pass the file name to the 'previous-revision call when we
5977         don't want a file diff.  (Bug#6489)
5979 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
5981         Fix finding revisions for renamed files in vc-annotate.
5982         * vc/vc.el (vc-find-revision): Add an optional argument for
5983         the VC backend.  Use it when non-nil.
5984         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
5985         backend to vc-find-revision.  (Bug#6487)
5987 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
5989         Fix reading file names in Git annotate buffers.
5990         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
5991         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
5993 2010-06-20  Alan Mackenzie  <acm@muc.de>
5995         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
5996         in file local variables, set it first.
5998 2010-06-19  Glenn Morris  <rgm@gnu.org>
6000         * descr-text.el (describe-char-unicode-data): Insert separating
6001         space when needed.  (Bug#6422)
6003         * progmodes/idlwave.el (idlwave-action-and-binding):
6004         Fix typo in 2009-12-03 change.  (Bug#6450)
6006 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6008         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
6009         handling for `lambda' (misunderstanding).
6011 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
6013         * calc/calc-poly.el (math-accum-factors): Make sure that
6014         constants aren't distributed after they are factored out.
6016 2010-06-16  Juri Linkov  <juri@jurta.org>
6018         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
6019         `list-colors-print'.  (Bug#6332)
6021         * subr.el (read-quoted-char): Fix up last change (bug#6290).
6023 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6025         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
6026         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
6028         * font-lock.el (font-lock-major-mode): Rename from
6029         font-lock-mode-major-mode to distinguish it from
6030         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
6031         (font-lock-set-defaults):
6032         * font-core.el (font-lock-default-function): Adjust users.
6033         (font-lock-mode): Don't set it at all.
6035 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6037         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
6039 2010-06-16  Glenn Morris  <rgm@gnu.org>
6041         * calendar/appt.el (appt-time-msg-list): Doc fix.
6042         (appt-check): Let-bind appt-warn-time.
6043         (appt-add): Make the 3rd argument optional.
6044         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
6045         Only add WARNTIME to the output list if non-nil.
6047 2010-06-16  Ivan Kanis  <apple@kanis.eu>
6049         * calendar/appt.el (appt-check): Let the 3rd element of
6050         appt-time-msg-list specify the warning time.
6051         (appt-add): Add new argument with the warning time.  (Bug#5176)
6053 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
6055         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
6056         older than version 1.6.  (Bug#6361)
6058 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
6060         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
6061         used by cl-do-arglist.  (Bug#6408)
6063 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
6065         * textmodes/ispell.el (ispell-dictionary-base-alist):
6066         Fix portuguese casechars/not-casechars for missing 'çÇ'.
6067         Suggested by Rolando Pereira (bug#6434).
6069 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
6071         * facemenu.el (list-colors-sort): Doc fix.
6073 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
6075         * progmodes/sql.el (sql-connect-mysql): Fix typo.
6077 2010-06-14  Juri Linkov  <juri@jurta.org>
6079         Add sort option `list-colors-sort'.  (Bug#6332)
6080         * facemenu.el (color-rgb-to-hsv): New function.
6081         (list-colors-sort): New defcustom.
6082         (list-colors-sort-key): New function.
6083         (list-colors-display): Doc fix.  Sort list according to the option
6084         `list-colors-sort'.
6085         (list-colors-print): Add HSV values to `help-echo' property of
6086         RGB strings.
6088 2010-06-14  Juri Linkov  <juri@jurta.org>
6090         * compare-w.el: Move to the "vc" subdirectory.
6092 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6094         * image-mode.el (image-mode-map): Remap left-char and right-char.
6096         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
6098 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
6100         * term/common-win.el (x-colors): Add all the color names defined
6101         in rgb.txt (Bug#6332).
6103         * facemenu.el (list-colors-print): Don't print extra names if it
6104         will overflow the window width.
6106         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
6107         change (Bug#6343).
6109 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
6111         * files.el (make-directory): Doc fix (bug#6396).
6113 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
6115         * net/tramp.el (tramp-remote-process-environment): Protect version
6116         string by apostroph.
6117         (tramp-shell-prompt-pattern): Do not use a shy group in case of
6118         XEmacs.
6119         (tramp-file-name-for-operation): Add `call-process-region'.
6120         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6122         * net/tramp-compat.el (top): Do not autoload
6123         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
6124         only when `start-file-process' is not bound.
6125         (tramp-advice-file-expand-wildcards): Do not use
6126         `tramp-handle-file-remote-p'.
6127         (tramp-compat-make-temp-file): Handle the case, that
6128         `make-temp-file' has no third argument EXTENSION.
6130 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
6132         * makefile.w32-in (WINS_BASIC): Include new directory vc.
6134         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
6136 2010-06-11  Juri Linkov  <juri@jurta.org>
6138         * finder.el (finder-known-keywords): Add keyword "vc"
6139         for version control.
6141         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
6142         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
6143         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
6144         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
6146 2010-06-11  Juri Linkov  <juri@jurta.org>
6148         Move version control related files to the "vc" subdirectory.
6149         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
6150         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
6151         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
6152         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
6153         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
6154         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
6155         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
6156         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
6157         Move files to the "vc" subdirectory.
6159 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
6161         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
6162         (Bug#6367).
6164 2010-06-11  Stephen Eglen  <stephen@gnu.org>
6166         * shell.el: Bind `shell-resync-dirs' to M-RET.
6168 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
6170         * notifications.el: Move file from lisp/net, because it is
6171         supposed to talk locally to the user.
6173 2010-06-10  Julien Danjou  <julien@danjou.info>
6175         * net/notifications.el (notifications-on-action-signal)
6176         (notifications-on-closed-signal): Pass notification id as first
6177         argument to the callback functions.  Add docstrings.
6178         (notifications-notify): Fix docstring.
6180 2010-06-10  Glenn Morris  <rgm@gnu.org>
6182         * emacs-lisp/authors.el (authors-ignored-files)
6183         (authors-valid-file-names): Add some files.
6185 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6187         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
6188         merge conflict, giving preference to the emacs-23 version of the code.
6190 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6192         * emacs-lisp/advice.el (ad-compile-function):
6193         Define warning-suppress-types before we let-bind it (bug#6275).
6195         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
6196         declare it, make it buffer-local and permanent-local (bug#6324).
6197         (vc-resynch-window): Adjust name.
6198         * vc-hooks.el (vc-find-file-hook): Adjust name.
6200 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
6202         * net/notifications.el (notifications-notify): Fix docstring.
6204 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
6206         Update to Unicode 6.0.0 beta.
6207         * international/charprop.el: Update copyright.
6208         * international/mule-cmds.el (ucs-names): Update character ranges.
6209         * international/uni-bidi.el:
6210         * international/uni-category.el:
6211         * international/uni-combining.el:
6212         * international/uni-comment.el:
6213         * international/uni-decimal.el:
6214         * international/uni-decomposition.el:
6215         * international/uni-digit.el:
6216         * international/uni-lowercase.el:
6217         * international/uni-mirrored.el:
6218         * international/uni-name.el:
6219         * international/uni-numeric.el:
6220         * international/uni-old-name.el:
6221         * international/uni-titlecase.el:
6222         * international/uni-uppercase.el: Regenerate.
6224 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
6226         * emacs-lisp/smie.el (comment-string-strip): Declare function.
6227         (smie-precs-precedence-table): Fix typo in docstring.
6229         * vc-mtn.el (log-edit-extract-headers): Declare function.
6231         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
6233         * net/notifications.el (dbus-register-signal): Declare function.
6234         (notifications-notify): Fix typos and reflow docstring.
6236 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
6238         Improve VC create/retrieve tag/branch.
6239         * vc.el (vc-create-tag): Do not read the directory name for VCs
6240         with repository revision granularity.  Adjust the tag/branch
6241         prompt.  Reset VC properties.
6242         (vc-retrieve-tag): Do not read the directory name for VCs
6243         with repository revision granularity.  Reset VC properties.
6245 2010-06-09  Julien Danjou  <julien@danjou.info>
6247         * net/notifications.el: New file.
6249 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
6251         Add optional support for resetting VC properties.
6252         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
6253         call vc-file-clearprops when true.
6254         (vc-resynch-buffer): Add new optional argument, pass it down.
6255         (vc-resynch-buffers-in-directory): Likewise.
6257         Improve support for special markup in the VC commit message.
6258         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
6259         * vc-hg.el (vc-hg-checkin): Add support for Date:.
6260         * vc-git.el (vc-git-checkin):
6261         * vc-bzr.el (vc-bzr-checkin): Likewise.
6263 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6265         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
6266         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
6268 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
6270         * iimage.el: Remove images as soon as the underlying text is modified.
6271         (iimage-modification-hook): New function.
6272         (iimage-mode-buffer): Use it.
6274 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6276         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
6277         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
6278         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
6279         (smie-indent-keyword): Add handling of open-paren keywords.
6280         (smie-indent-comment-continue): Don't assume comment-continue.
6282 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
6284         * window.el (pop-to-buffer): Remove the conditional that
6285         compares new-window and old-window, so it will reselect
6286         the selected window unconditionally.
6287         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
6289 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6291         * emacs-lisp/smie.el (smie-indent-offset-after)
6292         (smie-indent-forward-token, smie-indent-backward-token): New functions.
6293         (smie-indent-after-keyword): Use them.
6294         (smie-indent-fixindent): Only applies to the indentation of the BOL.
6295         (smie-indent-keyword): Tweak the black magic.
6296         (smie-indent-comment-continue): Strip comment-continue before use.
6297         (smie-indent-functions): Indent comments before keywords.
6299 2010-06-06  Juri Linkov  <juri@jurta.org>
6301         * isearch.el (isearch-lazy-highlight-search): Fix looping
6302         by checking for empty match.  This syncs this loop with the
6303         similar loop in `isearch-search'.  (Bug#6362)
6305 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
6307         * net/dbus.el (dbus-register-method): Declare function.
6308         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
6309         (dbus-introspect): Doc fix.
6310         (dbus-event-bus-name, dbus-introspect-get-interface)
6311         (dbus-introspect-get-argument): Reflow docstrings.
6313 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
6315         vc-log-incoming/vc-log-outgoing fixes for Git.
6316         * vc-git.el (vc-git-log-view-mode): Fix font lock for
6317         incoming/outgoing logs.
6318         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
6319         instead of vc-git-compute-remote.
6320         (vc-git-compute-remote): Remove.
6322 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
6324         * term/common-win.el (x-colors): Add "dark green" and "dark
6325         turquoise" (Bug#6332).
6327 2010-06-04  Juri Linkov  <juri@jurta.org>
6329         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
6330         Instead of setting `replace' to t and replacing the same string
6331         with itself, don't do certain actions when
6332         kill-do-not-save-duplicates is non-nil and string is equal to car
6333         of kill-ring: don't call menu-bar-update-yank-menu, don't push
6334         interprogram-paste strings to kill-ring, and don't push the input
6335         argument `string' to kill-ring.
6336         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
6338 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
6340         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
6342 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
6344         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
6345         (tramp-gvfs-handler-mounted-unmounted)
6346         (tramp-gvfs-connection-mounted-p): Handle default-location.
6348         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
6349         move files to trash.
6351 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
6353         * international/mule-cmds.el (nonascii-insert-offset)
6354         (nonascii-translation-table): Add obsolescence information.
6356         * international/mule.el (make-translation-table-from-vector): Doc fix.
6358 2010-06-03  Glenn Morris  <rgm@gnu.org>
6360         * desktop.el (desktop-clear-preserve-buffers):
6361         Add "*Warnings*" buffer.  (Bug#6336)
6363 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
6365         vc-log-incoming/vc-log-outgoing improvements for Git.
6366         * vc-git.el (vc-git-log-outgoing): Use the same format as the
6367         short log.
6368         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
6370         Add bindings for vc-log-incoming and vc-log-outgoing.
6371         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
6372         and vc-log-outgoing.
6373         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
6374         and vc-log-outgoing.
6376 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
6378         * net/rcirc.el (rcirc-sort-nicknames): Remove.
6379         (rcirc-handler-366): Always sort nicknames.
6381 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
6383         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
6385 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
6387         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
6389 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6391         * net/rcirc.el (rcirc-sort-nicknames): Change default.
6392         (rcirc-sort-nicknames-join): Avoid setq.
6394 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
6396         * net/rcirc.el (rcirc-sort-nicknames): New custom.
6397         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
6398         (rcirc-handler-366): Use them.
6400 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6402         Split smie-indent-calculate into more manageable chunks.
6403         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
6404         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
6405         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
6406         (smie-indent-exps): Extract from smie-indent-calculate.
6407         (smie-indent-functions): New var.
6408         (smie-indent-functions): Use them.
6410 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6412         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
6413         (smie-indent-calculate): Simplify and cleanup.
6415 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
6417         * net/tramp-gvfs.el (top): Require url-util.
6418         (tramp-gvfs-mount-point): Remove.
6419         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
6420         New defuns.
6421         (with-tramp-dbus-call-method): Format trace message.
6422         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6423         Implement backup call, when operation on local files fails.
6424         Use progress reporter.  Flush properties of changed files.
6425         (tramp-gvfs-handle-make-directory): Make more traces.
6426         (tramp-gvfs-url-file-name): Hexify file name in url.
6427         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6428         into account for the resulting file name.
6429         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
6430         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
6431         (tramp-gvfs-handler-mounted-unmounted)
6432         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6433         attribute "default_location".  Set "prefix" property.
6434         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6435         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6436         exists.  Raise an error, if not (due to a corresponding answer
6437         "no" in interactive questions, for example).
6439 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
6441         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
6443 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
6445         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
6446         right-*.  (Bug#6265)
6448 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
6450         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
6451         * vc-git.el (vc-git-compute-remote): New function.
6452         (vc-git-log-outgoing): Use it instead of hard coding a value.
6453         (vc-git-log-incoming): New function.
6455         Improve state updating for VC tag commands.
6456         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
6457         to update the state of all buffers in the directory.
6459         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
6461 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6463         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
6464         `file-directory-p' to the filename part rather than to the whole text.
6466 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6468         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
6470 2010-05-31  Drew Adams  <drew.adams@oracle.com>
6472         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
6474 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
6476         * subr.el (momentary-string-display): Just use read-event to read
6477         the exit event (Bug#6238).
6479 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
6481         * international/mule.el (define-coding-system): Doc fix (bug#6313).
6483 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
6485         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
6486         Suggested by Eli Zaretskii <eliz@gnu.org>.
6488 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6490         * minibuffer.el (completion-file-name-table): Don't return a boundary
6491         past the end of `string' (bug#6299).
6492         (completion--file-name-table): Delegate to completion-file-name-table
6493         for the `boundaries' case.
6495 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
6497         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
6498         movement commands.
6500         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
6501         `path-separator', but maintain compatibility with Emacs 20.2.
6503 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
6505         * server.el (server-process-filter): Receive parent-id argument
6506         from emacsclient.
6507         (server-create-window-system-frame): New arg.  Pass parent-id as
6508         frame parameter.
6510 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
6512         Bidi-sensitive word movement with arrow keys.
6513         * subr.el (right-arrow-command, left-arrow-command): Move to
6514         bindings.el.
6516         * bindings.el (right-char, left-char): Move from subr.el and
6517         rename from right-arrow-command and left-arrow-command.
6518         (right-word, left-word): New functions.
6519         (global-map) <right>: Bind to right-char.
6520         (global-map) <left>: Bind to left-char.
6521         (global-map) <C-right>: Bind to right-word.
6522         (global-map) <C-left>: Bind to left-word.
6524         * ls-lisp.el (ls-lisp-classify-file): New function.
6525         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
6526         (ls-lisp-classify): Call ls-lisp-classify-file.
6527         (insert-directory): Remove blanks from switches.
6529 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
6531         * ansi-color.el: Delete unused escape sequences (Bug#6085).
6532         (ansi-color-drop-regexp): New constant.
6533         (ansi-color-apply, ansi-color-filter-region)
6534         (ansi-color-apply-on-region): Delete unrecognized control sequences.
6535         (ansi-color-apply): Build string list before calling concat.
6537 2010-05-28  Juri Linkov  <juri@jurta.org>
6539         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6540         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
6541         (Bug#5270)
6543 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
6545         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
6546         to ignored backtrace functions.
6547         (with-progress-reporter): Expand docstring.
6548         (tramp-handle-delete-file): Implement TRASH argument.
6549         (tramp-get-remote-trash): New defun.
6551 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
6553         * net/tramp-compat.el (tramp-compat-delete-file):
6554         Use `symbol-value' for backward compatibility.
6556         * net/tramp.el (tramp-handle-make-symbolic-link)
6557         (tramp-handle-load)
6558         (tramp-do-copy-or-rename-file-via-buffer)
6559         (tramp-do-copy-or-rename-file-directly)
6560         (tramp-do-copy-or-rename-file-out-of-band)
6561         (tramp-handle-process-file, tramp-handle-call-process-region)
6562         (tramp-handle-shell-command, tramp-handle-file-local-copy)
6563         (tramp-handle-insert-file-contents, tramp-handle-write-region)
6564         (tramp-delete-temp-file-function): Use `delete-file' instead
6565         of `tramp-compat-delete-file'.
6567         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
6568         (tramp-fish-handle-make-symbolic-link)
6569         (tramp-fish-handle-process-file): Use `delete-file' instead
6570         of `tramp-compat-delete-file'.
6572         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
6573         Use `delete-file' instead of `tramp-compat-delete-file'.
6575         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
6576         (tramp-gvfs-handle-write-region): Use `delete-file' instead of
6577         `tramp-compat-delete-file'.
6579         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
6580         Use `delete-file' instead of `tramp-compat-delete-file'.
6582         * net/tramp-smb.el (tramp-smb-handle-copy-file)
6583         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6584         (tramp-smb-handle-write-region): Use `delete-file' instead of
6585         `tramp-compat-delete-file'.
6586         (tramp-smb-handle-delete-directory): Use 'trash as arg.
6588 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
6590         * dired.el (dired-delete-file): New arg TRASH.
6591         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
6592         (dired-do-flagged-delete, dired-do-delete): Use trash.
6594         * speedbar.el (speedbar-item-delete): Allow trashing.
6596         * files.el (delete-directory): New arg TRASH.
6598         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
6599         (ange-ftp-rename-remote-to-remote)
6600         (ange-ftp-rename-local-to-remote)
6601         (ange-ftp-rename-remote-to-local, ange-ftp-load)
6602         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
6603         `delete-file'.
6604         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
6605         allow trashing.
6607         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6608         handle new TRASH arg of `delete-file'.
6610         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
6611         (tramp-handle-make-symbolic-link, tramp-handle-load)
6612         (tramp-do-copy-or-rename-file-via-buffer)
6613         (tramp-do-copy-or-rename-file-directly)
6614         (tramp-do-copy-or-rename-file-out-of-band)
6615         (tramp-handle-process-file, tramp-handle-call-process-region)
6616         (tramp-handle-shell-command, tramp-handle-file-local-copy)
6617         (tramp-handle-insert-file-contents, tramp-handle-write-region)
6618         (tramp-delete-temp-file-function): Use null TRASH arg in
6619         tramp-compat-delete-file call.
6621         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
6622         (tramp-fish-handle-delete-file)
6623         (tramp-fish-handle-make-symbolic-link)
6624         (tramp-fish-handle-process-file): Use null TRASH arg in
6625         `tramp-compat-delete-file' call.
6627         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
6628         arg in `tramp-compat-delete-file' call.
6630         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
6631         (tramp-gvfs-handle-write-region): Use null TRASH arg in
6632         `tramp-compat-delete-file' call.
6634         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
6635         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
6636         `tramp-compat-delete-file' call.
6638         * net/tramp-smb.el (tramp-smb-handle-copy-file)
6639         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6640         (tramp-smb-handle-write-region): Use null TRASH arg in
6641         tramp-compat-delete-file call.
6642         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
6643         (tramp-smb-handle-delete-file): Rename arg.
6645         * diff.el (diff-sentinel):
6646         * epg.el (epg--make-temp-file, epg-decrypt-string)
6647         (epg-verify-string, epg-sign-string, epg-encrypt-string):
6648         * jka-compr.el (jka-compr-partial-uncompress)
6649         (jka-compr-call-process, jka-compr-write-region):
6650         * server.el (server-sentinel): Remove optional arg from
6651         delete-file, reverting 2010-05-03 change.
6653 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
6655         * progmodes/verilog-mode.el (verilog-type-font-keywords):
6656         Use font-lock-constant-face, not obsolete font-lock-reference-face.
6658 2010-05-27  Kenichi Handa  <handa@m17n.org>
6660         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
6661         element of GSTRING is nil.
6663 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
6665         * emacs-lisp/smie.el (smie-forward-token-function)
6666         (smie-backward-token-function): New vars.
6667         (smie-backward-sexp, smie-forward-sexp)
6668         (smie-indent-hanging-p, smie-indent-calculate): Use them.
6669         (smie-default-backward-token): Rename from smie-backward-token and
6670         skip comments.
6671         (smie-default-forward-token): Rename from smie-forward-token and
6672         skip comments.
6673         (smie-next-sexp): Handle nil results from next-token.
6674         (smie-indent-calculate): Add a new case for special `fixindent' comments.
6676 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
6678         * progmodes/verilog-mode.el (verilog-type-font-keywords):
6679         Use font-lock-constant-face, not obsolete font-lock-reference-face.
6681 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
6683         * htmlfontify.el (hfy-face-resolve-face): New function.
6684         (hfy-face-to-style): Use it (Bug#6279).
6686 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6688         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
6689         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
6691 2010-05-26  Glenn Morris  <rgm@gnu.org>
6693         * emulation/edt.el (edt-load-keys): Use locate-library.
6695 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
6697         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
6698         (log-edit-changelog-entries): Doc fix.
6699         (log-edit-changelog-insert-entries): Args changed.
6700         Rename relative filenames in ChangeLog entries.  Delete tabs.
6701         (log-edit-insert-changelog-entries): Reorganize return value of
6702         `log-edit-changelog-entries' to pass filenames to
6703         log-edit-changelog-insert-entries.
6705 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
6707         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
6708         `image-dired-dired-insert-marked-thumbs' to
6709         `image-dired-dired-toggle-marked-thumbs'.
6711         * image-dired.el: Require cl when compiling.
6712         (image-dired-dired-toggle-marked-thumbs): Rename from
6713         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
6714         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
6715         to 'no-dir.  Skip files whose names don't match
6716         `image-file-name-regexp'.  When file has a thumbnail overlay,
6717         delete it.  (Bug#5270)
6719 2010-05-25  Juri Linkov  <juri@jurta.org>
6721         * image-mode.el (image-mode): Add image-after-revert-hook to
6722         after-revert-hook.
6723         (image-after-revert-hook): New function.  (Bug#5669)
6725 2010-05-25  Juri Linkov  <juri@jurta.org>
6727         * image.el (image-animated-p): When delay between animated images
6728         is 0, set it to 10 (0.1 sec).  (Bug#6258)
6730 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
6732         * net/tramp.el (tramp-handle-insert-directory): Don't use
6733         `forward-word', its default syntax could be changed.
6735 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
6737         * net/tramp.el (tramp-progress-reporter-update): New defun.
6738         (with-progress-reporter): Use it.
6739         (tramp-process-actions):
6740         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
6741         Preserve current message, in order to let progress reporter continue
6742         afterwards.  (Bug#6257)
6744 2010-05-25  Glenn Morris  <rgm@gnu.org>
6746         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
6747         Add :version.
6749 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
6751         * net/rcirc.el (rcirc-default-user-name): Change to "user".
6752         (rcirc-default-full-name): Change to "unknown".
6753         (rcirc-user-name-history): Add variable.
6755 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
6756             Jonathan Rockway  <jon@jrock.us>
6758         * net/rcirc.el (rcirc-server-alist): Add :pass.
6759         (rcirc): When prompting for connection parameters, also prompt for
6760         username and password.
6761         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
6762         value to server when connecting.
6764 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6766         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
6767         (smie-merge-prec2s): Pass the tables as separate args.
6768         (smie-bnf-precedence-table): Adjust call accordingly.
6769         (smie-prec2-levels): Set levels at the end.
6771         Replace Lisp calls to delete-backward-char by delete-char.
6772         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
6773         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
6774         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
6775         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
6776         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
6777         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
6778         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
6779         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
6780         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
6781         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
6782         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
6783         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
6784         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
6785         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
6786         delete-backward-char by calls to delete-char.
6788 2010-05-25  Kenichi Handa  <handa@m17n.org>
6790         * language/hebrew.el (hebrew-shape-gstring): New function.
6791         Register it in composition-function-table for all Hebrew combining
6792         characters.
6794 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
6796         * epa.el (epa--select-keys): Don't explicitly delete the window since
6797         that can fail (e.g. sole window in frame).  Use dedication instead.
6799 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
6801         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
6803 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
6805         * image.el (image-refresh): Define as an alias for image-flush.
6807         * image-mode.el (image-toggle-display-image): Caller changed.
6809 2010-05-21  Juri Linkov  <juri@jurta.org>
6811         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
6812         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
6813         whitespace, call wildcard-to-regexp on substrings and concat them
6814         with "\\|".  (Bug#6114)
6816 2010-05-21  Alan Mackenzie  <acm@muc.de>
6818         * progmodes/cc-engine.el (c-parse-state-get-strategy):
6819         Replace parameter `here' with `here-' and `here-plus', which sandwich
6820         any pertinent CPP construct.
6821         (c-remove-stale-state-cache-backwards): Fix a bug which happens
6822         when doing (c-parse-state) in a CPP construct: Exclude any "new"
6823         CPP construct from taking part in the scanning.
6825 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
6827         * net/tramp.el (tramp-do-copy-or-rename-file)
6828         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
6829         Tune `with-progress-reporter' messages.
6830         (tramp-handle-vc-registered):
6831         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
6832         (tramp-fish-handle-insert-file-contents)
6833         (tramp-fish-maybe-open-connection):
6834         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6835         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
6836         (tramp-imap-handle-insert-file-contents)
6837         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6839 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
6841         * add-log.el (change-log-font-lock-keywords):
6842         Highlight all authors in multi-author entries.
6844         * smerge-mode.el (smerge-refine-ignore-whitespace)
6845         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
6846         Fix typos in docstrings.
6847         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
6849 2010-05-21  Glenn Morris  <rgm@gnu.org>
6851         * progmodes/fortran.el (fortran-mode):
6852         * progmodes/f90.el (f90-mode): Derive from prog-mode.
6854         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
6855         having a relative path in src/Makefile.in.
6857 2010-05-20  Kevin Ryde  <user42@zip.com.au>
6859         * help-mode.el (help-make-xrefs): For Info node links turn
6860         newlines into spaces.  Link node names with newlines are matched
6861         by help-xref-info-regexp and buttonized, this change ensures they
6862         can be followed successfully with RET.  (Bug#6206)
6864 2010-05-20  Juri Linkov  <juri@jurta.org>
6866         * locate.el (locate): Use pop-to-buffer instead of
6867         switch-to-buffer-other-window.  (Bug#6204)
6869 2010-05-20  Juri Linkov  <juri@jurta.org>
6871         * replace.el (replace-highlight): Fix lazy-highlighting
6872         for `M-s w str M-% str RET'.
6874 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
6876         * isearch.el (isearch-yank-word-or-char): Pull next subword
6877         when `subword-mode' is activated.  (Bug#6220)
6879 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
6881         * isearch.el (isearch-update-post-hook): New hook.
6882         (isearch-update): Use the new hook.  (Bug#6225)
6884 2010-05-20  Juri Linkov  <juri@jurta.org>
6886         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
6887         [f1], [help], and (char-to-string help-char) instead of "\C-h".
6888         (Bug#6222)
6890 2010-05-20  Juri Linkov  <juri@jurta.org>
6892         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
6893         (Bug#6223)
6895 2010-05-20  Juri Linkov  <juri@jurta.org>
6897         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
6898         FILE-NAME to read from the minibuffer when called interactively
6899         with prefix argument instead of using buffer-file-name.
6900         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
6902         * dired.el: Update autoloads.
6904 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
6906         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
6907         nxml-finish-element, for consistency with SGML mode.
6909         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
6910         octave-close-block.
6912 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
6914         * composite.el: Require cl when compiling.
6915         (reference-point-alist, compose-gstring-for-graphic)
6916         (compose-gstring-for-terminal): Fix typos in docstrings.
6918 2010-05-19  Juri Linkov  <juri@jurta.org>
6920         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
6921         set-window-parameter.
6923 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
6925         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
6926         where appropriate.
6927         (tramp-maybe-open-connection): Use it.
6929 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
6931         * simple.el (move-end-of-line): Make sure we are at line beginning
6932         before backing up to end of previous line.
6934 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
6936         * password-cache.el (password-cache-remove): Fix docstring.
6938         * net/secrets.el: Autoload the widget functions.
6939         (secrets-search-items, secrets-create-item)
6940         (secrets-get-attributes, secrets-expand-item): Attributes will be
6941         stored on the password database without leading ":", as all other
6942         clients do as well.
6943         (secrets-mode): Fix docstring.
6944         (secrets-show-secrets): Provide it as autoloaded command only when
6945         D-Bus support is available.  Check existence of Secret Service API.
6947 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6949         * indent.el (indent-region): Deactivate region (bug#6200).
6951 2010-05-19  Glenn Morris  <rgm@gnu.org>
6953         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
6955 2010-05-19  Kenichi Handa  <handa@m17n.org>
6957         * composite.el: Register compose-gstring-for-graphic in
6958         composition-function-table only for combining characters (Mn, Mc, Me).
6960 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
6962         * calc/calc-trail.el (calc-trail-isearch-forward)
6963         (calc-trail-isearch-backward): Ensure that the new window
6964         point is set correctly.
6966 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6968         * subr.el (read-quoted-char): Resolve modifiers after key
6969         remapping (bug#6212).
6971 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
6973         Add visualization code for secrets.
6974         * net/secrets.el (secrets-mode): New major mode.
6975         (secrets-show-secrets, secrets-show-collections)
6976         (secrets-expand-collection, secrets-expand-item)
6977         (secrets-tree-widget-after-toggle-function)
6978         (secrets-tree-widget-show-password): New defuns.
6980 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6982         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
6983         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
6984         handled in smie-next-sexp.
6985         (smie-indent-calculate): Provide a starting indentation (so the
6986         recursion is well-founded ;-).
6988         Fix handling of non-associative equal levels.
6989         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
6990         when it's not needed.
6991         (smie-op-left, smie-op-right): New functions.
6992         (smie-next-sexp): New function, extracted from smie-backward-sexp.
6993         Better handle equal levels to distinguish the associative case from
6994         the "multi-keyword construct" case.
6995         (smie-backward-sexp, smie-forward-sexp): Use it.
6997 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
6999         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
7001         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
7002         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
7004 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7006         Provide a simple generic indentation engine and use it for Prolog.
7007         * emacs-lisp/smie.el: New file.
7008         * progmodes/prolog.el (prolog-smie-op-levels)
7009         (prolog-smie-indent-rules): New var.
7010         (prolog-mode-variables): Use them to configure SMIE.
7011         (prolog-indent-line, prolog-indent-level): Remove.
7013 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
7015         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
7016         order before computing the averages.
7018 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
7020         * calc/calc-vec.el (calc-histogram):
7021         (calcFunc-histogram): Allow vectors as inputs.
7022         (math-vector-avg): New function.
7024         * calc/calc-ext.el (math-group-float): Have the number of digits
7025         being grouped depend on the radix (Bug#6189).
7027 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
7029         * version.el (emacs-copyright, emacs-version): Don't define here,
7030         now that emacs.c defines it.
7032 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
7034         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
7035         "Describe Language Environment" menu item.
7037         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
7039         Bidi-sensitive movement with arrow keys.
7040         * subr.el (right-arrow-command, left-arrow-command): New functions.
7042         * bindings.el (global-map): Bind them to right and left arrow keys.
7044         Don't override standard definition of convert-standard-filename.
7045         * files.el (convert-standard-filename):
7046         Call w32-convert-standard-filename and dos-convert-standard-filename on
7047         the corresponding systems.
7049         * w32-fns.el (w32-convert-standard-filename): Rename from
7050         convert-standard-filename.  Doc fix.
7052         * dos-fns.el (dos-convert-standard-filename): Doc fix.
7053         (convert-standard-filename): Don't defalias.
7054         (register-name-alist, make-register, register-value)
7055         (set-register-value, intdos): Obsolete aliases for the
7056         corresponding dos-* functions and variables.
7057         (dos-intdos): Add a doc string.
7059 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
7061         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
7062         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
7063         (math-compose-tex-func):
7064         * calc/calccomp.el (math-compose-expr):
7065         * calc/calc-ext.el (math-format-flat-expr-fancy):
7066         * calc/calc-store.el (calc-read-var-name):
7067         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
7069         * calc/calc.el (var-π, var-φ, var-γ): New variables.
7070         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
7071         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
7072         (math-standard-units): Add units.
7074 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7076         * progmodes/asm-mode.el (asm-mode):
7077         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
7079         * pcomplete.el (pcomplete-completions-at-point): New function,
7080         extracted from pcomplete-std-complete.
7081         (pcomplete-std-complete): Use it.
7083 2010-05-15  Glenn Morris  <rgm@gnu.org>
7085         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7086         Remove references to CVS, RCS and Old directories.
7088 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
7090         * calc/calc-bin.el (math-format-twos-complement): Group digits when
7091         appropriate.
7093 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7095         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
7096         (sh-mode-syntax-table): Give it a default value instead.
7097         (sh-header-marker): Make buffer-local.
7098         (sh-mode): Move make-local-variable to the corresponding setq.
7099         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
7100         Use complete-with-action.
7102         * simple.el (prog-mode): New (abstract) major mode.
7103         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
7104         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
7106 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
7108         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
7109         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
7110         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
7111         (sql-make-alternate-buffer-name, sql-placeholders-filter)
7112         (sql-escape-newlines-filter, sql-input-sender)
7113         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
7115 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
7117         Add TeX open-block and close-block keybindings to SGML, and vice versa.
7119         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
7120         latex-open-block and C-c / to latex-close-block.
7122         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
7123         and C-c C-e to sgml-close-tag.
7125 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
7127         * net/tramp.el (with-progress-reporter): Create reporter object
7128         only when the message would be displayed.  Handle nested calls.
7129         (tramp-handle-load, tramp-handle-file-local-copy)
7130         (tramp-handle-insert-file-contents, tramp-handle-write-region)
7131         (tramp-maybe-send-script, tramp-find-shell):
7132         Use `with-progress-reporter'.
7133         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
7134         Fix message text.
7136         * net/tramp-smb.el (tramp-smb-handle-copy-file)
7137         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7138         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
7139         Use `with-progress-reporter'.
7141 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
7143         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
7144         process everytime when spellchecking from the minibuffer (bug#6143).
7146 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7148         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
7150         * dos-fns.el: Add "dos-" prefix for namespace control.
7151         (convert-standard-filename): Define as alias for
7152         dos-convert-standard-filename but only if applicable.
7154 2010-05-12  Alan Mackenzie  <acm@muc.de>
7156         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
7157         Push the mark at the start of these functions when appropriate.
7159 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7161         * minibuffer.el (completion-cycle-threshold): New custom var.
7162         (completion--do-completion): Use it.
7163         (minibuffer-complete): Use cycling if appropriate.
7165 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
7167         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
7168         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
7170 2010-05-11  Juri Linkov  <juri@jurta.org>
7172         * scroll-all.el (scroll-all-check-to-scroll):
7173         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
7175 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7177         * iimage.el (iimage-mode-map): Move initialization into declaration.
7178         (iimage-mode-buffer): Use with-silent-modifications.
7179         Simplify calling convention.  Adjust callers.
7180         (iimage-mode): Don't run hook redundantly.
7182         * minibuffer.el (completion-pcm--pattern->regex):
7183         Fix last change (bug#6160).
7185 2010-05-10  Juri Linkov  <juri@jurta.org>
7187         Remove nodes visited during Isearch from the Info history.
7188         * info.el (Info-isearch-initial-history)
7189         (Info-isearch-initial-history-list): New variables.
7190         (Info-isearch-start): Record initial values of
7191         Info-isearch-initial-history and Info-isearch-initial-history-list.
7192         Add Info-isearch-end to isearch-mode-end-hook.
7193         (Info-isearch-end): New function.
7195 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
7197         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
7198         format string, in order to work around a bug in pdksh.
7199         Reported by Gilles Pion <gpion@lfdj.com>.
7200         (tramp-handle-verify-visited-file-modtime): Do not send a command
7201         when the connection is not established.
7202         (tramp-handle-set-file-times): Simplify the check for utc.
7204 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
7206         Fix use of `filter-buffer-substring' (rework previous change).
7207         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
7208         (cua-repeat-replace-region):
7209         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
7210         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7211         (cua-cut-region-to-global-mark): Use it.
7213 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
7215         * progmodes/sql.el: Version 2.1.
7216         (sql-product-alist): Redesign structure of product info.
7217         (sql-product, sql-user, sql-server, sql-database): Safe variables.
7218         (sql-port, sql-port-history): New variables.
7219         (sql-interactive-product): New variable.
7220         (sql-send-terminator): New variable.
7221         (sql-imenu-generic-expression): Add "Types" imenu entry.
7222         (sql-oracle-login-params, sql-sqlite-login-params)
7223         (sql-mysql-login-params, sql-solid-login-params)
7224         (sql-sybase-login-params, sql-informix-login-params)
7225         (sql-ingres-login-params, sql-ms-login-params)
7226         (sql-postgres-login-params, sql-interbase-login-params)
7227         (sql-db2-login-params, sql-linter-login-params)
7228         (sql-oracle-scan-on): New variables.
7229         (sql-mode-map): Add C-c C-i to start interactive mode.
7230         (sql-mode-menu): Update existing menu entries.
7231         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
7232         (sql-mode-oracle-font-lock-keywords)
7233         (sql-mode-postgres-font-lock-keywords)
7234         (sql-mode-ms-font-lock-keywords)
7235         (sql-mode-sybase-font-lock-keywords)
7236         (sql-mode-informix-font-lock-keywords)
7237         (sql-mode-interbase-font-lock-keywords)
7238         (sql-mode-ingres-font-lock-keywords)
7239         (sql-mode-solid-font-lock-keywords)
7240         (sql-mode-mysql-font-lock-keywords)
7241         (sql-mode-sqlite-font-lock-keywords)
7242         (sql-mode-db2-font-lock-keywords)
7243         (sql-mode-linter-font-lock-keywords): Update initialization to
7244         reduce run-time complexity.
7245         (sql-add-product, sql-del-product): New functions.
7246         (sql-set-product-feature, sql-get-product-feature): New functions.
7247         (sql-product-font-lock): Update product API.
7248         (sql-add-product-keywords): New function.
7249         (sql-highlight-product): Update product API.
7250         (sql-help-list-products): New function.
7251         (sql-help): Dynamically lists free and non-free products.
7252         (sql-get-login): Correct bug in handling history and added
7253         prompt for port.
7254         (sql-copy-column): Copy without properties.
7255         (sqli-input-sender): Apply filters to SQLi input.
7256         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
7257         Implement as a filter.
7258         (sql-escape-newlines-filter): Implement as a filter.
7259         (sql-remove-tabs-filter): New function.
7260         (sql-send-magic-terminator): New function.
7261         (sql-send-string): Implement magic terminator.
7262         (sql-send-region): Use `sql-send-string'.
7263         (sql-interactive-mode): Use product API.
7264         (sql-product-interactive): Use product API.
7265         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7266         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7267         (sql-db2, sql-linter): Use `sql-product-interactive'.
7268         (sql-connect): New function.
7269         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
7270         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
7271         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
7272         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
7273         Use `sql-connect'.
7275 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7277         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
7278         New custom variable.
7279         (completion-pcm--string->pattern): Use it.
7280         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
7281         Make it handle any symbol as `any'.
7282         (completion-pcm--merge-completions): Extract common suffix for the new
7283         `prefix' symbol as well.
7284         (completion-substring--all-completions): Use the new `prefix' symbol.
7286 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
7288         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
7289         not bound.
7290         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7291         (tramp-compat-funcall): New defmacro.
7292         (tramp-compat-line-beginning-position)
7293         (tramp-compat-line-end-position)
7294         (tramp-compat-temporary-file-directory)
7295         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
7296         (tramp-compat-copy-file, tramp-compat-copy-directory)
7297         (tramp-compat-delete-file, tramp-compat-delete-directory)
7298         (tramp-compat-number-sequence, tramp-compat-process-running-p)
7299         * net/tramp.el (top, with-progress-reporter)
7300         (tramp-rfn-eshadow-setup-minibuffer)
7301         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
7302         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
7303         (tramp-completion-mode-p, tramp-check-for-regexp)
7304         (tramp-open-connection-setup-interactive-shell)
7305         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
7306         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
7307         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
7308         * net/tramp-cmds.el (tramp-cleanup-all-connections)
7309         (tramp-reporter-dump-variable, tramp-load-report-modules)
7310         (tramp-append-tramp-buffers)
7311         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
7313         * net/tramp-imap.el (top): Autoload `epg-make-context'.
7315 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7317         * progmodes/compile.el (compilation-buffer-modtime): Rename from
7318         buffer-modtime.  Adjust users.
7320 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
7322         * international/mule.el (auto-coding-alist): Only purecopy
7323         car of each item, not the whole list (Bug#6083).
7325 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
7327         * progmodes/js.el (js-mode): Make paragraph variables local before
7328         calling c-setup-paragraph-variables (Bug#6071).
7330 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
7332         * composite.el (compose-region, reference-point-alist): Fix typos
7333         in the doc strings.
7335 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
7337         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
7338         gnuplot's "set" command.
7340 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
7342         * abbrev.el (last-abbrev-text): Doc fix.
7343         (abbrev-prefix-mark): Don't escape parenthesis.
7345 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
7347         * composite.el (find-composition): Doc fix.
7349 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
7351         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
7352         (sql-oracle-program, sql-sqlite-options)
7353         (sql-query-placeholders-and-send): Doc fixes.
7354         (sql-set-product, sql-interactive-mode): Reflow docstrings.
7355         (sql-imenu-generic-expression, sql-buffer)
7356         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
7357         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
7358         (sql-mode-sybase-font-lock-keywords)
7359         (sql-mode-informix-font-lock-keywords)
7360         (sql-mode-interbase-font-lock-keywords)
7361         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
7362         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
7363         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
7364         (sql-product-feature, sql-highlight-product)
7365         (comint-line-beginning-position, sql-rename-buffer)
7366         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
7367         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
7368         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
7369         Fix typos in docstrings.
7371 2010-05-08  Juri Linkov  <juri@jurta.org>
7373         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
7374         property instead of `invisible' and `after-string' (bug#5998).
7376 2010-05-08  Juri Linkov  <juri@jurta.org>
7378         * image-mode.el (image-mode-as-text): Fix typo in docstring.
7380 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
7382         * filecache.el (file-cache-add-directory-list)
7383         (file-cache-add-directory-recursively): Fix typos in docstrings.
7385 2010-05-08  Kenichi Handa  <handa@m17n.org>
7387         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
7388         (gujarati-composable-pattern): Fix typo.
7390 2010-05-08  Kenichi Handa  <handa@m17n.org>
7392         * language/indian.el (oriya-composable-pattern)
7393         (tamil-composable-pattern, malayalam-composable-pattern):
7394         Add two-part vowels to "v" (vowel sign).
7396 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
7398         * files.el (copy-directory): Handle symlinks (Bug#5982).
7400 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
7402         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
7403         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
7404         (Bug#5846).
7406 2010-05-08  Glenn Morris  <rgm@gnu.org>
7408         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
7410         * minibuffer.el (completion-at-point): Doc fix.
7412 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7414         * electric.el (Electric-command-loop): Minor tweak.
7416         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
7417         better with dedicated windows.
7419 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
7421         * Version 23.2 released.
7423 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
7424             Stefan Monnier  <monnier@iro.umontreal.ca>
7426         Highlight vendor specific properties.
7427         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
7428         (css-proprietary-property): New face.
7429         (css-font-lock-keywords): Use them.
7431 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
7433         * cus-start.el (all): Add native condition for tool-bar-* symbols.
7435 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7437         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
7438         * files.el (auto-mode-alist): Remove redundant entries.
7440         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
7441         * simple.el (auto-save-mode): Move from files.el.
7442         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
7444 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
7446         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
7448 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
7450         * mail/binhex.el (binhex-decode-region-internal)
7451         * mail/uudecode.el (uudecode-decode-region-internal)
7452         * net/dns.el (dns-read-string-name, dns-write, dns-read)
7453         (dns-read-type, dns-query)
7454         * pgg-parse.el (pgg-parse-armor)
7455         * pgg.el (pgg-verify-region)
7456         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
7457         XEmacs.
7459         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
7461 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
7463         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
7465         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
7466         * emulation/cua-base.el (cua-repeat-replace-region):
7467         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7468         (cua-cut-region-to-global-mark):
7469         Remove text properties with `set-text-properties'.
7471 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
7473         * net/tramp.el (top, with-progress-reporter):
7474         Use `symbol-function' inside `funcall'.
7476         * net/tramp-compat.el (tramp-compat-file-attributes)
7477         (tramp-compat-delete-file, tramp-compat-delete-directory):
7478         Handle only `wrong-number-of-arguments' error.
7480         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
7481         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
7482         inside `funcall'.
7484 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7486         * minibuffer.el (completion--sreverse, completion--common-suffix):
7487         New functions.
7488         (completion-pcm--merge-completions): Extract common suffix when safe.
7490         * emacs-lisp/easy-mmode.el (define-minor-mode):
7491         Make :variable more flexible.
7492         * files.el (auto-save-mode): Use it to define using define-minor-mode.
7494 2010-05-05  Juri Linkov  <juri@jurta.org>
7496         Add `slow' and `history' tags to the desktop data.
7498         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
7499         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
7500         (Info-finder-find-node): Require `finder.el' to be able
7501         to restore node from the desktop.
7502         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
7503         data `Info-history' and `slow' tag in the assoc list.
7504         (Info-restore-desktop-buffer): Don't restore nodes with the
7505         `slow' tag.  Restore `Info-history'.
7507 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
7509         Add FORCE argument to `delete-file'.
7511         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
7512         forcing to delete the temporary file.
7513         (ange-ftp-delete-file): Add FORCE arg.
7514         (ange-ftp-rename-remote-to-remote)
7515         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
7516         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
7517         Force file deletion.
7519         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
7521         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
7522         (tramp-handle-make-symbolic-link, tramp-handle-load)
7523         (tramp-do-copy-or-rename-file-via-buffer)
7524         (tramp-do-copy-or-rename-file-directly)
7525         (tramp-do-copy-or-rename-file-out-of-band)
7526         (tramp-handle-process-file, tramp-handle-call-process-region)
7527         (tramp-handle-shell-command, tramp-handle-file-local-copy)
7528         (tramp-handle-insert-file-contents, tramp-handle-write-region)
7529         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
7531         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
7532         (tramp-fish-handle-make-symbolic-link)
7533         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
7535         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7536         Use `tramp-compat-delete-file'.
7538         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
7539         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
7541         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
7542         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
7544         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
7545         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
7546         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
7547         Use `tramp-compat-delete-file'.
7549 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7551         Minor cleanups.
7552         * subr.el (add-minor-mode): Use push.
7553         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
7554         * emulation/edt.el (edt-select-mode): Simplify.
7556         Use define-minor-mode in more cases.
7557         * term/tvi970.el (tvi970-set-keypad-mode):
7558         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
7559         (normal-erase-is-backspace-mode):
7560         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
7561         (set-scroll-bar-mode-1): (Re)move to its sole caller.
7562         (get-scroll-bar-mode): New function.
7563         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
7565         Use define-minor-mode for less obvious cases.
7566         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
7567         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
7568         * international/iso-ascii.el (iso-ascii-mode):
7569         * frame.el (auto-raise-mode, auto-lower-mode):
7570         * composite.el (global-auto-composition-mode): Use define-minor-mode.
7572 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
7574         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
7575         in order to see error messages for failed logins.
7577 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
7579         * diff.el (diff-sentinel):
7581         * epg.el (epg--make-temp-file, epg-decrypt-string)
7582         (epg-verify-string, epg-sign-string, epg-encrypt-string):
7584         * jka-compr.el (jka-compr-partial-uncompress)
7585         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
7587         * server.el (server-sentinel): Use delete-file's new FORCE arg
7588         (Bug#6070).
7590 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
7592         Use define-minor-mode where applicable.
7593         * view.el (view-mode):
7594         * type-break.el (type-break-query-mode)
7595         (type-break-mode-line-message-mode):
7596         * textmodes/reftex.el (reftex-mode):
7597         * term/vt100.el (vt100-wide-mode):
7598         * tar-mode.el (tar-subfile-mode):
7599         * savehist.el (savehist-mode):
7600         * ibuf-ext.el (ibuffer-auto-mode):
7601         * composite.el (auto-composition-mode):
7602         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7603         Use define-minor-mode.
7604         (vhdl-mode): Use static mode-line format.
7605         (vhdl-mode-line-update): Delete.
7606         (vhdl-create-mode-menu, vhdl-activate-customizations)
7607         (vhdl-hs-minor-mode): Don't bother calling it.
7609 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7611         * simple.el (with-wrapper-hook): Move.
7612         (buffer-substring-filters): Mark obsolete.
7613         (filter-buffer-substring-functions): New variable.
7614         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
7616 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
7617             Michael Albinus  <michael.albinus@gmx.de>
7619         Implement compression for inline methods.
7621         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
7622         (tramp-copy-size-limit): Allow also nil.
7623         (tramp-inline-compress-commands): New defconst.
7624         (tramp-find-inline-compress, tramp-get-inline-compress)
7625         (tramp-get-inline-coding): New defuns.
7626         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
7627         replaced by `tramp-get-inline-coding'.
7628         (tramp-handle-file-local-copy, tramp-handle-write-region)
7629         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
7631 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
7633         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
7634         Remove unused functions.
7636         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
7637         Set find-tag-default-function as a variable rather than a property.
7639         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
7640         * progmodes/etags.el (tags-completion-at-point-function):
7641         Remove left over interactive spec.  Add autoloading stub.
7642         (complete-tag): Use tags-completion-at-point-function.
7644 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
7646         * minibuffer.el (tags-completion-at-point-function): Fix return value.
7648 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
7650         * ido.el (ido-init-completion-maps): Remove C-v binding.
7651         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
7653 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
7655         * minibuffer.el (tags-completion-at-point-function): New function.
7656         (completion-at-point-functions): Use it.
7658         * progmodes/etags.el (complete-tag): Revert last change.
7660 2010-04-29  Alan Mackenzie  <acm@muc.de>
7662         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
7663         off-by-one error (in end of macro position).
7665 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7667         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
7668         firefox is absent.  Don't autoload.
7669         (browse-url-galeon-program): Don't autoload.
7671 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
7673         * bindings.el (complete-symbol): Move into minibuffer.el.
7675         * minibuffer.el (complete-tag): Move from etags.el.  If tags
7676         completion cannot be performed, return nil instead of signalling
7677         an error.
7678         (completion-at-point): Make it an alias for complete-symbol.
7679         (complete-symbol): Move from bindings.el, and replace with the
7680         body of completion-at-point.
7682         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
7684 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
7686         * net/tramp.el (tramp-remote-selinux-p): New defun.
7687         (tramp-handle-file-selinux-context)
7688         (tramp-handle-set-file-selinux-context): Use it.
7690 2010-04-28  Sam Steingold  <sds@gnu.org>
7692         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
7693         `safe-local-variable' if the value is a string or a symbol with
7694         the property `bug-reference-url-format'.
7696 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
7698         * progmodes/bug-reference.el (bug-reference-url-format):
7699         Revert 2010-04-27 change due to security risk.
7701 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
7703         Make it possible to locally disable a globally enabled mode.
7704         * simple.el (fundamental-mode): Run fundamental-mode-hook.
7705         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
7706         rather than kill-all-local-variables so it runs fundamental-mode-hook.
7707         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7708         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
7709         that subsequent hooks get a chance to disable it.
7711 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7713         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7714         Avoid re-enabling a minor mode after the user turned the minor mode
7715         off if MODE-enable-in-buffers is run twice (typically once from
7716         fundamental-mode's after-change-major-mode-hook and a second time from
7717         run-mode-hook's own after-change-major-mode-hook).
7719         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
7721 2010-04-27  Sam Steingold  <sds@gnu.org>
7723         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
7724         `safe-local-variable' if the value is a string or a function, as
7725         documented and implemented on 2010-04-02.
7727 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
7729         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
7730         when method is 'kill.
7732 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
7734         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
7735         condition in default directory check.
7736         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
7737         Kill ispell process when killing its associated buffer.
7739 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
7741         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
7742         but we aren't using it.
7744 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
7746         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
7747         checkin in rev 100010.
7749 2010-04-24  Glenn Morris  <rgm@gnu.org>
7751         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
7752         Ignore VCS-ignore files, and deleted nextstep preferences files.
7753         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
7754         (authors-ambiguous-files): New list.
7755         (authors-valid-file-names): Add some deleted files.
7756         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
7757         (authors-disambiguate-file-name): New function.  (Bug#5501)
7758         (authors-canonical-file-name): Doc fix.
7759         Don't warn about obsolete files.
7760         (authors-canonical-file-name, authors-scan-el):
7761         Use authors-disambiguate-file-name.
7763         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
7764         Add autoload cookies.
7765         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
7766         (generated-autoload-file): Set file-local value to "htmlfontify.el".
7767         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
7768         They have definitions / compiler macros in cl.el.
7769         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
7770         Replace manual autoloads with generated ones.
7771         (htmlfontify-unload-rgb-file): Remove autoload.
7772         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
7774 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7776         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
7777         (byte-compile-setq-default): Optimize for the
7778         single-var case and don't call byte-compile-form in this case to avoid
7779         inf-loop with byte-compile-set-default.
7781         * progmodes/compile.el (compilation-start): Abbreviate default directory.
7783 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
7785         Implement SELINUX backends.
7787         * net/tramp.el (tramp-file-name-handler-alist):
7788         Add `file-selinux-context' and `set-file-selinux-context'.
7789         (tramp-handle-file-selinux-context)
7790         (tramp-handle-set-file-selinux-context): New defuns.
7791         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
7792         Handle PRESERVE-SELINUX-CONTEXT.
7794         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7795         Add `file-selinux-context' and `set-file-selinux-context'.
7796         (tramp-gvfs-handle-file-selinux-context)
7797         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
7798         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
7800         * net/ange-ftp.el (ange-ftp-copy-file):
7801         * net/tramp-fish.el (tramp-fish-handle-copy-file):
7802         * net/tramp-imap.el (tramp-imap-handle-copy-file):
7803         * net/tramp-smb.el (tramp-smb-handle-copy-file):
7804         Add PRESERVE-SELINUX-CONTEXT.
7806 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
7808         Synchronize with Tramp repository.
7810         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
7811         (tramp-action-process-alive, tramp-action-out-of-band)
7812         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
7813         (tramp-exists-file-name-handler): Fix docstring.
7814         (with-progress-reporter): New defmacro.
7815         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
7816         (tramp-maybe-open-connection): Use it.
7818 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
7820         Detect ssh 'ControlMaster' argument automatically in some cases.
7822         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
7823         (tramp-default-method): Use it.
7825 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
7827         * net/tramp.el (tramp-handle-copy-file): Add new optional
7828         parameter `preserve-selinux-context'.
7829         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
7831 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
7833         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
7834         Ensure, that non remote files are still checked.  Oops.
7836 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
7838         Fix Bug#5840.
7840         * icomplete.el (icomplete-completions): Use `non-essential'.
7842         * net/tramp.el (tramp-connectable-p): New defun.
7843         (tramp-handle-expand-file-name)
7844         (tramp-completion-handle-file-name-all-completions)
7845         (tramp-completion-handle-file-name-completion): Use it.
7847 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7849         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
7851 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
7853         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
7855         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
7857         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
7858         is present.
7860         * info.el (info-tool-bar-map): Add labels.
7862         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
7864         * cus-edit.el (custom-commands): Add labels for tool bar.
7865         (custom-buffer-create-internal, Custom-mode): Adjust for
7866         labels in custom-commands.
7868         * dynamic-setting.el: Renamed from font-setting.el.
7870 2010-04-21  John Wiegley  <jwiegley@gmail.com>
7872         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
7873         toggles the use of virtual buffers.
7874         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
7875         (ido-toggle-virtual-buffers): New function.
7877 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
7879         Use `define-derived-mode'; fix window selection; doc fixes.
7880         * play/tetris.el (tetris, tetris-update-speed-function)
7881         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
7882         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
7883         (tetris-rotate-next, tetris-end-game, tetris-start-game)
7884         (tetris-pause-game): Fix typos in docstrings.
7885         (tetris-mode-map, tetris-null-map):
7886         Move initialization into declaration.
7887         (tetris-mode): Define with `define-derived-mode';
7888         set show-trailing-whitespace to nil.
7889         (tetris): Prefer window already displaying the "*Tetris*" buffer.
7891 2010-04-21  Karel Klíč  <kklic@redhat.com>
7893         * files.el (backup-buffer): Handle SELinux context, and return it
7894         if a backup was made by renaming.
7895         (backup-buffer-copy): Set SELinux context to the target file.
7896         (basic-save-buffer): Set SELinux context of the newly written file.
7897         (basic-save-buffer-1): Now it also returns any SELinux context.
7898         (basic-save-buffer-2): Set SELinux context of the newly created file,
7899         and return it.
7900         * net/tramp.el (tramp-file-name-for-operation):
7901         Add file-selinux-context.
7903 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
7905         Make the log-edit comments use RFC822 format throughout.
7907         * vc.el (vc-checkin, vc-modify-change-comment):
7908         Adjust to new vc-start/finish-logentry.
7909         (vc-find-conflicted-file): New command.
7910         (vc-transfer-file): Adjust to new vc-checkin.
7911         (vc-next-action): Improve scoping.
7913         * vc-hg.el (vc-hg-log-edit-mode): Remove.
7914         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
7916         * vc-git.el (vc-git-log-edit-mode): Remove.
7917         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
7918         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
7920         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
7921         (vc-start-logentry): Remove argument `extra'.
7922         (vc-finish-logentry): Remove extra args.
7924         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
7925         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
7926         (vc-bzr-conflicted-files): New function.
7928         * log-edit.el (log-edit-extra-flags)
7929         (log-edit-before-checkin-process): Remove.
7930         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
7931         (log-edit-headers-alist): New var.
7932         (log-edit-header-contents-regexp): New const.
7933         (log-edit-match-to-eoh): New function.
7934         (log-edit-font-lock-keywords): Use them.
7935         (log-edit): Insert a "Summary:" header as default.
7936         (log-edit-mode): Mark font-lock rules as case-insensitive.
7937         (log-edit-done): Cleanup headers.
7938         (log-view-process-buffer): Remove.
7939         (log-edit-extract-headers): New function to replace it.
7941 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
7943         * subr.el (default-direction-reversed): Remove obsolescence info.
7945 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
7947         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
7948         windows/frames.
7950         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
7951         I.e. include text after point in the completion region.
7952         Also, return nil when we're not after/in a symbol.
7954         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
7955         default enable-multibyte-characters.
7957 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7959         * international/mule.el: Help the user choose a valid coding-system.
7960         (read-buffer-file-coding-system): New function.
7961         (set-buffer-file-coding-system): Use it.  Prompt the user if the
7962         coding-system cannot encode all the chars.
7964         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
7965         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
7966         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
7967         Don't use *vc-bzr-shelve*.
7969 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
7971         Fix the version number for added files.
7972         * vc-hg.el (vc-hg-working-revision): Check if the file is
7973         registered after hg parent fails (Bug#5961).
7975 2010-04-19  Glenn Morris  <rgm@gnu.org>
7977         * htmlfontify.el (htmlfontify-buffer)
7978         (htmlfontify-copy-and-link-dir): Autoload entry points.
7980 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
7982         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
7983         name relative to the project root (Bug#5960).
7985 2010-04-19  Glenn Morris  <rgm@gnu.org>
7987         * vc-git.el (vc-git-print-log): Doc fix.
7989 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
7991         * ido.el (ido-file-internal): Fix 2009-12-02 change.
7993 2010-04-19  Christoph  <cschol2112@googlemail.com>  (tiny change)
7995         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
7996         default settings (Bug#5928).
7998 2010-04-19  Glenn Morris  <rgm@gnu.org>
8000         * progmodes/fortran.el (fortran-match-and-skip-declaration):
8001         New function.
8002         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
8004 2010-04-19  Kenichi Handa  <handa@m17n.org>
8006         * language/indian.el (malayalam-composable-pattern): Fix previous
8007         change (add U+0D4D "SIGN VIRAMA").
8008         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
8009         (tamil-composable-pattern): Fix typo in the regexp.
8010         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
8011         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
8012         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
8014 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
8016         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
8017         paragraph-separate (Bug#5821).
8019 2010-04-19  Juri Linkov  <juri@jurta.org>
8021         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
8023         * info.el (Info-find-node-2): Comment out code that skips
8024         breadcrumbs line.
8025         (Info-mouse-follow-link): New command.
8026         (Info-link-keymap): New keymap.
8027         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
8028         Return a string with links instead of inserting breadcrumbs
8029         to the Info buffer.
8030         (Info-fontify-node): Comment out code that inserts breadcrumbs.
8031         Instead of putting the `invisible' text property over the Info
8032         header, make an overlay over the Info header with the `invisible'
8033         property and `after-string' set to the string returned by
8034         `Info-breadcrumbs'.
8036 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
8038         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
8039         Reported by monkey@sandpframing.com.
8041 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8043         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
8044         (tmm-get-keymap): Add key-binding shortcuts now that they're not
8045         available in the "keyseq cache" any more.
8047         * custom.el (defcustom): Add edebug spec.
8049 2010-04-18  Juri Linkov  <juri@jurta.org>
8051         Test for special mode-class in view-buffer instead of view-file (bug#5513).
8053         * view.el (view-file, view-buffer): Move test for special mode-class
8054         from view-file to view-buffer.
8056         * tar-mode.el (tar-extract): Turn if's into one cond
8057         like in arc-mode.el.
8059 2010-04-18  Juri Linkov  <juri@jurta.org>
8061         Add 7z archive format support (bug#5475).
8063         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
8064         (archive-7z-extract): New defcustom.
8065         (archive-find-type): Add magic string for 7z.
8066         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
8067         If `stderr-file' is non-nil, use `(t stderr-file)' for the
8068         `buffer' arg of `call-process'.
8069         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
8070         call the function `archive-7z-extract' with the variable
8071         `archive-7z-extract' let-bound to `archive-zip-extract'.
8072         (archive-7z-summarize, archive-7z-extract): New functions.
8074         * international/mule.el (auto-coding-alist):
8075         * files.el (auto-mode-alist): Add 7z file extension.
8077 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8079         * loadup.el: Setup hash-cons for pure data.
8081         Fix duplicate entries in cedet's loaddefs.el files.
8082         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
8083         Should make most file-local generated-autoload-file unnecessary.
8084         (print-readably): Silence warnings.
8085         (autoload-find-destination): Take load-name as an arg to make sure
8086         it's the same as the one that will be in the file.
8087         (autoload-generate-file-autoloads): Adjust to above changes.
8088         Try to make the dataflow a bit simpler.
8090         * cvs-status.el (cvs-refontify): Remove unused.
8092 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
8094         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
8096         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
8097         twos-complement mode.
8099 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
8101         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
8102         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
8103         (calc-inverse): Add "Option" to message, as appropriate.
8104         (calc-hyperbolic): Add "Option" to message, as appropriate.
8105         (calc-option, calc-is-option): New functions.
8107         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
8108         (calc-option-prefix-help): New function.
8110         * calc/calc-misc.el (calc-help): Add "Option" entry.
8112         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
8113         (calc-option-flag): New variable.
8114         (calc-do): Set `calc-option-flag to nil.
8115         (calc-set-mode-line): Add "Opt " as appropriate.
8117 2010-04-16  Juri Linkov  <juri@jurta.org>
8119         Move scrolling commands from simple.el to window.el
8120         because their primitives are implemented in window.c.
8122         * simple.el (scroll-error-top-bottom)
8123         (scroll-up-command, scroll-down-command, scroll-up-line)
8124         (scroll-down-line, scroll-other-window-down)
8125         (beginning-of-buffer-other-window, end-of-buffer-other-window):
8126         * window.el (scroll-error-top-bottom)
8127         (scroll-up-command, scroll-down-command, scroll-up-line)
8128         (scroll-down-line, scroll-other-window-down)
8129         (beginning-of-buffer-other-window, end-of-buffer-other-window):
8130         Move from simple.el to window.el because their primitives are
8131         implemented in window.c.
8133 2010-04-16  Juri Linkov  <juri@jurta.org>
8135         * isearch.el (isearch-lookup-scroll-key): Check both
8136         `isearch-scroll' and `scroll-command' properties.
8137         (scroll-up, scroll-down): Remove `isearch-scroll' property.
8139         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
8141         * simple.el (scroll-up-command, scroll-down-command)
8142         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
8144 2010-04-15  Juri Linkov  <juri@jurta.org>
8146         * simple.el (scroll-up-command, scroll-down-command)
8147         (scroll-up-line, scroll-down-line): Put `scroll-command'
8148         property on the these symbols.  Remove them from
8149         `scroll-preserve-screen-position-commands'.
8151         * mwheel.el (mwheel-scroll): Put `scroll-command' and
8152         `isearch-scroll' properties on the `mwheel-scroll' symbol.
8153         Remove it from `scroll-preserve-screen-position-commands'.
8155         * isearch.el (isearch-allow-scroll): Doc fix.
8157 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
8159         * net/tramp.el (tramp-error-with-buffer): Don't show the
8160         connection buffer when we are in completion mode.
8161         (tramp-file-name-handler): Catch the error for some operations
8162         when we are in completion mode.  This gives the user the chance to
8163         correct the file name in the minibuffer.
8165 2010-04-15  Glenn Morris  <rgm@gnu.org>
8167         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
8169 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
8171         Simplify by using `define-derived-mode'.
8172         * info.el (Info-mode):
8173         * calendar/todo-mode.el (todo-mode):
8174         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
8175         (gomoku-mode-map): Move initialization into declaration.
8177 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
8179         Fix Bug#5840.
8180         * ido.el (ido-file-name-all-completions-1):
8181         * minibuffer.el (minibuffer-completion-help):
8182         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
8184 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8186         * simple.el (non-essential): New var.
8188         Add a new field `location' to bookmarks for non-file bookmarks.
8189         * bookmark.el (bookmark-location): Use the new field, if present.
8190         (bookmark-insert-location): Undo last change, not needed any more.
8191         * man.el (Man-bookmark-make-record):
8192         * woman.el (woman-bookmark-make-record): Add `location' field.
8194 2010-04-14  Juri Linkov  <juri@jurta.org>
8196         * simple.el (scroll-error-top-bottom): New defcustom.
8197         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
8199         * emulation/pc-select.el (pc-select-override-scroll-error):
8200         Obsolete in favor of `scroll-error-top-bottom'.
8202 2010-04-14  Juri Linkov  <juri@jurta.org>
8204         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
8205         `scroll-up-command' and `M-v' to `scroll-down-command'.
8207         * emulation/cua-rect.el (cua--init-rectangles):
8208         * forms.el (forms--change-commands):
8209         * image-mode.el (image-mode-map):
8210         Remap scroll-down-command and scroll-up-command
8211         in addition to scroll-down and scroll-up.
8213 2010-04-14  Juri Linkov  <juri@jurta.org>
8215         * mwheel.el (scroll-preserve-screen-position-commands):
8216         Add mwheel-scroll to this list of commands.
8218         * simple.el (scroll-preserve-screen-position-commands):
8219         Add scroll-up-command, scroll-down-command, scroll-up-line,
8220         scroll-down-line to this list of commands.
8222 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8224         * obsolete/complete.el: Move from lisp/complete.el.
8226         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
8228         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
8229         to the minor mode function now turns the mode ON unconditionally.
8231 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8233         * vc-dir.el (vc-dir-kill-line): New command.
8234         (vc-dir-mode-map): Bind it to C-k.
8236         * bookmark.el (bookmark-insert-location): Handle a nil filename.
8238         * woman.el: Add bookmark declarations to silence the compiler.
8239         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
8240         step to compatibility between man and woman bookmarks.
8241         Adjust for Man-default-bookmark-title renaming.
8242         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
8244         * man.el: Add bookmark declarations to silence the compiler.
8245         (Man-name-local-regexp): Make it match NAME as well.
8246         (Man-getpage-in-background): Return the buffer.
8247         (Man-notify-when-ready): Use `case'.
8248         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
8249         Don't hardcode "NAME".  Simplify.
8250         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
8251         Rename from Man-bookmark-make-record.
8252         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
8253         we have the actual man-args.  Use Man-getpage-in-background rather
8254         than `man' since the arg is already processed.  Let bookmark.el do the
8255         window handling.  Only wait for the relevant process.
8256         Don't forget to autoload.
8258         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
8260 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8262         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
8263         New functions.
8264         (woman-mode): Setup bookmark support.
8266         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
8267         (man-bookmark-jump): New functions.
8268         (Man-mode): Setup bookmark support.
8270 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
8272         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
8273         recognize ssh-keygen prompt (Bug#2817).
8275 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
8277         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
8279 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
8281         Synchronize with Tramp repository.
8283         * net/tramp.el (tramp-completion-function-alist)
8284         (tramp-file-name-regexp, tramp-chunksize)
8285         (tramp-local-coding-commands, tramp-remote-coding-commands):
8286         Fix docstring.
8287         (tramp-remote-process-environment): Use `format' instead of `concat'.
8288         (tramp-handle-directory-files-and-attributes)
8289         (tramp-get-remote-path): Use `copy-tree'.
8290         (tramp-handle-file-name-all-completions): Backward/ XEmacs
8291         compatibility: Use `completion-ignore-case' if
8292         `read-file-name-completion-ignore-case' does not exist.
8293         (tramp-do-copy-or-rename-file-directly): Do not use
8294         `tramp-handle-file-remote-p'.
8295         (tramp-do-copy-or-rename-file-out-of-band):
8296         Use `tramp-compat-delete-directory'.
8297         (tramp-do-copy-or-rename-file-out-of-band)
8298         (tramp-compute-multi-hops, tramp-maybe-open-connection):
8299         Use `format-spec-make'.
8300         (tramp-find-foreign-file-name-handler)
8301         (tramp-advice-make-auto-save-file-name)
8302         (tramp-set-auto-save-file-modes): Remove superfluous check for
8303         `stringp'.  This is done inside `tramp-tramp-file-p'.
8304         (tramp-debug-outline-regexp): New defconst.
8305         (tramp-get-debug-buffer): Use it.
8306         (tramp-check-for-regexp): Use (forward-line 1).
8307         (tramp-set-auto-save-file-modes): Adapt version check.
8309         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
8310         Wrap call of `featurep' for 2nd argument.
8311         (tramp-compat-make-temp-file): Simplify fallback implementation.
8312         (tramp-compat-copy-tree): Remove function.
8313         (tramp-compat-delete-directory): Provide implementation for older
8314         Emacsen.
8316         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
8317         Do not use `tramp-fish-handle-file-attributes.
8319         * net/trampver.el: Update release number.
8321 2010-04-10  Glenn Morris  <rgm@gnu.org>
8323         * progmodes/compile.el (compilation-save-buffers-predicate):
8324         Add missing :version tag.
8326 2010-04-09  Sam Steingold  <sds@gnu.org>
8328         * progmodes/compile.el (compilation-save-buffers-predicate):
8329         Remove the "autoload" cookie.
8331         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
8332         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
8333         and `bug-reference-prog-mode' can be used in hooks directly.
8335 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
8337         Add --author support to git commit.
8338         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
8339         (vc-git-log-edit-mode): New minor mode.
8340         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
8341         New declarations.
8343 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
8345         * vc-hooks.el, vc-git.el: Improve documentation comments.
8347 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8349         Fix some of the problems in defsubst* (bug#5728).
8350         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
8351         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
8353 2010-04-07  Sam Steingold  <sds@gnu.org>
8355         * progmodes/compile.el (compilation-save-buffers-predicate):
8356         New custom variable.
8357         (compile, recompile): Pass it to `save-some-buffers'.
8359 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
8361         * wid-edit.el (widget-choose): Move cursor to the second line of
8362         the buffer (Bug#5695).
8364 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
8366         Add new VC methods: vc-log-incoming and vc-log-outgoing.
8367         * vc.el (vc-print-log-setup-buttons): New function split out from
8368         vc-print-log-internal.
8369         (vc-log-internal-common): New function, a parametrized version of
8370         vc-print-log-internal.
8371         (vc-print-log-internal): Just call vc-log-internal-common with the
8372         right arguments.
8373         (vc-incoming-outgoing-internal):
8374         (vc-log-incoming, vc-log-outgoing): New functions.
8375         (vc-log-view-type): New permanent local variable.
8377         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
8379         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
8380         of the dynamic bound vc-short-log.
8381         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
8383         * vc-git.el (vc-git-log-outgoing): New function.
8384         (vc-git-log-view-mode): Use vc-log-view-type instead
8385         of the dynamic bound vc-short-log.
8387         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
8388         of the dynamic bound vc-short-log.  Highlight the tag.
8389         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
8390         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
8391         (vc-hg-incoming-mode): Remove.
8392         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
8394 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
8396         Fix default-directory for vc-root-diff.
8397         * vc.el (vc-root-diff): Bind default-directory to the root
8398         directory for the diff command.
8400 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
8402         * progmodes/verilog-mode.el (verilog-forward-sexp):
8403         (verilog-calc-1): Support "disable fork" and "fork wait" multi
8404         word keywords, suggested by Steve Pearlmutter.
8405         (verilog-pretty-declarations): Support lineup of declarations in
8406         port lists.
8407         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
8408         fix bug for /* / comments.
8409         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
8410         Speed up and simplfy as this is never called with a bound.
8411         (verilog-pretty-declarations): Enhance to line up declarations
8412         inside a parameter list, suggested by Alan Morgan.
8413         (verilog-pretty-expr): Tune assignment regular expression match
8414         string for corner cases; also use markers instead of character
8415         number as indent changes the later.
8417 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
8419         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
8420         as missing keyword.
8421         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
8422         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
8423         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
8424         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
8425         Tennant.
8426         (verilog-keywords):
8427         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
8428         1800-2009 keywords, including "global.".
8430 2010-04-06  John Wiegley  <jwiegley@gmail.com>
8432         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
8433         appearing in buffer list (if a live buffer name matched a recentf
8434         file basename).  Should use uniquify to offer a real solution.
8436 2010-04-06  John Wiegley  <jwiegley@gmail.com>
8438         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
8439         comment to code, and add a :version tag.
8440         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
8442 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
8444         Enable recentf-mode if using virtual buffers.
8445         * ido.el (recentf-list): Declare for byte-compiler.
8446         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
8447         (ido-make-buffer-list): Simplify.
8448         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
8450 2010-04-05  Juri Linkov  <juri@jurta.org>
8452         Scrolling commands which scroll a line instead of full screen.
8453         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
8455         * simple.el (scroll-up-line, scroll-down-line): New commands.
8456         Put property isearch-scroll=t on them.
8458         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
8459         Remove commands.
8461 2010-04-05  Juri Linkov  <juri@jurta.org>
8463         Scrolling commands which do not signal errors at top/bottom.
8464         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
8466         * simple.el (scroll-up-command, scroll-down-command): New commands.
8467         Put property isearch-scroll=t on them.
8469         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
8470         `scroll-down-command' and [next] from `scroll-up' to
8471         `scroll-up-command'.
8473         * emulation/cua-base.el: Put property CUA=move on
8474         `scroll-up-command' and `scroll-down-command'.
8475         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
8476         and `scroll-down-command' to `cua-scroll-down'.
8478 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
8480         * help.el (describe-mode): Return nil.
8482 2010-04-04  John Wiegley  <jwiegley@gmail.com>
8484         * ido.el (ido-use-virtual-buffers): New variable to indicate
8485         whether "virtual buffer" support is enabled for IDO.
8486         (ido-virtual): Face used to indicate virtual buffers in the list.
8487         (ido-buffer-internal): If a buffer is chosen, and no such buffer
8488         exists, but a virtual buffer of that name does (which would be why
8489         it was in the list), recreate the buffer by reopening the file.
8490         (ido-make-buffer-list): If virtual buffers are being used, call
8491         `ido-add-virtual-buffers-to-list' before the make list hook.
8492         (ido-virtual-buffers): New variable which contains a copy of the
8493         current contents of the `recentf-list', albeit pared down for the
8494         sake of speed, and with proper faces applied.
8495         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
8496         create a list of "virtual buffers" to present to the user in
8497         addition to the currently open set.  Note that this logic could
8498         get rather slow if that list is too large.  With the default
8499         `recentf-max-saved-items' of 200, there is little speed penalty.
8501 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8503         * font-lock.el: Require CL when compiling.
8504         (font-lock-turn-on-thing-lock): Use `case'.
8506 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
8508         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
8509         Zaretskii.
8511 2010-04-02  Juri Linkov  <juri@jurta.org>
8513         * ehelp.el (electric-help-orig-major-mode):
8514         New buffer-local variable.
8515         (electric-help-mode): Set it to original major-mode.  Doc fix.
8516         (with-electric-help): Use `electric-help-orig-major-mode' instead
8517         of (default-value 'major-mode).  Doc fix.
8518         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
8520 2010-04-02  Sam Steingold  <sds@gnu.org>
8522         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
8523         `vc-hg-command' with a list of flags.
8525         * progmodes/bug-reference.el (bug-reference-bug-regexp):
8526         Also accept "patch" and "RFE".
8527         (bug-reference-fontify): `bug-reference-url-format' can also be a
8528         function to be able to handle the bug kind.
8529         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
8531 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
8533         * tmm.el (tmm-get-keymap): Check with symbolp before passing
8534         value to fboundp, it may not be a symbol.
8536 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
8538         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
8540 2010-03-31  Juri Linkov  <juri@jurta.org>
8542         * simple.el (next-line, previous-line): Re-throw a signal
8543         with `signal' instead of using `ding'.
8544         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
8546 2010-03-31  Juri Linkov  <juri@jurta.org>
8548         * simple.el (keyboard-escape-quit): Raise deselecting the active
8549         region higher than exiting the minibuffer.
8550         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
8552 2010-03-31  Juri Linkov  <juri@jurta.org>
8554         * image.el (image-animated-p): Use `image-metadata' instead of
8555         `image-extension-data'.  Get GIF extenstion data from metadata
8556         property `extension-data'.
8558 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8560         * simple.el (append-to-buffer): Simplify.
8562 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
8564         * textmodes/artist.el (artist-mode): Fix typo in docstring.
8565         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
8567 2010-03-31  Kenichi Handa  <handa@m17n.org>
8569         * language/sinhala.el (composition-function-table): Fix regexp for
8570         the new Unicode specification.
8572         * language/indian.el (devanagari-composable-pattern)
8573         (tamil-composable-pattern, kannada-composable-pattern)
8574         (malayalam-composable-pattern): Adjust for the new Unicode
8575         specification.
8576         (bengali-composable-pattern, gurmukhi-composable-pattern)
8577         (gujarati-composable-pattern, oriya-composable-pattern)
8578         (telugu-composable-pattern): New variables to cope with the new
8579         Unicode specification.  Use them in composition-function-table.
8581 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8583         Make tmm-menubar work for the Buffers menu again (bug#5726).
8584         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
8585         vectors rather than cons cells, as used in menu-bar-update-buffers.
8587 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
8589         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
8590         (js-insert-and-indent): Revert 2009-08-15 change, restoring
8591         electric punctuation for "{}();,:" (Bug#5586).
8593         * mail/sendmail.el (mail-default-directory): Doc fix.
8595 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
8597         * mail/sendmail.el (mail-default-directory): Doc fix.
8599 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
8601         * subr.el (version-regexp-alist, version-to-list)
8602         (version-list-<, version-list-=, version-list-<=)
8603         (version-list-not-zero, version<, version<=, version=): Doc fix.
8604         (Bug#5744).
8606 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
8608         * vc.el (vc-root-diff): Doc fix.
8610 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
8612         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
8614         * simple.el (append-to-buffer): Fix last change.
8616 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
8618         * simple.el (append-to-buffer): Ensure that point is preserved if
8619         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
8620         (Bug#5749)
8622 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8624         * files.el (auto-mode-case-fold): Change default to t.
8626 2010-03-30  Juri Linkov  <juri@jurta.org>
8628         * dired-x.el (dired-omit-mode): Doc fix.
8630 2010-03-30  Juri Linkov  <juri@jurta.org>
8632         * replace.el (occur-accumulate-lines): Move occur-engine related
8633         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
8634         to be located after `occur-engine'.
8636 2010-03-30  Juri Linkov  <juri@jurta.org>
8638         Make occur handle multi-line matches cleanly with context.
8639         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
8641         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
8642         (occur-engine): Add local variables `ret', `prev-after-lines',
8643         `prev-lines'.  Use more arguments for `occur-context-lines'.
8644         Set first elem of its returned list to `data', and the second elem
8645         to `prev-after-lines'.  Don't print the separator line.
8646         In the end, print remaining context after-lines.
8647         (occur-context-lines): Add new arguments `begpt', `endpt',
8648         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
8649         after-lines of the previous match with before-lines of the
8650         current match and not overlap them.  Return a list with two
8651         values: the output line and the list of context after-lines.
8653 2010-03-30  Juri Linkov  <juri@jurta.org>
8655         * replace.el (occur-accumulate-lines): Fix a bug where the first
8656         context line at the beginning of the buffer was missing.
8658 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
8660         * files.el: Make bidi-display-reordering safe variable for boolean
8661         values.
8663 2010-03-29  Phil Hagelberg  <phil@evri.com>
8664             Chong Yidong  <cyd@stupidchicken.com>
8666         * subr.el: Extend progress reporters to perform "spinning".
8667         (progress-reporter-update, progress-reporter-do-update):
8668         Handle non-numeric value arguments.
8669         (progress-reporter--pulse-characters): New var.
8671 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
8673         * progmodes/compile.el (compilation-start): Fix regexp detection
8674         of initial cd command (Bug#5771).
8676 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
8678         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
8680 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
8682         Restore GDB/MI fuctionality removed by r99212.
8683         * progmodes/gdb-mi.el: Restore.
8684         * progmodes/gdb-ui.el: Remove.
8685         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
8687 2010-03-25  Glenn Morris  <rgm@gnu.org>
8689         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
8690         all dired buffers, even tramp ones.  (Bug#5755)
8692 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8694         Add "union tags" in mpc.el.
8695         * mpc.el: Remove backward compatibility code.
8696         (mpc-browser-tags): Change default.
8697         (mpc--find-memoize-union-tags): New var.
8698         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
8699         (mpc-cmd-find): Handle the case where the playlist does not exist.
8700         Handle union-tags.
8701         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
8702         (mpc-cmd-add): Use mpc-cmd-flush.
8703         (mpc-tagbrowser-tag-name): New fun.
8704         (mpc-tagbrowser-buf): Use it.
8705         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
8707 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8709         Misc cleanup.
8710         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
8711         Use replace-regexp-in-string.
8712         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
8713         (makefile-imake-mode-syntax-table): Move init into defvar.
8714         (makefile-mode): Use define-derived-mode.
8716         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
8717         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
8718         not be present any more.
8720 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
8722         * faces.el (set-face-attribute): Fix typo in docstring.
8723         (face-valid-attribute-values): Reflow docstring.
8725 2010-03-24  Glenn Morris  <rgm@gnu.org>
8727         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
8729 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
8731         * indent.el (indent-for-tab-command): Doc fix.
8733 2010-03-24  Alan Mackenzie  <acm@muc.de>
8735         * progmodes/cc-engine.el (c-remove-stale-state-cache):
8736         Fix off-by-one error.  Fixes bug #5747.
8738 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
8740         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
8741         (image-dired-read-comment): Doc fix.
8743         * json.el (json-object-type, json-array-type, json-key-type)
8744         (json-false, json-null, json-read-number):
8745         * minibuffer.el (completion-in-region-functions):
8746         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
8747         (cal-tex-cursor-week):
8748         * emacs-lisp/trace.el (trace-function):
8749         * eshell/em-basic.el (eshell/printnl):
8750         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
8751         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
8752         * obsolete/levents.el (allocate-event, event-key, event-object)
8753         (event-point, event-process, event-timestamp, event-to-character)
8754         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
8755         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
8756         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
8757         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
8758         (reftex-highlight-selection): Fix typos in docstrings.
8760 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
8762         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
8764 2010-03-24  Glenn Morris  <rgm@gnu.org>
8766         * mail/rmail.el (rmail-highlight-face): Restore option deleted
8767         2008-02-13 without comment; mark it obsolete.
8768         (rmail-highlight-headers): Use rmail-highlight-face once more.
8770 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
8772         * woman.el (woman2-process-escapes): Only consume the newline if
8773         the filler character is on a line by itself (Bug#5729).
8775 2010-03-24  Kenichi Handa  <handa@m17n.org>
8777         * language/indian.el (devanagari-composable-pattern): Add more
8778         consonants.
8780 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
8782         * net/trampver.el: Update release number.
8784 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
8786         * net/tramp.el (tramp-find-executable):
8787         Use `tramp-get-connection-buffer'.  Make the regexp for checking
8788         output of "wc -l" more robust.
8789         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
8790         (tramp-open-connection-setup-interactive-shell): Remove workaround
8791         for OpenSolaris bug, it is not needed anymore.
8793 2010-03-24  Glenn Morris  <rgm@gnu.org>
8795         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
8797 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
8799         * files.el (auto-mode-alist): Accept more verilog file patterns.
8801 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8803         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
8805 2010-03-24  Glenn Morris  <rgm@gnu.org>
8807         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
8808         log-edit-before-checkin-process.
8810         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
8812         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
8814         * vc-dispatcher.el (vc-start-logentry): Doc fix.
8815         (log-view-process-buffer, log-edit-extra-flags): Declare.
8817         * log-edit.el (log-edit-before-checkin-process): Doc fix.
8819 2010-03-23  Sam Steingold  <sds@gnu.org>
8821         Fix bug#5620: recalculate all markers on compilation buffer
8822         modifications, not on file modifications.
8823         * progmodes/compile.el (buffer-modtime): New buffer-local variable:
8824         the buffer modification time, for buffers not associated with files.
8825         (compilation-mode): Create it.
8826         (compilation-filter): Update it.
8827         (compilation-next-error-function): Use it instead of
8828         `visited-file-modtime' for timestamp.
8830 2010-03-23  Juri Linkov  <juri@jurta.org>
8832         Implement Occur multi-line matches.
8833         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
8835         * replace.el (occur): Doc fix.
8836         (occur-engine): Set `begpt' to the beginning of the first line.
8837         Set `endpt' to the end of the last match line.  At first, count
8838         line numbers between `origpt' and `begpt'.  Split out code from
8839         `out-line' variable to new let-bindings `match-prefix' and
8840         `match-str'.  In `out-line' add non-numeric prefix to all
8841         non-first lines of multi-line matches.  Finally, count lines
8842         between `begpt' and `endpt' and add to `lines'.
8844 2010-03-23  Juri Linkov  <juri@jurta.org>
8846         * replace.el (occur-accumulate-lines, occur-engine):
8847         Use `occur-engine-line' instead of duplicate code.
8848         (occur-engine-line): New function created from duplicate code
8849         in `occur-accumulate-lines' and `occur-engine'.
8851         * replace.el (occur-engine-line): Add optional arg `keep-props'.
8852         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
8854 2010-03-23  Juri Linkov  <juri@jurta.org>
8856         * finder.el: Remove TODO tasks.
8858         * info.el (Info-finder-find-node): Add node "all"
8859         with all package info.  Handle a list of multiple keywords
8860         separated by comma.
8861         (info-finder): In interactive use with a prefix argument,
8862         use `completing-read-multiple' to read a list of keywords
8863         separated by comma.
8865 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8867         Add a new completion style `substring'.
8868         * minibuffer.el (completion-basic--pattern): New function.
8869         (completion-basic-try-completion, completion-basic-all-completions):
8870         Use it.
8871         (completion-substring--all-completions)
8872         (completion-substring-try-completion)
8873         (completion-substring-all-completions): New functions.
8874         (completion-styles-alist): New style `substring'.
8876 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8878         Get rid of .elc files after removal of the corresponding .el.
8879         * Makefile.in (compile-clean): New target.
8880         (compile-main): Use it.
8882 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
8884         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
8885         don't do make there.  When compiling with separate object dir, there
8886         is no Makefile there.
8888 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8890         Get rid of the ELCFILES abomination, again.
8891         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
8892         (all, compile): Don't call compile-last.
8893         (compile-main): Build the "elcfiles" list dynamically.
8894         (compile-targets): New (internal) target.
8896 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
8898         * Makefile.in (top_srcdir): Define.
8899         (abs_top_builddir): Define.
8900         (srcdir): Don't append `/..'.
8901         (EMACS): Use ${abs_top_builddir}.
8902         (all, compile, compile-always, compile-last): Don't set emacswd.
8903         (update-subdirs, update-authors): Use $(top_srcdir) instead of
8904         $(srcdir).
8905         (lisp): Use $(srcdir) instead of @srcdir@.
8907 2010-03-21  Juri Linkov  <juri@jurta.org>
8909         Fix message of multi-line occur regexps and multi-buffer header lines.
8910         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
8912         * replace.el (occur-1): Don't display regexp if it is longer
8913         than window-width.  Use `query-replace-descr' to display regexp.
8914         (occur-engine): Don't display regexp in the buffer header for
8915         multi-buffer occur.  Display a separate header line with total
8916         match count and regexp for multi-buffer occur.
8917         Use `query-replace-descr' to display regexp.
8919 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
8921         * net/secrets.el: Fix parenthesis.
8922         (secrets-enabled): Fix parenthesis.
8924 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8926         Use more relative file and directory names.
8927         * Makefile.in (EMACS): Arrange for it to work when we chdir.
8928         (setwins, setwins_almost, setwins_for_subdirs):
8929         Don't `cd'; output relative names.
8930         (all, compile, compile-always, compile-last): Set emacswd.
8931         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
8932         Just cd to the lisp source dir so we can use relative file names.
8934         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
8936 2010-03-20  Glenn Morris  <rgm@gnu.org>
8938         * textmodes/rst.el: Use faces for font-lock customization, and make the
8939         old -face variables obsolete.
8940         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
8941         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
8942         (rst-block-face, rst-external-face, rst-definition-face)
8943         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
8944         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
8945         Make obsolete.
8946         (rst-font-lock-keywords-function): Update for above changes.
8948 2010-03-20  Juri Linkov  <juri@jurta.org>
8950         * s-region.el:
8951         * obsolete/s-region.el: Move to obsolete.
8953 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
8955         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
8957 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
8959         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
8961 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
8963         Add special markup processing for commit logs.
8964         * log-edit.el (log-edit-extra-flags): New variable.
8965         (log-edit): Add new argument MODE.  Use that mode when non-nil
8966         instead of the log-view-mode.
8967         (log-view-process-buffer): New function.
8969         * vc.el: Document that the checkin method takes optional
8970         arguments.  Document new backend specific method: log-view-mode.
8971         (vc-default-log-edit-mode): New function.
8972         (vc-checkin): Use a backend specific log-view-mode.
8973         Pass extra arguments to the checkin method.
8974         (vc-modify-change-comment): Pass a dummy extra argument.
8976         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
8977         log-edit.
8978         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
8979         (vc-finish-logentry): Process the log buffer before passing it
8980         down.  Pass log-edit-extra-flags.
8982         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
8983         command.
8984         (log-edit-extra-flags, log-edit-before-checkin-process):
8985         New declarations.
8987         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
8988         command.
8989         (log-edit-extra-flags, log-edit-before-checkin-process):
8990         New declarations.
8991         (vc-hg-log-edit-mode): New derived mode.
8993         * vc-arch.el (vc-arch-checkin):
8994         * vc-cvs.el (vc-cvs-checkin):
8995         * vc-git.el (vc-git-checkin):
8996         * vc-mtn.el (vc-mtn-checkin):
8997         * vc-rcs.el (vc-rcs-checkin):
8998         * vc-sccs.el (vc-sccs-checkin):
8999         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
9001 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9003         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
9004         parent typo).
9006 2010-03-19  Glenn Morris  <rgm@gnu.org>
9008         * password-cache.el (password-cache, password-cache-expiry): Autoload.
9010 2010-03-18  Glenn Morris  <rgm@gnu.org>
9012         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
9014         * replace.el (query-replace-history): Give it a doc string.
9015         (map-query-replace-regexp): Use query-replace-from-history-variable
9016         and query-replace-to-history-variable.
9018         * mail/hashcash.el (declare-function): Remove duplicate definition.
9020         * mail/emacsbug.el (report-emacs-bug-pretest-address):
9021         Make it an obsolete alias for report-emacs-bug-address.
9022         (message-strip-special-text-properties): Declare.
9023         (report-emacs-bug): Remove test for a pretest bug address.
9024         Combine message-mode-specific code.
9026         * mail/supercite.el: Don't require sendmail.
9027         (mh-in-header-p): Declare rather than using with-no-warnings.
9028         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
9029         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
9031         * calendar/cal-french.el: Convert to utf-8.
9033         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
9034         Emacs scripts.
9036 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
9038         * net/secrets.el (secrets-enabled): New variable.  Use it instead
9039         of a subfeature.
9041 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
9043         * net/secrets.el (top): Register the D-Bus signals only when the
9044         service "org.freedesktop.secrets" can be pinged.
9045         Provide subfeature `enabled'.
9047 2010-03-14  Juri Linkov  <juri@jurta.org>
9049         Add finder unknown keywords.
9051         * finder.el (finder-unknown-keywords): New function.
9053         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
9054         to create a Finder node with unknown keywords.
9056 2010-03-14  Juri Linkov  <juri@jurta.org>
9058         * finder.el (finder-compile-keywords): Replace `princ' with
9059         `prin1' on a list of symbols interned from keyword strings.
9061         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
9062         a comma, then split keywords using a comma and optional whitespace.
9063         Otherwise, split by whitespace.
9065         * complete.el:
9066         * face-remap.el:
9067         * log-view.el:
9068         * net/hmac-def.el:
9069         * net/hmac-md5.el:
9070         * net/netrc.el:
9071         * progmodes/mixal-mode.el: Fix keywords.
9073 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
9075         * Makefile.in (ELCFILES): Add net/secrets.elc.
9077         * net/secrets.el: New file.
9079 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
9081         * facemenu.el (list-colors-display, list-colors-print): New arg
9082         callback.  Use it to allow selecting colors.
9084         * wid-edit.el (widget-image-insert): Insert image prop even if the
9085         current display is non-graphic.
9086         (widget-field-value-set): New fun.
9087         (editable-field): Use it.
9088         (widget-field-value-get): Clean up unused var.
9089         (widget-color-value-create, widget-color--choose-action):
9090         New funs.  Allow using list-colors-display to choose color.
9092 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
9094         * cus-edit.el: Resort topmost custom groups.
9095         (custom-buffer-sort-alphabetically): Default to t.
9096         (customize-apropos): Use apropos-parse-pattern.
9097         (custom-search-field): New var.
9098         (custom-buffer-create-internal): Add custom-apropos search field.
9099         (custom-add-parent-links): Don't display parent doc.
9100         (custom-group-value-create): Don't sort top-level custom group.
9101         (custom-magic-value-create): Show visibility button before option name.
9103         (custom-variable-state): New fun, from custom-variable-state-set.
9104         (custom-variable-state-set): Use it.
9105         (custom-group-value-create): Hide options with standard values
9106         using the :hidden-states property.  Use progress reporter.
9108         (custom-show): Simplify.
9109         (custom-visibility): Disable images by default.
9110         (custom-variable): New property :hidden-states.
9111         (custom-variable-value-create): Enable images for
9112         custom-visibility widgets.  Use :hidden-states property to
9113         determine initial visibility.
9115         * wid-edit.el (widget-image-find): Give images center ascent.
9116         (visibility): Add :on-image and :off-image properties.
9117         (widget-visibility-value-create): Use them.
9119 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
9121         * cus-edit.el (processes): Remove from development group.
9122         (oop, hypermedia): Delete group.
9123         (comm): Promote to top-level group.
9125         * net/browse-url.el (browse-url):
9126         * net/xesam.el (xesam):
9127         * net/tramp.el (tramp):
9128         * net/goto-addr.el (goto-address):
9129         * net/ange-ftp.el (ange-ftp): Put in comm group.
9131         * view.el (view): Remove from editing group.
9133         * uniquify.el (uniquify): Put in files group.
9135         * net/browse-url.el (browse-url):
9136         * ps-print.el (postscript): Put in external group.
9138         * cus-edit.el (outlines):
9139         * textmodes/text-mode.el (text-mode-hook):
9140         * textmodes/table.el (table):
9141         * textmodes/picture.el (picture):
9142         * outline.el (outlines): Put in wp group.
9144         * nxml/nxml-mode.el (nxml): Remove from wp group.
9146         * net/tramp-imap.el (tramp-imap): Put in tramp group.
9148         * mail/metamail.el (metamail): Remove from hypermedia group.
9150         * cus-edit.el (abbrev):
9151         * whitespace.el (whitespace):
9152         * vcursor.el (vcursor):
9153         * reveal.el (reveal):
9154         * hl-line.el (hl-line): Put in convenience group.
9156         * epg-config.el (epg): Put in data group.
9158         * emulation/pc-select.el (pc-select): Put in emulations group.
9160         * calculator.el (calculator): Put in applications group.
9162 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
9164         Add .dir-locals.el support for file-less buffers.
9165         * files.el (hack-local-variables): Split out code to apply local
9166         variable settings ...
9167         (hack-local-variables-apply): ... here.  New function.
9168         (hack-dir-local-variables): Use the default directory for when the
9169         buffer does not have an associated file.
9170         (hack-dir-local-variables-non-file-buffer): New function.
9171         * diff-mode.el (diff-mode):
9172         * vc-annotate.el (vc-annotate-mode):
9173         * vc-dir.el (vc-dir-mode):
9174         * log-edit.el (log-edit-mode):
9175         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
9177 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
9179         Add support for shelving snapshots and for showing shelves.
9180         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
9181         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
9182         New functions.
9183         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
9184         (vc-bzr-extra-menu-map): Map them.
9186 2010-03-11  Glenn Morris  <rgm@gnu.org>
9188         * cus-edit.el (customize-changed-options-previous-release):
9189         Bump to 23.1.
9191         * image.el (image-animate-max-time): Fix :version tag.
9193 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
9195         * Branch for 23.2.
9197 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9199         * vc-git.el (vc-git-revision-table): Include remote branches.
9201 2010-03-10  Kim F. Storm  <storm@cua.dk>
9203         Animated image API.
9204         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
9206         * image.el (image-animate-max-time): New defcustom.
9207         (image-animated-types): New defconst.
9208         (create-animated-image, image-animate-timer)
9209         (image-animate-start, image-animate-stop, image-animate-timeout)
9210         (image-animated-p): New functions.
9212         * image-mode.el (image-toggle-display-image):
9213         Replace `create-image' with `create-animated-image'.
9215 2010-03-09  Miles Bader  <miles@gnu.org>
9217         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
9218         instead of "format:"; this ensures that the output is
9219         newline-terminated.
9221 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
9223         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
9224         that all errors are caught, and that the return value is always a
9225         list (Bug#5692).
9227 2010-03-08  Kenichi Handa  <handa@m17n.org>
9229         * language/misc-lang.el (windows-1256): New coding system.
9230         (cp1256): New alias of windows-1256 (bug#5690).
9232 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
9234         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
9235         call to rfc822-bad-address.  (Bug#5692)
9237 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
9239         * vc-git.el (vc-git-annotate-extract-revision-at-line):
9240         Use vc-git-root as default directory for revision path (Bug#5657).
9242 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
9244         * calculator.el (calculator): Don't bind split-window-keep-point
9245         (Bug#5674).
9247 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9249         * vc-git.el: Re-flow to fit into 80 columns.
9250         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
9251         Remove spurious `quote' element in each case alternative.
9252         (vc-git-show-log-entry): Use prog1.
9253         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
9255 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9257         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
9259 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
9261         * macros.el (insert-kbd-macro): Look up keyboard macro using the
9262         definition, not the name (Bug#5481).
9264 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
9266         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
9267         argument with a local variable.  (Bug#5670)
9269 2010-03-02  Juri Linkov  <juri@jurta.org>
9271         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
9273 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
9275         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
9276         error when FILENAME and NEWNAME are existing remote directories.
9278         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
9279         parameter DIR-FLAG.
9281 2010-03-02  Glenn Morris  <rgm@gnu.org>
9283         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
9284         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
9286 2010-03-01  Kenichi Handa  <handa@m17n.org>
9288         * language/burmese.el (burmese-composable-pattern): Rename from
9289         myanmar-composable-pattern.
9291         * international/characters.el (script-list):
9292         * international/fontset.el (script-representative-chars):
9293         Change myanmar to burmese.
9294         (otf-script-alist): Likewise.
9295         (setup-default-fontset): Likewise.  Re-fix :otf spec.
9297 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
9299         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
9301 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
9303         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
9305 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
9307         * net/tramp.el (tramp-handle-write-region): START can be a string.
9308         Take care in the checks.  Reported by Dan Davison
9309         <davison@stats.ox.ac.uk>.
9311 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
9313         * net/dbus.el (dbus-introspect, dbus-get-property)
9314         (dbus-set-property, dbus-get-all-properties):
9315         Use `dbus-call-method' when noninteractive.  (Bug#5645)
9317 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
9319         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
9320         * emacs-lisp/elint.el (elint-add-required-env):
9321         * calendar/icalendar.el (icalendar--add-diary-entry):
9322         * calc/calcalg2.el (math-tracing-integral):
9323         * files.el (recover-session-finish): Use with-current-buffer
9324         instead of save-excursion.
9326 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9328         Fix in-buffer completion when after-change-functions modify the buffer.
9329         * minibuffer.el (completion--replace): New function.
9330         (completion--do-completion): Use it and use relative movement.
9332 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
9334         * international/fontset.el (setup-default-fontset): Fix :otf spec.
9336 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
9338         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
9339         Allow the characters _<> in the stack entry (Bug#5653).
9341 2010-02-26  Kenichi Handa  <handa@m17n.org>
9343         * language/burmese.el: Fix entries in composition-function-table.
9344         (myanmar-composable-pattern): New variable.
9346         * international/fontset.el (setup-default-fontset): Add an entry
9347         for myanmar.
9349         * international/characters.el (script-list): Add Myanmar
9350         Extended-A.
9352 2010-02-26  Glenn Morris  <rgm@gnu.org>
9354         * custom.el (custom-initialize-delay): Doc fix.
9356         * mail/sendmail.el (send-mail-function): Autoload the call
9357         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
9359 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
9361         * files.el (hack-local-variables-filter): For eval forms, also
9362         check safe-local-variable-p (Bug#5636).
9364 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
9366         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
9367         setting the modes by `ignore-errors'.  It might fail, for example
9368         if the file is not owned by the user but the group.
9369         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
9371 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
9373         * files.el (directory-listing-before-filename-regexp):
9374         Use stricter matching for iso-style dates, to avoid false matches with
9375         date-like filenames (Bug#5597).
9377         * htmlfontify.el (htmlfontify): Doc fix.
9379         * eshell/eshell.el (eshell): Doc fix.
9381         * startup.el (fancy-about-screen): In mode-line, apply
9382         mode-line-buffer-id face only to the buffer name (Bug#5613).
9384 2010-02-20  Kevin Ryde  <user42@zip.com.au>
9386         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9387         In `watcom' anchor regexp to start of line, to avoid slowness
9388         (Bug#5599).
9390 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
9392         * subr.el (remove-yank-excluded-properties): Explain in a comment
9393         why `category' property is removed.
9395 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
9397         * isearch.el (isearch-update-post-hook, isearch-update):
9398         Revert 2010-02-17 change.
9400 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
9402         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
9403         (icalendar--convert-weekly-to-ical)
9404         (icalendar--convert-yearly-to-ical)
9405         (icalendar--convert-block-to-ical)
9406         (icalendar--convert-cyclic-to-ical)
9407         (icalendar--convert-anniversary-to-ical): Take care of time
9408         specifications where hour has 1-digit only (Bug#5549).
9410 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
9412         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
9413         of disassemble output in GDB 7.1.
9415 2010-02-19  Glenn Morris  <rgm@gnu.org>
9417         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
9418         property.  (Bug#5593)
9420 2010-02-18  Sam Steingold  <sds@gnu.org>
9422         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
9424 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9426         Use abbreviated file names in bookmarks (bug#5591).
9427         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
9428         calls to expand-file-name.
9429         (bookmark-relocate): Use abbreviated file names in bookmarks.
9430         (bookmark-load): Use abbreviated file names in messages.
9432 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
9434         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
9435         expand "." and "..".  Reported by Thierry Volpiatto
9436         <thierry.volpiatto@gmail.com>.
9438 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
9440         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
9441         permissions of the temporary file to "0600".  In case the remote
9442         file has no read permissions for the owner, there might be
9443         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
9445 22010-02-18  Glenn Morris  <rgm@gnu.org>
9447         * emacs-lisp/authors.el (authors-renamed-files-alist):
9448         Add entries for INSTALL.CVS.
9450 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
9452         * vc-bzr.el: Fix typo in Known Bugs section.
9454         * isearch.el (isearch-update-post-hook): New hook.
9455         (isearch-update): Use the new hook.
9457 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
9459         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
9460         Fix errors in copying directories.
9461         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
9462         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
9463         (tramp-handle-delete-file)
9464         (tramp-handle-dired-recursive-delete-directory)
9465         (tramp-handle-write-region): Flush also the cache for the upper
9466         directory.
9468 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
9470         * simple.el (save-interprogram-paste-before-kill): Doc fix.
9472         * cus-edit.el (hardware): Doc fix.
9474         * man.el (man): Add to external custom group.
9476         * delim-col.el (columns): Move to wp custom group.
9478         * doc-view.el (doc-view): Add to data custom group.
9480         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
9482         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
9483         by ispell-parse-output (Bug#5575).
9485 2010-02-16  Kenichi Handa  <handa@m17n.org>
9487         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
9488         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
9489         (skkdic-convert): Use `euc-japan' coding system for writing.
9491 2010-02-16  Glenn Morris  <rgm@gnu.org>
9493         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
9494         tex-main-file before using it.  (Bug#5562)
9496 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9498         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
9499         warnings, since it is annoying for the user to see them each time he
9500         runs the code.
9502 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
9504         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
9505         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
9506         instead of PROC for caching "first-password-request".  Otherwise,
9507         new processes would not profit from passwords already entered.
9509         * net/tramp-cache.el (tramp-dump-connection-properties):
9510         Don't save "first-password-request" property.
9512 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
9514         * outline.el (outline-head-from-level):
9515         * simple.el (with-wrapper-hook):
9516         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
9517         (elint-defun, elint-buffer-env, elint-top-form-logged)
9518         (elint-unbound-variable):
9519         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
9520         Fix typos in docstrings.
9522 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
9524         * files.el (insert-directory): When WILDCARD-REGEXP and
9525         FULL-DIRECTORY-P are nil, insert the file entry instead of the
9526         whole directory.  (Bug#5551)
9528         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
9529         dired's alignment sanity.  (Bug#5516)
9531 2010-02-14  Juri Linkov  <juri@jurta.org>
9533         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
9534         Remove remaining ^H with their preceding chars.  (Bug#5566)
9536 2010-02-13  Glenn Morris  <rgm@gnu.org>
9538         * simple.el (transpose-subr): Give it a doc-string.
9540         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
9541         Doc fixes.
9543 2010-02-12  Juri Linkov  <juri@jurta.org>
9545         * arc-mode.el (archive-unique-fname): Make directories for nested
9546         archives.  (Bug#5540)
9548 2010-02-12  Juri Linkov  <juri@jurta.org>
9550         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
9552 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9554         * subr.el (copy-overlay): Handle deleted overlays.
9556         * man.el (Man-completion-table): Don't signal an error if we can't run
9557         manual-program (bug#4056).
9559 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
9561         * textmodes/artist.el (artist-mt): Fix typos in docstring.
9563 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9565         * info.el (Info-bookmark-jump): Simplify.
9567         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
9568         (bookmark-default-handler): Accept new bookmark field `buffer'.
9570 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
9572         * iswitchb.el (iswitchb-completions): Revert last change.
9574 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
9576         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
9577         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
9578         This prevents file names like "~/" being listed literally.
9580 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
9582         * term/xterm.el (xterm-maybe-set-dark-background-mode):
9583         Remove dead code.  (Bug#5546)
9585 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
9587         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
9588         correctly (Bug#5548).
9590 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
9592         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
9593         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
9595 2010-02-08  Kenichi Handa  <handa@m17n.org>
9597         * international/mule-util.el (with-coding-priority): Add autoload
9598         cookie for putting `lisp-indent-function'.
9600 2010-02-07  Glenn Morris  <rgm@gnu.org>
9602         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
9603         Move F2003 named interfaces from keywords-2 to keywords-1, and
9604         use function-name-face rather than constant-face.
9605         Simplify "abstract interface" regexp.
9607 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
9609         * eshell/esh-util.el (eshell-file-attributes): New optional arg
9610         ID-FORMAT.  Pass it to `file-attributes'.
9612         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
9614 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
9616         * faces.el (set-face-attribute): Allow calling
9617         internal-set-lisp-face-attribute with 'unspecified family and
9618         foundry argument (Bug#5536).
9620 2010-02-07  Glenn Morris  <rgm@gnu.org>
9622         * progmodes/f90.el (f90-font-lock-keywords-2)
9623         (f90-looking-at-type-like, f90-looking-at-program-block-end):
9624         Handle F2003 named interfaces.
9626 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
9628         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
9629         beg and end before calling c-get-state-before-change-functions.
9631 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
9633         * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
9635 2010-02-05  Juri Linkov  <juri@jurta.org>
9637         * doc-view.el (doc-view-mode):
9638         * image-mode.el (image-mode): Put property mode-class=special.
9639         (Bug#4896)
9641 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
9643         * vc-svn.el (vc-svn-revision-table): New function.
9645 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
9647         * net/ange-ftp.el (ange-ftp-insert-directory):
9648         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
9649         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
9650         Handle also directories.  (Bug#5478)
9652 2010-02-05  Glenn Morris  <rgm@gnu.org>
9654         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
9656 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
9658         * startup.el (command-line-1): Convert options beginning with a
9659         single dash as well (Bug#5519).
9661 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9663         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
9664         * minibuffer.el (completion-initials-expand): Only check the presence
9665         of delims *within* the boundaries, since otherwise the / delim is
9666         always found for files.
9668         Fix up various corner case problems.
9669         * doc-view.el (doc-view-last-page-number): New function.
9670         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
9671         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
9672         (doc-view-kill-proc): Avoid inf-loop in freak cases.
9673         (doc-view-reconvert-doc): Use the new recursive delete-directory.
9674         (doc-view-convert-current-doc): Don't create the resolution.el file
9675         here any more.
9676         (doc-view-pdf/ps->png): Do it here instead.
9677         (doc-view-already-converted-p): Check that resolution.el is present.
9678         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
9679         windows that are not yet showing images.
9681 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
9683         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
9684         `dired-uncache' for every elemnt which is an absolute file name.
9686         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
9687         directory, handle its directory component.
9688         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
9689         function is called permanently and creates noise, otherwise.
9691         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
9692         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
9693         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
9695 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
9697         * macros.el (apply-macro-to-region-lines):
9698         Minor simplification.  (Bug#5485)
9700 2010-02-04  Glenn Morris  <rgm@gnu.org>
9702         * mail/rmail.el (rmail-show-message-1): Handle malformed
9703         quoted-printable text.  (Bug#5441)
9705         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
9707         * simple.el (visual-line-mode): Capitalize lighter.
9709 2010-02-03  John Wiegley  <jwiegley@gmail.com>
9711         * iswitchb.el (iswitchb-completions): Add bookmark files to the
9712         list of files considered for "virtual buffer" completions.
9714 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
9716         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
9717         also in case of (and (not full) (not wildcard)).  This is needed
9718         when dired is called with a list of files, which are not in
9719         `default-directory'.  (Bug#5478)
9721 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9723         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
9725 2010-02-02  Juri Linkov  <juri@jurta.org>
9727         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
9728         from unidiff to allow function-line after @@.
9730 2010-02-02  Juri Linkov  <juri@jurta.org>
9732         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
9733         '(RCS SCCS) with inverted condition.
9735 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
9737         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
9738         messages.
9740 2010-02-01  Juri Linkov  <juri@jurta.org>
9742         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
9743         compare with "pkunzip" and "pkzip" instead of only "pkzip".
9744         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
9745         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
9747 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9749         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
9750         (doc-view-revert-buffer): New command.
9751         (doc-view-mode-map): Use it.
9753 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
9755         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
9756         pending merge is detected.
9758 2010-01-31  Juri Linkov  <juri@jurta.org>
9760         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
9761         beginning of interactive spec like all other grep commands do.
9762         Put "all" in front of "gz".  (Bug#5260)
9764 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
9766         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
9768 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
9770         * dirtrack.el (dirtrack): Warn instead of signalling error if the
9771         regexp is incorrect (Bug#5476).
9773 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
9775         * net/tramp.el (tramp-handle-insert-directory): Handle also
9776         symlinks, when FILENAME is not in `default-directory'.
9778 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
9780         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
9781         FILE is not in `default-directory'.  (Bug#5478)
9783         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
9784         of SWITCHES.  Handle the case, FILENAME is not in
9785         `default-directory'.  (Bug#5478)
9786         (tramp-register-file-name-handlers): Add safe-magic property.
9788 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
9790         * arc-mode.el (archive-zip-extract): Quote the argument passed to
9791         unzip (Bug#5475).
9793 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
9795         * progmodes/flymake.el (flymake-allowed-file-name-masks)
9796         (flymake-master-make-header-init): Add other C++ filename masks.
9797         (flymake-find-possible-master-files)
9798         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
9800 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
9802         Fix some busybox annoyances.
9804         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
9805         not responding." string.
9806         (tramp-open-connection-setup-interactive-shell): Dump stty
9807         settings.  Enable "neveropen" arg for all `tramp-send-command'
9808         calls.  Handle "=" in variable values properly.
9809         (tramp-find-inline-encoding): Raise an error, when no encoding is
9810         found.
9811         (tramp-wait-for-output): Check, whether PROC buffer is available.
9812         Remove spurious " ^H" sequences, sent by busybox.
9813         (tramp-get-ls-command): Suppress coloring, if possible.
9815 2010-01-28  Glenn Morris  <rgm@gnu.org>
9817         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
9819         * log-edit.el (log-edit-strip-single-file-name): Add missing
9820         :safe, :group, and :version tags.
9822 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
9824         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
9825         buffers.  (Bug#5477)
9827 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
9829         * files.el (delete-directory): Handle moving to trash without
9830         first doing recursion (Bug#5436).
9832 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
9834         * vc-hooks.el (vc-path): Mark as obsolete.
9836 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
9838         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
9839         names too.
9841         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
9842         for the short log.
9843         (vc-bzr-log-view-mode): Adjust regexp for the above change.
9845 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
9847         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
9849         * vc-bzr.el (vc-bzr-revision-table): New function.
9851 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>
9853         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
9854         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
9856 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
9858         Remove support for adding --signoff on commit.
9859         Future support will use an incompatible generic mechanism.
9860         * vc-git.el (vc-git-add-signoff): Remove variable.
9861         (vc-git-toggle-signoff): Remove function.
9862         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
9864         * term/xterm.el (xterm-maybe-set-dark-background-mode):
9865         Rename from xterm-set-background-mode.  Return t if the background mode
9866         was set.
9867         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
9868         earlier, call it again in case the background mode has changed.
9870 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
9872         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
9873         (Bug#3541).
9875 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
9877         * emacs-lisp/assoc.el (aelement): Doc fix.
9878         (aput, adelete, amake): Use lexical-let (Bug#5450).
9880 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
9882         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
9883         is the same as subprogram call, not declaration.  (Bug#5435).
9885 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
9887         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
9888         (tramp-smb-maybe-open-connection): Use it.
9890 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
9892         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
9894 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9896         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
9897         just because we see "encoding: 8bit".
9898         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
9900 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
9902         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
9904 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
9906         * jka-compr.el (jka-compr-load): If load-file is not in
9907         load-history, try its file-truename version.  (bug#5447)
9909 2010-01-21  Alan Mackenzie  <acm@muc.de>
9911         Fix a situation where deletion of a cpp construct throws an error.
9912         * progmodes/cc-engine.el (c-invalidate-state-cache):
9913         Before invoking c-with-all-but-one-cpps-commented-out, check that the
9914         special cpp construct is still in the buffer.
9915         (c-parse-state): Record the special cpp with markers, not numbers.
9917 2010-01-21  Kenichi Handa  <handa@m17n.org>
9919         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
9920         process last-command-event, as it is now decoded first (Bug#5380).
9922 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
9924         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
9926 2010-01-20  Glenn Morris  <rgm@gnu.org>
9928         * indent.el (tab-always-indent): Fix custom-type.
9930 2010-01-19  Alan Mackenzie  <acm@muc.de>
9932         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
9933         buffer throws "args out of range".
9934         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
9935         playing the role of delimiter.
9937 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
9939         * progmodes/ada-mode.el: Fix bug#5400.
9940         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
9941         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
9942         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
9943         Improve comments in "is" portion.  Handle null procedure declaration.
9944         (ada-move-to-end): Improve doc string.
9946 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
9948         * ido.el (ido-cur-list): Initialize to nil.
9949         Remove obsolete information from commentary.
9950         (ido-choice-list): Initialize to nil.
9951         (ido-get-bufname): Reject minibuffers.
9952         (ido-make-buffer-list): If "default" is a nonexistent
9953         buffer, ignore it, as per the function's comment.
9954         (ido-kill-buffer-internal): New function.
9955         (ido-kill-buffer-at-head): Use it.
9956         (ido-visit-buffer): Likewise.
9958 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
9960         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
9962 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
9964         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
9965         Fix typos in chart titles.
9967         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
9968         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
9969         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
9970         (describe-class, eieio-describe-generic, describe-generic):
9971         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
9972         (eieio-speedbar-expand):
9973         * emulation/viper-cmd.el (viper-exec-form-in-vi)
9974         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
9975         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
9976         (viper-del-backward-char-in-replace, viper-backward-indent)
9977         (viper-brac-function, viper-register-to-point, viper-submit-report):
9978         * net/tramp.el (tramp-remote-coding-commands):
9979         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
9980         Fix typos in docstrings.
9982 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
9984         * mail/sendmail.el (mail-yank-original): Set the mark if the
9985         specified function for yanking does not do it.
9987 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
9989         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
9991         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
9992         resyncing a directory.
9994 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
9996         * progmodes/ada-mode.el: Fix bug#1920.
9997         (ada-ident-re): Delete ., allow multibyte characters.
9998         (ada-goto-label-re): New; matches goto labels.
9999         (ada-block-label-re): New; matches block labels.
10000         (ada-label-re): New; matches both.
10001         (ada-named-block-re): Deleted; callers changed to use
10002         `ada-block-label-re' instead.
10003         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
10004         Use `ada-block-label-re'.
10005         (ada-indent-on-previous-lines): Improve handling of goto labels.
10006         (ada-get-indent-block-start): Special-case block label.
10007         (ada-get-indent-label): Split into `ada-indent-block-label' and
10008         `ada-indent-goto-label'.
10009         (ada-goto-stmt-start, ada-goto-next-non-ws):
10010         Optionally ignore goto labels.
10011         (ada-goto-next-word): Simplify.
10012         (ada-indent-newline-indent-conditional): Insert newline before
10013         trying to fix indentation; doc fix.
10015 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
10017         * calc/calc.el (calc-command-flags): Give it an initial value.
10019 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
10021         * files.el (minibuffer-with-setup-hook):
10022         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
10023         (artist-key-draw-continously, artist-key-do-continously-continously)
10024         (artist-key-set-point-continously, artist-mouse-draw-continously):
10025         Fix typos in docstrings.
10027 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
10029         * nxml/nxml-mode.el (nxml-extend-after-change-region):
10030         Never return t (Bug#3898).
10032 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
10034         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
10035         can parse the output of the external commands (Bug#5279).
10037 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
10039         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
10041 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
10043         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
10045         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
10047         * startup.el (command-line): Remove unused --icon-type arg.
10048         Handle --display arg, passing it to command-line-1 (Bug#5392).
10050 2010-01-16  Mario Lang  <mlang@delysid.org>
10052         * emacs-lisp/chart.el (chart-translate-namezone):
10053         * textmodes/artist.el (artist-compute-popup-menu-table):
10054         Remove duplicated words in doc-strings.
10056 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
10058         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
10059         to mairix-search to suppress threading (Bug#5342).
10061 2010-01-15  Kenichi Handa  <handa@m17n.org>
10063         * international/mule-cmds.el (canonicalize-coding-system-name):
10064         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
10066 2010-01-15  Glenn Morris  <rgm@gnu.org>
10068         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
10070         * wid-edit.el (widget-keymap): Doc fix.
10072         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
10073         former seems to be more widely accepted by various svn versions.
10075 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
10077         * find-cmd.el (find-constituents):
10078         * vc-arch.el (vc-arch-root):
10079         * window.el (window-body-height, pop-up-frames):
10080         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
10081         * progmodes/ada-stmt.el (ada-if):
10082         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
10083         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
10084         (ispell-encoding8-command, ispell-aspell-supports-utf8)
10085         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
10087         * progmodes/flymake.el (flymake-post-syntax-check):
10088         Fix typo in error message.
10090 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
10092         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
10093         which is always a string.  (Bug#5313)
10095 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
10097         * progmodes/ada-xref.el (ada-default-prj-properties):
10098         Simplify previous change.
10100 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
10102         * progmodes/ada-xref.el (ada-default-prj-properties):
10103         Default ada_project_path to $ADA_PROJECT_PATH.
10105 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
10107         * progmodes/ada-mode.el (ada-create-keymap):
10108         Override `narrow-to-defun' with `ada-narrow-to-defun'.
10110 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
10112         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
10113         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
10114         (ada-get-current-indent, ada-imenu-generic-expression)
10115         (ada-which-function): Check for it.
10117 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
10119         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
10120         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
10122 2010-01-14  Glenn Morris  <rgm@gnu.org>
10124         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
10126 2010-01-14  Kenichi Handa  <handa@m17n.org>
10128         * composite.el (auto-composition-mode): Make it a buffer local
10129         variable (permanent-local).
10130         (auto-composition-function): Set the default value to
10131         auto-compose-chars.
10132         (auto-composition-mode): Make it a simple function, not a minor mode.
10133         (global-auto-composition-mode): Likewise.
10134         (turn-on-auto-composition-if-enabled): Delete it.
10136 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
10138         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
10140 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
10142         * files.el (copy-directory): Compute target for recursive
10143         directories with identical names.  (Bug#5343)
10145 2010-01-12  Glenn Morris  <rgm@gnu.org>
10147         * mail/emacsbug.el (report-emacs-bug-pretest-address):
10148         Set it to bug-gnu-emacs rather than emacs-pretest-bug.
10150 2010-01-11  Sam Steingold  <sds@gnu.org>
10152         * imenu.el (imenu-default-create-index-function): Detect infinite
10153         loops caused by imenu-prev-index-position-function.
10155 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
10157         * htmlfontify.el (htmlfontify-load-rgb-file)
10158         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
10159         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
10160         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
10161         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
10162         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
10163         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
10164         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
10165         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
10166         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
10167         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
10168         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
10169         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
10170         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
10171         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
10172         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
10173         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
10174         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
10175         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
10176         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
10177         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
10178         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
10179         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
10180         backslash-quoting from parentheses, etc.
10182 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
10184         * progmodes/js.el: Autoload javascript-mode alias.
10186 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
10188         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
10189         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
10190         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
10191         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
10192         Fix typos in docstrings.
10193         (ffap-url-regexp): Doc fix.
10194         (ffap-at-mouse): Fix typo in message.
10196 2010-01-11  Glenn Morris  <rgm@gnu.org>
10198         * version.el (emacs-copyright): Set copyright year to 2010.
10200 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10202         * format.el (format-annotate-function): Only set
10203         write-region-post-annotation-function after running to-fn so as not to
10204         affect nested write-region calls (bug#5273).
10206 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
10208         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
10209         wisent/python.el.
10211 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
10213         * man.el (Man-goto-section): Signal error if the section is not
10214         found (Bug#5317).
10216 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
10218         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
10219         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
10221 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
10223         * progmodes/compile.el: Don't treat compile-command as safe if
10224         compilation-read-command might be nil (Bug#4218).
10226 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
10228         * startup.el (command-line-1): Use orig-argi to check for ignored X and
10229         NS options.
10231 2010-01-08  Kenichi Handa  <handa@m17n.org>
10233         * international/fontset.el (build-default-fontset-data):
10234         Exclude characters in scripts kana, hangul, han, or cjk-misc.
10236 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
10238         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
10239         to `create-file-buffer' as it expects, not just a buffer name.
10240         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
10241         to help uniquify.  (Bug#3224)
10243 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
10245         * font-setting.el (font-setting-change-default-font): Use user-spec
10246         instead of name.
10248 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
10250         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
10252 2010-01-05  Tom Tromey  <tromey@redhat.com>
10254         * progmodes/python.el (python-font-lock-keywords):
10255         Handle qualified decorators (Bug#881).
10257 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
10259         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
10260         in a lightweight checkout.
10262 2010-01-05  Kenichi Handa  <handa@m17n.org>
10264         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
10266 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
10268         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
10270 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
10272         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
10273         checkouts.  (Bug#618)
10274         (vc-bzr-log-view-mode): Also highlight the author.
10275         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
10276         (vc-bzr-shelve-menu-map):
10277         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
10278         (vc-bzr-shelve-apply): Make prompt more explicit.
10280 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
10282         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
10283         They are valid characters in URL paths (rfc3986), and at least
10284         Firefox does not understand the encoded version (Bug#3166).
10286 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
10288         * progmodes/octave-mod.el (octave-end-keywords)
10289         (octave-block-begin-or-end-regexp, octave-block-match-alist):
10290         Add "end" keyword (Bug#3061).
10291         (octave-end-as-array-index-p): New function.
10292         (calculate-octave-indent): Use it.
10294 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10296         * bookmark.el: Consistently put the text property on the bookmark name.
10297         (bookmark-bmenu-marks-width): Bump back to 2, to include
10298         annotation marks.
10299         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
10300         property on the bookmark name, instead of not putting it at all.
10301         (bookmark-bmenu-list): Fix where we put the text property.
10303 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10305         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
10306         for showing buffer modified state (as added in the previous change).
10308 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10310         * bookmark.el: Show modified state of bookmark buffer more accurately.
10311         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
10312         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
10313         (with-buffer-modified-unmodified): New macro.
10314         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
10315         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
10316         Use new macro to preserve the buffer modified state.
10318 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10320         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
10321         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
10322         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
10323         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
10324         (bookmark-bmenu-rename, bookmark-bmenu-locate)
10325         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
10326         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
10328 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
10330         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10331         Make the lines in the generated doc string shorter.  (Bug#4668)
10333 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
10335         * net/rcirc.el: Add follow-link binding (Bug#4738).
10337 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
10339         * Makefile.in (bzr-update): Rename from cvs-update.
10340         (cvs-update): New target for backward compatibility.
10342         * makefile.w32-in (bzr-update): Rename from cvs-update.
10343         (cvs-update): New target for backward compatibility.
10345 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10347         * bookmark.el: Remove gratuitous gratitude.
10349 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10351         * bookmark.el (bookmark-bmenu-any-marks): New function.
10352         (bookmark-bmenu-save): Clear buffer modification if no marks.
10354 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10356         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
10357         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
10358         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
10359         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
10361         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
10362         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
10363         To: emacs-devel {_AT_} gnu.org
10364         Subject: bookmark.el bug report
10365         Date: Mon, 28 Dec 2009 14:19:16 +0800
10366         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
10368 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10370         * bookmark.el: Improvements suggested by Drew Adams:
10371         (bookmark-bmenu-ensure-position): New name for
10372         `bookmark-bmenu-check-position'.  Just ensure the position,
10373         don't return any meaningful value.
10374         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
10375         New constants.
10377 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
10379         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
10380         (bookmark-yank-point, bookmark-bmenu-check-position):
10381         Fix typos in docstrings.
10382         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
10383         (bookmark-name-from-full-record, bookmark-get-position)
10384         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
10385         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
10386         Remove useless quoting of parenthesis, etc. in docstrings.
10388         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
10389         (ediff-append-custom-diff): Fix typo in error message.
10390         (ediff-meta-mark-equal-files): Fix typos in messages.
10392         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
10394         * net/imap-hash.el (imap-hash-make): Doc fix.
10395         (imap-hash-test): Fix typo in error message; reflow docstring.
10396         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
10397         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
10398         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
10399         Fix typos in docstrings.
10400         (imap-hash-open-connection): Fix typo in error message.
10402         * play/gomoku.el (gomoku): Fix typos in docstring.
10404         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
10405         (gdb-jsonify-buffer): Fix typos in docstring.
10406         (gdb-goto-breakpoint): Fix typo in error message.
10407         ("Display Other Windows"): Fix typo in help message.
10408         (gdb-speedbar-expand-node): Fix typo in question.
10410         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
10411         (idlwave-html-system-help-location, idlwave-html-help-location)
10412         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
10413         (idlwave-help-browser-generic-args, idlwave-help-directory)
10414         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
10415         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
10416         (idlwave-online-help, idlwave-help-html-link)
10417         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
10418         Fix typos in docstrings.
10419         (idlwave-help-with-source, idlwave-help-find-routine-definition):
10420         Reflow docstrings.
10421         (idlwave-help-assistant-start): Fix typo in error message.
10423         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
10424         (octave-electric-space): Fix typos in docstrings.
10426 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
10428         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
10430 2010-01-01  Juri Linkov  <juri@jurta.org>
10432         * comint.el (comint-input-ring-size): Make it a defcustom and
10433         increase the default to 500 (Bug#5148).
10435 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
10437         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
10438         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
10439         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
10441 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
10443         Show working revision correctly for mercurial.
10444         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
10445         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
10447 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
10449         Declare some functions for the byte-compiler.
10450         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
10451         (speedbar-timer-fn, speedbar-change-expand-button-char)
10452         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
10454 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
10456         This changeset reverts GDB Graphical Interface to use annotations.
10457         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
10459 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
10461         Make vc-dir work on subdirectories of the bzr root.
10462         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
10463         Return file names relative to it.
10464         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
10465         relative directory to vc-bzr-after-dir-status.
10467 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
10469         * font-lock.el (font-lock-refresh-defaults): New function, which
10470         can be used to let font-lock react to external changes in
10471         variables like font-lock-defaults and keywords.
10472         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
10474 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
10476         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
10478         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
10480 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
10482         Supersede color.diff settings in git log (bug#5211).
10484         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
10485         escape chars in its output when the user has color.diff set to `always'.
10486         This fix works on git 1.4.2 and newer (released on 2006-08-13).
10488 2009-12-26  Kevin Ryde  <user42@zip.com.au>
10490         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
10491         node.  Keep previous "Index" name to work with past coreutils too.
10493         * man.el (man): Revise docstring a bit to show -a and -l as
10494         examples.  Add -k description since support for it has otherwise
10495         been a secret.  (Further to bug#3717.)
10496         (Man-bgproc-sentinel): When "-k foo" produces no output show error
10497         "no matches" rather than "Can't find manpage", as the latter reads
10498         like -k was interpreted as a page name, which is not so.  (Bug#5431)
10500 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
10502         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
10503         switches.  Check also for //SUBDIRED// line.
10505 2009-12-25  Kenichi Handa  <handa@m17n.org>
10507         * language/indian.el (devanagari-composable-pattern): Fixed to
10508         handle ZWNJ and ZWJ.  Use it in composition-function-table for
10509         Devanagari.
10510         (malayalam-composable-pattern): Fix previous change.
10512 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
10514         * ps-print.el (ps-face-attributes): It was not returning the
10515         attribute face for faces specified as string.  Reported by harven
10516         <harven@free.fr>.  (Bug#5254)
10517         (ps-print-version): New version 7.3.5.
10519 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
10521         * calendar/icalendar.el (icalendar--convert-tz-offset):
10522         Fix timezone names.
10523         (icalendar--convert-tz-offset): Fix the "last-day-problem".
10524         (icalendar--add-diary-entry): Remove the trailing blank that
10525         diary-make-entry inserts.
10527 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
10529         Make `file-expand-wildcards' work for remote files.
10531         * files.el (file-expand-wildcards): In case of remote files, check
10532         only local file name part for wildcards.  Provide feature 'files
10533         and subfeature 'remote-wildcards.  (Bug#5198)
10535         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
10536         if there is already an established connection.
10537         (tramp-advice-file-expand-wildcards): Remove it.
10539         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
10540         (tramp-advice-file-expand-wildcards): Move from tramp.el.
10541         Activate advice for older GNU Emacs versions.  (Bug#5237)
10543 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
10545         Some doc fixes (more needed).
10547         * find-cmd.el (find-constituents): Reflow docstring.
10548         (find-cmd, find-prune, find-command): Fix typos in docstrings.
10549         (find-generic): Doc fix.
10551 2009-12-17  Juri Linkov  <juri@jurta.org>
10553         Fix regression from 23.1 to allow multiple modes in Local Variables.
10555         * files.el (hack-local-variables-filter): While ignoring duplicates,
10556         don't take `mode' into account.
10557         (hack-local-variables-filter, hack-dir-local-variables):
10558         Don't remove duplicate `mode' from local-variables-alist (like `eval').
10560 2009-12-17  Juri Linkov  <juri@jurta.org>
10562         Make `dired-diff' safer.  (Bug#5225)
10564         * dired-aux.el (dired-diff): Signal an error when `file' equals to
10565         `current' or when `file' is a directory of the `current' file.
10567 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
10569         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
10570         unconditionally preloaded files.
10572 2009-12-16  Juri Linkov  <juri@jurta.org>
10574         Revert to old 23.1 logic of using the file at the mark as default.
10575         * dired-aux.el (dired-diff): Use the file at the mark as default
10576         if it's not the same as the current file, and the target dir is
10577         the current dir or the mark is active.  Add the current file
10578         as the arg of `dired-dwim-target-defaults'.  Use the default file
10579         in the prompt.  (Bug#5225)
10581 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
10583         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
10584         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
10585         (tramp-check-for-regexp): Check also, when an echoing shell stops
10586         to echo sent commands.
10588 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
10590         * Makefile.in: Revert last change (Bug#5191).
10592 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
10594         * vc-hg.el (vc-hg-print-log): Fix argument order.
10595         (vc-hg-working-revision): Make sure the command is executed in a
10596         known environment so that we can parse the output.  (Bug#4417)
10598 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
10600         * progmodes/python.el (python-symbol-completions): Remove text
10601         properties from symbol string before calling python-send-receive.
10603 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
10605         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
10606         when there are values for both file and line.  (Bug#5060)
10608 2009-12-14  Juri Linkov  <juri@jurta.org>
10610         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
10611         whitespace after the file name of the first line of unified format,
10612         because git-diff doesn't output whitespace and file modification time
10613         after the file name.
10615 2009-12-14  David Kastrup  <dak@gnu.org>
10617         * info.el (Info-hide-cookies-node): Before hiding a cookie,
10618         check if it already has the `display' property added by
10619         `Info-display-images-node', and not put the `invisible' property
10620         in this case.
10622 2009-12-13  Glenn Morris  <rgm@gnu.org>
10624         * mail/emacsbug.el (message-sort-headers): Define for compiler.
10625         (report-emacs-bug): In message-mode, sort manually before storing
10626         original report text.  (Bug#5178)
10627         Remove superfluous save-excursion.
10629 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
10631         * net/dbus.el (dbus-property-handler): Filter lambda forms out
10632         when responding to "GetAll" properties.
10634 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
10636         * simple.el (compose-mail): Remove mail-setup-with-from from
10637         customization checks.
10639 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
10641         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
10642         RAR archives created on Unix systems.
10644 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10646         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
10647         the varalias that was accidentally removed by the 2009-11-19 change
10648         (bug#5186).
10650 2009-12-12  Kenichi Handa  <handa@m17n.org>
10652         * language/indian.el (indian-compose-regexp): New function.
10653         (malayalam-composable-pattern): Fix the pattern.
10654         (composition-function-table): Set malayalam-composable-pattern for
10655         Malayalam characters.
10657 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
10659         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
10660         rather than down-mouse-1, based on follow-link conventions.
10662         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
10663         are compiled.
10665 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
10667         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
10668         (verilog-vmm-statement-re, verilog-ovm-statement-re)
10669         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
10670         (verilog-leap-to-head, verilog-backward-token):
10671         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
10673 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
10675         * progmodes/verilog-mode.el (verilog-auto-lineup)
10676         (verilog-nameable-item-re): Cleanup user-visible spelling and
10677         documentation errors.  One reported by Gary Delp.
10678         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
10679         (verilog-read-decls): Fix AUTOWIRE with types declared in a
10680         package, bug195.  Reported by Pierre-David Pfister.
10682 2009-12-11  Glenn Morris  <rgm@gnu.org>
10684         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
10686         * mail/emacsbug.el: No longer require sendmail.
10687         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
10688         (report-emacs-bug-orig-text): Doc fix.
10689         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
10690         New local variables, to adapt to different mail-user-agents.
10691         (report-emacs-bug): Fix test for a gnu.org address.
10692         Use overlays for emphasis, since font-lock defeats 'face property.
10693         Pretest bugs also end up at the newsgroup these days.
10694         Stop message-mode stripping text properties.
10695         Set and use the new buffer-local variables.
10696         (report-emacs-bug-hook): Add doc-string.
10697         Remove some unnecessary save-excursions and simplify.
10698         Use the appropriate hook and send-command.
10700         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
10701         capitalization of some menu entries.
10703 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
10705         * whitespace.el (whitespace-display-char-on):
10706         Ensure `buffer-display-table' is unique when two or more windows are
10707         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
10708         New version 12.1.
10710 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
10712         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
10713         characters in the Attribute field.
10715 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
10717         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
10719 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10721         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
10722         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
10723         Disregard autoload-excludes.
10724         (update-directory-autoloads): Obey autoload-excludes here instead.
10725         But don't store its contents in no-autoloads and remove entries that
10726         refer to excludes files.
10728 2009-12-10  Glenn Morris  <rgm@gnu.org>
10730         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
10731         (expand-mail-aliases): Define for compiler.
10733         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
10734         Define for compiler.
10736         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
10737         appropriate for the mail-user-agent in use.
10739 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
10741         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
10743 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
10745         Fix short log parsing and fontification.
10746         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
10747         Fix fontification for the [merge] label.
10749 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
10751         Drop some properties to avoid surprises (bug#5002).
10752         * htmlfontify.el (hfy-ignored-properties): New defcustom.
10753         (hfy-fontify-buffer): Use it.
10755 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10757         Minor cleanup.
10758         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
10759         Adjust all callers.
10760         (ffap-locate-file): Remove unused arg `dir-ok' and make other
10761         args compulsory.  Adjust callers.
10762         (ffap-gopher-at-point): Remove unused var `name'.
10764         Get rid of the ELCFILES abomination.
10765         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
10766         (compile-elcfiles): New phony target.
10767         (compile-main): Compute ELCFILES dynamically.
10768         (compile-clean): New target to remove left-over elc files.
10769         (compile, all): Use it.
10771 2009-12-09  Kenichi Handa  <handa@etlken>
10773         * international/mule-diag.el: Require help-mode instead of help-fns.
10775 2009-12-09  Kenichi Handa  <handa@m17n.org>
10777         * international/mule-cmds.el (ucs-names): Supply sufficiently
10778         fine ranges instead of pre-calculating accurate ranges.
10779         Iterate with bigger gc-cons-threshold.
10781 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
10783         Add support for stashing a snapshot of the current tree.
10784         * vc-git.el (vc-git-stash-snapshot): New function.
10785         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
10787 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
10789         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
10790         instead of `(beginning|end)-of-line'.
10792 2009-12-08  Glenn Morris  <rgm@gnu.org>
10794         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
10796         * Makefile.in (ELCFILES): Regenerate.
10798 2009-12-07  Juri Linkov  <juri@jurta.org>
10800         Don't lazy-highlight the comint output in history Isearch mode.
10802         * comint.el (comint-history-isearch-search): Instead of
10803         `comint-line-beginning-position', use `comint-after-pmark-p'
10804         to check if point if before the process mark, and go to
10805         `process-mark' in this case.
10807 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10809         * textmodes/tex-mode.el (latex-complete)
10810         (latex-indent-or-complete): Remove.
10811         (latex-mode): Set completion-at-point-functions instead.
10813         Provide a standard completion command and hook it into TAB.
10814         * minibuffer.el (completion-at-point-functions): New var.
10815         (completion-at-point): New command.
10816         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
10817         * progmodes/python.el (python-mode-map): Use completion-at-point.
10818         (python-completion-at-point): Rename from python-partial-symbol and
10819         adjust for use in completion-at-point-functions.
10820         (python-mode): Setup completion-at-point for Python completion.
10821         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
10822         extracted from lisp-complete-symbol.
10823         (lisp-complete-symbol): Use it.
10824         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
10825         setup completion-at-point for Elisp completion.
10826         (emacs-lisp-mode-map, lisp-interaction-mode-map):
10827         Use completion-at-point.
10828         * ielm.el (ielm-map): Use completion-at-point.
10829         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
10830         * progmodes/sym-comp.el: Move to...
10831         * obsolete/sym-comp.el: Move from progmodes.
10833 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
10835         Prevent save-buffer in Rmail buffers from using the coding-system
10836         of the current message, and from clobbering the encoding mnemonics
10837         in the mode line (Bug#4623).
10839         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
10840         flag, too.
10841         (rmail-message-encoding): New variable.
10842         (rmail-write-region-annotate): Record the encoding of the current
10843         message in rmail-message-encoding.
10844         (rmail-after-save-hook): New function, restores the encoding of
10845         the current message after the message collection is saved.
10847 2009-12-07  Juri Linkov  <juri@jurta.org>
10849         * progmodes/grep.el (grep-read-files): Use `completing-read'
10850         instead of `read-string'.  Set its `collection' arg to
10851         `read-file-name-internal'.  (Bug#4301)
10853 2009-12-07  Juri Linkov  <juri@jurta.org>
10855         Correctly restore original Isearch point.  (Bug#4994)
10857         * isearch.el (isearch-mode): Move `isearch-push-state' after
10858         `(run-hooks 'isearch-mode-hook)'.
10859         (isearch-cancel): When `isearch-push-state-function' is defined,
10860         let-bind `isearch-cmds' to the first state (the last element of
10861         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
10862         function and restores the original point).  Otherwise, move point
10863         to `isearch-opoint'.
10865 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10867         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
10868         chars that don't have names, so the table can be built much faster at
10869         run-time.
10871 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
10873         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
10874         change.  Suggested by David Kastrup.
10876         * simple.el (compose-mail): Check for incompatibilities and warn.
10877         (compose-mail-user-agent-warnings): New option.
10879 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
10881         Support showing a single log entry from vc-annotate.
10882         * vc.el (print-log): Add a new argument: START-REVISION.
10883         (vc-print-log-internal): Add a new optional argument and
10884         pass it to the backend.
10885         (vc-print-log, vc-print-root-log): Adjust callers.
10886         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
10887         buffer already displays the requested log entry, use it.
10888         Otherwise display only the log entry in question.
10889         * vc-svn.el (vc-svn-print-log):
10890         * vc-mtn.el (vc-mtn-print-log):
10891         * vc-hg.el (vc-hg-state):
10892         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
10893         (vc-git-show-log-entry): Return t on success.
10894         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
10895         (vc-bzr-show-log-entry): Return t on success.
10896         * vc-rcs.el (vc-rcs-print-log):
10897         * vc-sccs.el (vc-sccs-print-log):
10898         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
10900 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
10902         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
10903         Add menus to the meta mode.  (Bug#5043)
10905 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
10907         * ediff-init.el (ediff-event-key): Use event-to-character instead of
10908         event-key.
10910         * ediff.el (ediff-buffers-internal): Add unwind-protect.
10912 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
10914         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
10915         Berbain <raphael.berbain@gmail.com>.
10917         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
10918         characters.
10919         (tramp-initial-end-of-output): New defconst.
10920         (tramp-methods, tramp-find-shell)
10921         (tramp-open-connection-setup-interactive-shell)
10922         (tramp-maybe-open-connection): Use it.
10923         (tramp-shell-prompt-pattern, tramp-wait-for-output):
10924         Handle existence of `#' and `$'.
10926         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
10927         Use `tramp-initial-end-of-output'.
10929 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
10931         Get the background mode from the terminal for xterm, and set
10932         faces accordingly.
10933         * term/xterm.el (xterm-set-background-mode): New function.
10934         (terminal-init-xterm): Use it in case xterm supports background
10935         color queries.  Recompute faces after getting the background
10936         color.
10938 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
10940         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
10941         number comment back on its own line, for easier parsing.
10943 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10945         Make it work for non-file buffers (bug#5102).
10946         * doc-view.el (doc-view-current-cache-dir):
10947         Use doc-view-buffer-file-name rather than buffer-file-name.
10948         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
10950 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
10952         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
10953         author field is too short.
10955 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
10957         * vc-git.el (vc-git-print-log): Handle a limit argument.
10958         Display the short log in graph form and with labels.
10959         (vc-git-log-view-mode): Handle labels.
10961         Make vc-revert change VC state from 'added to 'unregistered.
10962         * vc-git.el (vc-git-revert): Call git reset first.
10964 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
10966         * net/newst-backend.el, net/newst-plainview.el:
10967         * net/newst-reader.el, net/newst-ticker.el:
10968         * net/newst-treeview.el, net/newsticker.el:
10969         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
10971 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
10973         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
10975         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
10976         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
10977         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
10978         Update annotation regexp.
10980         * simple.el (beginning-of-visual-line): Constrain to field
10981         boundaries (Bug#5106).
10983 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
10985         * xml.el (xml-substitute-numeric-entities):
10986         Move newsticker--decode-numeric-entities in newst-backend.el to
10987         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
10988         * net/newst-backend.el (newsticker--parse-generic-feed)
10989         (newsticker--parse-generic-items)
10990         (newsticker--decode-numeric-entities):
10991         Move newsticker--decode-numeric-entities in newst-backend.el to
10992         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
10994 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
10996         * progmodes/js.el (js--js-not): Add null to the list of values.
10998 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
11000         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
11002 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
11004         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
11005         delimiter if it is at the end of the current line.
11006         (bibtex-generate-url-list): Fix docstring.
11008 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11010         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
11011         minibuffer's content with itself.
11012         Fold the confirm-after-completion case into the `confirm' case.
11013         (completion-pcm-word-delimiters): Add : and / to the delimiters.
11015 2009-12-06  Kevin Ryde  <user42@zip.com.au>
11017         * ffap.el (ffap-rfc-path): Make this a defcustom since
11018         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
11020         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
11021         manuals, similar to existing setup for help-mode.  (Bug#3913.)
11023 2009-12-05  Juri Linkov  <juri@jurta.org>
11025         Save and restore dired buffer's point positions too.  (Bug#4880)
11027         * dired.el (dired-save-positions): Return in the first element
11028         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
11029         Doc fix.
11030         (dired-restore-positions): First restore buffer's position.
11031         While restoring window's positions, check if window still displays
11032         the original buffer.
11034 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
11036         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
11037         if possible.
11039         * shell.el (shell): Require ansi-color (Bug#5113).
11041         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
11043         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
11045 2009-12-05  Alan Mackenzie  <acm@muc.de>
11047         * progmodes/cc-mode.el (c-before-hack-hook)
11048         (c-postprocess-file-styles): Revert change 1.85 to permit
11049         `c-file-style' to work again.  This reversion restores the current
11050         software to its state in Emacs 23.1.  (Bug#4146)
11052 2009-12-05  Kevin Ryde  <user42@zip.com.au>
11054         * textmodes/sgml-mode.el (sgml-lexical-context):
11055         Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
11057 2009-12-05  Juri Linkov  <juri@jurta.org>
11059         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
11060         for virtual nodes.  (Bug#4147)
11061         (Info-find-node-2): Set `Info-current-node-virtual' to nil
11062         when moving from a virtual node.
11063         (Info-mode-menu): Add `Info-virtual-index' to the menu.
11064         (Info-mode): Add `Info-virtual-index' to the docstring.
11066 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
11068         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
11069         track of the buffer position of the end of a BibTeX entry as this
11070         position may change during reformatting.
11071         (bibtex-format-entry): Remove whitespace before processing
11072         numerical fields so that we recognize the latter properly.
11073         (bibtex-reformat): Do not use push which changes the global value
11074         of bibtex-entry-format.
11075         (bibtex-field-braces-alist, bibtex-field-strings-alist)
11076         (bibtex-field-re-init): Replace only space characters by regexp
11077         for whitespace.
11078         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
11079         (bibtex-initialize): Also update bibtex-strings.
11080         (bibtex-kill-field): Preserve white space at end of entry.
11081         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
11082         Update bibtex-reference-keys.
11084 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11086         * minibuffer.el (completion-pcm--merge-try): Also consider placing
11087         point after a star, if that's the only place where modifications can
11088         make progress.
11090 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
11092         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
11093         in docstrings.
11095 2009-12-04  Juri Linkov  <juri@jurta.org>
11097         * proced.el (proced): Call `(proced-update t)' to update process
11098         information instead of only running proced-post-display-hook.
11099         (proced-send-signal): Add a leading space to the buffer name
11100         " *Marked Processes*" to make this buffer ephemeral.
11102 2009-12-04  Juri Linkov  <juri@jurta.org>
11104         * dired.el (dired-auto-revert-buffer): New defcustom.
11105         (dired-internal-noselect): Use it.
11107 2009-12-04  Juri Linkov  <juri@jurta.org>
11109         Change roles of modes and functions in image-mode.el (Bug#5062).
11111         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
11112         in `auto-mode-alist'.
11113         (image-mode-previous-major-mode): New variable.
11114         (image-minor-mode-map): Rename from `image-mode-text-map'.
11115         (image-mode): Move graceful error-handling code from
11116         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
11117         (image-minor-mode): Remove all image-handling code.
11118         Replace `image-mode-text-map' with `image-minor-mode-map'.
11119         Check for `image-type' in mode-line format string.
11120         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
11121         (image-mode-as-text): New function with most code from
11122         `image-mode-maybe'.
11123         (image-toggle-display-text): Move code that removes image
11124         properties from `image-toggle-display' to here.
11125         (image-toggle-display-image): New function with code that adds
11126         image properties copied from `image-toggle-display'.
11127         (image-toggle-display): Remove most code with leaving only code
11128         that toggles between `image-mode-as-text' and `image-mode'.
11130 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
11132         * net/newst-treeview.el
11133         (newsticker--treeview-list-highlight-start): Restored call to
11134         save-excursion: Selected item was stuck.
11135         (newsticker--treeview-list-select): New.
11136         (newsticker--treeview-item-show-text)
11137         (newsticker--treeview-item-show)
11138         (newsticker--treeview-item-update): Use new
11139         newsticker-treeview-item-mode.
11140         (newsticker-treeview-update): Keep current item.
11141         (newsticker-treeview-next-new-or-immortal-item): Doc change.
11142         (newsticker--treeview-first-feed): Doc change.
11143         (newsticker-treeview-list-menu)
11144         (newsticker-treeview-item-menu): Added menu entries.
11145         (newsticker-treeview-item-mode): New.
11147         * net/newst-backend.el (newsticker-customize): Delete other
11148         windows.
11150 2009-12-04  Sam Steingold  <sds@gnu.org>
11152         * log-view.el (log-view-mode-map): "q" calls quit-window,
11153         like in all the other non-self-insert buffers.
11155 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11157         Minor cleanup.
11158         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
11159         key decoding rather than do it manually via last-input-event +
11160         ascii-character.
11161         (term-exec): Use delete-and-extract-region.
11162         (term-handle-ansi-terminal-messages): Remove unused var `end'.
11163         (term-process-pager): Remove unused var `i'.
11164         (term-dynamic-simple-complete): Make obsolete.
11165         (serial-update-config-menu): Remove unused vars `y' and `str'.
11166         (term-update-mode-line): Remove unused var `temp'.
11168 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
11170         Limit the number of log entries displayed by default.
11171         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
11172         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
11173         using a prefix argument.
11175 2009-12-03  Glenn Morris  <rgm@gnu.org>
11177         * progmodes/idlwave.el (class): Restore still useful declaration.
11179 2009-12-03  Alan Mackenzie  <acm@muc.de>
11181         Enhance `c-parse-state' to run efficiently in "brace deserts".
11183         * progmodes/cc-mode.el (c-basic-common-init):
11184         Call c-state-cache-init.
11185         (c-neutralize-syntax-in-and-mark-CPP): Rename from
11186         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
11187         placing `category' properties value 'c-cpp-delimiter at its boundaries.
11189         * progmodes/cc-langs.el (c-before-font-lock-function):
11190         c-extend-and-neutralize-syntax-in-CPP has been renamed
11191         c-neutralize-syntax-in-and-mark-CPP.
11193         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
11194         with `category' properties now, not `syntax-table' ones.
11196         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
11197         enhanced (but slower) version of c-end-of-macro that won't land
11198         inside a literal or on another awkward character.
11199         (c-state-cache-too-far, c-state-cache-start)
11200         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
11201         (c-state-nonlit-pos-cache-limit, c-state-point-min)
11202         (c-state-point-min-lit-type, c-state-point-min-lit-start)
11203         (c-state-min-scan-pos, c-state-brace-pair-desert)
11204         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
11205         buffer local variables.
11206         (c-state-literal-at, c-state-lit-beg)
11207         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
11208         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
11209         (c-state-cache-top-paren, c-state-cache-after-top-paren)
11210         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
11211         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
11212         (c-renarrow-state-cache)
11213         (c-append-lower-brace-pair-to-state-cache)
11214         (c-state-push-any-brace-pair, c-append-to-state-cache)
11215         (c-remove-stale-state-cache)
11216         (c-remove-stale-state-cache-backwards, c-state-cache-init)
11217         (c-invalidate-state-cache-1, c-parse-state-1)
11218         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
11219         (c-parse-state): Enhance and refactor.
11220         (c-debug-parse-state): Amend to deal with all the new variables.
11222         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
11223         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
11224         modify to use category text properties rather than syntax-table ones.
11225         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
11226         to switch off/on the syntactic paren property of C++ template
11227         delimiters using the category property.
11228         (c-with-<->-as-parens-suppressed): Macro to invoke code with
11229         template delims suppressed.
11230         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
11231         New constant/macros which apply category properties to the start
11232         and end of preprocessor constructs.
11233         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
11234         "comment out" the syntactic value of characters in preprocessor
11235         constructs.
11236         (c-with-cpps-commented-out)
11237         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
11238         with characters in all or all but one preprocessor constructs
11239         "commented out".
11241 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
11243         * proced.el (proced-filter-alist): Use regexp-quote.
11245 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
11247         Cleanup.
11248         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
11249         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
11250         arguments.  Expand `default-directory'.
11252         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
11253         the benefit of returning an expanded localname.
11254         (tramp-tramp-file-p): Handle the case NAME is not a string.
11256 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
11258         Add support for bzr shelve/unshelve.
11259         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11260         (vc-bzr-extra-menu-map): New variables.
11261         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
11262         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
11263         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
11264         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
11265         (vc-bzr-dir-extra-headers): Display shelves.
11267         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
11269 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11271         * textmodes/bibtex.el (bibtex-complete-internal):
11272         Use completion-in-region.
11273         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
11275 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
11277         Support applying stashes.  Improve UI.
11278         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
11279         (vc-git-stash-apply, vc-git-stash-pop)
11280         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
11281         (vc-git-stash-menu): New functions.
11282         (vc-git-stash-menu-map): New variable.
11283         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
11285 2009-12-03  Glenn Morris  <rgm@gnu.org>
11287         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
11288         (vc-print-log-internal): Fix previous change.
11289         (vc-revert): Correct pluralization.
11291 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11293         * progmodes/make-mode.el (makefile-special-targets-list): No need for
11294         it to be an alist any more.
11295         (makefile-complete): Use completion-in-region.
11297         * progmodes/octave-mod.el (octave-complete-symbol):
11298         Use completion-in-region.
11300         Misc cleanup.
11301         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
11302         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
11303         (idlwave-complete-class): Don't quote lambda.
11304         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
11305         (idlwave-mode-map): Move initialization into declaration.
11306         (idlwave-action-and-binding): Use backquotes.
11307         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
11308         Simplify.
11309         (idlwave-is-pointer-dereference): Remove unused var `pos'.
11310         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
11311         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
11312         `parts', and `all-parts'.
11313         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
11314         (idlwave-convert-xml-system-routine-info): Remove unused string
11315         `version-string'.
11316         (idlwave-display-user-catalog-widget): Use dolist.
11317         (idlwave-scanning-lib): Declare dynamically-scoped var.
11318         (idlwave-scan-library-catalogs): Remove unused var `flags'.
11319         (completion-highlight-first-word-only): Declare to silence bytecomp.
11320         (idlwave-popup-select): Tighten scope of `resp'.
11321         (idlwave-find-struct-tag): Remove unused var `beg'.
11322         (idlwave-after-load-rinfo-hook): Declare.
11323         (idlwave-sintern-class-info): Remove unused var `taglist'.
11324         (idlwave-find-class-definition): Remove unused var `list'.
11325         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
11326         (idlwave-what-module-find-class): Remove unused var `classes'.
11328 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
11330         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
11332 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11334         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
11335         buffers visited.  Remove redundant current-buffer-saving.
11337 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11339         Use completion-in-buffer and remove uses of dynamic scoping.
11340         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
11341         (pascal-buffer-to-use, pascal-flag): Don't declare.
11342         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
11343         (pascal-get-completion-decl, pascal-keyword-completion):
11344         Add `pascal-str' argument, save-excursion,
11345         return the found completions, and don't filter with pascal-pred.
11346         (pascal-completion-cache): New var.
11347         (pascal-completion): Don't switch buffer any more (it was never
11348         necessary).  Don't save-excursion any more (it's done by the called
11349         subroutines).  Use a cache to avoid redundant computations.
11350         Use complete-with-action rather than pascal-completion-response and
11351         let it apply the predicate as well.
11352         (pascal-complete-word): Use completion-in-buffer when
11353         pascal-toggle-completions is nil.
11354         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
11355         not used any more.
11356         (pascal-comp-defun): Don't change buffer any more.
11357         Use complete-with-action rather than pascal-completion-response and
11358         let it apply the predicate as well.
11359         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
11360         when neded.
11362 2009-12-02  Kenichi Handa  <handa@m17n.org>
11364         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
11365         shape for all Indic scripts.
11367 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11369         Use completion-in-buffer.
11370         * wid-edit.el (widget-field-text-end): New function.
11371         (widget-field-value-get): Use it.
11372         (widget-string-complete, widget-file-complete)
11373         (widget-color-complete): Use it and completion-in-region.
11374         (widget-complete): Don't narrow the buffer.
11376 2009-12-02  Glenn Morris  <rgm@gnu.org>
11378         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
11379         (rmail-select-summary): Use rmail-pop-to-buffer.
11380         * mail/rmailsum.el: Replace all pop-to-buffer calls with
11381         rmail-pop-to-buffer, to prevent horizontal splits.
11383         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
11384         save-excursion with save-current-buffer.
11385         Widen before searching.  (Bug#5093)
11386         (diary-list-sexp-entries): Remove superfluous save-excursion.
11388 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
11390         * woman.el (woman-make-bufname): Handle man-pages with "." in the
11391         name.  (Bug#5038)
11393 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
11395         * ido.el (ido-file-internal): Handle filenames at point that do
11396         not have a directory part.  (Bug#5049)
11398 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
11400         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
11401         (mpc-songs-jump-to, mpc-resume): Doc fixes.
11403 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
11405         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
11406         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
11407         any more.
11409 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11411         * comint.el (comint-insert-input): Ignore clicks to the right of
11412         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
11414         * vc.el (vc-print-log-internal): Don't wait for the process to
11415         terminate before setting up the major mode.
11417         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
11418         in case.
11420         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
11421         the last element.
11423         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
11425 2009-12-01  Glenn Morris  <rgm@gnu.org>
11427         * window.el (window--display-buffer-2): Fix previous changes.
11429 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
11431         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
11433 2009-12-01  Glenn Morris  <rgm@gnu.org>
11435         * Makefile.in (ELCFILES): Add mpc.elc.
11437 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11439         * mpc.el: New file.
11441 2009-12-01  Glenn Morris  <rgm@gnu.org>
11443         * window.el (window-to-use): Define for compiler.
11445         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
11446         consistent with others (no final period).
11448         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
11449         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
11451 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
11453         Make vc-print-log buttons work.
11454         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
11456 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
11458         * savehist.el (savehist-autosave-interval): Allow setting to nil
11459         through customize.  (Bug#5056)
11461 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
11463         Fix references to jit-lock properties.
11464         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
11465         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
11466         (perl-font-lock-special-syntactic-constructs):
11467         Quote jit-lock-defer-multiline property.
11469 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
11471         * vc-git.el (vc-git-registered): Call vc-git-root only once.
11473 2009-11-30  Juri Linkov  <juri@jurta.org>
11475         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
11476         value `buffer' of `multi-isearch-next-buffer-current-function'.
11477         Use `(current-buffer)' when `buffer' is nil.
11478         (multi-isearch-next-buffer-from-list): Don't fallback to
11479         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
11481 2009-11-30  Juri Linkov  <juri@jurta.org>
11483         * misearch.el (multi-isearch-read-buffers): Move canonicalization
11484         of buffers with `get-buffer' to `multi-isearch-buffers'.
11485         (multi-isearch-buffers, multi-isearch-buffers-regexp):
11486         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
11487         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
11488         FILES with `expand-file-name' converting relative file names
11489         to absolute.  Doc fix.  (Bug#4727)
11491 2009-11-30  Juri Linkov  <juri@jurta.org>
11493         * misearch.el (multi-isearch-read-buffers)
11494         (multi-isearch-read-matching-buffers): New functions.
11495         (multi-isearch-buffers, multi-isearch-buffers-regexp):
11496         Use them in the `interactive' spec.  Doc fix.
11497         (multi-isearch-read-files, multi-isearch-read-matching-files):
11498         New functions.
11499         (multi-isearch-files, multi-isearch-files-regexp):
11500         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
11502 2009-11-30  Juri Linkov  <juri@jurta.org>
11504         * doc-view.el (doc-view-continuous):
11505         Rename from `doc-view-continuous-mode'.
11506         (doc-view-menu): Move "Toggle display" to the top.
11507         Add submenu "Continuous" with radio buttons "Off"/"On"
11508         and "Save as Default".
11509         (doc-view-scroll-up-or-next-page)
11510         (doc-view-scroll-down-or-previous-page)
11511         (doc-view-next-line-or-next-page)
11512         (doc-view-previous-line-or-previous-page):
11513         Rename `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
11515 2009-11-30  Juri Linkov  <juri@jurta.org>
11517         * comint.el (comint-mode-map): Rebind `M-r' from
11518         `comint-previous-matching-input' to
11519         `comint-history-isearch-backward-regexp'.
11520         Unbind `M-s' to allow global key binding `M-s'.
11521         Add menu items for `comint-history-isearch-backward' and
11522         `comint-history-isearch-backward-regexp'.  (Bug#3746)
11524 2009-11-30  Juri Linkov  <juri@jurta.org>
11526         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
11527         For def=recenter, replace `recenter' with `recenter-top-bottom'
11528         that is called with `this-command' and `last-command' let-bound
11529         to `recenter-top-bottom'.  When the last `def' was not `recenter',
11530         set `recenter-last-op' to nil.  (Bug#4981)
11532 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11534         Minor cleanup and simplification.
11535         * filecache.el (file-cache-add-directory)
11536         (file-cache-add-directory-recursively)
11537         (file-cache-add-from-file-cache-buffer)
11538         (file-cache-delete-file-regexp, file-cache-delete-directory)
11539         (file-cache-files-matching-internal, file-cache-display): Use dolist.
11540         (file-cache-temp-minibuffer-message): Delete function.
11541         (file-cache-minibuffer-complete): Use minibuffer-message instead.
11543         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
11544         Don't signal an error when bumping into EOB in tr, s, or y.
11546 2009-11-29  Juri Linkov  <juri@jurta.org>
11548         * startup.el (fancy-about-text): Fix wording of Guided Tour.
11549         (Bug#4960)
11551         * descr-text.el (describe-char-unidata-list): Use lowercase name
11552         for "Unicode name" like in other tags.
11554 2009-11-29  Juri Linkov  <juri@jurta.org>
11556         * ediff-util.el (ediff-minibuffer-with-setup-hook):
11557         New compatibility macro.
11558         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
11560 2009-11-29  Juri Linkov  <juri@jurta.org>
11562         Add defcustom to define the cycling order of `recenter-top-bottom'.
11563         (Bug#4981)
11565         * window.el (recenter-last-op): Doc fix.
11566         (recenter-positions): New defcustom.
11567         (recenter-top-bottom): Rewrite to use `recenter-positions'.
11568         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
11570 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
11572         Improve integration of Tramp and ange-ftp in eshell.
11574         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
11575         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
11576         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
11578         * eshell/esh-util.el (top): Require also Tramp when compiling.
11579         (eshell-directory-files-and-attributes): Check for FTP remote
11580         connection.
11581         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
11582         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
11583         (eshell-file-attributes): Handle ".".  Return `entry'.
11585         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
11586         (ange-ftp-directory-files-and-attributes)
11587         (ange-ftp-real-directory-files-and-attributes): New defuns.
11589         * net/tramp.el (tramp-maybe-open-connection): Open the remote
11590         shell with "exec" when possible.  This prevents trailing prompts
11591         in `start-file-process'.
11593 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
11595         Try and remove assumptions about point-min==1.
11596         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
11597         (rng-compute-mode-line-string): Show the validation percentage in
11598         terms of the narrowed text, not the widened text.
11599         (rng-do-some-validation): Don't catch internal errors when debugging.
11600         (rng-first-error): Simplify.
11601         (rng-after-change-function): Remove work around.  AFAIK the bug has
11602         been fixed a while ago.
11604         * image-mode.el (image-minor-mode): Exit more gracefully when the image
11605         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
11607         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
11609         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
11610         `cd' doesn't always do it for us (bug#5067).
11612         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
11613         on 2009-10-25 as part of some other change (bug#5067).
11615 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11617         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
11618         `suspicious'.
11619         (byte-compile-warnings): Use byte-compile-warning-types.
11620         (byte-compile-save-excursion): Warn about use of set-buffer right
11621         after save-excursion.
11623         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
11624         the excursion as well.
11626 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
11628         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
11629         providing a Tramp related implementation of "su" and "sudo".
11630         (eshell-unix-initialize): Add "su" and "sudo".
11632 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
11634         * net/socks.el (socks-send-command): Convert binary request to
11635         unibyte before sending.  This fixes mishandling of some port
11636         numbers such as 129.
11638 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11640         * help.el (describe-bindings-internal): Remove `interactive'.
11642         * man.el (Man-completion-table): Trim a terminating "(".
11643         Remove the space between name page a section.
11644         Add the command's description on the `help-echo' property.
11645         Remove `process-connection-type' binding since it's unused by
11646         call-process.
11647         Provide completion for the "<section> <name>" format as well.
11648         (Man-default-man-entry): Remove spurious var shadowing the argument.
11650 2009-11-26  Kevin Ryde  <user42@zip.com.au>
11652         * log-view.el: Add "Keywords: tools", since its other keywords
11653         aren't in finder-known-keywords, and following vc.el.
11655         * sha1.el (sha1-string-external): default-directory "/" in case
11656         otherwise non-existent.  process-connection-type pipe for touch of
11657         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
11659 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11661         Misc coding convention cleanups.
11662         * htmlfontify.el (hfy-init-kludge-hook): Rename from
11663         hfy-init-kludge-hooks.
11664         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
11665         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
11666         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
11667         and push.
11668         (hfy-slant, hfy-weight): Use tables rather than code.
11669         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
11670         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
11671         (hfy-face-attr-for-class): Initialize `face-spec' directly.
11672         (hfy-face-to-css): Remove `nconc' with single arg.
11673         (hfy-p-to-face-lennart): Use `or'.
11674         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
11675         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
11676         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
11677         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
11678         (hfy-force-fontification): Use run-hooks.
11680 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
11682         Various minor fixes.
11683         * htmlfontify.el (hfy-default-header): Add toggle_invis since
11684         Javascript belongs in the header, not the body.
11685         (hfy-javascript): Remove.
11686         (hfy-fontify-buffer): Don't insert it any more.
11687         (hfy-face-at): Handle (face0 face1 face2) style face properties.
11688         Fix bug in invis handling when there were no invis props in a chunk.
11690 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11692         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
11694 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
11696         * finder.el (finder-mode-map): Add a menu.
11698 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
11700         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
11701         "unsigned" structs.
11703         (verilog-leap-to-head, verilog-backward-token): Handle "disable
11704         fork" statement better.
11706 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
11708         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
11709         (verilog-delete-auto, verilog-delete-empty-auto-pair)
11710         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
11711         Reported by Clay Douglass.
11713         (verilog-auto-inst, verilog-auto-star-safe)
11714         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
11715         Fix removing "// Interfaces" when saving .* expansions.
11716         Reported by Pierre-David Pfister.
11718 2009-11-26  Glenn Morris  <rgm@gnu.org>
11720         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
11721         the scope.
11723 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
11725         * vc-annotate.el (vc-annotate-revision-previous-to-line):
11726         Really use previous revision.
11728 2009-11-25  Kevin Ryde  <user42@zip.com.au>
11730         * man.el (Man-completion-table): default-directory "/" in case
11731         doesn't otherwise exist.  process-environment COLUMNS=999 so as
11732         not to truncate long names.  process-connection-type pipe to avoid
11733         any chance of hitting the pseudo-tty TIOCGWINSZ.
11734         (man): completion-ignore-case t for friendliness and since man
11735         itself is case-insensitive on the command line.
11736         Further to Bug#3717.
11738         * arc-mode.el: Add "Keywords: files", so the details in its
11739         commentary can be reached from finder-by-keyword.
11740         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
11741         editing mode, but it's comms related and sgml-mode.el has "comm"
11742         on that basis too.
11743         * textmodes/bibtex-style.el: Add "Keywords: tex".
11744         * international/isearch-x.el, international/ja-dic-cnv.el:
11745         * international/ja-dic-utl.el, international/kkc.el:
11746         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
11748 2009-11-25  Juri Linkov  <juri@jurta.org>
11750         * man.el (Man-completion-table): Modify regexp to include
11751         section names to completion strings.  (Bug#3717)
11753 2009-11-25  Juri Linkov  <juri@jurta.org>
11755         Search recursively in gzipped files.  (Bug#4982)
11757         * progmodes/grep.el (grep-highlight-matches): Add new options
11758         `always' and `auto'.  Doc fix.
11759         (grep-process-setup): Check `grep-highlight-matches' for
11760         `auto-detect' to determine the need to compute grep defaults.
11761         Move Windows/DOS specific --colors settings handling
11762         to `grep-compute-defaults'.  Check `grep-highlight-matches'
11763         to get the value of "--color=".
11764         (grep-compute-defaults): Compute `grep-highlight-matches' when it
11765         has the value `auto-detect'.  Move Windows/DOS specific settings
11766         from `grep-process-setup'.
11767         (zrgrep): New command with alias `rzgrep'.
11769 2009-11-25  Juri Linkov  <juri@jurta.org>
11771         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
11772         to nil instead of switching off view-mode.  (Bug#4896)
11774 2009-11-25  Juri Linkov  <juri@jurta.org>
11776         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
11778         * mwheel.el (mwheel-scroll-up-function)
11779         (mwheel-scroll-down-function): New defvars.
11780         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
11781         `scroll-up', and `mwheel-scroll-down-function' instead of
11782         `scroll-down'.
11784         * doc-view.el (doc-view-scroll-up-or-next-page)
11785         (doc-view-scroll-down-or-previous-page): Add optional ARG.
11786         Use this ARG in the call to image-scroll-up/image-scroll-down.
11787         Change `interactive' spec to "P".  Goto next/previous page only
11788         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
11789         SPC/DEL case).  Doc fix.
11790         (doc-view-next-line-or-next-page)
11791         (doc-view-previous-line-or-previous-page): Rename arg to ARG
11792         for consistency.
11793         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
11794         `doc-view-scroll-up-or-next-page', and buffer-local
11795         `mwheel-scroll-down-function' to
11796         `doc-view-scroll-down-or-previous-page'.
11798 2009-11-25  Juri Linkov  <juri@jurta.org>
11800         Provide additional default values (directories at other Dired
11801         windows) via M-n in the minibuffer of some Dired commands.
11803         * dired-aux.el (dired-diff, dired-compare-directories)
11804         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
11805         `minibuffer-default' in `minibuffer-with-setup-hook'.
11806         (dired-dwim-target-directory): Find a window that displays Dired
11807         buffer instead of failing when the next window is not Dired.
11808         Use `get-window-with-predicate' to find for the next Dired window.
11809         (dired-dwim-target-defaults): New function.
11811         * ediff-util.el (ediff-read-file-name):
11812         Use `dired-dwim-target-defaults' to set `minibuffer-default'
11813         in `minibuffer-with-setup-hook'.
11815 2009-11-25  Juri Linkov  <juri@jurta.org>
11817         Provide additional default values (file name at point or at the
11818         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
11820         * minibuffer.el (read-file-name-defaults): New function.
11821         (read-file-name): Reset `minibuffer-default' to nil when
11822         it duplicates initial input `insdef'.
11823         Bind `minibuffer-default-add-function' to lambda that
11824         calls `read-file-name-defaults' in `minibuffer-selected-window'.
11825         (minibuffer-insert-file-name-at-point): New command.
11827         * files.el (file-name-at-point-functions): New defcustom.
11828         (find-file-default): Remove defvar.
11829         (find-file-read-args): Don't use `find-file-default'.
11830         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
11831         to `read-file-name'.
11832         (find-file-literally): Use `read-file-name' with
11833         `confirm-nonexistent-file-or-buffer'.
11835         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
11837         * dired.el (dired-read-dir-and-switches):
11838         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
11839         to `read-file-name'.
11840         (dired-file-name-at-point): New function.
11841         (dired-mode): Add hook `dired-file-name-at-point' to
11842         `file-name-at-point-functions'.
11844 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11846         Really make the *Completions* window soft-dedicated (bug#5030).
11847         * window.el (window--display-buffer-2): Add `dedicated' argument.
11848         (display-buffer): Pass it when needed so the dedicated flag is set
11849         after calling set-window-buffer, which would otherwise reset it.
11851 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11853         * progmodes/meta-mode.el (meta-complete-symbol):
11854         * progmodes/etags.el (complete-tag):
11855         * mail/mailabbrev.el (mail-abbrev-complete-alias):
11856         Use completion-in-region.
11858         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
11859         (dabbrev-completion): Use completion-in-region.
11860         (dabbrev--abbrev-at-point): Simplify regexp.
11862         * abbrev.el (abbrev--before-point): Use word-motion functions
11863         if :regexp is not specified (bug#5031).
11865         * subr.el (string-prefix-p): New function.
11867         * man.el (Man-completion-cache): New var.
11868         (Man-completion-table): Use it.
11870         * vc.el (vc-print-log-internal): Make `limit' optional for better
11871         compatibility (e.g. with vc-annotate.el).
11873 2009-11-24  Kevin Ryde  <user42@zip.com.au>
11875         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
11876         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
11878         * emacs-lisp/elint.el (elint-add-required-env): Better error message
11879         when .el source file not found or other error.
11881 2009-11-24  Markus Triska  <markus.triska@gmx.at>
11883         * linum.el (linum-update-window): Ignore intangible (bug#4996).
11885 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11887         Handle the [back] button properly (bug#4979).
11888         * descr-text.el (describe-text-properties): Add a `buffer' argument.
11889         Use help-setup-xref, help-buffer, and with-help-window.
11890         (describe-char): Add `buffer' argument.
11891         Pass proper command to help-setup-xref.  Don't meddle with
11892         help-xref-stack-item directly.
11893         (describe-text-category): Use with-help-window and help-buffer.
11895         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
11896         for the displayed buffer (bug#4887).
11898         * man.el (Man-completion-table): New function.
11899         (man): Use it.
11901 2009-11-24  David Reitter  <david.reitter@gmail.com>
11903         * vc-git.el (vc-git-registered): Use checkout directory (where
11904         .git is) rather than the file's directory and a relative path spec
11905         to work around a bug in git.
11907 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
11909         Improve handling of processes on remote hosts.
11911         * eshell/esh-util.el (eshell-path-env): New defvar.
11912         (eshell-parse-colon-path): New defun.
11913         (eshell-file-attributes): Use `eshell-parse-colon-path'.
11915         * eshell/esh-ext.el (eshell-search-path):
11916         Use `eshell-parse-colon-path'.
11917         (eshell-remote-command): Remove argument HANDLER.
11918         (eshell-external-command): Check for FTP remote connection.
11920         * eshell/esh-proc.el (eshell-gather-process-output):
11921         Use `file-truename', in order to start also symlinked files.
11922         Apply `start-file-process' instead of `start-process'.
11923         Shorten `command' to the local file name part.
11925         * eshell/em-cmpl.el (eshell-complete-commands-list):
11926         Use `eshell-parse-colon-path'.
11928         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
11930         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
11931         to `eshell-directory-change-hook'.
11933 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
11935         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
11936         because it could be enabled automatically if view-read-only is non-nil.
11938 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
11940         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
11941         made on 2009-11-22.
11943 2009-11-24  Glenn Morris  <rgm@gnu.org>
11945         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
11946         deleted variable bookmark-bmenu-bookmark-column.
11948 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11950         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
11952 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
11954         * net/browse-url.el (browse-url-filename-alist): On Windows, add
11955         two slashes to the "file:" prefix.
11956         (browse-url-file-url): De-munge Cygwin filenames before passing
11957         them to Windows browser.
11958         (browse-url-default-windows-browser): Use call-process.
11960 2009-11-23  Juri Linkov  <juri@jurta.org>
11962         Implement DocView Continuous mode.  (Bug#4896)
11963         * doc-view.el (doc-view-continuous-mode): New defcustom.
11964         (doc-view-mode-map): Bind C-n/<down> to
11965         `doc-view-next-line-or-next-page', C-p/<up> to
11966         `doc-view-previous-line-or-previous-page'.
11967         (doc-view-next-line-or-next-page)
11968         (doc-view-previous-line-or-previous-page): New commands.
11970 2009-11-23  Juri Linkov  <juri@jurta.org>
11972         Implement Isearch in comint input history.  (Bug#3746)
11973         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
11974         `isearch-mode-hook'.
11975         (comint-history-isearch): New defcustom.
11976         (comint-history-isearch-backward)
11977         (comint-history-isearch-backward-regexp): New commands.
11978         (comint-history-isearch-message-overlay): New buffer-local variable.
11979         (comint-history-isearch-setup, comint-history-isearch-end)
11980         (comint-goto-input, comint-history-isearch-search)
11981         (comint-history-isearch-message, comint-history-isearch-wrap)
11982         (comint-history-isearch-push-state)
11983         (comint-history-isearch-pop-state): New functions.
11985 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
11987         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
11988         return.
11989         (tramp-handle-make-symbolic-link)
11990         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
11991         Quote file names.
11992         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
11993         (tramp-handle-process-file): Use it.
11995 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11997         * window.el (move-to-window-line-last-op): Remove.
11998         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
12000 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
12002         Make M-r mirror the new cycling behavior of C-l.
12003         * window.el (move-to-window-line-last-op): New var.
12004         (move-to-window-line-top-bottom): New command.
12005         (global-map): Bind M-r move-to-window-line-top-bottom.
12007 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
12009         * dired-x.el (dired-guess-shell-alist-default):
12010         Support xz format.  (Bug#4953)
12012 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
12014         * emulation/viper-cmd.el: Use viper-last-command-char instead of
12015         last-command-char/last-command-event.
12016         (viper-prefix-arg-value): Do correct conversion of event-char for
12017         XEmacs.
12019         * emulation/viper-util.el, emulation/viper.el:
12020         Use viper-last-command-char instead of
12021         last-command-char/last-command-event.
12023         * ediff-init.el, ediff-mult.el, ediff-util.el:
12024         Replace last-command-char and last-command-event
12025         with (ediff-last-command-char) everywhere.
12027         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
12028         created in fundamental mode.
12030         * ediff.el (ediff-version): Revert the change of interactive-p to
12031         called-interactively-p.
12033 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
12035         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
12036         generation from word-movement command names.
12038 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
12040         * cus-start.el (all): Add native condition for font-use-system-font.
12042 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
12044         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
12045         Correct the patch from 2009-11-18.  (Bug#3910)
12047 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
12049         * progmodes/subword.el: Rename from lisp/subword.el.
12051         * subword.el: Rename to progmodes/subword.el.
12053         * Makefile.in (ELCFILES): Adapt to subword.el move.
12055 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12056             Stefan Monnier  <monnier@iro.umontreal.ca>
12058         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
12059         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
12060         (bookmark-bmenu-show-filenames): Use push.
12061         (bookmark-bmenu-hide-filenames): Use local var instead of
12062         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
12063         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
12064         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
12065         filenames now that the bookmark names are always available.
12067 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12069         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
12070         (bookmark-search-pattern): Move and leave unbound.
12071         (bookmark-bmenu-mode-map): Change binding.
12072         (bookmark-read-search-input): Simplify.
12073         Don't use text-char-description.  Don't error on non-char events.
12074         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
12075         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
12076         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
12077         Use a local var for the timer.
12078         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
12079         (i.e. bookmark-bmenu-search).
12081 2009-11-21  Glenn Morris  <rgm@gnu.org>
12083         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
12085 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
12087         * net/browse-url.el (browse-url-default-windows-browser):
12088         Use cygstart for cygwin.
12090 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
12092         * bookmark.el: Formatting and doc fixes only:
12093         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
12094         (bookmark-bmenu-search): Wrap to fit within 80 columns.
12095         Minor grammar and punctuation fixes in doc string.
12096         (bookmark-read-search-input): Adjust to fit within 80 columns.
12098 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
12100         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
12101         (c-backward-into-nomenclature): Adapt to subword renaming.
12103         * subword.el (subword-forward, subword-backward, subword-mark)
12104         (subword-kill, subword-backward-kill, subword-transpose)
12105         (subword-downcase, subword-upcase, subword-capitalize)
12106         (subword-forward-internal, subword-backward-internal):
12107         Rename from forward-subword, backward-subword, mark-subword,
12108         kill-subword, backward-kill-subword, transpose-subwords,
12109         downcase-subword, upcase-subword, capitalize-subword,
12110         forward-subword-internal, backward-subword-internal.
12112 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12114         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
12115         New options.
12116         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
12117         New vars.
12118         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
12119         (bookmark-bmenu-filter-alist-by-regexp)
12120         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
12121         (bookmark-bmenu-search): New command.
12122         (bookmark-bmenu-mode-map): Bind it.
12124 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
12126         * progmodes/cc-cmds.el: declare-functioned forward-subword and
12127         backward-subword to quit the byte-compiler.
12129         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
12131         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
12133         * progmodes/cc-cmds.el (c-update-modeline)
12134         (c-forward-into-nomenclature, c-backward-into-nomenclature):
12135         Refer to subword.el functions instead of cc-subword.el.
12137         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
12138         subword.el functions instead of cc-subword.el.
12140         * progmodes/cc-subword.el: Rename to subword.el.
12141         * subword.el: Rename from progmodes/cc-subword.el.
12142         (subword-mode-map): Rename from c-subword-mode-map.
12143         (subword-mode): Rename from c-subword-mode.
12144         (global-subword-mode): New global minor mode.
12145         (forward-subword): Rename from c-forward-subword.
12146         (backward-subword): Rename from c-backward-subword.
12147         (mark-subword): Rename from c-mark-subword.
12148         (kill-subword): Rename from c-kill-subword.
12149         (backward-kill-subword): Rename from c-backward-kill-subword.
12150         (transpose-subwords): Rename from c-tranpose-subword.
12151         (downcase-subword): Rename from c-downcase-subword.
12152         (capitalize-subword): Rename from c-capitalize-subword.
12153         (forward-subword-internal): Rename from c-forward-subword-internal.
12154         (backward-subword-internal): Rename from c-backward-subword-internal.
12156 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
12158         * vc.el (vc-deduce-fileset): Allow non-state changing operations
12159         from a dired buffer.
12160         (vc-dired-deduce-fileset): New function.
12161         (vc-root-diff, vc-print-root-log): Use it.
12163         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
12164         nil LIMIT argument to vc-print-log-internal.
12166 2009-11-20  Glenn Morris  <rgm@gnu.org>
12168         * Makefile.in (ELCFILES): Regenerate.
12170 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
12172         * calc/calc.el (calc-set-mode-line):
12173         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12174         (math-format-number): Rename `math-format-complement-signed' to
12175         `math-format-twos-complement'.
12177         * calc/calc-bin.el (math-format-twos-complement): Rename from
12178         math-format-complement-signed.
12179         (calc-radix): Rename `calc-complement-signed-mode' to
12180         `calc-twos-complement-mode'.
12181         (calc-octal-radix, calc-hex-radix): Add an argument for
12182         two's complement.
12184         * calc/calc-embed.el (calc-embedded-mode-vars):
12185         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12187         * calc/calc-ext.el (calc-init-extensions):
12188         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12189         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
12191         * calc/calc-units.el (math-build-units-table-buffer):
12192         Let `calc-twos-complement-mode' be nil.
12194         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
12195         entries.
12197         * calc/calc-vec.el (calcFunc-vunpack):
12198         * calc/calc-aent.el (calc-do-calc-eval):
12199         * calc/calc-forms.el (math-format-date):
12200         * calc/calc-graph.el (calc-graph-plot):
12201         * calc/calc-math.el (math-use-emacs-fn):
12202         * calc/calccomp.el (math-compose-expr):
12203         Let `calc-twos-complement-mode' be nil.
12205 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12207         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
12208         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
12209         * minibuffer.el (completion-in-region-functions): New hook.
12210         (completion-in-region): New function.
12211         * emacs-lisp/lisp.el (lisp-complete-symbol):
12212         * pcomplete.el (pcomplete-std-complete): Use it.
12214 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12216         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
12217         (latex-complete-alist): New vars.
12218         (latex-string-prefix-p, latex-complete-bibtex-keys)
12219         (latex-complete-envnames, latex-complete-refkeys)
12220         (latex-complete-data): New functions.
12221         (latex-complete, latex-indent-or-complete): New commands.
12223         * window.el (display-buffer-mark-dedicated): New var.
12224         (display-buffer): Obey it.
12225         * minibuffer.el (minibuffer-completion-help): Use it.
12227         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
12229         * filecache.el (file-cache-add-file): Use push and cons.
12230         (file-cache-delete-file-regexp): Use push.
12231         (file-cache-complete): Use completion-in-region.
12233         * simple.el (with-wrapper-hook): Fix thinko.
12235         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
12236         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
12237         Use with-current-buffer and string-to-number.
12238         (hfy-fallback-colour-values): Use assoc-string.
12239         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
12240         (hfy-face-at): Remove unused var `found-face'.
12241         (hfy-compile-stylesheet): Remove unused var `css'.
12242         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
12243         and `orig-buffer'.
12244         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
12245         Use with-current-buffer.
12246         (hfy-text-p): Use expand-file-name and fewer setq.
12248 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
12250         * htmlfontify.el, hfy-cmap.el: New files.
12252 2009-11-19  Juri Linkov  <juri@jurta.org>
12254         * minibuffer.el (completions-format): New defcustom.
12255         (completion--insert-strings): Implement vertical format.
12257         * simple.el (switch-to-completions): Move point to the first
12258         completion when point was at the beginning of the buffer.
12260 2009-11-19  Juri Linkov  <juri@jurta.org>
12262         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
12264         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
12266 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
12268         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
12269         (mail-signature): Change default to t.
12270         (mail-from-style): Deprecate `system-default' value.
12271         (mail-insert-from-field): For default value of mail-from-style,
12272         default to `angles' unless `angles' needs quoting and `parens'
12273         does not.
12274         (mail-citation-prefix-regexp): Use citation regexp from
12275         message-mode.
12277 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
12279         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12280         Set variables for computing the prompt for reading password.
12282 2009-11-19  Glenn Morris  <rgm@gnu.org>
12284         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
12286         * textmodes/flyspell.el (sgml-lexical-context): Declare.
12288         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
12289         (newsticker-treeview-listwindow-height): Fix custom type.
12291 2009-11-19  Kenichi Handa  <handa@m17n.org>
12293         * descr-text.el (describe-char-padded-string): Compose with TAB
12294         only if there's a font for CH.
12295         (describe-char): Fix the condition for detecting a trivial composition.
12297 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
12299         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
12300         more accurate version of the regexp.  (Bug#3910)
12302 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
12304         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
12306 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
12308         * font-setting.el (font-use-system-font): Declare for byte-compiler.
12309         (font-setting-change-default-font): Fix typo in docstring.
12311 2009-11-18  Alan Mackenzie  <acm@muc.de>
12313         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
12315 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
12317         * font-setting.el (font-use-system-font): Move ...
12319         * cus-start.el (all): ... to here.
12321 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
12323         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
12324         Don't set `ad-return-value' if `ad-do-it' doesn't.
12326         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
12327         modification time.
12329 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
12331         * menu-bar.el: Put "Use system font" in Option-menu.
12332         (menu-bar-options-save): Add font-use-system-font.
12334         * loadup.el: If feature system-font-setting or font-render-setting is
12335         there, load font-setting.
12337         * Makefile.in (ELCFILES): Add font-settings.el.
12338         * font-setting.el: New file.
12340 2009-11-17  Glenn Morris  <rgm@gnu.org>
12342         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
12344         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
12345         Preserve point in the list buffer.  (Bug#4939)
12346         Use point-at-eol.
12347         (newsticker--treeview-list-update-highlight)
12348         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
12350 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
12352         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
12353         Remove.
12355         * calc/calc-ext.el (calc-init-extensions): Remove references to
12356         symclip.
12358         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
12360         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
12361         * calc/calc-help.el (calc-b-prefix-help): Remove references to
12362         `calc-symclip'.
12364 2009-11-16  Kevin Ryde  <user42@zip.com.au>
12366         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
12367         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
12369         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
12370         (lm-keywords-list): Allow comma-only separator like "foo,bar".
12371         Ignore trailing spaces by omit-nulls to split-string (fixing
12372         regression from Emacs 21 due to the incompatible split-string
12373         change).  (Bug #4928.)
12375 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
12377         * vc.el (vc-log-show-limit): Default to 2000.
12378         (vc-print-log-internal): Insert buttons to request more entries
12379         when limiting the output.
12381         * vc-sccs.el (vc-sccs-print-log):
12382         * vc-rcs.el (vc-rcs-print-log):
12383         * vc-cvs.el (vc-cvs-print-log):
12384         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
12385         LIMIT is non-nil.
12387 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
12389         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
12390         error when `tramp-gvfs-dbus-event-vector' is set.
12391         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
12393 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12395         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
12397 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
12399         * net/dbus.el (dbus-unregister-service): New defun.
12400         (dbus-register-property): Register the handlers of
12401         "org.freedesktop.DBus.Properties" for SERVICE.
12402         (dbus-property-handler): Fix docstring.
12404 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
12406         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
12407         Quote doc string reference in defvaralias as it is not in special form.
12408         (byte-compile-output-docform): Doc fix.
12410 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
12412         * calc/calc.el (math-2-word-size, math-half-2-word-size)
12413         (calc-complement-signed-mode): New variables.
12414         (calc-set-mode-line): Add indicator for twos-complements.
12415         (math-format-number): Format twos-complement notation.
12417         * calc/calc-bin.el (calc-word-size): Reset the variables
12418         `math-2-word-size' and `math-half-2-word-size'.
12419         (math-format-complement-signed, math-symclip, calcFunc-symclip)
12420         (calc-symclip): New functions.
12422         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
12424         * calc/calc-embed.el (calc-embedded-mode-vars):
12425         Add `calc-complement-signed-mode' to the list of modes.
12427         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
12428         (calc-b-oper-keys): Add `calc-symclip' to list.
12430         * calc/calc-ext.el (math-read-number-fancy): Read complement
12431         signed numbers.
12432         (calc-init-extensions): Add binding for `calc-symclip'.
12433         Add autoload for `calcFunc-symclip' and `calc-symclip'.
12435         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
12436         `calc-symclip'.
12437         (calc-modes-menu): Add item for twos complement mode.
12439         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
12441 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
12443         * register.el (jump-to-register, insert-register): Handle Semantic
12444         tags.  From commented-out advice in semantic/senator.el.
12446 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
12448         * vc.el (vc-log-show-limit): New variable.
12449         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
12450         when using a prefix argument.
12451         (vc-print-log-internal): Add new argument LIMIT.
12453         * vc-svn.el (vc-svn-print-log):
12454         * vc-mtn.el (vc-mtn-print-log):
12455         * vc-hg.el (vc-hg-print-log):
12456         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
12457         pass it to the log command when set.  Make the BUFFER argument
12458         non-optional.
12460         * vc-sccs.el (vc-sccs-print-log):
12461         * vc-rcs.el (vc-rcs-print-log):
12462         * vc-git.el (vc-git-print-log):
12463         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
12464         ignore it.  Make the BUFFER argument non-optional
12466         * bindings.el (mode-line-buffer-identification): Do not purecopy.
12468 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
12470         * dired.el (dired-mode-map): Move encryption items to "Operate"
12471         menu (Bug#4703).
12473         * strokes.el (strokes-update-window-configuration): Make strokes
12474         buffer current before erasing (Bug#4906).
12476 2009-11-15  Juri Linkov  <juri@jurta.org>
12478         * simple.el (set-mark-default-inactive): Add :type, :group
12479         and :version.  (Bug#4876)
12481 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
12483         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
12484         (archive-unique-fname): ... here.  (Bug#4929)
12486 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12488         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
12489         with a real fix.
12491         * novice.el (disabled-command-function): Add useful args.
12492         Setup the help buffer so that [back] works.
12493         Remove redundant call to help-mode.
12494         (disabled-command-function): Use `case'.
12495         (en/disable-command): New function extracted from enable-command.
12496         (enable-command, disable-command): Use it.
12498 2009-11-14  Glenn Morris  <rgm@gnu.org>
12500         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
12501         constants.  (Bug#4913)
12503         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
12505 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
12507         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
12508         defined in C that have no doc-strings.  (Bug#1063)
12510 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
12512         * cus-edit.el (data, files):
12513         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
12515 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
12517         * simple.el (shell-command): Doc fix (Bug#4891).
12519         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
12521 2009-11-14  Glenn Morris  <rgm@gnu.org>
12523         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
12524         statements for vc-diff, emerge-quit, and rmail-cease-edit.
12525         If they are already loaded, eval-after-load will do the right thing.
12527         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
12528         compiling.
12530         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
12532         * simple.el (x-selection-owner-p): Declare.
12533         (read-mail-command): Use custom radio type rather than choice.
12534         (completion-no-auto-exit): Doc fix.
12536         * custom.el (defgroup):
12537         * epg-config.el (epg): Doc fixes.
12539 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
12541         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
12542         * international/ccl.el (define-ccl-program): Do not purecopy the
12543         docstring, defconst does it anyway.
12545 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12547         * add-log.el (add-change-log-entry): Avoid displaying the changelog
12548         a second time.
12550         * x-dnd.el (x-dnd-maybe-call-test-function):
12551         * window.el (split-window-vertically):
12552         * whitespace.el (whitespace-help-on):
12553         * vc-rcs.el (vc-rcs-consult-headers):
12554         * userlock.el (ask-user-about-lock-help)
12555         (ask-user-about-supersession-help):
12556         * type-break.el (type-break-force-mode-line-update):
12557         * time-stamp.el (time-stamp-conv-warn):
12558         * terminal.el (te-set-output-log, te-more-break, te-filter)
12559         (te-sentinel, terminal-emulator):
12560         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
12561         (term-write-input-ring, term-check-source, term-start-output-log):
12562         (term-display-buffer-line, term-dynamic-list-completions):
12563         (term-ansi-make-term, serial-term):
12564         * subr.el (selective-display):
12565         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
12566         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
12567         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
12568         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
12569         (speedbar-remove-localized-speedbar-support)
12570         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
12571         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
12572         (speedbar-buffers-line-directory):
12573         * simple.el (shell-command-on-region, append-to-buffer)
12574         (prepend-to-buffer):
12575         * shadowfile.el (shadow-save-todo-file):
12576         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
12577         (scroll-bar-maybe-set-window-start):
12578         * sb-image.el (speedbar-image-dump):
12579         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
12580         (load-save-place-alist-from-file):
12581         * ps-samp.el (ps-print-message-from-summary):
12582         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
12583         (ps-background-image, ps-begin-job, ps-do-despool):
12584         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
12585         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
12586         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
12587         (pr-call-process, pr-file-list, pr-interface-save):
12588         * novice.el (disabled-command-function)
12589         (enable-command, disable-command):
12590         * mouse.el (mouse-buffer-menu-alist):
12591         * mouse-copy.el (mouse-kill-preserving-secondary):
12592         * macros.el (kbd-macro-query):
12593         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
12594         * informat.el (batch-info-validate):
12595         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
12596         * hippie-exp.el (try-expand-dabbrev-visible):
12597         * help-mode.el (help-make-xrefs):
12598         * help-fns.el (describe-variable):
12599         * generic-x.el (bat-generic-mode-run-as-comint):
12600         * finder.el (finder-mouse-select):
12601         * find-dired.el (find-dired-sentinel):
12602         * filesets.el (filesets-file-close):
12603         * files.el (list-directory):
12604         * faces.el (list-faces-display, describe-face):
12605         * facemenu.el (list-colors-display):
12606         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
12607         * epg.el (epg--process-filter, epg-cancel):
12608         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
12609         (epa--read-signature-type):
12610         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
12611         (emerge-file-names):
12612         * ehelp.el (electric-helpify):
12613         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
12614         * ediff-vers.el (rcs-ediff-view-revision):
12615         * ediff-util.el (ediff-setup):
12616         * ediff-mult.el (ediff-append-custom-diff):
12617         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
12618         (ediff-wordify):
12619         * echistory.el (Electric-command-history-redo-expression):
12620         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
12621         * disp-table.el (describe-display-table):
12622         * dired.el (dired-find-buffer-nocreate):
12623         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
12624         * dabbrev.el (dabbrev--same-major-mode-p):
12625         * chistory.el (list-command-history):
12626         * apropos.el (apropos-documentation):
12627         * allout.el (allout-obtain-passphrase):
12628         (allout-copy-exposed-to-buffer):
12629         (allout-verify-passphrase): Use with-current-buffer.
12631 2009-11-13  Glenn Morris  <rgm@gnu.org>
12633         * Makefile.in (ELCFILES): Regenerate.
12635 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
12637         * net/dbus.el (dbus-registered-objects-table): Rename from
12638         `dbus-registered-functions-table', because it contains also properties.
12639         (dbus-unregister-object): Unregister also properties.
12640         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
12641         Use a timeout of 500 msec, in order to not block.
12642         (dbus-register-property, dbus-property-handler): New defuns.
12644 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12646         * simple.el (minibuffer-default-add-completions): Drop deprecated
12647         4th arg.
12649 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
12651         * textmodes/artist.el (artist-mouse-choose-operation):
12652         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
12653         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
12654         (artist-compute-up-event-key): New function.
12655         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
12657 2009-11-13  Kenichi Handa  <handa@m17n.org>
12659         * language/japan-util.el: Make sure that the value of jisx0208
12660         property is jisx0208 character.
12662 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
12664         * international/mule.el (auto-coding-regexp-alist): Only purecopy
12665         car or each item, not the whole list.
12667 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12669         * minibuffer.el (minibuffer-completion-help):
12670         Use minibuffer-hide-completions.
12672 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
12674         * dired.el (dired-save-positions, dired-restore-positions): New funs.
12675         (dired-revert): Use them (bug#4880).
12677 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
12679         * tooltip.el (tooltip-frame-parameters): Undo previous change.
12681 2009-11-12  Juri Linkov  <juri@jurta.org>
12683         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
12684         New functions.
12685         (find-file-literally-at-point): Alias of `ffap-literally'.
12687 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
12689         * textmodes/ispell.el (ispell-skip-region-alist):
12690         * textmodes/css-mode.el (auto-mode-alist):
12691         * progmodes/compile.el (auto-mode-alist):
12692         * international/mule.el (ctext-non-standard-encodings-alist)
12693         (ctext-non-standard-encodings-regexp):
12694         * simple.el (shell-command-switch, text-read-only):
12695         * replace.el (occur-mode-map):
12696         * paths.el (rmail-file-name):
12697         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
12698         * find-file.el (ff-special-constructs):
12699         * files.el (file-name-handler-alist):
12700         * composite.el: Purecopy strings.
12702         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
12704 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
12706         * widget.el (define-widget): Purecopy the docstring.
12707         * international/mule-cmds.el (charset): Do not purecopy the
12708         docstring here, define-widget does it.
12710         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
12711         * textmodes/bibtex-style.el (auto-mode-alist):
12712         * progmodes/inf-lisp.el (inferior-lisp-prompt):
12713         * progmodes/compile.el (compile-command):
12714         * language/korea-util.el (default-korean-keyboard):
12715         * international/mule-conf.el (file-coding-system-alist):
12716         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
12717         * tooltip.el (tooltip-frame-parameters):
12718         * newcomment.el (comment-end, comment-padding):
12719         * dired.el (dired-trivial-filenames):
12720         * comint.el (comint-file-name-prefix): Purecopy initial values.
12722 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
12724         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
12725         (tramp-advice-minibuffer-electric-tilde): Unload advices via
12726         `tramp-unload'.
12727         (tramp-advice-make-auto-save-file-name)
12728         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
12729         after removing the advice.
12731 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
12733         * progmodes/grep.el (grep-regexp-alist):
12734         * international/mule-cmds.el (iso-2022-control-alist):
12735         * emacs-lisp/timer.el (timer-duration-words):
12736         * subr.el (version-separator, version-regexp-alist):
12737         * minibuffer.el (completion-styles-alist):
12738         * faces.el (face-attribute-name-alist, list-faces-sample-text):
12739         Change defvars to defconsts.
12741         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
12742         * loadup.el ("international/mule-conf"): Load the byte compiled version.
12743         * international/mule-conf.el: Allow to be byte compiled.
12745         * international/mule.el (define-charset): Purecopy props.
12746         (load-with-code-conversion): Purecopy doc string and file name.
12747         (put-charset-property): Purecopy strings.
12748         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
12750         * international/mule-cmds.el (register-input-method): Purecopy arguments.
12751         (define-char-code-property): Correctly purecopy the table.
12753         * international/ccl.el (define-ccl-program): Purecopy the docstring.
12755         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
12757         * subr.el (add-hook): Purecopy strings.
12758         (eval-after-load): Purecopy load-history-regexp and the form.
12760         * custom.el (custom-declare-group): Purecopy load-file-name.
12762         * subr.el (menu-bar-separator): New defconst.
12763         * net/eudc.el (eudc-tools-menu):
12764         * international/mule-cmds.el (set-coding-system-map)
12765         (mule-menu-keymap):
12766         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
12767         * vc-hooks.el (vc-menu-map):
12768         * replace.el (occur-mode-map):
12769         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
12770         (menu-bar-edit-menu, menu-bar-goto-menu)
12771         (menu-bar-custom-menu, menu-bar-showhide-menu)
12772         (menu-bar-options-menu, menu-bar-tools-menu)
12773         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
12774         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
12775         (menu-bar-help-menu):
12776         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
12777         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
12779         * term/x-win.el (x-gtk-stock-map):
12780         * progmodes/vera-mode.el (auto-mode-alist):
12781         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
12782         (inferior-lisp-program, inferior-lisp-load-command):
12783         * progmodes/hideshow.el (hs-special-modes-alist):
12784         * progmodes/gud.el (same-window-regexps):
12785         * progmodes/grep.el (grep-program, find-program, xargs-program):
12786         * net/telnet.el (same-window-regexps):
12787         * net/rlogin.el (same-window-regexps):
12788         * language/ethiopic.el (font-ccl-encoder-alist):
12789         * vc-sccs.el (vc-sccs-master-templates):
12790         * vc-rcs.el (vc-rcs-master-templates):
12791         * subr.el (cl-assertion-failed):
12792         * simple.el (next-error-overlay-arrow-position):
12793         * lpr.el (lpr-command):
12794         * locate.el (locate-ls-subdir-switches):
12795         * info.el (same-window-regexps, info)
12796         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
12797         * image-mode.el (image-mode, auto-mode-alist):
12798         * hippie-exp.el (hippie-expand-ignore-buffers):
12799         * format.el (format-alist):
12800         * find-dired.el (find-ls-subdir-switches, find-grep-options)
12801         (find-name-arg):
12802         * facemenu.el (facemenu-keybindings):
12803         * dired.el (dired-listing-switches, dired-chown-program):
12804         * diff.el (diff-switches, diff-command):
12805         * cus-edit.el (same-window-regexps):
12806         * bindings.el (mode-line-mule-info)
12807         (mode-line-buffer-identification): Purecopy strings.
12809 2009-11-11  Juri Linkov  <juri@jurta.org>
12811         * simple.el (dired-get-filename) <declare-function>:
12812         Tell the byte-compiler about dired-get-filename.
12813         (shell-command): In Dired mode, get filename from the current line
12814         as the default value.
12816 2009-11-10  Glenn Morris  <rgm@gnu.org>
12818         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
12819         * calendar/holidays.el, progmodes/cperl-mode.el:
12820         Update x-popup-menu declarations.
12822         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
12823         (list-load-path-shadows): Use dolist.
12824         (list-load-path-shadows): Use with-current-buffer.
12826 2009-11-10  Juri Linkov  <juri@jurta.org>
12828         * minibuffer.el (read-file-name): Support a list of default values
12829         in `default-filename'.  Use the first file name where only one
12830         element is required.  Doc fix.
12832 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
12834         * net/dbus.el (dbus-unregister-object): Release service, if no
12835         other method is registered for it.
12837 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
12839         * bookmark.el (bookmark-completing-read): Sort bookmark names if
12840         bookmark-sort-flag is non-nil (Bug#4653).
12842 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
12844         * emulation/cua-base.el: Add CUA property to some CC mode commands
12845         (Bug#4100).
12847 2009-11-08  Kevin Ryde  <user42@zip.com.au>
12849         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
12850         at end of sentence (Bug#4818).
12852 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
12854         * progmodes/compile.el (compilation-error-regexp-alist-alist):
12855         Handle "see declaration of" MSFT statements (Bug#4100).
12857 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
12859         * net/tramp.el (tramp-advice-make-auto-save-file-name)
12860         (tramp-advice-file-expand-wildcards): Unload via
12861         `ad-remove-advice'.
12863         * net/trampver.el: Update release number.
12865 2009-11-08  Kevin Ryde  <user42@zip.com.au>
12867         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
12868         `ad-do-it'.
12870 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
12872         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
12873         in order to keep context in SELinux.
12875 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
12877         * dired-aux.el (dired-query): Place cursor in echo area and allow
12878         C-g.
12880         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
12881         menu item if not on a directory (Bug#4701).
12883 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
12885         Sync with Tramp 2.1.17.
12887         * net/tramp.el (tramp-handle-copy-directory): Don't use
12888         `file-remote-p' (due to compatibility).
12890         * net/tramp-compat.el (tramp-compat-copy-directory)
12891         (tramp-compat-delete-directory): New defuns.
12893         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
12894         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
12895         Use `tramp-compat-delete-directory'.
12897         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
12898         (tramp-smb-handle-delete-directory):
12899         Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
12901         * net/trampver.el: Update release number.
12903 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
12905         * tar-mode.el (tar-copy): Call write-region on the right buffer
12906         (Bug#4857).
12908         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
12909         by hand, if necessary (Bug#4878).
12911 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
12913         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
12914         align size column (Bug#4839).
12916         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
12917         statement.
12919 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
12921         * progmodes/ld-script.el (auto-mode-alist):
12922         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
12924         * cus-face.el (custom-declare-face): Purecopy face spec.
12926 2009-11-06  Kenichi Handa  <handa@m17n.org>
12928         * international/uni-bidi.el: Re-generated.
12929         * international/uni-category.el: Re-generated.
12930         * international/uni-combining.el: Re-generated.
12931         * international/uni-mirrored.el: Re-generated.
12933 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
12935         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
12936         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
12937         (tex-start-options, slitex-run-command, latex-run-command)
12938         (tex-run-command, tex-directory):
12939         * textmodes/ispell.el (ispell-html-skip-alists)
12940         (ispell-tex-skip-alists, ispell-tex-skip-alists):
12941         * textmodes/fill.el (adaptive-fill-first-line-regexp):
12942         (adaptive-fill-regexp):
12943         * textmodes/dns-mode.el (auto-mode-alist):
12944         * progmodes/python.el (interpreter-mode-alist):
12945         * progmodes/etags.el (tags-compression-info-list):
12946         * progmodes/etags.el (tags-file-name):
12947         * net/browse-url.el (browse-url-galeon-program)
12948         (browse-url-firefox-program):
12949         * mail/sendmail.el (mail-signature-file)
12950         (mail-citation-prefix-regexp):
12951         * international/mule-conf.el (eight-bit):
12952         * international/latexenc.el (latex-inputenc-coding-alist):
12953         * international/fontset.el (x-pixel-size-width-font-regexp):
12954         * emacs-lisp/warnings.el (warning-type-format):
12955         * emacs-lisp/trace.el (trace-buffer):
12956         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
12957         (emacs-lisp-mode-map):
12958         * calendar/holidays.el (holiday-solar-holidays)
12959         (holiday-bahai-holidays, holiday-islamic-holidays)
12960         (holiday-christian-holidays, holiday-hebrew-holidays)
12961         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
12962         (hebrew-holidays-1, holiday-oriental-holidays)
12963         (holiday-general-holidays):
12964         * x-dnd.el (x-dnd-known-types):
12965         * tool-bar.el (tool-bar):
12966         * startup.el (site-run-file):
12967         * shell.el (shell-dumb-shell-regexp):
12968         * rfn-eshadow.el (file-name-shadow-tty-properties)
12969         (file-name-shadow-properties):
12970         * paths.el (remote-shell-program, news-directory):
12971         * mouse.el ([C-down-mouse-3]):
12972         * menu-bar.el (menu-bar-tools-menu):
12973         * jka-cmpr-hook.el (jka-compr-load-suffixes)
12974         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
12975         (jka-compr-compression-info-list):
12976         * isearch.el (search-whitespace-regexp):
12977         * image-file.el (image-file-name-extensions):
12978         * find-dired.el (find-ls-option):
12979         * files.el (directory-listing-before-filename-regexp)
12980         (directory-free-space-args, insert-directory-program)
12981         (list-directory-brief-switches, magic-fallback-mode-alist)
12982         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
12983         (automount-dir-prefix):
12984         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
12985         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
12986         (face-font-registry-alternatives, face-font-registry-alternatives)
12987         (face-font-family-alternatives):
12988         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
12989         (facemenu-foreground-menu, facemenu-face-menu):
12990         * epa-hook.el (epa-file-name-regexp):
12991         * dnd.el (dnd-protocol-alist):
12992         * textmodes/rst.el (auto-mode-alist):
12993         * button.el (default-button): Purecopy strings.
12995 2009-11-06  Glenn Morris  <rgm@gnu.org>
12997         * Makefile.in (ELCFILES): Update.
12999 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13001         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
13002         * emacs-lisp/levents.el: Move to obsolete/levents.el.
13004         * nxml/xsd-regexp.el (xsdre-gen-categories):
13005         * nxml/xmltok.el (xmltok-parse-entity):
13006         * nxml/rng-parse.el (rng-parse-validate-file):
13007         * nxml/rng-maint.el (rng-format-manual)
13008         (rng-manual-output-force-new-line):
13009         * nxml/rng-loc.el (rng-save-schema-location-1):
13010         * nxml/rng-cmpct.el (rng-c-parse-file):
13011         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
13012         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
13014 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
13016         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
13017         Remove extra save-excursions and make-variable-buffer-local's.
13018         Suggested by Stefan Monnier.
13020         (verilog-getopt-file, verilog-module-inside-filename-p)
13021         (verilog-set-define): Merge GNU 1.35 and repair changes from
13022         switching to using with-current-buffer.
13024         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
13025         being treated as a number and confusing AUTORESET.
13026         Reported by Dan Dever.
13028         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
13029         Add verilog-auto-ignore-concat to fix backward compatibility with
13030         older verilog-modes.  Reported by Dan Katz.
13032         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
13033         containing closing anchors "...$".
13035         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
13036         Reported by Wade Smith.
13038         (verilog-batch-execute-func): Comment on function usage.
13040 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
13042         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
13043         for labels.
13045         (verilog-label-re, verilog-calc-1): Support proper indent of named
13046         asserts.
13048         (verilog-backward-token, verilog-basic-complete-re)
13049         (verilog-beg-of-statement, verilog-indent-re): Support proper
13050         indent of the assert statement at the beginning of a block of text.
13052         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
13053         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
13054         tokens as begins.
13056 2009-11-05  Glenn Morris  <rgm@gnu.org>
13058         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
13059         Emacs 19.  (Bug#1531)
13060         (byte-compile-fix-header): Update for the above change.
13061         Drop test for epoch::version.
13063         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
13064         * cus-dep.el (custom-make-dependencies):
13065         * finder.el (finder-compile-keywords):
13066         Use autoload-rubric's feature argument.
13068         * calendar/diary-lib.el (top-level): Make load behave more like require.
13070         * vc-git.el (vc-git-stash-map): Move definition before use.
13072 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
13074         * custom.el (custom-declare-group): Purecopy standard-value.
13075         (custom-declare-group): Purecopy custom-prefix.
13077         * international/mule.el (load-with-code-conversion):
13078         Call do-after-load-evaluation unconditionally.
13080         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
13082 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13084         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
13086 2009-11-04  Glenn Morris  <rgm@gnu.org>
13088         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
13089         (byte-compile-compatibility): Remove option.
13090         (byte-compile-close-variables, byte-compile-fix-header)
13091         (byte-compile-insert-header, byte-compile-output-docform)
13092         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
13093         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
13094         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
13095         (byte-compile-insert, byte-compile-defun):
13096         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
13097         (byte-defop-compiler19): Remove.
13098         Without byte-compile-compatibility, the 'emacs19-opcode property is not
13099         used by anything.  Replace all calls with byte-defop-compiler.
13101 2009-11-04  Juri Linkov  <juri@jurta.org>
13103         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
13104         (menu-bar-options-menu): Don't quote the `prop' arg of
13105         `menu-bar-make-mm-toggle'.
13107 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
13109         * calendar/calendar.el (cal-loaddefs):
13110         * calendar/diary-lib.el (diary-loaddefs):
13111         * calendar/holidays.el (hol-loaddefs):
13112         * eshell/esh-module.el (esh-groups): Load rather than require.
13114 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13116         * calendar/todo-mode.el (todo-add-category): Don't hardcode
13117         point-min==1.
13118         (todo-top-priorities): Only display-buffer when called interactively.
13119         (todo-item-start): Don't save excursion point.
13120         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
13121         (todo-insert-item-here, todo-file-item, todo-remove-item):
13122         Adjust uses of todo-item-start and todo-item-end.
13124         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
13125         (autoload-rubric): Don't use any more.
13127         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
13128         and only put a prop if it is non-nil.
13130 2009-11-03  Juri Linkov  <juri@jurta.org>
13132         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
13133         (menu-bar-options-menu): Fix list quoting (Bug#4429).
13135         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
13136         and "Menu" to make top-level menu item visually one unit (like
13137         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
13138         multi-word menu items).  Fix :help string for quit-window.
13140 2009-11-03  Glenn Morris  <rgm@gnu.org>
13142         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
13143         (byte-compile-file-form-define-abbrev-table)
13144         (byte-compile-file-form-custom-declare-variable)
13145         (byte-compile-variable-ref, byte-compile-defvar):
13146         Whether or not a warning is enabled should only affect whether we issue
13147         the warning, not whether or not we collect the relevant data.
13148         Eg warnings can be turned on and off throughout the course of a file.
13150         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
13151         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
13153 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13155         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
13156         * play/mpuz.el (mpuz-create-buffer):
13157         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
13158         (lm-print-y,s,noise, lm-print-w0, lm-init):
13159         * play/gomoku.el (gomoku-prompt-for-move):
13160         * play/fortune.el (fortune-in-buffer):
13161         * play/dissociate.el (dissociated-press):
13162         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
13163         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
13164         * mail/supercite.el (sc-eref-show):
13165         * mail/smtpmail.el (smtpmail-send-it):
13166         * mail/rmailsum.el (rmail-summary-next-labeled-message)
13167         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
13168         (rmail-summary-undelete-many, rmail-summary-rmail-update)
13169         (rmail-summary-goto-msg, rmail-summary-expunge)
13170         (rmail-summary-get-new-mail, rmail-summary-search-backward)
13171         (rmail-summary-add-label, rmail-summary-output-menu)
13172         (rmail-summary-output-body):
13173         * mail/rfc822.el (rfc822-addresses):
13174         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
13175         * mail/mailpost.el (post-mail-send-it):
13176         * mail/hashcash.el (hashcash-generate-payment):
13177         * mail/feedmail.el (feedmail-run-the-queue)
13178         (feedmail-queue-send-edit-prompt-help-first)
13179         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
13180         (feedmail-deduce-address-list):
13181         * eshell/esh-ext.el (eshell-remote-command):
13182         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
13183         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
13184         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
13185         (viper-save-string-in-file, viper-valid-marker):
13186         * emulation/viper-keym.el (viper-toggle-key):
13187         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
13188         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
13189         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
13190         * emulation/viper-cmd.el (viper-exec-form-in-vi)
13191         (viper-exec-form-in-emacs, viper-brac-function):
13192         * emulation/viper.el (viper-delocalize-var):
13193         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
13194         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
13195         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
13196         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
13197         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
13198         * emulation/edt.el (edt-electric-helpify):
13199         * emulation/cua-rect.el (cua--rectangle-aux-replace):
13200         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
13201         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
13202         (cua-indent-to-global-mark-column):
13203         * calendar/diary-lib.el (calendar-mark-1):
13204         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
13205         Use with-current-buffer.
13206         * emulation/viper.el (viper-delocalize-var): Use dolist.
13208 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
13210         * comint.el (comint-replace-by-expanded-history-before-point):
13211         Replace !! with the previous input string literally (Bug#1795).
13213 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
13215         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
13216         to be made up of whitespace.
13218 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
13220         * minibuffer.el (read-file-name): Don't use file dialogs for
13221         remote directories (Bug#99).
13223 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
13225         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
13227 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13229         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
13230         instead of deleting the window or frame.
13232 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
13234         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
13235         Support face colors.
13237         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
13238         New function.  Support face colors (Bug#1168).
13239         (tex-common-initialization): Use it.
13241         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
13242         mode allows it (Bug#1168).
13244 2009-10-31  Juri Linkov  <juri@jurta.org>
13246         * facemenu.el (list-colors-display): Don't mark buffer as
13247         modified (Bug#3948).
13249 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
13251         * international/mule-diag.el (list-character-sets-1):
13252         Minor message fix (Bug#3526).
13254         * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
13255         Fix face property (Bug#4834).
13256         (etags-list-tags, etags-tags-apropos-additional)
13257         (etags-tags-apropos, tags-select-tags-table): Add follow-link
13258         property.
13260         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
13261         items.
13263 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
13265         * textmodes/two-column.el (2C-split):
13266         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
13267         * textmodes/tex-mode.el (tex-set-buffer-directory):
13268         * textmodes/spell.el (spell-region, spell-string):
13269         * textmodes/reftex.el (reftex-erase-buffer):
13270         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
13271         * textmodes/reftex-toc.el (reftex-toc-promote-action):
13272         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
13273         (reftex-select-item):
13274         * textmodes/reftex-ref.el (reftex-label-info-update)
13275         (reftex-offer-label-menu):
13276         * textmodes/reftex-index.el (reftex-index-change-entry)
13277         (reftex-index-phrases-info):
13278         * textmodes/reftex-global.el (reftex-create-tags-file)
13279         (reftex-save-all-document-buffers, reftex-ensure-write-access):
13280         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
13281         (reftex-view-crossref-from-bibtex):
13282         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
13283         (reftex-extract-bib-entries-from-thebibliography)
13284         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
13285         * textmodes/refbib.el (r2b-capitalize-title):
13286         (r2b-convert-buffer, r2b-help):
13287         * textmodes/page-ext.el (pages-directory)
13288         (pages-directory-goto-with-mouse):
13289         * textmodes/bibtex.el (bibtex-validate-globally):
13290         * textmodes/bib-mode.el (bib-capitalize-title):
13291         * textmodes/artist.el (artist-clear-buffer, artist-system):
13292         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
13293         (local-set-scheme-interaction-buffer, xscheme-process-filter)
13294         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
13295         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
13296         (xscheme-send-control-g-interrupt, xscheme-start-process)
13297         (xscheme-process-sentinel, xscheme-cd):
13298         * progmodes/verilog-mode.el (verilog-read-always-signals)
13299         (verilog-set-define, verilog-getopt-file)
13300         (verilog-module-inside-filename-p):
13301         * progmodes/sh-script.el:
13302         * progmodes/python.el (python-pdbtrack-get-source-buffer)
13303         (python-pdbtrack-grub-for-buffer, python-execute-file):
13304         * progmodes/octave-inf.el (inferior-octave):
13305         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13306         (idlwave-shell-compile-helper-routines, idlwave-set-local)
13307         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
13308         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
13309         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
13310         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
13311         (idlwave-shell-filter, idlwave-shell-examine-highlight)
13312         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
13313         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
13314         (idlwave-shell-examine-display, idlwave-shell-run-region)
13315         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
13316         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
13317         * progmodes/idlw-help.el (idlwave-help-get-special-help)
13318         (idlwave-help-get-help-buffer):
13319         * progmodes/gud.el (gud-basic-call, gud-find-class)
13320         (gud-tooltip-activate-mouse-motions-if-enabled):
13321         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
13322         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
13323         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
13324         (ebrowse-tags-next-file):
13325         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
13326         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
13327         (ebnf-eps-finish-and-write):
13328         * progmodes/cpp.el (cpp-edit-save):
13329         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
13330         * progmodes/cc-defs.el (c-emacs-features):
13331         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
13332         (antlr-directory-dependencies):
13333         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
13334         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
13335         (ada-find-any-references, ada-make-filename-from-adaname)
13336         (ada-make-body-gnatstub):
13337         * obsolete/rnews.el (news-list-news-groups):
13338         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
13339         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
13340         * net/rcirc.el (rcirc-debug):
13341         * net/newst-treeview.el (newsticker--treeview-list-add-item)
13342         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
13343         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
13344         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
13345         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
13346         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
13347         (newsticker--treeview-list-clear-highlight)
13348         (newsticker--treeview-list-update-highlight)
13349         (newsticker--treeview-list-highlight-start)
13350         (newsticker--treeview-tree-update-highlight)
13351         (newsticker--treeview-get-selected-item)
13352         (newsticker-treeview-mark-list-items-old)
13353         (newsticker--treeview-set-current-node):
13354         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
13355         * net/newst-backend.el (newsticker--get-news-by-funcall)
13356         (newsticker--get-news-by-wget, newsticker--image-get)
13357         (newsticker--image-sentinel):
13358         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
13359         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
13360         (eudc-ph-close-session):
13361         * net/eudc.el (eudc-save-options):
13362         * language/thai-word.el (thai-update-word-table):
13363         * language/japan-util.el (japanese-string-conversion):
13364         * international/titdic-cnv.el (tsang-quick-converter)
13365         (ziranma-converter, ctlau-converter):
13366         * international/mule-cmds.el (describe-language-environment):
13367         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
13368         (skkdic-convert-postfix, skkdic-convert-prefix):
13369         (skkdic-convert-okuri-nasi, skkdic-convert):
13370         * emacs-lisp/re-builder.el (reb-update-overlays):
13371         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
13372         * emacs-lisp/gulp.el (gulp-send-requests):
13373         * emacs-lisp/find-gc.el (trace-call-tree):
13374         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
13375         (eieio-describe-generic):
13376         * emacs-lisp/eieio-base.el (eieio-persistent-read):
13377         * emacs-lisp/edebug.el (edebug-outside-excursion):
13378         * emacs-lisp/debug.el (debugger-make-xrefs):
13379         * emacs-lisp/cust-print.el (custom-prin1-to-string):
13380         * emacs-lisp/chart.el (chart-new-buffer):
13381         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
13382         Use with-current-buffer.
13383         * textmodes/artist.el (artist-system): Don't call
13384         copy-sequence on a fresh string.
13385         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
13387 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
13389         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
13390         is no item to edit.  (Bug#4820)
13391         (todo-top-priorities): Restore point and restore narrowing in Todo
13392         buffer.  (Bug#4820)
13394 2009-10-31  Glenn Morris  <rgm@gnu.org>
13396         * net/ange-ftp.el (top-level): Don't require dired when compiling.
13397         (comint-last-output-start, comint-last-input-start)
13398         (comint-last-input-end): Don't defvar when compiling.
13399         (ange-ftp-process-file): Use bound-and-true-p.
13401         * pcmpl-rpm.el (top-level): Move provide statement to end.
13402         (pcmpl-rpm): Remove unused custom group.
13404         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
13406         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
13408         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
13409         (byte-compile-warnings): Add `constants' as an option.
13410         (byte-compile-callargs-warn, byte-compile-arglist-warn)
13411         (display-call-tree): Update for byte-compile-fdefinition possibly
13412         returning `(macro lambda ...)'.  (Bug#4778)
13413         (byte-compile-variable-ref, byte-compile-setq-default):
13414         Respect `constants' member of byte-compile-warnings.
13416 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13418         * vc-bzr.el (vc-bzr-revision-keywords): New var.
13419         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
13420         to "submit:".
13422 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
13424         * textmodes/ispell.el (ispell-skip-region-alist):
13425         * international/mule-conf.el (eight-bit):
13426         * international/fontset.el (font-encoding-alist):
13427         * startup.el (pure-space-overflow-message):
13428         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
13429         * paths.el (gnus-nntp-service, rmail-spool-directory)
13430         (term-file-prefix):
13431         * files.el (save-some-buffers-action-alist):
13432         * cmuscheme.el (same-window-buffer-names):
13433         * ielm.el (same-window-buffer-names):
13434         * shell.el (same-window-buffer-names):
13435         * mail/sendmail.el (same-window-buffer-names):
13436         * progmodes/inf-lisp.el (same-window-buffer-names):
13437         * bindings.el (mode-line-client)
13438         (mode-line-column-line-number-mode-map):
13439         * language/tibetan.el (tibetan-precomposition-rule-regexp)
13440         (tibetan-precomposed-regexp): Purecopy string arguments.
13442 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13444         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
13445         (calcDigit-nondigit):
13446         * calc/calc-yank.el (calc-copy-to-buffer):
13447         * calc/calc-units.el (calc-invalidate-units-table):
13448         * calc/calc-trail.el (calc-trail-yank):
13449         * calc/calc-store.el (calc-insert-variables):
13450         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
13451         * calc/calc-prog.el (calc-read-parse-table):
13452         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
13453         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
13454         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
13455         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
13456         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
13457         (calc-graph-name, calc-graph-find-command, calc-graph-view)
13458         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
13459         * calc/calc-ext.el (calc-realign):
13460         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
13461         (calc-embedded-finish-edit, calc-embedded-make-info)
13462         (calc-embedded-finish-command, calc-embedded-stack-change):
13463         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
13465         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
13466         shell-dynamic-complete-filename in preference to
13467         comint-dynamic-complete-filename.
13469         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
13470         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
13471         Don't consider whether the display supports colors.
13472         (bookmark-import-new-list): Use dolist.
13473         (bookmark-bmenu-mode-map): Move initialization into declaration.
13474         (bookmark-bmenu-list): Use dolist, simplify.
13475         (bookmark-show-all-annotations): Use save-selected-window and dolist.
13476         (menu-bar-final-items): Use push.
13478 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
13480         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
13481         it works on remote files.
13482         (vc-hg-diff): Don't pass any `--cwd' argument.
13484 2009-10-27  Kevin Ryde  <user42@zip.com.au>
13486         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
13487         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
13488         (Further to Bug#3921).
13490 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
13492         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
13493         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
13494         calling `tramp-imap-put-file'.  Add file size to the call.
13495         (tramp-imap-get-file-entries): Compute also user name, file size,
13496         and date.
13497         (tramp-imap-handle-insert-directory): Insert uid and gid.
13498         (tramp-imap-handle-file-attributes): Transform uid and gid
13499         according to `id-format'.
13500         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
13501         size in header X-Size.
13503 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
13505         * simple.el (transpose-subr): Give clearer error when the mark
13506         is not set.  (Bug#4807)
13508 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
13510         * net/tramp.el (tramp-perl-file-truename): New defconst.
13511         Perl code contributed by yary <not.com@gmail.com> (tiny change).
13512         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
13513         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
13514         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
13516         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
13517         Ignore `dired-call-process'.
13518         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
13520 2009-10-26  Julian Scheid  <julians37@gmail.com>
13522         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
13523         (tramp-get-remote-readlink): New defun.
13524         (tramp-handle-file-truename): Use it.
13525         (tramp-handle-file-exists-p): Check file-attributes cache, assume
13526         file exists if cache value present.
13527         (tramp-check-cached-permissions): New defun.
13528         (tramp-handle-file-readable-p): Use it.
13529         (tramp-handle-file-writable-p): Likewise.
13530         (tramp-handle-file-executable-p): Likewise.
13531         (tramp-handle-file-name-all-completions): Try using Perl to get
13532         partial completions.  When perl not available, combine `cd' and
13533         `ls' into single remote operation and use shell expansion to get
13534         partial remote directory contents.  Set `file-exists-p' cache for
13535         directory and any files returned by ls.  Change cache handling to
13536         support partial directory contents.  Use error message emitted by
13537         remote `cd' or Perl code for local tramp-error.
13538         (tramp-do-copy-or-rename-file-directly): Avoid separate
13539         tramp-send-command-and-check call.
13540         (tramp-handle-process-file): Merge three remote ops into one.
13541         Do not flush all caches when `process-file-side-effects' is set.
13542         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
13543         file-attributes shows uid/gid to be set already.
13545 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
13547         * textmodes/tex-mode.el (tex-dvi-view-command)
13548         (tex-show-queue-command, tex-open-quote):
13549         * progmodes/ruby-mode.el (auto-mode-alist)
13550         (interpreter-mode-alist): Purecopy strings.
13552         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
13554         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
13555         string for the hook, keymap and abbrev table.
13557         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
13559         * x-dnd.el (x-dnd-xdnd-to-action):
13560         * startup.el (fancy-startup-text, fancy-about-text): Change to
13561         defconst from defvar.
13563         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
13565         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
13566         Purecopy initialization strings.
13568         * mail/sendmail.el (mail-header-separator)
13569         (mail-personal-alias-file):
13570         * mail/rmail.el (rmail-default-dont-reply-to-names)
13571         (rmail-ignored-headers, rmail-retry-ignored-headers)
13572         (rmail-highlighted-headers, rmail-secondary-file-directory)
13573         (rmail-secondary-file-regexp):
13574         * files.el (null-device, file-name-invalid-regexp)
13575         (locate-dominating-stop-dir-regexp)
13576         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
13577         (interpreter-mode-alist): Use mapcar instead of mapc.
13579         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
13581         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
13582         (completion-ignored-extensions):
13583         (debug-ignored-errors): Purecopy strings.
13585 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13587         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
13588         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
13589         (pcomplete--here): Use push.
13591         * subr.el (all-completions): Declare the 4th arg obsolete.
13593 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
13595         * pcomplete.el (pcomplete-unquote-argument-function): New var.
13596         (pcomplete-unquote-argument): New function.
13597         (pcomplete--common-suffix): Always pay attention to case.
13598         (pcomplete--table-subvert): Quote and unquote the text.
13599         (pcomplete--common-quoted-suffix): New function.
13600         (pcomplete-std-complete): Use it and pcomplete-begin.
13602         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
13603         we're inside a dedicated or minibuffer window.
13605 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
13607         * bookmark.el: Update documentation, especially documentation
13608         of `bookmark-alist' and of the bookmark file format.
13609         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
13611 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
13613         * mail/emacsbug.el (report-emacs-bug): Clarify that the
13614         keybindings apply to the mail buffer (Bug#4003).  Shrink help
13615         window to buffer.
13617         * whitespace.el (whitespace-mode, whitespace-newline-mode)
13618         (global-whitespace-mode, global-whitespace-newline-mode)
13619         (whitespace-toggle-options, global-whitespace-toggle-options):
13620         Doc fix (Bug#3660).
13622         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
13623         of xmltok-start before the end tag was inserted (Bug#2840).
13625         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
13626         patterns that are preceded by an open-paren (Bug#1320).
13628 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
13630         * files.el (delete-directory): Delete symlinks to directories with
13631         delete-file (Bug#4739).
13633 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
13635         * vc.el (vc-backend-for-registration): Rename from
13636         vc-get-backend-for-registration.  Update callers.
13638         * international/mule-cmds.el (set-language-info-alist):
13639         Purecopy lang-env.
13640         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
13641         (charset): Purecopy the name.
13642         (define-char-code-property): Purecopy string arguments.
13644         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
13645         Purecopy string arguments.
13647         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13648         * ediff-hook.el (menu-bar-ediff-menu):
13649         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
13650         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
13652 2009-10-24  Glenn Morris  <rgm@gnu.org>
13654         * comint.el (comint-dynamic-list-completions):
13655         * term.el (term-dynamic-list-completions): Use choose-completion rather
13656         than obsolete alias mouse-choose-completion.
13658         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
13659         file-cache-choose-completion.
13660         (file-cache-choose-completion): Handle an optional event argument.
13661         (file-cache-mouse-choose-completion): Make it an obsolete alias.
13663         * progmodes/octave-mod.el (octave-complete-symbol):
13664         Use choose-completion if mouse-choose-completion is ever removed.
13666         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
13667         use.
13669         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
13670         compiler.
13672         * vc-hooks.el (vc-responsible-backend): Fix declaration.
13674 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
13676         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
13677         Ignore `pred' now that we receive one.
13678         Handle test-completion specially.
13680 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
13682         * vc.el (vc-responsible-backend): Throw an error if not backend is
13683         found.  Remove the REGISTER argument.  Move the code dealing with
13684         REGISTER ...
13685         (vc-get-backend-for-registration): ... here.  New function.
13686         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
13687         of vc-responsible-backend, pass the file name instead of the
13688         directory name.
13690 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
13692         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
13693         New funs.
13694         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
13695         (pcomplete-comint-setup): Don't modify a global var via
13696         accidental side-effects.
13697         (pcomplete-shell-setup): Adjust call accordingly.
13698         (pcomplete-parse-comint-arguments): Use push.
13700 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
13702         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
13703         Allow uncapitalized info node names (Bug#3921).
13705         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
13706         to the DEBUG file (Bug#3781).
13708 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
13710         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
13711         dictionary entry (Bug#4579).
13713 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
13715         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
13716         from `rfn-eshadow-update-overlay-hook' when unloading.
13717         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
13718         "rsyncc".  Adjust doc string.
13719         (tramp-temp-buffer-file-name): New buffer-local defvar.
13720         (tramp-handle-insert-file-contents, tramp-handle-write-region):
13721         Keep temporary file when indicated by method ("rsync" and
13722         "rsyncc").
13723         (tramp-handle-write-region): Handle APPEND.
13724         (tramp-delete-temp-file-function): New defun.  Added to
13725         `kill-buffer-hook'.
13727 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
13729         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
13731 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
13733         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
13734         (color-name-rgb-alist, tty-standard-colors)
13735         (tty-color-mode-alist): Change to defconst.
13737         * simple.el (mark-inactive): Purecopy message.
13739         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
13740         (global-map, yank-menu):
13741         * textmodes/ispell.el (ispell-menu-map):
13742         * net/eudc.el (eudc-tools-menu):
13743         * international/mule-cmds.el (describe-language-environment-map)
13744         (setup-language-environment-map, set-coding-system-map)
13745         (mule-menu-keymap):
13746         * vc-hooks.el (vc-menu-entry, vc-menu-map):
13747         * replace.el (occur-mode-map):
13748         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
13750 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
13752         * calc/calc.el (math-read-number, math-read-number-simple):
13753         Use `save-match-data'.
13755 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13757         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
13758         rather than fiddling with global-map bindings, since it should only
13759         affect per-terminal settings.
13760         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
13762         * minibuffer.el (completion-table-with-terminator): Allow to specify
13763         the terminator-regexp.
13765         * simple.el (switch-to-completions): Look for *Completions* in other
13766         frames as well.
13768         * pcomplete.el: Allow the use of completion-tables.
13769         (pcomplete-std-complete): New command.
13770         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
13771         (pcomplete--here): Use a function for `form' rather than an expression,
13772         so it can be byte-compiled.
13773         (pcomplete-here, pcomplete-here*): Adjust accordingly.
13774         Add edebug declaration.
13775         (pcomplete-show-completions): Remove unused var `curbuf'.
13776         (pcomplete-do-complete, pcomplete-stub):
13777         Don't assume `completions' is a list of strings any more.
13779 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
13781         * find-dired.el (find-name-arg): Fix typo in docstring.
13783 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
13785         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
13786         (pcmpl-linux-fs-types): Same, and update to new modules layout.
13788         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
13789         pcomplete-entries.
13791         * comint.el (comint-read-input-ring, comint-write-input-ring)
13792         (comint-substitute-in-file-name)
13793         (comint-dynamic-complete-as-filename)
13794         (comint-dynamic-simple-complete)
13795         (comint-dynamic-list-filename-completions)
13796         (comint-dynamic-list-completions)
13797         (comint-redirect-results-list-from-process): Minor simplifications.
13799 2009-10-21  Kevin Ryde  <user42@zip.com.au>
13801         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
13802         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
13803         the first form.  And insert a blank line after ";;; Code" since
13804         that's usual style.  (Bug#4612)
13806         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
13808 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13810         * minibuffer.el (completion-table-with-terminator): Properly implement
13811         boundaries, in case `terminator' appears in the suffix.
13812         (completion--embedded-envvar-table): Don't return boundaries if
13813         there's no valid completion.  Simplify.
13814         (completion-file-name-table): New completion table extracted from
13815         completion--file-name-table.
13816         (completion--file-name-table): Use it.
13817         (read-file-name-predicate): Declare obsolete.
13818         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
13819         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
13820         completion-file-name-table, and use the `pred' argument.
13821         * files.el (locate-file-completion-table): Use the `pred' arg rather
13822         than read-file-name-predicate.
13823         (abbreviate-file-name): Use \` rather than ^ for BOS.
13825 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
13827         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
13828         vc-responsible-backend to register, it causes problems.
13830 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
13832         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
13834 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
13836         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
13837         (tramp-smb-handle-file-attributes): Use it.
13838         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
13839         (tramp-smb-handle-insert-directory): Use `mapc' rather than
13840         `mapcar'.  Use `tramp-smb-get-stat-capability'.
13841         Add `dired-filename' text properties.
13842         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
13843         (tramp-smb-maybe-open-connection): Simplify check for smbclient
13844         version.
13846 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
13848         * subr.el (read-key-delay): Reduce to 0.01.
13849         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
13850         (bug#4751).
13852 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
13854         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
13856         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
13857         (Info-menu): Remove unused vars `last' and `completions'.
13858         (Info-index-nodes): Remove unused var `node'.
13860         * info.el (Info-complete-menu-item): Use complete-with-action.
13862 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
13864         Make vc-annotate work through copies and renames.
13865         * vc-annotate.el (vc-annotate-extract-revision-at-line):
13866         Return the file name too.
13867         (vc-annotate-revision-at-line)
13868         (vc-annotate-find-revision-at-line)
13869         (vc-annotate-revision-previous-to-line)
13870         (vc-annotate-show-log-revision-at-line): Update to get the file
13871         name from vc-annotate-extract-revision-at-line.
13872         (vc-annotate-show-diff-revision-at-line-internal): Change the
13873         argument to mean whether to show a file diff or not.  Get the file
13874         name from vc-annotate-extract-revision-at-line.
13875         (vc-annotate-show-diff-revision-at-line):
13876         Update vc-annotate-show-diff-revision-at-line call.
13877         (vc-annotate-warp-revision): Add an optional file argument.
13879         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
13880         (vc-git-annotate-extract-revision-at-line): Also return the file
13881         name if found.
13883         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
13884         command.  Remove unused code.
13885         (vc-hg-annotate-re): Update to match --follow output.
13886         (vc-hg-annotate-extract-revision-at-line): Also return the file
13887         name if found.
13889         * vc.el: Update annotate-extract-revision-at-line documentation.
13891 2009-10-18  Kevin Ryde  <user42@zip.com.au>
13893         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
13894         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
13896         * net/browse-url.el (browse-url): Identify alist with "consp and
13897         not functionp" and let all other things go down the `apply' leg,
13898         as suggested by Stefan.  (Further to bug#4531.)
13900 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
13902         * minibuffer.el (read-file-name): Check for repeat before putting
13903         a default argument in file-name-history (Bug#4657).
13905         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
13906         read syntax (Bug#4737).
13908         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
13910 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
13912         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
13913         (html-tag-alist, html-tag-help): Add descriptions for undocumented
13914         entries and make note of obsolete tags.
13916 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
13918         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
13920 2009-10-18  Glenn Morris  <rgm@gnu.org>
13922         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
13923         grep, so that binary files (eg international/uni-bidi.el) can match.
13924         Remove test for "UnicodeData" files, since it is hopefully unnecessary
13925         now, and in any case the file header format has changed.
13927 2009-10-17  Glenn Morris  <rgm@gnu.org>
13929         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
13930         (flyspell-get-word, flyspell-large-region)
13931         (flyspell-auto-correct-previous-word): Doc/error message fixes.
13933 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
13935         * Makefile.in (ELCFILES): Add ede/shell.
13937 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
13939         * term/common-win.el (x-colors): Purecopy it.
13941 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13943         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
13944         permissive for when the buffer is empty.
13945         (tar-header-block-tokenize): Decode the username and groupname.
13946         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
13948 2009-10-17  Eric Ludlam  <zappo@gnu.org>
13950         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
13951         contains multibyte characters, choose first applicable coding
13952         system automatically.
13954 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
13956         * international/mule-cmds.el (select-safe-coding-system): If the file
13957         has a coding cookie, use it regardless of any other setting (bug#4712).
13959 2009-10-17  Glenn Morris  <rgm@gnu.org>
13961         * foldout.el (foldout-mouse-swallow-events):
13962         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
13964         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
13965         (dired-keep-marker-copy, dired-keep-marker-hardlink)
13966         (dired-keep-marker-symlink, dired-dwim-target)
13967         (dired-copy-preserve-time): Do not autoload these defcustoms.
13969         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
13970         messages from messing up the file coding.  (Bug#4623)
13972 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
13974         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
13975         if no match is found for the current dictionary.  (Bug#4578)
13977         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
13978         optional, since that is how it is documented, and this is often called
13979         with a nil argument.  (Bug#4577)
13980         (flyspell-external-point-words, flyspell-auto-correct-word)
13981         (flyspell-correct-word-before-point, flyspell-word-search-forward)
13982         (flyspell-word-search-backward): Remove nil argument in calls to
13983         flyspell-get-word, since it is not needed now.
13985 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
13987         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
13989 2009-10-16  Glenn Morris  <rgm@gnu.org>
13991         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
13993 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
13995         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
13996         (ange-ftp-file-size): New function.
13997         (ange-ftp-file-attributes): Use it.
13999 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
14001         * net/tramp-smb.el (tramp-smb-version): New defvar.
14002         (tramp-smb-maybe-open-connection): Use it, in order to avoid
14003         repeated checks.
14005 2009-10-16  Glenn Morris  <rgm@gnu.org>
14007         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
14008         Maybe copy some custom properties from old to new name.  (Bug#4706)
14010 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
14012         * subr.el (error, sit-for, start-process-shell-command)
14013         (start-file-process-shell-command): Set the calling convention
14014         after the function definition.
14016 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
14018         * subr.el (error, sit-for, start-process-shell-command)
14019         (start-file-process-shell-command): Use the new
14020         set-advertised-calling-convention feature.
14022 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
14024         * international/ucs-normalize.el (ucs-normalize-version):
14025         Change to 1.2.
14026         (check-range): Adjust for Unicode 5.2.
14028 2009-10-15  Juri Linkov  <juri@jurta.org>
14030         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
14031         to the `menu-item' format.
14033 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
14035         * net/tramp.el (tramp-replace-environment-variables): Do not fail
14036         if the environment variable does not exist.
14038         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14039         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
14040         parameter.
14041         (tramp-smb-handle-add-name-to-file)
14042         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14043         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14044         (tramp-smb-handle-file-attributes)
14045         (tramp-smb-do-file-attributes-with-stat)
14046         (tramp-smb-handle-file-local-copy)
14047         (tramp-smb-handle-insert-directory)
14048         (tramp-smb-handle-make-directory)
14049         (tramp-smb-handle-make-directory-internal)
14050         (tramp-smb-handle-make-symbolic-link)
14051         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
14052         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
14053         (tramp-smb-maybe-open-connection): Apply the changed parameters.
14054         (tramp-smb-read-file-entry): Read Disk names in compressed format.
14055         Handle long file names.
14056         (tramp-smb-get-cifs-capabilities): Check, whether the connection
14057         process is running.
14058         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
14059         Read share names with "-g" option.
14061 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
14063         * net/rcirc.el (rcirc-view-log-file): New command.
14064         (rcirc-track-minor-mode-map): Remove C-c ` binding.
14065         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
14066         specified.
14068 2009-10-15  Glenn Morris  <rgm@gnu.org>
14070         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
14071         from the second command-line argument.
14072         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
14073         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
14074         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
14075         w32-batch-update-autoloads.
14076         * emacs-lisp/autoload.el (autoload-make-program): New variable.
14077         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
14079         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
14080         the headers cannot be located.  Simplify, subtracting superflous
14081         save-excursions.
14083 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14085         Replace completion-base-size by completion-base-position to fix bugs
14086         such as (bug#4699).
14087         * simple.el (completion-base-position): New var.
14088         (completion-base-size): Mark as obsolete.
14089         (choose-completion): Make it work for mouse events as well.
14090         Pass the new base-position to choose-completion-string.
14091         (choose-completion-guess-base-position): New function, extracted from
14092         choose-completion-delete-max-match.
14093         (choose-completion-delete-max-match): Use it.  Make obsolete.
14094         (choose-completion-string): Use the new base-position info.
14095         (completion-root-regexp): Delete.
14096         (completion-setup-function): Preserve completion-base-position.
14097         Eliminate obsolete base-size manipulation.
14098         * minibuffer.el (display-completion-list): Don't mess with base-size.
14099         (minibuffer-completion-help): Set completion-base-position instead.
14100         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
14101         choose-completion.
14102         * textmodes/bibtex.el (bibtex-complete):
14103         * emacs-lisp/crm.el (crm--choose-completion-string):
14104         Adjust to new calling convention.
14105         * complete.el (partial-completion-mode): Use minibufferp to avoid
14106         bumping into incompatible change to choose-completion-string-functions.
14107         * ido.el (ido-choose-completion-string): Make its calling convention
14108         more permissive.
14109         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
14110         base-size manipulation.
14111         (comint-dynamic-list-input-ring): Use dotimes and push.
14112         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
14113         fundamental-mode.  Use `or'.
14115 2009-10-14  Juri Linkov  <juri@jurta.org>
14117         * misearch.el (multi-isearch-next-buffer-from-list)
14118         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
14120 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14122         * Makefile.in (compile-onefile): Load `bytecomp' rather than
14123         `bytecomp.el'.
14125         * minibuffer.el (completion-pcm--merge-completions): Make sure the
14126         string we return is all made up of text from the completions rather
14127         than part from the completions and part from the input (bug#4219).
14129         * ido.el (ido-everywhere): Use define-minor-mode.
14131         * buff-menu.el (list-buffers, ctl-x-map):
14132         Mark the entry points with ;;;###autoload cookies.
14134 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
14136         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
14137         correctly in the detached head case.
14138         (vc-git-print-log): Remove unused binding.
14140         * vc.el (vc-responsible-backend): When a directory is passed for
14141         for registration create a VC repository if no backend is
14142         responsible for the directory argument.
14143         (vc-deduce-fileset): Tell vc-responsible-backend to register.
14145         * vc.el: Move comments about RCS and SCCS ...
14146         * vc-rcs.el:
14147         * vc-sccs.el: ... here, respectively.
14149 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14151         * minibuffer.el (completion--file-name-table): Return nil if there's
14152         no file completion, even if substitute-in-file-name changed
14153         the string (bug#4708).
14155 2009-10-13  Juri Linkov  <juri@jurta.org>
14157         * files-x.el (read-file-local-variable-value): Don't filter out
14158         minor modes from mode name completion (bug#4664).
14160 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
14162         * international/mule-cmds.el (ucs-names): Remove exclusion of
14163         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
14165 2009-10-13  Kenichi Handa  <handa@m17n.org>
14167         * international/uni-name.el: Regenerated.
14169 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
14171         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
14172         should be automatically buffer-local, but isn't.)
14174 2009-10-12  Sam Steingold  <sds@gnu.org>
14176         * progmodes/compile.el (compilation-next-error-function): Fix the
14177         timestamps if the buffer has been visited before.
14178         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
14179         non-anchored patterns, like the perl one (bug#3928).
14181 2009-10-12  Glenn Morris  <rgm@gnu.org>
14183         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
14184         Let-bind `size'.
14186 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
14188         * proced.el (proced-unload-function): New function.
14190         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
14191         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
14192         Doc fix.
14194         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
14196 2009-10-11  Juri Linkov  <juri@jurta.org>
14198         * files-x.el (read-file-local-variable-value):
14199         Provide default value only for bound variables (bug#4664).
14201 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
14203         * net/tramp.el (tramp-local-host-p): Function shall return nil for
14204         connection methods like smb.
14206         * net/tramp-cache.el (tramp-flush-connection-property): The hash
14207         can be empty.
14209         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14210         (tramp-smb-file-name-handler-alist): Add handlers for
14211         `add-name-to-file', `make-symbolic-link'.
14212         (tramp-smb-handle-add-name-to-file)
14213         (tramp-smb-do-file-attributes-with-stat)
14214         (tramp-smb-handle-make-symbolic-link)
14215         (tramp-smb-get-cifs-capabilities): New defuns.
14216         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14217         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14218         (tramp-smb-handle-file-local-copy)
14219         (tramp-smb-handle-make-directory-internal)
14220         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
14221         The file name syntax depends on cifs capabilities.
14222         (tramp-smb-handle-file-attributes):
14223         Call `tramp-smb-do-file-attributes-with-stat' if possible.
14224         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
14225         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
14227 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
14229         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
14230         (eieio-defclass): Apply deftype handler and setf-method properties
14231         directly.
14232         (eieio-add-new-slot): Avoid union function from cl library.
14233         (eieio--typep): New function.
14234         (eieio-perform-slot-validation): Use it.
14236 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
14238         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
14239         Update documentation to refer to the variables documented in r1.135.
14240         (Bug#4188)
14242 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
14244         * bookmark.el (Info-suffix-list): Remove this unused variable.
14245         (bookmark-current-point): Remove this obsolete variable.
14246         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
14247         Adjust for removal of bookmark-current-point.
14249         (bookmarks-already-loaded, bookmark-current-buffer)
14250         (bookmark-yank-point): Document.  (Bug#4188)
14252 2009-10-10  Glenn Morris  <rgm@gnu.org>
14254         * frame.el (frame-height): Doc fix.
14256         * calendar/calendar.el (calendar-split-width-threshold): New option.
14257         (calendar-basic-setup): Use calendar-split-width-threshold.
14259 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
14261         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
14262         Ideographic Supplement" range (U+1F200..U+1F2FF).
14264 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
14266         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
14267         since the list will have been rebuilt anyway.  (Bug#4349)
14269 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
14271         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
14272         (bookmark-bmenu-execute-deletions): Don't save here, as
14273         bookmark-delete will now do so if necessary.
14274         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
14275         (Bug#4348)
14277 2009-10-09  Glenn Morris  <rgm@gnu.org>
14279         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
14281 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
14283         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
14284         (bookmark-jump-other-window): Just invoke bookmark-jump with new
14285         argument now, so the two function's behaviors will match.  (Bug#3645)
14287 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
14289         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
14290         (tramp-file-name-real-host, tramp-file-name-port):
14291         Apply `save-match-data'.
14293         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
14294         case both directories are remote.
14295         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
14296         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
14298 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
14300         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
14302 2009-10-07  Glenn Morris  <rgm@gnu.org>
14304         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
14305         of concat.
14307 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14309         * files-x.el (read-file-local-variable): Include some
14310         non-user-variables in the completion table (bug#4664).
14312 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
14314         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
14315         message.
14317         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14318         (tramp-smb-file-name-handler-alist): Add handler for
14319         `copy-directory', `expand-file-name', `set-file-modes'.
14320         (tramp-smb-handle-copy-directory)
14321         (tramp-smb-handle-expand-file-name)
14322         (tramp-smb-handle-set-file-modes): New defuns.
14323         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
14324         (tramp-smb-handle-file-attributes): Simplify check for retrieving
14325         entry.
14326         (tramp-smb-handle-insert-directory): Don't flush the cache.
14327         (tramp-smb-maybe-open-connection): Check for samba client and
14328         server versions.
14330 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
14332         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
14333         to not error out of search for "^lisp=" fails.
14335 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
14337         * makefile.w32-in (WINS_UPDATES): New macro.
14338         (custom-deps, finder-data, autoloads): Use it.
14340 2009-10-07  Glenn Morris  <rgm@gnu.org>
14342         * Makefile.in (autoloads): Revert previous change.
14343         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
14344         the list of preloaded files passed on the command-line, get
14345         it from src/Makefile.
14347         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
14348         show the original buffer rather than a random one.
14350 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
14352         * help.el (describe-no-warranty): Place point in a slightly better
14353         position in the GPLv3 text.
14355 2009-10-06  Sam Steingold  <sds@gnu.org>
14357         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
14358         the comm attribute is present before calling regexp-quote.
14360 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
14362         * play/animate.el (animate-string): For good effect, make sure
14363         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
14365         * play/animate.el (animate-sequence, animate-birthday-present):
14366         * misc.el (butterfly): Don't set `indent-tabs-mode'.
14368 2009-10-06  Glenn Morris  <rgm@gnu.org>
14370         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
14372         * emacs-lisp/autoload.el (autoload-excludes): New variable.
14373         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
14374         (batch-update-autoloads): Process a string value of autoload-excludes,
14375         set during the build process.
14376         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
14378         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
14379         inside with-parsed...  macro so that `v' is defined.
14381         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
14382         * progmodes/fortran.el (fortran-end-of-block)
14383         (fortran-beginning-of-block):
14384         Also push mark in the macro case.
14386         * emerge.el (emerge-show-file-name):
14387         * calc/calc.el (calc-quit):
14388         * calc/calc-misc.el (calc-big-or-small):
14389         * calc/calc-graph.el (calc-graph-view):
14390         * calc/calc-ext.el (calc-reset):
14391         * calendar/calendar.el (calendar-basic-setup):
14392         Use window-full-height-p.
14394         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
14395         header we don't understand, don't insert another.  (Bug#4624)
14396         If changing mime charset, insert the new one in the right place.
14398 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
14400         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
14401         (cal-tex-cursor-month): Correctly increment the end date for diary and
14402         holiday listing.  (Bug#4626)
14404 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14406         * help-fns.el (describe-function-1): Don't burp if the function is not
14407         a symbol.
14409 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
14411         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
14412         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
14413         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
14414         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
14416         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
14417         (eieio-default-superclass): Reflow docstrings.
14418         (this, class-option-assoc, defclass, eieio-class-un-autoload)
14419         (eieio-unbind-method-implementations, defmethod)
14420         (eieio-validate-slot-value, eieio-validate-class-slot-value)
14421         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
14422         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
14423         (eieio-slot-originating-class-p, eieio-slot-name-index)
14424         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
14425         (constructor, initialize-instance, no-next-method, object-print)
14426         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
14427         Fix typos in docstrings.
14428         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
14429         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
14430         (next-method-p): Doc fixes.
14431         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
14432         Fix typos in error messages.
14433         (eieio-defmethod): Fix typo in description of generic method.
14435         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
14436         (eieio-persistent-save-interactive, slot-missing):
14437         Fix typos in docstrings.
14438         (eieio-instance-inheritor-slot-boundp): Doc fix.
14440         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
14441         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
14443         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
14444         (eieio-custom-object-apply-reset):
14445         Fix typos in docstrings and error messages.
14447         * emacs-lisp/eieio-datadebug.el (data-debug-show):
14448         Fix typo in docstring.
14450         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
14451         (eieio-browse-tree): Doc fix.
14452         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
14453         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
14454         Fix typos in docstrings.
14456         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
14457         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
14458         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
14459         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
14460         Reflow docstrings.
14462 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
14464         * vc-hg.el (log-view-vc-backend): Declare for compiler.
14465         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
14466         Set log-view-vc-backend so that diff can work.
14468         * log-view.el (log-view-diff): Use vc-diff-internal instead of
14469         vc-version-diff.
14470         (vc-diff-internal): Autoload this instead of vc-version-diff.
14472 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
14474         * simple.el (eval-expression): Doc fix.
14476         * progmodes/cwarn.el (cwarn-mode): Doc fix.
14478 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
14480         * files.el (directory-files-no-dot-files-regexp): New defconst.
14481         (delete-directory): Use it.
14482         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
14484         * net/tramp.el (tramp-verbose): Fix docstring.
14485         (tramp-methods): Add recursive option to `tramp-copy-args'.
14486         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
14487         "scp1_old", "scp2_old", "rsync", "rsyncc".
14488         (tramp-default-method): Check also for `auth-source-user-or-password'.
14489         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
14490         Add handler for `copy-directory'.
14491         (tramp-handle-copy-directory): New defun.
14492         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
14493         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
14494         Optimize sent command.
14496 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14498         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
14499         window if necessary.
14501         * calendar/calendar.el (calendar-basic-setup): Don't call
14502         switch-to-buffer in a dedicated window.
14504 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
14506         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
14507         don't do anything related to relocating, just return nil.
14508         (bookmark-error-no-filename): New error.
14509         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
14510         bookmark has no file.  Don't even attempt to handle things that
14511         are not files; the whole point of custom handlers is to keep that
14512         knowledge elsewhere anyway.  Tighten some comments.
14513         (bookmark-file-or-variation-thereof): Remove now-unused function.
14514         (bookmark-location): Doc string fix.
14515         (Bug#4250)
14517 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
14519         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
14520         don't use a file dialog, because they usually don't know how to read
14521         a directory target from the user.  (Bug#4230)
14522         Also, make sure the prompt can display directories as well as files.
14524 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
14526         * bookmark.el (bookmark-set, bookmark-buffer-name):
14527         Improve doc strings.  (Bug#1193)
14529 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
14531         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
14532         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
14533         (bookmark-get-annotation, bookmark-set-annotation)
14534         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
14535         (bookmark-set-position, bookmark-get-front-context-string)
14536         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
14537         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
14538         (bookmark-jump-other-window, bookmark-handle-bookmark)
14539         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
14540         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
14541         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
14542         Improve doc strings to say whether bookmark can be a string or
14543         a record or both, and make other consistency and clarity fixes.
14544         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
14545         (bookmark-default-annotation-text, bookmark-yank-word)
14546         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
14547         (bookmark-import-new-list, bookmark-maybe-rename)
14548         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14549         (bookmark-bmenu-bookmark): Give these doc strings.
14550         (bookmark-bmenu-check-position): Give this a doc string, but also
14551         add a FIXME comment about how the function may be pointless.
14552         (bookmark-default-handler): Rework doc string and change a
14553         parameter name, to clarify that this takes a bookmark record
14554         not a bookmark name.
14555         (bookmark-set): Change a parameter name to indicate its meaning,
14556         and improve the doc string a bit.
14557         (Bug#4188)
14559 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
14561         * bookmark.el (bookmark-alist): Document the new `handler' element
14562         in the param alist.
14563         (bookmark-make-record-function): Adjust documentation for above.
14564         (Bug#4193)
14566 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
14568         * info.el (Info-bookmark-make-record): Document this function.
14569         (Info-bookmark-jump): Document with a doc string, not just a comment.
14570         (Bug#4203)
14572 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
14574         * files.el (copy-directory): New defun.
14576         * dired-aux.el (dired-copy-file-recursive): Use it.
14578 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
14580         * files-x.el (modify-dir-local-variable)
14581         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
14582         docstrings.
14584         * recentf.el (recentf-unload-function): New function.
14586 2009-10-04  Glenn Morris  <rgm@gnu.org>
14588         * window.el (window-full-height-p): Add doc string.
14590 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
14592         * window.el (window-full-height-p): New function.  (Bug#4543)
14594 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
14596         * vc.el: Remove commented out code.
14597         (vc-derived-from-dir-mode): Remove, unused.
14598         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
14600 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
14602         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
14603         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
14604         there could be recursive loading when `default-directory' is a
14605         remote file name.  (Bug#4614)
14607 2009-10-03  Glenn Morris  <rgm@gnu.org>
14609         * calendar/calendar.el (calendar-basic-setup): Handle the case where
14610         the frame is wide.
14611         (calendar-generate-window): Test for shrinkability rather than width.
14613         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
14614         reusing existing buffers, in case we happen to visit two files with the
14615         same basename.  (Bug#4593)
14617 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
14619         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
14620         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
14621         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
14622         subdirs of cedet as well.
14623         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
14625 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
14627         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
14628         Obey advertised-signature-table.
14630         * help-fns.el (help-function-arglist): Don't check
14631         advertised-signature-table.
14632         (describe-function-1): Do it here instead so it also applies to subrs.
14634 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
14636         * simple.el (start-file-process): Say in the doc-string, that file
14637         handlers might not support pty association, if PROGRAM is nil.
14639         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
14640         HOST and USER are strings.  They are nil, when there are
14641         incomplete entries in ~/.netrc, for example.
14642         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
14643         root directory ("device busy" error otherwise).
14645         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
14646         Flush file properties of created directory.
14648 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
14650         * makefile.w32-in (WINS_BASIC): Remove cedet.
14651         (WINS_CEDET): Add cedet.
14652         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
14654 2009-10-02  Kevin Ryde  <user42@zip.com.au>
14656         * net/browse-url.el (browse-url): Pass any symbol in
14657         browse-url-browser-function to `apply', since if you've mistakenly put
14658         an unbound symbol then the error is clearer.  (Bug#4531)
14660 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
14662         * allout.el (allout-init, allout-back-to-current-heading)
14663         (allout-beginning-of-current-entry, allout-ascend-to-depth)
14664         (allout-ascend, allout-up-current-level, allout-end-of-level)
14665         (allout-previous-visible-heading, allout-forward-current-level)
14666         (allout-backward-current-level, allout-show-children):
14667         * apropos.el (apropos-describe-plist):
14668         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
14669         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
14670         * completion.el (add-completion, add-permanent-completion):
14671         * descr-text.el (describe-text-category, describe-char):
14672         * desktop.el (desktop-lazy-abort):
14673         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
14674         * dired.el (dired-build-subdir-alist):
14675         * ediff.el (ediff-version):
14676         * elide-head.el (elide-head, elide-head-show):
14677         * emerge.el (emerge-version):
14678         * env.el (getenv):
14679         * face-remap.el (variable-pitch-mode):
14680         * faces.el (describe-face):
14681         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
14682         (dired-at-point):
14683         * files.el (find-file-existing, auto-save-mode):
14684         * font-lock.el (font-lock-fontify-buffer):
14685         * help-fns.el (describe-function, describe-variable)
14686         (describe-syntax, describe-categories):
14687         * help.el (view-lossage, describe-bindings, describe-key)
14688         (describe-mode):
14689         * hexl.el (hexl-current-address):
14690         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
14691         * info.el (Info-goto-emacs-key-command-node):
14692         * log-edit.el (log-edit-insert-cvs-template)
14693         (log-edit-insert-cvs-rcstemplate):
14694         * menu-bar.el (menu-bar-mode):
14695         * mouse.el (mouse-appearance-menu):
14696         * newcomment.el (comment-indent-new-line):
14697         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
14698         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
14699         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
14700         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
14701         * recentf.el (recentf-mode):
14702         * savehist.el (savehist-mode, savehist-save):
14703         * shadowfile.el (shadow-copy-files):
14704         * simple.el (kill-ring-save, next-line, previous-line)
14705         (normal-erase-is-backspace-mode):
14706         * strokes.el (strokes-update-window-configuration)
14707         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
14708         (strokes-xpm-for-stroke):
14709         * time.el (emacs-uptime, emacs-init-time):
14710         * tutorial.el (tutorial--describe-nonstandard-key)
14711         (tutorial--detailed-help):
14712         * type-break.el (type-break-mode)
14713         (type-break-mode-line-message-mode, type-break-query-mode)
14714         (type-break-guesstimate-keystroke-threshold):
14715         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
14716         * version.el (emacs-version):
14717         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
14718         * winner.el (winner-mode):
14719         * calendar/timeclock.el (timeclock-in, timeclock-out)
14720         (timeclock-status-string, timeclock-change)
14721         (timeclock-workday-remaining-string)
14722         (timeclock-workday-elapsed-string)
14723         (timeclock-when-to-leave-string):
14724         * calendar/todo-mode.el (todo-add-category):
14725         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
14726         * emacs-lisp/autoload.el (update-file-autoloads):
14727         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
14728         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
14729         (checkdoc-message-text, checkdoc-defun):
14730         * emacs-lisp/debug.el (debugger-list-functions):
14731         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
14732         * emacs-lisp/eieio-opt.el (eieio-describe-class)
14733         (eieio-describe-generic):
14734         * emacs-lisp/lisp-mnt.el (lm-synopsis):
14735         * emacs-lisp/shadow.el (list-load-path-shadows):
14736         * emulation/cua-base.el (cua-mode):
14737         * emulation/edt.el (edt-set-scroll-margins):
14738         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
14739         (tpu-toggle-regexp, tpu-toggle-search-direction)
14740         (tpu-toggle-rectangle, tpu-toggle-control-keys):
14741         * emulation/tpu-extras.el (tpu-set-scroll-margins):
14742         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
14743         (viper-set-parsing-style-toggling-macro)
14744         (viper-set-emacs-state-searchstyle-macros):
14745         * emulation/viper.el (viper-set-hooks):
14746         * eshell/esh-mode.el (eshell-truncate-buffer):
14747         * international/mule-cmds.el (prefer-coding-system)
14748         (describe-input-method, describe-language-environment):
14749         * international/mule-diag.el (list-character-sets)
14750         (describe-character-set, describe-coding-system)
14751         (describe-fontset, list-fontsets, list-input-methods):
14752         * mail/sendmail.el (mail-signature):
14753         * net/ange-ftp.el (ange-ftp-copy-file):
14754         * net/browse-url.el (browse-url):
14755         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
14756         * net/quickurl.el (quickurl-add-url):
14757         * net/rcirc.el (names, topic):
14758         * net/xesam.el (xesam-mode):
14759         * play/5x5.el (5x5-new-game):
14760         * play/yow.el (apropos-zippy):
14761         * progmodes/ada-mode.el (ada-mode-version):
14762         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
14763         (f90-end-of-block)
14764         (f90-beginning-of-block):
14765         * progmodes/fortran.el (fortran-end-of-block)
14766         (fortran-beginning-of-block):
14767         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
14768         * progmodes/python.el (python-describe-symbol, python-shell):
14769         * term/ns-win.el (ns-print-buffer):
14770         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
14771         * textmodes/flyspell.el (flyspell-mode-on):
14772         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
14773         (pages-directory-for-addresses):
14774         * textmodes/table.el (table-recognize-cell)
14775         (table-query-dimension, table-generate-source)
14776         (table-insert-sequence, table--warn-incompatibility):
14777         * textmodes/tex-mode.el (tex-validate-buffer):
14778         * textmodes/texinfmt.el (texinfmt-version)
14779         (texinfo-format-buffer):
14780         Use `called-interactively-p' instead of `interactive-p'.
14782 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
14784         * image-mode.el (image-toggle-display):
14785         * emacs-lisp/elp.el (elp-instrument-function):
14786         * emacs-lisp/advice.el (ad-make-advised-definition):
14787         * emacs-lisp/easy-mmode.el (define-minor-mode):
14788         * net/browse-url.el (browse-url-maybe-new-window):
14789         * progmodes/sh-script.el (sh-learn-buffer-indent):
14790         Pass new argument 'any to `called-interactively-p'.
14792 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
14794         * international/uni-bidi.el:
14795         * international/uni-category.el:
14796         * international/uni-combining.el:
14797         * international/uni-comment.el:
14798         * international/uni-decimal.el:
14799         * international/uni-decomposition.el:
14800         * international/uni-digit.el:
14801         * international/uni-lowercase.el:
14802         * international/uni-mirrored.el:
14803         * international/uni-name.el:
14804         * international/uni-numeric.el:
14805         * international/uni-old-name.el:
14806         * international/uni-titlecase.el:
14807         * international/uni-uppercase.el:
14808         Regenerate from Unicode 5.2.0 data.
14810 2009-10-01  Glenn Morris  <rgm@gnu.org>
14812         * Makefile.in (ELCFILES): Regenerate.
14814 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14816         * subr.el (interactive-p): Mark obsolete.
14817         (called-interactively-p): Make the optional-ness of `kind' obsolete.
14818         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
14819         advertised-signature-table for subroutines as well.
14821         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
14822         (set-advertised-calling-convention): New function.
14823         (make-obsolete, define-obsolete-function-alias)
14824         (make-obsolete-variable, define-obsolete-variable-alias):
14825         Make the optional-ness of `when' obsolete.
14826         (define-obsolete-face-alias): Make `when' non-optional.
14827         * help-fns.el (help-function-arglist):
14828         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
14829         Use advertised-signature-table.
14831 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
14833         * files.el (delete-directory): New defun.  The original function
14834         in fileio.c has been renamed to `delete-directory-internal'.
14836         * dired.el (dired-delete-file): Call `delete-directory' with
14837         RECURSIVE parameter.
14839         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
14840         parameter RECURSIVE.  Implementation is missing.
14842         * net/tramp.el (tramp-handle-make-directory): Flush upper
14843         directory's file properties.
14844         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
14845         (tramp-handle-dired-recursive-delete-directory): Flush directory
14846         properties after the remove command only.
14848         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
14849         Handle optional parameter RECURSIVE.
14851         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
14852         Handle optional parameter RECURSIVE.
14854         * net/tramp-smb.el (tramp-smb-errors): Add error message for
14855         connection timeout.
14856         (tramp-smb-handle-delete-directory): Handle optional parameter
14857         RECURSIVE.
14859 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
14861         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
14862         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
14863         (byte-compile-defmacro): Use backquotes.
14865         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
14867         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
14868         has no associated file.
14869         (vc-resynch-buffer): Use vc-dir-buffers.
14871 2009-10-01  Glenn Morris  <rgm@gnu.org>
14873         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
14874         (chart-file-count):
14875         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
14876         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
14877         * emacs-lisp/eieio-opt.el (eieio-describe-class):
14878         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
14879         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
14880         (eieio-copy-parents-into-subclass, make-instance, class-children)
14881         (eieio-generic-form):
14883         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
14884         match-data.  (Bug#4555).
14886         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
14887         rather than parsing it as a regexp.  This relaxes the layout
14888         requirements and makes errors easier to detect.
14889         (check-declare-verify): Check file is regular.
14890         (check-declare-directory): Doc fix.
14891         * subr.el (declare-function): Doc fix.
14893         * ibuffer.el (ibuffer-format-qualifier):
14894         * isearch.el (hi-lock-regexp-okay):
14895         * calc/calc.el (math-zerop):
14896         * mail/uce.el (rmail-msgbeg, rmail-msgend):
14897         * term/w32-win.el (setup-default-fontset, set-fontset-font):
14898         Remove unused declarations.
14900 2009-09-30  Eric Ludlam  <zappo@gnu.org>
14902         * emacs-lisp/eieio.el (boolean-p): Delete.
14904 2009-09-30  Glenn Morris  <rgm@gnu.org>
14906         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
14908         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
14909         filename is not a string.
14911 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
14913         * files.el (safe-local-eval-forms): Fix typo.
14915 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
14917         * vc-hooks.el (vc-dir-buffers): New var.
14918         (vc-state-refresh): New function.
14919         (vc-state): Use it.
14920         (vc-after-save): Always ask the backend to recompute the new state.
14921         Always call vc-dir if necessary, using vc-dir-buffers.
14922         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
14923         Use vc-dir-buffers.
14924         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
14925         (vc-dir-prepare-status-buffer, vc-dir-update)
14926         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
14927         Don't call expand-file-name on default-directory.
14929 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
14931         * speedbar.el (speedbar-item-delete):
14932         * calc/calc-prog.el (calc-kbd-if):
14933         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
14935         * epa.el (epa-key-list-mode-map):
14936         * hi-lock.el (hi-lock-menu): Fix typos in menus.
14938         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
14939         (hs-show-hook): Fix typo in docstring.
14941 2009-09-29  Glenn Morris  <rgm@gnu.org>
14943         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
14944         file-name-nondirectory call preventing location of cedet files.
14945         (check-declare-verify): Use literal search rather than re-search.
14946         Add basic defmethod and defclass, and define-overloadable-function.
14948         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
14949         Use tramp-compat-file-attributes rather than nonexistent
14950         tramp-compat-handle-file-attributes.
14952         * Makefile.in (lisptagsfiles4): New.
14953         (AUTOGENEL): Add cedet loaddefs files.
14954         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
14955         (update-elclist, compile-always, backup-compiled-files)
14956         (bootstrap-clean): Add yet another directory level.
14957         (update-elclist): Use LC_COLLATE rather than COLLATE.
14958         (ELCFILES): Update, via `make update-elclist'.
14960 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
14962         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
14963         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
14964         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
14966 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
14968         * Makefile.in (lisptagsfiles3): Define.
14969         (TAGS, TAGS-LISP): Use it.
14970         (update-elclist): Add third directory level to look for elc files.
14971         (compile-always): Likewise.
14972         (backup-compiled-files): Likewise.
14973         (bootstrap-clean): Likewise.
14974         (ELCFILES): Update.
14976 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
14978         * Makefile.in (ELCFILES): Add CEDET files.
14980 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
14982         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
14984         * net/tramp.el (top): Require tramp-imap.
14986         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
14987         Use `tramp-compat-handle-file-attributes'.
14989 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
14991         * net/tramp-imap.el: New package.
14993 2009-09-28  Eric Ludlam  <zappo@gnu.org>
14995         * emacs-lisp/chart.el:
14996         * emacs-lisp/eieio-base.el:
14997         * emacs-lisp/eieio-comp.el:
14998         * emacs-lisp/eieio-custom.el:
14999         * emacs-lisp/eieio-datadebug.el:
15000         * emacs-lisp/eieio-opt.el:
15001         * emacs-lisp/eieio-speedbar.el:
15002         * emacs-lisp/eieio.el: New files.
15004 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
15006         * whitespace.el (whitespace-trailing-regexp)
15007         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
15008         Fix doc string.
15010 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
15012         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
15013         menu.
15015         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
15016         menu-bar-ediff-menu.
15018         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
15019         define-overloadable-function.
15021         * progmodes/autoconf.el: Provide autoconf as well, so that this
15022         file can be `require'd.
15024         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
15026         * emacs-lisp/autoload.el (generated-autoload-feature)
15027         (generated-autoload-load-name): New vars.
15028         (autoload-rubric, autoload-generate-file-autoloads): Use them.
15029         (make-autoload): Recognize define-overloadable-function and
15030         defclass forms (for EIEIO).
15032         * Makefile.in (update-subdirs): Exclude cedet directory.
15034 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
15036         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
15038         * faces.el: Default light-background background for region face to
15039         ns_selection_color under NS.
15041 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
15043         * net/imap-hash.el: New library, see NEWS.
15045         * Makefile.in (ELCFILES): Add imap-hash.el.
15047 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15049         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
15050         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
15051         * help-macro.el (make-help-screen): Avoid using an ambiguous function
15052         definition where the docstring could be taken for the return value.
15054 2009-09-26  Glenn Morris  <rgm@gnu.org>
15056         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
15057         Add option to only show images below a certain size.
15058         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
15059         save-excursion calls.
15061 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
15063         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
15064         subdirectories) and eieio.
15066 2009-09-26  Alan Mackenzie  <acm@muc.de>
15068         * progmodes/cc-engine.el (c-beginning-of-statement-1):
15069         Correct buggy bracketing.  (Bug#4289)
15071         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
15072         character constants (as case labels).  (Bug#4289)
15074 2009-09-25  Juri Linkov  <juri@jurta.org>
15076         * files.el (safe-local-eval-forms): Allow time-stamp in
15077         before-save-hook (Bug#4554).
15079 2009-09-25  Drew Adams  <drew.adams@oracle.com>
15081         * menu-bar.el (list-buffers-directory): Doc fix.
15083 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15085         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
15086         Try and avoid copying twice the same paragraph.
15087         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
15088         Remove save-excursion.
15089         (log-edit-changelog-entry): Do it here instead.
15091 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
15093         * bs.el (bs--get-file-name): Use `list-buffers-directory'
15094         when available, instead of hardcoding mode names.  Doc fix.
15096         * menu-bar.el (list-buffers-directory): Add docstring.
15097         Make automatically buffer-local.
15099         * dired.el (dired-mode):
15100         * files.el (cd-absolute):
15101         * pcvs.el (cvs-temp-buffer):
15102         * pcvs-util.el (cvs-get-buffer-create):
15103         * shell.el (shell-mode):
15104         * vc-dir.el (vc-dir-mode):
15105         Don't make `list-buffers-directory' buffer local.
15107 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
15109         * comint.el (comint-exec, comint-run, make-comint):
15110         Doc fixes (Bug#4542).
15112 2009-09-25  Glenn Morris  <rgm@gnu.org>
15114         * mail/rmailmm.el (rmail-mime): New custom group.
15115         Move all defcustoms in this file into this group.
15116         (rmail-mime-media-type-handlers-alist): Revert previous change.
15117         (rmail-mime-show-images): New option.
15118         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
15119         references to it, since it wasn't actually used for anything.
15120         (rmail-mime-insert-image): New function.
15121         (rmail-mime-image): Use rmail-mime-insert-image.
15122         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
15123         obey the value of `rmail-mime-show-images' option.  Print the size of
15124         attachments.
15126 2009-09-25  David Engster  <deng@randomsample.de>
15128         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
15130 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
15132         * whitespace.el: Does not highlight trailing spaces While point is
15133         at end of line.  Does not highligt spaces at beginning of buffer
15134         while point is at beginning of buffer.  Does not highlight spaces
15135         at end of buffer while point is at end of buffer.  (Bug#4177)
15136         New version 12.0.
15137         (whitespace-display-mappings): Adjust initialization.
15138         (whitespace-point, whitespace-font-lock-refontify): New vars.
15139         (whitespace-color-on, whitespace-color-off): Adjust code.
15140         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
15141         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
15142         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
15144 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
15146         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
15148         * textmodes/sgml-mode.el: Remove xml-mode alias.
15150         * files.el (auto-mode-alist, conf-mode-maybe)
15151         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
15153 2009-09-24  Alan Mackenzie  <acm@muc.de>
15155         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
15156         c-forward-conditionals, but it doesn't move point and doesn't set
15157         the mark.
15158         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
15159         (c-down-conditional-with-else, c-backward-conditional)
15160         (c-forward-conditional): Refactor to use c-scan-conditionals.
15162 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
15164         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
15165         (help-default-arg-highlight): Remove.
15166         (help-highlight-arg): New function.
15167         (help-do-arg-highlight): Use it.
15168         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
15170 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15172         * term.el (term-set-scroll-region, term-handle-ansi-escape):
15173         Undo last change, which didn't fix the problem and introduced others.
15175 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
15177         * progmodes/gdb-mi.el: Don't require speedbar.
15178         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
15180 2009-09-24  Glenn Morris  <rgm@gnu.org>
15182         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
15184         * term/ns-win.el (ns-reg-to-script): Define for compiler.
15186         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
15187         there is no newline after the final mime boundary.  (Bug#4539)
15188         Move markers on insertion so that any buttons inserted don't end up in
15189         the next part of a multipart message.
15190         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
15191         (rmail-mime-bulk-handler): Optionally handle images.
15192         (rmail-mime-image): New button action.
15193         (rmail-mime-image-handler): New function.
15194         (rmail-mime-mode): New mode.
15195         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
15197 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15199         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
15200         than just dropping elements from it (bug#4504).
15202         * term.el (term-set-scroll-region): Don't move cursor any more.
15203         (term-handle-ansi-escape): Call term-goto here instead.
15204         Suggested by Ivan Kanis <apple@kanis.eu>.
15206         * term.el: Require CL.
15207         (term-ansi-reset): New function.
15208         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
15209         (term-handle-colors-array): Simplify.
15211 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
15213         * allout.el (allout-overlay-interior-modification-handler)
15214         (allout-obtain-passphrase):
15215         * epa-file.el (epa-file-write-region):
15216         * ps-print.el (ps-begin-job):
15217         * vc-hooks.el (vc-toggle-read-only):
15218         * vc-rcs.el (vc-rcs-rollback):
15219         * vc-sccs.el (vc-sccs-rollback):
15220         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
15221         (vc-version-diff, vc-revert, vc-rollback):
15222         * wdired.el (wdired-check-kill-buffer):
15223         * emacs-lisp/authors.el (authors):
15224         * net/socks.el (socks-open-connection):
15225         * net/zeroconf.el (zeroconf-service-add-hook):
15226         * obsolete/vc-mcvs.el (vc-mcvs-register):
15227         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
15228         (gdb-select-frame):
15229         * progmodes/grep.el (lgrep, rgrep):
15230         * progmodes/idlw-help.el (idlwave-help-check-locations)
15231         (idlwave-help-html-link, idlwave-help-assistant-open-link):
15232         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
15233         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
15234         (reftex-toc-rename-label): Fix typos in error messages.
15236         * dired-aux.el (dired-do-shell-command): Reflow docstring.
15237         (dired-copy-how-to-fn): Doc fix.
15238         (dired-files-attributes, dired-read-shell-command):
15239         Fix typos in docstrings.
15241         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
15242         (dired-x-find-file-other-window): Reflow docstrings.
15243         (dired-omit-marker-char, dired-read-shell-command)
15244         (dired-x-submit-report): Fix typos in docstrings.
15246         * shell.el (shell-mode-hook):
15247         * view.el (View-scroll-line-forward):
15248         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
15249         Fix typos in docstrings.
15251         * net/dig.el (dig-invoke): Fix typo in docstring.
15252         (query-dig): Reflow docstring.
15254         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
15255         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
15256         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
15257         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
15258         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
15259         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
15260         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
15261         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
15262         (idlwave-completion-map, idlwave-current-indent)
15263         (idlwave-custom-ampersand-surround, idlwave-customize)
15264         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
15265         (idlwave-define-abbrev, idlwave-determine-class-special)
15266         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
15267         (idlwave-end-block-reg, idlwave-end-of-statement)
15268         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
15269         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
15270         (idlwave-explicit-class-listed, idlwave-file-header)
15271         (idlwave-fill-paragraph, idlwave-find-class-definition)
15272         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
15273         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
15274         (idlwave-in-quote, idlwave-indent-action-table)
15275         (idlwave-indent-expand-table, idlwave-indent-line)
15276         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
15277         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
15278         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
15279         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
15280         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
15281         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
15282         (idlwave-outlawed-buffers, idlwave-popup-select)
15283         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
15284         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
15285         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
15286         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
15287         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
15288         (idlwave-statement-type, idlwave-struct-skip)
15289         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
15290         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
15291         (idlwave-what-module-find-class): Fix typos in docstrings.
15292         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
15293         (idlwave-calculate-cont-indent, idlwave-expand-equal)
15294         (idlwave-find-module, idlwave-find-structure-definition)
15295         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
15296         (idlwave-list-load-path-shadows, idlwave-next-statement)
15297         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
15298         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
15299         (idlwave-template): Reflow docstrings.
15301         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
15302         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
15303         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
15304         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
15305         (idlwave-shell-display-line, idlwave-shell-display-wframe)
15306         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
15307         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
15308         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
15309         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
15310         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
15311         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
15312         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
15313         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
15314         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
15315         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
15316         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
15317         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
15318         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
15319         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
15320         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
15321         Fix typos in docstrings.
15322         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
15323         (idlwave-shell-hide-output, idlwave-shell-mode)
15324         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
15325         Reflow docstrings.
15327         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
15329 2009-09-24  Ivan Kanis  <apple@kanis.eu>
15331         * term.el (term-bold-attribute): New var.
15332         (term-handle-colors-array): Use it.
15334 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
15336         * progmodes/gdb-mi.el (gdb-version): New variable.
15337         (gdb-non-stop-handler): Set gdb-version.
15338         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
15339         Condition "--thread" option on gdb-version.
15340         (gdb-invalidate-threads): Remove unused argument.
15342 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15344         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
15345         to looking-back to avoid ridiculous slow down in large files (bug#4511).
15347 2009-09-23  Glenn Morris  <rgm@gnu.org>
15349         * mail/rmail.el (rmail-reply): Don't try to add a References header when
15350         replying to mail without References or Message-Id.  (Bug#4525)
15352 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
15354         * term/ns-win.el (ns-reg-to-script): New variable.
15356 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
15358         * epg.el (epg-wait-for-status): Preserve existing 'error results.
15360 2009-09-22  Sam Steingold  <sds@gnu.org>
15362         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
15363         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
15364         to 1 because hg returns status 1 when nothing is found.
15365         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
15367 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
15369         * textmodes/fill.el: Convert to utf-8 encoding.
15370         (fill-french-nobreak-p): Remove redundant » and « inherited from our
15371         pre-Unicode days.
15373         * add-log.el (change-log-fill-forward-paragraph): New function.
15374         (change-log-mode): Use it so fill-region DTRT.
15375         Set fill-indent-according-to-mode here rather than in
15376         change-log-fill-paragraph.
15377         (change-log-fill-paragraph): Remove.
15379 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
15381         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
15382         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
15384 2009-09-22  Glenn Morris  <rgm@gnu.org>
15386         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
15387         the scroll-bar scroll the calendar window rather than the buffer.
15389         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
15390         commands that move point (as opposed to scrolling).
15392         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
15394         * emacs-lisp/elint.el (elint): New custom group.
15395         (elint-log-buffer): Make it a defcustom.
15396         (elint-scan-preloaded, elint-ignored-warnings)
15397         (elint-directory-skip-re): New options.
15398         (elint-builtin-variables): Doc fix.
15399         (elint-preloaded-env): New variable.
15400         (elint-unknown-builtin-args): Add an entry for encode-time.
15401         (elint-extra-errors): Make it a variable rather than a constant.
15402         (elint-preloaded-skip-re): New constant.
15403         (elint-directory): Skip files matching elint-directory-skip-re.
15404         (elint-features): New variable, local to linted buffers.
15405         (elint-update-env): Initialize elint-features.  Possibly add
15406         elint-preloaded-env to the buffer's environment.
15407         (elint-get-top-forms): Bind elint-current-pos, for log messages.
15408         Skip quoted forms.
15409         (elint-init-form): New function, extracted from elint-init-env.
15410         Make non-list forms a warning rather than an error.
15411         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
15412         easy-menu-define, put that adds an error-condition, and provide.
15413         When requiring cl, also require cl-macs.  Really require cl, to handle
15414         some cl macros.  Store required libraries in the list elint-features,
15415         so as not to re-load them.  Treat cc-require like require.
15416         (elint-init-env): Call elint-init-form to do the work.
15417         Handle eval-and-compile and such like.
15418         (elint-add-required-env): Do not clear messages.
15419         (elint-special-forms): Add handlers for function, defalias, if, when,
15420         unless, and, or.
15421         (elint-form): Add optional argument to ignore elint-special-forms,
15422         useful to prevent recursive calls from handlers.  Doc fix.
15423         Respect elint-ignored-warnings.
15424         (elint-form): Respect elint-ignored-warnings.
15425         (elint-bound-variable, elint-bound-function): New variables.
15426         (elint-unbound-variable): Respect elint-bound-variable.
15427         (elint-get-args): Respect elint-bound-function.
15428         (elint-check-cond-form): Add some simple handling for (f)boundp and
15429         featurep tests.
15430         (elint-check-defalias-form): New handler.
15431         (elint-check-let-form): Make an empty let a warning rather than an
15432         error.
15433         (elint-check-setq-form): Make an empty setq a warning rather than an
15434         error.  Respect elint-ignored-warnings.
15435         (elint-check-defvar-form): Accept null doc-strings.
15436         (elint-check-conditional-form): New handler.  Does some simple-minded
15437         checking of featurep and (f)boundp tests.
15438         (elint-put-function-args): New function.
15439         (elint-initialize): Use elint-scan-doc-file rather than
15440         elint-find-builtin-variables.  Use elint-put-function-args.
15441         Possibly scan preloaded-file-list.
15442         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
15443         extend to handle functions as well.
15445 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
15447         * linum.el (linum-delete-overlays, linum-update-window):
15448         Do not modify the right margin.  (Bug#3971)
15450 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
15452         * files.el (conf-mode-maybe, magic-fallback-mode-alist):
15453         Use nxml-mode instead of xml-mode.
15455 2009-09-21  Kevin Ryde  <user42@zip.com.au>
15457         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
15459 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15461         * net/dig.el (dig-mode): Use define-derived-mode.
15463 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
15465         * vc-dispatcher.el (vc-do-command): Return the process object in
15466         the asynchronous case.  Use when instead of if.  Do not run
15467         vc-exec-after to display a message if not enabled.  (Bug#4463)
15469         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
15470         properties to the stash strings.
15471         (vc-git-stash-list): Return a list of strings.
15472         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
15473         (vc-git-stash-show-at-point): New functions.
15474         (vc-git-stash-map): New keymap.
15476         * register.el (ctl-x-r-map): Define the keys here instead of
15477         using autoload.
15479 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
15481         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
15482         list, to workaround performance problem (bug#4485).
15484 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
15486         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
15488 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
15490         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
15491         Document that this option is not recommended to use.
15493 2009-09-19  Glenn Morris  <rgm@gnu.org>
15495         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
15496         variable `var'.
15498         * calc/calc-alg.el (var):
15499         * calc/calcalg2.el (var): Define for compiler.
15501 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
15503         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
15504         Doc fix (Bug#3932).
15506         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
15508         * time-stamp.el (time-stamp-month-dd-yyyy)
15509         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
15510         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
15511         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
15512         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
15513         Remove functions that have been obsolete since 1995 (Bug#4436).
15515         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
15516         indent buffer only if called interactively (Bug#4452).
15518 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
15519             Eli Zaretskii  <eliz@gnu.org>
15521         This fixes bug#4197 (merged to bug#865, though not identical).
15522         * server.el (server-auth-dir): Add docstring note about FAT32.
15523         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
15524         but warn against using them.
15526 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
15528         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
15529         older GDB where there is no has_more field.
15531 2009-09-19  Glenn Morris  <rgm@gnu.org>
15533         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
15535 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
15537         * files.el (auto-mode-alist): Change default for XML files to nXML
15538         mode (Bug#4169).
15540 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
15542         * server.el (server-ensure-safe-dir): Pass 'integer
15543         to `file-attributes', as suggested.
15545 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
15547         * dired-aux.el (dired-query-alist): Remove spurious backslash.
15548         (dired-query): Use read-key.
15550 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
15552         * cus-start.el (ns-use-qd-smoothing): Remove.
15554 2009-09-18  Glenn Morris  <rgm@gnu.org>
15556         * allout.el (top-level): Remove unnecessary progn.
15558         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
15560         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
15561         definition of abbrev table.
15563         * speedbar.el (speedbar-track-mouse):
15564         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
15565         * net/eudc.el (eudc-expand-inline):
15566         * net/newst-backend.el (newsticker--cache-read-feed):
15567         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
15568         condition-case handlers.
15570 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
15572         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
15573         (gdb-var-list): Add an element for has_more field.
15574         (gdb-non-stop-handler): Enable pretty printing for STL containers.
15575         (gdb-var-create-handler, gdb-var-list-children-handler-1)
15576         (gdb-var-update-handler-1): Parse output of dynamic variable
15577         objects (STL containers).
15578         (gdb-var-delete-1): Pass var1 as an explicit second argument.
15579         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
15581         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
15582         gdb-var-list.
15583         (gud-speedbar-buttons): Make node expandable if expression "has more"
15584         children.
15586 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
15588         * startup.el (emacs-quick-startup): Remove variable and all uses.
15589         (command-line): Set `inhibit-x-resources' instead.
15590         (command-line-1): Use `inhibit-x-resources' instead.
15592 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
15594         * subr.el: Fix last change to avoid using the `unless' macro,
15595         which breaks bootstrapping.
15597 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15599         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
15600         extended definitions, in case we reload subr.el after having
15601         loaded CL.
15602         (eval-next-after-load): Mark as obsolete.
15604 2009-09-17  Juri Linkov  <juri@jurta.org>
15606         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
15607         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
15608         (menu-bar-showhide-menu, menu-bar-tools-menu)
15609         (menu-bar-describe-menu, menu-bar-help-menu)
15610         (minibuffer-local-completion-map, minibuffer-local-map):
15611         Fix list quoting.
15613 2009-09-17  Glenn Morris  <rgm@gnu.org>
15615         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
15616         arguments, whether or not it has a handler.
15618         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
15620         * simple.el (hard-newline): Give it a doc-string.
15622         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
15623         (lisp-mode-syntax-table): Give them doc-strings.
15625 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
15627         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
15628         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
15629         (menu-bar-options-menu, menu-bar-showhide-menu)
15630         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
15631         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
15632         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
15633         (menu-bar-options-menu, menu-bar-tools-menu)
15634         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
15635         (menu-bar-help-menu):
15636         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
15637         string arguments.
15639         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
15640         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
15641         calls for the menu names and :help.
15643 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
15645         * mouse.el (minor-mode-menu-from-indicator): Pay attention
15646         to :minor-mode-function (bug#4455).
15648 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
15650         * startup.el (command-line): Initialize the window-system after
15651         processing the command-line.
15653         * textmodes/page.el (what-page): Make sure we don't inf-loop if
15654         page-delimiter matches the empty string.
15656 2009-09-16  Glenn Morris  <rgm@gnu.org>
15658         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
15659         byte-compile-not-obsolete-var.  It's a list now.
15660         (byte-compile-not-obsolete-funcs): New variable.
15661         (byte-compile-warn-obsolete): Don't warn about functions if they are in
15662         byte-compile-not-obsolete-funcs.
15663         (byte-compile-variable-ref, byte-compile-defvar): Update for
15664         byte-compile-not-obsolete-vars name-change and list nature.
15665         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
15666         and variables behind (f)boundp tests.
15667         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
15669 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
15671         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
15673 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15675         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
15676         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
15677         Don't autoload.
15679 2009-09-15  Stephen Eglen  <stephen@gnu.org>
15681         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
15682         the virtual-buffers, use the name of the buffer specified by
15683         find-file-noselect, as the match may be a symlink.  (This was a
15684         problem if the target and the symlink had different names.)
15686 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15688         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
15690         * desktop.el (desktop-path): Check user-emacs-directory.
15692         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
15694         * loadup.el: Use after-load-functions to GC after loading each file.
15695         Remove the explicit GC calls that used to be sprinkled around.
15697         * subr.el (after-load-functions): New hook.
15698         (do-after-load-evaluation): Run it.  Use string-match-p to detect
15699         `obsolete' packages, rather than painfully extracting the relevant
15700         directory name.
15702 2009-09-15  Glenn Morris  <rgm@gnu.org>
15704         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
15705         free variable `doc'.
15707         * dired.el (dired-mode-map): Add menu entry for async shell command.
15709         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
15710         variables, also consider the .elc files, since the .el files are
15711         normally gzipped (subsequent code locates the .el.gz from the .elc).
15713         * calc/calc-prog.el (arglist): Define for compiler.
15715         * calendar/diary-lib.el (diary-display-function): Change the default to
15716         fancy display.
15717         (body): Define for compiler.
15719         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
15720         (byte-compile-file-form, byte-compile-lambda)
15721         (byte-compile-top-level-body, byte-compile-form)
15722         (byte-compile-variable-ref, byte-compile-setq)
15723         (byte-compile-setq-default, byte-compile-body)
15724         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
15725         (batch-byte-compile): Give some more local variables with common names
15726         a "bytecomp-" prefix to avoid masking warnings about free variables.
15728         * startup.el (command-line-1): Give local variables with common names a
15729         distinguishing prefix, so as not to hide free variable warnings during
15730         bootstrap.
15732         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
15733         clever and add a suffix to make a unique name, just let the user decide
15734         whether or not to overwrite it.  If the input is a directory, write the
15735         default filename to that directory.  (Bug#4388)
15736         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
15737         is a filename-as-a-directory.
15739 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
15741         * textmodes/page.el (what-page): Don't move to beginning of line.
15742         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
15744 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
15746         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
15748 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
15750         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
15751         * help.el (help-for-help-internal): Add purecopy calls for text.
15753         * vc.el (top): print-log method now takes an optional SHORTLOG
15754         argument.  Add a new method: root.
15755         (vc-root-diff, vc-print-root-log): New functions.
15756         (vc-log-short-style): New variable.
15757         (vc-print-log-internal): Add support for showing short logs.
15759         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
15760         vc-print-root-log and vc-print-root-diff.
15762         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
15763         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
15764         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
15765         short logs.
15767         * vc-cvs.el (vc-cvs-print-log):
15768         * vc-mtn.el (vc-mtn-print-log):
15769         * vc-rcs.el (vc-rcs-print-log):
15770         * vc-sccs.el (vc-sccs-print-log):
15771         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
15772         that is ignored for now.
15774         * vc-mtn.el (vc-mtn-annotate-command):
15775         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
15777 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
15779         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
15780         to function-key-map, and give them ascii-character property.
15781         * term/x-win.el (x-alternatives-map):
15782         * term/ns-win.el (ns-alternatives-map):
15783         * term/internal.el (msdos-key-remapping-map):
15784         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
15786 2009-09-14  Glenn Morris  <rgm@gnu.org>
15788         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
15789         temp-buffers (2009-09-12).
15791 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15793         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
15794         the new read-key function.
15796 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
15798         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
15799         is defined (Bug#4405).
15801 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
15803         * recentf.el (recentf-cleanup): Use a hash table to find
15804         duplicates (Bug#4407).
15806 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
15808         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
15809         kp-0 to ascii equivalents (Bug#4325).
15811 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
15813         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
15815         * eshell/em-hist.el:
15816         * eshell/em-dirs.el (eshell-complete-user-reference):
15817         Declare pcomplete functions and variables to avoid compiler warnings.
15819 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
15821         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
15822         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
15823         * eshell/em-alias.el (eshell-aliases-file):
15824         * eshell/em-hist.el (eshell-history-file-name):
15825         Use expand-file-name instead of concat to make file names (Bug#4308).
15827 2009-09-13  Glenn Morris  <rgm@gnu.org>
15829         * ediff-merg.el (ediff-do-merge):
15830         * filesets.el (filesets-run-cmd):
15831         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
15832         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
15833         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
15834         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
15835         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
15836         Replace empty `let's with `progn'.
15838 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
15840         * mail/sendmail.el (send-mail-function):
15841         * tooltip.el (tooltip-mode):
15842         * simple.el (transient-mark-mode):
15843         * rfn-eshadow.el (file-name-shadow-mode):
15844         * frame.el (blink-cursor-mode):
15845         * font-core.el (global-font-lock-mode):
15846         * files.el (temporary-file-directory)
15847         (small-temporary-file-directory, auto-save-file-name-transforms):
15848         * epa-hook.el (auto-encryption-mode):
15849         * composite.el (global-auto-composition-mode):
15850         Use custom-initialize-delay.
15851         * startup.el (command-line): Don't explicitly call
15852         custom-reevaluate-setting for all the above vars.
15853         * custom.el (custom-initialize-safe-set)
15854         (custom-initialize-safe-default): Delete.
15856 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15858         * term/x-win.el (x-initialize-window-system):
15859         * term/w32-win.el (w32-initialize-window-system):
15860         * term/ns-win.el (ns-initialize-window-system): Don't call
15861         mouse-wheel-mode since it's enabled globally by default already.
15863         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
15864         actually define the variable, but only silences the byte-compiler.
15865         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
15866         before looking it up.
15867         (mouse-wheel-scroll-amount): Also reset the bindings if this value
15868         is changed.
15870 2009-09-12  Glenn Morris  <rgm@gnu.org>
15872         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
15873         1000.
15874         (elint-add-required-env): Don't beep on error.
15875         (elint-forms): In case of error, return ENV unchanged.
15876         (elint-init-env): Skip non-list forms.
15877         (elint-log): Handle unknown file positions.
15879 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
15881         * epg.el (epg-make-context): Add autoload cookie.
15882         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
15883         (epg-decrypt-string, epg-start-verify, epg-verify-file)
15884         (epg-verify-string, epg-start-sign, epg-sign-file)
15885         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
15886         (epg-encrypt-string, epg-start-export-keys)
15887         (epg-export-keys-to-file, epg-export-keys-to-string)
15888         (epg-start-import-keys, epg-import-keys-from-file)
15889         (epg-import-keys-from-string, epg-start-receive-keys)
15890         (epg-receive-keys, epg-import-keys-from-server)
15891         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
15892         (epg-sign-keys, epg-start-generate-key)
15893         (epg-generate-key-from-file, epg-generate-key-from-string):
15894         Remove autoload cookie.
15896 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
15898         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
15899         reevaluation of trash-directory.
15901         * mwheel.el: Fix last change.
15902         (mouse-wheel-mode): New defvar.
15903         (mouse-wheel-mode): Remove autoload cookie.
15905 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
15907         * mwheel.el (mwheel-installed-bindings): New var.
15908         (mouse-wheel-mode): Use it, so as to make sure we really remove all
15909         the bindings we set last time.  Use custom-initialize-delay.
15910         * loadup.el: Load mwheel after term/*-win.el.
15911         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
15912         and mouse-wheel-up-event now that their first evaluation is done
15913         sufficiently late to be correct.
15915         * startup.el (tutorial-directory): Make it a defcustom.
15916         Use custom-initialize-delay rather than eval-at-startup to set it.
15917         * image.el (image-load-path): Make it a defcustom.
15918         Use custom-initialize-delay rather than eval-at-startup to set it.
15919         * subr.el (eval-at-startup): Remove.
15920         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
15922         * subr.el (do-after-load-evaluation): Warn the user after loading an
15923         obsolete package.
15925 2009-09-12  Glenn Morris  <rgm@gnu.org>
15927         * proced.el (proced-mark-alt): Remove alias.
15928         (proced-mode-map): Remove proced-mark-alt.
15930         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
15931         Elint file and directory.  Remove initialization entry.
15933         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
15934         commands.
15935         (elint-current-buffer): Set mode-line-process.
15936         (elint-init-env): Handle define-derived-mode.
15937         Fix declare-function with unspecified arglist.  Guard against odd
15938         defalias statements (eg iso-insert's 8859-1-map).
15939         (elint-add-required-env): Use a temp buffer.
15940         (elint-form): Just print the function/macro name, not the whole form.
15941         Return env unchanged if we fail to parse a macro.
15942         (elint-forms): Guard against parse errors.
15943         (elint-output): New function, to handle batch mode.
15944         (elint-log-message): Add optional argument.  Use elint-output.
15945         (elint-set-mode-line): New function.
15947 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
15949         * emacs-lisp/elp.el (elp-not-profilable): Add more
15950         functions (Bug#4233).
15952 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
15954         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
15955         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
15957 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
15959         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
15960         (gdb-var-list-children): Use json parsing.
15962 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
15964         * progmodes/js.el (js--proper-indentation): Handle the case where
15965         char-before is null.  Reported by Deniz Dogan.
15967 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
15969         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
15971 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
15973         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
15974         (epg-digest-algorithm-alist): Add SHA224.
15975         (epg-context-set-passphrase-callback)
15976         (epg-context-set-progress-callback): Add description about
15977         callback function.
15979 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
15981         * custom.el (custom-delayed-init-variables): New var.
15982         (custom-initialize-delay): New function.
15983         * startup.el (command-line): "Re"evaluate all vars in
15984         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
15985         explicitly any more.
15986         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
15987         to avoid creating a ~/.emacs.d at build-time (bug#4347).
15989         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
15991 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
15993         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
15994         (gdb-var-update-handler): Use json parsing.
15996 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
15998         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
15999         decode annotated text, regardless of language environment.  (Bug#2741)
16001 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16003         * Makefile.in (autoloads): Make rmail.el writable as well.
16005 2009-09-11  Glenn Morris  <rgm@gnu.org>
16007         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
16008         loaddefs.el.
16009         * dired.el: Regenerate with extracted autoloads.
16010         * Makefile.in (autoloads): Make dired.el writable.
16012         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
16013         * ibuffer.el: Regenerate with extracted autoloads.
16014         * Makefile.in (autoloads): Make ibuffer.el writable.
16016         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
16017         * version.el (emacs-copyright, emacs-major-version)
16018         (emacs-minor-version): Reformat doc-strings for make-docfile.
16020         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
16021         functions and variables, since they must be stuff specific to some other
16022         platform.
16023         (apropos-print): Make mouse-click message less specific about button.
16025         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
16026         that records where a macro was defined.
16027         * help-fns.el (describe-function-1): Mention if a function has a
16028         compiler-macro.
16029         * help-mode.el (help-function-cmacro): New button.
16031         * locate.el (top-level): Always require dired.
16032         (locate-mode-map): Initialize inside the defvar.
16034         * net/ange-ftp.el (dired-compress-file): Declare.
16035         (ange-ftp-dired-compress-file): Add doc string.
16037         * term/ns-win.el (x-display-name, x-setup-function-keys):
16038         Unify doc-strings with X versions.
16040 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16042         * emulation/crisp.el (crisp-mode-map): Move initialization
16043         into declaration.
16044         (crisp-mode): Use define-minor-mode.
16046         * progmodes/xscheme.el (xscheme-evaluation-commands):
16047         Put a :advertised-binding property rather than using
16048         advertised-xscheme-send-previous-expression.
16049         (advertised-xscheme-send-previous-expression): Declare obsolete.
16050         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
16051         `advertised-undo'.
16052         (crisp-mode): Add corresponding bindings to
16053         undo's :advertised-binding instead.
16054         * dired.el (dired-mode-map): Put a :advertised-binding property rather
16055         than using dired-advertised-find-file.
16056         (dired-advertised-find-file):
16057         * simple.el (advertised-undo):
16058         * wid-edit.el (advertised-widget-backward): Declare obsolete.
16059         (widget-keymap): Put a :advertised-binding property rather
16060         than using advertised-widget-backward.
16061         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
16062         than using advertised-undo.
16063         * tutorial.el (tutorial--default-keys): Adjust accordingly.
16065 2009-09-10  Simon South  <ssouth@slowcomputing.org>
16067         * progmodes/delphi.el (delphi-tab): Indent region when Transient
16068         Mark mode is enabled and region is active; otherwise indent or
16069         insert TAB as usual.
16070         (delphi-mode): Update description of TAB-key binding.
16072 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
16074         * subr.el (define-key-rebound-commands): Mark obsolete.
16075         * startup.el (precompute-menubar-bindings): Remove.
16076         (normal-top-level): Remove obsolete code that tried to precompute
16077         menubar bindings.
16078         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
16079         define-key-rebound-commands and precompute-menubar-bindings.
16081 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
16083         * net/imap.el (imap-interactive-login): Better messages.
16084         (imap-open): Fix bug with renamed buffer on reconnect.
16085         (imap-authenticate): Add buffer-local imap-last-authenticator variable
16086         for easier debugging and cleaner code.  On successful (guessed based on
16087         server capabilities) secondary authentication, set imap-state
16088         correctly.
16089         (imap-last-authenticator): Define imap-last-authenticator as a variable
16090         to avoid warnings.
16092 2009-09-10  Glenn Morris  <rgm@gnu.org>
16094         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
16096         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
16097         (byte-compile-file-form-autoload): Don't warn about unknown functions
16098         where the autoload statement comes after the use.
16099         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
16100         that any handlers inside the body (eg require) are in turn respected.
16102         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
16103         effects.
16105         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
16106         and syntax and abbrev tables basic docs, if they don't have any.
16108         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
16110         * international/mule-cmds.el (top-level): Require cl when compiling.
16111         (view-hello-file): Use default-value rather than
16112         default-enable-multibyte-characters.
16114         * progmodes/fortran.el: Move all safe and risky properties into the
16115         defcustoms.
16117         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
16118         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
16119         * mail/undigest.el:
16120         Put autoloads in rmail.el rather than loaddefs.el.
16121         * mail/rmail.el: Regenerate with extracted autoloads.
16123         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
16124         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
16126 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
16128         Reported in thread for Bug#4375.
16129         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
16130         "-data-evaluate-expression" instead of print.
16131         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
16132         (gdb-tooltip-print): Parse output from above MI command.
16133         (gdb): Revert 2009-08-11 change.  User should detach inferior
16134         manually.
16136         Remove the word "separate" from IO functions as inferior
16137         output is now never displayed in the GUD buffer.
16139 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
16141         * startup.el (command-line-normalize-file-name): On Windows and
16142         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
16144 2009-09-10  Juri Linkov  <juri@jurta.org>
16146         * isearch.el (isearch-text-char-description): Propertize escape
16147         character sequences with the `escape-glyph' face.  (Bug#4344)
16149         * simple.el (shell-command): Set asynchronous process filter to
16150         `comint-output-filter'.  (Bug#4343)
16152         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
16153         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
16154         the list.  Move "asm" to the bottom.
16155         (grep-find-ignored-directories): Add `choice' with nil value
16156         to empty the list easily.
16157         (grep-find-ignored-files): New option.
16158         (grep-files-history): Set to nil by default instead of '("ch" "el").
16159         (grep-compute-defaults): Add "<X>" to `grep-template'.
16160         (grep-read-files): Bind new local variables `default-alias' and
16161         `default-extension'.  Use a list of default values for the file prompt.
16162         (lgrep): Add `--exclude=' command line options composed from
16163         `grep-find-ignored-files'.
16164         (rgrep): Add `-name' command line options composed from
16165         `grep-find-ignored-files'.  (Bug#4301)
16167 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
16169         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
16170         (bug#4368).
16172 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
16174         * calendar/time-date.el (autoload):
16175         Expand define-obsolete-function-alias into defalias and make-obsolete
16176         for old Emacsen that Gnus supports.
16177         (with-no-warnings): Define it for old Emacsen.
16178         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
16179         is available.
16180         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
16181         float-time is available; suppress compile warning for time-to-seconds.
16183 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
16185         * net/imap.el (imap-message-map): Docstring fix.
16187 2009-09-09  Glenn Morris  <rgm@gnu.org>
16189         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
16190         line numbers too.  (Bug#4374)
16192 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16194         * smerge-mode.el (smerge-remove-props, smerge-refine):
16195         Use with-silent-modifications (bug#4342).
16197         * subr.el (with-silent-modifications): New macro.
16199 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
16201         * files.el (top-level): Require `cl' when compiling.
16203 2009-09-07  Glenn Morris  <rgm@gnu.org>
16205         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
16207         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
16208         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
16210 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
16212         * vc-git.el (vc-git-annotate-command): Use separator to parse
16213         arguments correctly.
16215 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
16217         * proced.el (proced-mode): Doc fix.
16219 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
16221         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
16222         lstat fails.
16223         (tramp-do-file-attributes-with-ls): Check for file existence at
16224         remote end.
16225         (tramp-do-file-attributes-with-stat): Likewise.
16226         (tramp-convert-file-attributes): Return nil when attr is nil.
16228 2009-09-05  Glenn Morris  <rgm@gnu.org>
16230         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
16231         properties to this button.
16232         (diary-fancy-display): Don't extend the button to the final newline.
16233         (diary-fancy-display-mode): Continue to define "q" as a local key.
16235         * calendar/cal-china.el (holiday-chinese): Make it slightly more
16236         efficient.
16238         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
16240         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
16241         (byte-compile-dest-file-function): New option.
16242         (byte-compile-dest-file): Doc fix.
16243         Obey byte-compile-dest-file-function.
16244         (byte-compile-cl-file-p): New function.
16245         (byte-compile-eval): Only suppress noruntime warnings about cl functions
16246         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
16247         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
16248         than for file being previously loaded.
16249         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
16250         (byte-compile-file-form-require): Handle the case where requiring a file
16251         indirectly causes CL to be loaded.
16253 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
16255         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
16256         before killing the old buffer, since by the time `kill-buffer' is
16257         run so many buffer variables have been set to nil that it may not
16258         behave as expected.  (Bug#4061)
16260 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
16262         * files.el (find-alternate-file): If the old buffer is modified
16263         and visiting a file, behave similarly to `kill-buffer' when
16264         killing it, thus reverting to the pre-1.878 behavior; see
16265         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
16266         for discussion.  Also, consult `buffer-file-name' as a variable
16267         not as a function, for consistency with the rest of the code.
16269 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
16271         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
16272         also when adding a new directory.
16274         * net/tramp-compat.el (tramp-compat-line-beginning-position):
16275         New defun.
16277 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16279         * files.el (locate-file-completion-table): Make it provide boundary
16280         information, so partial-completion works better.
16282 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
16284         * mail/footnote.el (Footnote-text-under-cursor):
16285         Check footnote-text-marker-alist before using it (bug#4324).
16287 2009-09-04  Glenn Morris  <rgm@gnu.org>
16289         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
16290         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
16291         * play/solitaire.el, play/tetris.el:
16292         Remove leading * from defcustom and defface docs.
16294         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
16295         necessary.
16296         (diary-fancy-overriding-map): New variable.
16297         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
16298         Use view-mode.
16300         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
16301         goto-line.
16303 2009-09-03  Glenn Morris  <rgm@gnu.org>
16305         * arc-mode.el (archive-mode):
16306         * dos-fns.el (set-default-process-coding-system):
16307         * man.el (Man-getpage-in-background):
16308         * menu-bar.el (menu-bar-describe-menu):
16309         * server.el (server-process-filter):
16310         * startup.el (command-line):
16311         * tar-mode.el (tar-header-block-tokenize, tar-extract):
16312         * w32-fns.el (set-default-process-coding-system):
16313         * x-dnd.el (x-dnd-handle-file-name):
16314         * international/mule-cmds.el (mule-menu-keymap)
16315         (set-default-coding-systems, language-info-alist, set-language-info)
16316         (set-language-environment, standard-display-european-internal)
16317         (set-locale-environment):
16318         * international/mule-diag.el (mule-diag):
16319         * mail/emacsbug.el (report-emacs-bug):
16320         * mail/rmail.el (rmail-mode):
16321         * mail/sendmail.el (mail-setup):
16322         Use default-value rather than default-enable-multibyte-characters.
16324         * progmodes/f90.el: Move all safe properties into the defcustoms.
16325         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
16327         * calendar/appt.el (appt-check):
16328         * calendar/diary-lib.el (diary-set-header, diary-live-p)
16329         (diary-check-diary-file, diary-list-entries)
16330         (diary-include-other-diary-files, diary-simple-display)
16331         (diary-fancy-display, diary-print-entries)
16332         (diary-mark-included-diary-files, diary-make-entry):
16333         Don't call substitute-in-file-name on diary-file.
16335 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
16336             Stefan Monnier  <monnier@iro.umontreal.ca>
16338         * mail/footnote.el (footnote-prefix): Make it a defcustom.
16339         (footnote-mode-map): Move initialization into the declaration.
16340         (footnote-minor-mode-map): Define it rather than changing global-map.
16341         (footnote-mode): Use define-minor-mode.
16343 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
16345         * net/tramp.el (tramp-handle-file-attributes-with-ls)
16346         (tramp-do-file-attributes-with-perl)
16347         (tramp-do-file-attributes-with-stat): Rename from
16348         `tramp-handle-file-attributes-with-*'.
16349         (tramp-handle-file-attributes): Use them.
16350         (tramp-do-directory-files-and-attributes-with-perl)
16351         (tramp-do-directory-files-and-attributes-with-stat): Rename from
16352         `tramp-handle-directory-files-and-attributes-with-*'.
16353         (tramp-handle-directory-files-and-attributes): Use them.
16354         (tramp-method-out-of-band-p): Additional parameter SIZE.
16355         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
16356         (tramp-handle-write-region): Use it.
16357         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
16358         (tramp-handle-vc-registered): Check, whether the first run did
16359         return files to be tested.
16360         (tramp-advice-make-auto-save-file-name): Do not call directly
16361         `tramp-handle-make-auto-save-file-name', because this would bypass
16362         the locking mechanism.
16364         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
16365         (file-remote-p, process-file, start-file-process, set-file-times)
16366         (tramp-compat-file-attributes): Compatibility functions shall not
16367         call directly `tramp-handle-*', because this would bypass the
16368         locking mechanism.
16369         (tramp-compat-number-sequence): New defun.
16371 2009-09-02  Glenn Morris  <rgm@gnu.org>
16373         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
16374         alias for float-time.
16375         (time-to-number-of-days): In Emacs, use float-time.
16376         * net/newst-backend.el (time-add): Suppress warnings from compat
16377         function.
16378         * time.el (emacs-uptime, emacs-init-time):
16379         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
16380         Use float-time rather than time-to-seconds.
16382         * minibuffer.el (completion-initials-expand): Fix typo.
16384         * faces.el (modeline, modeline-inactive, modeline-highlight)
16385         (modeline-buffer-id):
16386         * info.el (info-menu-5): Mark these face aliases as obsolete.
16388 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
16390         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
16391         space ...
16392         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
16393         no "--thread" option.
16394         (gdb-stopped): Don't print "Switched to thread" message when it is
16395         unchanged.
16397 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16399         * minibuffer.el (completion-try-completion)
16400         (completion-all-completions): Remove ill-defined (and
16401         mistakenly installed and luckily never used nor documented)
16402         `completion-styles' property.
16403         (completion-initials-expand, completion-initials-all-completions)
16404         (completion-initials-try-completion): New functions.
16405         (completion-styles-alist): Add doc to each entry.
16406         Add new `initials' entry.
16408 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
16410         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
16411         MI command -var-evaluate-expression.
16412         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
16413         and tweak for case of string child.
16414         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
16416 2009-09-01  Glenn Morris  <rgm@gnu.org>
16418         * add-log.el (change-log-date-face, change-log-name-face)
16419         (change-log-email-face, change-log-file-face, change-log-list-face)
16420         (change-log-conditionals-face, change-log-function-face)
16421         (change-log-acknowledgement-face):
16422         * cus-edit.el (custom-invalid-face, custom-rogue-face)
16423         (custom-modified-face, custom-set-face, custom-changed-face)
16424         (custom-saved-face, custom-button-face, custom-button-pressed-face)
16425         (custom-documentation-face, custom-state-face, custom-comment-face)
16426         (custom-comment-tag-face, custom-variable-tag-face)
16427         (custom-variable-button-face, custom-face-tag-face)
16428         (custom-group-tag-face-1, custom-group-tag-face):
16429         * diff-mode.el (diff-header-face, diff-file-header-face)
16430         (diff-index-face, diff-hunk-header-face, diff-removed-face)
16431         (diff-added-face, diff-changed-face, diff-function-face)
16432         (diff-context-face, diff-nonexistent-face):
16433         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
16434         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
16435         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
16436         (Info-title-4-face):
16437         * isearch.el (isearch-lazy-highlight-face):
16438         * log-view.el (log-view-file-face, log-view-message-face):
16439         * paren.el (show-paren-match-face, show-paren-mismatch-face):
16440         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
16441         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
16442         (cvs-msg-face):
16443         * smerge-mode.el (smerge-mine-face, smerge-other-face)
16444         (smerge-base-face, smerge-markers-face):
16445         * wid-edit.el (widget-documentation-face, widget-button-face)
16446         (widget-field-face, widget-single-line-field-face)
16447         (widget-inactive-face, widget-button-pressed-face):
16448         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
16449         (woman-addition-face):
16450         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
16451         (eshell-ls-executable-face, eshell-ls-readonly-face)
16452         (eshell-ls-unreadable-face, eshell-ls-special-face)
16453         (eshell-ls-missing-face, eshell-ls-archive-face)
16454         (eshell-ls-backup-face, eshell-ls-product-face)
16455         (eshell-ls-clutter-face):
16456         * eshell/em-prompt.el (eshell-prompt-face):
16457         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
16458         * obsolete/old-whitespace.el (whitespace-highlight-face):
16459         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
16460         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
16461         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
16462         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
16463         (antlr-font-lock-literal-face):
16464         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
16465         (ebrowse-root-class-face, ebrowse-file-name-face)
16466         (ebrowse-default-face, ebrowse-member-attribute-face)
16467         (ebrowse-member-class-face, ebrowse-progress-face):
16468         * progmodes/make-mode.el (makefile-space-face):
16469         * progmodes/sh-script.el (sh-heredoc-face):
16470         * textmodes/flyspell.el (flyspell-incorrect-face)
16471         (flyspell-duplicate-face):
16472         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
16473         * textmodes/texinfo.el (texinfo-heading-face):
16474         Mark face aliases with "-face" suffix as obsolete.
16476         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
16477         compiler.
16479         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
16480         (eudc-bob-sound-menu): Use defvar rather than defconst, since
16481         easy-menu-define wants to modify these.
16483         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
16485         * net/browse-url.el (browse-url-file-url):
16486         * term/internal.el (dos-codepage-setup):
16487         Use default-value rather than default-enable-multibyte-characters.
16489         * progmodes/etags.el (etags-goto-tag-location):
16490         * progmodes/flymake.el (flymake-highlight-line)
16491         (flymake-goto-file-and-line, flymake-goto-line):
16492         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
16493         (gdb-goto-breakpoint):
16494         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
16495         * progmodes/python.el (python-find-function)
16496         (python-pdbtrack-track-stack-file):
16497         * progmodes/verilog-mode.el (verilog-surelint-off):
16498         * term/ns-win.el (ns-open-file-select-line):
16499         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
16500         Use forward-line rather than goto-line.
16502         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
16503         * textmodes/reftex-index.el (reftex-display-index):
16504         * textmodes/reftex-ref.el (reftex-offer-label-menu):
16505         * textmodes/reftex-toc.el (reftex-toc):
16506         Remove unnecessary bindings of default-major-mode (all are followed by
16507         major-mode check and possible mode switch).
16509 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
16511         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16512         Handle watchpoints (bug#4282).
16513         (def-gdb-thread-buffer-command): Enable thread to be selected by
16514         clicking without selecting threads buffer first.
16515         (gdb-current-context-command): Use selected frame so that "up",
16516         "down" etc work in the GUD buffer.
16517         (gdb-update): Find selected frame before rendering stack buffer.
16518         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
16520 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16522         * progmodes/sym-comp.el (displayed-completions): Remove.
16523         (symbol-complete): Use minibuffer-complete.
16525 2009-08-31  Glenn Morris  <rgm@gnu.org>
16527         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
16529         * apropos.el (apropos-symbols-internal):
16530         Handle (obsolete) face aliases.
16532         * faces.el (describe-face): Adjust the output format to be more like
16533         describe-variable, and to mention (obsolete) face aliases.
16534         Adjust the whitespace so that help-setup-xref works.
16536         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
16537         * calendar/diary-lib.el (diary-button-face):
16538         Mark these face aliases as obsolete.
16540         * calendar/calendar.el (calendar-today): Doc fix.
16542 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
16544         * progmodes/gdb-mi.el (gdb-control-all-threads)
16545         (gdb-control-current-thread): Force tool bar update.
16546         (gdb-non-stop-handler): New function.
16547         (gdb-init-1): Use it to test if non-stop mode is supported.
16548         Remove unused gdbmi buffer type.
16550 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
16552         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
16553         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
16555 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
16557         * comint.el (comint-exec-1): Check command is non-null first.
16558         Part of gdb-mi.el change (2009-08-28).
16560 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16562         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
16564 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
16566         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
16567         instead of `dolist' to avoid a recursive require when bootstrapping.
16569 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
16571         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
16573         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
16575         * net/imap.el (imap-send-command): Simplify.
16576         (imap-wait-for-tag): point-max -> buffer-size.
16578         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
16580         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
16581         with constant argument.
16583         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
16585         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
16587         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
16588         Change default, since most of our files don't have a history.
16589         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
16590         the user.
16592         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
16593         Add comint-run.
16595         * calc/calc.el: Improve commenting convention.
16596         (calc-digit-map, toplevel): Simplify.
16598         * comint.el (comint-insert-input): Be careful to only set point if we
16599         don't delegate to some other command.
16601         * proced.el (proced-signal-list): Make it an alist.
16602         (proced-grammar-alist): Capitalize names.
16603         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
16604         Disable undo manually and make it read-only.
16605         Use completion-annotate-function.
16607         * minibuffer.el (minibuffer-message): If the current buffer is not
16608         a minibuffer, insert the message in the echo area rather than at the
16609         end of the buffer.
16610         (completion-annotate-function): New variable.
16611         (minibuffer-completion-help): Use it.
16612         (completion--embedded-envvar-table): Environment vars are
16613         always case-sensitive.
16615 2009-08-30  Glenn Morris  <rgm@gnu.org>
16617         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
16618         from fortran-current-defun.
16619         (fortran-beginning-of-subprogram): Be more precise about finding the
16620         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
16621         (fortran-end-of-subprogram): Simplify.
16622         (fortran-current-defun): Use fortran-start-prog-re.
16624 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
16626         * subr.el (do-after-load-evaluation): Simplify.
16628 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
16630         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
16632         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
16633         (vc-rcs-print-log): Use it.
16635         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
16637 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
16639         * paths.el (abbrev-file-name): Move to abbrev.el.
16640         * abbrev.el (abbrev-file-name): Move from paths.el.
16641         Obey user-emacs-directory.
16642         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
16643         user-emacs-directory.
16644         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
16645         abbrev-file-name and calc-settings-file any more.
16646         * startup.el (command-line): Recompute abbrev-file-name and
16647         abbreviated-home-dir.
16648         (normal-no-mouse-startup-screen): Improve the generic code and get rid
16649         of the special code for when C-h bindings haven't been changed.
16650         (display-startup-echo-area-message): Use with-current-buffer.
16651         (command-line-1): Use a list of strings, rather than a list of lists
16652         of strings for longopts.
16654         * files.el (get-free-disk-space): Use / for default-directory.
16656         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
16657         Use with-current-buffer.
16659         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
16660         Recognize immutable variables like most-positive-fixnum.
16661         (byte-compile-setq-default): Check and warn if trying to assign
16662         to an immutable variable, or a non-variable.
16664         * progmodes/cc-vars.el (c-comment-continuation-stars):
16665         * progmodes/cc-engine.el (c-looking-at-bos):
16666         * progmodes/cc-cmds.el (c-toggle-auto-state)
16667         (c-forward-into-nomenclature, c-backward-into-nomenclature)
16668         (c-comment-line-break-function): Add version of obsolescence.
16670 2009-08-28  Juri Linkov  <juri@jurta.org>
16672         * files.el (magic-fallback-mode-alist): Add ZIP magic number
16673         associated with `archive-mode'.
16675         * image.el (image-type-header-regexps): Use only JPEG magic number
16676         to determine JPEG images, and don't use `image-jpeg-p' because
16677         Emacs can display non-JFIF non-Exif JPEG images.
16679 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
16681         * arc-mode.el (archive-mode):
16682         * emacs-lisp/re-builder.el (re-builder-unload-function):
16683         Protect against the default value of `major-mode' being nil.
16685 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
16687         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
16688         Fix typos in docstrings.
16690         * progmodes/js.el (js--macro-decl-re): Doc fix.
16691         (js--plain-method-re, js--split-name): Refloc docstring.
16692         (js--class-styles, js--make-merged-item, js--splice-into-items):
16693         Fix typos in docstrings; reflow docstrings.
16694         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
16695         (js--variable-decl-matcher, js--inside-pitem-p)
16696         (js--parse-state-at-point, js--get-all-known-symbols)
16697         (js--symbol-history, js-find-symbol, js--js-references)
16698         (js--moz-interactor, js--js-encode-value, js--read-tab):
16699         Fix typos in docstrings.
16701 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16703         * textmodes/reftex.el (reftex-get-file-buffer-force):
16704         * progmodes/verilog-mode.el (verilog-batch-execute-func):
16705         * emulation/viper.el (viper-go-away, viper-set-hooks):
16706         * emacs-lisp/re-builder.el (re-builder-unload-function):
16707         * emacs-lisp/bytecomp.el (byte-compile-file):
16708         * ses.el (ses-unload-function):
16709         * hexl.el (hexl-find-file):
16710         * files.el (normal-mode):
16711         * ehelp.el (with-electric-help):
16712         * autoinsert.el (auto-insert-alist):
16713         * arc-mode.el (archive-mode):
16714         Use (default-value 'major-mode) instead of default-major-mode.
16716         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
16717         * international/mule.el (load-with-code-conversion):
16718         * emacs-lisp/debug.el (debug):
16719         * ediff-vers.el (ediff-rcs-get-output-buffer):
16720         * dired.el (dired-internal-noselect): Don't let-bind
16721         default-major-mode around code that doesn't use it.
16722         E.g. buffer creation via get-buffer-create doesn't use it.
16724 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
16726         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
16727         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
16728         when writing the temp file.  Otherwise, epa-file gets confused.
16729         (tramp-register-file-name-handlers): Make it a defun.  Move also
16730         `epa-file-handler' to the front of `file-name-handler-alist'.
16732 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16734         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
16735         start right after a ^M.
16736         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
16737         (tramp-completion-file-name-regexp-separate)
16738         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
16739         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
16740         Don't modify last-coding-system-used by accident.
16741         (tramp-completion-file-name-handler): Apply the checks here,
16742         instead during registration.
16743         (tramp-register-file-name-handlers): Renamed from
16744         `tramp-register-file-name-handler'.  Register both
16745         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
16746         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
16748 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
16750         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
16751         Remove variable ...
16752         (gdb-init-1, gdb-display-separate-io-buffer)
16753         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
16754         references to it.
16755         (gdb-inferior-io-mode): Use make-comint-in-buffer.
16756         (gdb-inferior-filter): Use comint-output-filter to stop
16757         echoing and remove ^M characters.
16759 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
16761         * emulation/viper-init.el (viper-restore-cursor-type):
16762         * emulation/cua-base.el (cua--update-indications):
16763         Replace default-cursor-type with (default-value 'cursor-type).
16765         * mail/sendmail.el (mail-recover-1):
16766         * international/mule-diag.el (describe-current-coding-system-briefly)
16767         (describe-current-coding-system):
16768         * international/mule-cmds.el (select-safe-coding-system)
16769         (select-message-coding-system)
16770         (set-language-environment-coding-systems, set-locale-environment):
16771         * hexl.el (hexl-insert-multibyte-char):
16772         * dos-w32.el (find-buffer-file-type-coding-system):
16773         * simple.el (what-cursor-position):
16774         Replace uses of default-buffer-file-coding-system
16775         with (default-value 'buffer-file-coding-system).
16777         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
16778         Replace uses of default-cursor-in-non-selected-windows
16779         with (default-value 'cursor-in-non-selected-windows).
16780         Use with-current-buffer.
16782         * mail/feedmail.el: Use CL macros.
16783         (feedmail-run-the-queue, feedmail-send-it-immediately):
16784         * dos-w32.el (find-buffer-file-type): Replace uses of
16785         default-buffer-file-type with (default-value 'buffer-file-type).
16787 2009-08-28  Glenn Morris  <rgm@gnu.org>
16789         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
16790         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
16791         Use default-value of major-mode rather than default-major-mode.
16793 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16795         * Makefile.in (update-elcfiles): Report left over elc files.
16797         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
16798         expand-file-name and with-current-buffer.
16799         (mail-get-names, mail-directory): Use with-current-buffer.
16801         * vc.el (vc-read-revision): New function.
16802         (vc-version-diff, vc-merge): Use it.
16804 2009-08-27  Sam Steingold  <sds@gnu.org>
16806         * simple.el (kill-do-not-save-duplicates): New user option.
16807         (kill-new): When it is non-nil, and the new string is the same as
16808         the latest kill, set replace to t to avoid duplicates in kill-ring.
16810 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
16812         * net/tramp.el (tramp-handle-process-file): Do not flush all
16813         caches when `process-file-side-effects' is set.
16814         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
16815         instead of `tramp-find-file-exists-command'.
16816         Unset `process-file-side-effects'.
16818 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
16820         * net/tramp.el (tramp-methods): New method "rsyncc".
16821         (top): Add completion function for "rsyncc".
16822         (tramp-message-show-message): New defvar.
16823         (tramp-message, tramp-error): Use it.
16824         (tramp-do-copy-or-rename-file-directly): Extend check for direct
16825         remote copying.
16826         (tramp-do-copy-or-rename-file-out-of-band): Handle new
16827         `tramp-methods' entry `copy-env' of "rsyncc".
16828         (tramp-vc-registered-read-file-names): New defconst.
16829         (tramp-vc-registered-file-names): New defvar.
16830         (tramp-handle-vc-registered): Implement optimization strategy.
16831         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
16832         (tramp-vc-file-name-handler): New defun.
16833         (tramp-get-ls-command, tramp-get-test-command)
16834         (tramp-get-file-exists-command, tramp-get-remote-ln)
16835         (tramp-get-remote-perl, tramp-get-remote-stat)
16836         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
16838         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
16839         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
16840         timestamps.
16841         (tramp-get-file-property): Check for timestamps in
16842         `tramp-cache-inhibit-cache'.
16843         (tramp-set-file-property): Write timestamp.
16845 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
16847         * language/japan-util.el (japanese-symbol-table): Add entries for
16848         cp932-2-byte.
16850         * international/characters.el: Add category `j' to cp932-2-byte.
16852 2009-08-27  Kenichi Handa  <handa@m17n.org>
16854         * international/fontset.el (build-default-fontset-data): New macro.
16855         (setup-default-fontset): Use build-default-fontset-data for CJK,
16856         tibetan, ethiopic, and ipa.
16858 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
16860         * cus-start.el (default-major-mode): Customize `major-mode' instead.
16861         (enable-multibyte-characters): Not customizable any more.
16863         * subr.el (default-mode-line-format, default-header-line-format)
16864         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
16865         (default-direction-reversed, default-truncate-lines)
16866         (default-left-margin, default-tab-width, default-case-fold-search)
16867         (default-left-margin-width, default-right-margin-width)
16868         (default-left-fringe-width, default-right-fringe-width)
16869         (default-fringes-outside-margins, default-scroll-bar-width)
16870         (default-vertical-scroll-bar, default-indicate-empty-lines)
16871         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
16872         (default-fringe-cursor-alist, default-scroll-up-aggressively)
16873         (default-scroll-down-aggressively, default-fill-column)
16874         (default-cursor-type, default-buffer-file-type)
16875         (default-cursor-in-non-selected-windows)
16876         (default-buffer-file-coding-system, default-major-mode)
16877         (default-enable-multibyte-characters): Mark as obsolete.
16879 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
16881         * vc-dir.el (vc-dir-update): Remove debug helper.
16883         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
16885 2009-08-26  Sam Steingold  <sds@gnu.org>
16887         * simple.el (save-interprogram-paste-before-kill): New user option.
16888         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
16889         save the interprogram-paste into kill-ring before overriding it
16890         with the Emacs kill.
16892 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
16894         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
16895         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
16896         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
16897         and move to vc-rcs.el.
16898         (vc-default-next-revision): Rename to vc-rcs-next-revision and
16899         move to vc-rcs.el.
16900         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
16901         (vc-rcs-update-changelog): Remove.
16902         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
16903         and move to vc-rcs.el.
16905         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
16906         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
16907         renaming.
16908         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
16909         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
16910         vc.el, renamed to be RCS specific.
16912         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
16913         New functions.
16914         (vc-cvs-update-changelog): Move here from vc.el.
16916         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
16917         New functions.
16919 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
16921         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
16923 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
16925         * vc-git.el (vc-git-register): Use "git add" for directories.
16926         (vc-git-stash, vc-git-stash-show): New functions.
16927         (vc-git-extra-menu-map): Bind them.
16929         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
16930         directory correctly in case the item is a directory itself.
16932         * vc.el: Document the desired behavior for reverted files in the
16933         `added' state.
16934         (vc-default-prettify-state-info): Remove function, unused.
16936         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
16938 2009-08-26  Glenn Morris  <rgm@gnu.org>
16940         * bindings.el (standard-mode-line-format): Reposition dashes in
16941         which-func entry.  (Bug#4217)
16943         * files.el (enable-local-variables, enable-local-eval)
16944         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
16945         the defcustoms.
16946         (auto-mode-alist, ignored-local-variables)
16947         (save-some-buffers-action-alist): Move risky declarations to the
16948         definitions.
16949         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
16950         (font-lock-defaults, format-alist, imenu--index-alist)
16951         (imenu-generic-expression, input-method-alist, minor-mode-alist)
16952         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
16953         (mode-line-modified, mode-line-mule-info, mode-line-position)
16954         (mode-line-process, mode-line-remote, outline-level)
16955         (parse-time-rules, rmail-output-file-alist)
16956         (special-display-buffer-names, vc-mode):
16957         Move risky declarations to the relevant files.
16958         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
16959         (mode-line-modified, mode-line-process, mode-line-position)
16960         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
16961         * font-core.el (font-lock-defaults):
16962         * format.el (format-alist):
16963         * vc-hooks.el (vc-mode):
16964         * window.el (special-display-buffer-names):
16965         * international/mule-cmds.el (input-method-alist):
16966         Define riskiness here (dumped file) rather than in files.el.
16967         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
16968         * imenu.el (imenu-generic-expression, imenu--index-alist):
16969         * outline.el (outline-level):
16970         * time.el (display-time-string):
16971         * calendar/parse-time.el (parse-time-rules):
16972         * mail/rmailout.el (rmail-output-file-alist):
16973         Autoload riskiness here, rather than placing in files.el.
16975 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
16977         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
16979 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
16981         * simple.el (process-file-side-effects): New defvar.
16983         * dired-aux.el (dired-show-file-type):
16984         * vc.el (vc-diff-internal):
16985         * vc-arch.el (vc-arch-diff):
16986         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
16987         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
16988         * vc-git.el (vc-git-registered, vc-git-working-revision)
16989         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
16990         (vc-git--empty-db-p):
16991         * vc-hooks.el (vc-user-login-name):
16992         * vc-svn.el (vc-svn-registered, vc-svn-state)
16993         (vc-svn-dir-extra-headers, vc-svn-find-revision):
16994         * progmodes/grep.el (grep-probe): Let-bind
16995         `process-file-side-effects' with nil.
16997         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
16999         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
17000         daemon.  Replace ping by checking for running service for bluez
17001         and zeroconf.  (Bug#4239)
17003 2009-08-25  Kevin Ryde  <user42@zip.com.au>
17005         * net/dig.el (dig): Add autoload cookie.
17007 2009-08-25  Glenn Morris  <rgm@gnu.org>
17009         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
17010         load-history for absolute file-names.
17011         (byte-compile-file-form-require): Warn about use of the cl package.
17013         * format.el (format-alist): Doc fix.
17015         * play/bubbles.el (top-level): Don't require cl at run-time.
17017         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
17018         run-time cl).
17020 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
17022         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
17023         from cl package.
17024         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
17026 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
17028         * calc/calc-alg.el (math-trig-rewrite)
17029         (math-hyperbolic-trig-rewrite): New functions.
17030         (calc-simplify): Simplify trig functions when asked.
17032 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17034         * diff-mode.el (diff-find-source-location): Avoid goto-line.
17036 2009-08-24  Kenichi Handa  <handa@m17n.org>
17038         * language/ind-util.el (mapthread): Delete it.
17039         (combinatorial): New function.
17040         (indian--puthash-cv): Use combinatorial instead of mapthread.
17042 2009-08-22  Kevin Ryde  <user42@zip.com.au>
17044         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
17045         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
17046         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
17047         Clarify docstring that the value is strings not symbols.
17048         (checkdoc-list-of-strings-p): New function.
17050 2009-08-22  Glenn Morris  <rgm@gnu.org>
17052         * files.el (auto-mode-alist):
17053         * hippie-exp.el (he-concat-directory-file-name):
17054         * lpr.el (lpr-windows-system, printer-name):
17055         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
17056         * ps-print.el (ps-windows-system):
17057         * startup.el (command-line):
17058         * emulation/viper-ex.el (viper-glob-function):
17059         * international/mule-cmds.el (set-language-environment-coding-systems):
17060         * net/ange-ftp.el (ange-ftp-write-region):
17061         * obsolete/fast-lock.el (fast-lock-cache-name):
17062         Remove code for defunct system-types emx, macos, mswindows, next-mach,
17063         unisoft-unix, vax-vms, win32, w32.
17065         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
17066         given name if the pattern is not more specific.
17068         * calendar/lunar.el (lunar-phase-names): New option.
17069         (lunar-phase): Doc fix.
17070         (lunar-cycles-per-year): New constant.
17071         (lunar-index): New function.
17072         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
17073         (lunar-phase-name): Use lunar-phase-names.
17074         (calendar-lunar-phases): Use format.
17075         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
17077         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
17078         Copy imenu-example--name-and-position function here for own use.
17079         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
17081         * bs.el (bs--redisplay):
17082         * cus-edit.el (custom-redraw):
17083         * ibuffer.el (ibuffer-bury-buffer):
17084         * server.el (server-goto-line-column):
17085         * startup.el (command-line-1):
17086         * strokes.el (strokes-xpm-for-stroke):
17087         * term.el (term-display-buffer-line):
17088         * view.el (View-goto-line):
17089         * calc/calc.el (calc-do, calc-trail-buffer):
17090         * play/gamegrid.el (gamegrid-add-score-insecure):
17091         * progmodes/ada-mode.el (ada-compile-goto-error):
17092         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
17093         (ebrowse-select-1st-to-9nth):
17094         * progmodes/cperl-mode.el (cperl-time-fontification):
17095         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
17096         * progmodes/gud.el (gud-display-line):
17097         (idlwave-shell-display-line):
17098         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
17099         * progmodes/make-mode.el (makefile-browser-toggle):
17100         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
17101         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
17102         * textmodes/picture.el (picture-draw-rectangle):
17103         * textmodes/reftex-index.el (reftex-index-goto-letter):
17104         (reftex-select-jump-to-previous):
17105         * textmodes/reftex-sel.el (reftex-find-start-point)
17106         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
17107         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
17108         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
17109         * textmodes/tex-mode.el (tex-compilation-parse-errors):
17110         * textmodes/two-column.el (2C-associated-buffer):
17111         Use forward-line rather than goto-line.
17113         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
17114         goto-line.
17116         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
17117         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
17118         (quick-check-list-to-regexp): Declare.
17120         * progmodes/make-mode.el (makefile-browser-insert-selection):
17121         Use goto-char rather than goto-line.
17123         * progmodes/prolog.el (compilation-error-regexp-alist)
17124         (compilation-forget-errors): Declare.
17126 2009-08-22  Juri Linkov  <juri@jurta.org>
17128         * progmodes/grep.el (lgrep, rgrep): At the beginning
17129         set `dir' to `default-directory' unless `dir' is a non-nil
17130         readable directory.  (Bug#4052)
17131         (lgrep, rgrep): Change a weird way to report an error
17132         from using `read-string' to using `error'.
17133         Instead of using interactive arguments in the function body,
17134         add new argument `confirm'.
17136 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17138         * textmodes/remember.el (remember-buffer):
17139         * progmodes/cperl-mode.el (cperl-vc-header-alist):
17140         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
17141         (icalendar-extract-ical-from-buffer):
17142         * net/newst-treeview.el (newsticker-groups-filename):
17143         * net/newst-backend.el (newsticker-cache-filename):
17144         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
17145         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
17146         (speedbar-add-ignored-path-regexp, speedbar-line-path)
17147         (speedbar-buffers-line-path, speedbar-path-line)
17148         (speedbar-buffers-line-path):
17149         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
17150         (epg-sign-keys):
17151         * epa.el (epa-display-verify-result):
17152         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
17154 2009-08-21  Glenn Morris  <rgm@gnu.org>
17156         * progmodes/js.el (inferior-moz-process): Fix declaration.
17158         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
17160         * obsolete/rnewspost.el (news-mail-reply):
17161         Use goto-char rather than goto-line.
17163         * term/ns-win.el (ns-open-file-select-line):
17164         Use line-beginning-position rather than goto-line.
17166         * apropos.el (apropos-command):
17167         * ehelp.el (electric-helpify):
17168         * printing.el (pr-show-setup):
17169         * strokes.el (strokes-help):
17170         * tutorial.el (tutorial--describe-nonstandard-key)
17171         (tutorial--detailed-help):
17172         * woman.el (woman-mini-help, woman-display-extended-fonts):
17173         * calc/calc-help.el (calc-describe-key):
17174         * emulation/edt.el (edt-electric-helpify):
17175         * international/mule-diag.el (mule-diag):
17176         * play/yow.el (apropos-zippy):
17177         * progmodes/python.el (python-describe-symbol):
17178         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
17179         * textmodes/table.el (*table--cell-describe-mode)
17180         (*table--cell-describe-bindings):
17181         Use help-print-return-message rather than the now obsolete alias.
17183         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
17184         (calendar-cursor-to-visible-date):
17185         * play/5x5.el (5x5-position-cursor):
17186         * play/decipher.el (decipher):
17187         * play/gomoku.el (gomoku-goto-xy):
17188         * play/landmark.el (lm-goto-xy):
17189         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
17190         (mpuz-paint-digit):
17191         Use forward-line, not goto-line.
17193         * mail/rmail.el (rmail-obsolete): Delete custom group.
17194         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
17195         (rmail-remote-password, rmail-remote-password-required):
17196         Remove unneeded :set-after and :set properties.
17198 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
17200         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
17202 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
17204         * loadup.el: Remove leftover macos code.
17206         * vc-git.el (vc-git-annotate-command): Run asynchronously.
17207         Explicitly pass the date format to git blame so that user local
17208         so that the output format can be parsed.
17210 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
17212         * net/dbus.el (top): Don't check for (getenv
17213         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
17215 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
17217         * log-edit.el (log-edit-strip-single-file-name): New var.
17218         (log-edit-insert-changelog): Use it.  Bug#3571
17220 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17222         * subr.el (read-passwd): Use read-key so keypad keys work as well.
17223         Bug#3287
17225         * help.el (help-print-return-message): Rename from
17226         print-help-return-message.
17228         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
17229         cvs-mode-map parent hack.
17230         (log-view-mode): Derive from special-mode.
17232         * linum.el (linum-mode): window-size-change-functions is redundant.
17233         Adapt to new window-configuration-change-hook behavior.
17234         (linum-after-size, linum-after-config): Remove.
17236         * imenu.el (imenu-example--name-and-position)
17237         (imenu-example--lisp-extract-index-name)
17238         (imenu-example--create-lisp-index, imenu-example--create-c-index):
17239         Mark as obsolete.
17241         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
17242         (inferior-prolog-mode): Use it.
17243         (inferior-prolog-load-file): Reset list of errors.
17245 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
17247         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
17249         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
17251 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
17253         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
17254         is running already.
17256 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17258         * subr.el (listify-key-sequence-1): Use normal syntax since those
17259         integers are nowadays always represented by the same (positive) number
17260         on all platforms.
17261         (read-key-empty-map): New const.
17262         (read-key-delay): New var.
17263         (read-key): New function.
17264         (force-mode-line-update): Use with-current-buffer.
17265         (locate-user-emacs-file): Don't forget to abbreviate the file name.
17266         (start-process-shell-command, start-file-process-shell-command):
17267         Discourage the use of command-args.
17269 2009-08-19  Glenn Morris  <rgm@gnu.org>
17271         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
17273 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17275         * simple.el (choose-completion-string): Don't rely on
17276         minibuffer-completing-file-name and ad-hoc checks to decide whether
17277         to continue completion or not.
17279         * minibuffer.el (minibuffer-hide-completions): New function.
17280         (completion--do-completion): Use it.
17281         (completions-annotations): New face.
17282         (completion--insert-strings): Use it.
17283         (completion-pcm--delim-wild-regex): Add docstring.
17284         (completion-pcm--string->pattern): Add support for 0-width delimiters
17285         in completion-pcm--delim-wild-regex.
17287 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17289         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
17290         Remove unused var `buffer-modified-p'.
17292         * minibuffer.el (completion--do-completion): Move point for the #b001
17293         case as well (bug#4176).
17294         (minibuffer-complete, minibuffer-complete-word): Don't move point.
17296 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
17298         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
17299         and :session buses.
17301 2009-08-18  Kenichi Handa  <handa@m17n.org>
17303         * international/ucs-normalize.el (ucs-normalize-version):
17304         Change to 1.1.
17305         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
17306         (utf-8-hfs): Make it perform normalization on encoding too.
17308         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
17309         (sentence-end-without-space): Delete duplicated chars.
17310         (sentence-end-base): Likewise.
17312         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
17313         (html-mode): Delete duplicated chars from sentence-end-base.
17315         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
17316         (texinfo-mode): Delete duplicated chars from sentence-end-base.
17318 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
17320         * files.el (hack-one-local-variable): If the mode function is for
17321         a minor mode, pass it an argument (Bug#4148).
17323 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
17325         * net/tramp.el (tramp-register-completion-file-name-handler):
17326         Check also for (member 'partial-completion completion-styles).
17328 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
17330         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
17331         abbrev (Bug#3943).
17333 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
17335         * progmodes/cperl-mode.el: Merge upstream 6.2.
17336         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
17337         (cperl-forward-re): Check cperl-brace-recursing.
17338         (cperl-highlight-charclass): New function.
17339         (cperl-find-pods-heres): Use it.
17340         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
17341         (cperl-beautify-regexp-piece): Fix column calculation.
17342         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
17343         (cperl-beautify-level): Don't process entire regexp.
17344         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
17345         calling man.
17346         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
17347         (cperl-init-faces): Build a list in the normal way.
17349 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
17351         * calendar/parse-time.el (parse-time-string-chars): Save match
17352         data.
17354 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17356         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
17357         (sql-product): Use it.
17358         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
17359         (sql-set-product): Add completion.
17360         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
17361         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
17362         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
17363         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
17364         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
17365         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
17366         (sql-highlight-db2-keywords): Remove.
17367         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
17368         (sql-highlight-product): Use derived-mode-p.
17369         (sql-set-sqli-buffer): Use with-current-buffer.
17370         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
17371         Simplify.
17373         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
17375         * term.el: Fix commenting convention, turn comments into docstrings.
17377 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
17379         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
17381 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
17383         * calendar/parse-time.el (parse-time-string-chars): Compute using
17384         character classes, to handle non-ascii characters (Bug#3190).
17386 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
17388         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
17389         another heredoc if the user adds another < (Bug#3226).
17391         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
17392         Don't initialize based on window-system (Bug#4124).
17394         * facemenu.el (facemenu-read-color): Use a completion function
17395         that accepts any defined color, such as RGB triplets (Bug#3677).
17397         * files.el (get-free-disk-space): Change fallback default
17398         directory to /.  Expand DIR argument before switching to fallback.
17399         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
17401 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
17403         * files.el (load-library): Doc fix.
17405 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
17407         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
17408         (viper-if-string): Redefine C-s in the minibuffer to insert the last
17409         incremental search string.
17411         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
17412         XEmacs.
17414         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
17415         (ediff-merge-region-is-non-clash)
17416         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
17417         Also check if the job is really a merge job.
17419         * ediff.el (ediff-current-file): New function.
17421 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
17423         * progmodes/js.el: Edit docstrings throughout to follow Emacs
17424         conventions.
17425         (js-insert-and-indent): Delete function.
17426         (js-mode-map): Don't bind keys to js-insert-and-indent.
17427         (js-beginning-of-defun): Rename from js--beginning-of-defun.
17428         (js-end-of-defun): Rename from js--end-of-defun.
17429         (js-auto-indent-flag): Delete variable.
17431 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
17433         * progmodes/js.el: Remove proclaim statement.
17434         Defvar which-func-imenu-joiner-function to silence compiler.
17436         * files.el (auto-mode-alist): Use js-mode for .js files.
17438         * progmodes/js2-mode.el: Remove file.
17440         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
17442         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
17444         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
17446 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
17447             Karl Landstrom  <karl.landstrom@brgeight.se>
17449         * progmodes/js.el: New file.
17451 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
17453         * timezone.el (timezone-parse-date): Add ability to understand ISO
17454         basic format (minimal separators) dates in addition to the
17455         already-supported extended format dates.
17457 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
17459         * international/ucs-normalize.el: Add a `coding' file variable.
17461         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
17463 2009-08-14  Sam Steingold  <sds@gnu.org>
17465         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
17467 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
17469         * faces.el (help-argument-name): Define it here instead of
17470         help-fns.el, because in daemon mode help-fns.el may be loaded when
17471         faces are still uninitialized (Bug#1078).
17473         * help-fns.el (help-argument-name): Move defface to faces.el.
17475 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
17477         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
17478         create buffer with a pty but no process so that GDB can make the
17479         inferior the controlling process.
17481 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
17483         * international/ucs-normalize.el: New file.
17485 2009-08-13  Richard Stallman  <rms@gnu.org>
17487         * mail/rmail.el (rmail-get-attr-names):
17488         Accept an attribute header that is too short.
17490         * mail/rmail.el (rmail-forget-messages):
17491         Ignore nil elt in rmail-message-vector.  Use dotimes.
17493         * progmodes/compile.el (compilation-goto-locus):
17494         Use next-error-move-function.
17496         * simple.el (next-error-move-function): New variable.
17498 2009-08-12  Juri Linkov  <juri@jurta.org>
17500         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
17501         always non-nil.  (Bug#4052)
17503         * replace.el (read-regexp): Return empty string when
17504         `default-value' is nil.
17505         (keep-lines-read-args): Don't use empty string as the
17506         default value for `read-regexp'.  (Bug#2495)
17508 2009-08-12  Juri Linkov  <juri@jurta.org>
17510         * international/mule-cmds.el (ucs-insert): Change arguments
17511         from `arg' to `character', `count', `inherit' to be the same
17512         as in `insert-char'.  Doc fix.  (Bug#4039)
17514         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
17516 2009-08-12  Juri Linkov  <juri@jurta.org>
17518         * files-x.el: New file.
17520         * files.el: Move code that deals with adding/deleting
17521         file/directory-local variables to files-x.el.
17523         * Makefile.in (ELCFILES): Add files-x.elc.
17525 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
17527         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
17528         to use `goto-line'.
17529         (gdb-place-breakpoints, gdb-get-location): Rewritten without
17530         `goto-line'.
17531         (gdb-invalidate-disassembly): Do not refresh upon receiving
17532         'update signal.  Instead, update all disassembly buffers only after
17533         threads list.
17534         (gdb): Send -target-detach when buffer is killed (Bug#3794).
17535         (gdb-starting): Moved -data-list-register-names...
17536         (gdb-stopped): ...here so it's sent when first thread stops.
17537         (gdb-registers-handler-custom): Do nothing if register names are
17538         unknown yet.
17540         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
17541         from `gdb-mi.el' to avoid extra tangling.
17543         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
17544         change which breaks `gud-def' definitions used in `gdb'.
17545         (gdb-update-gud-running): No extra fuss for updating frame number.
17547 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
17549         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
17550         (describe-language-environment-map, setup-language-environment-map)
17551         (set-coding-system-map): Move initialization into declaration.
17552         (set-language-info-alist): Last arg to define-key-after can be skipped.
17554         * international/quail.el (quail-completion-1): Simplify.
17555         (quail-define-rules): Use slightly more compact code.
17556         (quail-insert-decode-map): Propertize keys, compact columns.
17558         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17559         Add goto-line.
17561 2009-08-10  Miles Bader  <miles@gnu.org>
17563         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
17564         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
17565         (js2-instance-member, js2-private-member, js2-private-function-call)
17566         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
17567         (js2-magic-paren, js2-external-variable):
17568         Remove "-face" suffix from face names.
17569         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
17570         (js2-highlight-undeclared-vars, js2-peek-token)
17571         (js2-parse-function-params, js2-mode-show-errors)
17572         (js2-mode-show-warnings, js2-make-magic-delimiter)
17573         (js2-mode-highlight-magic-parens): Update to use new face names.
17575 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
17577         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
17578         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
17580 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
17582         * subr.el: Provide hashtable-print-readable.
17584         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
17585         hs-c-like-adjust-block-beginning.
17586         (hs-hide-block-at-point): Stop hiding at the beginning of
17587         hs-block-end-regexp (Bug#700).
17589 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
17591         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
17592         a macro.
17593         (gdb-registers-handler-custom): Do not fail when register names
17594         are unavailable.
17596 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
17598         * progmodes/gdb-mi.el (gdb-control-all-threads)
17599         (gdb-control-current-thread): Interactive setters for
17600         `gdb-gud-control-all-threads' to use in menu.
17601         (gdb-show-run-p): Show «Go» when process is not active.
17602         (gud-tool-bar-map): Add non-stop/A,T indicator.
17603         Uses gud/thread.xpm and gud/all.xpm.
17605 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
17607         * net/net-utils.el (net-utils-font-lock-keywords): New var.
17608         (nslookup-font-lock-keywords): Make it a variable.
17609         (net-utils-mode): New mode for viewing diagnostic network output.
17610         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
17611         (net-utils-run-simple): New function.
17612         (ifconfig, iwconfig, netstat, arp, route): Use it.
17614 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
17616         * progmodes/gdb-mi.el (gdb-read-memory-custom)
17617         (gdb-memory-set-address, def-gdb-set-positive-number)
17618         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
17619         after changing settings.
17620         (gdb-invalidate-disassembly): Update when first shown.
17621         (gdb-edit-locals-value): Fixed.
17622         (gdb-registers-handler-custom): Print registers in right order and
17623         allow changing register values (only for current thread yet).
17624         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
17625         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
17626         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
17627         (gdb-locals-handler-custom, gdb-registers-handler-custom):
17628         Thread info in mode name.
17629         (gdb-registers-mode-map): TAB to switch to locals.
17631 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
17633         * mail/rmail.el (rmail-add-mbox-headers)
17634         (rmail-set-message-counters-counter): Search for
17635         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
17637 2009-08-08  Glenn Morris  <rgm@gnu.org>
17639         * Makefile.in (ELCFILES): Update.
17641 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
17643         * mail/sendmail.el (mail-yank-original):
17644         Set buffer-file-coding-system from the one used by the message whose
17645         text is yanked.
17647         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
17648         to "windows" when "pgnuplot" is used.
17649         (calc-graph-command, calc-gnuplot-command, calc-graph-init):
17650         Don't call accept-process-output if "pgnuplot" is used.
17651         (calc-graph-init): Don't send -display and -geometry to
17652         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
17653         running "pgnuplot -V" with shell-command-to-string.
17655         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
17656         the default.
17658 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
17660         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
17661         org/org-latex.elc.
17663 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
17665         * vc-dispatcher.el (vc-resynch-window): Update comment.
17667         * term.el (term-handle-ansi-escape): Add comments with the
17668         terminfo capabilities implemented.
17670 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
17672         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
17673         (gdb-var-create-handler): Rewritten using JSON parser.
17674         (gdb-propertize-header): Moved earlier.
17675         (gdb-set-header): Removed to avoid duplication.
17676         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
17677         Refresh disassembly buffers only after threads list have been
17678         update.
17679         (gdb-threads-header, gdb-registers-header): Per-buffer header line
17680         variables.
17682 2009-08-04  Juri Linkov  <juri@jurta.org>
17684         * files.el: Commands to add/delete file/directory-local variables.
17685         (read-file-local-variable, read-file-local-variable-value)
17686         (read-file-local-variable-mode, modify-file-local-variable)
17687         (modify-file-local-variable-prop-line)
17688         (modify-dir-local-variable): New functions.
17689         (add-file-local-variable, delete-file-local-variable)
17690         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
17691         (add-dir-local-variable, delete-dir-local-variable)
17692         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
17693         (copy-dir-locals-to-file-locals-prop-line): New commands.
17695 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
17697         * abbrev.el (insert-abbrev-table-description): Prettify output.
17698         Suggested by Karl Chen.
17700 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
17702         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
17703         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
17704         (gdb-overlay-arrow-position, gdb-thread-position)
17705         (gdb-disassembly-position): Declare variables.
17706         (gdb-wait-for-pending): Function now.
17707         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
17708         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
17709         compilation goes smoothly.
17710         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
17711         (gdb-non-stop-setting): New customization setting which replaces
17712         `gdb-non-stop' so changing it doesn't break active GDB session.
17713         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
17714         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
17715         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
17716         (gdb-show-threads-by-default): New customization options.
17717         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
17718         routines.
17719         (gdb-get-buffer-create): Send buffers update signal when they are
17720         created.
17721         (gdb-invalidate-locals, gdb-invalidate-registers)
17722         (gdb-invalidate-breakpoints)
17723         (gdb-invalidate-threads, gdb-invalidate-disassembly)
17724         (gdb-invalidate-memory): Accept update signal.
17725         (gdb-current-context-command): Use --frame option.
17726         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
17727         Implement `gdb-frame-number' selection logic.
17728         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
17729         whether to show GUD toolbar buttons.
17730         (gdb-thread-exited): Unselect current thread when it exits.
17731         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
17732         (gdb-mark-line): Routine which sets overlay arrow or inverses
17733         video on fringeless displays.
17734         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
17735         to build aligned columns of data in GDB buffers and set text
17736         properties line-by-line.
17737         (gdb-invalidate-breakpoints)
17738         (gdb-breakpoints-list-handler-custom)
17739         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
17740         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
17741         (gdb-registers-handler-custom): Align data columns.
17742         (gdb-locals-handler-custom): Now prints data like in variable
17743         declarations.
17744         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
17745         Removed confusing buttons.
17746         (gdb-invalidate-threads): Append --frame.
17747         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
17748         between breakpoints/threads buffers.
17749         (gdb-set-window-buffer): Now can ignore dedicated windows.
17750         (gdb-propertize-header): Use `gdb-set-window-buffer'.
17751         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
17752         (def-gdb-thread-buffer-gud-command): Replaces
17753         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
17754         for fine thread control.
17755         (gdb-preempt-existing-or-display-buffer): New function used to
17756         display bound buffers without breaking window layout.
17757         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
17758         (gdb-select-frame): New version of `gdb-frames-select' which now
17759         sets `gdb-frame-number' so commands may use --frame option instead
17760         of inner debugger state.
17761         (gdb-frame-handler): Do not set `gdb-frame-number'.
17762         (gdb-threads-mode-map): Select threads with mouse.
17764         * progmodes/gud.el (gdb-gud-context-call): Declare function to
17765         avoid compilation warning.
17766         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
17767         `gdb-show-stop-p`.
17769         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
17770         Argument `key' renamed to `buffer-type'.
17771         (gdb-current-context-buffer-name): Do not add thread info to
17772         buffer name when no thread is selected.
17773         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
17774         command (bug 3794).
17775         (gdb-thread-selected): Handle `=thread-selected' notification.
17776         (gdb-wait-for-pending): New macro to deal with congestion problems.
17777         (gdb-breakpoints-list-handler-custom): Don't fail on pending
17778         breakpoints.
17779         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
17780         This fixes problem similar to one described in bug 3947.
17781         (gud-menu-map): More menu items.
17782         (gdb-init-1): Reset `gdb-thread-number' to nil.
17784         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
17785         non-stop settings.
17787         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
17788         (gdb-current-context-command): Do not append --thread if
17789         `gdb-thread-number' is nil.
17790         (gdb-running-threads-count, gdb-stopped-threads-count):
17791         New variables.
17792         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
17793         (gdb-stopped-hooks, gdb-switch-when-another-stopped):
17794         New customization options.
17795         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
17796         GUD commands.
17797         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
17798         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
17799         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
17800         set `gdb-thread-number' and update `gud-running' properly.
17801         (gdb-running): Update threads list when new threads appear.
17802         (gdb-stopped): Support non-stop operation and new thread switching
17803         logic.
17804         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
17805         (gdb-json-partial-output): New set of JSON routines.
17806         (def-gdb-auto-update-trigger): New `signal-list' optional
17807         argument.
17808         (gdb-thread-list-handler-custom): Update `gud-running',
17809         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
17810         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
17811         (gdb-continue-thread, gdb-step-thread): New commands for fine
17812         thread execution control.
17813         (gud-menu-map): New menu items to switch non-stop options.
17814         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
17815         (gdb-send): Mimic RET properly (bug 3794).
17817         * progmodes/gdb-mi.el (gdb-rules-name-maker)
17818         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
17819         gdb-buffer-rules.
17820         (def-gdb-auto-update-handler): New nopreserve optional argument.
17821         (gdb-stack-list-frames-custom): Print stack from top to bottom.
17823         * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
17824         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
17825         (gdb-parent-mode): New mode to derive other GDB modes from.
17826         (gdb-display-disassembly-for-thread)
17827         (gdb-frame-disassembly-for-thread): New commands for threads
17828         buffer.
17830         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
17831         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
17832         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
17833         (gdb-update): We now store all GDB buffers in a list so that they
17834         can be updated by traversing a list instead of calling invalidate
17835         triggers explicitly.
17836         (def-gdb-trigger-and-handler): New macro to define trigger-handler
17837         pair for GDB buffer.
17838         (gdb-stack-buffer-name): Add thread information.
17839         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
17840         handle pending triggers.
17841         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
17842         (def-gdb-thread-buffer-simple-command)
17843         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
17844         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
17845         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
17846         New commands which show buffers bound to thread.
17847         (gdb-stack-list-locals-regexp): Removed unused regexp.
17849         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
17850         (gdb-locals-buffer-name, gdb-registers-buffer-name)
17851         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
17852         to (gud-comint-buffer) in *-buffer-name functions
17853         because (gdb-get-target-string) already does that.
17854         (gdb-locals-handler-custom, gdb-registers-handler-custom)
17855         (gdb-changed-registers-handler): Rewritten without regexps.
17857         * progmodes/gdb-mi.el: Basic thread selection support.
17858         (gdb-thread-number): New variable.
17859         (gdb-current-context-command): New macro which adds --thread
17860         option to command.
17861         (gdb-threads-mode-map): Select thread with SPC.
17862         (gdb-thread-list-handler-custom): Mark current thread with overlay
17863         arrow.  Synchronize GDB thread and Emacs thread.
17864         (gdb-select-thread): New command which selects current thread.
17865         (gdb-invalidate-frames, gdb-invalidate-locals)
17866         (gdb-invalidate-registers): Use --thread option.
17868 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
17870         * net/tramp.el (top): Make check for tramp-gvfs loading more
17871         robust.  (Bug#3977)
17872         (tramp-handle-insert-file-contents): `unwind-protect' must be
17873         inside `with-parsed-tramp-file-name'.
17875         * net/tramp-gvfs.el (top): Remove superfluous message when loading
17876         fails.
17878 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
17880         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
17881         directory if CLASSPATH is not set.
17883 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
17885         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
17886         New defconst.
17887         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
17889 2009-08-02  Kevin Ryde  <user42@zip.com.au>
17891         * net/newst-backend.el (newsticker--raw-url-list-defaults):
17892         Update freshmeat link.  Delete newsforge.com as it seems gone.
17894 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
17896         * select.el (x-set-selection): Doc fix (Bug#4021).
17898         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
17900         * help-fns.el (describe-variable): Treat list return values from
17901         dir-locals-find-file properly (Bug#4005).
17903 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
17905         * net/tramp.el (tramp-debug-message): Print also microseconds.
17907 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
17909         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
17910         or END is non-nil.
17911         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
17912         (tramp-get-debug-buffer): Change `outline-regexp' according to new
17913         format.
17915         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
17916         (tramp-get-file-property): Use it.
17918         * autorevert.el (auto-revert-handler):
17919         Allow `auto-revert-tail-mode' for remote files.
17921 2009-08-02  Jason Rumney  <jasonr@gnu.org>
17923         * minibuffer.el (read-file-name): Treat confirm options to
17924         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
17926 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
17928         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
17929         (font-lock-variable-name-face, font-lock-constant-face):
17930         Darken the colors for light backgrounds.
17932 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
17934         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
17935         month names.  (Bug#3987)
17937 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
17939         * simple.el (line-move-finish): Pass whole number to
17940         line-move-to-column.
17941         (line-move-visual): Perform hscroll to the recorded position.
17943 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
17945         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
17947 2009-07-29  Alan Mackenzie  <acm@muc.de>
17949         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
17951 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
17953         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
17954         (gdb-place-breakpoints): Use full path when setting breakpoints.
17956 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
17958         * calc/calc.el (calc-mode-map): Add keybinding for
17959         `calc-transpose-lines'.
17961 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
17963         * calc/calc-misc.el (calc-transpose-lines): New function.
17965 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
17967         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
17968         Simplify check for out-of-band methods.
17969         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
17970         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
17972 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
17974         * vc-git.el (vc-git-checkin): Fix typo.
17976 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
17978         * progmodes/js2-mode.el: New file.
17980 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
17982         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
17983         (gud-menu-map): Adjust tooltip accordingly.
17985 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
17987         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
17988         (vc-bzr-log-view-mode): Adjust log-view-file-re.
17990         * add-log.el (change-log-mode-map): Add a menu.
17992 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
17994         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
17995         function returns nil.
17996         (dbus-handle-event): Handle special return value :ignore.
17997         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
17999 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
18001         * view.el (view-mode-enable): Don't define Helper-return-blurb if
18002         it's not needed.
18004 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
18006         Fix Bug#3888:
18008         * w32-vars.el (x-select-enable-clipboard): Doc fix.
18010         * term/pc-win.el (x-display-name, x-colors)
18011         (x-select-enable-clipboard, x-select-text): Doc fix.
18013         * term/common-win.el (x-display-name, x-colors): Doc fix.
18015         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
18016         (xw-defined-colors): Doc fix.
18018         * w32-fns.el (x-select-text, x-setup-function-keys)
18019         (x-get-selection, x-set-selection): Doc fix.
18021         * term/x-win.el (x-select-text, x-setup-function-keys)
18022         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
18024         * select.el (x-set-selection): Doc fix.
18026 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
18028         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
18029         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
18030         "IsNSSSupportAvailable" method is not available.
18031         Reported by Steve Youngs <steve@sxemacs.org>.
18033 2009-07-24  Kenichi Handa  <handa@m17n.org>
18035         * international/characters.el: Fix setting of category ?C, ?|, ?K,
18036         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
18037         (build-unicode-category-table): Fix range checks.
18039 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
18041         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
18042         the buffer we try to sync is current when calling
18043         vc-resynch-buffer.
18045         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
18046         not show up to date files.
18048 2009-07-24  Glenn Morris  <rgm@gnu.org>
18050         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
18051         Add autoload cookies.  If necessary, initialize.
18052         (elint-log): Handle non-file buffers.
18053         (elint-initialize): Add optional argument to reinitialize.
18054         (elint-find-builtin-variables): Save excursion.
18056 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
18058         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
18059         for Lint.
18061 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
18063         * vc.el (vc-print-log-internal): New function, split out from ...
18064         (vc-print-log): ... here.
18065         (vc-dir-move-to-goal-column): Declare.
18067         * vc-git.el (vc-git-add-signoff): New variable.
18068         (vc-git-checkin): Use it.
18069         (vc-git-toggle-signoff): New function.
18070         (vc-git-extra-menu-map): Bind it to menu.
18071         (vc-git--run-command-string): Accept a nil FILE argument.
18072         (vc-git-stash-list): New function.
18073         (vc-git-dir-extra-headers): Use it.
18075 2009-07-23  Glenn Morris  <rgm@gnu.org>
18077         * help-fns.el (describe-variable): Describe ignored and risky local
18078         variables in a similar way to that in which we describe safe ones.
18080         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
18081         (byte-compile-output-file-form, byte-compile-output-docform)
18082         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
18083         Give some more local variables with common names a "bytecomp-" prefix,
18084         so as not to shadow things during compilation.
18085         * emacs-lisp/cl-macs.el (load-time-value)
18086         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
18087         `outbuffer' to `bytecomp-outbuffer'.
18089         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
18090         since the next two variables cover them automatically now.
18091         (elint-builtin-variables, elint-autoloaded-variables): New.
18092         (elint-unknown-builtin-args): Remove all members, since they can be
18093         parsed automatically now.
18094         (elint-extra-errors): New.
18095         (elint-env-add-env, elint-env-add-macro): Use cadr.
18096         (elint-current-buffer): Use or.  Change final message.
18097         (elint-get-top-forms): Use line-end-position.
18098         (elint-init-env): Use cadr.  Handle autoload, declare-function,
18099         and defalias.
18100         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
18101         (regexp-assoc): Remove unused function.
18102         (elint-top-form): Set elint-current-pos, to record the start of the
18103         top-level form, for compilation-mode.
18104         (elint-form): Trap errors in macro expansion.  Use dolist.
18105         (elint-unbound-variable): Use elint-builtin-variables and
18106         elint-autoloaded-variables.
18107         (elint-get-args): Use cadr, or.
18108         (elint-check-cond-form): Use dolist, cadr.
18109         (elint-check-condition-case-form): Doc fix.  Use cadr.
18110         Use elint-extra-errors.
18111         (elint-log): New function.
18112         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
18113         Distinguish errors and warnings.
18114         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
18115         Use a bytecomp-style format.
18116         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
18117         (elint-get-log-buffer): Use compilation mode.  Disable undo.
18118         Don't truncate lines.
18119         (elint-initialize): Set builtin and autoloaded variable lists.
18120         Only process elint-unknown-builtin-args if non-nil.
18121         (elint-find-builtin-variables, elint-find-autoloaded-variables):
18122         New functions.
18123         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
18125 2009-07-22  Kevin Ryde  <user42@zip.com.au>
18127         * net/newst-backend.el (newsticker--parse-atom-1.0)
18128         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
18129         (newsticker--parse-rss-1.0):
18130         * progmodes/idlwave.el (idlwave-mode):
18131         * progmodes/idlw-shell.el (idlwave-shell-mode):
18132         * progmodes/vera-mode.el (vera-mode):
18133         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
18134         * progmodes/vhdl-mode.el (vhdl-mode):
18135         * textmodes/table.el (table-generate-source)
18136         (table--warn-incompatibility):
18137         Hyperlink urls in docstrings with URL `...'.
18139 2009-07-22  Glenn Morris  <rgm@gnu.org>
18141         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
18142         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
18143         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
18144         Remove leading * from defcustom docs.
18146         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
18148         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
18149         defcustom doc.
18150         (list-load-path-shadows): Optionally, just return shadows as a string.
18152         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
18154 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
18156         * mail/rmailedit.el (rmail-edit-mode):
18157         Use auto-save-include-big-deletions.
18159         * mail/rmail.el (rmail-variables):
18160         Use auto-save-include-big-deletions.
18162         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
18163         changes.
18165 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
18167         * calc/calc.el (calc-undo-length): New variable.
18168         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
18170 2009-07-21  Richard Stallman  <rms@gnu.org>
18172         * files.el (auto-save-mode): Handle buffer-save-size = -2
18173         for toggling mode.
18175 2009-07-21  Glenn Morris  <rgm@gnu.org>
18177         * textmodes/ispell.el (ispell-looking-back): Update declaration.
18179         * calendar/todo-mode.el (calendar-current-date): Update declaration.
18181         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
18182         silence compiler.  Instead...
18183         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
18184         (ps-print-ensure-fontified): Update for above function name changes.
18186         * printing.el (pr-mh-get-msg-num, pr-mh-show)
18187         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
18188         silence compiler.  Instead...
18189         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
18190         (mh-show-buffer): Only define for compiler.
18191         (pr-mh-current-message): Update for above function name changes.
18193         * files.el (abort-if-file-too-large): Explicitly pass `filename'
18194         as an argument.
18195         (find-file-noselect, insert-file-1): Update for above change.
18197         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
18199         * mail/mailclient.el (mailclient-send-it): Fix message.
18201         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
18202         (edebug-eval): Check cl-debug-env is bound.
18203         (print-level, print-circle): Don't redefine built-in variables.
18205         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
18206         (custom-print-vectors): Remove old comments from doc.
18208         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
18209         (emerge-version): Make the variable an obsolete alias for the
18210         emacs-version variable.  Make the function obsolete.
18211         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
18212         Emerge options, rather than merging in into the main Options menu.
18213         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
18214         and auto advance modes.  Disable edit/fast items when not relevant.
18216 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
18218         * term/vt420.el (terminal-init-vt420): Fix typo.
18220 2009-07-20  Sam Steingold  <sds@gnu.org>
18222         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
18223         variable (removed from compile.el on 2004-03-11).
18225 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
18227         * files.el (hack-local-variables-filter): Fix last change.
18229 2009-07-19  Juri Linkov  <juri@jurta.org>
18231         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
18232         (dir-local-variables-alist): New buffer-local variable.
18233         (hack-local-variables-filter): If variable is not dir-local,
18234         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
18235         because file-local overrides dir-local.
18236         (c-postprocess-file-styles) <declare-function>:
18237         Remove obsolete declaration.
18238         (hack-dir-local-variables): Add dir-local variable/value pair to
18239         `dir-local-variables-alist' and remove duplicates.  Doc fix.
18241         * help-fns.el (describe-variable): Add information about
18242         file-local and dir-local variables.
18244 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
18246         * files.el (hack-local-variables-filter): Rewrite.
18248 2009-07-19  Glenn Morris  <rgm@gnu.org>
18250         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
18251         Silence compiler by only defining on XEmacs.
18253         * international/mule.el (auto-coding-regexp-alist): Only match
18254         BABYL... at the start of buffer, not of lines.  (Bug#3790)
18256         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
18257         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
18258         (cal-menu-context-mouse-menu): Doc fix.
18260         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
18262         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
18264 2009-07-18  Juri Linkov  <juri@jurta.org>
18266         * info.el: Virtual Info keyword finder.
18267         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
18268         (Info-finder-file): New variable.
18269         (Info-finder-find-file): New function.
18270         (finder-known-keywords, finder-package-info)
18271         (find-library-name, lm-commentary): Use defvar and
18272         declare-function to silence compiler warnings.
18273         (Info-finder-find-node): New function.
18274         (info-finder): New command.
18276         * subr.el (process-kill-buffer-query-function): New function.
18277         (add-hook)<kill-buffer-query-functions>: Add hook
18278         `process-kill-buffer-query-function'.
18280 2009-07-18  Alan Mackenzie  <acm@muc.de>
18282         * progmodes/cc-mode.el (c-before-hack-hook)
18283         (c-postprocess-file-styles): Give invocation of `c-set-style'
18284         DONT-OVERRIDE parameter of t.  Already set style variables will
18285         thus not be overridden by style settings given by `c-file-syle'.
18287         * files.el (hack-local-variables-filter): Remove entries with
18288         duplicate keys from `file-local-variables-alist'.
18290 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
18292         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
18293         x-set-selection if display-selections-p returns nil for the
18294         current frame.
18296 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
18298         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
18300 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
18302         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
18303         Accept nil in addition to a regexp.
18304         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
18305         Accept nil in addition to a regexp.
18306         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
18307         buffers that have an associated file.  Handle nil values of
18308         desktop-buffers-not-to-save and desktop-files-not-to-save.
18309         (Bug#3833)
18311         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
18312         (x-disown-selection-internal): New functions.
18314 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
18316         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
18317         warning.
18318         (gdb-breakpoints-header): Move forward to avoid compiler warning.
18319         (gdb-make-header-line-mouse-map): Remove duplicate definition.
18321 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
18323         * simple.el (set-mark): Revert last change.
18325 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
18327         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
18328         rendering of pngs is not possible instead of messaging a long
18329         description.
18331 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
18333         * w32-fns.el (x-selection-owner-p): New function.
18335         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
18336         (mouse-yank-at-click, mouse-yank-primary):
18337         If select-active-regions is non-nil, deactivate the mark before
18338         insertion.
18340         * simple.el (deactivate-mark, set-mark): Only save selection if we
18341         own it.
18343 2009-07-17  Kenichi Handa  <handa@m17n.org>
18345         * case-table.el (describe-buffer-case-table): Fix for the case
18346         that KEY is a cons.
18348 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
18350         * vc-rcs.el (vc-rcs-find-file-hook):
18351         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
18353 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
18355         * net/tramp.el (tramp-wait-for-output): Handle the case when
18356         commands do not return a newline but a null byte before the shell
18357         prompt.  (Bug#3858)
18359 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
18361         * term/ns-win.el (ns-set-alpha): Don't declare.
18362         (ns-set-background-alpha): Remove function.
18364 2009-07-16  Kevin Ryde  <user42@zip.com.au>
18366         * emacs-lisp/copyright.el (copyright-update): Save match-data across
18367         y-or-n-p, for safety.
18369 2009-07-16  Richard Stallman  <rms@gnu.org>
18371         * files.el (auto-save-mode): If buffer-saved-size is -2,
18372         don't clobber it.
18374         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
18375         (rmail-retry-ignored-headers): Add more uninteresting fields.
18377 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
18379         * net/rcirc.el (rcirc): Use history variables.
18380         (rcirc-server-name-history, rcirc-nick-name-history)
18381         (rcirc-server-port-history): New variables.
18383 2009-07-15  Kenichi Handa  <handa@m17n.org>
18385         * international/mule-cmds.el (set-language-environment-charset):
18386         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
18387         ignore them.
18389         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
18390         Delete unibyte-display.
18392 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
18394         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
18396 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
18398         * simple.el (deactivate-mark): Optional argument FORCE.
18399         (set-mark): Use deactivate-mark.
18401         * info.el (Info-search): No need to check transient-mark-mode
18402         before calling deactivate-mark.
18404         * select.el (x-set-selection): Doc fix.
18405         (x-valid-simple-selection-p): Allow buffer values.
18406         (xselect--selection-bounds): Handle buffer values.
18407         Suggested by David De La Harpe Golden.
18409         * mouse.el (mouse-set-region, mouse-drag-track):
18410         Call copy-region-as-kill before setting the mark, to let
18411         select-active-regions work.
18413 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
18415         * simple.el (deactivate-mark): If select-active-regions is
18416         non-nil, copy the selection data into a string.
18417         (activate-mark): If select-active-regions is non-nil, set the
18418         selection to the current buffer.
18419         (set-mark): Update selection if select-active-regions is non-nil.
18421         * select.el (x-valid-simple-selection-p): Allow buffer values.
18423 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
18425         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
18426         and more featureful message-mode.
18428 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
18430         * select.el (x-set-selection): Doc fix.
18431         (x-valid-simple-selection-p): Disallow selection data consisting
18432         of a list or cons of integers, since that is not used.
18433         (xselect--selection-bounds, xselect--int-to-cons): New functions.
18434         (xselect-convert-to-string, xselect-convert-to-length)
18435         (xselect-convert-to-filename, xselect-convert-to-charpos)
18436         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
18438 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
18440         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
18441         output in -break-info command (Emacs bug #3794).
18443 2009-07-14  Glenn Morris  <rgm@gnu.org>
18445         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
18446         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
18447         (edebug-print-length, edebug-print-level, edebug-print-circle)
18448         (edebug-sit-for-seconds, edebug-view-outside)
18449         (edebug-bounce-point, edebug-set-global-break-condition)
18450         (edebug-Go-nonstop-mode, edebug-trace-mode)
18451         (edebug-Trace-fast-mode, edebug-continue-mode)
18452         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
18453         (edebug-visit-eval-list): Doc fixes.
18455         * subr.el (def-edebug-spec): Doc fix.
18457 2009-07-14  Kenichi Handa  <handa@m17n.org>
18459         * international/characters.el: Fix setting of category ?C.
18461 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
18463         * term/ns-win.el (x-select-font): defalias x-select-font to
18464         ns-popup-font-panel instead of generate-fontset-menu.
18466 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
18468         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
18470 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
18472         * arc-mode.el (archive-find-type): Allow for a PK00 string before
18473         the PK\003\004 header (Bug#3770).
18475 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
18477         * pcomplete.el (pcomplete-comint-setup): Check for
18478         shell-dynamic-complete-filename too.
18480 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
18482         * simple.el (temporary-goal-column): Change the value for
18483         line-move-visual to a cons cell.
18484         (line-move-visual): Record or set the window hscroll, if
18485         necessary (Bug#3494).
18486         (line-move-1): Handle cons value of temporary-goal-column.
18488 2009-07-11  Kenichi Handa  <handa@m17n.org>
18490         * international/mule-diag.el (describe-character-set): Don't show
18491         width.
18493 2009-07-10  Sam Steingold  <sds@gnu.org>
18495         * progmodes/compile.el (compilation-mode-font-lock-keywords):
18496         Omake sometimes indents the errors it prints, so allow all
18497         regexps to start with spaces.
18499 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
18501         * cus-edit.el (customize-changed-options-previous-release):
18502         Bump value to 22.1.  (Bug#3804)
18504 2009-07-08  Sam Steingold  <sds@gnu.org>
18506         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
18507         to be a cons cell (test . ignored-directory) to selectively ignore
18508         some directories depending on the location of the search.
18510 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
18512         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
18513         remote user is root, on the local host.
18514         (tramp-local-host-p): Either the local user or the remote user
18515         must be root.  (Bug#3771)
18517 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
18519         * progmodes/gdb-mi.el (gdb): Remove description of
18520         gdb-use-separate-io-buffer.
18521         (menu): Don't allow toggling of or enable
18522         gdb-use-separate-io-buffer from menubar.
18524 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
18526         * mail/unrmail.el (unrmail): Make sure the message ends with two
18527         newlines (Bug#3769).
18529 2009-07-08  Glenn Morris  <rgm@gnu.org>
18531         * calendar/calendar.el (calendar-current-date): Rework previous change.
18533 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
18535         * calendar/calendar.el (calendar-current-date):
18536         Add an optional argument giving an offset from today.
18538 2009-07-08  Glenn Morris  <rgm@gnu.org>
18540         * tutorial.el (tutorial--describe-nonstandard-key):
18541         Adjust the message for when a key has been unbound.
18542         (help-with-tutorial): Hide the arch-tag.
18544 2009-07-08  Kenichi Handa  <handa@m17n.org>
18546         * international/fontset.el (setup-default-fontset): For each
18547         script, append (not set) font-specs.
18549         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
18550         docstring.
18552 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
18554         * progmodes/gdb-mi.el (gdb-init-1): Move sending
18555         -data-list-register-names to ...
18556         (gdb-starting): ... here because GDB 7.0 requires execution to
18557         have started when using this MI command.
18558         (gdb-set-header): New function to distinguish select and
18559         unselected tabs in gdb buffers.
18560         (gdb-propertize-header): New macro that uses gdb-set-header.
18561         (gdb-breakpoints-header, gdb-locals-header): Use it.
18562         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
18564 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
18566         * Makefile.in (ELCFILES): Remove fadr.elc.
18568 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
18570         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
18571         may contain frame information, so `string-match' should be used.
18572         (gdb-update): Disassembly is invalidated through
18573         `gdb-get-selected-frame'.
18574         (gdb-pad-string): New function to pad string with spaces.
18575         (gdb-invalidate-disassembly): Invalidate only if the buffer
18576         exists.
18577         (gdb-disassembly-handler-custom): Column alignment.
18578         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
18579         placing new ones.
18580         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
18581         end of line, too.
18582         (gdb-frame-handler): Match convention to for disassembly buffer
18583         mode name.
18584         (gdb-stack-list-frames-handler): Rewritten without regexps.
18585         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
18586         not highlight breakpoints without line information.
18587         (gdb-input): Add trailing newline to command.
18589         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
18590         buffer properly.
18591         (gdb-breakpoints-list-handler-custom): Replacement for
18592         `gdb-break-list-handler'.  Using real parser instead of regexps
18593         now.
18594         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
18595         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
18596         to place breakpoints.
18597         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
18598         functions.
18599         (gdb-disassembly-handler-custom): Show overlay arrow.
18600         (gdb-disassembly-place-breakpoints): Show breakpoints in
18601         disassembly buffer.
18602         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
18603         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
18604         instead of parsing breakpoints buffer.  Fixed old menu references
18605         in `gud-menu-map'.
18607         * fadr.el: Remove.
18609         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
18610         (gdb-memory-address): New variable which holds top address of
18611         memory page shown in memory buffer.
18612         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
18613         New customization variables.
18614         New functions:
18615         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
18616         display the memory buffer.
18617         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
18618         buffer display parameters.
18619         (def-gdb-memory-format, gdb-memory-format-binary)
18620         (gdb-memory-format-octal, gdb-memory-format-unsigned)
18621         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
18622         Functions for setting memory buffer format.
18623         (gdb-memory-unit-word, gdb-memory-unit-halfword)
18624         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
18625         unit size used in memory buffer.
18626         (gdb-memory-show-next-page, gdb-memory-show-previous-page):
18627         Switch to next/previous page of memory buffer.
18628         Now using (bindat-get-field) instead of fadr functions.
18630 2009-07-07  Sam Steingold  <sds@gnu.org>
18632         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
18633         non-top-level files.
18635 2009-07-07  Kenichi Handa  <handa@m17n.org>
18637         * international/mule-cmds.el (reset-language-environment):
18638         Put the highset priority to the charset iso-8859-1.
18640 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
18642         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
18643         to the end of the line when locating the block (Bug#700).
18645 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
18647         * net/tramp.el (tramp-handle-write-region): Flush file properties
18648         in case of short track.
18650 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
18652         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
18653         Coded custom representation of verilog error regular expressions
18654         to work with Emacs-22's new format.
18655         (verilog-error-regexp-xemacs-alist): Coded custom representation
18656         of verilog error regular expressions to work with XEmacs format.
18657         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
18658         error recognition into XEmacs.
18659         (verilog-error-regexp-add-emacs): Hook routine to install verilog
18660         error recognition into Emacs-22.
18662 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
18664         * woman.el: Remove stand-alone closing parentheses.
18665         (woman-file-name, woman2-format-paragraphs)
18666         (woman-leave-blank-lines): Code cleanup.
18667         (woman-use-own-frame): Change default to nil.
18668         (woman-italic, woman-bold, woman-unknown, woman-addition):
18669         Change defaults to inherit from default faces.
18670         (woman2-process-escapes): Consume the newline after a stand-alone
18671         filler character (Bug#3651).
18673 2009-07-06  Glenn Morris  <rgm@gnu.org>
18675         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
18676         (top-level): Move provide to the end.
18677         (ffap): Remove defunct URL from custom group.
18679         * subr.el (eval-after-load): Doc fix.
18681 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
18683         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
18684         `calc-embedded-word' is called twice.
18686 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
18688         * files.el (find-alternate-file-other-window, find-alternate-file):
18689         Obey confirm-nonexistent-file-or-buffer.
18691 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
18693         * dired-aux.el (dired-show-file-type): Handle remote files.
18695 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
18697         * desktop.el (desktop-globals-to-save):
18698         Add file-name-history (Bug#2750).
18700 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
18702         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
18704 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
18706         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
18707         property on entire argument since this is what eshell-lisp-command
18708         expects.
18710 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
18712         * net/tramp-gvfs.el (tramp-gvfs-methods)
18713         (tramp-gvfs-zeroconf-domain)
18714         (tramp-bluez-discover-devices-timeout): Add version flag.
18715         (tramp-gvfs-handler-mounted-unmounted)
18716         (tramp-gvfs-connection-mounted-p): Polish handling of
18717         incompatibilities between GVFS 0.2 and 1.0.
18719 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
18721         * cus-start.el (all): Add make-pointer-invisible.
18723 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
18725         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
18726         formatted correctly.
18728 2009-07-02  Juri Linkov  <juri@jurta.org>
18730         * info.el: Virtual Info files and nodes.
18731         (Info-virtual-files, Info-virtual-nodes): New variables.
18732         (Info-current-node-virtual): New variable.
18733         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
18734         New functions.
18735         (Info-file-supports-index-cookies): Use Info-virtual-file-p
18736         to check for a virtual file instead of checking a fixed list
18737         of node names.
18738         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
18739         instead of ad-hoc processing of "dir" and (apropos history toc).
18740         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
18741         instead of ad-hoc processing of "dir" and (apropos history toc).
18742         Reread a file when moving from a virtual node.
18743         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
18744         (Info-directory-toc-nodes, Info-directory-find-file)
18745         (Info-directory-find-node): New functions.
18746         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
18747         (Info-history): Move part of code to
18748         `Info-history-find-node'.
18749         (Info-history-toc-nodes, Info-history-find-file)
18750         (Info-history-find-node): New functions.
18751         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
18752         (Info-toc): Move part of code to `Info-toc-find-node'.
18753         (Info-toc-find-node): New function.
18754         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
18755         the current Info file name to references because now the node
18756         "*TOC*" belongs to the same Info manual.
18757         (Info-toc-build): Rename from `Info-build-toc'.
18758         (Info-toc-nodes): Rename input argument `file' to `filename'.
18759         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
18760         instead of ad-hoc processing of ("dir" apropos history toc).
18761         (Info-index-nodes): Use Info-virtual-file-p
18762         to check for a virtual file instead of checking a fixed list
18763         of node names.
18764         (Info-index-node): Add check for `Info-current-node-virtual'.
18765         Raise `save-match-data' higher up the tree to contain
18766         `search-forward' too (bug fix).
18767         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
18768         (Info-virtual-index-nodes): New variable.
18769         (Info-virtual-index-find-node, Info-virtual-index): New functions.
18770         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
18771         (Info-apropos-file, Info-apropos-nodes): New variables.
18772         (Info-apropos-toc-nodes, Info-apropos-find-file)
18773         (Info-apropos-find-node, Info-apropos-matches): New functions.
18774         (info-apropos): Move part of code to `Info-apropos-find-node' and
18775         `Info-apropos-matches'.
18776         (Info-mode-map): Bind "I" to `Info-virtual-index'.
18777         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
18778         for a virtual file instead of checking a fixed list of node names.
18780         * simple.el (async-shell-command): New command.
18782         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
18784         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
18785         instead of `mount-info'.
18787 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
18789         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
18790         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
18792 2009-07-02  Kenichi Handa  <handa@m17n.org>
18794         * international/mule.el (set-keyboard-coding-system): Force *-unix
18795         coding-system to avoid eol conversion.
18797 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
18799         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
18800         Add handler for `process-file', `shell-command' and
18801         `start-file-process'.
18802         (tramp-gvfs-handle-shell-command)
18803         (tramp-gvfs-handle-start-file-process)
18804         (tramp-gvfs-handle-process-file): New defuns.
18805         (tramp-synce-list-devices): Simplify check for existence of property.
18807 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
18809         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
18811 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
18813         * language/korean.el (set-language-info-alist): Add korean-cp949,
18814         cp949 to spec.
18816 2009-07-01  Kenichi Handa  <handa@m17n.org>
18818         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
18820         * international/encoded-kb.el: Deleted.
18822         * international/mule.el (set-keyboard-coding-system): Perform the
18823         necessary setup here instead of calling encoded-kbd-setup-display.
18825 2009-07-01  Glenn Morris  <rgm@gnu.org>
18827         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
18829 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
18831         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
18833 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
18835         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
18836         Handle also the 'rename case, when setting file modes.  (Bug#3712)
18837         (tramp-default-file-modes): Remove execute permissions.
18839         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
18840         (top): Add a default for "synce" in `tramp-default-user-alist'.
18841         Add completion function for "synce" method.
18842         (tramp-hal-service, tramp-hal-path-manager)
18843         (tramp-hal-interface-manager, tramp-hal-interface-device):
18844         New defconst.
18845         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
18846         (tramp-synce-list-devices, tramp-synce-parse-device-names):
18847         New defuns.
18849         * net/trampver.el: Update release number.
18851 2009-06-30  Kenichi Handa  <handa@m17n.org>
18853         * international/fontset.el (setup-default-fontset): Add CJK fonts
18854         for symbols and the other miscellaneous characters.
18856         * language/korea-util.el (setup-korean-environment-internal):
18857         Make char-width-table suitable for Korean environments.
18858         (exit-korean-environment): Cancel above.
18860         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
18861         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
18862         setup-function to make char-width-table suitable for respective
18863         environments, and an exit-function to cancel that.
18865         * language/japan-util.el (setup-japanese-environment-internal):
18866         Call use-cjk-char-width-table with arg `ja_JP'.
18868         * international/characters.el (cjk-char-width-table): Delete it.
18869         (cjk-char-width-table-list): New variable.
18870         (use-cjk-char-width-table): New arg local-name.
18871         (use-default-char-width-table): Fix for the case that Emacs is
18872         already using the default char-width-table.
18874 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
18876         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
18877         modes mandatory.  (Bug#3712)
18879 2009-06-29  Alan Mackenzie  <acm@muc.de>
18881         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
18882         correction between the visible width of TABs and their number of bytes.
18884 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
18886         * server.el (server-buffer-done): Prevent kill-buffer from
18887         prompting by clearing the buffer modification flag (Bug#3696).
18889 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
18891         * progmodes/verilog-mode.el (verilog-beg-of-statement)
18892         (verilog-endcomment-reason-re): Support unique case and priority case.
18893         (verilog-basic-complete-re): Support localparam lineup.
18894         (verilog-beg-of-statement-1): Fix for robustness, unique case.
18895         (verilog-set-auto-endcomments): Fix for unique case, always_comb
18896         commenting.
18897         (verilog-leap-to-case-head): Now support *nested* unique &
18898         priority case statements.
18899         (verilog-auto-lineup): Make just declarations the default (as it
18900         had been).
18901         (verilog-leap-to-case-head): Support priority/unique case statements.
18902         (verilog-auto-lineup): Rework to give users radio buttons to
18903         select the various styles of automatic lineup.
18904         (verilog-error-regexp-alist): Rework to support the XEmacs style
18905         of error regular expressions from compilers, lint tools &
18906         simulators.  Note that GNU Emacs has made it impossible for a mode
18907         to load such things.
18908         (electric-verilog-terminate-line, verilog-indent-declaration)
18909         (verilog-auto-wiure): Rework for radio button selection of
18910         auto-lineup selection of specification of auto lineup.
18911         (verilog-beg-of-statement-1): Redesign to support proper operation
18912         in additional code, based on testing with auto-lineup.
18913         (verilog-calculate-indent, assignments & declarations)
18914         (verilog-backward-token): Enhance to support auto-lineup of
18915         assignments & declarations.
18916         (verilog-in-directive-p, verilog-at-struct-p): New function for
18917         easy test of whether we are.
18918         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
18919         to support safe execution at almost anyline.
18920         (verilog-calc-1): Properly support indenting deep inside generate
18921         blocks.
18922         (verilog-init-font): Remove definition & use of verilog-init-font,
18923         as it is redundant with font-lock-defaults.
18924         (verilog-mode): Alter the definition of verilog-font-lock-defaults
18925         to avoid circular calls if syntax-ppss is a function (as is the
18926         case now in 22.x GNU Emacs) as that function would sometimes call
18927         itself, leading to (nearly) infinite recursion.
18928         (verilog-ovm-begin-re, verilog-ovm-end-re)
18929         (verilog-ovm-statement-re, verilog-leap-to-head)
18930         (verilog-backward-token): Add support for OVM macros.  Some are
18931         complete statements, and others open and close scopes like begin
18932         and end.
18933         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
18934         (verilog-defun-level-generate-only-re): Really fix the defun-list
18935         compilation issue.
18936         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
18937         coverpoint, constraint and cross statements.
18938         (verilog-defun-level-list, verilog-generate-defun-level-list)
18939         (verilog-all-defun-level-list): Redo these specifications - it is
18940         too hard to support eval-when compile aggregation of lists also
18941         built at when-compile time.
18942         (verilog-defun-level-list): Place defconsts of variables used in
18943         building regular expressions which are built in eval-when-compile
18944         bodies in the same eval-when-compile body to facilitate compile
18945         without load.
18946         (verilog-beg-block-re-ordered): Support indenting
18947         virtual/protected tasks and functions.
18948         (verilog-defun-level-list, verilog-in-generate-region-p)
18949         (verilog-backward-ws&directives, verilog-calc-1): Speed up
18950         indentation of some module items (generate items).
18951         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
18952         across virtual/protected tasks and functions.
18954 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
18956         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
18957         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
18958         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
18959         in concatenations.  Reported by Yishay Belkind.
18960         (verilog-auto-ascii-enum): Support one-hot state machines in
18961         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
18962         (verilog-auto-inst, verilog-auto-inst-port): Include interface
18963         modport in AUTOINST and add vl-modport for users.
18964         Reported by David Rogoff.
18965         (verilog-auto-inout-module, verilog-auto-inst)
18966         (verilog-decls-get-interfaces, verilog-insert-definition)
18967         (verilog-insert-one-definition, verilog-read-decls)
18968         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
18969         (verilog-sig-modport, verilog-signals-combine-bus)
18970         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
18971         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
18972         Suggested by David Rogoff.
18973         (verilog-repair-open-comma): Fix non-insertion of comma when
18974         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
18975         (verilog-make-width-expression): Simplify [A-1:0] expression
18976         widths to just {A{1'b0}}.
18977         (verilog-mode): Cleanup checkdoc warnings.
18978         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
18979         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
18980         inputs/outputs or data type.  Suggested by Vasu Kandadi.
18981         (next-error-last-buffer): Fix byte-compiler warning.
18982         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
18983         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
18984         or shell command text during AUTO expansion.  Suggested by Tad Truex.
18985         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
18986         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
18987         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
18988         in AUTOINOUT.  Reported by Matthew Lovell.
18989         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
18990         causing use of <= assignments.  Reported by Alex Reed.
18991         (verilog-read-decls): Fix triand, trior, wand, wor to be
18992         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
18993         (verilog-extended-complete-re): Support import "DPI-C" functions.
18994         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
18995         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
18996         (verilog-insert-date, verilog-insert-year)
18997         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
18998         Windows systems.  Reported by Michael Potts.
18999         (verilog-read-module-name): Fix AUTOINST when the child module
19000         declaration's name is a tick define.  Reported by Elliot Mednick.
19001         (verilog-read-decls): Fix V2K parameter bit subscripts getting
19002         passed to next parameter's definition.  Reported by Bruce T.
19003         (verilog-read-decls): Fix detecting "parameter int" when using
19004         AUTOINSTPARAM.  Reported by Bruce T.
19005         (verilog-goto-defun): Fix goto not finding modules unless first
19006         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
19007         (verilog-mode): Expand -f flag arguments on entry to mode so
19008         verilog-goto-defun will work.  Reported by Lawrence Butcher.
19009         (verilog-getopt): Expand environment variables in -f file
19010         arguments.  Suggested by Lawrence Butcher.
19011         (verilog-set-define): Fix "Symbol's value as variable is void"
19012         when reading enumerations.
19013         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
19014         Suggested by Stephen Peltan.
19015         (verilog-read-defines): Fix reading of enumerations in include
19016         files.  Reported by Steve Peltan.
19018 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
19020         * files.el (trash-directory): Fix defcustom type.
19022 2009-06-28  Juri Linkov  <juri@jurta.org>
19024         * help-fns.el (describe-function-1): Correctly locate adviced
19025         functions in hyperlink (Bug#2438).
19027 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
19029         * files.el (trash-directory): Change default to nil.
19030         (move-file-to-trash): If trash-directory is nil and
19031         system-move-file-to-trash is unbound, perform freedesktop-style
19032         trashing.
19034 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
19036         * files.el (move-file-to-trash): Add freedesktop trash
19037         support (Bug#973).
19039 2009-06-28  Glenn Morris  <rgm@gnu.org>
19041         * autorevert.el (global-auto-revert-non-file-buffers)
19042         (global-auto-revert-mode): Doc fixes.
19044 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
19046         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
19048 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
19050         * faces.el (x-handle-named-frame-geometry): Ensure that we have
19051         opened an X connection before calling x-get-resource (Bug#3194).
19053         * play/doctor.el: Remove reference to obsolete website.
19054         (make-doctor-variables): Correct grammar mistake (Bug#2633).
19056 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
19058         Remove find-file-not-found-hook VC method.  (Bug#2757)
19059         * vc-hooks.el (vc-file-not-found-hook)
19060         (vc-default-find-file-not-found-hook): Remove functions.
19061         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
19062         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
19063         * vc.el:
19064         * vc-hg.el:
19065         * vc-git.el: Do not mention find-file-not-found-hook VC method.
19067 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
19069         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
19070         compatibility function for `looking-back'.
19072         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
19073         Use `ispell-looking-back'.
19075 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
19077         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
19078         rather than `filename'.
19080 2009-06-23  Miles Bader  <miles@gnu.org>
19082         * face-remap.el (text-scale-set): New function.
19084 2009-06-23  Glenn Morris  <rgm@gnu.org>
19086         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
19088         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
19090         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
19092         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
19094         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
19095         Simplify Persian conditionals.
19097         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
19098         variable `filename'.
19100         * comint.el (comint-insert-input): Doc fix.
19102         * Makefile.in (ELCFILES): Fix typo in previous change.
19104 2009-06-23  Miles Bader  <miles@gnu.org>
19106         * cus-start.el: Add entry for `recenter-redisplay'.
19108 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
19110         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
19111         Add an optional argument for the backend, use it instead of
19112         calling vc-backend.
19113         (vc-mode-line): Add an optional argument for the backend.
19114         Pass the backend to vc-state and vc-working-revision.  Move code for
19115         special handling for vc-state being a buffer to ...
19117         * vc-rcs.el (vc-rcs-find-file-hook):
19118         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
19120         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
19121         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
19122         vc-stay-local-p and vc-mode-line calls.
19124         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
19125         (vc-cvs-diff, vc-cvs-annotate-command)
19126         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
19127         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
19128         vc-mode-line calls.
19130         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
19131         direct comparison.
19132         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
19133         backend when calling vc-mode-line.
19134         (vc-register): Do not create a closure for calling the vc register
19135         function, call it directly.
19137 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
19139         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
19140         to make it obvious item can be clicked.
19142         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
19144 2009-06-23  Kenichi Handa  <handa@m17n.org>
19146         * language/korea-util.el (korean-key-bindings): Change the binding
19147         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
19148         same command.
19150 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
19152         Sync with Tramp 2.1.16.
19154         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
19156         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
19157         when a loading of a package fails.  Completion function for rsync
19158         is `tramp-completion-function-alist-ssh'.
19159         (all): Replace all calls of `split-string' and
19160         `tramp-split-string' by `tramp-compat-split-string'.
19161         (tramp-default-method): Use `tramp-compat-process-running-p'.
19162         (tramp-default-proxies-alist): Allow also Lisp forms.
19163         (tramp-remote-path): Add choice "Private Directories".
19164         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
19165         (tramp-domain-regexp): Allow also "-", "_" and ".".
19166         (tramp-end-of-output): Remove newlines, and add "$" at the end.
19167         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
19168         (tramp-debug-message): Insert header line in debug buffer.
19169         (tramp-handle-directory-files-and-attributes-with-stat):
19170         Care about filenames with spaces, or starting with "-".
19171         (tramp-handle-dired-uncache): New defun.
19172         (tramp-handle-insert-directory): Don't flush the directory from
19173         cache, this is handled by `dired-uncache' now.
19174         (tramp-handle-insert-file-contents): Improve error handling.
19175         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19176         Quote `tramp-end-of-output'.
19177         (tramp-action-password): Improve trace message.
19178         (tramp-check-for-regexp): Both echoes must be present, before removing.
19179         (tramp-open-connection-setup-interactive-shell): Trace coding system.
19180         (tramp-compute-multi-hops): Eval cons cells of
19181         `tramp-default-proxies-alist'.
19182         (tramp-maybe-open-connection): Use the same command pattern for
19183         first hop and further hops.
19184         (tramp-wait-for-output): Remove handling of newlines.
19185         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
19186         (tramp-split-string): Remove function.  It is handled in
19187         tramp-compat now.
19189         * net/tramp-cmds.el (tramp-bug):
19190         Recommend `tramp-cleanup-all-connections' in the bug mail.
19192         * net/tramp-compat.el (tramp-compat-split-string)
19193         (tramp-compat-process-running-p): New defuns.
19195         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
19196         for `dired-uncache'.
19198         * net/tramp-gvfs.el: New package.
19200         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
19201         Add handler for `dired-uncache'.
19202         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
19204         * net/trampver.el: Update release number.  Make version check fit
19205         for SXEmacs 22.
19207 2009-06-22  Jim Meyering  <meyering@redhat.com>
19209         Automatically handle .xz suffix (XZ-compressed files), too.
19210         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
19211         XZ is the successor to LZMA: <http://tukaani.org/xz/>
19213 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
19214             Nick Roberts  <nickrob@snap.net.nz>
19216         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
19217         repository (http://sphinx.net.ru/hg/gdb-mi/).
19219 2009-06-22  Glenn Morris  <rgm@gnu.org>
19221         * files.el (dir-locals-collect-mode-variables): Allow for any number of
19222         `mode' and `eval' entries.  (Bug#3430)
19224         * Makefile.in (ELCFILES): Add fadr.elc.
19226         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
19227         differing behavior of \n and ^ in strings.  (Bug#3385)
19229         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
19231         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
19232         property.
19233         (lisp-indent-function): Make it a defcustom.
19235 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
19237         * progmodes/gdb-ui.el: Replace with ...
19238         * progmodes/gdb-mi.el: ... this file.
19239         * progmodes/gud.el: Modify for gdb-mi.el.
19241 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
19243         * fadr.el: New file.
19245 See ChangeLog.14 for earlier changes.
19247 ;; Local Variables:
19248 ;; coding: utf-8
19249 ;; End:
19251   Copyright (C) 2009, 2010  Free Software Foundation, Inc.
19253   This file is part of GNU Emacs.
19255   GNU Emacs is free software: you can redistribute it and/or modify
19256   it under the terms of the GNU General Public License as published by
19257   the Free Software Foundation, either version 3 of the License, or
19258   (at your option) any later version.
19260   GNU Emacs is distributed in the hope that it will be useful,
19261   but WITHOUT ANY WARRANTY; without even the implied warranty of
19262   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19263   GNU General Public License for more details.
19265   You should have received a copy of the GNU General Public License
19266   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.