Merge from trunk
[emacs.git] / lisp / ChangeLog
blob240bf04b10fe96f04522916f60b88d4bd6381222
1 2010-11-19  Martin Rudalics  <rudalics@gmx.at>
3         * window.el (display-buffer-same-frame-specifiers)
4         (display-buffer-other-window-same-frame-specifiers): New
5         constants.
6         (display-buffer): Call display-buffer-function if it's non-nil.
7         (display-buffer-same-window, display-buffer-other-window)
8         (pop-to-buffer-other-window, switch-to-buffer-other-window):
9         Adjust doc-strings.
10         (display-buffer-same-frame)
11         (display-buffer-other-window-same-frame)
12         (pop-to-buffer-same-frame)
13         (pop-to-buffer-other-window-same-frame)
14         (switch-to-buffer-same-frame)
15         (switch-to-buffer-other-window-same-frame): New functions.
16         (display-buffer-function): Un-obsolete.
18         * bookmark.el (bookmark-bmenu-2-window): Use
19         pop-to-buffer-other-window.
20         (bookmark-bmenu-switch-other-window): Use
21         display-buffer-other-window.
23         * progmodes/etags.el (find-tag-other-window): New argument
24         other-frame. Call either pop-to-buffer-other-window or
25         pop-to-buffer-other-frame.
26         (find-tag-other-frame): Call find-tag-other-window with
27         other-frame argument t.
29         * speedbar.el (speedbar-find-file-in-frame)
30         (speedbar-buffer-click): Use pop-to-buffer-other-frame.
32         * term/ns-win.el (ns-find-file): Use pop-to-buffer-other-frame.
34 2010-11-19  Tassilo Horn  <tassilo@member.fsf.org>
36         * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
37         a \ref{} or \pageref{} macro, then use its value as initial input.
39 2010-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
41         * calc/calc-units.el (math-build-units-table-buffer):
42         calc/README: Mention that the TeX specific units won't use the
43         `tex' prefix in TeX mode.
44         calc/calc-lang.el (math-variable-table): Don't use the `tex'
45         prefix for units in TeX mode.
47 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
49         * simple.el (kill-new, kill-append, kill-region):
50         * comint.el (comint-kill-region): Make the yank-handler argument obsolete.
52 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
54         * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
55         that are both openers (resp. closers) and something else.
56         (smie-grammar): Loosen definition of valid values.
57         (smie-next-sexp, smie-down-list, smie-blink-matching-open)
58         (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
59         (smie-indent-after-keyword): Adjust users.
60         (smie-indent-keyword): Don't indent empty lines.
62         * vc-hg.el (vc-hg-program): New var.
63         Suggested by Norman Gray <norman@astro.gla.ac.uk>.
64         (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
66 2010-11-18  Glenn Morris  <rgm@gnu.org>
68         * emacs-lisp/autoload.el (autoload-find-destination): The function
69         coding-system-eol-type may return non-numeric values.  (Bug#7414)
71 2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
73         * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
75 2010-11-18  Eli Zaretskii  <eliz@gnu.org>
77         * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
79 2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
81         * textmodes/picture.el (picture-mouse-set-point): Don't use
82         posn-col-row; explicitly compute the motion based on the posn at
83         the window-start (Bug#7390).
85 2010-11-18  Glenn Morris  <rgm@gnu.org>
87         * novice.el (disabled-command-function):
88         Fix 2009-11-15 change.  (Bug#7384)
90 2010-11-18  Glenn Morris  <rgm@gnu.org>
92         * calendar/calendar.el (diary-iso-date-forms): Make elements
93         mutually exclusive.  (Bug#7377)
95 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
97         * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
98         when filling the remaining "unconstrained" values.
100 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
102         * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
103         safety predicate.
105         * files.el (safe-local-variable-p): Gracefully handle errors.
107         * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
108         Use smie-indent-virtual when indenting relative to an opener.
109         (smie-rule-separator): Use smie-rule-parent.
110         (smie-indent-keyword): Consult rules, even for openers at bol.
111         (smie-indent-comment-close): Try to align closer's content.
113 2010-11-18  Glenn Morris  <rgm@gnu.org>
115         * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
117 2010-11-18  Glenn Morris  <rgm@gnu.org>
119         * printing.el (pr-menu-bind): Doc fix.
121         * speedbar.el (speedbar-toggle-images): Doc fix.
123         * progmodes/python.el (python-shell): Doc fix.
125         * wid-edit.el (widget-field-use-before-change)
126         (widget-use-overlay-change): Doc fixes.
128 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
130         Minor cleanup to improve style.
131         * textmodes/rst.el (rst-update-section): Use point-marker.
132         (rst-get-decoration): Eliminate unneeded assignment.
133         (rst-promote-region, rst-straighten-decorations)
134         (rst-section-tree, rst-adjust): Use point-marker.
135         (rst-toc-mode-mouse-goto): Avoid setq.
136         (rst-shift-region-guts, rst-shift-region-left)
137         (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
138         (rst-convert-bullets-to-enumeration): Use copy-marker.
140         * minibuffer.el (completion-fail-discreetly): New var.
141         (completion--do-completion): Use it.
143         * electric.el (electric-pair-pairs): New var.
144         (electric-pair-post-self-insert-function): Use it.
145         (electric-layout-post-self-insert-function): Don't insert a before
146         newline unless it's actually needed.
148 2010-11-17  Martin Rudalics  <rudalics@gmx.at>
150         * window.el (display-buffer-split-window-1): Fix sizing for
151         internal windows which got broken by the last fix.
153         * progmodes/compile.el (compilation-minor-mode-map)
154         (compilation-mode-map): Replace bindings for quit-window by
155         bindings for quit-restore-window.
157 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
159         * progmodes/python.el (run-python): Explain why we remove the current
160         directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
162         * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
164 2010-11-16  Martin Rudalics  <rudalics@gmx.at>
166         * window.el (display-buffer-split-window-1)
167         (display-buffer-split-window): Rewrite so that windows are
168         always split evenly.
170 2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
172         * progmodes/octave-mod.el: Rely on elecric-*-modes.
173         (octave-mode-map): Don't bind ;, SPC, and LF.
174         (octave-auto-indent, octave-auto-newline): Remove.
175         (electric-layout-rules): Declare.
176         (octave-mode): Set electric-layout-rules.
177         (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
178         (octave-reindent-then-newline-and-indent, octave-electric-semi)
179         (octave-electric-space): Remove.
181         * electric.el (electric-layout-mode): New minor mode.
182         (electric--after-char-pos): New function.
183         (electric-indent-post-self-insert-function): Use it.
184         (electric-layout-rules): New var.
185         (electric-layout-post-self-insert-function): New function.
186         (electric-indent-mode): Make them interact better.
188 2010-11-15  Martin Rudalics  <rudalics@gmx.at>
190         * minibuffer.el (minibuffer-completion-help): Don't mark window
191         as dedicated, the quit-restore parameter should take care of
192         deleting the window.
193         (minibuffer-hide-completions): Use quit-restore-window instead
194         of bury-buffer.
196         * window.el (display-buffer-split-window-1): Remove max-size
197         argument and corresponding code.
198         (display-buffer-split-window): Remove handling of max-height and
199         max-width specifiers.  Restore the pre Emacs 24 behavior where a
200         single-window frame could be split ignoring the min-height
201         specifier (then split-height-threshold value).  For the
202         horizontal splitting, side equalling nil case call
203         display-buffer-split-window-1 with side argument set to 'right
204         instead of 'below, fixing a bug spotted by Štěpán Němec.
206 2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
208         * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
209         (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
210         (checkdoc-proper-noun-region-engine): Use with-syntax-table.
212 2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
214         * textmodes/flyspell.el (flyspell-generic-progmode-verify):
215         Make sure to check inside the word (Bug#6761).
217 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
219         * startup.el (command-line): If the cursorColor resource is set,
220         change the cursor face-spec (Bug#7392).
222 2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
224         The main features of the following allout.el changes are:
225         - implement user customization for the allout key bindings
226         - add a customization control by which the user can inhibit use of
227           a trailing Ctrl-H, so by default it's reserved for use with
228           describe-prefix-bindings
229         - adapt to new version of called-interactively-p, while
230           maintaining backwards compatibility with old version
231         - fix hotspot navigation so i works properly with meta-modified keys
233         * allout.el (allout-keybindings, allout-bind-keys)
234         (allout-keybindings-binding, allout-prefixed-keybindings)
235         (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
236         (allout-keybindings-list, allout-mode-map-adjustments)
237         (allout-setup-mode-map): Establish allout-mode keymaps as user
238         customizable settings, and also establish a customizable setting which
239         regulates whether or not a trailing control-h is reserved for use with
240         describe-prefix-bindings - and inhibit it by default, so that control-h
241         *is* reserved for describe-prefix-bindings unless the user changes it.
243         * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
244         and accurately between modified and unmodified events, and handle
245         modified events more comprehensively.
247         * allout.el (allout-substring-no-properties):
248         Alias to use or provide version of `substring-no-properties'.
249         (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
251         * allout.el (allout-next-single-char-property-change):
252         Alias to use or provide version of `next-single-char-property-change'.
253         (allout-annotate-hidden, allout-hide-by-annotation):
254         Use `allout-next-single-char-property-change'.
256         * allout.el (allout-select-safe-coding-system):
257         Alias to use or provide version of `select-safe-coding-system'.
258         (allout-toggle-subtree-encryption):
259         Use `allout-select-safe-coding-system'.
261         * allout.el (allout-set-buffer-multibyte):
262         Alias to use or provide version of `set-buffer-multibyte'.
263         (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
265         * allout.el (allout-called-interactively-p): Macro for using the
266         different versions of called-interactively-p identically, depending on
267         the subroutine's argument signature.
268         (allout-back-to-current-heading, allout-beginning-of-current-entry):
269         Use `(interactive "p")' instead of `(called-interactively-p)'.
271         * allout.el (allout-init, allout-ascend, allout-end-of-level)
272         (allout-previous-visible-heading, allout-forward-current-level)
273         (allout-backward-current-level, allout-show-children):
274         Use `allout-called-interactively-p' instead of `called-interactively-p'.
276         * allout.el (allout-before-change-handler):
277         Exempt edits to the (overlaid) character after the allout outline
278         bullet from edit confirmation prompt.
280         * allout.el (allout-add-resumptions):
281         Ensure that it respects correct buffer for keybindings.
283         * allout.el (allout-beginning-of-line):
284         Use `allout-previous-single-char-property-change' alias for the sake of
285         diverse compatibility.
287         * allout.el (allout-end-of-line):
288         Use `allout-mark-active-p' to encapsulate respect for mark activity.
290 2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
292         * frame.el (frame-notice-user-settings): Don't clobber other
293         user-set parameters when calling face-set-after-frame-default in
294         response to background-color parameter (Bug#7373).
296 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
298         * international/characters.el (glyphless-char-display-control):
299         Renamed from glyphless-char-control; all users changed.  Doc fix.
300         Signal an error if display method is not one of the recognized
301         symbols.
303 2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
305         * net/tramp-compat.el (tramp-compat-line-beginning-position)
306         (tramp-compat-line-end-position): Remove them.
308         * net/tramp.el (tramp-parse-rhosts-group)
309         (tramp-parse-shosts-group, tramp-parse-sconfig-group)
310         (tramp-parse-hosts-group, tramp-parse-passwd-group)
311         (tramp-parse-netrc-group, tramp-parse-putty-group)
312         * net/tramp-cmds.el (tramp-append-tramp-buffers)
313         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
314         (tramp-sh-handle-file-selinux-context)
315         (tramp-sh-handle-file-name-all-completions)
316         (tramp-sh-handle-insert-directory)
317         (tramp-sh-handle-expand-file-name, tramp-find-executable)
318         (tramp-wait-for-output, tramp-send-command-and-read)
319         * net/tramp-smb.el (tramp-smb-read-file-entry)
320         (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
322         * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
323         `point-at-bol'.
324         (tramp-remote-coding-commands): Add an alternative using "base64
325         -d -i".  This is needed for older base64 versions from GNU
326         coreutils.  Reported by Klaus Reichl
327         <Klaus.Reichl@thalesgroup.com>.
329 2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
331         * simple.el (count-words-region): New function.
333 2010-11-12  Martin Rudalics  <rudalics@gmx.at>
335         * window.el (display-buffer): Write check for dedicatedness
336         correctly in the same-window section.
337         (get-mru-window): Fix doc-string typo.
339 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
341         * shell.el (shell-dir-cookie-re): New custom variable.
342         (shell-dir-cookie-watcher): New function.
344         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
345         and compilation-mode (bug#7350).
347         * vc/smerge-mode.el (smerge-refine): Choose better default part to
348         highlight when one of them is empty.
350         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
351         trailing space.
352         (skeleton-newline): New function.
353         (skeleton-internal-1): Use it.
355         * simple.el (open-line): `newline' may strip trailing space.
357 2010-11-12  Kevin Ryde  <user42@zip.com.au>
359         * international/mule-cmds.el (princ-list): Use mapc.
361 2010-11-12  Glenn Morris  <rgm@gnu.org>
363         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
364         Use it to replace all instances of "*Compile-Log*"
366 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
368         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
369         indentation specs.
371 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
373         * progmodes/modula2.el: Use SMIE and skeleton.
374         (m2-mode-syntax-table): (*..*) can be nested.
375         Add //...\n.  Fix paren syntax.
376         (m2-mode-map): Remove LF and TAB bindings.
377         (m2-indent): Add safety property.
378         (m2-smie-grammar): New var.
379         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
380         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
381         (m2-mode): Use define-derived-mode.
382         (m2-newline, m2-tab): Remove.
383         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
384         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
385         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
386         (m2-import): Use define-skeleton.
388 2010-11-11  Glenn Morris  <rgm@gnu.org>
390         * obsolete/lucid.el: Don't warn about any CL functions in this file.
392         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
393         (ls-lisp-verbosity): Add custom :set-after property.
394         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
395         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
396         (ls-lisp-insert-directory): Update caller.
397         (ls-lisp-set-options): New function.
398         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
399         Doc fix.
401         * play/landmark.el (lm-prompt-for-move):
402         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
404         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
406         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
407         (idlwave-study-twins): Prefix dynamic local variable `name'.
408         (idlwave-routine-twin-compare): Update for above change.
410         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
411         Prefix dynamic local variables `name', `kwd', and `link'.
412         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
413         * progmodes/idlw-complete-structtag.el
414         (idlwave-complete-structure-tag-help):
415         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
416         (idlwave-complete-sysvar-tag-help)
417         (idlwave-complete-class-structure-tag-help):
418         Update for above name changes.
420 2010-11-10  Martin Rudalics  <rudalics@gmx.at>
422         * help.el (with-help-window): In doc-string say how to set up
423         temp-buffer-show-specifiers.
425         * isearch.el (isearch-help-for-help, isearch-describe-bindings)
426         (isearch-describe-key, isearch-describe-mode): Replace bindings
427         for same-window-buffer-names and same-window-regexps by binding
428         temp-buffer-show-specifiers instead.
430         * international/mule-diag.el (mule-diag):
431         * calc/calc-help.el (calc-describe-key, calc-full-help):
432         * printing.el (pr-show-setup):
433         * progmodes/python.el (python-describe-symbol):
434         * textmodes/table.el (*table--cell-describe-mode)
435         (*table--cell-describe-bindings):
436         * tutorial.el (tutorial--describe-nonstandard-key)
437         (tutorial--detailed-help):
438         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
439         * play/yow.el (apropos-zippy): Use with-help-window.
441         * apropos.el (apropos-command): Remove the message calculation part.
442         (apropos-print): Use with-help-window
444         * woman.el (woman-mini-help): Remove the message calculation part.
445         (woman-display-extended-fonts): Use with-help-window.
447 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
449         * net/browse-url.el (browse-url-browser-function): Change the
450         default to use `browse-url-mail' on mailto: URLs.
452 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
454         * emacs-lisp/package.el (package-read-all-archive-contents):
455         Reset package-archive-contents to nil before re-reading.
457 2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
459         * textmodes/flyspell.el (flyspell-word): Do not re-check words
460         already found as misspellings by (flyspell-large-region), just
461         do highlighting (bug#7322).
463 2010-11-10  Glenn Morris  <rgm@gnu.org>
465         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
467         * emulation/edt.el (edt-with-position): New macro.
468         (edt-find-forward, edt-find-backward, edt-find-next-forward)
469         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
470         (edt-paragraph-forward, edt-paragraph-backward): Use it.
472         * emulation/tpu-extras.el (tpu-with-position): New macro.
473         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
475         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
477         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
478         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
479         (texinfo-master-menu, texinfo-insert-node-lines)
480         (texinfo-multiple-files-update):
481         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
482         Use line-beginning-position.
484         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
485         No recent Emacs supports system-type `emx'.
487         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
488         (ada-command-separator, ada-default-prj-properties)
489         (ada-find-any-references): Update for above name change.
491         * dirtrack.el (dirtrack-directory-function)
492         (dirtrack-canonicalize-function):
493         * filecache.el (file-cache-completion-ignore-case)
494         (file-cache-case-fold-search, file-cache-ignore-case):
495         * term.el (serial-port-is-file-p): Cosmetic change.
497         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
498         Remove non-existent `windows-95' system-type.
499         * dired.el (dired-chown-program): Remove non-existent `linux'
500         system-type.
502         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
503         (ping-program-options): Remove non-existent `linux' system-type.
505         * startup.el (package-initialize): Update declaration.
507         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
508         (ls-lisp-handle-switches): Use time-less-p.
509         (ls-lisp-format-time): Use float-time.
511         * textmodes/remember.el (remember-time-to-seconds): Remove.
512         (remember-store-in-mailbox): Use float-time.
514         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
516         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
517         never a real function.
518         (with-no-warnings): Remove compat stub, now unused.
519         (time-less-p): Doc fix.
520         (time-to-number-of-days): Simplify.
522         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
523         Remove.
524         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
525         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
526         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
527         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
528         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
530         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
531         (eshell-shuffle-files, eshell-shorthand-tar-command)
532         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
533         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
534         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
535         Prefix dynamic local variable `matches'.
537         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
538         Prefix dynamic local variable `skeleton'.
540 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
542         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
543         in mail buffer; make yank-action always a command that yanks original
544         buffer.
546 2010-11-09  Glenn Morris  <rgm@gnu.org>
548         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
550 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
552         * minibuffer.el (minibuffer-completion-help): Specify the end of the
553         completion field (bug#7211).
555         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
556         Fix handling of backslash escapes.
557         (python-quote-syntax): Adjust accordingly.
559 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
561         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
562         (vc-mtn-workfile-branch): Adjust to new output format.
564 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
566         * international/mule-cmds.el (princ-list): Mark as obsolete.
568 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
570         * emacs-lisp/smie.el: New package.
572 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
574         * files.el (backup-by-copying-when-mismatch):
575         Set `permanent-local' property.
577         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
578         `permanent-local' property for `backup-by-copying-when-mismatch'.
580 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
582         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
584 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
586         * progmodes/verilog-mode.el (verilog-insert-one-definition)
587         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
588         AUTOINOUT for SV style multidimensional arrays, bug294.
589         Reported by Eric Mastromarchi.
590         (verilog-preprocess): Use with-current-buffer and
591         font-lock-fontify-buffer to cleanup style issues.
593 2010-11-09  Glenn Morris  <rgm@gnu.org>
595         * locate.el (locate, locate-mode): Doc fixes.
597 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
599         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
600         user for confirmation.
601         (server-force-stop): Use it.
602         (server-start): Use server-force-stop for kill-emacs-hook, to
603         avoid user interaction while killing Emacs.
605 2010-11-09  Glenn Morris  <rgm@gnu.org>
607         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
608         (meta-indent-line): Simplify.
610         * vc/emerge.el (emerge-line-number-in-buf):
611         * textmodes/ispell.el (ispell-region):
612         * textmodes/fill.el (current-fill-column):
613         * progmodes/xscheme.el (xscheme-send-current-line):
614         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
615         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
616         * progmodes/sh-script.el (sh-handle-prev-do):
617         * progmodes/meta-mode.el (meta-indent-line):
618         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
619         (idlwave-in-quote):
620         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
621         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
622         * progmodes/fortran.el (fortran-looking-at-if-then):
623         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
624         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
625         (cperl-find-pods-heres):
626         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
627         * net/quickurl.el (quickurl-list-insert):
628         * net/ldap.el (ldap-search-internal):
629         * net/eudc.el (eudc-expand-inline):
630         * mail/sendmail.el (sendmail-send-it):
631         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
632         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
633         (viper-brac-function):
634         * calc/calc-yank.el (calc-do-grab-region):
635         * calc/calc-keypd.el (calc-keypad-press):
636         * term.el (term-move-columns, term-insert-spaces):
637         * speedbar.el (speedbar-highlight-one-tag-line):
638         * simple.el (current-word):
639         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
640         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
641         (Info-scroll-down):
642         * hippie-exp.el (he-line-beg):
643         * epa.el (epa--marked-keys):
644         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
645         (dired-update-file-line, dired-add-entry, dired-remove-entry)
646         (dired-relist-entry):
647         * buff-menu.el (Buffer-menu-buffer):
648         * array.el (current-line):
649         * allout.el (allout-resolve-xref)
650         (allout-latex-verbatim-quote-curr-line):
651         Replace yet more uses of end-of-line etc with line-end-position, etc.
653 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
655         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
656         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
657         (checkdoc-syntax-table): Initialize in the declaration.
658         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
659         the mode on unconditionally.
661         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
662         (extent-end-position, extent-start-position): Remove setf method for
663         non-existing functions (bug#7319).
665 2010-11-07  Martin Rudalics  <rudalics@gmx.at>
667         * ielm.el (top-level): Remove autoloaded add-hook for
668         same-window-buffer-names.
669         (ielm): Use pop-to-buffer-same-window.
671         * progmodes/inf-lisp.el (inferior-lisp): Use
672         pop-to-buffer-same-window.
673         (top-level): Remove autoloaded add-hook for
674         same-window-buffer-names.
675         (switch-to-lisp): Use pop-to-buffer with tailored specifiers.
677         * replace.el (occur-mode-goto-occurrence): Use
678         pop-to-buffer-other-window.
679         (occur-mode-display-occurrence): Use
680         display-buffer-other-window.
682         * shell.el (shell): Use pop-to-buffer-same-window.
683         (top-level): Remove autoloaded add-hook for
684         same-window-buffer-names.
686         * net/rlogin.el: (top-level): Remove autoloaded add-hook for
687         same-window-regexps.
688         (rlogin): Use pop-to-buffer-same-window.
690         * net/telnet.el (top-level): Remove two autoloaded add-hooks for
691         same-window-regexps.
692         (telnet, rsh): Use pop-to-buffer-same-window.
694 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
696         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
697         (smie-precs->prec2): Rename from smie-precs-precedence-table.
698         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
699         (smie-prec2->grammar): Rename from smie-prec2-levels.
700         (smie-grammar): Rename from smie-op-levels.
701         (smie-indent--hanging-p): Rename from smie-hanging-p.
702         (smie-rule-hanging-p): New alias.
703         (smie-indent--bolp): Rename from smie-bolp.
704         (smie-indent--hanging-p): New alias.
705         (smie--token): New dynamically bound variable.
706         (smie-indent--parent): New function.
707         (smie-rule-parent-p): Use it; rename from smie-parent-p.
708         (smie-rule-next-p): Rename from smie-next-p.
709         (smie-rule-prev-p): Rename from smie-prev-p.
710         (smie-rule-sibling-p, smie-rule-parent)
711         (smie-indent--separator-outdent, smie-rule-separator): New functions.
712         (smie-rule-separator-outdent): New var.
713         (smie-indent--rule): Merge with smie-indent--column.
714         (smie-indent-forward-token, smie-indent-backward-token):
715         Also recognize close parens.
716         (smie-indent-keyword): Don't use smie-indent--column any more.
717         (smie-indent-after-keyword): Ignore closers by default.
718         (smie-indent-line): Use with-demoted-errors.
719         * progmodes/octave-mod.el (octave-smie-grammar):
720         Rename from octave-smie-op-levels.
721         (octave-smie-rules): Adjust to new behavior.
722         * progmodes/prolog.el (prolog-smie-grammar):
723         Rename from prolog-smie-op-levels.
725 2010-11-07  Glenn Morris  <rgm@gnu.org>
727         * eshell/esh-util.el (subst-char-in-string)
728         (directory-files-and-attributes): These compatibility definitions are
729         not needed on any version of Emacs since at least 21.4.
731         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
732         (verilog-get-end-of-line): Remove.
733         (verilog-within-string, verilog-re-search-forward-substr)
734         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
735         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
736         Use point-at-bol, point-at-eol.
737         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
738         Remove.
739         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
740         (electric-pascal-terminate-line, pascal-set-auto-comments)
741         (pascal-indent-paramlist, pascal-indent-declaration)
742         (pascal-get-lineup-indent, pascal-func-completion)
743         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
744         Use point-at-bol, point-at-eol.
745         * progmodes/flymake.el (flymake-line-beginning-position)
746         (flymake-line-end-position): Remove.
747         (flymake-highlight-line): Use point-at-bol, point-at-eol.
748         * eshell/esh-util.el (line-end-position, line-beginning-position):
749         Remove compat definitions.
751         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
752         Use end-of-line N.
753         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
754         Use line-end-position.
756         * emacs-lisp/chart.el (chart-zap-chars):
757         * play/decipher.el (decipher-set-map):
758         * progmodes/ada-mode.el (ada-get-current-indent)
759         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
760         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
761         * progmodes/ada-xref.el (ada-initialize-runtime-library)
762         (ada-get-all-references):
763         * progmodes/cperl-mode.el (cperl-electric-paren)
764         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
765         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
766         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
767         (cperl-word-at-point-hard):
768         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
769         (idlwave-shell-filename-string, idlwave-shell-batch-command)
770         (idlwave-shell-display-line):
771         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
772         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
773         * progmodes/js.el (js--re-search-forward-inner)
774         (js--re-search-backward-inner):
775         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
776         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
777         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
778         * textmodes/flyspell.el (flyspell-process-localwords):
779         * textmodes/ispell.el (ispell-buffer-local-parsing)
780         (ispell-buffer-local-dict, ispell-buffer-local-words):
781         Use point-at-bol and point-at-eol.
783         * speedbar.el (speedbar-generic-item-info)
784         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
785         (speedbar-add-indicator, speedbar-check-vc-this-line)
786         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
787         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
788         Replace more uses of end-of-line etc with line-end-position.
790 2010-11-06  Martin Rudalics  <rudalics@gmx.at>
792         * mail/sendmail.el (mail-bury): Do something similar to
793         quit-restore-window.
794         (top-level): Don't change same-window-buffer-names via add-hook
795         any more.
796         (mail): Use pop-to-buffer-same-window.
797         (mail-other-window): Use pop-to-buffer-other-window.
798         (mail-other-frame): Use pop-to-buffer-other-frame.
800         * simple.el (display-message-or-buffer): Rename argument FRAME
801         to IGNORE because it's ignored.  Change call to display-buffer
802         accordingly.
803         (sendmail-user-agent-compose): Remove let bindings around call
804         to switch-function; the latter should have been bound to an
805         appropriate function already.
806         (clone-buffer): Call pop-to-buffer-other-window.
807         (clone-indirect-buffer): New semantices of display-flag
808         argument.
809         (clone-indirect-buffer-other-window): Interactively set
810         display-flag to 'other-window.
812         * calendar/solar.el (sunrise-sunset): Use with-help-window instead
813         of with-output-to-temp-buffer.
815         * textmodes/bibtex.el (bibtex-search-entry): Use
816         pop-to-buffer-same-window.
818         * cmuscheme.el (run-scheme): Use pop-to-buffer-same-window.
819         (top-level): Remove autoloaded add-hook for
820         same-window-buffer-names.
822         * eshell/eshell.el (eshell-add-to-window-buffer-names)
823         (eshell-remove-from-window-buffer-names): Remove.
824         (eshell-unload-hook): Don't call
825         eshell-remove-from-window-buffer-names.
826         (eshell-buffer-name): Don't call
827         eshell-remove-from-window-buffer-names and
828         eshell-add-to-window-buffer-names.
829         (top-level): Remove eshell-deftest call to check for
830         same-window-buffer-names.
831         (eshell): Call pop-to-buffer-same-window.
833         * files.el (display-buffer-other-frame): Remove.
835 2010-11-06  Glenn Morris  <rgm@gnu.org>
837         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
838         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
839         (texinfo-delete-existing-pointers, texinfo-find-pointer)
840         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
841         (texinfo-multiple-files-update):
842         * textmodes/table.el (table--probe-cell-left-up)
843         (table--probe-cell-right-bottom):
844         * textmodes/picture.el (picture-tab-search):
845         * textmodes/page-ext.el (pages-copy-header-and-position)
846         (pages-directory-for-addresses):
847         * progmodes/vera-mode.el (vera-get-offset):
848         * progmodes/simula.el (simula-calculate-indent):
849         * progmodes/python.el (python-pdbtrack-overlay-arrow):
850         * progmodes/prolog.el (end-of-prolog-clause):
851         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
852         * progmodes/icon.el (indent-icon-exp):
853         * progmodes/etags.el (tag-re-match-p):
854         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
855         * progmodes/ebnf2ps.el (ebnf-begin-file):
856         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
857         (dcl-save-local-variable):
858         * play/life.el (life-setup):
859         * play/gametree.el (gametree-looking-at-ply):
860         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
861         * mail/sendmail.el (mail-mode-auto-fill):
862         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
863         * emacs-lisp/edebug.el (edebug-overlay-arrow):
864         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
865         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
866         (woman-tab-to-tab-stop, WoMan-warn-ignored):
867         * type-break.el (type-break-file-keystroke-count):
868         * term.el (term-replace-by-expanded-history-before-point)
869         (term-skip-prompt, term-extract-string):
870         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
871         (speedbar-contract-line, speedbar-toggle-line-expansion)
872         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
873         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
874         * sort.el (sort-skip-fields):
875         * skeleton.el (skeleton-internal-list):
876         * simple.el (line-move-finish, line-move-to-column):
877         * shell.el (shell-forward-command):
878         * misc.el (copy-from-above-command):
879         * makesum.el (double-column):
880         * ebuff-menu.el (electric-buffer-update-highlight):
881         * dired.el (dired-move-to-end-of-filename):
882         * dframe.el (dframe-popup-kludge):
883         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
884         * arc-mode.el (archive-get-lineno):
885         Use line-end-position and line-beginning-position.
887         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
888         (idlwave-study-twins): Prefix dynamic local `class'.
889         (idlwave-routine-twin-compare): Update for above name change.
891         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
892         Use boundp tests to silence compiler.  Update for changed name of
893         bytecomp-filename variable.
895         * emulation/viper-cmd.el (viper-read-string-with-history):
896         Prefix dynamic local `initial'.
897         (viper-minibuffer-standard-hook): Update for above name change.
899         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
900         (elint-init-form): Update for above name change.
902         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
903         local variables `cbeg' and `cend' a prefix.
904         (mail-extr-voodoo): Update for above name change.
906         * textmodes/reftex-toc.el (reftex-toc-do-promote)
907         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
908         (reftex-toc-promote-action): Doc fix.
910         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
911         `prompt', `data' a prefix.
912         (reftex-select-post-command-hook, reftex-select-callback)
913         (reftex-select-mouse-accept, reftex-select-read-cite):
914         Update for above name changes.
916         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
917         `refstyle' to reftex-refstyle.
918         (reftex-offer-label-menu): Update for above name change.
919         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
920         `refstyle' name change.
922         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
923         with with-current-buffer.
924         (diff, template): Give dynamic local variables a prefix.
925         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
926         (emerge-line-number-in-buf): Update for above name change.
927         (emerge-combine-versions-internal): Rename local `template' to
928         emerge-combine-template.
929         (emerge-combine-versions-edit): Update for above name change.
931 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
933         * textmodes/reftex-cite.el
934         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
935         entries with whitespace after \bibitem.
936         (reftex-create-bibtex-file): Match entries containing numbers and
937         symbol constituents.  Make sure that entries with whitespace at
938         various places are found.
940 2010-11-05  Martin Rudalics  <rudalics@gmx.at>
942         * window.el (display-buffer-even-sizes)
943         (display-buffer-adjust-height, display-buffer-adjust-width)
944         (display-buffer-in-new-window, kill-buffer-and-window): Use
945         ignore-errors instead of condition-case.
947         * electric.el (Electric-pop-up-window): Use buffer display
948         specifiers.
950         * emacs-lisp/elint.el (elint-display-log): Use
951         display-buffer-other-window.
953         * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame): Use buffer
954         display specifiers.
956         * printing.el (pr-file-list): Comment out bindings of
957         pop-up-windows and pop-up-frames.
959         * mail/reporter.el (reporter-submit-bug-report): Use
960         pop-to-buffer-other-window and display specifiers.
962 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
964         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
966 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
968         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
970 2010-11-05  Glenn Morris  <rgm@gnu.org>
972         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
973         (woman2-roff-buffer): Give local variable `request' a prefix.
974         (woman0-macro): Rename argument `request' in the same way.
975         (woman-request): New name for `request' dynamic variable.
976         (woman-unquote, woman-forward-arg): Update for above name change.
977         (woman1-roff-buffer): Give local variable `unquote' a prefix.
978         (woman1-unquote): New name for `unquote' dynamic variable.
979         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
980         (woman-translations): Rename from `translations'.  No longer global.
981         (woman2-tr, woman-translate): Update for above name change.
982         (woman-translate): Check for bound variable.
983         (woman2-roff-buffer): Give local variable `translations' a prefix.
985         * play/doctor.el: Give all local variables a prefix.  Update callers.
986         (doc$, doctor-put-meaning): Use backquote.
988         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
989         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
991         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
992         variables bytes, ptr, op a prefix.
993         (disassemble-offset): Update for above change.
995 2010-11-04  Martin Rudalics  <rudalics@gmx.at>
997         * window.el (display-buffer-names, display-buffer-regexps): Make
998         even-window-sizes a seperate specifier.  Allow numbers and
999         functions in the cdr of the adjust-height specifier and remove
1000         even-window-heights and the special handling of
1001         fit-window-to-buffer and shrink-window-if-larger-than-buffer.
1002         Add new specifier adjust-width similar to adjust-height.
1003         (display-buffer-normalize-specifiers-1): Fix typo.
1004         (display-buffer-even-sizes, display-buffer-adjust-height)
1005         (display-buffer-adjust-width): New functions to handle size
1006         adjustment of new window.
1007         (display-buffer-adjust-heights): Remove.
1008         (display-buffer-in-window): Don't call
1009         display-buffer-adjust-heights any more.
1010         (display-buffer-in-lru-buffer-window)
1011         (display-buffer-in-lru-window): Call display-buffer-even-sizes.
1012         (display-buffer-in-new-window): Use functionp instead of
1013         fboundp.  Call display-buffer-adjust-height and
1014         display-buffer-adjust-width.
1015         (display-buffer): Use functionp instead of fboundp.
1016         (fit-window-to-buffer): Rename argument IGNORE to OVERRIDE.
1018         * progmodes/compile.el (compilation-start)
1019         (compilation-goto-locus): Use adjust-height specifier in
1020         display-buffer calls.
1022         * buff-menu.el (Buffer-menu-switch-other-window)
1023         (Buffer-menu-2-window): Use buffer display specifiers.
1025         * cus-edit.el (top-level): Remove autoloaded add-hook for
1026         same-window-regexps.
1027         (customize-group, customize-face): New optional argument
1028         OTHER-WINDOW.  Use buffer display specifiers.  Call
1029         custom-buffer-create with OTHER-WINDOW argument t.
1030         (customize-group-other-window): Call customize-group with
1031         OTHER-WINDOW argument t.
1032         (customize-face-other-window): Call customize-face with
1033         OTHER-WINDOW argument t.
1034         (custom-buffer-create): New optional argument OTHER-WINDOW.
1035         (custom-buffer-create-other-window): Call
1036         pop-to-buffer-other-window.
1037         (customize-browse): Call pop-to-buffer-same-window.
1039         * play/decipher.el (decipher-display-range): Use
1040         pop-to-buffer-other-window.
1041         (decipher-display-stats-buffer): Use
1042         display-buffer-other-window.
1044         * vc/ediff-util.el (ediff-clone-buffer-for-region-comparison):
1045         Use pop-to-buffer-other-window.
1047         * ehelp.el (with-electric-help): Use pop-to-buffer-other-window.
1049 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
1051         * emacs-lisp/package.el (package-unpack): Remove no-op.
1052         (package--builtins, package--dir): Doc fix.
1053         (package-activate-1, package-activate, package-install)
1054         (package-compute-transaction): Fix error message.
1055         (package-delete): Use delete-directory.  Omit system packages.
1056         (package-initialize): Set package-alist to nil first.
1057         (package-menu-mark-delete, package-menu-mark-install): Don't add
1058         symbols that are inconsistent with the package state.
1059         (package-menu-execute): Perform deletions and installations as
1060         single batch operations.
1062 2010-11-03  Glenn Morris  <rgm@gnu.org>
1064         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
1065         (props): Remove unnecessary declaration.
1067         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
1068         set-process-query-on-exit-flag.
1070         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
1071         (reftex-toc-do-promote): Remove unused local `mpos'.
1072         (reftex-toc-restore-region): Make `mpos' local to this function.
1074         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
1076         * play/landmark.el (lm-losing-threshold): Correct spelling.
1077         (lm-human-plays): Use new name.
1079         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
1080         (gomoku-human-plays): Use new name.
1082         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
1083         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
1084         (gomoku-score-trans-table, gomoku-winning-threshold)
1085         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
1087 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
1089         * emacs-lisp/package.el: Don't put built-in packages in
1090         package-alist, to avoid loading inefficiencies.
1091         (package-built-in-p): Make VERSION optional, and treat it as a
1092         minimum acceptable version.
1093         (package-activate): Search separately for built-in packages.  Emit
1094         a warning if a dependency fails.
1095         (define-package): Handle most common case, where there is no
1096         obsolete package, first.
1097         (package-compute-transaction): Print required version in error.
1098         (package--initialized): New variable.
1099         (list-packages): Use it.
1100         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
1101         built-in packages in packages-alist; keep it separate.  Set
1102         package--initialized.
1103         (describe-package): Avoid activating packages as a side-effect.
1104         Search separately for built-in packages.
1105         (describe-package-1): Handle the case where an elpa package is
1106         simultaneously built-in and available/installed.
1107         (package-installed-p, package--generate-package-list): Search
1108         separately for built-in packages.
1109         (package-load-descriptor): Doc fix.
1111 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1113         * progmodes/perl-mode.el (perl-syntax-propertize-function):
1114         Handle __DATA__ and __END__.
1116 2010-11-02  Martin Rudalics  <rudalics@gmx.at>
1118         * window.el (display-buffer-names): Describe `not-this-window' and
1119         `not-this-frame' specifiers in doc-string.
1120         (display-buffer-in-lru-buffer-window)
1121         (display-buffer-in-lru-window, display-buffer-in-new-window):
1122         Handle `not-this-window' and `not-this-frame' specifiers when
1123         their cdr specifies a window or a frame.
1124         (display-buffer): Explain in doc-string that the cdr of the
1125         `not-this-window' and `not-this-frame' specifiers argument can
1126         name a window.
1128         * progmodes/compile.el (compilation-start): When displaying outbuf
1129         directly pass height parameters.
1130         (compilation-goto-locus): Use specifiers in display-buffer and
1131         pop-to-buffer calls.  Simplify.
1132         (compilation-find-file): Use specifiers in display-buffer calls.
1134 2010-11-02  Noah Friedman  <friedman@splode.com>
1136         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
1137         nil, do not ask to recompile files that are not already compiled,
1138         and do not recompile them.
1140 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
1142         * emacs-lisp/package.el (package-initialize): Ensure that
1143         obsoleted built-in packages are not in package-activated-list
1144         during activation.
1145         (describe-package-1): Make the "installed" status override
1146         "built-in".
1148 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
1150         * subr.el (version-separator, version-regexp-alist): Remove '*'
1151         from docstring.
1152         (version-list-<=, version<=, version=): Doc fix.
1154 2010-11-01  Kenichi Handa  <handa@m17n.org>
1156         * faces.el (glyphless-char): Inherit underline for tty.
1158 2010-11-01  Kenichi Handa  <handa@m17n.org>
1160         Implement various display methods for glyphless characters.
1162         * international/characters.el (char-acronym-table): New variable.
1163         (glyphless-char-control): New variable.
1164         (update-glyphless-char-display): New funciton.
1166         * faces.el (glyphless-char): New face.
1168 2010-11-01  Glenn Morris  <rgm@gnu.org>
1170         * calendar/holidays.el (general-holidays, oriental-holidays)
1171         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
1172         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
1173         the definitions of their targets.
1175         * emacs-lisp/smie.el (smie): New custom group.
1176         (smie-blink-matching-inners, smie-indent-basic): Add :group.
1178         * faces.el (xw-defined-colors, x-setup-function-keys):
1179         * mouse-sel.el (x-select-text):
1180         * term/w32console.el (x-setup-function-keys): Update declarations.
1182         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
1184         * textmodes/ispell.el (comment-add): Declare.
1186         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
1187         Declare.
1189         * info.el (finder-keywords-hash, package-alist): Declare.
1191 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
1193         * finder.el (finder-compile-keywords): Don't use intern-soft,
1194         since package names may not yet exist in the obarray.
1196 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
1198         * vc/vc-arch.el (vc-arch-checkin):
1199         * vc/vc-cvs.el (vc-cvs-checkin):
1200         * vc/vc-mtn.el (vc-mtn-checkin):
1201         * vc/vc-rcs.el (vc-rcs-checkin):
1202         * vc/vc-sccs.el (vc-sccs-checkin):
1203         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
1204         since 2010-04-21 commit by Stefan Monnier.
1206 2010-11-01  Glenn Morris  <rgm@gnu.org>
1208         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
1210         * startup.el (package-enable-at-startup, package-initialize):
1211         Silence compiler.
1213         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
1214         Silence compiler.
1216 2010-10-31  Julien Danjou  <julien@danjou.info>
1218         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
1219         (byte-recompile-directory):
1220         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
1221         Use `byte-recompile-file'.
1223 2010-10-31  Glenn Morris  <rgm@gnu.org>
1225         * cus-start.el: Handle standard values via a keyword.
1226         Only set version property if specified.
1227         (cursor-in-non-selected-windows, menu-bar-mode)
1228         (tool-bar-mode, show-trailing-whitespace):
1229         Do not specify standard values.
1230         (transient-mark-mode, temporary-file-directory): Use :standard.
1232 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
1234         * term/x-win.el (x-get-selection-value): New function that gets
1235         PRIMARY with type as specified in x-select-request-type. (Bug#6802).
1237 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
1239         * net/tramp.el (tramp-handle-insert-file-contents): For root,
1240         preserve owner and group when editing files.  (Bug#7289)
1242 2010-10-31  Glenn Morris  <rgm@gnu.org>
1244         * speedbar.el (speedbar-mode):
1245         * play/fortune.el (fortune-in-buffer, fortune):
1246         * play/gomoku.el (gomoku-mode):
1247         * play/landmark.el (lm-mode):
1248         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
1249         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
1251         * select.el (x-selection): Mark it as an obsolete alias.
1253 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
1255         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
1256         major-mode (bug#7284).
1258 2010-10-31  Glenn Morris  <rgm@gnu.org>
1260         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
1261         rather than just an unused variable that inherits from the real one.
1263 2010-10-31  Alan Mackenzie  <acm@muc.de>
1265         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
1266         This fixes bug #7185.
1268 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
1270         * startup.el (command-line): Search for package directories, and
1271         don't load package.el if none are found.
1273         * emacs-lisp/package.el (describe-package, list-packages): Call
1274         package-initialize if it has not been called yet.
1276 2010-10-30  Alan Mackenzie  <acm@muc.de>
1278         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
1279         which fontifies the tail of an enum.
1280         (c-basic-matchers-after): Insert a call to the above new function.
1281         This fixes bug #7264.
1283 2010-10-30  Glenn Morris  <rgm@gnu.org>
1285         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
1286         tool-bar-mode, transient-mark-mode.  (Bug#7306)
1287         Include the :set property in the dumped Emacs.
1289 2010-10-30  Martin Rudalics  <rudalics@gmx.at>
1291         * window.el (window-deletable-p, quit-restore-window): Adapt to
1292         new quit-restore semantics.
1293         (split-window-quit-restore): Remove.
1294         (split-window-vertically, split-window-horizontally):
1295         Unconditionally copy quit-restore parameter to new window.
1296         (display-buffer-names): Mention quit-restore window parameter.
1297         (display-buffer-window-and-buffer): Rename to
1298         display-buffer-window and rewrite doc-string.
1299         (display-buffer-in-window, display-buffer-in-lru-buffer-window)
1300         (display-buffer-in-lru-window, display-buffer-in-new-window)
1301         (display-buffer-in-new-frame, display-buffer): Move quit-restore
1302         parameter handling from display-buffer-in-window to the callers.
1303         Set display-buffer-window.
1305         * help.el (help-window-setup, with-help-window): Use
1306         display-buffer-window insted of display-buffer-window-and-buffer
1307         and adapt to new semantics of the former.
1309 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1311         SMIE: change indent rules format, improve smie-setup.
1312         * emacs-lisp/smie.el (smie-precs-precedence-table)
1313         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
1314         Mark them pure so the tables gets built at compile time.
1315         (smie-bnf-precedence-table): Store the closer-alist in the table.
1316         (smie-prec2-levels): Preserve the closer-alist.
1317         (smie-blink-matching-open): Be more forgiving in case of indentation.
1318         (smie-hanging-p): Rename from smie-indent--hanging-p.
1319         (smie-bolp): Rename from smie-indent--bolp.
1320         (smie--parent, smie--after): New dynamic vars.
1321         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
1322         (smie-indent-rules): Remove.
1323         (smie-indent--offset-rule): Remove fun.
1324         (smie-rules-function): New var.
1325         (smie-indent--rule): New fun.
1326         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
1327         (smie-indent-exps): Use it.
1328         (smie-setup): Setup paren blinking; add keyword args for token
1329         functions; extract closer-alist from op-levels.
1330         (smie-indent-debug-log): Remove var.
1331         (smie-indent-debug): Remove fun.
1332         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
1333         (prolog-smie-rules): New fun to replace it.
1334         (prolog-mode-variables): Simplify.
1335         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
1336         it's setup automatically.
1337         (octave-smie-indent-rules): Remove.
1338         (octave-smie-rules): New fun to replace it.
1339         (octave-mode): Simplify.
1341 2010-10-29  Glenn Morris  <rgm@gnu.org>
1343         * files.el (temporary-file-directory): Remove (already defined in C).
1344         * cus-start.el: Add temporary-file-directory.
1346         * abbrev.el (abbrev-mode):
1347         * composite.el (auto-composition-mode):
1348         * menu-bar.el (menu-bar-mode):
1349         * simple.el (transient-mark-mode):
1350         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
1351         that they do not define the associated variables twice.
1352         * simple.el (transient-mark-mode): Remove defvar.
1353         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
1354         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
1355         Handle multiple groups, and also custom-delayed-init-variables.
1356         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1358 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
1360         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
1361         (pcase-if): Add one minor optimization.
1362         (pcase-split-equal): Rename from pcase-split-eq.
1363         (pcase-split-member): Rename from pcase-split-memq.
1364         (pcase-u1): Add strings to the member optimization.
1365         Add `guard' variant of predicates.
1366         (pcase-q1): Add string patterns.
1368 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1370         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
1372 2010-10-28  Glenn Morris  <rgm@gnu.org>
1374         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
1375         Move menu-bar related settings to ../menu-bar.el.
1376         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
1377         Move ns-specific settings here from term/ns-win.el.
1379         * simple.el (x-selection-owner-p): Remove unused declaration.
1381 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1383         * minibuffer.el (completion-cycling): New var (bug#7266).
1384         (minibuffer-complete, completion--do-completion):
1385         Use completion--flush-all-sorted-completions.
1386         (minibuffer-complete): Only cycle if completion-cycling is set.
1387         (completion--flush-all-sorted-completions): Unset completion-cycling.
1388         (minibuffer-force-complete): Set completion-cycling.
1389         (completion-all-sorted-completions): Move declaration before first use.
1391 2010-10-28  Leo  <sdl.web@gmail.com>
1393         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
1394         which changes the order of matches seen by users (bug#7231).
1396 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
1398         * progmodes/compile.el (compilation-mode-font-lock-keywords):
1399         Don't confuse -omega as "-o mega".
1401 2010-10-27  Martin Rudalics  <rudalics@gmx.at>
1403         * frame.el (pop-up-frame-alist, pop-up-frame-function)
1404         (special-display-frame-alist): Make obsolete.
1406         * window.el (display-buffer-window-and-buffer)
1407         (window--display-buffer-in-window, window--reuse-window)
1408         (window--pop-up-window, window--pop-up-frame)
1409         (split-window-sensibly, window-sensibly-splittable-p)
1410         (window--raise-window-frame, window--usable-frame): Remove.
1411         (display-buffer-mark-dedicated, display-buffer-function)
1412         (special-display-buffer-names)
1413         (special-display-regexps, special-display-p)
1414         (special-display-function, same-window-buffer-names)
1415         (same-window-regexps, same-window-p, pop-up-frames)
1416         (display-buffer-reuse-frames, pop-up-windows)
1417         (split-height-threshold, split-width-threshold)
1418         (even-window-heights): Make obsolete.
1419         (display-buffer-names, display-buffer-regexps): New options.
1420         (display-buffer-frame, display-buffer-normalize-specifiers-1)
1421         (display-buffer-normalize-specifiers)
1422         (display-buffer-adjust-heights, display-buffer-select-window)
1423         (display-buffer-in-window, display-buffer-in-lru-buffer-window)
1424         (display-buffer-in-lru-window, display-buffer-split-window-1)
1425         (display-buffer-split-window, display-buffer-in-new-window)
1426         (display-buffer-in-new-frame, normalize-buffer-to-display)
1427         (display-buffer-same-window, display-buffer-other-window)
1428         (pop-to-buffer-same-window, pop-to-buffer-other-window)
1429         (pop-to-buffer-other-frame, normalize-buffer-to-switch-to): New
1430         functions.
1431         (display-buffer-locations, display-buffer-default-specifiers)
1432         (display-buffer-other-window-specifiers)
1433         (display-buffer-other-frame-specifiers)
1434         (display-buffer-split-specifiers)
1435         (display-buffer-side-specifiers): New variables/constants.
1436         (display-buffer): Major rewrite.
1437         (pop-to-buffer): Rewrite.  Default buffer-or-name argument to
1438         the current buffer.
1439         (switch-to-buffer, switch-to-buffer-other-window)
1440         (switch-to-buffer-other-frame): Rewrite.
1442         * calendar/calendar.el (calendar-basic-setup): Do not call
1443         split-window-horizontally before popping to buffer.  Eventually
1444         the second argument of pop-to-buffer must be set accordingly.
1446         * dired.el (dired-pop-to-buffer): Adapt to new buffer display
1447         code.
1449         * info.el (Info-revert-find-node, info, info-other-window)
1450         (Info-find-node, Info-next, Info-prev, Info-up)
1451         (Info-goto-emacs-command-node, Info-speedbar-goto-node): Adapt
1452         to new buffer display code.
1454 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1456         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
1457         (log-edit-author): New dynamic var.
1458         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
1459         to return the author if different from committer.
1460         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
1462         * play/landmark.el: Adjust commenting convention.
1463         (lm-nil-score): Rename from nil-score.
1464         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
1465         (OOOOscore): Move into a let in lm-score-trans-table.
1466         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
1468         * electric.el (electric-indent-chars): Autoload.
1469         * progmodes/octave-mod.el (octave-mode):
1470         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
1471         (ruby-mode-abbrev-table): Merge initialization and declaration.
1473 2010-10-27  Glenn Morris  <rgm@gnu.org>
1475         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
1476         variable.
1478         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
1480         * term/ns-win.el: Restore require of cl when compiling.
1481         (menu-bar-final-items): Remove non-existent `windows' menu.
1482         (ns-handle-nxopen): Optionally handle the temp-case.
1483         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
1484         (ns-insert-file, ns-find-file): Use `pop'.
1486 2010-10-26  Glenn Morris  <rgm@gnu.org>
1488         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
1490 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
1492         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
1493         global map.
1494         * term/common-win.el (x-setup-function-keys): Remove most of the
1495         keymappings.  Comment on the remaining ones.
1497 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
1499         * server.el (server-port): New option.  (Bug#854)
1500         (server-start): Use server-port.
1502 2010-10-26  Glenn Morris  <rgm@gnu.org>
1504         * term/ns-win.el (ns-version-string): Remove unused declaration.
1505         (ns-invocation-args): Change to x-invocation-args.
1506         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
1507         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
1508         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
1509         Use x-invocation-args instead of ns-invocation-args.
1510         (ns-initialize-window-system, handle-args-function-alist):
1511         Use x-handle-args instead of ns-handle-args.
1512         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
1513         * startup.el (command-line-ns-option-alist): Replace
1514         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
1515         ns-handle-iconic with the x- equivalents.
1517         * term/common-win.el (x-select-enable-clipboard):
1518         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
1520         * term/ns-win.el: No need to require cl when compiling.
1521         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
1522         (xw-defined-colors): Use the common-win definitions.
1523         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
1524         (ns-handle-iconic): Make it an alias for x-handle-iconic.
1525         * term/common-win.el (x-select-text, x-alternatives-map)
1526         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
1527         * loadup.el [ns]: Load common-win.
1529 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
1531         * epa-mail.el (epa-mail-encrypt): Handle local-part only
1532         recipients; expand mail aliases (Bug#7280).
1534 2010-10-25  Martin Rudalics  <rudalics@gmx.at>
1536         * window.el (window-iso-combination-p, window-iso-combinations):
1537         New functions.
1538         (walk-windows, get-window-with-predicate)
1539         (get-buffer-window-list, one-window-p): Fix doc-string.
1540         (window-in-direction): The column / row value of `posn-at-point'
1541         can be nil for the mini-window, guard against that.
1542         (resize-mini-window): Make this usable.  It's needed, for
1543         example, by ispell.el.
1544         (resize-window): Handle case where window argument denotes a
1545         minibuffer window.
1546         (window-children-count): Remove.
1547         (split-window): Fix some broken size calculations.
1549 2010-10-25  Glenn Morris  <rgm@gnu.org>
1551         * term/common-win.el (x-handle-switch): Simplify with pop.
1552         Optionally handle numeric switches.
1553         (x-handle-numeric-switch): Just call x-handle-switch.
1554         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
1555         (x-handle-name-switch, x-handle-display, x-handle-args):
1556         Simplify with pop.
1558         * term/ns-win.el: Do not require easymenu.
1559         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
1560         <spell>: Move adjustments to menu-bar.el.
1561         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
1562         <separator-undo, spell>: Move ns-win's adjustments here.
1563         * loadup.el [ns]: Do not load easymenu.
1565 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
1567         * image.el (image-checkbox-checked, image-checkbox-unchecked):
1568         Delete (Bug#7222).
1570         * startup.el (fancy-startup-tail): Instead of using inline images,
1571         refer to image files from etc/.
1573         * wid-edit.el (checkbox): Likewise.
1574         (widget-image-find): Center image specs.
1576 2010-10-24  Glenn Morris  <rgm@gnu.org>
1578         * term/ns-win.el (x-select-text): Doc fix.
1579         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
1580         (x-select-text): Move to term/common-win.
1581         * term/w32-win.el (xw-defined-colors): Move to common-win.
1582         * term/x-win.el (xw-defined-colors, x-alternatives-map)
1583         (x-setup-function-keys, x-select-text): Move to common-win.
1584         * term/common-win.el (x-select-text, x-alternatives-map)
1585         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
1586         definitions here.
1588 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
1590         * net/mairix.el (mairix-searches-mode-map):
1591         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
1593 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
1595         * verilog-mode.el (verilog-directive-re): Make this variable
1596         auto-built for efficiency of execution and updating.
1597         (verilog-extended-complete-re): Support 'pure' fucntion & task
1598         declarations (these have no bodies).
1599         (verilog-beg-of-statement): General cleanup to enable support of
1600         'pure' fucntion & task declarations (these have no bodies).
1601         These efforts together fix Verilog bug210 from veripool; which was also
1602         noticed by Steve Pearlmutter.
1603         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
1604         (verilog-directive-nest-re, verilog-set-auto-endcomments):
1605         Support `elsif.  Reported by Shankar Giri.
1606         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
1607         attribute handling for lining up declarations and assignments.
1608         (verilog-beg-of-statement-1): Fix issue where continued declaration
1609         is indented differently if it is after a begin..end clock.
1610         (verilog-in-attribute-p, verilog-skip-backward-comments)
1611         (verilog-skip-forward-comment-p): Support proper treatment of
1612         attributes by indent code. Reported by Jeff Steele.
1613         (verilog-in-directive-p): Fix comment to correctly describe function.
1614         (verilog-backward-up-list, verilog-in-struct-region-p)
1615         (verilog-backward-token, verilog-in-struct-p)
1616         (verilog-in-coverage-p, verilog-do-indent)
1617         (verilog-pretty-declarations): Use verilog-backward-up-list as
1618         wrapper around backward-up-list inorder to properly skip comments.
1619         Reported by David Rogoff.
1620         (verilog-property-re, verilog-endcomment-reason-re)
1621         (verilog-beg-of-statement, verilog-set-auto-endcomments)
1622         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
1623         of if). Reported by Max Bjurling and
1624         (verilog-calc-1): Fix for clocking block in modport
1625         declaration. Reported by Brian Hunter.
1627 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
1629         * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
1630         (verilog-gate-keywords, verilog-read-sub-decls)
1631         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
1632         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
1633         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
1634         (verilog-read-decls): Fix spaces in V2K module parameters causing
1635         mis-identification as interfaces, bug287.
1636         (verilog-read-decls): Fix not treating "parameter string" as a
1637         parameter in AUTOINSTPARAM.
1638         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
1639         treating `elsif similar to `endif inside AUTOSENSE.
1640         (verilog-do-indent): Implement correct automatic or static task or
1641         function end comment highlight. Reported by Steve Pearlmutter.
1642         (verilog-font-lock-keywords-2): Fix highlighting of single
1643         character pins, bug264.  Reported by Michael Laajanen.
1644         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
1645         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
1646         (verilog-subdecls-get-interfaced, verilog-subdecls-new): Support
1647         interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
1648         (verilog-pretty-expr): Fix interactive arguments, bug272.
1649         Reported by Mark Johnson.
1650         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
1651         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
1652         bug269. Suggested by Gary Delp.
1653         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
1654         (verilog-preprocessor, verilog-set-compile-command):
1655         Create verilog-preprocess and verilog-preprocessor to show
1656         preprocessed output.
1657         (verilog-get-beg-of-line, verilog-get-end-of-line)
1658         (verilog-modi-file-or-buffer, verilog-modi-name)
1659         (verilog-modi-point, verilog-within-string): Move defmacro's
1660         before first use to avoid warning. Reported by Steve Pearlmutter.
1661         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
1662         (verilog-colorize-region, verilog-highlight-buffer)
1663         (verilog-highlight-includes, verilog-highlight-modules)
1664         (verilog-highlight-region, verilog-mode): Rename colorize to
1665         highlight to match other packages.  Disable module highlighting,
1666         as received speed complaints, reenable for experimentation only
1667         using new verilog-highlight-modules.
1668         (verilog-read-decls): Fix regexp stack overflow in very large
1669         AUTO_TEMPLATEs, bug250.
1670         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
1671         (verilog-scan): Create verilog-save-buffer-state to standardize
1672         making insignificant changes that shouldn't call hooks.
1673         (verilog-save-no-change-functions, verilog-save-scan-cache)
1674         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
1675         Create verilog-save-no-change-functions to wrap verilog-scan
1676         preservation, and fix to work with nested preserved calls.
1677         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
1678         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
1679         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
1680         (verilog-submit-bug-report): Update variable list to be complete.
1681         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
1682         breaking on-the-fly font-locking.
1683         (verilog-colorize-buffer, verilog-colorize-include-files)
1684         (verilog-colorize-include-files-buffer, verilog-colorize-region)
1685         (verilog-load-file-at-mouse, verilog-load-file-at-point)
1686         (verilog-mode, verilog-read-inst-module-matcher): With point on a
1687         AUTOINST cell instance name, middle mouse button now finds-file on
1688         it.  Suggested by Brad Dobbie.
1689         (verilog-alw-get-temps, verilog-auto-reset)
1690         (verilog-auto-sense-sigs, verilog-read-always-signals)
1691         (verilog-read-always-signals-recurse): Fix loop indexes being
1692         AUTORESET. AUTORESET now assumes any variables in the
1693         initialization section of a for() should be ignored.  Reported by
1694         Dan Dever.
1695         (verilog-error-font-lock-keywords)
1696         (verilog-error-regexp-emacs-alist)
1697         (verilog-error-regexp-xemacs-alist): Fix error detection of
1698         Cadence HAL, reported by David Asher.  Repair drift between the
1699         three similar error variables.
1700         (verilog-modi-lookup, verilog-modi-lookup-cache)
1701         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
1702         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
1703         Fix slow verilog-auto expansion on very large files.
1704         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
1705         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
1706         "{1*2{...".  Broke in last revision.
1707         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
1708         submodule connections with replications "{#{a},#{b}}".
1710 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
1712         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
1713         Fix typo in docstring.
1715 2010-10-24  Kenichi Handa  <handa@m17n.org>
1717         * face-remap.el (text-scale-adjust): Call read-event with a proper
1718         prompt.
1720 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
1722         * emacs-lisp/unsafep.el: Don't mark functions that display
1723         messages as safe.  Suggested by Johan Bockgård.
1725 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1727         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
1728         Turn comments into docstrings.
1730         * minibuffer.el (completion--replace): Move point where it belongs
1731         when there's a common suffix (bug#7215).
1733 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
1735         Merge read-color and facemenu-read-color (Bug#7242).
1737         * faces.el (read-color): Use the completion code from
1738         facemenu-read-color.  Require match in completion.  Doc fix.
1740         * facemenu.el (facemenu-read-color): Alias for read-color.
1741         (facemenu-set-foreground, facemenu-set-background): Use
1742         read-color.
1744         * frame.el (set-background-color, set-foreground-color)
1745         (set-cursor-color, set-mouse-color, set-border-color): Use
1746         read-color.
1748 2010-10-24  Leo  <sdl.web@gmail.com>
1750         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
1751         argument of delete-file and delete-directory (Bug#7011).
1753 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
1755         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
1756         button-buffer-map.
1758 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
1760         * emacs-lisp/package.el (package--generate-package-list): Make the
1761         *Packages* buffer read-only.
1763 2010-10-24  Alan Mackenzie  <acm@muc.de>
1765         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
1766         result of `c-beginning-of-decl-1' between invocations of a lambda
1767         function (Bug #7265).
1769 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
1771         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
1772         executable is not available on the system (Bug#7268).
1774 2010-10-24  Glenn Morris  <rgm@gnu.org>
1776         * select.el (selection-coding-system, next-selection-coding-system):
1777         Sync doc with C versions.
1779         * w32-vars.el (x-select-enable-clipboard):
1780         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
1781         * term/common-win.el (x-select-enable-clipboard): Move here.
1783         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
1784         definition of C variable.
1786         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
1787         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
1788         Don't redefine things that are defined in C.
1789         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
1790         (show-trailing-whitespace, auto-hscroll-mode)
1791         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
1792         Set up the appropriate custom properties.
1794 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
1796         Bind "C-c ]" to ...
1797         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
1798         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
1799         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
1800         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
1802 2010-10-23  Glenn Morris  <rgm@gnu.org>
1804         * textmodes/flyspell.el (flyspell-mode): If there was an error,
1805         say what it was.
1807         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
1808         Sync docs with C version.
1810         * term/ns-win.el (xw-defined-colors):
1811         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
1813         * term/pc-win.el (x-select-enable-clipboard):
1814         * term/x-win.el (x-select-enable-clipboard):
1815         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
1817         * comint.el (comint-password-prompt-regexp): Make it less vague.
1818         Bump version.
1820         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
1822         * help.el (finder-by-keyword): Remove unnecessary autoload.
1824 2010-10-22  Glenn Morris  <rgm@gnu.org>
1826         * loadup.el: Unconditionally load float-sup.
1827         * paren.el (show-paren-delay):
1828         * emacs-lisp/float-sup.el:
1829         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
1830         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
1831         (lazy-lock-stealth-verbose): Assume float support.
1832         * ps-print.el: Assume float support on Emacs.
1833         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
1834         Remove non-float branch.
1836         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
1837         src/Makefile no longer being pre-processed.
1839 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1841         * emacs-lisp/find-func.el (find-library): Use test-completion.
1843 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1845         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
1847 2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
1849         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
1850         space in stat format string.
1851         (tramp-send-command): Unset $PS1 when using here documents, in
1852         order not to get several prompts.
1853         (tramp-get-inline-coding): Return `nil' in case of errors.
1855 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
1857         * hexl.el (hexl-mode, hexl-mode-exit):
1858         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
1859         (hexl-revert-buffer-function): New function.
1860         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
1862 2010-10-19  Alan Mackenzie  <acm@muc.de>
1864         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
1865         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
1866         that these keywords aren't wrongly matched as identifiers.
1868         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
1869         setting of c-new-BEG and c-new-END from c-before-change to
1870         c-after-change.  (Bug#7181)
1872 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
1874         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
1875         Don't mark as safe.
1877         * custom.el (custom-theme-set-variables): Likewise.
1878         (load-theme): Add custom-theme-set-faces and
1879         custom-theme-set-variables to safe-functions while loading.
1880         (custom-enabled-themes): Mark as risky.
1882 2010-10-18  Julien Danjou  <julien@danjou.info>
1884         * bindings.el: Remove end dashes in default mode-line-format.
1886 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
1888         * bindings.el (global-map): Bind C-d to delete-char and deletechar
1889         to delete-forward-char.
1891         * simple.el (normal-erase-is-backspace-mode): Remap delete to
1892         deletechar, and hence delete-forward-char.
1894 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1896         * repeat.el (repeat): Use read-key (bug#6256).
1898 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
1900         * emacs-lisp/unsafep.el: Don't mark functions that display
1901         messages as safe.  Suggested by Johan Bockgård.
1903 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1905         * minibuffer.el (completion--replace): Move point where it belongs
1906         when there's a common suffix (bug#7215).
1908 2010-10-19  Kenichi Handa  <handa@m17n.org>
1910         * international/characters.el: Add category '|' (word breakable)
1911         to fullwidth characters.
1913 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
1915         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
1916         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
1917         order to make stat results a float.  Patch by Andreas Schwab
1918         <schwab@linux-m68k.org>.
1920 2010-10-18  Julien Danjou  <julien@danjou.info>
1922         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
1923         hidden by `make-pointer-invisible'.
1925 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1927         * files.el (locate-file-completion-table): Strip non-matching elements
1928         before checking length of list (bug#7238).
1930 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
1932         * custom.el (custom-theme-set-variables): Mark as a safe function.
1933         (load-theme): Check forms using unsafep.
1935         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
1937 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
1939         * textmodes/ispell.el (ispell-aspell-find-dictionary):
1940         Fix aspell data file searching (bug#7230).
1942 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
1944         * cus-theme.el (custom-theme--migrate-settings): New var.
1945         (customize-create-theme): Allow editing the `user' theme.
1946         (custom-theme-add-variable, custom-theme-add-var-1)
1947         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
1948         to the front of each variable or face widget.
1949         (custom-theme-write): Save theme settings in the correct order.
1950         Optionally, remove saved settings from user customizations.
1951         (custom-theme-write-variables, custom-theme-write-faces):
1952         Save only the checked widgets.
1953         (customize-themes): Add a link for migrating custom settings.
1955         * custom.el (custom-declare-theme, provide-theme):
1956         Use custom-theme-name-valid-p.
1957         (custom-theme-name-valid-p): Remove checks that are now
1958         unnecessary since themes no longer obey load-path.
1960         * cus-edit.el (custom-variable-value-create): For the simple
1961         style, hide documentation string when hidden.
1963 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
1965         * cus-edit.el (custom-variable, custom-face): Combine the
1966         :inhibit-magic and :display-style properties into a single
1967         :custom-style property.
1968         (custom-toggle-hide-variable, custom-toggle-hide-face):
1969         New functions.  If hiding an edited value, save it to :shown-value.
1970         (custom-variable-value-create, custom-face-value-create): Use them.
1971         (custom-magic-reset): Allow magic property to be unset.
1973         * custom.el: Custom themes no longer use load-path.
1974         (custom-theme-load-path): New option.  Change built-in theme
1975         directory to etc/.
1976         (custom-enabled-themes): Add custom-theme-load-path dependency.
1977         (custom-theme--load-path): New function.
1978         (load-theme, custom-available-themes): Use it.
1980         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
1981         (customize-themes): Link to custom-theme-load-path variable.
1982         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
1983         :custom-style property.
1985         * themes/*.el: Moved to etc/.
1987 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
1989         * textmodes/reftex-cite.el
1990         (reftex-extract-bib-entries-from-thebibliography): Do not move
1991         point when searching for \bibitem entries.  Match entries with
1992         spaces or tabs in front of arguments.
1994 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
1996         * cus-theme.el (customize-create-theme): Delete overlays after
1997         erasing.  If given a THEME arg, display only the faces of that arg
1998         instead of custom-theme--listed-faces.
1999         (custom-theme-variable-menu, custom-theme-variable-action)
2000         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
2001         (custom-theme-add-variable, custom-theme-add-face): Apply value
2002         from the theme settings, instead of the current value.
2003         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
2004         (custom-theme-visit-theme): Allow calling outside theme buffers.
2005         (custom-theme-merge-theme): Don't enable the theme when merging.
2006         (custom-theme-write-variables, custom-theme-write-faces): Use the
2007         :shown-value properties to save buffer values, not global ones.
2008         (customize-themes): Display a warning about user customizations.
2010         * cus-edit.el (custom-variable-value-create)
2011         (custom-face-value-create): Obey new special properties
2012         :shown-value and :inhibit-magic.
2014 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
2016         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
2017         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
2018         <dale@codefu.org>.
2020 2010-10-14  Kenichi Handa  <handa@m17n.org>
2022         * mail/rmail.el (rmail-show-message-1): Catch an error of
2023         base64-decode-region and just show an error message (bug#7165).
2025         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
2026         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
2027         a font-spec (bug#7197).
2029 2010-10-14  Glenn Morris  <rgm@gnu.org>
2031         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
2033 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
2035         * international/mule.el (define-coding-system):
2036         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
2037         * composite.el (compose-region): Fix typo in docstring.
2039 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
2041         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
2042         only after checking the theme-face property.
2044         * faces.el (face-spec-reset-face): Reset all attributes in one
2045         single call to set-face-attribute.
2046         (face-spec-match-p): Make it a defsubst.
2047         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
2048         (x-create-frame-with-faces, tty-create-frame-with-faces)
2049         (tty-set-up-initial-frame-faces): Don't recompute face specs in
2050         frame-set-background-mode, since they are recomputed immediately
2051         afterwards in face-set-after-frame-default.
2052         (face-set-after-frame-default): Minor optimization.
2053         (cursor): Provide non-trivial defface spec.
2055         * custom.el (custom-theme-recalc-face): Simplify.
2057 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
2059         * calc/calc-alg.el (math-var): Rename from `var'.
2060         (math-is-polynomial, math-is-poly-rec): Replace `var'
2061         with `math-var'.
2063         * calc/calcalg2.el (math-var): Rename from `var'.
2064         (calcFunc-table, math-scan-for-limits): Replace `var'
2065         with `math-var'.
2067 2010-10-13  Glenn Morris  <rgm@gnu.org>
2069         * subr.el (last): Deal with dotted lists (reported in bug#7174).
2071 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
2073         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
2075 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2077         * net/tls.el (tls-program): Remove spurious %s from openssl.
2078         (tls-starttls-switches): Remove starttls hack.
2079         (open-tls-stream): Ditto.
2080         (tls-find-starttls-argument): Ditto.
2082 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
2084         * image.el (image-library-alist): Declare as obsolete alias.
2085         (image-type-available-p): Use `dynamic-library-alist'.
2087         * term/w32-win.el (dynamic-library-alist):
2088         Use instead of `image-library-alist'.
2090 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
2092         * subr.el (last): Make it faster.  (Bug#7174)
2094 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
2096         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
2098 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
2100         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
2101         (describe-theme-1): Extract doc from unloaded themes.
2103         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
2105         * themes/tango-theme.el:
2106         * themes/tango-dark-theme.el:
2107         * themes/wheatgrass-theme.el: New files.
2109 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
2111         * cus-theme.el (describe-theme, customize-themes)
2112         (custom-theme-save): New commands.
2113         (custom-new-theme-mode-map): Bind C-x C-s.
2114         (custom-new-theme-mode): Use custom--initialize-widget-variables.
2115         (customize-create-theme): New optional arg THEME.
2116         (custom-theme-revert): Use it.
2117         (custom-theme-visit-theme): Remove dead code.
2118         (custom-theme-merge-theme): Use custom-available-themes.
2119         (custom-theme-write): Make interactive.
2120         (custom-theme-write): Use custom-theme-name-valid-p.
2121         (describe-theme-1, custom-theme-choose-revert)
2122         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
2123         New funs.
2124         (custom-theme-allow-multiple-selections): New option.
2125         (custom-theme-choose-mode): New major mode.
2127         * custom.el (custom-theme-set-variables): Remove dead code.
2128         Obey custom--inhibit-theme-enable.
2129         (custom--inhibit-theme-enable): New var.
2130         (provide-theme): Obey it.
2131         (load-theme): Replace load with manual read/eval, in order to
2132         check for correctness.  Use custom-theme-name-valid-p.
2133         (custom-theme-name-valid-p): New function.
2134         (custom-available-themes): Use it.
2136         * cus-edit.el (custom--initialize-widget-variables): New function.
2137         (Custom-mode): Use it.
2139         * cus-face.el (custom-theme-set-faces): Remove dead code.
2140         Obey custom--inhibit-theme-enable.
2142         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
2144 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
2146         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
2148 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
2150         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
2151         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
2152         (mac-right-option-modifier): New alias for ns-right-option-modifier.
2154         * cus-start.el (all): ns-right-alternate-modifier is new.
2156 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2158         * emacs-lisp/lisp.el (lisp-completion-at-point):
2159         Use emacs-lisp-mode-syntax-table for the whole function.
2161 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
2163         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
2164         instead of font-lock-mode before adding keywords.
2165         Remove hi-lock-mode off code.  Remove inhibit hack.
2166         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
2167         non-nil; removed hook inhibit hack.
2169 2010-10-12  Glenn Morris  <rgm@gnu.org>
2171         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
2172         (load-path-shadows-find): ... to this.
2173         (list-load-path-shadows): Update for above change.
2175         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
2177 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
2179         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
2180         Fix comment for declare-function.
2182 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
2184         * custom.el (custom-fix-face-spec): New function; code moved from
2185         custom-face-edit-fix-value.
2186         (custom-push-theme): Use it when checking if a face has been
2187         changed outside customize.
2188         (custom-available-themes): New function.
2189         (load-theme): Use it.
2191         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
2193         * custom.el (custom-push-theme): Cleanup (use cond).
2194         (disable-theme): Recompute the saved-face property.
2195         (custom-theme-recalc-face): Follow face alias before setting prop.
2197         * image.el (image-checkbox-checked, image-checkbox-unchecked):
2198         New variables, containing checkbox images.
2200         * startup.el (fancy-startup-tail):
2201         * wid-edit.el (checkbox): Use them.
2203 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
2205         * shell.el (shell-mode-map):
2206         * progmodes/modula2.el (m2-mode-map):
2207         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
2208         * play/mpuz.el (mpuz-mode-map):
2209         * play/landmark.el (lm-mode-map):
2210         * play/decipher.el (decipher-mode-map):
2211         * play/5x5.el (5x5-mode-map):
2212         * net/telnet.el (telnet-mode-map):
2213         * net/quickurl.el (quickurl-list-mode-map):
2214         * net/mairix.el (mairix-searches-mode-map):
2215         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
2216         * net/dig.el (dig-mode-map):
2217         * mail/mspools.el (mspools-mode-map):
2218         * hexl.el (hexl-mode-map):
2219         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
2220         (wordstar-C-o-map, wordstar-C-q-map):
2221         * emacs-lisp/edebug.el (edebug-eval-mode-map):
2222         * emacs-lisp/chart.el (chart-map):
2223         * edmacro.el (edmacro-mode-map):
2224         * erc/erc-list.el (erc-list-menu-mode-map):
2225         * array.el (array-mode-map): Declare and define in one step.
2227         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
2229 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
2231         * epa.el (epa-passphrase-callback-function): Display filename
2232         passed as the 3rd arg.
2233         * epa-file.el (epa-file-passphrase-callback-function):
2234         Pass filename to epa-passphrase-callback-function.
2236 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
2238         * cus-edit.el (custom-face-widget-to-spec)
2239         (custom-face-get-current-spec, custom-face-state): New functions.
2240         (custom-face-set, custom-face-mark-to-save)
2241         (custom-face-value-create, custom-face-state-set): Use them.
2243         * cus-theme.el (custom-theme--listed-faces): New var.
2244         (customize-create-theme): Use *Custom Theme* as the buffer name.
2245         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
2246         faces listed in custom-theme--listed-faces.
2247         (custom-theme-revert): New function.
2248         (custom-theme-add-variable, custom-theme-add-face): Insert at the
2249         bottom of the list.
2250         (custom-theme-write): Prompt for theme name if empty.
2251         (custom-theme-write-variables): Use dolist.
2252         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
2254 2010-10-09  Alan Mackenzie  <acm@muc.de>
2256         Enhance fontification of declarators to take account of the
2257         presence/absence of "typedef".
2259         * cc-engine.el (c-forward-type): New &optional param
2260         "brace-block-too".
2261         (c-forward-decl-or-cast-1): cdr of return value now indicates the
2262         presence of either or both of a "struct"-like keyword and "typedef".
2264         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
2265         fontification of declarators which follow a "}".
2266         (c-font-lock-declarations): Fontify declarators according to the
2267         presence/absence of "typedef".
2269         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
2270         for "typedef".
2271         (c-typedef-decl-key): New lang variable built from
2272         c-typedef-decl-kwds.
2274 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2276         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
2277         since that's too annoying.  Move the filter groups commands to
2278         TAB/backtab.
2280         * epa.el (epa-passphrase-callback-function): Say what we're
2281         querying the password for.
2283         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
2284         behaviour, don't bury the ibuffer buffer when visiting other buffers.
2286 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
2288         * cus-edit.el (custom-commands, custom-buffer-create-internal)
2289         (custom-magic-value-create): Pad button tags with spaces.
2290         (custom-face-edit): New variable.
2291         (custom-face-value-create): Determine whether to use the usual
2292         face editor here, instead of using custom-face-selected.
2293         Pass face defaults to custom-face-edit widget.
2294         (custom-face-selected, custom-display-unselected): Delete widgets.
2295         (custom-display-unselected-match): Function removed.
2296         (custom-face-set, custom-face-mark-to-save):
2297         Accept custom-face-edit widgets as the direct widget child.
2299         * wid-edit.el (widget--completing-widget): New var.
2300         (widget-default-complete): Bind it when doing completion.
2301         (widget-string-complete, widget-file-complete): Use it.
2303 2010-10-09  Glenn Morris  <rgm@gnu.org>
2305         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
2306         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
2307         (holiday-hebrew-misc): Small simplifications.
2309         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
2311         * net/browse-url.el: Don't require thingatpt, term, dired,
2312         executable, or w3-auto when compiling.
2313         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
2314         Declare.
2315         (browse-url-text-emacs): Require term.
2317 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
2319         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
2321 2010-10-08  Glenn Morris  <rgm@gnu.org>
2323         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
2325         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
2326         (shadows-compare-text-p): Make it an obsolete alias for...
2327         (load-path-shadows-compare-text): ... new name.
2328         (find-emacs-lisp-shadows): Update for above name change.
2329         (load-path-shadows-same-file-or-nonexistent): New name for the old
2330         shadow-same-file-or-nonexistent.
2332 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
2334         * minibuffer.el (completion--some, completion--do-completion)
2335         (minibuffer-complete-and-exit, minibuffer-completion-help)
2336         (completion-basic-try-completion)
2337         (completion-basic-all-completions)
2338         (completion-pcm--find-all-completions): Use lexical-let to
2339         avoid some false matches in variable completion (Bug#7056)
2341 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
2343         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
2345 2010-10-08  Leo  <sdl.web@gmail.com>
2347         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
2348         return non-nil if the file exists (Bug#7090).
2350 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2352         * minibuffer.el (completion--replace):
2353         Better preserve markers (bug#7138).
2355 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
2357         * server.el (server-process-filter): Doc fix.
2359 2010-10-08  Drew Adams  <drew.adams@oracle.com>
2361         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
2363 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
2365         * Makefile.in (ELCFILES): Update.
2367 2010-10-08  Glenn Morris  <rgm@gnu.org>
2369         * vc/ediff-wind.el (ediff-setup-control-frame):
2370         * vc/ediff-ptch.el (ediff-default-backup-extension):
2371         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
2372         (ediff-exec-process): Remove system-types emx, windows-95.
2374         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
2376 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
2378         * cus-edit.el (custom-variable, custom-face): Doc fix.
2379         (custom-face-edit): Add value-create attribute.
2380         (custom-face-edit-value-create)
2381         (custom-face-edit-value-visibility-action): New functions.
2382         Hide unused face attributes by default, and add a visibility toggle.
2383         (custom-face-edit-deactivate): Show empty values with shadow face.
2384         (custom-face-selected): Only use this for face specs with default
2385         attributes.
2386         (custom-face-value-create): Cleanup.
2388         * wid-edit.el (widget-checklist-value-create): Use dolist.
2389         (widget-checklist-match-find): Make second arg optional.
2391 2010-10-07  Glenn Morris  <rgm@gnu.org>
2393         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
2394         Prefix things.
2396         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
2397         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
2398         load-path-shadows-mode, update references.
2399         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
2400         Rename variable and button.
2401         (list-load-path-shadows): Update button caller.
2403 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2405         * emacs-lisp/smie.el (smie-bnf-classify): New function.
2406         (smie-bnf-precedence-table): Use it to remember the closers/openers.
2407         (smie-merge-prec2s): Handle those new entries.
2408         (smie-prec2-levels): Only set precedence to nil for actual
2409         openers/closers.
2410         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
2411         that is now unnecessary.
2413 2010-10-07  Miles Bader  <miles@gnu.org>
2415         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
2417 2010-10-07  Glenn Morris  <rgm@gnu.org>
2419         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
2420         (mail-position-on-field): Remove declarations.
2421         (mail-position-on-field): Autoload it.
2422         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
2423         and mail-header-end.  Don't require sendmail.
2425         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
2426         (shadow-mode): New mode.
2427         (shadow-find-file): New button.
2428         (list-load-path-shadows): Use shadow-mode and buttons.
2430         * iimage.el (iimage-version): Remove.
2431         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
2432         Turn into defcustoms.
2433         (iimage-mode-map): Give it a doc string.
2435         * calendar/appt.el (appt-activate): Give a warning rather than an error
2436         if there is no diary-file.
2438 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
2440         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2441         Use `tramp-handle-find-backup-file-name'.
2443 2010-10-06  Glenn Morris  <rgm@gnu.org>
2445         * font-core.el (font-lock-defaults-alist): Remove variable.
2446         (font-lock-mode): Doc fix.
2447         (font-lock-default-function): Do not consult font-lock-defaults-alist.
2448         * font-lock.el (font-lock-refresh-defaults): Doc fix.
2449         (font-lock-set-defaults): Doc fix.
2450         Do not consult font-lock-defaults-alist.
2452         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
2454         * emacs-lisp/cl.el: No longer provide cl-19.
2456 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
2458         * net/tramp.el (tramp-handle-directory-files-and-attributes)
2459         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
2460         New defuns, taken from tramp-smb.el.
2461         (tramp-coding-system-change-eol-conversion)
2462         (tramp-set-process-query-on-exit-flag): Remove.
2464         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
2465         (tramp-compat-coding-system-change-eol-conversion)
2466         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
2467         from tramp.el.
2469         * net/tramp-gvfs.el:
2470         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
2471         by `tramp-compat-set-process-query-on-exit-flag'.
2473         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
2474         Use `tramp-handle-directory-files-and-attributes',
2475         `tramp-handle-file-exists-p' and
2476         `tramp-handle-file-newer-than-file-p'.
2477         (tramp-imap-handle-file-exists-p)
2478         (tramp-imap-handle-file-executable-p)
2479         (tramp-imap-handle-file-readable-p)
2480         (tramp-imap-handle-directory-files-and-attributes)
2481         (tramp-imap-handle-file-newer-than-file-p): Remove.
2483         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
2484         by `tramp-compat-set-process-query-on-exit-flag' and
2485         `tramp-coding-system-change-eol-conversion' by
2486         `tramp-compat-coding-system-change-eol-conversion'.
2488         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
2489         Use `tramp-handle-directory-files-and-attributes',
2490         `tramp-handle-file-exists-p' and
2491         `tramp-handle-file-newer-than-file-p'.
2492         (tramp-smb-handle-directory-files-and-attributes)
2493         (tramp-smb-handle-file-exists-p)
2494         (tramp-smb-handle-file-newer-than-file-p): Remove.
2495         (tramp-smb-maybe-open-connection):
2496         Replace `tramp-set-process-query-on-exit-flag' by
2497         `tramp-compat-set-process-query-on-exit-flag'.
2499 2010-10-05  Glenn Morris  <rgm@gnu.org>
2501         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
2503 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
2505         Continue reorganization of load dependencies.  (Bug#7156)
2507         * net/tramp.el (tramp-handle-file-local-copy-hook)
2508         (tramp-delete-temp-file-function): Move down.
2509         (tramp-exists-file-name-handler): Move up.
2510         (tramp-register-file-name-handlers): Simplify autoload.
2511         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
2512         (tramp-handle-directory-files, tramp-handle-dired-uncache)
2513         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
2514         (tramp-handle-file-name-completion)
2515         (tramp-handle-file-name-directory)
2516         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
2517         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
2518         (tramp-handle-find-backup-file-name)
2519         (tramp-handle-insert-file-contents, tramp-handle-load)
2520         (tramp-handle-substitute-in-file-name)
2521         (tramp-handle-unhandled-file-name-directory)
2522         (tramp-mode-string-to-int, tramp-local-host-p)
2523         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
2525         * net/tramp-gvfs.el (top):
2526         * net/tramp-smb.el (top): Do not require 'tramp-sh.
2528         * net/tramp-sh.el (all): Move several objects to tramp.el, see
2529         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
2531 2010-10-04  Glenn Morris  <rgm@gnu.org>
2533         * calendar/appt.el (appt-add): Ensure reminders are enabled.
2534         (appt-activate): Give status messages.
2536 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
2538         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
2539         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
2540         `gnutls-negotiate' (formerly `starttls-negotiate').
2541         Remove trivial wrapper `starttls-open-stream'.
2543 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
2545         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
2546         log-outgoing commands.
2547         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
2548         to create a buffer local revert-buffer-function variable.
2549         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
2550         revert-buffer-function lambda.
2552 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
2554         * net/gnutls.el (starttls-negotiate): Use the plist interface to
2555         `gnutls-boot'.  Make TYPE the only required parameter.
2556         Allow TRUSTFILES and KEYFILES to be lists.
2557         (open-ssl-stream): Use it.
2559 2010-10-03  Glenn Morris  <rgm@gnu.org>
2561         * subr.el (directory-sep-char): Remove obsolete variable.
2562         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
2563         it is "necessary".
2565         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
2566         * vc/vc.el (vc-static-header-alist): Doc fix.
2567         * vc/vc-cvs.el (vc-cvs-header):
2568         * vc/vc-rcs.el (vc-rcs-header):
2569         * vc/vc-sccs.el (vc-sccs-header):
2570         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
2571         * obsolete/vc-mcvs.el (vc-mcvs-header):
2572         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
2573         on XEmacs.
2575 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
2577         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
2578         Remove obsolete use of binary-overwrite-mode (Bug#7001).
2580 2010-10-03  Glenn Morris  <rgm@gnu.org>
2582         * obsolete/x-menu.el: Remove file, obsolete since 21.1
2584         * textmodes/rst.el (rst-font-lock-keywords-function):
2585         Drop Emacs 20 code.
2587         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
2589         * printing.el: Drop Emacs 20 code.
2591         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
2592         without having used appt.el already).
2594         * subr.el (make-local-hook): Remove function obsolete since 21.1.
2595         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
2596         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
2597         XEmacs.
2598         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
2599         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
2601         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
2602         (charset-width, find-charset-region, chars-in-region, forward-point)
2603         (encode-coding-string, coding-system-p, ccl-execute-on-string)
2604         (define-ccl-program, multibyte-string-p, string-make-multibyte):
2605         Remove compatibility cruft (none of these are used by ps*.el).
2607 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
2609         * subr.el (booleanp): Return t instead of a list (Bug#7086).
2611 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
2613         * server.el (server-process-filter, server-return-error):
2614         Give emacsclient time to shut down after receiving an error string.
2616 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
2618         * files.el (remote-file-name-inhibit-cache): New defcustom.
2620         * time.el (display-time-file-nonempty-p):
2621         Use `remote-file-name-inhibit-cache'.
2623         * net/tramp.el (tramp-completion-reread-directory-timeout):
2624         Fix docstring.
2626         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
2627         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
2628         `remote-file-name-inhibit-cache'.  Check also for an integer
2629         value.  Add/increase counter when `tramp-verbose' >= 10.
2630         (tramp-set-file-property): Add/increase counter when
2631         `tramp-verbose' >= 10.
2633         * net/tramp-cmds.el (tramp-cleanup-all-connections)
2634         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
2635         (tramp-bug): Set tramp-autoload cookie.  Report all interned
2636         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
2637         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
2638         characters only in strings.
2640         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
2641         to backward compatibility.
2643         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
2644         (tramp-handle-file-name-all-completions)
2645         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
2646         (tramp-open-connection-setup-interactive-shell):
2647         Call `tramp-cleanup-connection' directly.
2649 2010-10-02  Glenn Morris  <rgm@gnu.org>
2651         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
2653         * subr.el (char-bytes): Remove obsolete function.
2655         * isearch.el (isearch-return-char): Remove obsolete function.
2657         * mouse.el: No longer provide mldrag.
2658         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
2659         Remove obsolete aliases.
2661         * comint.el (comint-kill-output): Remove obsolete alias.
2663         * composite.el (decompose-composite-char): Remove obsolete function.
2664         * ps-def.el (decompose-composite-char): Remove unused function.
2666         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
2668         * outline.el (outline-visible): Remove obsolete function.
2670         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
2671         * faces.el (internal-find-face, internal-get-face)
2672         (frame-update-faces, frame-update-face-colors)
2673         (x-frob-font-weight, x-frob-font-slant)
2674         (internal-frob-font-weight, internal-frob-font-slant)
2675         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
2676         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
2677         (x-make-font-bold-italic): Remove functions and aliases, obsolete
2678         since Emacs 21.1.
2679         * emulation/viper-util.el (viper-get-face):
2680         * obsolete/lucid.el (find-face, get-face): Use facep.
2681         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
2682         Remove unused functions.
2683         * vc/ediff-util.el (ediff-submit-report): Doc fix.
2685         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
2686         delete tempfile if interrupted during compilation.
2688 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2690         * net/tls.el (tls-starttls-switches): Give up on using starttls with
2691         gnutls-cli.
2692         (tls-program): Add --insecure to be consistent with the defaults from
2693         openssl s_client.  Now all three commands are insecure.
2695 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
2697         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
2698         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
2699         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
2701 2010-10-01  Glenn Morris  <rgm@gnu.org>
2703         * obsolete/sc.el: Remove file.
2705         * files.el (temporary-file-directory): On darwin, also try
2706         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
2708 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
2710         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
2711         Let's not break compatibility gratuitously, shall we?
2713 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2715         * net/tls.el (tls-starttls-switches): New variable.
2716         (tls-find-starttls-argument): Use it.
2717         (open-tls-stream): Ditto.
2719         * net/netrc.el (netrc-credentials): Return the value of the "default"
2720         entry.
2721         (netrc-machine): Ditto.
2723 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
2725         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
2727 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
2729         * server.el (server-start): Don't write pid to the authentication file.
2730         (server-create-tty-frame): Don't send pid.
2731         (server-process-filter): Send pid at the start of every connection.
2733 2010-09-30  Glenn Morris  <rgm@gnu.org>
2735         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
2736         (show-all-diary-entries): Remove obsolete function aliases.
2738         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
2739         Remove options, obsolete since 22.1.
2740         (appt-display-format, appt-display-message): Remove
2741         backwards-compatibility code.
2742         (appt-check): No longer check appt-issue-message.
2743         (appt-make-list): No longer autoload it.  Doc fix.  No longer
2744         activate the package.
2746 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2748         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
2749         (starttls-negotiate): Just call boot, and let the handshake be
2750         triggered from the read loop.
2752 2010-09-29  Glenn Morris  <rgm@gnu.org>
2754         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
2755         not displaying the diary.
2756         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
2757         * calendar/appt.el (appt-check): No longer need to kill diary.
2759         * calendar/diary-lib.el (diary-list-entries): Move the
2760         "Preparing..." message entirely here.
2761         (diary-simple-display, diary-fancy-display): Move "Preparing..."
2762         messages to diary-list-entries.
2763         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
2764         diary-display-function.
2766         * calendar/diary-lib.el (diary-include-other-diary-files):
2767         Trap some recursive includes.
2769         * calendar/appt.el (appt-activate): Check diary file.
2771 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
2773         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
2774         construction.
2776         * calendar/time-date.el: No need to require cl for Emacs 21.
2778 2010-09-28  Glenn Morris  <rgm@gnu.org>
2780         * calendar/appt.el (appt-check): Minor simplification.
2782 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
2784         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
2785         citation prefix.
2787 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
2789         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
2790         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
2792 2010-09-27  Kenichi Handa  <handa@m17n.org>
2794         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
2795         "ustar" format.
2797 2010-09-27  Kenichi Handa  <handa@m17n.org>
2799         * international/mule.el (define-coding-system): Docstring fixed.
2801         * international/mule-diag.el (describe-character-set): Use princ
2802         with proper print-length and print-level instead of insert.
2804 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
2806         * window.el (walk-windows): Doc fix (bug#7105).
2808 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2810         * emacs-lisp/float-sup.el (e): Remove.
2812 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
2814         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
2815         variable.
2816         (starttls-negotiate): Use it.
2818 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2820         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
2821         back.
2823 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2825         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
2827 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2829         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
2831         * net/netrc.el (netrc-store-data): New function.
2833 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
2835         * net/gnutls.el: GnuTLS glue code to set up a connection.
2837 2010-09-25  Julien Danjou  <julien@danjou.info>
2839         * notifications.el: Call dbus-register-signal only if it is bound.
2841 2010-09-25  Glenn Morris  <rgm@gnu.org>
2843         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
2844         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
2845         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
2846         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
2847         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
2848         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
2849         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
2850         * eshell/esh-util.el, eshell/esh-var.el:
2851         Remove leading `*' from docs of faces and defcustoms.
2853 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
2855         * eshell/em-ls.el (eshell-ls-archive-regexp):
2856         * eshell/esh-util.el (eshell-tar-regexp):
2857         * ibuffer.el (ibuffer-compressed-file-name-regexp):
2858         * info.el (Info-suffix-list):
2859         * international/mule.el (auto-coding-alist):
2860         * woman.el (woman-file-regexp, woman-file-compression-regexp):
2861         * progmodes/etags.el (tags-compression-info-list):
2862         Support xz compression.
2864 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
2866         * files.el (get-free-disk-space): Don't assume the "df" output
2867         columns line up (Bug#6995).
2869 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
2871         * finder.el (finder-unknown-keywords):
2872         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
2873         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
2875 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
2877         * server.el (server-start): Revert part of 2010-08-08 change.  Using
2878         address 127.0.0.1 for local host is now done in Fmake_network_process.
2880 2010-09-24  Glenn Morris  <rgm@gnu.org>
2882         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
2883         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
2884         * textmodes/css-mode.el, textmodes/dns-mode.el:
2885         Move autoloaded auto-mode-alist entries to files.el.
2886         * files.el (auto-mode-alist): Move entries here.
2888 2010-09-23  Glenn Morris  <rgm@gnu.org>
2890         * isearch.el (isearch-lazy-highlight-cleanup)
2891         (isearch-lazy-highlight-initial-delay)
2892         (isearch-lazy-highlight-interval)
2893         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
2894         * net/net-utils.el (ipconfig-program-options):
2895         Move aliases to options before the associated definitions.
2897 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2899         * newcomment.el (comment-normalize-vars): Better test validity of
2900         comment-end-skip.
2902 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2904         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
2905         (float-e): New name for `e'.
2906         (degrees-to-radians, radians-to-degrees):
2907         * calendar/solar.el (solar-longitude):
2908         * calculator.el (calculator-registers, calculator-funcall):
2909         * textmodes/artist.el (artist-spray-random-points):
2910         * play/bubbles.el (bubbles--initialize-images): Use new names.
2912 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
2914         Update to CEDET 1.0's version of EIEIO.
2916         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
2917         New function.
2918         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
2919         (eieio-default-eval-maybe): Eval val instead of unquoting only.
2920         (class-precedence-list): If class is nil, return nil.
2921         (eieio-generic-call): If class of first input arg is nil, don't
2922         look up static methods, and do check for primary methods.
2923         (initialize-instance): See if the default needs to be evaluated
2924         during the constructor.
2925         (eieio-perform-slot-validation-for-default): Don't do the check
2926         for values that will eventually be evaluated.
2927         (eieio-eval-default-p): New function.
2928         (eieio-default-eval-maybe): Use it.
2930 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
2932         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
2933         method-invocation-order.
2934         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
2935         (eieio-class-precedence-dfs): Compute class precedence list using
2936         dfs algorithm.
2937         (eieio-class-precedence-bfs): Compute class precedence list using
2938         bfs algorithm.
2939         (eieio-class-precedence-c3): Compute class precedence list using
2940         c3 algorithm.
2941         (class-precedence-list): New function.
2942         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
2943         (inconsistent-class-hierarchy): New error symbol.
2944         (call-next-method): Stow the replacement argument list for future
2945         call-next-method invocations.
2947 2010-09-23  Glenn Morris  <rgm@gnu.org>
2949         * calendar/appt.el (appt-check): If not displaying the diary,
2950         use (diary 1) to only get the entries we need.
2951         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
2952         that it is in day order.  (Bug#7019)
2954         * calendar/appt.el (appt-check): Rather than showing the diary,
2955         just turn off invisible display, and only if needed.
2957         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
2959 2010-09-23  Glenn Morris  <rgm@gnu.org>
2961         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
2962         (byte-compile-defvar, byte-compile-cl-warn):
2963         Start warnings with lower-case, like the majority.
2965         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
2967         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
2969         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
2970         * files.el (auto-mode-alist): Move ld-script entries here, further down
2971         the list.
2973         * vc/add-log.el: Don't require timezone when compiling.
2974         (timezone-make-date-sortable): Autoload it.
2975         (change-log-sortable-date-at): Don't require timezone.
2976         Use `ignore-errors'.
2978         * comint.el (comint-use-prompt-regexp-instead-of-fields):
2979         Move alias before definition, so it does not need autoloading.
2981         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
2982         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
2983         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
2984         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
2985         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
2986         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
2987         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
2988         * textmodes/tex-mode.el, textmodes/two-column.el:
2989         Remove leading `*' from docs of defcustoms etc.
2991 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
2993         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
2995 2010-09-22  Dan Christensen  <jdc@uwo.ca>
2997         * calendar/time-date.el (date-to-time): Try using parse-time-string
2998         first before using the slower timezone-make-date-arpa-standard.
3000 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
3002         * calendar/time-date.el (format-seconds): Comment fix.
3004 2010-09-22  Glenn Morris  <rgm@gnu.org>
3006         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
3007         is not automatically buffer-local.
3009 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3011         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
3012         (smie-indent-comment): Be more careful with comment-start-skip.
3013         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
3014         (smie-indent-functions): Use them.
3016 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
3018         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
3020 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
3022         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
3023         tool-bar-position.  Don't modify frame parameters here.
3024         (menu-bar-options-save): Add tool-bar-position.
3026         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
3028 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3030         * textmodes/reftex-parse.el (reftex-what-macro)
3031         (reftex-context-substring): Let-bind forward-sexp-function to nil
3032         since we don't need/want to treat \begin...\end as a block (bug#7053).
3034         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
3036         * simple.el (blink-matching-open): Use syntax-class.
3038         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
3039         Set invisibility spec for pascal's outline mode.
3040         (pascal-outline-change): Clean up calling convention.
3041         (pascal-show-all, pascal-hide-other-defuns): Update callers.
3043         * progmodes/prolog.el (prolog-smie-forward-token)
3044         (prolog-smie-backward-token): New functions.
3045         (prolog-mode-variables): Use them to parse "!," correctly.
3046         Set up smie-blink-matching for ".".
3048         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
3049         and `end'.
3050         (ispell-region, ispell-process-line): Update users.
3052         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
3053         point-min==1.
3055         * textmodes/ispell.el: Fix commenting convention.
3056         (ispell-parse-output): Simplify, use push.
3057         (ispell-region): Use match-string-no-properties.
3058         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
3059         (ispell-minor-mode): Use define-minor-mode.
3060         (ispell-message): Remove unused var `skip-regexp'.
3061         (ispell-add-per-file-word-list): Use dynamic let-binding.
3062         Try and use the proper comment marker.
3064         * mail/sendmail.el: Fix commenting convention.
3065         (sendmail-send-it): Use line-beginning-position.
3067         * help-fns.el (describe-variable): Add original value, if applicable.
3069 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
3071         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
3073         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
3075 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3077         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
3078         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
3079         (smie-prec2-levels): Use them to better diagnose precedence cycles.
3080         (smie-blink-matching-check): Don't signal a mismatch if car is t.
3081         (smie-blink-matching-open): Rewrite to remove assumptions, so that
3082         something like "." can also be a closer.
3083         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
3084         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
3085         Rename internal functions to use "--".  Update callers.
3087         * frame.el (make-frame-names-alist): Don't list frames on other displays.
3089         * fringe.el (fringe-styles): New var.
3090         (fringe-mode, fringe-query-style): Use it.
3092 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
3094         * progmodes/sql.el: Version 2.8
3095         (sql-login-params): Update widget structure; changes still needed.
3096         (sql-product-alist): Add :list-all and :list-table features for
3097         SQLite, Postgres and MySQL products.
3098         (sql-redirect): Handle default value.
3099         (sql-execute, sql-execute-feature): New functions.
3100         (sql-read-table-name): New function.
3101         (sql-list-all, sql-list-table): New functions.  User API.
3102         (sql-mode-map, sql-interactive-mode-map): Add key definitions
3103         for above functions.
3104         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
3105         for above functions.
3106         (sql-postgres-login-params): Add user and database defaults.
3107         (sql-buffer-live-p): Bug fix.
3108         (sql-product-history): New variable.
3109         (sql-read-product): New function. Use it.
3110         (sql-set-product, sql-product-interactive): Use it.
3111         (sql-connection-history): New variable.
3112         (sql-read-connection): New function.  Use it.
3113         (sql-connect): New function.
3114         (sql-for-each-login): Redesign function interface.
3115         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
3116         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
3117         (sql-comint): Check for program.  Existing live buffer.
3118         (sql-comint-postgres): Add port parameter.
3120 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3122         * emacs-lisp/warnings.el: Fix commenting convention.
3123         (display-warning): Use special mode and make the buffer read-only.
3125 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
3127         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
3128         empty string when it follows a repeated or optional pattern.
3130 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3132         * indent.el (indent-according-to-mode): Apply syntax-propertize.
3133         (indent-region): Use indent-according-to-mode.
3135 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
3137         * fringe.el (fringe-mode): Doc fix.
3139 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
3141         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
3142         refreshing the preview buffer.
3144 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3146         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
3147         (latex-syntax-propertize-rules): New consts; replace
3148         tex-font-lock-syntactic-keywords.
3149         (tex-env-mark, latex-env-before-change): New functions.
3150         (latex-electric-env-pair-mode): New minor mode.
3151         (tex-font-lock-verb): Change arguments; do move point.
3152         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
3153         representation as a form of comment.
3154         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
3155         (doctex-syntax-propertize-rules): New const; replaces
3156         doctex-font-lock-syntactic-keywords.
3157         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
3159         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
3160         (fortran-make-syntax-propertize-function): New function; replaces
3161         fortran-font-lock-syntactic-keywords.
3162         (fortran-mode): Use it.
3163         (fortran-line-length): Use it.  Improve interactive spec.
3165         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
3166         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
3167         when adding surrounding \(..\).
3169         * progmodes/js.el (js-mode): Fix last change (bug#7054).
3171 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3173         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
3174         Use with-current-buffer.
3176         * isearch.el (isearch-face): Rename from `isearch'.
3177         (isearch-highlight): Use new name.
3179 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
3181         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
3182         5, for `half' width fringes.  (Bug#6933)
3184 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3186         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
3187         (byte-compile-defvar): "foo/bar" does not lack a prefix.
3189         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
3191 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
3193         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
3194         in calculating new frame position.  Add more space between new and
3195         parent on the left (Bug#7048).
3197 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
3199         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
3200         defmacro.
3202 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
3204         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
3206         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
3207         obsolete alias for x-selection-value.
3209         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
3211 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
3213         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
3214         cookie.
3216 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
3218         * net/tramp-compat.el (tramp-compat-with-temp-message)
3219         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
3220         (tramp-compat-process-put): New defuns.
3222         * net/tramp.el (top):
3223         * net/tramp-gvfs.el (top):
3224         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
3226         * net/tramp.el (tramp-progress-reporter-update):
3227         Use `tramp-compat-funcall'.
3229         * net/tramp.el (tramp-process-actions):
3230         * net/tramp-gvfs.el (tramp-handle-vc-registered):
3231         * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
3232         (tramp-get-remote-stat, tramp-get-remote-readlink):
3233         Use `tramp-compat-with-temp-message'.
3235         * net/tramp-sh.el (top): Require 'cl.
3236         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
3237         (tramp-open-connection-setup-interactive-shell):
3238         Use `tramp-compat-process-put'.
3240 2010-09-15  Alan Mackenzie  <acm@muc.de>
3242         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
3243         indentation.
3244         (c-forward-<>-arglist-recur): Fix an infinite recursion.
3246 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3248         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
3249         `lexical' for warnings related to lexical scoping.
3250         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
3251         global vars which don't have a prefix and could hence affect lexical
3252         scoping in unrelated files.
3254 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3256         * net/imap.el: Revert back to version
3257         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
3258         seem problematic.
3260 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
3262         * obsolete/old-whitespace.el (whitespace-unload-function):
3263         Explicitly pass `obarray' to `unintern' to avoid a warning.
3265 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3267         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
3268         Add `when' argument.  Update callers.
3270         * subr.el (unintern): Declare the obarray arg mandatory.
3272 2010-09-14  Glenn Morris  <rgm@gnu.org>
3274         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
3275         Doc fixes.
3277         * calendar/diary-lib.el (diary-included-files): New variable.
3278         (diary-list-entries): Maybe initialize diary-included-files.
3279         (diary-include-other-diary-files): Append to diary-included-files.
3280         * calendar/appt.el (appt-update-list): Also check the members of
3281         diary-included-files.  (Bug#6999)
3282         (appt-check): Doc fix.
3284 2010-09-14  David Reitter  <david.reitter@gmail.com>
3286         * simple.el (line-move-visual): Do not truncate goal column to
3287         integer size.  (Bug#7020)
3289 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3291         * repeat.el (repeat): Allow repeating when the last event is a click.
3292         Suggested by Drew Adams (bug#6256).
3294 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
3296         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
3297         Replace setting HGRCPATH to "" by some less invasive --config options.
3299 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
3301         * font-lock.el (font-lock-beginning-of-syntax-function):
3302         Mark as obsolete.
3304 2010-09-14  Glenn Morris  <rgm@gnu.org>
3306         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
3307         and tool-bar modes.  (Bug#6211)
3308         (menu-bar-mode): Move setting of standard-value after the
3309         minor-mode definition, otherwise it seems to have no effect.
3311 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
3313         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
3314         Fix typo.  (Bug#6976)
3316 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3318         * whitespace.el: Allow cleaning up blanks without blank
3319         visualization (Bug#6651).  Adjust help window for
3320         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
3321         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
3322         (whitespace-style): Add new value 'face.  Adjust docstring.
3323         (whitespace-space, whitespace-hspace, whitespace-tab):
3324         Adjust foreground property face.
3325         (whitespace-line-column): Adjust docstring and type declaration.
3326         (whitespace-style-value-list, whitespace-toggle-option-alist)
3327         (whitespace-help-text): Adjust const initialization.
3328         (whitespace-toggle-options, global-whitespace-toggle-options):
3329         Adjust docstring.
3330         (whitespace-display-window, whitespace-interactive-char)
3331         (whitespace-style-face-p, whitespace-color-on): Adjust code.
3332         (whitespace-help-scroll): New fun.
3334 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
3336         * calendar/time-date.el (format-seconds): Comment fix.
3338 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
3340         * progmodes/sql.el: Version 2.7.
3341         (sql-buffer-live-p): Improve detection.
3342         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3343         (sql-set-sqli-buffer): Use it.
3344         (sql-product-interactive): Run `sql-set-sqli-hook'.
3345         (sql-rename-buffer): Code cleanup.
3346         (sql-redirect, sql-redirect-value): New functions.  More to come.
3348 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
3350         Port tramp-related Makefile changes of 2010-09-08T14:42:54Z!michael.albinus@gmx.de, 2010-09-13T15:17:01Z!michael.albinus@gmx.de to Windows.
3351         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3352         (TRAMP_SRC): New macro.
3353         ($(lisp)/net/tramp-loaddefs.el): New target.
3355 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
3357         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
3359         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
3361         * net/tramp.el (top): Don't show loading message.  Require just
3362         'tramp-compat, everything else is required there.
3363         Use `ignore-errors' where appropriate.
3364         (tramp-inline-compress-start-size, tramp-copy-size-limit)
3365         (tramp-terminal-type, tramp-end-of-output)
3366         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
3367         (tramp-completion-function-alist-ssh)
3368         (tramp-completion-function-alist-telnet)
3369         (tramp-completion-function-alist-su)
3370         (tramp-completion-function-alist-putty, tramp-remote-path)
3371         (tramp-remote-process-environment, tramp-sh-extra-args)
3372         (tramp-actions-before-shell, tramp-uudecode)
3373         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
3374         (tramp-perl-file-attributes)
3375         (tramp-perl-directory-files-and-attributes)
3376         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
3377         (tramp-perl-encode, tramp-perl-decode)
3378         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
3379         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
3380         (tramp-handle-make-symbolic-link, tramp-handle-load)
3381         (tramp-handle-file-name-as-directory)
3382         (tramp-handle-file-name-directory)
3383         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
3384         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
3385         (tramp-do-file-attributes-with-ls)
3386         (tramp-do-file-attributes-with-perl)
3387         (tramp-do-file-attributes-with-stat)
3388         (tramp-handle-set-visited-file-modtime)
3389         (tramp-handle-verify-visited-file-modtime)
3390         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
3391         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
3392         (tramp-handle-file-selinux-context)
3393         (tramp-handle-set-file-selinux-context)
3394         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
3395         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
3396         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
3397         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
3398         (tramp-handle-file-ownership-preserved-p)
3399         (tramp-handle-directory-file-name, tramp-handle-directory-files)
3400         (tramp-handle-directory-files-and-attributes)
3401         (tramp-do-directory-files-and-attributes-with-perl)
3402         (tramp-do-directory-files-and-attributes-with-stat)
3403         (tramp-handle-file-name-all-completions)
3404         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
3405         (tramp-handle-copy-file, tramp-handle-copy-directory)
3406         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
3407         (tramp-do-copy-or-rename-file-via-buffer)
3408         (tramp-do-copy-or-rename-file-directly)
3409         (tramp-do-copy-or-rename-file-out-of-band)
3410         (tramp-handle-make-directory, tramp-handle-delete-directory)
3411         (tramp-handle-delete-file)
3412         (tramp-handle-dired-recursive-delete-directory)
3413         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
3414         (tramp-handle-insert-directory)
3415         (tramp-handle-unhandled-file-name-directory)
3416         (tramp-handle-expand-file-name)
3417         (tramp-handle-substitute-in-file-name)
3418         (tramp-handle-executable-find, tramp-process-sentinel)
3419         (tramp-handle-start-file-process, tramp-handle-process-file)
3420         (tramp-handle-call-process-region, tramp-handle-shell-command)
3421         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
3422         (tramp-handle-insert-file-contents)
3423         (tramp-handle-insert-file-contents-literally)
3424         (tramp-handle-find-backup-file-name)
3425         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
3426         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
3427         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
3428         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
3429         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
3430         (tramp-find-file-exists-command, tramp-open-shell)
3431         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
3432         (tramp-open-connection-setup-interactive-shell)
3433         (tramp-local-coding-commands, tramp-remote-coding-commands)
3434         (tramp-find-inline-encoding, tramp-call-local-coding-command)
3435         (tramp-inline-compress-commands, tramp-find-inline-compress)
3436         (tramp-compute-multi-hops, tramp-maybe-open-connection)
3437         (tramp-send-command, tramp-wait-for-output)
3438         (tramp-send-command-and-check, tramp-barf-unless-okay)
3439         (tramp-send-command-and-read, tramp-mode-string-to-int)
3440         (tramp-convert-file-attributes, tramp-check-cached-permissions)
3441         (tramp-file-mode-from-int, tramp-file-mode-permissions)
3442         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
3443         (tramp-method-out-of-band-p, tramp-local-host-p)
3444         (tramp-get-remote-path, tramp-get-remote-tmpdir)
3445         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
3446         (tramp-get-test-command, tramp-get-test-nt-command)
3447         (tramp-get-file-exists-command, tramp-get-remote-ln)
3448         (tramp-get-remote-perl, tramp-get-remote-stat)
3449         (tramp-get-remote-readlink, tramp-get-remote-trash)
3450         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
3451         (tramp-get-local-uid, tramp-get-local-gid)
3452         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
3453         tramp-sh.el.
3454         (tramp-methods, tramp-default-method-alist)
3455         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
3456         Move initialization to tramp-sh.el.
3457         (tramp-temp-name-prefix): Make it a defconst.
3458         (tramp-dissect-file-name): Don't check anymore for multi-hop
3459         methods.
3460         (tramp-debug-outline-regexp): Add a docstring.
3461         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
3462         (tramp-get-debug-buffer): Use it.
3464         * net/tramp-cache.el (top): Set tramp-autoload cookie for
3465         initialization forms.
3466         (tramp-set-connection-property): Don't protect `tramp-message'
3467         call, it isn't necessary any longer.
3468         (tramp-dump-connection-properties): Use `ignore-errors'.
3470         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
3471         'password-cache and 'auth-source.
3473         * net/tramp-gvfs.el (top):
3474         * net/tramp-smb.el (top): Require 'tramp-sh.
3476         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
3478         * net/tramp-sh.el: New file, derived from tramp.el.
3479         (top): Initialize `tramp-methods', `tramp-default-method-alist',
3480         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
3481         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
3482         Use `ignore-errors' where appropriate.
3483         (tramp-sh-file-name-handler-alist): Rename from
3484         `tramp-file-name-handler-alist'.
3485         (tramp-send-command-and-check): Return t or nil.  Remove all
3486         `zerop' checks, where called.
3487         (tramp-handle-set-file-modes)
3488         (tramp-do-copy-or-rename-file-directly)
3489         (tramp-handle-delete-directory, tramp-handle-delete-file)
3490         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
3491         (tramp-sh-file-name-handler, tramp-send-command-and-check)
3492         (tramp-get-remote-ln): Set tramp-autoload cookie.
3494         * net/tramp-fish.el: Remove file.
3496 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
3498         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
3499         buffer-file-name to avoid file-locking.  (Bug#7026)
3501 2010-09-13  Julien Danjou  <julien@danjou.info>
3503         * notifications.el (notifications-notify): Add support for
3504         image-path and sound-name.
3505         (notifications-specification-version): Add this variable.
3507 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3509         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
3511 2010-09-12  Leo  <sdl.web@gmail.com>
3513         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
3514         (rcirc-completion-start): New variables.
3515         (rcirc-nick-completions): Rename to rcirc-completions.
3516         (rcirc-nick-completion-start-offset): Delete.
3517         (rcirc-completion-at-point): New function for constructing
3518         completion data for both nicks and irc commands.  Add to
3519         completion-at-point-functions in rcirc mode.
3520         (rcirc-complete): Rename from rcirc-nick-complete; use
3521         rcirc-completion-at-point.
3522         (defun-rcirc-command): Update rcirc-client-commands.
3524 2010-09-11  Glenn Morris  <rgm@gnu.org>
3526         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
3527         atomically, to avoid parallel build errors.  (Bug#4196)
3529 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
3531         * progmodes/sql.el: Version 2.6
3532         (sql-dialect): Synonym for "sql-product".
3533         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3534         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
3535         Set "sql-buffer" to buffer name not buffer object so multiple sql
3536         interactive buffers work properly.  Reverts misguided changes in
3537         earlier work.
3538         (sql-comint): Make sure different buffer name is used if "*SQL*"
3539         buffer is for a different product.
3540         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
3541         login param.
3542         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
3543         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
3544         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
3545         Accept new buffer name or prompt for one.
3546         (sql-port): Default to zero.
3547         (sql-comint-mysql): Handle "sql-port" as a numeric.
3548         (sql-port-history): Delete unused variable.
3549         (sql-get-login): Default "sql-port" to a number.
3550         (sql-product-alist): Correct Postgres prompt and terminator regexp.
3551         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
3552         "sqlite3" executables.
3553         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
3554         (sql-buffer-live-p): New function.
3555         (sql-mode-menu, sql-send-string): Use it.
3556         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
3557         syntax pattern.
3558         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
3559         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
3561 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3563         * net/netrc.el (netrc-credentials): New convenience function.
3565 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3567         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
3568         to replace texinfo-font-lock-syntactic-keywords.
3569         (texinfo-mode): Use it.
3571         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
3572         Use syntax-propertize-function.
3574         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
3575         replace sgml-font-lock-syntactic-keywords.
3576         (sgml-mode): Use it.
3578         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
3579         since we don't use it.
3581         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
3583         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
3584         if available.
3585         (vhdl-fontify-buffer): Adjust.
3587         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
3588         replace tcl-font-lock-syntactic-keywords.
3589         (tcl-mode): Use it.
3591         * progmodes/simula.el (simula-syntax-propertize-function): New var to
3592         replace simula-font-lock-syntactic-keywords.
3593         (simula-mode): Use it.
3595         * progmodes/sh-script.el (sh-st-symbol): Remove.
3596         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
3597         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
3598         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
3599         (sh-font-lock-paren): Set syntax-multiline.
3600         (sh-font-lock-syntactic-keywords): Remove.
3601         (sh-syntax-propertize-function): New function to replace it.
3602         (sh-mode): Use it.
3604         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
3605         Define while compiling.
3606         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3607         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
3608         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
3609         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3610         (ruby-here-doc-end-syntax): Only define when
3611         syntax-propertize is not available.
3612         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
3613         New functions.
3614         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
3615         (electric-indent-chars): Silence bytecompiler.
3616         (ruby-mode): Use prog-mode, syntax-propertize-function, and
3617         electric-indent-chars.
3619         * progmodes/python.el (python-syntax-propertize-function): New var to
3620         replace python-font-lock-syntactic-keywords.
3621         (python-mode): Use it.
3622         (python-quote-syntax): Simplify and adjust to new use.
3624         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
3625         replace perl-font-lock-syntactic-keywords.
3626         (perl-syntax-propertize-special-constructs): New fun to replace
3627         perl-font-lock-special-syntactic-constructs.
3628         (perl-font-lock-syntactic-face-function): New fun.
3629         (perl-mode): Use it.
3631         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
3632         to replace octave-font-lock-close-quotes.
3633         (octave-syntax-propertize-function): New function to replace
3634         octave-font-lock-syntactic-keywords.
3635         (octave-mode): Use it.
3637         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
3638         replaces mixal-font-lock-syntactic-keywords.
3639         (mixal-mode): Use it.
3641         * progmodes/make-mode.el (makefile-syntax-propertize-function):
3642         New var; replaces makefile-font-lock-syntactic-keywords.
3643         (makefile-mode): Use it.
3644         (makefile-imake-mode): Adjust.
3646         * progmodes/js.el (js--regexp-literal): Define while compiling.
3647         (js-syntax-propertize-function): New var; replaces
3648         js-font-lock-syntactic-keywords.
3649         (js-mode): Use it.
3651         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
3652         replaces gdb-script-font-lock-syntactic-keywords.
3653         (gdb-script-mode): Use it.
3655         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
3656         (fortran--font-lock-syntactic-keywords): New var.
3657         (fortran-line-length): Update syntax-propertize-function and
3658         fortran--font-lock-syntactic-keywords.
3660         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
3662         * progmodes/cfengine.el (cfengine-mode):
3663         Use syntax-propertize-function.
3664         (cfengine-font-lock-syntactic-keywords): Remove.
3666         * progmodes/autoconf.el (autoconf-mode):
3667         Use syntax-propertize-function.
3668         (autoconf-font-lock-syntactic-keywords): Remove.
3670         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
3671         (ada-after-change-function, ada-initialize-syntax-table-properties)
3672         (ada-handle-syntax-table-properties): Only define when
3673         syntax-propertize is not available.
3674         (ada-mode): Use syntax-propertize-function.
3676         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
3677         (font-lock-fontify-syntactic-keywords-region): Move handling of
3678         font-lock-syntactically-fontified to...
3679         (font-lock-default-fontify-region): ...here.
3680         Let syntax-propertize-function take precedence.
3681         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
3683         * emacs-lisp/syntax.el (syntax-propertize-function)
3684         (syntax-propertize-chunk-size, syntax-propertize--done)
3685         (syntax-propertize-extend-region-functions): New vars.
3686         (syntax-propertize-wholelines, syntax-propertize-multiline)
3687         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
3688         (syntax-propertize): New functions.
3689         (syntax-propertize-rules): New macro.
3690         (syntax-ppss-flush-cache): Set syntax-propertize--done.
3691         (syntax-ppss): Call syntax-propertize.
3693         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
3695 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
3697         * textmodes/ispell.el (ispell-init-process): Improve comments.
3698         XEmacs compatibility changes regarding (add-hook) 'local option
3699         and (set-process-query-on-exit-flag).
3701 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
3703         * net/tramp-cache.el (tramp-parse-connection-properties):
3704         Set tramp-autoload cookie.
3706 2010-09-09  Glenn Morris  <rgm@gnu.org>
3708         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
3709         (imagemagick-register-types): Doc fix.
3711 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3713         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
3715         * progmodes/js.el (require): Require is already "eval-and-compile".
3716         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
3717         (js--re-search-backward): Use js--re-search-forward.
3719         * progmodes/fortran.el (fortran-line-length): Don't recompute
3720         syntactic keywords redundantly a second time.
3722         * progmodes/ada-mode.el: Replace "(set '" with setq.
3723         (ada-mode): Simplify.
3724         (ada-create-case-exception, ada-adjust-case-interactive)
3725         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
3726         (ada-search-ignore-string-comment, ada-move-to-start)
3727         (ada-move-to-end): Use with-syntax-table.
3729         * font-lock.el (save-buffer-state): Remove `varlist' arg.
3730         (font-lock-unfontify-region, font-lock-default-fontify-region):
3731         Update usage correspondingly.
3732         (font-lock-fontify-syntactic-keywords-region):
3733         Set parse-sexp-lookup-properties buffer-locally here.
3734         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
3736         * simple.el (blink-matching-open): Don't burp if we can't find a match.
3738 2010-09-08  Glenn Morris  <rgm@gnu.org>
3740         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
3741         Error if not compiled with -DBYTE_CODE_METER.
3743         * emacs-lisp/bytecomp.el (byte-recompile-directory):
3744         Ignore dir-locals-file.
3746 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3748         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3749         Not a const.
3750         (compilation-error-regexp-alist-alist): Rule out ": " in file names
3751         for the `gnu' messages.
3752         (compilation-set-skip-threshold): New command.
3753         (compilation-start): Use \' rather than $.
3754         (compilation-forget-errors): Use clrhash.
3756 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
3758         * textmodes/ispell.el (ispell-valid-dictionary-list):
3759         Simplify logic.
3761 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
3763         Migrate to Tramp 2.2.  Rearrange load dependencies.
3764         (Bug#1529, Bug#5448, Bug#5705)
3766         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
3767         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
3768         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
3770         * net/tramp.el (top): Remove all other tramp-* loads except
3771         tramp-compat.el.  Remove all changes to tramp-unload-hook for
3772         other tramp-* packages.  Rearrange defun order.  Change calls of
3773         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
3774         `tramp-compat-octal-to-decimal' to new function names.
3775         (tramp-terminal-type, tramp-initial-end-of-output)
3776         (tramp-methods, tramp-foreign-file-name-handler-alist)
3777         (tramp-tramp-file-p, tramp-completion-mode-p)
3778         (tramp-send-command-and-check, tramp-get-remote-path)
3779         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
3780         (tramp-shell-quote-argument): Set tramp-autoload cookie.
3781         (with-file-property, with-connection-property): Move to
3782         tramp-cache.el.
3783         (tramp-local-call-process, tramp-decimal-to-octal)
3784         (tramp-octal-to-decimal): Move to tramp-compat.el.
3785         (tramp-handle-shell-command): Do not require 'shell.
3786         (tramp-compute-multi-hops): No special handling for tramp-gw-*
3787         symbols.
3788         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
3790         * net/tramp-cache.el (top): Require 'tramp.  Add to
3791         `tramp-unload-hook'.
3792         (tramp-cache-data, tramp-get-file-property)
3793         (tramp-set-file-property, tramp-flush-file-property)
3794         (tramp-flush-directory-property, tramp-get-connection-property)
3795         (tramp-set-connection-property, tramp-flush-connection-property)
3796         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
3797         cookie.
3798         (with-file-property, with-connection-property): New defuns, moved
3799         from tramp.el.
3800         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
3801         macro.
3803         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
3804         (tramp-version): Set tramp-autoload cookie.
3806         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
3807         changes to tramp-unload-hook for other tramp-* packages.  Add to
3808         `tramp-unload-hook'.
3809         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
3810         (tramp-compat-call-process): New defuns, moved from tramp.el.
3812         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
3813         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
3814         to `tramp-unload-hook'.  Change call of
3815         `tramp-compat-decimal-to-octal' to new function name.
3816         (tramp-fish-method): Make it a defconst.
3817         (tramp-fish-file-name-p): Make it a defsubst.
3818         (tramp-fish-method, tramp-fish-file-name-handler)
3819         (tramp-fish-file-name-p): Set tramp-autoload cookie.
3821         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
3822         `tramp-foreign-file-name-handler-alist'.  Add to
3823         `tramp-unload-hook'.
3824         (tramp-ftp-method): Make it a defconst.
3825         (tramp-ftp-file-name-p): Make it a defsubst.
3826         (tramp-ftp-method, tramp-ftp-file-name-handler)
3827         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
3829         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
3830         `tramp-foreign-file-name-handler-alist'.  Add to
3831         `tramp-unload-hook'.  Change checks, whether package can be
3832         loaded.
3833         (tramp-gvfs-file-name-p): Make it a defsubst.
3834         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
3835         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
3836         (tramp-gvfs-handle-file-directory-p): New defun.
3837         (tramp-gvfs-file-name-handler-alist): Use it.
3839         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
3840         `tramp-foreign-file-name-handler-alist'.  Add to
3841         `tramp-unload-hook'.
3842         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
3843         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
3844         defconst.
3845         (tramp-gw-tunnel-method, tramp-gw-socks-method)
3846         (tramp-gw-open-connection): Set tramp-autoload cookie.
3848         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
3849         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
3850         to `tramp-unload-hook'.  Change checks, whether package can be
3851         loaded.
3852         (tramp-imap-file-name-p): Make it a defsubst.
3853         (tramp-imap-method, tramp-imaps-method)
3854         (tramp-imap-file-name-handler)
3855         (tramp-imap-file-name-p): Set tramp-autoload cookie.
3857         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
3858         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.  Add
3859         to `tramp-unload-hook'.  Change checks, whether package can be
3860         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
3861         function name.
3862         (tramp-smb-tunnel-method): Make it a defconst.
3863         (tramp-smb-file-name-p): Make it a defsubst.
3864         (tramp-smb-method, tramp-smb-file-name-handler)
3865         (tramp-smb-file-name-p): Set tramp-autoload cookie.
3867         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
3868         (tramp-uuencode-region): Set tramp-autoload cookie.
3870         * net/trampver.el (top) Add to `tramp-unload-hook'.
3871         (tramp-version, tramp-bug-report-address): Set tramp-autoload
3872         cookie.  Update release number.
3874 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
3876         * textmodes/ispell.el (ispell-start-process): Make sure original
3877         arg list is properly initialized (Bug#6993, Bug#6994).
3879 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
3881         * files.el (directory-abbrev-alist): Use \` as default regexp.
3883         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
3884         chars like - or ] (bug#6984).
3885         (rx-any-condense-range): Explode 2-char ranges.
3887 2010-09-06  Glenn Morris  <rgm@gnu.org>
3889         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
3891 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
3893         * textmodes/bibtex.el:
3894         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
3896 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3898         * net/imap.el (imap-message-map): Remove optional buffer parameter,
3899         since no callers use it.
3900         (imap-message-get): Ditto.
3901         (imap-message-put): Ditto.
3902         (imap-mailbox-map): Ditto.
3903         (imap-mailbox-put): Ditto.
3904         (imap-mailbox-get): Ditto.
3905         (imap-mailbox-get): Revert last change for this function.
3907 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3909         * net/imap.el (imap-fetch-safe): Remove function, and alter all
3910         callers to use `imap-fetch' instead.  According to the comments, this
3911         should be safe, since all other IMAP clients use the 1:* syntax.
3912         (imap-enable-exchange-bug-workaround): Remove.
3913         (imap-debug): Remove -- doesn't seem very useful.
3915 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3917         * net/imap.el (imap-log): New convenience function used throughout
3918         instead of repeating the same code all over the place.
3920 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
3922         * mouse.el (mouse-save-then-kill): Save region to kill-ring
3923         when mouse-drag-copy-region is non-nil (Bug#6956).
3925 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
3927         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
3928         Improve regexps (Bug#6987).
3929         (dired-sort-toggle): Search more robustly for -t flag.
3931         * files.el (get-free-disk-space): Search more robustly for
3932         "available" column.  Suggested by Ehud Karni
3933         <ehud@unix.mvs.co.il>.
3935 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
3937         * international/uni-bidi.el:
3938         * international/uni-category.el:
3939         * international/uni-combining.el:
3940         * international/uni-decimal.el:
3941         * international/uni-mirrored.el:
3942         * international/uni-name.el: Regenerate.
3944 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3946         * electric.el (electric-indent-post-self-insert-function):
3947         Don't reindent with a sloppy indentation function.
3949         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
3950         border case in change-log-mode.
3952 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
3954         * progmodes/compile.el (compilation-error-regexp-alist-alist):
3955         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
3956         Recognize leading tab in gcc-include regexp.  Ignore names with
3957         leading "from" or "in" in gnu regexp (Bug#6937).
3959 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3961         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
3962         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
3963         (ispell-start-process): Avoid setq and simplify logic.
3964         (ispell-init-process): Setup kill-buffer-hook locally when needed.
3965         (kill-buffer-hook): Don't use it globally with code that uses
3966         expand-file-name since that may call kill-buffer via
3967         code_conversion_restore.
3969 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
3971         * emacs-lisp/package.el (package-directory-list): Only call
3972         file-name-nondirectory on a string.
3974 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
3976         * emacs-lisp/package.el (package--download-one-archive):
3977         Ensure that archive-contents is valid before saving it.
3978         (package-activate-1, package-mark-obsolete, define-package)
3979         (package-compute-transaction, package-list-maybe-add): Use push.
3981 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3983         Use SMIE's blink-paren for octave-mode.
3984         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
3985         Backslashes do not escape single-quotes, single-quotes do.
3986         (octave-block-else-regexp, octave-block-end-regexp)
3987         (octave-block-match-alist): Remove.
3988         (octave-smie-bnf-table): New var, with old content.
3989         (octave-smie-op-levels): Use it.
3990         (octave-smie-closer-alist): New var.
3991         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
3992         (octave-blink-matching-block-open): Remove.
3993         (octave-reindent-then-newline-and-indent, octave-electric-semi)
3994         (octave-electric-space): Let self-insert-command run expand-abbrev and
3995         blink parens.
3997         * electric.el (electricity): New group.
3998         (electric-indent-chars): New var.
3999         (electric-indent-post-self-insert-function): New fun.
4000         (electric-indent-mode): New minor mode.
4001         (electric-pair-skip-self): New custom.
4002         (electric-pair-post-self-insert-function): New function.
4003         (electric-pair-mode): New minor mode.
4005         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
4006         calcAlg-blink-matching-open.
4007         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
4008         (calc-do-alg-entry): Only touch the part of the keymap that varies.
4009         Use the new blink-matching-check-function.
4011         Provide blink-matching support to SMIE.
4012         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
4013         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
4014         (smie-blink-matching-check, smie-blink-matching-open): New functions.
4016         * simple.el (newline): Fix last change to properly remove itself from
4017         the hook.
4019 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
4021         * simple.el (newline): Eliminate optimization.
4022         Use post-self-insert-hook to set hard-newline and things before
4023         running post-self-insert-hook.
4024         (blink-matching-check-mismatch): New function.
4025         (blink-matching-check-function): New variable.
4026         (blink-matching-open): Use them.
4027         Skip back forward over prefix chars skipped by forward-sexp.
4028         Don't check if the parens are backslash escaped.
4029         (blink-paren-post-self-insert-function): Check backslash escaping here.
4031 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
4033         * emacs-lisp/package.el (package-menu-mode-map):
4034         Change package-menu-revert bindings to revert-buffer.
4035         (package-menu-mode): Set revert-buffer-function.
4036         (package-menu-revert): Doc fix.
4038 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
4040         * textmodes/ispell.el (ispell-init-process): Use "~/" as
4041         `default-directory' unless using Ispell per-directory personal
4042         dictionaries and not in a mini-buffer under XEmacs.
4043         (kill-buffer-hook): Do not kill ispell process on exit when
4044         `ispell-process-directory' is "~/".  (Bug#6143)
4046 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
4048         * simple.el (kill-new): Call interprogram-cut-function with only
4049         one argument.
4051         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
4052         Remove cut buffer from error message.
4054         * term/x-win.el (x-select-text):
4055         * term/pc-win.el (x-selection-value):
4056         * term/ns-win.el (x-selection-value):
4057         * eshell/em-term.el:
4058         * w32-fns.el (x-get-selection-value):
4059         * mouse-sel.el (mouse-sel-set-selection-function):
4060         * frame.el (display-selections-p): Remove cut-buffer in documentation.
4062         * term/x-win.el: Update documentation for x-last-selected-text-*.
4063         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
4064         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
4065         (x-select-text): Remove argument PUSH, update documentation.  Remove
4066         cut-buffer code.
4067         (x-selection-value-internal): Was previously x-selection-value.
4068         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
4069         Update documentation, remove cut-buffer code.  Call
4070         x-selection-value-internal.
4071         (x-clipboard-yank): Call x-selection-value-internal.
4072         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
4074         * term/pc-win.el (x-last-selected-text):
4075         x-cut-buffer-or-selection-value renamed to x-selection-value
4076         (x-select-text): Remove argument PUSH, update documentation.
4078         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
4079         x-cut-buffer-or-selection-value renamed to x-selection-value
4080         (x-selection-value): Renamed from x-cut-buffer-or-selection-value.
4081         (x-select-text): Remove argument PUSH, update documentation.
4083         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
4085         * w32-fns.el (x-last-selected-text):
4086         x-cut-buffer-or-selection-value renamed to x-selection-value.
4087         (x-cut-buffer-max): Remove.
4088         (x-select-text): Remove argument PUSH, update documentation.
4090         * simple.el (interprogram-cut-function): Remove mention of PUSH.
4092         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
4094         * mouse-sel.el (mouse-sel-get-selection-function):
4095         x-cut-buffer-or-selection-value renamed to x-selection-value.
4096         (x-select-text): Remove optional push.
4098 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4100         * simple.el (blink-paren-function): Move from C to here.
4101         (blink-paren-post-self-insert-function): New function.
4102         (post-self-insert-hook): Use it.
4104         * emacs-lisp/pcase.el (pcase-split-memq):
4105         Fix overenthusiastic optimisation.
4106         (pcase-u1): Handle the case of a lambda pred.
4108 2010-08-31  Kenichi Handa  <handa@m17n.org>
4110         * international/mule-cmds.el (standard-display-european-internal):
4111         Setup standard-display-table for 8-bit characters by storing 8-bit
4112         characters in the element vector.
4114         * disp-table.el (standard-display-8bit):
4115         Setup standard-display-table for 8-bit characters by storing 8-bit
4116         characters in the element vector.
4117         (standard-display-european): Likewise.
4119 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
4121         * textmodes/nroff-mode.el (nroff-view): New command.
4122         (nroff-mode-map): Bind it to C-c C-c.
4124 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
4126         * emacs-lisp/smie.el (smie-down-list): New command.
4128         Remove old indentation and navigation code on octave-mode.
4129         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
4130         smie-down-list rather than add a binding for octave-down-block.
4131         (octave-mark-block, octave-blink-matching-block-open):
4132         Rely on forward-sexp-function.
4133         (octave-fill-paragraph): Don't narrow, so you can use
4134         indent-according-to-mode.
4135         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
4136         (octave-in-block-p, octave-re-search-forward-kw)
4137         (octave-re-search-backward-kw, octave-indent-calculate)
4138         (octave-end-as-array-index-p, octave-block-end-offset)
4139         (octave-scan-blocks, octave-forward-block, octave-backward-block)
4140         (octave-down-block, octave-backward-up-block, octave-up-block)
4141         (octave-before-magic-comment-p, octave-indent-line): Remove.
4143 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
4145         * emacs-lisp/package.el (package--read-archive-file): Just use
4146         `read', to avoid copying an additional string.
4147         (package-menu-mode): Set header-line-format here.
4148         (package-menu-refresh, package-menu-revert): Signal an error if
4149         not in the Package Menu.
4150         (package-menu-package-list): New var.
4151         (package--generate-package-list): Operate on the current buffer;
4152         don't assume that it is *Packages*, since the user may rename it.
4153         Allow persistent package listings and sort keys using
4154         package-menu-package-list and package-menu-package-sort-key.
4155         (package-menu--version-predicate): Fix version calculation.
4156         (package-menu-sort-by-column): Don't select the window.
4157         (package--list-packages): Create the *Packages* buffer.
4158         Set package-menu-package-list-key.
4159         (list-packages): Sorting by status is now the default.
4160         (package-buffer-info): Use match-string-no-properties.
4161         (define-package): Add a &rest argument for future proofing, but
4162         don't use it yet.
4163         (package-install-from-buffer, package-install-buffer-internal):
4164         Merge into a single function, package-install-from-buffer.
4165         (package-install-file): Change caller.
4167         * finder.el: Load finder-inf using `require'.
4168         (finder-list-matches): Sorting by status is now the default.
4169         (finder-compile-keywords): Simpify printing.
4171 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4173         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4174         (octave-mode-map): Remove special bindings for forward/backward-block
4175         and octave-backward-up-block.  Use smie-close-block.
4176         (octave-continuation-marker-regexp): New var.
4177         (octave-continuation-regexp): Use it.
4178         (octave-operator-table, octave-smie-op-levels)
4179         (octave-operator-regexp, octave-smie-indent-rules): New vars.
4180         (octave-smie-backward-token, octave-smie-forward-token): New funs.
4181         (octave-mode): Use SMIE.
4182         (octave-close-block): Delete.
4184 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
4186         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
4187         CLIPBOARD, not in PRIMARY.  (Bug#6944)
4189 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
4191         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
4192         a list of parents.
4193         (smie-indent-column): Allow indirection through variables.
4195         * composite.el (save-buffer-state): Delete, unused.
4196         * font-lock.el (save-buffer-state): Use with-silent-modifications.
4197         (font-lock-default-fontify-region): Use with-syntax-table.
4198         * jit-lock.el (with-buffer-unmodified): Remove.
4199         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
4201         Use `declare' in defmacros.
4202         * window.el (save-selected-window):
4203         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
4204         * progmodes/python.el (def-python-skeleton):
4205         * net/dbus.el (dbus-ignore-errors):
4206         * jka-cmpr-hook.el (with-auto-compression-mode):
4207         * international/mule.el (with-category-table):
4208         * emacs-lisp/timer.el (with-timeout):
4209         * emacs-lisp/lisp-mnt.el (lm-with-file):
4210         * emacs-lisp/eieio.el (with-slots):
4211         * emacs-lisp/easymenu.el (easy-menu-define):
4212         * emacs-lisp/debug.el (debugger-env-macro):
4213         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
4214         (Multiple-value-call, Multiple-value-prog1):
4215         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
4216         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
4217         edebug rule to definition.
4218         * emacs-lisp/lisp-mode.el (save-selected-window)
4219         (with-current-buffer, combine-after-change-calls)
4220         (with-output-to-string, with-temp-file, with-temp-buffer)
4221         (with-temp-message, with-syntax-table, read-if, eval-after-load)
4222         (dolist, dotimes, when, unless):
4223         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
4225 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
4227         * finder.el: Require `package'.
4228         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
4229         (finder-package-info): Var deleted.
4230         (finder-keywords-hash, finder--builtins-alist): New vars.
4231         (finder-compile-keywords): Compute package--builtins and
4232         finder-keywords-hash instead of finder-keywords-hash, respecting
4233         the "Package" header.
4234         (finder-unknown-keywords, finder-list-matches):
4235         Use finder-keywords-hash and package--list-packages.
4236         (finder-mode): Don't set font-lock-defaults.
4237         (finder-exit): We don't use "*Finder-package*" and "*Finder
4238         Category*" buffers anymore.
4240         * emacs-lisp/package.el (package--builtins-base): Var deleted.
4241         (package--builtins): Set default value to nil.
4242         (package-initialize): Load precomputed value of package--builtins
4243         from finder-inf.el.
4244         (package-alist, package-compute-transaction)
4245         (package-download-transaction): Improve docstring.
4246         (package-read-all-archive-contents): Do not change
4247         package--builtins here.
4248         (list-packages): Make package-list-packages an alias for this.
4249         Sort by status by default.
4250         (package--list-packages): Add optional PACKAGES arg.
4251         (describe-package-1): Use font-lock-face property.  For built-in
4252         packages, insert file commentary.
4253         (package--generate-package-list): Rename from
4254         package-list-packages-internal; all callers changed.  Add optional
4255         PACKAGES arg.  Add alphabetical sort fallbacks.
4256         (package-menu--version-predicate, package-menu--status-predicate)
4257         (package-menu--description-predicate)
4258         (package-menu--name-predicate): New functions.
4260         * info.el (Info-finder-find-node): Search package-alist instead of
4261         finder-package-info.
4263 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
4265         * subr.el (version-regexp-alist): Don't use "a" and "b" for
4266         "alpha" and "beta".
4267         (version-to-list): Handle versions like "10.3d".
4269 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4271         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
4272         (macroexp-accumulate): Use `declare'.
4274 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4276         * whitespace.el (whitespace-style): Adjust type declaration.
4278 2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>
4280         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
4281         empty argument to gvfs-copy.
4283 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
4285         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
4286         handle new TRASH arg of `delete-file'.
4288 2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
4290         * net/tramp.el (tramp-handle-insert-directory): Don't use
4291         `forward-word', its default syntax could be changed.
4293 2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
4294             Michael Albinus  <michael.albinus@gmx.de>
4296         Implement compression for inline methods.
4298         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
4299         (tramp-copy-size-limit): Allow also nil.
4300         (tramp-inline-compress-commands): New defconst.
4301         (tramp-find-inline-compress, tramp-get-inline-compress)
4302         (tramp-get-inline-coding): New defuns.
4303         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
4304         replaced by `tramp-get-inline-coding'.
4305         (tramp-handle-file-local-copy, tramp-handle-write-region)
4306         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
4308 2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)
4310         Detect ssh 'ControlMaster' argument automatically in some cases.
4312         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
4313         (tramp-default-method): Use it.
4315 2010-08-26  Karel Klíč  <kklic@redhat.com>
4317         * net/tramp.el (tramp-file-name-for-operation):
4318         Add file-selinux-context.
4320 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
4322         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
4324 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
4326         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
4327         (Bug#6907).
4329 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
4331         * progmodes/js.el: Make indentation more customizable (Bug#6914).
4332         (js-paren-indent-offset, js-square-indent-offset)
4333         (js-curly-indent-offset): New options.
4334         (js--proper-indentation): Use them.
4336 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
4338         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
4339         instead of inspecting font-lock properties (Bug#6916).
4341 2010-08-26  David Reitter  <david.reitter@gmail.com>
4343         * server.el (server-visit-files): Run pre-command-hook and
4344         post-command-hook for each buffer while it is current (Bug#6910).
4345         (server-execute): Do not run hooks here.
4347 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
4349         Sync with Tramp 2.1.19.
4351         * net/tramp-cmds.el (tramp-cleanup-all-connections)
4352         (tramp-reporter-dump-variable, tramp-load-report-modules)
4353         (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
4354         (tramp-bug): Recommend setting of `tramp-verbose' to 9.
4356         * net/tramp-compat.el (top): Do not autoload
4357         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
4358         only when `start-file-process' is not bound.
4359         (byte-compile-not-obsolete-vars): Define if not bound.
4360         (tramp-compat-funcall): New defmacro.
4361         (tramp-compat-line-beginning-position)
4362         (tramp-compat-line-end-position)
4363         (tramp-compat-temporary-file-directory)
4364         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
4365         (tramp-compat-copy-file, tramp-compat-copy-directory)
4366         (tramp-compat-delete-file, tramp-compat-delete-directory)
4367         (tramp-compat-number-sequence, tramp-compat-process-running-p):
4368         Use it.
4369         (tramp-advice-file-expand-wildcards): Do not use
4370         `tramp-handle-file-remote-p'.
4371         (tramp-compat-make-temp-file): Simplify fallback implementation.
4372         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4373         (tramp-compat-copy-tree): Remove function.
4374         (tramp-compat-delete-file): New defun.
4375         (tramp-compat-delete-directory): Provide implementation for older
4376         Emacsen.
4377         (tramp-compat-file-attributes): Handle only
4378         `wrong-number-of-arguments' error.
4380         * net/tramp-fish.el (tramp-fish-handle-copy-file):
4381         Add PRESERVE_SELINUX_CONTEXT.
4382         (tramp-fish-handle-delete-file): Add TRASH arg.
4383         (tramp-fish-handle-directory-files-and-attributes):
4384         Do not use `tramp-fish-handle-file-attributes.
4385         (tramp-fish-handle-file-local-copy)
4386         (tramp-fish-handle-insert-file-contents)
4387         (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
4389         * net/tramp-gvfs.el (top): Require url-util.
4390         (tramp-gvfs-mount-point): Remove.
4391         (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
4392         and `set-file-selinux-context'.
4393         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
4394         (tramp-gvfs-handle-file-selinux-context)
4395         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
4396         (with-tramp-dbus-call-method): Format trace message.
4397         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
4398         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
4399         Implement backup call, when operation on local files fails.
4400         Use progress reporter.  Flush properties of changed files.
4401         (tramp-gvfs-handle-delete-file): Add TRASH arg.  Use
4402         `tramp-compat-delete-file'.
4403         (tramp-gvfs-handle-expand-file-name): Expand "~/".
4404         (tramp-gvfs-handle-make-directory): Make more traces.
4405         (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
4406         (tramp-gvfs-url-file-name): Hexify file name in url.
4407         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
4408         into account for the resulting file name.
4409         (tramp-gvfs-handler-askquestion): Preserve current message, in
4410         order to let progress reporter continue afterwards.  (Bug#6257)
4411         Return dummy mountpoint, when the answer is "no".
4412         See `tramp-gvfs-maybe-open-connection'.
4413         (tramp-gvfs-handler-mounted-unmounted)
4414         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
4415         attribute "default_location".  Set "prefix" property.
4416         Handle default-location.
4417         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
4418         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
4419         exists.  Raise an error, if not (due to a corresponding answer
4420         "no" in interactive questions, for example).
4421         Use `tramp-compat-funcall'.
4423         * net/tramp-imap.el (top): Autoload `epg-make-context'.
4424         (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
4425         (tramp-imap-do-copy-or-rename-file)
4426         (tramp-imap-handle-insert-file-contents)
4427         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
4428         (tramp-imap-handle-delete-file): Add TRASH arg.
4430         * net/tramp-smb.el (tramp-smb-handle-copy-file):
4431         Add PRESERVE-SELINUX-CONTEXT.
4432         (tramp-smb-handle-copy-file)
4433         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
4434         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
4435         Use `with-progress-reporter'.
4436         (tramp-smb-handle-delete-file): Add TRASH arg.
4438         * net/tramp.el (tramp-methods): Move hostname to the end in all
4439         ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
4440         appropriate.
4441         (tramp-verbose): Describe verbose level 9.
4442         (tramp-completion-function-alist)
4443         (tramp-file-name-regexp, tramp-chunksize)
4444         (tramp-local-coding-commands, tramp-remote-coding-commands)
4445         (with-connection-property, tramp-completion-mode-p)
4446         (tramp-action-process-alive, tramp-action-out-of-band)
4447         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
4448         (tramp-exists-file-name-handler): Fix docstring.
4449         (tramp-remote-process-environment): Use `format' instead of
4450         `concat'.  Protect version string by apostroph.
4451         (tramp-shell-prompt-pattern): Do not use a shy group in case of
4452         XEmacs.
4453         (tramp-file-name-regexp-unified)
4454         (tramp-completion-file-name-regexp-unified): On W32 systems, do
4455         not regard the volume letter as remote filename.  (Bug#5447)
4456         (tramp-perl-file-attributes)
4457         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
4458         (tramp-vc-registered-read-file-names): Read input as
4459         here-document, otherwise the command could exceed maximum length
4460         of command line.
4461         (tramp-file-name-handler-alist): Add `file-selinux-context' and
4462         `set-file-selinux-context'.
4463         (tramp-debug-message): Add `tramp-compat-funcall' to ignored
4464         backtrace functions.
4465         (tramp-error-with-buffer): Don't show the connection buffer when
4466         we are in completion mode.
4467         (tramp-progress-reporter-update, tramp-remote-selinux-p)
4468         (tramp-handle-file-selinux-context)
4469         (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
4470         (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
4471         New defuns.
4472         (with-progress-reporter): New defmacro.
4473         (tramp-debug-outline-regexp): New defconst.
4474         (top, tramp-rfn-eshadow-setup-minibuffer)
4475         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
4476         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
4477         (tramp-completion-mode-p, tramp-check-for-regexp)
4478         (tramp-open-connection-setup-interactive-shell)
4479         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
4480         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
4481         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
4482         Use `tramp-compat-funcall'.
4483         (tramp-handle-make-symbolic-link): Flush file properties.
4484         (tramp-handle-load, tramp-handle-file-local-copy)
4485         (tramp-handle-insert-file-contents, tramp-handle-write-region)
4486         (tramp-handle-vc-registered, tramp-maybe-send-script)
4487         (tramp-find-shell): Use `with-progress-reporter'.
4488         (tramp-do-file-attributes-with-stat): Add space in format string,
4489         in order to work around a bug in pdksh.  Reported by Gilles Pion
4490         <gpion@lfdj.com>.
4491         (tramp-handle-verify-visited-file-modtime): Do not send a command
4492         when the connection is not established.
4493         (tramp-handle-set-file-times): Simplify the check for utc.
4494         (tramp-handle-directory-files-and-attributes)
4495         (tramp-get-remote-path): Use `copy-tree'.
4496         (tramp-completion-handle-file-name-all-completions): Ensure, that
4497         non remote files are still checked.  Oops.
4498         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
4499         Handle PRESERVE-SELINUX-CONTEXT.
4500         (tramp-do-copy-or-rename-file): Add progress reporter.
4501         (tramp-do-copy-or-rename-file-directly): Do not use
4502         `tramp-handle-file-remote-p'.
4503         (tramp-do-copy-or-rename-file-out-of-band):
4504         Use `tramp-compat-delete-directory'.
4505         (tramp-do-copy-or-rename-file-out-of-band)
4506         (tramp-compute-multi-hops, tramp-maybe-open-connection):
4507         Use `format-spec-make'.
4508         (tramp-handle-delete-file): Add TRASH arg.
4509         (tramp-handle-dired-uncache): Flush directory cache, not only file
4510         cache.
4511         (tramp-handle-expand-file-name)
4512         (tramp-completion-handle-file-name-all-completions)
4513         (tramp-completion-handle-file-name-completion):
4514         Use `tramp-connectable-p'.
4515         (tramp-handle-start-file-process): Set connection property "vec".
4516         Use it, in order to invalidate file caches.  Check only for
4517         `remote-tty' process property.
4518         Implement tty setting.  (Bug#4604, Bug#6360)
4519         (tramp-file-name-for-operation): Add `call-process-region' and
4520         `set-file-selinux-context'.
4521         (tramp-find-foreign-file-name-handler)
4522         (tramp-advice-make-auto-save-file-name)
4523         (tramp-set-auto-save-file-modes): Remove superfluous check for
4524         `stringp'.  This is done inside `tramp-tramp-file-p'.
4525         (tramp-file-name-handler): Trace 'quit.  Catch the error for some
4526         operations when we are in completion mode.  This gives the user
4527         the chance to correct the file name in the minibuffer.
4528         (tramp-completion-mode-p): Use `non-essential'.
4529         (tramp-handle-file-name-all-completions): Backward/ XEmacs
4530         compatibility: Use `completion-ignore-case' if
4531         `read-file-name-completion-ignore-case' does not exist.
4532         (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
4533         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4534         `tramp-open-shell'.
4535         (tramp-action-password): Hide password prompt before next run.
4536         (tramp-process-actions): Widen connection buffer for the trace.
4537         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
4538         process property.  Trace stty settings if `tramp-verbose' >= 9.
4539         Apply workaround for IRIX64 bug.  Move argument of last
4540         `tramp-send-command' where it belongs to.
4541         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
4542         front of `login-args'.
4543         (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
4544         on "/dev/null" instead of "/".
4545         (tramp-get-ls-command-with-dired): Make test for "--dired"
4546         stronger.
4547         (tramp-set-auto-save-file-modes): Adapt version check.
4548         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
4549         (tramp-handle-process-file): Call the program in a subshell, in
4550         order to preserve working directory.
4551         (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
4552         `tramp-remote-sh' from `tramp-methods'.
4553         (tramp-get-ls-command): Make test for "--color=never" stronger.
4554         (tramp-check-for-regexp): Use (forward-line 1).
4556         * net/trampver.el: Update release number.
4558 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
4560         * help.el (help-map): Bind `C-h P' to describe-package.
4562         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
4564         * emacs-lisp/package.el (package-refresh-contents): Catch errors
4565         when downloading archives.
4566         (describe-package-1): Add package commentary.
4567         (package-install-button-action): New function.
4568         (package-menu-mode-map): Bind ? to package-menu-describe-package.
4569         (package-menu-view-commentary): Function removed.
4570         (package-list-packages-internal): Hide the `package' package too.
4572 2010-08-25  Kenichi Handa  <handa@m17n.org>
4574         * language/misc-lang.el ("Arabic"): New language environment.
4575         Setup composition-function-table for Arabic characters.
4577         * international/fontset.el (setup-default-fontset): Fix typo for
4578         arabic OTF spec (fini->fina).
4580 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
4582         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
4583         on all frames.
4585 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4587         * whitespace.el: Allow cleaning up blanks without blank
4588         visualization (Bug#6651).  Adjust help window for
4589         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
4590         instead of whitespace-line-column (from EmacsWiki).  New version
4591         13.1.
4592         (whitespace-style): Added new value 'face.  Adjust docstring.
4593         (whitespace-space, whitespace-hspace, whitespace-tab): Adjust
4594         foreground property face.
4595         (whitespace-line-column): Adjust docstring and type declaration.
4596         (whitespace-style-value-list, whitespace-toggle-option-alist)
4597         (whitespace-help-text): Adjust const initialization.
4598         (whitespace-toggle-options, global-whitespace-toggle-options):
4599         Adjust docstring.
4600         (whitespace-display-window, whitespace-interactive-char)
4601         (whitespace-style-face-p, whitespace-color-on): Adjust code.
4602         (whitespace-help-scroll): New fun.
4604 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
4606         * emacs-lisp/package.el (list-packages): Alias for
4607         package-list-packages.
4609 2010-08-24  Kevin Ryde  <user42@zip.com.au>
4611         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
4612         (Bug#5651).
4614         * progmodes/ruby-mode.el (ruby): Add defgroup.
4616 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
4618         * progmodes/python.el: Add Ipython support (Bug#5390).
4619         (python-shell-prompt-alist)
4620         (python-shell-continuation-prompt-alist): New options.
4621         (python--set-prompt-regexp): New function.
4622         (inferior-python-mode, run-python, python-shell): Require
4623         ansi-color.  Use python--set-prompt-regexp to set the comint
4624         prompt based on the Python interpreter.
4625         (python--prompt-regexp): New var.
4626         (python-check-comint-prompt)
4627         (python-comint-output-filter-function): Use it.
4628         (run-python): Use a pipe (Bug#5694).
4630 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
4632         * progmodes/python.el (python-send-region): Send a different
4633         Python command if Ipython is in use.
4634         (python-check-version): Use a Python command to find the version.
4636 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
4638         * mouse.el (mouse-yank-primary): Avoid setting primary when
4639         deactivating the mark (Bug#6872).
4641 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
4643         * progmodes/python.el (python-block-pairs): Allow use of "finally"
4644         with "else" (Bug#3991).
4646 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
4648         * net/dbus.el: Accept UNIX domain sockets as bus address.
4649         (top): Don't initialize `dbus-registered-objects-table' anymore,
4650         this is done in dbusbind,c.
4651         (dbus-check-event): Adapt test for bus.
4652         (dbus-return-values-table, dbus-unregister-service)
4653         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
4654         Adapt doc string.
4656 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
4658         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
4660 2010-08-22  Juri Linkov  <juri@jurta.org>
4662         * simple.el (read-extended-command): New function with the logic
4663         for `completing-read' moved to Elisp from `execute-extended-command'.
4664         Use `function-called-at-point' in `minibuffer-default-add-function'
4665         to get a command name for M-n (bug#5364, bug#5214).
4667 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
4669         * startup.el (command-line-1): Issue warning for ignored arguments
4670         --unibyte, etc (Bug#6886).
4672 2010-08-22  Leo  <sdl.web@gmail.com>
4674         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
4675         (ignore, bright, dim, keyword): Split list of nicknames before
4676         passing to rcirc-add-or-remove (Bug#6894).
4678 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
4680         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
4682 2010-08-22  Leo  <sdl.web@gmail.com>
4684         Fix buffer-list rename&refresh after killing a buffer in ido.
4685         * ido.el: Revert Óscar's.
4686         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
4687         Remember the buffers at head, rather than their name.
4688         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
4690 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
4691             Stefan Monnier  <monnier@iro.umontreal.ca>
4693         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
4694         extra backslash added to each line (bug#6890).
4696 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4698         * subr.el (read-key): Don't echo keystrokes (bug#6883).
4700 2010-08-22  Glenn Morris  <rgm@gnu.org>
4702         * menu-bar.el (menu-bar-games-menu): Add landmark.
4704 2010-08-22  Glenn Morris  <rgm@gnu.org>
4706         * align.el (align-regexp): Make group and spacing arguments
4707         use the interactive defaults when non-interactive.  (Bug#6698)
4709         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
4710         expansion, so as not to need sendmail.
4711         (mail-text-start): Remove declaration.
4712         (rmail-retry-failure): Require sendmail.
4714 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
4716         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
4718 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
4720         * progmodes/flymake.el (flymake-start-syntax-check-process):
4721         Use `start-file-process' in order to let it run also on remote hosts.
4723 2010-08-22  Kenichi Handa  <handa@m17n.org>
4725         * files.el: Add `word-wrap' as safe local variable.
4727 2010-08-22  Glenn Morris  <rgm@gnu.org>
4729         * woman.el (woman-translate): Case matters.  (Bug#6849)
4731 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
4733         * simple.el (kill-region): Doc fix (Bug#6787).
4735 2010-08-22  Glenn Morris  <rgm@gnu.org>
4737         * calendar/diary-lib.el (diary-header-line-format):
4738         Fit it to the window, not the frame.
4740 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
4742         * subr.el (ignore-errors): Add debug declaration.
4744 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
4746         * whitespace.el (whitespace-color-off): Remove post-command-hook
4747         locally.
4749 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
4751         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
4753 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
4755         * cus-edit.el (custom-group-value-create): Add extra newline
4756         before end line (Bug#6876).
4758 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
4760         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
4761         when extending it.  Before killing on the second click, check if
4762         the buffer is the correct one.  Doc fix.
4763         (mouse-secondary-save-then-kill): Allow usage without first
4764         calling mouse-start-secondary, by defaulting to point.  Don't save
4765         an empty secondary selection.  Doc fix.
4767 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
4769         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
4770         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
4771         New version 13.0.
4772         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
4773         Adjust initialization.
4774         (whitespace-bob-marker, whitespace-eob-marker)
4775         (whitespace-buffer-changed): New vars.
4776         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
4777         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
4778         (whitespace-post-command-hook, whitespace-display-char-on):
4779         Adjust code.
4780         (whitespace-looking-back, whitespace-buffer-changed): New funs.
4781         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
4783 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4785         * files.el (locate-file-completion-table): Only list the .el and .elc
4786         extensions if there's no other choice (bug#5955).
4788         * facemenu.el (facemenu-self-insert-data): New var.
4789         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
4790         New functions.
4791         (facemenu-add-face): Use them.
4793         * simple.el (blink-matching-open): Obey forward-sexp-function.
4795 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
4797         * simple.el (prog-mode-map): New var.
4798         (prog-indent-sexp): New command.
4800         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
4802         * progmodes/prolog.el (smie): Require.
4804         * emacs-lisp/smie.el (smie-default-backward-token)
4805         (smie-default-forward-token): Strip properties.
4806         (smie-next-sexp): Be more careful with associative operators.
4807         (smie-forward-sexp-command): Generalize.
4808         (smie-backward-sexp-command): Simplify.
4809         (smie-closer-alist): New var.
4810         (smie-close-block): New command.
4811         (smie-indent-debug-log): New var.
4812         (smie-indent-offset-rule): Add a few more cases.
4813         (smie-indent-column): New function.
4814         (smie-indent-after-keyword): Use it.
4815         (smie-indent-keyword): Use it.
4816         Fix up the opener code's point position.
4817         (smie-indent-comment): Only applies at BOL.
4818         (smie-indent-debug): New command.
4820         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
4821         declarations that are useful before running the macro.
4823 2010-08-18  Joakim Verona  <joakim@verona.se>
4825         * image.el (imagemagick-types-inhibit): New variable.
4826         (imagemagick-register-types): New function.
4827         * image-mode.el (image-transform-properties): New function.
4828         (image-transform-set-scale, image-transform-fit-to-height)
4829         (image-transform-set-rotation, image-transform-set-resize)
4830         (image-transform-fit-to-width, image-transform-fit-to-height):
4831         New functions.
4832         (image-toggle-display-image): Support image transforms.
4834 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
4836         * image.el (create-animated-image): Don't add heuristic mask to image
4837         (Bug#6839).
4839 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
4841         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
4842         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
4844 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4846         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
4848         Font-lock '...' strings, plus various simplifications and fixes.
4849         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
4850         (octave-font-lock-close-quotes): New function.
4851         (octave-font-lock-syntactic-keywords): New var.
4852         (octave-mode): Use it.  Set beginning-of-defun-function.
4853         (octave-mode-map): Don't override the <foo>-defun commands.
4854         (octave-mode-menu): Pass it directly to easy-menu-define;
4855         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
4856         (octave-block-match-alist): Fix up last change so that
4857         octave-close-block uses the more specific keyword.
4858         (info-lookup-mode): Silence byte-compiler.
4859         (octave-beginning-of-defun): Not interactive any more.
4860         Optimize slightly.
4861         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
4862         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
4863         (octave-completion-at-point-function): Make sure point is within
4864         beg..end.
4865         (octave-reindent-then-newline-and-indent):
4866         Use reindent-then-newline-and-indent.
4867         (octave-add-octave-menu): Remove.
4869 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
4871         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
4872         (report-emacs-bug-can-use-xdg-email): New functions.
4873         (report-emacs-bug): Set can-xdg-email to result of
4874         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
4875         \C-cm to report-emacs-bug-insert-to-mailer and add help text
4876         about it.
4878         * net/browse-url.el (browse-url-default-browser): Add cond
4879         for browse-url-xdg-open.
4880         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
4882 2010-08-17  Glenn Morris  <rgm@gnu.org>
4884         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
4885         (c-fontify-recorded-types-and-refs): Define for compiler.
4886         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
4887         before use.
4889         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
4890         Fix format call.
4892 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
4894         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
4895         properties.
4896         (tramp-handle-process-file): Call the program in a subshell, in
4897         order to preserve working directory.
4898         (tramp-action-password): Hide password prompt before next run.
4899         (tramp-process-actions): Widen connection buffer for the trace.
4901 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
4903         * net/rcirc.el (rcirc-log-process-buffers): New option.
4904         (rcirc-print): Use it.
4905         (rcirc-generate-log-filename): New function.
4906         (rcirc-log-filename-function): Change default to
4907         rcirc-generate-log-filename (Bug#6828).
4909 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
4911         * simple.el (deactivate-mark): If select-active-regions is `only',
4912         only set selection for temporarily active regions.
4914         * cus-start.el: Change defcustom for select-active-regions.
4916 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
4918         * mouse.el (mouse--drag-set-mark-and-point): New function.
4919         (mouse-drag-track): Use LOCATION arg to push-mark.
4920         Use mouse--drag-set-mark-and-point to take click-count into
4921         consideration when updating point and mark (Bug#6840).
4923 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
4925         * progmodes/compile.el (compilation-error-regexp-alist-alist):
4926         Give the Ruby rule a lower priority than Gnu (Bug#6778).
4928 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
4930         * font-lock.el (lisp-font-lock-keywords-2):
4931         Add combine-after-change-calls, condition-case-no-debug,
4932         with-demoted-errors, and with-silent-modifications (Bug#6025).
4934 2010-08-14  Kevin Ryde  <user42@zip.com.au>
4936         * emacs-lisp/copyright.el (copyright-update-year)
4937         (copyright-update): Temporary switch-to-buffer to ensure the
4938         buffer change being queried is visible (Bug#5394).
4940 2010-08-14  Tom Tromey  <tromey@redhat.com>
4942         * progmodes/etags.el (tags-file-name): Mark safe if stringp
4943         (Bug#6733).
4945 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
4947         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
4948         MS-DOS.  (Bug#6689)
4950 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
4952         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
4953         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
4954         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
4955         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
4956         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
4957         Call menu-bar-set-tool-bar-position.
4959 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4961         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
4962         comment style (bug#6834).
4963         * progmodes/scheme.el (scheme-mode-syntax-table):
4964         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
4965         "b" flag in "' 14b" syntax.
4967         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
4968         for (un)commenting the region and performing completion.
4969         (octave-mode-menu): Use standard commands for help and completion.
4970         (octave-mode-syntax-table): Support %{..%} comments (sort of).
4971         (octave-mode): Use define-derived-mode.
4972         Set completion-at-point-functions and don't set columns.
4973         Don't disable adaptive-fill-regexp.
4974         (octave-describe-major-mode, octave-comment-region)
4975         (octave-uncomment-region, octave-comment-indent)
4976         (octave-indent-for-comment): Remove.
4977         (octave-indent-calculate): Rename from calculate-octave-indent.
4978         (octave-indent-line, octave-fill-paragraph): Update caller.
4979         (octave-initialize-completions): No need to make an alist.
4980         (octave-completion-at-point-function): New function.
4981         (octave-complete-symbol): Use it.
4982         (octave-insert-defun): Use define-skeleton.
4984         * progmodes/octave-mod.el (octave-mode): Set comment-add.
4985         (octave-mode-map): Use comment-dwim (bug#6829).
4987 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
4989         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
4990         indentation of inserted comment.
4992 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
4994         * faces.el (region): Add type gtk that uses gtk colors.
4996         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
4997         Handle theme-name change.
4999 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
5001         * progmodes/sql.el: Version 2.5
5002         (sql-product-alist): Add :prompt-cont-regexp property for several
5003         database products.
5004         (sql-prompt-cont-regexp): New variable.
5005         (sql-output-newline-count, sql-output-by-send):
5006         New variables.  Record number of newlines in input text.
5007         (sql-send-string): Handle multiple filters and count newlines.
5008         (sql-send-magic-terminator): Count terminator newline.
5009         (sql-interactive-remove-continuation-prompt): Filters output to
5010         remove continuation prompts; one for each newline.
5011         (sql-interactive-mode): Set up new variables, prompt regexp and
5012         output filter.
5013         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
5014         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
5016 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5018         * emacs-lisp/pcase.el: New file.
5020 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
5022         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
5023         as here-document, otherwise the command could exceed maximum
5024         length of command line.
5025         (tramp-handle-vc-registered): Call script accordingly.
5026         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
5028 2010-08-10  Kenichi Handa  <handa@m17n.org>
5030         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
5031         composable pattern.
5033 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
5035         * emacs-lisp/package.el (package-version-split)
5036         (package--version-first-nonzero, package-version-compare):
5037         Functions removed.
5038         (package-directory-list, package-load-all-descriptors)
5039         (package--built-in, package-activate, define-package)
5040         (package-installed-p, package-compute-transaction)
5041         (package-read-all-archive-contents)
5042         (package--add-to-archive-contents, package-buffer-info)
5043         (package-tar-file-info, package-list-packages-internal):
5044         Use version-to-list and version-list-*.
5046         * emacs-lisp/package-x.el (package-upload-buffer-internal):
5047         Use version-to-list.
5048         (package-upload-buffer-internal): Use version-list-<=.
5050 2010-08-09  Kenichi Handa  <handa@m17n.org>
5052         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
5053         composable pattern.
5055 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
5057         * tutorial.el (tutorial--default-keys): C-d is now bound to
5058         delete-forward-char (Bug#6826).
5060         * mouse.el (mouse-drag-track): Remove accidentally-removed check
5061         for `double' value of mouse-1-click-follows-link (Bug#6807).
5063 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
5065         * replace.el (replace-highlight): Bind isearch-forward and
5066         isearch-error, ensuring that highlighting is updated if the user
5067         switches the search direction (Bug#6808).
5069         * isearch.el (isearch-lazy-highlight-forward): New var.
5070         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
5071         (isearch-lazy-highlight-update): Use it.
5073 2010-08-08  Kenichi Handa  <handa@m17n.org>
5075         * international/mule.el (define-charset): Store NAME as :base property.
5076         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
5077         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
5078         current priority.  Force using the designation of the specific
5079         charset by adding `charset' text property.  Improve the whole algorithm.
5081 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
5083         * emulation/pc-select.el (pc-selection-mode-hook)
5084         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
5085         (pc-selection-mode): Fix typos in docstrings.
5087 2010-08-08  Kenichi Handa  <handa@m17n.org>
5089         * language/cyrillic.el: Don't add "microsoft-cp1251" to
5090         ctext-non-standard-encodings-alist here.
5092         * international/mule.el (ctext-non-standard-encodings-alist):
5093         Add "koi8-r" and "microsoft-cp1251".
5094         (ctext-standard-encodings): New variable.
5095         (ctext-non-standard-encodings-table): List only elements for
5096         non-standard encodings.
5097         (ctext-pre-write-conversion): Adjust for the above change.
5098         Check ctext-standard-encodings.
5100         * international/mule-conf.el (compound-text): Doc fix.
5101         (ctext-no-compositions): Doc fix.
5102         (compound-text-with-extensions): Doc fix.
5104 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5106         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
5108 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
5110         * progmodes/which-func.el (which-func-format): Split help-echo text
5111         into lines, like other mode-line tooltips.
5113         * server.el (server-start): When using TCP sockets, force IPv4
5114         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
5116 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5118         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
5120 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
5122         * term.el (term-delimiter-argument-list): Reflow docstring.
5123         (term-read-input-ring, term-write-input-ring, term-send-input)
5124         (term-bol, term-erase-in-display, serial-supported-or-barf):
5125         Fix typos in docstrings.
5127 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5129         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
5131 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
5133         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
5135 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
5137         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
5138         Fix typo in docstring (bug#6747).
5140 2010-08-08  Leo  <sdl.web@gmail.com>
5142         * eshell/esh-io.el (eshell-get-target): Better detection of
5143         read-only file (Bug#6762).
5145 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
5147         * align.el (align-default-spacing): Doc fix.
5148         (align-region-heuristic, align-regexp): Fix typos in docstrings.
5150 2010-08-08  Stephen Peters  <speters@itasoftware.com>
5152         * calendar/icalendar.el
5153         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
5154         (icalendar--get-weekday-numbers): New.
5155         (icalendar--convert-recurring-to-diary): Handle multiple byday
5156         values in weekly rules.  (Bug#6766)
5158 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
5160         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
5161         (icalendar--create-uid, icalendar-export-region)
5162         (icalendar--parse-summary-and-rest): Code formatting.
5164 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
5166         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
5167         to italicize headers.
5168         (calc-highlight-selections-with-faces): New variable.
5169         (calc-selected-face, calc-nonselected-face): New faces.
5171         * calc/calccomp.el (math-comp-highlight-string): Use
5172         `calc-highlight-selections-with-faces' to determine how to highlight
5173         sub-formulas.
5175         * calc/calc-sel.el (calc-show-selections): Change message to when
5176         using faces to highlight selections.
5178 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
5180         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
5181         Add SQLite 3 keywords, functions and datatypes.
5182         (sql-interactive-mode): Remove `comint-process-echoes' set to t
5183         (Bug#6686).
5185 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
5187         * simple.el (select-active-regions): Move to keyboard.c.
5188         (deactivate-mark): Used saved-region-selection.
5189         (select-active-region): Function removed.
5190         (activate-mark, set-mark, push-mark-command)
5191         (handle-shift-selection): Don't call it.
5192         (keyboard-quit): Avoid adding the region to the window selection.
5194         * mouse.el (mouse-drag-track): Remove hacks to deal with old
5195         select-active-regions implementation.
5196         (mouse-yank-at-click): Doc fix.
5198         * cus-start.el: Add custom declaration for select-active-regions.
5200 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
5202         * simple.el (delete-forward-char): Doc fix.
5204         * tutorial.el (help-with-tutorial): Hack safe file-local variables
5205         after reading the tutorial.
5207 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
5209         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph): Fix
5210         for the case that a C style comment has its delimiters alone on
5211         their respective lines.
5213 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
5215         * net/tramp.el (tramp-handle-start-file-process): Set connection
5216         property "vec".
5217         (tramp-process-sentinel): Use it for flushing the cache.  We
5218         cannot do it via the process buffer, the buffer could be deleted
5219         already when running the sentinel.
5221 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
5223         * comint.el (comint-mode): Make directory tracking functions
5224         functional on remote files.  (Bug#6764)
5226 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
5228         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
5230 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
5232         * emacs-lisp/find-gc.el (find-gc-source-files): Rename
5233         unexec.c => unexcoff.c.
5235         * emacs-lisp/authors.el (authors-fixed-entries): Rename
5236         unexec.c => unexcoff.c.
5238 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
5240         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
5241         cache, not only file cache.
5242         (tramp-process-sentinel): New defun.
5243         (tramp-handle-start-file-process): Use it, in order to invalidate
5244         file caches.
5246 2010-08-03  Leo  <sdl.web@gmail.com>
5248         * server.el (server-start): Simplify loop.
5250 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
5252         * frame.el (screen-height, screen-width, set-screen-width)
5253         (set-screen-height): Remove ancient compatibility aliases.
5255         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
5256         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
5258         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
5259         that change current buffer.
5261 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
5263         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
5264         beginning of the string.  Use `string-match-p'.  (Bug#6765)
5266 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
5268         * cus-start.el (x-gtk-use-system-tooltips): New variable.
5270 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
5272         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
5273         (package--builtins): Tweak descriptions.
5274         (package-print-package): Upcase descriptions if necessary.
5275         Show all built-in packages in font-lock-builtin-face.
5276         (package-list-packages-internal): Omit "emacs" package.
5277         Show status of built-in packages as "built-in".
5279 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
5281         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
5282         before killing to preserve the primary selection (Bug#6701).
5284         * term/x-win.el (x-select-text): Doc fix.
5286 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
5288         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
5289         The following functions were modified or created:
5291         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
5292         (objc-font-lock-extra-types):
5293         * progmodes/cc-mode.el (c-basic-common-init):
5294         * progmodes/cc-langs.el (c-make-mode-syntax-table)
5295         (c++-make-template-syntax-table)
5296         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
5297         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
5298         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
5299         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
5300         * progmodes/cc-fonts.el (c-make-inverse-face)
5301         (c-basic-matchers-after):
5302         * progmodes/cc-engine.el (c-forward-keyword-clause)
5303         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
5304         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
5305         (c-guess-continued-construct, c-guess-basic-syntax):
5307 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
5309         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
5311 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
5313         * files.el (bidi-paragraph-direction): Define safe local values.
5315         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
5316         language-info-alist.  Remove outdated FIXME in a comment.
5318 2010-07-31  Alan Mackenzie  <acm@muc.de>
5320         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
5321         Auto-fill broken in C/C++ modes.
5323 2010-07-30  Martin Rudalics  <rudalics@gmx.at>
5325         * help.el (temp-buffer-max-height, temp-buffer-resize-mode)
5326         (resize-temp-buffer-window): Move back from window.el to avoid
5327         calling define-minor-mode in window.el and choke in bootstrap.
5329 2010-07-29  Martin Rudalics  <rudalics@gmx.at>
5331         * loadup.el (top-level): Load window before files for the sake
5332         of replace-buffer-in-windows.
5334         * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
5335         (previous-buffer): Move to window.el.
5337         * bindings.el (unbury-buffer): Move to window.el.
5339         * window.el (display-buffer): Move group definition to front of
5340         display buffer section.
5341         (record-window-buffer, unrecord-window-buffer)
5342         (set-window-buffer-start-and-point, switch-to-prev-buffer)
5343         (switch-to-next-buffer): New functions.
5344         (get-next-valid-buffer, last-buffer): Move here from simple.el.
5345         (next-buffer): Move here from simple.el.  Call
5346         switch-to-next-buffer.
5347         (previous-buffer): Move here from simple.el.  Call
5348         switch-to-prev-buffer.
5349         (bury-buffer, quit-restore-window): Switch to previous buffer
5350         when window cannot be deleted.
5351         (unbury-buffer): Move here from bindings.el.
5352         (delete-windows-on): Switch to previous buffer if window cannot
5353         be deleted.  Unrecord buffer argument in all live windows.
5354         (replace-buffer-in-windows): Move here from window.c.  Switch to
5355         previous buffer if window cannot be deleted.  Unrecord argument
5356         buffer in all live windows.
5357         (switch-to-buffer): In doc-string warning suggest using
5358         with-current-buffer instead of set-buffer.
5360 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
5362         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
5363         (menu-bar-showhide-tool-bar-menu-customize-disable)
5364         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
5365         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
5366         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
5367         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
5368         make a menu for Options => toolbar that can move it.
5370 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
5372         * emacs-lisp/package-x.el (package--make-rss-entry):
5373         (package-maint-add-news-item, package--update-news)
5374         (package-upload-buffer-internal): New arg ARCHIVE-URL.
5376         * emacs-lisp/package.el (package-archive-url): Rename from
5377         package-archive-id.
5378         (package-install): Doc fix.
5379         (package-download-single, package-download-tar, package-install)
5380         (package-menu-view-commentary): Callers changed.
5382 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
5384         * net/tramp.el (tramp-handle-start-file-process): Check only for
5385         `remote-tty' process property.
5386         (tramp-open-shell): Don't check for tty.
5387         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
5388         process property.
5390         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
5391         host.
5393 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
5395         * emacs-lisp/package.el (package-load-list, package-archives)
5396         (package-archive-contents, package-user-dir)
5397         (package-directory-list, package--builtins, package-alist)
5398         (package-activated-list, package-obsolete-alist): Mark as risky.
5400 2010-07-28  Phil Hagelberg  <phil@evri.com>
5402         Add support for non-default package repositories.
5403         * emacs-lisp/package.el (package-archive-base): Var deleted.
5404         (package-archives): New variable.
5405         (package-archive-contents): Doc fix.
5406         (package-load-descriptor): Do nothing if descriptor file is missing.
5407         (package--write-file-no-coding): New function.
5408         (package-unpack-single): Use it.
5409         (package-archive-id): New function.
5410         (package-download-single, package-download-tar)
5411         (package-menu-view-commentary): Use it.
5412         (package-installed-p): Make second argument optional.
5413         (package-read-all-archive-contents): New function.
5414         (package-initialize): Use it.
5415         (package-read-archive-contents): Add ARCHIVE argument.
5416         (package--add-to-archive-contents): New function.
5417         (package-install): Don't call package-read-archive-contents.
5418         (package--download-one-archive): Store archive file in a
5419         subdirectory of package-user-dir.
5420         (package-menu-execute): Remove spurious line movement.
5422 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
5424         * cus-start.el (tool-bar-style): Add text-image-horiz.
5426 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
5428         * progmodes/gud.el (gud-common-init): Check for remoteness of
5429         `file', and not of `default-directory'.
5431 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
5433         * net/tramp.el (tramp-methods): Move hostname to the end in all
5434         ssh `tramp-login-args'.
5435         (tramp-verbose): Describe verbose level 9.
5436         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
5437         (tramp-open-connection-setup-interactive-shell): Trace stty
5438         settings if `tramp-verbose' >= 9.
5439         (tramp-handle-start-file-process): Implement tty setting.
5440         (Bug#4604, Bug#6360)
5442         * net/tramp-cmds.el (tramp-bug): Recommend setting of
5443         `tramp-verbose' to 9.
5445 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
5447         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
5448         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
5449         Remove references to package `lisp-re' (bug#4369).
5451 2010-07-27  Tom Tromey  <tromey@redhat.com>
5453         * progmodes/js.el (js-mode):
5454         * progmodes/make-mode.el (makefile-mode):
5455         * progmodes/simula.el (simula-mode):
5456         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
5458 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
5460         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
5462         * time.el (display-time-day-and-date): Remove spurious * in docstring.
5463         (display-time-world-buffer-name, display-time-world-mode-map):
5464         Fix typos in docstrings.
5466 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
5468         * image-mode.el (image-display-size): New function.
5469         (image-forward-hscroll, image-next-line, image-eol, image-eob)
5470         (image-mode-fit-frame): Use it (Bug#6639).
5472 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
5474         * dired.el (dired-buffers-for-dir): Handle list values of
5475         dired-directory (Bug#6636).
5477 2010-07-26  Sam Steingold  <sds@gnu.org>
5479         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
5480         Do not call `x-get-selection' the second time, reuse the value.
5482 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
5484         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
5485         which consist of control chars only.  Suggested by Richard Stallman.
5487 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
5489         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
5490         exists before passing an error to find-file-not-found-functions
5491         (bug#6723).
5493 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
5495         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
5496         Remove leading nil element, adjust values.
5497         (tetris-shapes, tetris-shape-scores):
5498         Change representation of shapes and remove some redundancy.
5499         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
5500         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
5501         Adjust for working with new representation of shapes.
5502         (tetris-shape-rotations): New function.
5503         (tetris-move-bottom, tetris-move-left, tetris-move-right)
5504         (tetris-rotate-prev, tetris-rotate-next):
5505         Adjust for working with the new version of tetris-test-shape.
5507 2010-07-23  Markus Triska  <markus.triska@gmx.at>
5509         * progmodes/ps-mode.el: Use comint (bug#5954).
5510         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
5511         (ps-mode-other-newline): Simplify.
5512         (ps-run-mode): Derive from comint-mode instead of
5513         fundamental-mode, yielding input history etc.
5514         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
5515         (ps-run-send-string): Adapt for comint-mode.
5516         (ps-run-newline): Remove now unneeded function.
5518 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
5520         * net/tramp.el (tramp-methods): Move hostname to the end in all
5521         plink `tramp-login-args'.
5523 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
5525         * net/tramp.el (tramp-open-shell): New defun.
5526         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
5527         Use it.
5529 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
5531         * net/tramp.el (tramp-file-name-regexp-unified)
5532         (tramp-completion-file-name-regexp-unified): On W32 systems, do
5533         not regard the volume letter as remote filename.  (Bug#5447)
5535 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
5537         * custom.el (custom-declare-variable): Give a clearer error message
5538         when the docstring is missing (bug#6476).
5540 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
5542         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
5543         (sql-login-params): New widget definition.
5544         (sql-oracle-login-params, sql-mysql-login-params)
5545         (sql-solid-login-params, sql-sybase-login-params)
5546         (sql-informix-login-params, sql-ingres-login-params)
5547         (sql-ms-login-params, sql-postgres-login-params)
5548         (sql-interbase-login-params, sql-db2-login-params)
5549         (sql-linter-login-params): Use it.
5550         (sql-sqlite-login-params): Use it; Define "database" parameter as
5551         a file name.
5552         (sql-sqlite-program): Change to "sqlite3".
5553         (sql-comint-sqlite): Make sure database name is complete.
5554         (sql-for-each-login): New function.
5555         (sql-connect, sql-save-connection): Use it.
5556         (sql-get-login-ext): New function.
5557         (sql-get-login): Use it.
5558         (sql-make-alternate-buffer-name): Handle :file parameters.
5560 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
5562         * dired.el (dired-no-confirm): Document value t and fix defcustom to
5563         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
5565 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
5567         * dired.el (dired-mode-map): Use command remapping (bug#6632).
5569 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
5571         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
5573 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
5575         * net/tramp.el (tramp-get-ls-command)
5576         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
5577         instead of "/".
5579 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
5581         * progmodes/sql.el: Version 2.3.
5582         (sql-connection-alist): Changed keys from symbols to strings;
5583         enhanced the widget definition.
5584         (sql-mode-menu): Added submenu to select connections.
5585         (sql-interactive-mode-menu): Added "Save Connection" item.
5586         (sql-add-product): Fixed menu item.
5587         (sql-get-product-feature): Improved error handling.
5588         (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
5589         (sql-make-alternate-buffer-name): Simplified.
5590         (sql-product-interactive): Handle missing product.
5591         (sql-connect): Support string keys, minor improvements.
5592         (sql-save-connection): New function.
5593         (sql-connection-menu-filter): New function.
5595 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
5597         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
5598         (tramp-open-connection-setup-interactive-shell): Apply
5599         workaround for IRIX64 bug.  Move argument of last
5600         `tramp-send-command' where it belongs to.
5602 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
5604         * net/tramp.el (tramp-perl-file-attributes)
5605         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
5606         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
5607         front of `login-args'.
5609 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
5611         * time.el (display-time-world-mode): Define with `define-derived-mode'.
5612         Set `show-trailing-whitespace' to nil.
5613         (display-time-world-display): Simplify.
5615 2010-07-18  Alan Mackenzie  <acm@muc.de>
5617         Enhance `c-file-style' in file/directory local variables.
5618         * progmodes/cc-mode.el (c-count-cfss): New function.
5619         (c-before-hack-hook): Call `c-set-style' differently according to
5620         whether c-file-style was set in file or directory local
5621         variables.
5623 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
5625         * progmodes/sql.el: Version 2.2.
5626         (sql-product, sql-user, sql-database, sql-server, sql-port): Use
5627         defcustom :safe keyword rather than putting safe-local-variable
5628         property.
5629         (sql-password): Use defcustom :risky keyword rather than putting
5630         risky-local-variable property.
5631         (sql-oracle-login-params, sql-sqlite-login-params)
5632         (sql-solid-login-params, sql-sybase-login-params)
5633         (sql-informix-login-params, sql-ingres-login-params)
5634         (sql-ms-login-params, sql-postgres-login-params)
5635         (sql-interbase-login-params, sql-db2-login-params)
5636         (sql-linter-login-params): Add `port' option.
5637         (sql-get-product-feature): Added NO-INDIRECT parameter.
5638         (sql-comint-oracle, sql-comint-sybase)
5639         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
5640         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
5641         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
5642         (sql-comint-linter): Renamed sql-connect-* functions to
5643         sql-comint-*.
5644         (sql-product-alist, sql-mode-menu): Renamed as above and
5645         :sqli-connect-func to :sqli-comint-func.
5646         (sql-connection): New variable.
5647         (sql-interactive-mode): Set it.
5648         (sql-connection-alist): New variable.
5649         (sql-connect): New function.
5650         (sql--alt-buffer-part, sql--alt-if-not-empty)
5651         (sql-make-alternate-buffer-name): Improved alternative buffer name.
5653 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5655         * image-mode.el (image-bookmark-make-record): Do not set context
5656         in an image (Bug#6650).
5658 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
5660         * simple.el (select-active-region): New function.
5661         (push-mark-command, set-mark, activate-mark)
5662         (handle-shift-selection): Use it.
5663         (deactivate-mark): Don't check for size of region.
5665         * mouse.el (mouse-drag-track): Use select-active-region.
5667 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
5669         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
5670         "--dired" stronger.
5672 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
5674         * term/x-win.el (x-select-enable-primary): Change default to nil.
5675         (x-select-enable-clipboard): Add :version keyword.
5677         * mouse.el (mouse-drag-copy-region):
5678         * simple.el (select-active-regions): Likewise.
5680 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
5682         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
5683         (vc-coding-system-for-diff): Use it to decide whether to inherit
5684         from the file the EOL format for reading the diffs of that file.
5685         (Bug#4451)
5687 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
5689         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
5690         unibyte, so compressed attachments are not compressed again.
5692 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
5694         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
5695         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
5696         (tramp-find-shell): Simplify setting connection property.
5697         (tramp-get-ls-command): Make test for "--color=never" stronger.
5699 2010-07-15  Simon South  <ssouth@member.fsf.org>
5701         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
5702         blocks within record declarations (i.e. variant parts) correctly.
5704 2010-07-15  Simon South  <ssouth@member.fsf.org>
5706         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
5707         over literal tokens when parsing so newlines aren't "absorbed" by
5708         single-line comments.  Corrects the indentation of case blocks
5709         that have a comment on the first line.
5711 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
5713         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
5714         by Drew Adams (Bug#5504).
5716 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
5718         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
5719         now that Unicode is used (Bug#6594).
5721 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
5723         * term/x-win.el (x-select-enable-clipboard): Default to t.
5724         (x-initialize-window-system): Don't overwrite Paste menu item.
5726         * simple.el (select-active-regions): Default to t.
5727         (push-mark-command): Don't overwrite primary with empty string.
5729         * mouse.el: Bind mouse-2 to mouse-yank-primary.
5730         (mouse-drag-copy-region): Default to nil.
5732         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
5733         Cut/Copy/Paste menu bar items.
5735 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5737         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
5738         Patch applied by Karl Fogel.
5740         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
5741         and `bookmark-current-buffer' if they have been already set in
5742         another buffer (e.g gnus-art).
5744 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
5745             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5747         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
5749         * bookmark.el (bookmark-make-record-default): Allow unneeded
5750         information to be omitted from the record.
5752         Adjust declarations and calls:
5754         * info.el (bookmark-make-record-default): Adjust declaration.
5755         (Info-bookmark-make-record): Adjust call.
5757         * woman.el (bookmark-make-record-default): Adjust declaration.
5758         (woman-bookmark-make-record): Adjust call.
5760         * man.el (bookmark-make-record-default): Adjust declaration.
5761         (Man-bookmark-make-record): Adjust call.
5763         * image-mode.el (bookmark-make-record-default): Adjust declaration.
5765         * doc-view.el (bookmark-make-record-default): Adjust declaration.
5767 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
5769         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
5770         This is also from Thierry Volpiatto's patch in bug #6444.  However,
5771         because it was extraneous to the functional change in that patch,
5772         and causes a re-indendation, I am committing it separately.
5774 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
5776         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
5777         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
5778         Patch applied by Karl Fogel (Bug#6444).
5780 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
5782         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
5784 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
5786         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
5787         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
5788         (ns-alternatives-map): Change S-tab binding to backtab
5789         (bug#6616).
5791         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
5792         under ns.
5794 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
5796         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
5797         (Bug#5806)
5799         * language/tv-util.el (tai-viet-re): Remove format.
5801 2010-07-12  Kenichi Handa  <handa@m17n.org>
5803         * language/hebrew.el: Remove no-byte-compile declaration.
5804         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
5805         composition-function-table for 3-character looking back.
5806         (hebrew-font-get-precomposed): New function.
5807         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
5809 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
5811         * mouse.el (mouse-drag-track): Handle select-active-regions
5812         (Bug#6612).
5814 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
5816         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
5817         empty argument to gvfs-copy.
5819 2010-07-10  Glenn Morris  <rgm@gnu.org>
5821         * calendar/calendar.el (calendar-week-end-day): New function.
5822         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
5823         Respect calendar-week-start-day.  (Bug#6606)
5824         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
5825         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
5826         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
5827         respect calendar-week-start-day.
5829 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
5831         * simple.el (use-region-p): Doc fix (Bug#6607).
5833 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
5835         * progmodes/compile.el (compilation-error-regexp-alist-alist): Add
5836         regexps for cucumber and ruby.
5838 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
5840         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
5841         (epa-file-insert-file-contents): Hack to prevent
5842         find-file from opening empty buffer when decryption failed
5843         (bug#6568).
5845 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
5847         * textmodes/ispell.el (ispell-alternate-dictionary):
5848         Use file-readable-p.
5849         Return nil if no word-list is found at default locations.
5850         (ispell-complete-word-dict): Default to nil.
5851         (ispell-command-loop): Use 'word-list' when using lookup-words.
5852         (lookup-words): Use ispell-complete-word-dict or
5853         ispell-alternate-dictionary.  Check for word-list availability
5854         and handle errors if needed with better messages (Bug#6539).
5855         (ispell-complete-word): Use ispell-complete-word-dict or
5856         ispell-alternate-dictionary.
5858 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
5860         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
5861         builtins (BufferError, BytesWarning, WindowsError; callables
5862         bin, bytearray, bytes, format, memoryview, next, print; __package__).
5864 2010-07-07  Glenn Morris  <rgm@gnu.org>
5866         * play/zone.el (top-level): Do not require timer, tabify, or cl.
5867         (zone-shift-left): Ignore intangibility, and any errors from
5868         forward-char.
5869         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
5870         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
5871         deleting, and copying text properties.
5872         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
5873         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
5874         to point-max is hard.
5875         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
5876         (zone-fill-out-screen): Ignore intangibility.
5878 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
5880         * menu-bar.el (menu-bar-mode):
5881         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
5882         if it has been set.
5884         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
5885         word/line selection (Bug#6565).
5887 2010-07-04  Martin Rudalics  <rudalics@gmx.at>
5889         * window.el (get-mru-window): New function.
5891 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
5893         * net/dbus.el (dbus-send-signal): Declare function.
5895 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
5897         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
5898         (dbus-register-property): New optional argument EMITS-SIGNAL.
5899         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
5901 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
5903         * mouse.el (mouse-drag-overlay): Variable deleted.
5904         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
5905         (mouse--remap-link-click-p): New function.
5906         (mouse-drag-track): Handle dragging by using temporary Transient
5907         Mark mode, instead of a special overlay.
5908         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
5909         mouse-show-mark.
5911         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
5912         deleted.
5914 2010-07-02  Juri Linkov  <juri@jurta.org>
5916         * autoinsert.el (auto-insert-alist): Fix readability
5917         by using dotted pair notation for lambda.
5919 2010-07-02  Juri Linkov  <juri@jurta.org>
5921         * faces.el (read-face-name): Rename arg `string-describing-default'
5922         to `default'.  Doc fix.  Display the default value in quotes
5923         in the prompt.  With empty input, return the `default' arg,
5924         unless the default value is a string (in which case return nil).
5925         (describe-face): Replace the string `default' arg of `read-face-name'
5926         with the symbol `default'.
5928 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
5930         * emulation/viper-cmd.el (viper-delete-backward-char)
5931         (viper-del-backward-char-in-insert)
5932         (viper-del-backward-char-in-replace, viper-change)
5933         (viper-backward-indent): Replace delete-backward-char with
5934         delete-char (Bug#6552).
5936 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
5938         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
5940 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
5942         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
5943         argument passed to frame-creation-function (Bug#5378).
5945         * faces.el (x-handle-named-frame-geometry)
5946         (x-handle-reverse-video, x-create-frame-with-faces)
5947         (face-set-after-frame-default, tty-create-frame-with-faces): Don't
5948         separately consult default-frame-alist.  It is now passed as the
5949         PARAMETER argument.
5951 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
5953         * startup.el (command-line): Don't call tool-bar-setup in a
5954         tty-only build.
5956 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
5958         * ruler-mode.el (ruler--save-header-line-format): New fun.
5959         (ruler-mode): Use it as a setter function, so as not to overwrite
5960         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
5962 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
5964         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
5965         (vc-root-diff, vc-print-root-log, vc-log-incoming)
5966         (vc-log-outgoing): Use it.
5967         (vc-diff-internal): Set diff-vc-backend.
5969         * vc/diff-mode.el (diff-vc-backend): New var.
5971 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
5973         * dynamic-setting.el (font-setting-change-default-font): Remove
5974         call to message.
5976 2010-06-28  Kenichi Handa  <handa@m17n.org>
5978         * international/quail.el (quail-insert-kbd-layout): Fix the
5979         showing of untranslated characters.
5981 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
5983         * simple.el (delete-active-region): New option.
5984         (delete-backward-char): Implement in Lisp.
5985         (delete-forward-char): New command.
5987         * mouse.el (mouse-region-delete-keys): Deleted.
5988         (mouse-show-mark): Simplify.
5990         * bindings.el (global-map): Bind delete and DEL, the former to
5991         delete-forward-char.
5993 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
5995         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
5996         (ruby-mode): Bind indent-line-function (Bug#5119).
5998 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
6000         * startup.el (command-line): Recognize "0" X resource value.
6002 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
6004         * startup.el (command-line): Use X resources to set the value of
6005         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
6007         * menu-bar.el (menu-bar-mode):
6008         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
6009         Set init-value to t.
6011         * frame.el (frame-notice-user-settings): Don't change
6012         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
6013         vice versa (Bug#2249).
6015 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
6017         * w32-fns.el (w32-convert-standard-filename): Doc fix.
6019 2010-06-25  Martin Rudalics  <rudalics@gmx.at>
6021         * files.el (read-buffer-to-switch)
6022         (switch-to-buffer-other-window, switch-to-buffer-other-frame):
6023         Move to window.el.
6025         * window.el (display-buffer): New customization group.
6026         (special-display-buffer-names, special-display-regexps)
6027         (same-window-buffer-names, same-window-regexps, pop-up-frames)
6028         (display-buffer-reuse-frames, pop-up-windows)
6029         (split-window-preferred-function, split-height-threshold)
6030         (split-width-threshold, even-window-heights): Move or add to
6031         display-buffer customization group.
6032         (window-size-fixed): Move down in code, rewrite doc-string.
6033         (window-right, window-left, window-child, window-internal-p)
6034         (window-any-p, normalize-live-buffer, normalize-live-frame)
6035         (normalize-any-window, normalize-live-window)
6036         (window-iso-combined-p, walk-window-tree-1, walk-window-tree)
6037         (window-in-direction-2, window-in-direction, window-tree-1)
6038         (window-size-ignore, window-sizable, window-sizable-p)
6039         (window-min-size, window-min-size-1, window-size-fixed-p)
6040         (window-size-fixed-1, window-min-delta, window-min-delta-1)
6041         (window-max-delta, window-max-delta-1, window-resizable)
6042         (window-resizable-p, window-total-height, window-height)
6043         (window-full-height-p, window-total-width, window-body-height)
6044         (window-body-width, window-width, resize-window-reset)
6045         (resize-window-reset-1, resize-window, resize-subwindows-skip-p)
6046         (resize-subwindows-normal, resize-subwindows)
6047         (resize-other-windows, resize-this-window, resize-mini-window)
6048         (resize-root-window, resize-root-window-vertically)
6049         (window-deletable-p, window-or-subwindow-p)
6050         (kill-or-unrecord-buffer, quit-restore-window)
6051         (window-split-min-size, window-children-count)
6052         (split-window-quit-restore): New functions.
6053         (ignore-window-parameters, display-buffer-window-and-buffer)
6054         (resize-window-safe-window): New variables.
6055         (window-safe-min-height, window-safe-min-width): New constants.
6056         (window-min-height, window-min-width, window-full-width-p)
6057         (get-lru-window, get-largest-window)
6058         (adjust-window-trailing-edge, window-tree, other-window)
6059         (replace-buffer-in-windows, split-window): Move here from
6060         window.c.
6061         (window-current-scroll-bars): Use normalize-live-window.
6062         (get-window-with-predicate): Use window-list-1.
6063         (get-buffer-window-list): Use normalize-live-buffer and
6064         window-list-1.
6065         (count-windows): Use window-list-1.
6066         (enlarge-window, shrink-window): Use resize-window.
6067         (maximize-window, minimize-window, frame-root-window-p)
6068         (composite-window-p, composite-root-window-p)
6069         (composite-main-window-p, composite-support-window-p)
6070         (composite-root-window, composite-major-window)
6071         (composite-main-sibling, composite-lowest-child-role)
6072         (compound-window-p, compound-main-window-p)
6073         (compound-root-window, group-window-p, group-window-main-p)
6074         (group-root-window, make-compound-window, make-window-group)
6075         (make-support-window): New functions for composite windows.
6076         (one-window-p): Rewrite doc-string.
6077         (delete-window, delete-other-windows, delete-windows-on)
6078         (bury-buffer, switch-to-buffer): Move here from buffer.c.
6079         (split-window-vertically, split-window-horizontally): Call
6080         split-window-quit-restore.
6081         (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
6082         (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
6083         (bw-refresh-edges, bw-balance-sub): Replace by new balance
6084         windows functions.
6085         (balance-windows, balance-windows-1, balance-windows-2): New
6086         functions for balancing windows.
6087         (bw-adjust-window): Rename to balance-windows-area-adjust.
6088         (balance-windows-area): Call balance-windows-area-adjust.
6089         (pop-up-windows): New values `selected' and `root'.
6090         (window-splittable-p): Rename to window-sensibly-splittable-p.
6091         (split-window-sensibly): Call window-sensibly-splittable-p.
6092         (window--display-buffer-1, window--display-buffer-2): Remove.
6093         (display-buffer-window-and-buffer)
6094         (window--display-buffer-in-window, window--reuse-window)
6095         (window--pop-up-window, window--pop-up-frame)
6096         (window--raise-window-frame): New helper functions for
6097         display-buffer.
6098         (display-buffer): Rewrite using the new helper functions.
6099         (read-buffer-to-switch, switch-to-buffer-other-window)
6100         (switch-to-buffer-other-frame): Move here from files.el.
6101         (set-window-text-height, fit-window-to-buffer): Use
6102         normalize-live-window and resize-window.
6103         (shrink-window-if-larger-than-buffer): Use normalize-live-window
6104         and window-iso-combined-p.
6105         (temp-buffer-max-height, temp-buffer-resize-mode): Move here
6106         from help.el.
6107         (resize-temp-buffer-window): Move here from help.el and use
6108         window-iso-combined-p.
6109         (ctl-x-map): Move bindings for non-scrolling commands here from
6110         window.c.
6112         * cus-start.el (all): Remove window-min-height and
6113         window-min-width entries.  Add recenter-redisplay and
6114         window-splits entries.
6116         * calendar/calendar.el (calendar-basic-setup):  Call
6117         window-sensibly-splittable-p instead of window-splittable-p.
6119         * dired.el (dired-pop-to-buffer): Call
6120         window-sensibly-splittable-p instead of window-splittable-p.
6122         * help-mode.el (help-mode-finish): Remove help-window and
6123         view-return-to-alist handling code.
6125         * help.el (help-window): Remove variable.
6126         (help-window-point-marker): Fix doc-string.
6127         (temp-buffer-max-height, temp-buffer-resize-mode)
6128         (resize-temp-buffer-window): Move to window.el.
6129         (help-window-display-message): Fix doc-string and handling of
6130         optional argument.
6131         (help-window-setup-finish): Remove.
6132         (help-window-setup): Remove handling of list-of-frames and
6133         list-of-window-tuples.  These are handled by the quit-restore
6134         window mechanism now.
6135         (with-help-window): Remove setup of list-of-frames and
6136         list-of-window-tuples.  Reset display-buffer-window-and-buffer
6137         and call help-window-setup when the buffr display mechanism
6138         called by with-output-to-temp-buffer has set it.
6140         * view.el (view-exits-all-viewing-windows): Fix doc-string.
6141         (view-return-to-alist): Remove variable.
6142         (view-file-other-window): Remove second argument in call of
6143         view-buffer-other-window.
6144         (view-file-other-frame): Remove second argument in call of
6145         view-buffer-other-frame.
6146         (view-buffer): Remove the undo-window mechanism and fix call of
6147         view-mode-enter.
6148         (view-buffer-other-window, view-buffer-other-frame): Remove
6149         second argument and return-to mechanism and fix call of
6150         view-mode-enter.
6151         (view-return-to-alist-update): Remove function.
6152         (view-mode-enter): Rename second argument to quit-restore and
6153         replace view-return-to-alist mechanism by quit-restore
6154         parameter.  Rewrite doc-string.
6155         (view-mode-exit): Rename arguments and replace
6156         view-return-to-alist mechanism by calling quit-restore-window.
6157         (View-exit, View-exit-and-edit, View-leave, View-quit)
6158         (View-quit-all, View-kill-and-leave): Call view-mode-exit with
6159         appropriate argument(s).
6160         (view-end-message): Instead of checking view-return-to-alist
6161         look at quit-restore window parameter.
6163         * progmodes/ebrowse.el (ebrowse-view-file-other-frame): Adjust
6164         call of view-mode-enter to the latter's new definition.
6166         * progmodes/python.el (view-return-to-alist): Remove defvar.
6167         (python-describe-symbol): Don't set view-return-to-alist any
6168         more.
6170 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
6172         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
6173         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
6175         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
6176         default directories are expanded (Bug#6143).
6178 2010-06-24  Juri Linkov  <juri@jurta.org>
6180         * minibuffer.el (completions-format): Change default from nil to
6181         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
6183 2010-06-24  Juri Linkov  <juri@jurta.org>
6185         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
6186         buffer-locally to lambda that re-runs the vc diff command.
6187         (Bug#6447)
6189 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
6191         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
6192         echo area is in use (Bug#3412).
6194 2010-06-22  Glenn Morris  <rgm@gnu.org>
6196         * textmodes/texinfmt.el (texinfo-format-region)
6197         (texinfo-raise-lower-sections, texinfo-format-separate-node)
6198         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
6199         (texinfo-format-option, texinfo-noindent):
6200         Use line-beginning-position and line-end-position.
6202         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
6203         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
6204         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
6205         utf-8 characters.
6207 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
6209         * play/zone.el (zone-fall-through-ws): Fix next-line ->
6210         forward-line fallout.
6212 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
6214         * mouse.el (mouse-appearance-menu): Add docstring.
6216         * help.el (describe-key): Print up-event using key-description.
6218 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
6220         * net/zeroconf.el (zeroconf-resolve-service)
6221         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
6222         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
6224 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
6226         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
6228 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
6230         Avoid displaying files with a nil state in vc-dir.
6231         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
6232         cases that cause insertion.
6233         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
6234         with a nil state.
6236 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
6238         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
6240 2010-06-29  Leo  <sdl.web@gmail.com>
6242         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
6244 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
6246         * generic-x.el (bat-generic-mode): Fix regexp for command line
6247         switches (Bug#5719).
6249 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
6251         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
6252         of nconc to avoid pure storage error (Bug#6239).
6254 2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)
6256         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
6257         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
6258         bindings of bookmark-automatically-show-annotations (Bug#6515).
6260 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
6262         * arc-mode.el (archive-zip-extract): Don't quote the file name on
6263         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
6265 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
6267         * comint.el (make-comint, make-comint-in-buffer): Mention return
6268         value in the docstrings.  (Bug#6498)
6270 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
6272         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
6273         since it is not present when using some non-default switches.
6275 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
6277         * simple.el (compose-mail): Fix doc string to refer to
6278         `compose-mail-user-agent-warnings', instead of to the
6279         nonexistent `compose-mail-check-user-agent'.
6281 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
6283         Fix an indentation bug:
6285         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
6286         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
6287         of existing values.
6289         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
6290         (c-clear->-pair-props-if-match-before): now return t when they've
6291         cleared properties, nil otherwise.
6292         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
6293         by taking account of the existing value.
6295         * progmodes/cc-defs.el
6296         (c-clear-char-property-with-value-function): Fix this to clear the
6297         property rather than overwriting it with nil.
6299 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
6301         * emacs-lisp/package.el (package-print-package): Add link to
6302         package description via describe-package.
6303         (describe-package-1): List package requirements.  Add button to
6304         perform installation.
6305         (package-menu-describe-package): New command.
6307         * help-mode.el (help-package): New button type.
6309 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
6311         * emacs-lisp/package.el: Move package-list-packages binding to
6312         menu-bar.el.
6313         (describe-package, describe-package-1, package--dir): New funs.
6314         (package-activate-1): Use package--dir.
6316         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
6318         * help-mode.el (help-package-def): New button type.
6320         * menu-bar.el: Move package-list-packages binding here from
6321         package.el.
6323 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
6325         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
6327 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6329         * emacs-lisp/edebug.el (edebug-read-list):
6330         Phase out old-style backquotes.
6332 2010-06-17  Juri Linkov  <juri@jurta.org>
6334         * help-mode.el (help-mode): Set buffer-local variable
6335         revert-buffer-function to help-mode-revert-buffer.
6336         (help-mode-revert-buffer): New function.
6338         * info.el (Info-revert-find-node): Check for major-mode Info-mode
6339         before popping to "*info*" (like in other Info functions).
6340         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
6341         old-history-forward.  Pop to old-buffer-name or "*info*" to
6342         recreate the killed buffer.  Set Info-history-forward from
6343         old-history-forward.
6344         (Info-breadcrumbs-depth): Add :group and :version.
6346 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
6348         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
6350 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
6352         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
6353         for languages like Portuguese with pt_{BR,PT} and no plain pt.
6355 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
6357         * emacs-lisp/package.el (package-menu-mode-map):
6358         Move initialization into declaration.
6360         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
6362 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
6364         * emacs-lisp/package.el (package-archive-base): Point to
6365         elpa.gnu.org.
6366         (package-enable, package-load-list): New defcustoms.
6367         (package-user-dir, package-directory-list): Turn into defcustoms.
6368         Don't include package-user-dir in package-directory-list.
6369         (package--builtins-base): Don't include Emacs as a "package".
6370         (package-subdirectory-regexp): New var.
6371         (package-load-all-descriptors, package-compute-transaction)
6372         (package-download-transaction): Obey package-load-list.
6373         (package-activate-1): Rename from package-do-activate.
6374         (package-list-packages-internal): Check package-load-list.
6375         (package-load-descriptor, package-generate-autoloads)
6376         (package-unpack, package-unpack-single)
6377         (package--read-archive-file, package-delete): Use
6378         expand-file-name.
6380         * emacs-lisp/package-x.el: New file.  Package uploading
6381         functionality split out from package.el.
6383         * startup.el (command-line): Load packages after reading init file.
6385 2010-06-17  Tom Tromey  <tromey@redhat.com>
6387         * emacs-lisp/package.el: New file.
6389 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
6391         Fix vc-annotate for renamed files when using Git.
6392         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
6393         ls-files.  Doe not pass the object as a file name to cat-file, it
6394         is not a file name.
6395         (vc-git-annotate-command): Pass the file name using -- to avoid
6396         ambiguity with the revision.
6397         (vc-git-previous-revision): Pass a relative file name.
6399 2010-06-22  Glenn Morris  <rgm@gnu.org>
6401         * progmodes/js.el (js-mode-map): Use standard capitalization and
6402         ellipses for menu entries.
6404         * wid-edit.el (widget-complete): Doc fix.
6406 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
6408         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
6410 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
6412         Fix annotating other revisions for renamed files in vc-annotate.
6413         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
6414         VC backend.  Use it when non-nil.
6415         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
6416         (Bug#6487)
6418         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
6419         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
6420         Do not pass the file name to the 'previous-revision call when we
6421         don't want a file diff.  (Bug#6489)
6423 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
6425         Fix finding revisions for renamed files in vc-annotate.
6426         * vc/vc.el (vc-find-revision): Add an optional argument for
6427         the VC backend.  Use it when non-nil.
6428         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
6429         backend to vc-find-revision.  (Bug#6487)
6431 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
6433         Fix reading file names in Git annotate buffers.
6434         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
6435         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
6437 2010-06-20  Alan Mackenzie  <acm@muc.de>
6439         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
6440         in file local variables, set it first.
6442 2010-06-19  Glenn Morris  <rgm@gnu.org>
6444         * descr-text.el (describe-char-unicode-data): Insert separating
6445         space when needed.  (Bug#6422)
6447         * progmodes/idlwave.el (idlwave-action-and-binding):
6448         Fix typo in 2009-12-03 change.  (Bug#6450)
6450 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6452         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
6453         handling for `lambda' (misunderstanding).
6455 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
6457         * calc/calc-poly.el (math-accum-factors): Make sure that
6458         constants aren't distributed after they are factored out.
6460 2010-06-16  Juri Linkov  <juri@jurta.org>
6462         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
6463         `list-colors-print'.  (Bug#6332)
6465         * subr.el (read-quoted-char): Fix up last change (bug#6290).
6467 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6469         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
6470         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
6472         * font-lock.el (font-lock-major-mode): Rename from
6473         font-lock-mode-major-mode to distinguish it from
6474         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
6475         (font-lock-set-defaults):
6476         * font-core.el (font-lock-default-function): Adjust users.
6477         (font-lock-mode): Don't set it at all.
6479 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
6481         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
6483 2010-06-16  Glenn Morris  <rgm@gnu.org>
6485         * calendar/appt.el (appt-time-msg-list): Doc fix.
6486         (appt-check): Let-bind appt-warn-time.
6487         (appt-add): Make the 3rd argument optional.
6488         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
6489         Only add WARNTIME to the output list if non-nil.
6491 2010-06-16  Ivan Kanis  <apple@kanis.eu>
6493         * calendar/appt.el (appt-check): Let the 3rd element of
6494         appt-time-msg-list specify the warning time.
6495         (appt-add): Add new argument with the warning time.  (Bug#5176)
6497 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)
6499         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
6500         older than version 1.6.  (Bug#6361)
6502 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
6504         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
6505         used by cl-do-arglist.  (Bug#6408)
6507 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
6509         * textmodes/ispell.el (ispell-dictionary-base-alist): Fix
6510         portuguese casechars/not-casechars for missing 'çÇ'.
6511         Suggested by Rolando Pereira (bug#6434).
6513 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
6515         * facemenu.el (list-colors-sort): Doc fix.
6517 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>  (tiny change)
6519         * progmodes/sql.el (sql-connect-mysql): Fix typo.
6521 2010-06-14  Juri Linkov  <juri@jurta.org>
6523         Add sort option `list-colors-sort'.  (Bug#6332)
6524         * facemenu.el (color-rgb-to-hsv): New function.
6525         (list-colors-sort): New defcustom.
6526         (list-colors-sort-key): New function.
6527         (list-colors-display): Doc fix.  Sort list according to the option
6528         `list-colors-sort'.
6529         (list-colors-print): Add HSV values to `help-echo' property of
6530         RGB strings.
6532 2010-06-14  Juri Linkov  <juri@jurta.org>
6534         * compare-w.el: Move to the "vc" subdirectory.
6536 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6538         * image-mode.el (image-mode-map): Remap left-char and right-char.
6540         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
6542 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
6544         * term/common-win.el (x-colors): Add all the color names defined
6545         in rgb.txt (Bug#6332).
6547         * facemenu.el (list-colors-print): Don't print extra names if it
6548         will overflow the window width.
6550         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
6551         change (Bug#6343).
6553 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
6555         * files.el (make-directory): Doc fix (bug#6396).
6557 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
6559         * net/tramp.el (tramp-remote-process-environment): Protect version
6560         string by apostroph.
6561         (tramp-shell-prompt-pattern): Do not use a shy group in case of
6562         XEmacs.
6563         (tramp-file-name-for-operation): Add `call-process-region'.
6564         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6566         * net/tramp-compat.el (top): Do not autoload
6567         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
6568         only when `start-file-process' is not bound.
6569         (tramp-advice-file-expand-wildcards): Do not use
6570         `tramp-handle-file-remote-p'.
6571         (tramp-compat-make-temp-file): Handle the case, that
6572         `make-temp-file' has no third argument EXTENSION.
6574 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
6576         * makefile.w32-in (WINS_BASIC): Include new directory vc.
6578         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
6580 2010-06-11  Juri Linkov  <juri@jurta.org>
6582         * finder.el (finder-known-keywords): Add keyword "vc"
6583         for version control.
6585         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
6586         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
6587         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
6588         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
6590 2010-06-11  Juri Linkov  <juri@jurta.org>
6592         Move version control related files to the "vc" subdirectory.
6593         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
6594         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
6595         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
6596         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
6597         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
6598         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
6599         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
6600         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
6601         Move files to the "vc" subdirectory.
6603 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
6605         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
6606         (Bug#6367).
6608 2010-06-11  Stephen Eglen  <stephen@gnu.org>
6610         * shell.el: Bind `shell-resync-dirs' to M-RET.
6612 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
6614         * notifications.el: Move file from lisp/net, because it is
6615         supposed to talk locally to the user.
6617 2010-06-10  Julien Danjou  <julien@danjou.info>
6619         * net/notifications.el (notifications-on-action-signal)
6620         (notifications-on-closed-signal): Pass notification id as first
6621         argument to the callback functions.  Add docstrings.
6622         (notifications-notify): Fix docstring.
6624 2010-06-10  Glenn Morris  <rgm@gnu.org>
6626         * emacs-lisp/authors.el (authors-ignored-files)
6627         (authors-valid-file-names): Add some files.
6629 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
6631         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
6632         merge conflict, giving preference to the emacs-23 version of the code.
6634 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6636         * emacs-lisp/advice.el (ad-compile-function):
6637         Define warning-suppress-types before we let-bind it (bug#6275).
6639         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
6640         declare it, make it buffer-local and permanent-local (bug#6324).
6641         (vc-resynch-window): Adjust name.
6642         * vc-hooks.el (vc-find-file-hook): Adjust name.
6644 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
6646         * net/notifications.el (notifications-notify): Fix docstring.
6648 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
6650         Update to Unicode 6.0.0 beta.
6651         * international/charprop.el: Update copyright.
6652         * international/mule-cmds.el (ucs-names): Update character ranges.
6653         * international/uni-bidi.el:
6654         * international/uni-category.el:
6655         * international/uni-combining.el:
6656         * international/uni-comment.el:
6657         * international/uni-decimal.el:
6658         * international/uni-decomposition.el:
6659         * international/uni-digit.el:
6660         * international/uni-lowercase.el:
6661         * international/uni-mirrored.el:
6662         * international/uni-name.el:
6663         * international/uni-numeric.el:
6664         * international/uni-old-name.el:
6665         * international/uni-titlecase.el:
6666         * international/uni-uppercase.el: Regenerate.
6668 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
6670         * emacs-lisp/smie.el (comment-string-strip): Declare function.
6671         (smie-precs-precedence-table): Fix typo in docstring.
6673         * vc-mtn.el (log-edit-extract-headers): Declare function.
6675         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
6677         * net/notifications.el (dbus-register-signal): Declare function.
6678         (notifications-notify): Fix typos and reflow docstring.
6680 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
6682         Improve VC create/retrieve tag/branch.
6683         * vc.el (vc-create-tag): Do not read the directory name for VCs
6684         with repository revision granularity.  Adjust the tag/branch
6685         prompt.  Reset VC properties.
6686         (vc-retrieve-tag): Do not read the directory name for VCs
6687         with repository revision granularity.  Reset VC properties.
6689 2010-06-09  Julien Danjou  <julien@danjou.info>
6691         * net/notifications.el: New file.
6693 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
6695         Add optional support for resetting VC properties.
6696         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
6697         call vc-file-clearprops when true.
6698         (vc-resynch-buffer): Add new optional argument, pass it down.
6699         (vc-resynch-buffers-in-directory): Likewise.
6701         Improve support for special markup in the VC commit message.
6702         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
6703         * vc-hg.el (vc-hg-checkin): Add support for Date:.
6704         * vc-git.el (vc-git-checkin):
6705         * vc-bzr.el (vc-bzr-checkin): Likewise.
6707 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6709         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
6710         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
6712 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
6714         * iimage.el: Remove images as soon as the underlying text is modified.
6715         (iimage-modification-hook): New function.
6716         (iimage-mode-buffer): Use it.
6718 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6720         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
6721         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
6722         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
6723         (smie-indent-keyword): Add handling of open-paren keywords.
6724         (smie-indent-comment-continue): Don't assume comment-continue.
6726 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
6728         * window.el (pop-to-buffer): Remove the conditional that
6729         compares new-window and old-window, so it will reselect
6730         the selected window unconditionally.
6731         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
6733 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6735         * emacs-lisp/smie.el (smie-indent-offset-after)
6736         (smie-indent-forward-token, smie-indent-backward-token): New functions.
6737         (smie-indent-after-keyword): Use them.
6738         (smie-indent-fixindent): Only applies to the indentation of the BOL.
6739         (smie-indent-keyword): Tweak the black magic.
6740         (smie-indent-comment-continue): Strip comment-continue before use.
6741         (smie-indent-functions): Indent comments before keywords.
6743 2010-06-06  Juri Linkov  <juri@jurta.org>
6745         * isearch.el (isearch-lazy-highlight-search): Fix looping
6746         by checking for empty match.  This syncs this loop with the
6747         similar loop in `isearch-search'.  (Bug#6362)
6749 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
6751         * net/dbus.el (dbus-register-method): Declare function.
6752         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
6753         (dbus-introspect): Doc fix.
6754         (dbus-event-bus-name, dbus-introspect-get-interface)
6755         (dbus-introspect-get-argument): Reflow docstrings.
6757 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
6759         vc-log-incoming/vc-log-outgoing fixes for Git.
6760         * vc-git.el (vc-git-log-view-mode): Fix font lock for
6761         incoming/outgoing logs.
6762         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
6763         instead of vc-git-compute-remote.
6764         (vc-git-compute-remote): Remove.
6766 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
6768         * term/common-win.el (x-colors): Add "dark green" and "dark
6769         turquoise" (Bug#6332).
6771 2010-06-04  Juri Linkov  <juri@jurta.org>
6773         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
6774         Instead of setting `replace' to t and replacing the same string
6775         with itself, don't do certain actions when
6776         kill-do-not-save-duplicates is non-nil and string is equal to car
6777         of kill-ring: don't call menu-bar-update-yank-menu, don't push
6778         interprogram-paste strings to kill-ring, and don't push the input
6779         argument `string' to kill-ring.
6780         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
6782 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
6784         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
6786 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
6788         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
6789         (tramp-gvfs-handler-mounted-unmounted)
6790         (tramp-gvfs-connection-mounted-p): Handle default-location.
6792         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
6793         move files to trash.
6795 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
6797         * international/mule-cmds.el (nonascii-insert-offset)
6798         (nonascii-translation-table): Add obsolescence information.
6800         * international/mule.el (make-translation-table-from-vector): Doc fix.
6802 2010-06-03  Glenn Morris  <rgm@gnu.org>
6804         * desktop.el (desktop-clear-preserve-buffers):
6805         Add "*Warnings*" buffer.  (Bug#6336)
6807 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
6809         vc-log-incoming/vc-log-outgoing improvements for Git.
6810         * vc-git.el (vc-git-log-outgoing): Use the same format as the
6811         short log.
6812         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
6814         Add bindings for vc-log-incoming and vc-log-outgoing.
6815         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
6816         and vc-log-outgoing.
6817         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
6818         and vc-log-outgoing.
6820 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
6822         * net/rcirc.el (rcirc-sort-nicknames): Remove.
6823         (rcirc-handler-366): Always sort nicknames.
6825 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
6827         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
6829 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
6831         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
6833 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6835         * net/rcirc.el (rcirc-sort-nicknames): Change default.
6836         (rcirc-sort-nicknames-join): Avoid setq.
6838 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
6840         * net/rcirc.el (rcirc-sort-nicknames): New custom.
6841         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
6842         (rcirc-handler-366): Use them.
6844 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6846         Split smie-indent-calculate into more manageable chunks.
6847         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
6848         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
6849         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
6850         (smie-indent-exps): Extract from smie-indent-calculate.
6851         (smie-indent-functions): New var.
6852         (smie-indent-functions): Use them.
6854 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6856         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
6857         (smie-indent-calculate): Simplify and cleanup.
6859 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
6861         * net/tramp-gvfs.el (top): Require url-util.
6862         (tramp-gvfs-mount-point): Remove.
6863         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
6864         New defuns.
6865         (with-tramp-dbus-call-method): Format trace message.
6866         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6867         Implement backup call, when operation on local files fails.
6868         Use progress reporter.  Flush properties of changed files.
6869         (tramp-gvfs-handle-make-directory): Make more traces.
6870         (tramp-gvfs-url-file-name): Hexify file name in url.
6871         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6872         into account for the resulting file name.
6873         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
6874         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
6875         (tramp-gvfs-handler-mounted-unmounted)
6876         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6877         attribute "default_location".  Set "prefix" property.
6878         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6879         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6880         exists.  Raise an error, if not (due to a corresponding answer
6881         "no" in interactive questions, for example).
6883 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
6885         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
6887 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
6889         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
6890         right-*.  (Bug#6265)
6892 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
6894         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
6895         * vc-git.el (vc-git-compute-remote): New function.
6896         (vc-git-log-outgoing): Use it instead of hard coding a value.
6897         (vc-git-log-incoming): New function.
6899         Improve state updating for VC tag commands.
6900         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
6901         to update the state of all buffers in the directory.
6903         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
6905 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6907         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
6908         `file-directory-p' to the filename part rather than to the whole text.
6910 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6912         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
6914 2010-05-31  Drew Adams  <drew.adams@oracle.com>
6916         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
6918 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
6920         * subr.el (momentary-string-display): Just use read-event to read
6921         the exit event (Bug#6238).
6923 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
6925         * international/mule.el (define-coding-system): Doc fix (bug#6313).
6927 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
6929         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
6930         Suggested by Eli Zaretskii <eliz@gnu.org>.
6932 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6934         * minibuffer.el (completion-file-name-table): Don't return a boundary
6935         past the end of `string' (bug#6299).
6936         (completion--file-name-table): Delegate to completion-file-name-table
6937         for the `boundaries' case.
6939 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
6941         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
6942         movement commands.
6944         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
6945         `path-separator', but maintain compatibility with Emacs 20.2.
6947 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
6949         * server.el (server-process-filter): Receive parent-id argument
6950         from emacsclient.
6951         (server-create-window-system-frame): New arg.  Pass parent-id as
6952         frame parameter.
6954 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
6956         Bidi-sensitive word movement with arrow keys.
6957         * subr.el (right-arrow-command, left-arrow-command): Move to
6958         bindings.el.
6960         * bindings.el (right-char, left-char): Move from subr.el and
6961         rename from right-arrow-command and left-arrow-command.
6962         (right-word, left-word): New functions.
6963         (global-map) <right>: Bind to right-char.
6964         (global-map) <left>: Bind to left-char.
6965         (global-map) <C-right>: Bind to right-word.
6966         (global-map) <C-left>: Bind to left-word.
6968         * ls-lisp.el (ls-lisp-classify-file): New function.
6969         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
6970         (ls-lisp-classify): Call ls-lisp-classify-file.
6971         (insert-directory): Remove blanks from switches.
6973 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
6975         * ansi-color.el: Delete unused escape sequences (Bug#6085).
6976         (ansi-color-drop-regexp): New constant.
6977         (ansi-color-apply, ansi-color-filter-region)
6978         (ansi-color-apply-on-region): Delete unrecognized control sequences.
6979         (ansi-color-apply): Build string list before calling concat.
6981 2010-05-28  Juri Linkov  <juri@jurta.org>
6983         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6984         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
6985         (Bug#5270)
6987 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
6989         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
6990         to ignored backtrace functions.
6991         (with-progress-reporter): Expand docstring.
6992         (tramp-handle-delete-file): Implement TRASH argument.
6993         (tramp-get-remote-trash): New defun.
6995 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
6997         * net/tramp-compat.el (tramp-compat-delete-file): Use
6998         `symbol-value' for backward compatibility.
7000         * net/tramp.el (tramp-handle-make-symbolic-link)
7001         (tramp-handle-load)
7002         (tramp-do-copy-or-rename-file-via-buffer)
7003         (tramp-do-copy-or-rename-file-directly)
7004         (tramp-do-copy-or-rename-file-out-of-band)
7005         (tramp-handle-process-file, tramp-handle-call-process-region)
7006         (tramp-handle-shell-command, tramp-handle-file-local-copy)
7007         (tramp-handle-insert-file-contents, tramp-handle-write-region)
7008         (tramp-delete-temp-file-function): Use `delete-file' instead
7009         of `tramp-compat-delete-file'.
7011         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7012         (tramp-fish-handle-make-symbolic-link)
7013         (tramp-fish-handle-process-file): Use `delete-file' instead
7014         of `tramp-compat-delete-file'.
7016         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use
7017         `delete-file' instead of `tramp-compat-delete-file'.
7019         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7020         (tramp-gvfs-handle-write-region): Use `delete-file' instead of
7021         `tramp-compat-delete-file'.
7023         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file): Use
7024         `delete-file' instead of `tramp-compat-delete-file'.
7026         * net/tramp-smb.el (tramp-smb-handle-copy-file)
7027         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7028         (tramp-smb-handle-write-region): Use `delete-file' instead of
7029         `tramp-compat-delete-file'.
7030         (tramp-smb-handle-delete-directory): Use 'trash as arg.
7032 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
7034         * dired.el (dired-delete-file): New arg TRASH.
7035         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
7036         (dired-do-flagged-delete, dired-do-delete): Use trash.
7038         * speedbar.el (speedbar-item-delete): Allow trashing.
7040         * files.el (delete-directory): New arg TRASH.
7042         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
7043         (ange-ftp-rename-remote-to-remote)
7044         (ange-ftp-rename-local-to-remote)
7045         (ange-ftp-rename-remote-to-local, ange-ftp-load)
7046         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
7047         `delete-file'.
7048         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
7049         allow trashing.
7051         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
7052         handle new TRASH arg of `delete-file'.
7054         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
7055         (tramp-handle-make-symbolic-link, tramp-handle-load)
7056         (tramp-do-copy-or-rename-file-via-buffer)
7057         (tramp-do-copy-or-rename-file-directly)
7058         (tramp-do-copy-or-rename-file-out-of-band)
7059         (tramp-handle-process-file, tramp-handle-call-process-region)
7060         (tramp-handle-shell-command, tramp-handle-file-local-copy)
7061         (tramp-handle-insert-file-contents, tramp-handle-write-region)
7062         (tramp-delete-temp-file-function): Use null TRASH arg in
7063         tramp-compat-delete-file call.
7065         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
7066         (tramp-fish-handle-delete-file)
7067         (tramp-fish-handle-make-symbolic-link)
7068         (tramp-fish-handle-process-file): Use null TRASH arg in
7069         `tramp-compat-delete-file' call.
7071         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
7072         arg in `tramp-compat-delete-file' call.
7074         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
7075         (tramp-gvfs-handle-write-region): Use null TRASH arg in
7076         `tramp-compat-delete-file' call.
7078         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
7079         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
7080         `tramp-compat-delete-file' call.
7082         * net/tramp-smb.el (tramp-smb-handle-copy-file)
7083         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7084         (tramp-smb-handle-write-region): Use null TRASH arg in
7085         tramp-compat-delete-file call.
7086         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
7087         (tramp-smb-handle-delete-file): Rename arg.
7089         * diff.el (diff-sentinel):
7090         * epg.el (epg--make-temp-file, epg-decrypt-string)
7091         (epg-verify-string, epg-sign-string, epg-encrypt-string):
7092         * jka-compr.el (jka-compr-partial-uncompress)
7093         (jka-compr-call-process, jka-compr-write-region):
7094         * server.el (server-sentinel): Remove optional arg from
7095         delete-file, reverting 2010-05-03 change.
7097 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
7099         * progmodes/verilog-mode.el (verilog-type-font-keywords): Use
7100         font-lock-constant-face, not obsolete font-lock-reference-face.
7102 2010-05-27  Kenichi Handa  <handa@m17n.org>
7104         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
7105         element of GSTRING is nil.
7107 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7109         * emacs-lisp/smie.el (smie-forward-token-function)
7110         (smie-backward-token-function): New vars.
7111         (smie-backward-sexp, smie-forward-sexp)
7112         (smie-indent-hanging-p, smie-indent-calculate): Use them.
7113         (smie-default-backward-token): Rename from smie-backward-token and
7114         skip comments.
7115         (smie-default-forward-token): Rename from smie-forward-token and
7116         skip comments.
7117         (smie-next-sexp): Handle nil results from next-token.
7118         (smie-indent-calculate): Add a new case for special `fixindent' comments.
7120 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
7122         * progmodes/verilog-mode.el (verilog-type-font-keywords):
7123         Use font-lock-constant-face, not obsolete font-lock-reference-face.
7125 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
7127         * htmlfontify.el (hfy-face-resolve-face): New function.
7128         (hfy-face-to-style): Use it (Bug#6279).
7130 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7132         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
7133         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
7135 2010-05-26  Glenn Morris  <rgm@gnu.org>
7137         * emulation/edt.el (edt-load-keys): Use locate-library.
7139 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
7141         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
7142         (log-edit-changelog-entries): Doc fix.
7143         (log-edit-changelog-insert-entries): Args changed.
7144         Rename relative filenames in ChangeLog entries.  Delete tabs.
7145         (log-edit-insert-changelog-entries): Reorganize return value of
7146         `log-edit-changelog-entries' to pass filenames to
7147         log-edit-changelog-insert-entries.
7149 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7151         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
7152         `image-dired-dired-insert-marked-thumbs' to
7153         `image-dired-dired-toggle-marked-thumbs'.
7155         * image-dired.el: Require cl when compiling.
7156         (image-dired-dired-toggle-marked-thumbs): Rename from
7157         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
7158         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
7159         to 'no-dir.  Skip files whose names don't match
7160         `image-file-name-regexp'.  When file has a thumbnail overlay,
7161         delete it.  (Bug#5270)
7163 2010-05-25  Juri Linkov  <juri@jurta.org>
7165         * image-mode.el (image-mode): Add image-after-revert-hook to
7166         after-revert-hook.
7167         (image-after-revert-hook): New function.  (Bug#5669)
7169 2010-05-25  Juri Linkov  <juri@jurta.org>
7171         * image.el (image-animated-p): When delay between animated images
7172         is 0, set it to 10 (0.1 sec).  (Bug#6258)
7174 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
7176         * net/tramp.el (tramp-handle-insert-directory): Don't use
7177         `forward-word', its default syntax could be changed.
7179 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
7181         * net/tramp.el (tramp-progress-reporter-update): New defun.
7182         (with-progress-reporter): Use it.
7183         (tramp-process-actions):
7184         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
7185         current message, in order to let progress reporter continue
7186         afterwards.  (Bug#6257)
7188 2010-05-25  Glenn Morris  <rgm@gnu.org>
7190         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
7191         Add :version.
7193 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
7195         * net/rcirc.el (rcirc-default-user-name): Change to "user".
7196         (rcirc-default-full-name): Change to "unknown".
7197         (rcirc-user-name-history): Add variable.
7199 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
7200             Jonathan Rockway  <jon@jrock.us>
7202         * net/rcirc.el (rcirc-server-alist): Add :pass.
7203         (rcirc): When prompting for connection parameters, also prompt for
7204         username and password.
7205         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
7206         value to server when connecting.
7208 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7210         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
7211         (smie-merge-prec2s): Pass the tables as separate args.
7212         (smie-bnf-precedence-table): Adjust call accordingly.
7213         (smie-prec2-levels): Set levels at the end.
7215         Replace Lisp calls to delete-backward-char by delete-char.
7216         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
7217         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
7218         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
7219         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
7220         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
7221         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
7222         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
7223         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
7224         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
7225         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
7226         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
7227         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
7228         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
7229         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
7230         delete-backward-char by calls to delete-char.
7232 2010-05-25  Kenichi Handa  <handa@m17n.org>
7234         * language/hebrew.el (hebrew-shape-gstring): New function.
7235         Register it in composition-function-table for all Hebrew combining
7236         characters.
7238 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7240         * epa.el (epa--select-keys): Don't explicitly delete the window since
7241         that can fail (e.g. sole window in frame).  Use dedication instead.
7243 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
7245         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
7247 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
7249         * image.el (image-refresh): Define as an alias for image-flush.
7251         * image-mode.el (image-toggle-display-image): Caller changed.
7253 2010-05-21  Juri Linkov  <juri@jurta.org>
7255         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
7256         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
7257         whitespace, call wildcard-to-regexp on substrings and concat them
7258         with "\\|".  (Bug#6114)
7260 2010-05-21  Alan Mackenzie  <acm@muc.de>
7262         * progmodes/cc-engine.el (c-parse-state-get-strategy):
7263         Replace parameter `here' with `here-' and `here-plus', which sandwich
7264         any pertinent CPP construct.
7265         (c-remove-stale-state-cache-backwards): Fix a bug which happens
7266         when doing (c-parse-state) in a CPP construct: Exclude any "new"
7267         CPP construct from taking part in the scanning.
7269 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
7271         * net/tramp.el (tramp-do-copy-or-rename-file)
7272         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
7273         Tune `with-progress-reporter' messages.
7274         (tramp-handle-vc-registered):
7275         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
7276         (tramp-fish-handle-insert-file-contents)
7277         (tramp-fish-maybe-open-connection):
7278         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7279         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
7280         (tramp-imap-handle-insert-file-contents)
7281         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
7283 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
7285         * add-log.el (change-log-font-lock-keywords):
7286         Highlight all authors in multi-author entries.
7288         * smerge-mode.el (smerge-refine-ignore-whitespace)
7289         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
7290         Fix typos in docstrings.
7291         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
7293 2010-05-21  Glenn Morris  <rgm@gnu.org>
7295         * progmodes/fortran.el (fortran-mode):
7296         * progmodes/f90.el (f90-mode): Derive from prog-mode.
7298         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
7299         having a relative path in src/Makefile.in.
7301 2010-05-20  Kevin Ryde  <user42@zip.com.au>
7303         * help-mode.el (help-make-xrefs): For Info node links turn
7304         newlines into spaces.  Link node names with newlines are matched
7305         by help-xref-info-regexp and buttonized, this change ensures they
7306         can be followed successfully with RET.  (Bug#6206)
7308 2010-05-20  Juri Linkov  <juri@jurta.org>
7310         * locate.el (locate): Use pop-to-buffer instead of
7311         switch-to-buffer-other-window.  (Bug#6204)
7313 2010-05-20  Juri Linkov  <juri@jurta.org>
7315         * replace.el (replace-highlight): Fix lazy-highlighting
7316         for `M-s w str M-% str RET'.
7318 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
7320         * isearch.el (isearch-yank-word-or-char): Pull next subword
7321         when `subword-mode' is activated.  (Bug#6220)
7323 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
7325         * isearch.el (isearch-update-post-hook): New hook.
7326         (isearch-update): Use the new hook.  (Bug#6225)
7328 2010-05-20  Juri Linkov  <juri@jurta.org>
7330         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
7331         [f1], [help], and (char-to-string help-char) instead of "\C-h".
7332         (Bug#6222)
7334 2010-05-20  Juri Linkov  <juri@jurta.org>
7336         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
7337         (Bug#6223)
7339 2010-05-20  Juri Linkov  <juri@jurta.org>
7341         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
7342         FILE-NAME to read from the minibuffer when called interactively
7343         with prefix argument instead of using buffer-file-name.
7344         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
7346         * dired.el: Update autoloads.
7348 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
7350         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
7351         nxml-finish-element, for consistency with SGML mode.
7353         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
7354         octave-close-block.
7356 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
7358         * composite.el: Require cl when compiling.
7359         (reference-point-alist, compose-gstring-for-graphic)
7360         (compose-gstring-for-terminal): Fix typos in docstrings.
7362 2010-05-19  Juri Linkov  <juri@jurta.org>
7364         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
7365         set-window-parameter.
7367 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
7369         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
7370         where appropriate.
7371         (tramp-maybe-open-connection): Use it.
7373 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
7375         * simple.el (move-end-of-line): Make sure we are at line beginning
7376         before backing up to end of previous line.
7378 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
7380         * password-cache.el (password-cache-remove): Fix docstring.
7382         * net/secrets.el: Autoload the widget functions.
7383         (secrets-search-items, secrets-create-item)
7384         (secrets-get-attributes, secrets-expand-item): Attributes will be
7385         stored on the password database without leading ":", as all other
7386         clients do as well.
7387         (secrets-mode): Fix docstring.
7388         (secrets-show-secrets): Provide it as autoloaded command only when
7389         D-Bus support is available.  Check existence of Secret Service API.
7391 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
7393         * indent.el (indent-region): Deactivate region (bug#6200).
7395 2010-05-19  Glenn Morris  <rgm@gnu.org>
7397         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
7399 2010-05-19  Kenichi Handa  <handa@m17n.org>
7401         * composite.el: Register compose-gstring-for-graphic in
7402         composition-function-table only for combining characters (Mn, Mc, Me).
7404 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
7406         * calc/calc-trail.el (calc-trail-isearch-forward)
7407         (calc-trail-isearch-backward): Ensure that the new window
7408         point is set correctly.
7410 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7412         * subr.el (read-quoted-char): Resolve modifiers after key
7413         remapping (bug#6212).
7415 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
7417         Add visualization code for secrets.
7418         * net/secrets.el (secrets-mode): New major mode.
7419         (secrets-show-secrets, secrets-show-collections)
7420         (secrets-expand-collection, secrets-expand-item)
7421         (secrets-tree-widget-after-toggle-function)
7422         (secrets-tree-widget-show-password): New defuns.
7424 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
7426         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
7427         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
7428         handled in smie-next-sexp.
7429         (smie-indent-calculate): Provide a starting indentation (so the
7430         recursion is well-founded ;-).
7432         Fix handling of non-associative equal levels.
7433         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
7434         when it's not needed.
7435         (smie-op-left, smie-op-right): New functions.
7436         (smie-next-sexp): New function, extracted from smie-backward-sexp.
7437         Better handle equal levels to distinguish the associative case from
7438         the "multi-keyword construct" case.
7439         (smie-backward-sexp, smie-forward-sexp): Use it.
7441 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
7443         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
7445         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
7446         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
7448 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7450         Provide a simple generic indentation engine and use it for Prolog.
7451         * emacs-lisp/smie.el: New file.
7452         * progmodes/prolog.el (prolog-smie-op-levels)
7453         (prolog-smie-indent-rules): New var.
7454         (prolog-mode-variables): Use them to configure SMIE.
7455         (prolog-indent-line, prolog-indent-level): Remove.
7457 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
7459         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
7460         order before computing the averages.
7462 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
7464         * calc/calc-vec.el (calc-histogram):
7465         (calcFunc-histogram): Allow vectors as inputs.
7466         (math-vector-avg): New function.
7468         * calc/calc-ext.el (math-group-float): Have the number of digits
7469         being grouped depend on the radix (Bug#6189).
7471 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
7473         * version.el (emacs-copyright, emacs-version): Don't define here,
7474         now that emacs.c defines it.
7476 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
7478         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
7479         "Describe Language Environment" menu item.
7481         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
7483         Bidi-sensitive movement with arrow keys.
7484         * subr.el (right-arrow-command, left-arrow-command): New functions.
7486         * bindings.el (global-map): Bind them to right and left arrow keys.
7488         Don't override standard definition of convert-standard-filename.
7489         * files.el (convert-standard-filename): Call
7490         w32-convert-standard-filename and dos-convert-standard-filename on
7491         the corresponding systems.
7493         * w32-fns.el (w32-convert-standard-filename): Rename from
7494         convert-standard-filename.  Doc fix.
7496         * dos-fns.el (dos-convert-standard-filename): Doc fix.
7497         (convert-standard-filename): Don't defalias.
7498         (register-name-alist, make-register, register-value)
7499         (set-register-value, intdos): Obsolete aliases for the
7500         corresponding dos-* functions and variables.
7501         (dos-intdos): Add a doc string.
7503 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
7505         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
7506         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
7507         (math-compose-tex-func):
7508         * calc/calccomp.el (math-compose-expr):
7509         * calc/calc-ext.el (math-format-flat-expr-fancy):
7510         * calc/calc-store.el (calc-read-var-name):
7511         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
7513         * calc/calc.el (var-π, var-φ, var-γ): New variables.
7514         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
7515         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
7516         (math-standard-units): Add units.
7518 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7520         * progmodes/asm-mode.el (asm-mode):
7521         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
7523         * pcomplete.el (pcomplete-completions-at-point): New function,
7524         extracted from pcomplete-std-complete.
7525         (pcomplete-std-complete): Use it.
7527 2010-05-15  Glenn Morris  <rgm@gnu.org>
7529         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
7530         Remove references to CVS, RCS and Old directories.
7532 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
7534         * calc/calc-bin.el (math-format-twos-complement): Group digits when
7535         appropriate.
7537 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
7539         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
7540         (sh-mode-syntax-table): Give it a default value instead.
7541         (sh-header-marker): Make buffer-local.
7542         (sh-mode): Move make-local-variable to the corresponding setq.
7543         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
7544         Use complete-with-action.
7546         * simple.el (prog-mode): New (abstract) major mode.
7547         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
7548         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
7550 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
7552         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
7553         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
7554         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
7555         (sql-make-alternate-buffer-name, sql-placeholders-filter)
7556         (sql-escape-newlines-filter, sql-input-sender)
7557         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
7559 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
7561         Add TeX open-block and close-block keybindings to SGML, and vice versa.
7563         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
7564         latex-open-block and C-c / to latex-close-block.
7566         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
7567         and C-c C-e to sgml-close-tag.
7569 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
7571         * net/tramp.el (with-progress-reporter): Create reporter object
7572         only when the message would be displayed.  Handle nested calls.
7573         (tramp-handle-load, tramp-handle-file-local-copy)
7574         (tramp-handle-insert-file-contents, tramp-handle-write-region)
7575         (tramp-maybe-send-script, tramp-find-shell):
7576         Use `with-progress-reporter'.
7577         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
7578         Fix message text.
7580         * net/tramp-smb.el (tramp-smb-handle-copy-file)
7581         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
7582         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
7583         Use `with-progress-reporter'.
7585 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
7587         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
7588         process everytime when spellchecking from the minibuffer (bug#6143).
7590 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
7592         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
7594         * dos-fns.el: Add "dos-" prefix for namespace control.
7595         (convert-standard-filename): Define as alias for
7596         dos-convert-standard-filename but only if applicable.
7598 2010-05-12  Alan Mackenzie  <acm@muc.de>
7600         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
7601         Push the mark at the start of these functions when appropriate.
7603 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
7605         * minibuffer.el (completion-cycle-threshold): New custom var.
7606         (completion--do-completion): Use it.
7607         (minibuffer-complete): Use cycling if appropriate.
7609 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
7611         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
7612         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
7614 2010-05-11  Juri Linkov  <juri@jurta.org>
7616         * scroll-all.el (scroll-all-check-to-scroll):
7617         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
7619 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
7621         * iimage.el (iimage-mode-map): Move initialization into declaration.
7622         (iimage-mode-buffer): Use with-silent-modifications.
7623         Simplify calling convention.  Adjust callers.
7624         (iimage-mode): Don't run hook redundantly.
7626         * minibuffer.el (completion-pcm--pattern->regex):
7627         Fix last change (bug#6160).
7629 2010-05-10  Juri Linkov  <juri@jurta.org>
7631         Remove nodes visited during Isearch from the Info history.
7632         * info.el (Info-isearch-initial-history)
7633         (Info-isearch-initial-history-list): New variables.
7634         (Info-isearch-start): Record initial values of
7635         Info-isearch-initial-history and Info-isearch-initial-history-list.
7636         Add Info-isearch-end to isearch-mode-end-hook.
7637         (Info-isearch-end): New function.
7639 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
7641         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
7642         format string, in order to work around a bug in pdksh.
7643         Reported by Gilles Pion <gpion@lfdj.com>.
7644         (tramp-handle-verify-visited-file-modtime): Do not send a command
7645         when the connection is not established.
7646         (tramp-handle-set-file-times): Simplify the check for utc.
7648 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
7650         Fix use of `filter-buffer-substring' (rework previous change).
7651         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
7652         (cua-repeat-replace-region):
7653         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
7654         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7655         (cua-cut-region-to-global-mark): Use it.
7657 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
7659         * progmodes/sql.el: Version 2.1.
7660         (sql-product-alist): Redesign structure of product info.
7661         (sql-product, sql-user, sql-server, sql-database): Safe variables.
7662         (sql-port, sql-port-history): New variables.
7663         (sql-interactive-product): New variable.
7664         (sql-send-terminator): New variable.
7665         (sql-imenu-generic-expression): Add "Types" imenu entry.
7666         (sql-oracle-login-params, sql-sqlite-login-params)
7667         (sql-mysql-login-params, sql-solid-login-params)
7668         (sql-sybase-login-params, sql-informix-login-params)
7669         (sql-ingres-login-params, sql-ms-login-params)
7670         (sql-postgres-login-params, sql-interbase-login-params)
7671         (sql-db2-login-params, sql-linter-login-params)
7672         (sql-oracle-scan-on): New variables.
7673         (sql-mode-map): Add C-c C-i to start interactive mode.
7674         (sql-mode-menu): Update existing menu entries.
7675         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
7676         (sql-mode-oracle-font-lock-keywords)
7677         (sql-mode-postgres-font-lock-keywords)
7678         (sql-mode-ms-font-lock-keywords)
7679         (sql-mode-sybase-font-lock-keywords)
7680         (sql-mode-informix-font-lock-keywords)
7681         (sql-mode-interbase-font-lock-keywords)
7682         (sql-mode-ingres-font-lock-keywords)
7683         (sql-mode-solid-font-lock-keywords)
7684         (sql-mode-mysql-font-lock-keywords)
7685         (sql-mode-sqlite-font-lock-keywords)
7686         (sql-mode-db2-font-lock-keywords)
7687         (sql-mode-linter-font-lock-keywords): Update initialization to
7688         reduce run-time complexity.
7689         (sql-add-product, sql-del-product): New functions.
7690         (sql-set-product-feature, sql-get-product-feature): New functions.
7691         (sql-product-font-lock): Update product API.
7692         (sql-add-product-keywords): New function.
7693         (sql-highlight-product): Update product API.
7694         (sql-help-list-products): New function.
7695         (sql-help): Dynamically lists free and non-free products.
7696         (sql-get-login): Correct bug in handling history and added
7697         prompt for port.
7698         (sql-copy-column): Copy without properties.
7699         (sqli-input-sender): Apply filters to SQLi input.
7700         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
7701         Implement as a filter.
7702         (sql-escape-newlines-filter): Implement as a filter.
7703         (sql-remove-tabs-filter): New function.
7704         (sql-send-magic-terminator): New function.
7705         (sql-send-string): Implement magic terminator.
7706         (sql-send-region): Use `sql-send-string'.
7707         (sql-interactive-mode): Use product API.
7708         (sql-product-interactive): Use product API.
7709         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
7710         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
7711         (sql-db2, sql-linter): Use `sql-product-interactive'.
7712         (sql-connect): New function.
7713         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
7714         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
7715         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
7716         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
7717         Use `sql-connect'.
7719 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
7721         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
7722         New custom variable.
7723         (completion-pcm--string->pattern): Use it.
7724         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
7725         Make it handle any symbol as `any'.
7726         (completion-pcm--merge-completions): Extract common suffix for the new
7727         `prefix' symbol as well.
7728         (completion-substring--all-completions): Use the new `prefix' symbol.
7730 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
7732         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
7733         not bound.
7734         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
7735         (tramp-compat-funcall): New defmacro.
7736         (tramp-compat-line-beginning-position)
7737         (tramp-compat-line-end-position)
7738         (tramp-compat-temporary-file-directory)
7739         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
7740         (tramp-compat-copy-file, tramp-compat-copy-directory)
7741         (tramp-compat-delete-file, tramp-compat-delete-directory)
7742         (tramp-compat-number-sequence, tramp-compat-process-running-p)
7743         * net/tramp.el (top, with-progress-reporter)
7744         (tramp-rfn-eshadow-setup-minibuffer)
7745         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
7746         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
7747         (tramp-completion-mode-p, tramp-check-for-regexp)
7748         (tramp-open-connection-setup-interactive-shell)
7749         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
7750         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
7751         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
7752         * net/tramp-cmds.el (tramp-cleanup-all-connections)
7753         (tramp-reporter-dump-variable, tramp-load-report-modules)
7754         (tramp-append-tramp-buffers)
7755         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
7757         * net/tramp-imap.el (top): Autoload `epg-make-context'.
7759 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7761         * progmodes/compile.el (compilation-buffer-modtime): Rename from
7762         buffer-modtime.  Adjust users.
7764 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
7766         * international/mule.el (auto-coding-alist): Only purecopy
7767         car of each item, not the whole list (Bug#6083).
7769 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
7771         * progmodes/js.el (js-mode): Make paragraph variables local before
7772         calling c-setup-paragraph-variables (Bug#6071).
7774 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
7776         * composite.el (compose-region, reference-point-alist): Fix typos
7777         in the doc strings.
7779 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
7781         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
7782         gnuplot's "set" command.
7784 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
7786         * abbrev.el (last-abbrev-text): Doc fix.
7787         (abbrev-prefix-mark): Don't escape parenthesis.
7789 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
7791         * composite.el (find-composition): Doc fix.
7793 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
7795         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
7796         (sql-oracle-program, sql-sqlite-options)
7797         (sql-query-placeholders-and-send): Doc fixes.
7798         (sql-set-product, sql-interactive-mode): Reflow docstrings.
7799         (sql-imenu-generic-expression, sql-buffer)
7800         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
7801         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
7802         (sql-mode-sybase-font-lock-keywords)
7803         (sql-mode-informix-font-lock-keywords)
7804         (sql-mode-interbase-font-lock-keywords)
7805         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
7806         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
7807         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
7808         (sql-product-feature, sql-highlight-product)
7809         (comint-line-beginning-position, sql-rename-buffer)
7810         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
7811         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
7812         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
7813         Fix typos in docstrings.
7815 2010-05-08  Juri Linkov  <juri@jurta.org>
7817         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
7818         property instead of `invisible' and `after-string' (bug#5998).
7820 2010-05-08  Juri Linkov  <juri@jurta.org>
7822         * image-mode.el (image-mode-as-text): Fix typo in docstring.
7824 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
7826         * filecache.el (file-cache-add-directory-list)
7827         (file-cache-add-directory-recursively): Fix typos in docstrings.
7829 2010-05-08  Kenichi Handa  <handa@m17n.org>
7831         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
7832         (gujarati-composable-pattern): Fix typo.
7834 2010-05-08  Kenichi Handa  <handa@m17n.org>
7836         * language/indian.el (oriya-composable-pattern)
7837         (tamil-composable-pattern, malayalam-composable-pattern):
7838         Add two-part vowels to "v" (vowel sign).
7840 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
7842         * files.el (copy-directory): Handle symlinks (Bug#5982).
7844 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
7846         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
7847         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
7848         (Bug#5846).
7850 2010-05-08  Glenn Morris  <rgm@gnu.org>
7852         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
7854         * minibuffer.el (completion-at-point): Doc fix.
7856 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7858         * electric.el (Electric-command-loop): Minor tweak.
7860         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
7861         better with dedicated windows.
7863 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
7865         * Version 23.2 released.
7867 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
7868             Stefan Monnier  <monnier@iro.umontreal.ca>
7870         Highlight vendor specific properties.
7871         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
7872         (css-proprietary-property): New face.
7873         (css-font-lock-keywords): Use them.
7875 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
7877         * cus-start.el (all): Add native condition for tool-bar-* symbols.
7879 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7881         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
7882         * files.el (auto-mode-alist): Remove redundant entries.
7884         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
7885         * simple.el (auto-save-mode): Move from files.el.
7886         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
7888 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
7890         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
7892 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
7894         * mail/binhex.el (binhex-decode-region-internal)
7895         * mail/uudecode.el (uudecode-decode-region-internal)
7896         * net/dns.el (dns-read-string-name, dns-write, dns-read)
7897         (dns-read-type, dns-query)
7898         * pgg-parse.el (pgg-parse-armor)
7899         * pgg.el (pgg-verify-region)
7900         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
7901         XEmacs.
7903         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
7905 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
7907         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
7909         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
7910         * emulation/cua-base.el (cua-repeat-replace-region):
7911         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
7912         (cua-cut-region-to-global-mark):
7913         Remove text properties with `set-text-properties'.
7915 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
7917         * net/tramp.el (top, with-progress-reporter):
7918         Use `symbol-function' inside `funcall'.
7920         * net/tramp-compat.el (tramp-compat-file-attributes)
7921         (tramp-compat-delete-file, tramp-compat-delete-directory):
7922         Handle only `wrong-number-of-arguments' error.
7924         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
7925         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
7926         inside `funcall'.
7928 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7930         * minibuffer.el (completion--sreverse, completion--common-suffix):
7931         New functions.
7932         (completion-pcm--merge-completions): Extract common suffix when safe.
7934         * emacs-lisp/easy-mmode.el (define-minor-mode):
7935         Make :variable more flexible.
7936         * files.el (auto-save-mode): Use it to define using define-minor-mode.
7938 2010-05-05  Juri Linkov  <juri@jurta.org>
7940         Add `slow' and `history' tags to the desktop data.
7942         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
7943         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
7944         (Info-finder-find-node): Require `finder.el' to be able
7945         to restore node from the desktop.
7946         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
7947         data `Info-history' and `slow' tag in the assoc list.
7948         (Info-restore-desktop-buffer): Don't restore nodes with the
7949         `slow' tag.  Restore `Info-history'.
7951 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
7953         Add FORCE argument to `delete-file'.
7955         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
7956         forcing to delete the temporary file.
7957         (ange-ftp-delete-file): Add FORCE arg.
7958         (ange-ftp-rename-remote-to-remote)
7959         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
7960         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
7961         Force file deletion.
7963         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
7965         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
7966         (tramp-handle-make-symbolic-link, tramp-handle-load)
7967         (tramp-do-copy-or-rename-file-via-buffer)
7968         (tramp-do-copy-or-rename-file-directly)
7969         (tramp-do-copy-or-rename-file-out-of-band)
7970         (tramp-handle-process-file, tramp-handle-call-process-region)
7971         (tramp-handle-shell-command, tramp-handle-file-local-copy)
7972         (tramp-handle-insert-file-contents, tramp-handle-write-region)
7973         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
7975         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
7976         (tramp-fish-handle-make-symbolic-link)
7977         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
7979         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
7980         Use `tramp-compat-delete-file'.
7982         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
7983         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
7985         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
7986         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
7988         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
7989         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
7990         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
7991         `tramp-compat-delete-file'.
7993 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
7995         Minor cleanups.
7996         * subr.el (add-minor-mode): Use push.
7997         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
7998         * emulation/edt.el (edt-select-mode): Simplify.
8000         Use define-minor-mode in more cases.
8001         * term/tvi970.el (tvi970-set-keypad-mode):
8002         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
8003         (normal-erase-is-backspace-mode):
8004         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
8005         (set-scroll-bar-mode-1): (Re)move to its sole caller.
8006         (get-scroll-bar-mode): New function.
8007         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
8009         Use define-minor-mode for less obvious cases.
8010         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
8011         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
8012         * international/iso-ascii.el (iso-ascii-mode):
8013         * frame.el (auto-raise-mode, auto-lower-mode):
8014         * composite.el (global-auto-composition-mode): Use define-minor-mode.
8016 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
8018         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
8019         in order to see error messages for failed logins.
8021 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
8023         * diff.el (diff-sentinel):
8025         * epg.el (epg--make-temp-file, epg-decrypt-string)
8026         (epg-verify-string, epg-sign-string, epg-encrypt-string):
8028         * jka-compr.el (jka-compr-partial-uncompress)
8029         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
8031         * server.el (server-sentinel): Use delete-file's new FORCE arg
8032         (Bug#6070).
8034 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8036         Use define-minor-mode where applicable.
8037         * view.el (view-mode):
8038         * type-break.el (type-break-query-mode)
8039         (type-break-mode-line-message-mode):
8040         * textmodes/reftex.el (reftex-mode):
8041         * term/vt100.el (vt100-wide-mode):
8042         * tar-mode.el (tar-subfile-mode):
8043         * savehist.el (savehist-mode):
8044         * ibuf-ext.el (ibuffer-auto-mode):
8045         * composite.el (auto-composition-mode):
8046         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8047         Use define-minor-mode.
8048         (vhdl-mode): Use static mode-line format.
8049         (vhdl-mode-line-update): Delete.
8050         (vhdl-create-mode-menu, vhdl-activate-customizations)
8051         (vhdl-hs-minor-mode): Don't bother calling it.
8053 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8055         * simple.el (with-wrapper-hook): Move.
8056         (buffer-substring-filters): Mark obsolete.
8057         (filter-buffer-substring-functions): New variable.
8058         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
8060 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
8061             Michael Albinus  <michael.albinus@gmx.de>
8063         Implement compression for inline methods.
8065         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
8066         (tramp-copy-size-limit): Allow also nil.
8067         (tramp-inline-compress-commands): New defconst.
8068         (tramp-find-inline-compress, tramp-get-inline-compress)
8069         (tramp-get-inline-coding): New defuns.
8070         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
8071         replaced by `tramp-get-inline-coding'.
8072         (tramp-handle-file-local-copy, tramp-handle-write-region)
8073         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
8075 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8077         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
8078         Remove unused functions.
8080         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
8081         Set find-tag-default-function as a variable rather than a property.
8083         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
8084         * progmodes/etags.el (tags-completion-at-point-function):
8085         Remove left over interactive spec.  Add autoloading stub.
8086         (complete-tag): Use tags-completion-at-point-function.
8088 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
8090         * minibuffer.el (tags-completion-at-point-function): Fix return value.
8092 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
8094         * ido.el (ido-init-completion-maps): Remove C-v binding.
8095         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
8097 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
8099         * minibuffer.el (tags-completion-at-point-function): New function.
8100         (completion-at-point-functions): Use it.
8102         * progmodes/etags.el (complete-tag): Revert last change.
8104 2010-04-29  Alan Mackenzie  <acm@muc.de>
8106         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
8107         off-by-one error (in end of macro position).
8109 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
8111         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
8112         firefox is absent.  Don't autoload.
8113         (browse-url-galeon-program): Don't autoload.
8115 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
8117         * bindings.el (complete-symbol): Move into minibuffer.el.
8119         * minibuffer.el (complete-tag): Move from etags.el.  If tags
8120         completion cannot be performed, return nil instead of signalling
8121         an error.
8122         (completion-at-point): Make it an alias for complete-symbol.
8123         (complete-symbol): Move from bindings.el, and replace with the
8124         body of completion-at-point.
8126         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
8128 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
8130         * net/tramp.el (tramp-remote-selinux-p): New defun.
8131         (tramp-handle-file-selinux-context)
8132         (tramp-handle-set-file-selinux-context): Use it.
8134 2010-04-28  Sam Steingold  <sds@gnu.org>
8136         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8137         `safe-local-variable' if the value is a string or a symbol with
8138         the property `bug-reference-url-format'.
8140 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
8142         * progmodes/bug-reference.el (bug-reference-url-format):
8143         Revert 2010-04-27 change due to security risk.
8145 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
8147         Make it possible to locally disable a globally enabled mode.
8148         * simple.el (fundamental-mode): Run fundamental-mode-hook.
8149         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
8150         rather than kill-all-local-variables so it runs fundamental-mode-hook.
8151         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8152         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
8153         that subsequent hooks get a chance to disable it.
8155 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8157         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
8158         Avoid re-enabling a minor mode after the user turned the minor mode
8159         off if MODE-enable-in-buffers is run twice (typically once from
8160         fundamental-mode's after-change-major-mode-hook and a second time from
8161         run-mode-hook's own after-change-major-mode-hook).
8163         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
8165 2010-04-27  Sam Steingold  <sds@gnu.org>
8167         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
8168         `safe-local-variable' if the value is a string or a function, as
8169         documented and implemented on 2010-04-02.
8171 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
8173         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
8174         when method is 'kill.
8176 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
8178         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
8179         condition in default directory check.
8180         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
8181         Kill ispell process when killing its associated buffer.
8183 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
8185         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
8186         but we aren't using it.
8188 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
8190         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
8191         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
8193 2010-04-24  Glenn Morris  <rgm@gnu.org>
8195         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
8196         Ignore VCS-ignore files, and deleted nextstep preferences files.
8197         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
8198         (authors-ambiguous-files): New list.
8199         (authors-valid-file-names): Add some deleted files.
8200         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
8201         (authors-disambiguate-file-name): New function.  (Bug#5501)
8202         (authors-canonical-file-name): Doc fix.
8203         Don't warn about obsolete files.
8204         (authors-canonical-file-name, authors-scan-el):
8205         Use authors-disambiguate-file-name.
8207         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8208         Add autoload cookies.
8209         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
8210         (generated-autoload-file): Set file-local value to "htmlfontify.el".
8211         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
8212         They have definitions / compiler macros in cl.el.
8213         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
8214         Replace manual autoloads with generated ones.
8215         (htmlfontify-unload-rgb-file): Remove autoload.
8216         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
8218 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8220         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
8221         (byte-compile-setq-default): Optimize for the
8222         single-var case and don't call byte-compile-form in this case to avoid
8223         inf-loop with byte-compile-set-default.
8225         * progmodes/compile.el (compilation-start): Abbreviate default directory.
8227 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
8229         Implement SELINUX backends.
8231         * net/tramp.el (tramp-file-name-handler-alist):
8232         Add `file-selinux-context' and `set-file-selinux-context'.
8233         (tramp-handle-file-selinux-context)
8234         (tramp-handle-set-file-selinux-context): New defuns.
8235         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
8236         Handle PRESERVE-SELINUX-CONTEXT.
8238         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8239         Add `file-selinux-context' and `set-file-selinux-context'.
8240         (tramp-gvfs-handle-file-selinux-context)
8241         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
8242         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
8244         * net/ange-ftp.el (ange-ftp-copy-file):
8245         * net/tramp-fish.el (tramp-fish-handle-copy-file):
8246         * net/tramp-imap.el (tramp-imap-handle-copy-file):
8247         * net/tramp-smb.el (tramp-smb-handle-copy-file):
8248         Add PRESERVE-SELINUX-CONTEXT.
8250 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
8252         Synchronize with Tramp repository.
8254         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
8255         (tramp-action-process-alive, tramp-action-out-of-band)
8256         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
8257         (tramp-exists-file-name-handler): Fix docstring.
8258         (with-progress-reporter): New defmacro.
8259         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
8260         (tramp-maybe-open-connection): Use it.
8262 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
8264         Detect ssh 'ControlMaster' argument automatically in some cases.
8266         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
8267         (tramp-default-method): Use it.
8269 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
8271         * net/tramp.el (tramp-handle-copy-file): Add new optional
8272         parameter `preserve-selinux-context'.
8273         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
8275 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
8277         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
8278         Ensure, that non remote files are still checked.  Oops.
8280 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
8282         Fix Bug#5840.
8284         * icomplete.el (icomplete-completions): Use `non-essential'.
8286         * net/tramp.el (tramp-connectable-p): New defun.
8287         (tramp-handle-expand-file-name)
8288         (tramp-completion-handle-file-name-all-completions)
8289         (tramp-completion-handle-file-name-completion): Use it.
8291 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8293         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
8295 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
8297         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
8299         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
8301         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
8302         is present.
8304         * info.el (info-tool-bar-map): Add labels.
8306         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
8308         * cus-edit.el (custom-commands): Add labels for tool bar.
8309         (custom-buffer-create-internal, Custom-mode): Adjust for
8310         labels in custom-commands.
8312         * dynamic-setting.el: Renamed from font-setting.el.
8314 2010-04-21  John Wiegley  <jwiegley@gmail.com>
8316         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
8317         toggles the use of virtual buffers.
8318         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
8319         (ido-toggle-virtual-buffers): New function.
8321 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
8323         Use `define-derived-mode'; fix window selection; doc fixes.
8324         * play/tetris.el (tetris, tetris-update-speed-function)
8325         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
8326         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
8327         (tetris-rotate-next, tetris-end-game, tetris-start-game)
8328         (tetris-pause-game): Fix typos in docstrings.
8329         (tetris-mode-map, tetris-null-map):
8330         Move initialization into declaration.
8331         (tetris-mode): Define with `define-derived-mode';
8332         set show-trailing-whitespace to nil.
8333         (tetris): Prefer window already displaying the "*Tetris*" buffer.
8335 2010-04-21  Karel Klíč  <kklic@redhat.com>
8337         * files.el (backup-buffer): Handle SELinux context, and return it
8338         if a backup was made by renaming.
8339         (backup-buffer-copy): Set SELinux context to the target file.
8340         (basic-save-buffer): Set SELinux context of the newly written file.
8341         (basic-save-buffer-1): Now it also returns any SELinux context.
8342         (basic-save-buffer-2): Set SELinux context of the newly created file,
8343         and return it.
8344         * net/tramp.el (tramp-file-name-for-operation):
8345         Add file-selinux-context.
8347 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8349         Make the log-edit comments use RFC822 format throughout.
8351         * vc.el (vc-checkin, vc-modify-change-comment):
8352         Adjust to new vc-start/finish-logentry.
8353         (vc-find-conflicted-file): New command.
8354         (vc-transfer-file): Adjust to new vc-checkin.
8355         (vc-next-action): Improve scoping.
8357         * vc-hg.el (vc-hg-log-edit-mode): Remove.
8358         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
8360         * vc-git.el (vc-git-log-edit-mode): Remove.
8361         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
8362         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
8364         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
8365         (vc-start-logentry): Remove argument `extra'.
8366         (vc-finish-logentry): Remove extra args.
8368         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
8369         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
8370         (vc-bzr-conflicted-files): New function.
8372         * log-edit.el (log-edit-extra-flags)
8373         (log-edit-before-checkin-process): Remove.
8374         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
8375         (log-edit-headers-alist): New var.
8376         (log-edit-header-contents-regexp): New const.
8377         (log-edit-match-to-eoh): New function.
8378         (log-edit-font-lock-keywords): Use them.
8379         (log-edit): Insert a "Summary:" header as default.
8380         (log-edit-mode): Mark font-lock rules as case-insensitive.
8381         (log-edit-done): Cleanup headers.
8382         (log-view-process-buffer): Remove.
8383         (log-edit-extract-headers): New function to replace it.
8385 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
8387         * subr.el (default-direction-reversed): Remove obsolescence info.
8389 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8391         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
8392         windows/frames.
8394         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
8395         I.e. include text after point in the completion region.
8396         Also, return nil when we're not after/in a symbol.
8398         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
8399         default enable-multibyte-characters.
8401 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8403         * international/mule.el: Help the user choose a valid coding-system.
8404         (read-buffer-file-coding-system): New function.
8405         (set-buffer-file-coding-system): Use it.  Prompt the user if the
8406         coding-system cannot encode all the chars.
8408         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
8409         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
8410         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
8411         Don't use *vc-bzr-shelve*.
8413 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
8415         Fix the version number for added files.
8416         * vc-hg.el (vc-hg-working-revision): Check if the file is
8417         registered after hg parent fails (Bug#5961).
8419 2010-04-19  Glenn Morris  <rgm@gnu.org>
8421         * htmlfontify.el (htmlfontify-buffer)
8422         (htmlfontify-copy-and-link-dir): Autoload entry points.
8424 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
8426         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
8427         name relative to the project root (Bug#5960).
8429 2010-04-19  Glenn Morris  <rgm@gnu.org>
8431         * vc-git.el (vc-git-print-log): Doc fix.
8433 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
8435         * ido.el (ido-file-internal): Fix 2009-12-02 change.
8437 2010-04-19  Christoph  <cschol2112@googlemail.com>  (tiny change)
8439         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
8440         default settings (Bug#5928).
8442 2010-04-19  Glenn Morris  <rgm@gnu.org>
8444         * progmodes/fortran.el (fortran-match-and-skip-declaration):
8445         New function.
8446         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
8448 2010-04-19  Kenichi Handa  <handa@m17n.org>
8450         * language/indian.el (malayalam-composable-pattern): Fix previous
8451         change (add U+0D4D "SIGN VIRAMA").
8452         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
8453         (tamil-composable-pattern): Fix typo in the regexp.
8454         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
8455         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
8456         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
8458 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
8460         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
8461         paragraph-separate (Bug#5821).
8463 2010-04-19  Juri Linkov  <juri@jurta.org>
8465         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
8467         * info.el (Info-find-node-2): Comment out code that skips
8468         breadcrumbs line.
8469         (Info-mouse-follow-link): New command.
8470         (Info-link-keymap): New keymap.
8471         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
8472         Return a string with links instead of inserting breadcrumbs
8473         to the Info buffer.
8474         (Info-fontify-node): Comment out code that inserts breadcrumbs.
8475         Instead of putting the `invisible' text property over the Info
8476         header, make an overlay over the Info header with the `invisible'
8477         property and `after-string' set to the string returned by
8478         `Info-breadcrumbs'.
8480 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
8482         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
8483         Reported by monkey@sandpframing.com.
8485 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8487         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
8488         (tmm-get-keymap): Add key-binding shortcuts now that they're not
8489         available in the "keyseq cache" any more.
8491         * custom.el (defcustom): Add edebug spec.
8493 2010-04-18  Juri Linkov  <juri@jurta.org>
8495         Test for special mode-class in view-buffer instead of view-file (bug#5513).
8497         * view.el (view-file, view-buffer): Move test for special mode-class
8498         from view-file to view-buffer.
8500         * tar-mode.el (tar-extract): Turn if's into one cond
8501         like in arc-mode.el.
8503 2010-04-18  Juri Linkov  <juri@jurta.org>
8505         Add 7z archive format support (bug#5475).
8507         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
8508         (archive-7z-extract): New defcustom.
8509         (archive-find-type): Add magic string for 7z.
8510         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
8511         If `stderr-file' is non-nil, use `(t stderr-file)' for the
8512         `buffer' arg of `call-process'.
8513         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
8514         call the function `archive-7z-extract' with the variable
8515         `archive-7z-extract' let-bound to `archive-zip-extract'.
8516         (archive-7z-summarize, archive-7z-extract): New functions.
8518         * international/mule.el (auto-coding-alist):
8519         * files.el (auto-mode-alist): Add 7z file extension.
8521 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8523         * loadup.el: Setup hash-cons for pure data.
8525         Fix duplicate entries in cedet's loaddefs.el files.
8526         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
8527         Should make most file-local generated-autoload-file unnecessary.
8528         (print-readably): Silence warnings.
8529         (autoload-find-destination): Take load-name as an arg to make sure
8530         it's the same as the one that will be in the file.
8531         (autoload-generate-file-autoloads): Adjust to above changes.
8532         Try to make the dataflow a bit simpler.
8534         * cvs-status.el (cvs-refontify): Remove unused.
8536 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
8538         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
8540         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
8541         twos-complement mode.
8543 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
8545         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
8546         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
8547         (calc-inverse): Add "Option" to message, as appropriate.
8548         (calc-hyperbolic): Add "Option" to message, as appropriate.
8549         (calc-option, calc-is-option): New functions.
8551         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
8552         (calc-option-prefix-help): New function.
8554         * calc/calc-misc.el (calc-help): Add "Option" entry.
8556         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
8557         (calc-option-flag): New variable.
8558         (calc-do): Set `calc-option-flag to nil.
8559         (calc-set-mode-line): Add "Opt " as appropriate.
8561 2010-04-16  Juri Linkov  <juri@jurta.org>
8563         Move scrolling commands from simple.el to window.el
8564         because their primitives are implemented in window.c.
8566         * simple.el (scroll-error-top-bottom)
8567         (scroll-up-command, scroll-down-command, scroll-up-line)
8568         (scroll-down-line, scroll-other-window-down)
8569         (beginning-of-buffer-other-window, end-of-buffer-other-window):
8570         * window.el (scroll-error-top-bottom)
8571         (scroll-up-command, scroll-down-command, scroll-up-line)
8572         (scroll-down-line, scroll-other-window-down)
8573         (beginning-of-buffer-other-window, end-of-buffer-other-window):
8574         Move from simple.el to window.el because their primitives are
8575         implemented in window.c.
8577 2010-04-16  Juri Linkov  <juri@jurta.org>
8579         * isearch.el (isearch-lookup-scroll-key): Check both
8580         `isearch-scroll' and `scroll-command' properties.
8581         (scroll-up, scroll-down): Remove `isearch-scroll' property.
8583         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
8585         * simple.el (scroll-up-command, scroll-down-command)
8586         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
8588 2010-04-15  Juri Linkov  <juri@jurta.org>
8590         * simple.el (scroll-up-command, scroll-down-command)
8591         (scroll-up-line, scroll-down-line): Put `scroll-command'
8592         property on the these symbols.  Remove them from
8593         `scroll-preserve-screen-position-commands'.
8595         * mwheel.el (mwheel-scroll): Put `scroll-command' and
8596         `isearch-scroll' properties on the `mwheel-scroll' symbol.
8597         Remove it from `scroll-preserve-screen-position-commands'.
8599         * isearch.el (isearch-allow-scroll): Doc fix.
8601 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
8603         * net/tramp.el (tramp-error-with-buffer): Don't show the
8604         connection buffer when we are in completion mode.
8605         (tramp-file-name-handler): Catch the error for some operations
8606         when we are in completion mode.  This gives the user the chance to
8607         correct the file name in the minibuffer.
8609 2010-04-15  Glenn Morris  <rgm@gnu.org>
8611         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
8613 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
8615         Simplify by using `define-derived-mode'.
8616         * info.el (Info-mode):
8617         * calendar/todo-mode.el (todo-mode):
8618         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
8619         (gomoku-mode-map): Move initialization into declaration.
8621 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
8623         Fix Bug#5840.
8624         * ido.el (ido-file-name-all-completions-1):
8625         * minibuffer.el (minibuffer-completion-help):
8626         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
8628 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8630         * simple.el (non-essential): New var.
8632         Add a new field `location' to bookmarks for non-file bookmarks.
8633         * bookmark.el (bookmark-location): Use the new field, if present.
8634         (bookmark-insert-location): Undo last change, not needed any more.
8635         * man.el (Man-bookmark-make-record):
8636         * woman.el (woman-bookmark-make-record): Add `location' field.
8638 2010-04-14  Juri Linkov  <juri@jurta.org>
8640         * simple.el (scroll-error-top-bottom): New defcustom.
8641         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
8643         * emulation/pc-select.el (pc-select-override-scroll-error):
8644         Obsolete in favor of `scroll-error-top-bottom'.
8646 2010-04-14  Juri Linkov  <juri@jurta.org>
8648         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
8649         `scroll-up-command' and `M-v' to `scroll-down-command'.
8651         * emulation/cua-rect.el (cua--init-rectangles):
8652         * forms.el (forms--change-commands):
8653         * image-mode.el (image-mode-map):
8654         Remap scroll-down-command and scroll-up-command
8655         in addition to scroll-down and scroll-up.
8657 2010-04-14  Juri Linkov  <juri@jurta.org>
8659         * mwheel.el (scroll-preserve-screen-position-commands):
8660         Add mwheel-scroll to this list of commands.
8662         * simple.el (scroll-preserve-screen-position-commands):
8663         Add scroll-up-command, scroll-down-command, scroll-up-line,
8664         scroll-down-line to this list of commands.
8666 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8668         * obsolete/complete.el: Move from lisp/complete.el.
8670         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
8672         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
8673         to the minor mode function now turns the mode ON unconditionally.
8675 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
8677         * vc-dir.el (vc-dir-kill-line): New command.
8678         (vc-dir-mode-map): Bind it to C-k.
8680         * bookmark.el (bookmark-insert-location): Handle a nil filename.
8682         * woman.el: Add bookmark declarations to silence the compiler.
8683         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
8684         step to compatibility between man and woman bookmarks.
8685         Adjust for Man-default-bookmark-title renaming.
8686         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
8688         * man.el: Add bookmark declarations to silence the compiler.
8689         (Man-name-local-regexp): Make it match NAME as well.
8690         (Man-getpage-in-background): Return the buffer.
8691         (Man-notify-when-ready): Use `case'.
8692         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
8693         Don't hardcode "NAME".  Simplify.
8694         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
8695         Rename from Man-bookmark-make-record.
8696         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
8697         we have the actual man-args.  Use Man-getpage-in-background rather
8698         than `man' since the arg is already processed.  Let bookmark.el do the
8699         window handling.  Only wait for the relevant process.
8700         Don't forget to autoload.
8702         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
8704 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8706         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
8707         New functions.
8708         (woman-mode): Setup bookmark support.
8710         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
8711         (man-bookmark-jump): New functions.
8712         (Man-mode): Setup bookmark support.
8714 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
8716         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
8717         recognize ssh-keygen prompt (Bug#2817).
8719 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
8721         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
8723 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
8725         Synchronize with Tramp repository.
8727         * net/tramp.el (tramp-completion-function-alist)
8728         (tramp-file-name-regexp, tramp-chunksize)
8729         (tramp-local-coding-commands, tramp-remote-coding-commands):
8730         Fix docstring.
8731         (tramp-remote-process-environment): Use `format' instead of `concat'.
8732         (tramp-handle-directory-files-and-attributes)
8733         (tramp-get-remote-path): Use `copy-tree'.
8734         (tramp-handle-file-name-all-completions): Backward/ XEmacs
8735         compatibility: Use `completion-ignore-case' if
8736         `read-file-name-completion-ignore-case' does not exist.
8737         (tramp-do-copy-or-rename-file-directly): Do not use
8738         `tramp-handle-file-remote-p'.
8739         (tramp-do-copy-or-rename-file-out-of-band):
8740         Use `tramp-compat-delete-directory'.
8741         (tramp-do-copy-or-rename-file-out-of-band)
8742         (tramp-compute-multi-hops, tramp-maybe-open-connection):
8743         Use `format-spec-make'.
8744         (tramp-find-foreign-file-name-handler)
8745         (tramp-advice-make-auto-save-file-name)
8746         (tramp-set-auto-save-file-modes): Remove superfluous check for
8747         `stringp'.  This is done inside `tramp-tramp-file-p'.
8748         (tramp-debug-outline-regexp): New defconst.
8749         (tramp-get-debug-buffer): Use it.
8750         (tramp-check-for-regexp): Use (forward-line 1).
8751         (tramp-set-auto-save-file-modes): Adapt version check.
8753         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
8754         Wrap call of `featurep' for 2nd argument.
8755         (tramp-compat-make-temp-file): Simplify fallback implementation.
8756         (tramp-compat-copy-tree): Remove function.
8757         (tramp-compat-delete-directory): Provide implementation for older
8758         Emacsen.
8760         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
8761         Do not use `tramp-fish-handle-file-attributes.
8763         * net/trampver.el: Update release number.
8765 2010-04-10  Glenn Morris  <rgm@gnu.org>
8767         * progmodes/compile.el (compilation-save-buffers-predicate):
8768         Add missing :version tag.
8770 2010-04-09  Sam Steingold  <sds@gnu.org>
8772         * progmodes/compile.el (compilation-save-buffers-predicate):
8773         Remove the "autoload" cookie.
8775         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
8776         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
8777         and `bug-reference-prog-mode' can be used in hooks directly.
8779 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
8781         Add --author support to git commit.
8782         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
8783         (vc-git-log-edit-mode): New minor mode.
8784         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
8785         New declarations.
8787 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
8789         * vc-hooks.el, vc-git.el: Improve documentation comments.
8791 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8793         Fix some of the problems in defsubst* (bug#5728).
8794         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
8795         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
8797 2010-04-07  Sam Steingold  <sds@gnu.org>
8799         * progmodes/compile.el (compilation-save-buffers-predicate):
8800         New custom variable.
8801         (compile, recompile): Pass it to `save-some-buffers'.
8803 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
8805         * wid-edit.el (widget-choose): Move cursor to the second line of
8806         the buffer (Bug#5695).
8808 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
8810         Add new VC methods: vc-log-incoming and vc-log-outgoing.
8811         * vc.el (vc-print-log-setup-buttons): New function split out from
8812         vc-print-log-internal.
8813         (vc-log-internal-common): New function, a parametrized version of
8814         vc-print-log-internal.
8815         (vc-print-log-internal): Just call vc-log-internal-common with the
8816         right arguments.
8817         (vc-incoming-outgoing-internal):
8818         (vc-log-incoming, vc-log-outgoing): New functions.
8819         (vc-log-view-type): New permanent local variable.
8821         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
8823         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
8824         of the dynamic bound vc-short-log.
8825         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
8827         * vc-git.el (vc-git-log-outgoing): New function.
8828         (vc-git-log-view-mode): Use vc-log-view-type instead
8829         of the dynamic bound vc-short-log.
8831         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
8832         of the dynamic bound vc-short-log.  Highlight the tag.
8833         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
8834         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
8835         (vc-hg-incoming-mode): Remove.
8836         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
8838 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
8840         Fix default-directory for vc-root-diff.
8841         * vc.el (vc-root-diff): Bind default-directory to the root
8842         directory for the diff command.
8844 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
8846         * progmodes/verilog-mode.el (verilog-forward-sexp):
8847         (verilog-calc-1): Support "disable fork" and "fork wait" multi
8848         word keywords, suggested by Steve Pearlmutter.
8849         (verilog-pretty-declarations): Support lineup of declarations in
8850         port lists.
8851         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
8852         fix bug for /* / comments.
8853         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
8854         Speed up and simplfy as this is never called with a bound.
8855         (verilog-pretty-declarations): Enhance to line up declarations
8856         inside a parameter list, suggested by Alan Morgan.
8857         (verilog-pretty-expr): Tune assignment regular expression match
8858         string for corner cases; also use markers instead of character
8859         number as indent changes the later.
8861 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
8863         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
8864         as missing keyword.
8865         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
8866         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
8867         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
8868         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
8869         Tennant.
8870         (verilog-keywords):
8871         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
8872         1800-2009 keywords, including "global.".
8874 2010-04-06  John Wiegley  <jwiegley@gmail.com>
8876         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
8877         appearing in buffer list (if a live buffer name matched a recentf
8878         file basename).  Should use uniquify to offer a real solution.
8880 2010-04-06  John Wiegley  <jwiegley@gmail.com>
8882         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
8883         comment to code, and add a :version tag.
8884         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
8886 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
8888         Enable recentf-mode if using virtual buffers.
8889         * ido.el (recentf-list): Declare for byte-compiler.
8890         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
8891         (ido-make-buffer-list): Simplify.
8892         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
8894 2010-04-05  Juri Linkov  <juri@jurta.org>
8896         Scrolling commands which scroll a line instead of full screen.
8897         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
8899         * simple.el (scroll-up-line, scroll-down-line): New commands.
8900         Put property isearch-scroll=t on them.
8902         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
8903         Remove commands.
8905 2010-04-05  Juri Linkov  <juri@jurta.org>
8907         Scrolling commands which do not signal errors at top/bottom.
8908         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
8910         * simple.el (scroll-up-command, scroll-down-command): New commands.
8911         Put property isearch-scroll=t on them.
8913         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
8914         `scroll-down-command' and [next] from `scroll-up' to
8915         `scroll-up-command'.
8917         * emulation/cua-base.el: Put property CUA=move on
8918         `scroll-up-command' and `scroll-down-command'.
8919         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
8920         and `scroll-down-command' to `cua-scroll-down'.
8922 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
8924         * help.el (describe-mode): Return nil.
8926 2010-04-04  John Wiegley  <jwiegley@gmail.com>
8928         * ido.el (ido-use-virtual-buffers): New variable to indicate
8929         whether "virtual buffer" support is enabled for IDO.
8930         (ido-virtual): Face used to indicate virtual buffers in the list.
8931         (ido-buffer-internal): If a buffer is chosen, and no such buffer
8932         exists, but a virtual buffer of that name does (which would be why
8933         it was in the list), recreate the buffer by reopening the file.
8934         (ido-make-buffer-list): If virtual buffers are being used, call
8935         `ido-add-virtual-buffers-to-list' before the make list hook.
8936         (ido-virtual-buffers): New variable which contains a copy of the
8937         current contents of the `recentf-list', albeit pared down for the
8938         sake of speed, and with proper faces applied.
8939         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
8940         create a list of "virtual buffers" to present to the user in
8941         addition to the currently open set.  Note that this logic could
8942         get rather slow if that list is too large.  With the default
8943         `recentf-max-saved-items' of 200, there is little speed penalty.
8945 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8947         * font-lock.el: Require CL when compiling.
8948         (font-lock-turn-on-thing-lock): Use `case'.
8950 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
8952         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
8953         Zaretskii.
8955 2010-04-02  Juri Linkov  <juri@jurta.org>
8957         * ehelp.el (electric-help-orig-major-mode):
8958         New buffer-local variable.
8959         (electric-help-mode): Set it to original major-mode.  Doc fix.
8960         (with-electric-help): Use `electric-help-orig-major-mode' instead
8961         of (default-value 'major-mode).  Doc fix.
8962         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
8964 2010-04-02  Sam Steingold  <sds@gnu.org>
8966         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
8967         `vc-hg-command' with a list of flags.
8969         * progmodes/bug-reference.el (bug-reference-bug-regexp):
8970         Also accept "patch" and "RFE".
8971         (bug-reference-fontify): `bug-reference-url-format' can also be a
8972         function to be able to handle the bug kind.
8973         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
8975 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
8977         * tmm.el (tmm-get-keymap): Check with symbolp before passing
8978         value to fboundp, it may not be a symbol.
8980 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
8982         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
8984 2010-03-31  Juri Linkov  <juri@jurta.org>
8986         * simple.el (next-line, previous-line): Re-throw a signal
8987         with `signal' instead of using `ding'.
8988         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
8990 2010-03-31  Juri Linkov  <juri@jurta.org>
8992         * simple.el (keyboard-escape-quit): Raise deselecting the active
8993         region higher than exiting the minibuffer.
8994         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
8996 2010-03-31  Juri Linkov  <juri@jurta.org>
8998         * image.el (image-animated-p): Use `image-metadata' instead of
8999         `image-extension-data'.  Get GIF extenstion data from metadata
9000         property `extension-data'.
9002 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9004         * simple.el (append-to-buffer): Simplify.
9006 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
9008         * textmodes/artist.el (artist-mode): Fix typo in docstring.
9009         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
9011 2010-03-31  Kenichi Handa  <handa@m17n.org>
9013         * language/sinhala.el (composition-function-table): Fix regexp for
9014         the new Unicode specification.
9016         * language/indian.el (devanagari-composable-pattern)
9017         (tamil-composable-pattern, kannada-composable-pattern)
9018         (malayalam-composable-pattern): Adjust for the new Unicode
9019         specification.
9020         (bengali-composable-pattern, gurmukhi-composable-pattern)
9021         (gujarati-composable-pattern, oriya-composable-pattern)
9022         (telugu-composable-pattern): New variables to cope with the new
9023         Unicode specification.  Use them in composition-function-table.
9025 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9027         Make tmm-menubar work for the Buffers menu again (bug#5726).
9028         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
9029         vectors rather than cons cells, as used in menu-bar-update-buffers.
9031 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
9033         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
9034         (js-insert-and-indent): Revert 2009-08-15 change, restoring
9035         electric punctuation for "{}();,:" (Bug#5586).
9037         * mail/sendmail.el (mail-default-directory): Doc fix.
9039 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
9041         * mail/sendmail.el (mail-default-directory): Doc fix.
9043 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
9045         * subr.el (version-regexp-alist, version-to-list)
9046         (version-list-<, version-list-=, version-list-<=)
9047         (version-list-not-zero, version<, version<=, version=): Doc fix.
9048         (Bug#5744).
9050 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
9052         * vc.el (vc-root-diff): Doc fix.
9054 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
9056         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
9058         * simple.el (append-to-buffer): Fix last change.
9060 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
9062         * simple.el (append-to-buffer): Ensure that point is preserved if
9063         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
9064         (Bug#5749)
9066 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9068         * files.el (auto-mode-case-fold): Change default to t.
9070 2010-03-30  Juri Linkov  <juri@jurta.org>
9072         * dired-x.el (dired-omit-mode): Doc fix.
9074 2010-03-30  Juri Linkov  <juri@jurta.org>
9076         * replace.el (occur-accumulate-lines): Move occur-engine related
9077         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
9078         to be located after `occur-engine'.
9080 2010-03-30  Juri Linkov  <juri@jurta.org>
9082         Make occur handle multi-line matches cleanly with context.
9083         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
9085         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
9086         (occur-engine): Add local variables `ret', `prev-after-lines',
9087         `prev-lines'.  Use more arguments for `occur-context-lines'.
9088         Set first elem of its returned list to `data', and the second elem
9089         to `prev-after-lines'.  Don't print the separator line.
9090         In the end, print remaining context after-lines.
9091         (occur-context-lines): Add new arguments `begpt', `endpt',
9092         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
9093         after-lines of the previous match with before-lines of the
9094         current match and not overlap them.  Return a list with two
9095         values: the output line and the list of context after-lines.
9097 2010-03-30  Juri Linkov  <juri@jurta.org>
9099         * replace.el (occur-accumulate-lines): Fix a bug where the first
9100         context line at the beginning of the buffer was missing.
9102 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
9104         * files.el: Make bidi-display-reordering safe variable for boolean
9105         values.
9107 2010-03-29  Phil Hagelberg  <phil@evri.com>
9108             Chong Yidong  <cyd@stupidchicken.com>
9110         * subr.el: Extend progress reporters to perform "spinning".
9111         (progress-reporter-update, progress-reporter-do-update):
9112         Handle non-numeric value arguments.
9113         (progress-reporter--pulse-characters): New var.
9115 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
9117         * progmodes/compile.el (compilation-start): Fix regexp detection
9118         of initial cd command (Bug#5771).
9120 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
9122         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
9124 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
9126         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
9127         * progmodes/gdb-mi.el: Restore.
9128         * progmodes/gdb-ui.el: Remove.
9129         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
9131 2010-03-25  Glenn Morris  <rgm@gnu.org>
9133         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
9134         all dired buffers, even tramp ones.  (Bug#5755)
9136 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9138         Add "union tags" in mpc.el.
9139         * mpc.el: Remove backward compatibility code.
9140         (mpc-browser-tags): Change default.
9141         (mpc--find-memoize-union-tags): New var.
9142         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
9143         (mpc-cmd-find): Handle the case where the playlist does not exist.
9144         Handle union-tags.
9145         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
9146         (mpc-cmd-add): Use mpc-cmd-flush.
9147         (mpc-tagbrowser-tag-name): New fun.
9148         (mpc-tagbrowser-buf): Use it.
9149         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
9151 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9153         Misc cleanup.
9154         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
9155         Use replace-regexp-in-string.
9156         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
9157         (makefile-imake-mode-syntax-table): Move init into defvar.
9158         (makefile-mode): Use define-derived-mode.
9160         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
9161         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
9162         not be present any more.
9164 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
9166         * faces.el (set-face-attribute): Fix typo in docstring.
9167         (face-valid-attribute-values): Reflow docstring.
9169 2010-03-24  Glenn Morris  <rgm@gnu.org>
9171         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
9173 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
9175         * indent.el (indent-for-tab-command): Doc fix.
9177 2010-03-24  Alan Mackenzie  <acm@muc.de>
9179         * progmodes/cc-engine.el (c-remove-stale-state-cache):
9180         Fix off-by-one error.  Fixes bug #5747.
9182 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
9184         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
9185         (image-dired-read-comment): Doc fix.
9187         * json.el (json-object-type, json-array-type, json-key-type)
9188         (json-false, json-null, json-read-number):
9189         * minibuffer.el (completion-in-region-functions):
9190         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
9191         (cal-tex-cursor-week):
9192         * emacs-lisp/trace.el (trace-function):
9193         * eshell/em-basic.el (eshell/printnl):
9194         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
9195         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
9196         * obsolete/levents.el (allocate-event, event-key, event-object)
9197         (event-point, event-process, event-timestamp, event-to-character)
9198         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
9199         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
9200         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
9201         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
9202         (reftex-highlight-selection): Fix typos in docstrings.
9204 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
9206         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
9208 2010-03-24  Glenn Morris  <rgm@gnu.org>
9210         * mail/rmail.el (rmail-highlight-face): Restore option deleted
9211         2008-02-13 without comment; mark it obsolete.
9212         (rmail-highlight-headers): Use rmail-highlight-face once more.
9214 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
9216         * woman.el (woman2-process-escapes): Only consume the newline if
9217         the filler character is on a line by itself (Bug#5729).
9219 2010-03-24  Kenichi Handa  <handa@m17n.org>
9221         * language/indian.el (devanagari-composable-pattern): Add more
9222         consonants.
9224 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
9226         * net/trampver.el: Update release number.
9228 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
9230         * net/tramp.el (tramp-find-executable):
9231         Use `tramp-get-connection-buffer'.  Make the regexp for checking
9232         output of "wc -l" more robust.
9233         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
9234         (tramp-open-connection-setup-interactive-shell): Remove workaround
9235         for OpenSolaris bug, it is not needed anymore.
9237 2010-03-24  Glenn Morris  <rgm@gnu.org>
9239         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
9241 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
9243         * files.el (auto-mode-alist): Accept more verilog file patterns.
9245 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9247         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
9249 2010-03-24  Glenn Morris  <rgm@gnu.org>
9251         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
9252         log-edit-before-checkin-process.
9254         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
9256         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
9258         * vc-dispatcher.el (vc-start-logentry): Doc fix.
9259         (log-view-process-buffer, log-edit-extra-flags): Declare.
9261         * log-edit.el (log-edit-before-checkin-process): Doc fix.
9263 2010-03-23  Sam Steingold  <sds@gnu.org>
9265         Fix bug#5620: recalculate all markers on compilation buffer
9266         modifications, not on file modifications.
9267         * progmodes/compile.el (buffer-modtime): New buffer-local variable:
9268         the buffer modification time, for buffers not associated with files.
9269         (compilation-mode): Create it.
9270         (compilation-filter): Update it.
9271         (compilation-next-error-function): Use it instead of
9272         `visited-file-modtime' for timestamp.
9274 2010-03-23  Juri Linkov  <juri@jurta.org>
9276         Implement Occur multi-line matches.
9277         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
9279         * replace.el (occur): Doc fix.
9280         (occur-engine): Set `begpt' to the beginning of the first line.
9281         Set `endpt' to the end of the last match line.  At first, count
9282         line numbers between `origpt' and `begpt'.  Split out code from
9283         `out-line' variable to new let-bindings `match-prefix' and
9284         `match-str'.  In `out-line' add non-numeric prefix to all
9285         non-first lines of multi-line matches.  Finally, count lines
9286         between `begpt' and `endpt' and add to `lines'.
9288 2010-03-23  Juri Linkov  <juri@jurta.org>
9290         * replace.el (occur-accumulate-lines, occur-engine):
9291         Use `occur-engine-line' instead of duplicate code.
9292         (occur-engine-line): New function created from duplicate code
9293         in `occur-accumulate-lines' and `occur-engine'.
9295         * replace.el (occur-engine-line): Add optional arg `keep-props'.
9296         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
9298 2010-03-23  Juri Linkov  <juri@jurta.org>
9300         * finder.el: Remove TODO tasks.
9302         * info.el (Info-finder-find-node): Add node "all"
9303         with all package info.  Handle a list of multiple keywords
9304         separated by comma.
9305         (info-finder): In interactive use with a prefix argument,
9306         use `completing-read-multiple' to read a list of keywords
9307         separated by comma.
9309 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
9311         Add a new completion style `substring'.
9312         * minibuffer.el (completion-basic--pattern): New function.
9313         (completion-basic-try-completion, completion-basic-all-completions):
9314         Use it.
9315         (completion-substring--all-completions)
9316         (completion-substring-try-completion)
9317         (completion-substring-all-completions): New functions.
9318         (completion-styles-alist): New style `substring'.
9320 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9322         Get rid of .elc files after removal of the corresponding .el.
9323         * Makefile.in (compile-clean): New target.
9324         (compile-main): Use it.
9326 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
9328         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
9329         don't do make there.  When compiling with separate object dir, there
9330         is no Makefile there.
9332 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
9334         Get rid of the ELCFILES abomination, again.
9335         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
9336         (all, compile): Don't call compile-last.
9337         (compile-main): Build the "elcfiles" list dynamically.
9338         (compile-targets): New (internal) target.
9340 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
9342         * Makefile.in (top_srcdir): Define.
9343         (abs_top_builddir): Define.
9344         (srcdir): Don't append `/..'.
9345         (EMACS): Use ${abs_top_builddir}.
9346         (all, compile, compile-always, compile-last): Don't set emacswd.
9347         (update-subdirs, update-authors): Use $(top_srcdir) instead of
9348         $(srcdir).
9349         (lisp): Use $(srcdir) instead of @srcdir@.
9351 2010-03-21  Juri Linkov  <juri@jurta.org>
9353         Fix message of multi-line occur regexps and multi-buffer header lines.
9354         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
9356         * replace.el (occur-1): Don't display regexp if it is longer
9357         than window-width.  Use `query-replace-descr' to display regexp.
9358         (occur-engine): Don't display regexp in the buffer header for
9359         multi-buffer occur.  Display a separate header line with total
9360         match count and regexp for multi-buffer occur.
9361         Use `query-replace-descr' to display regexp.
9363 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
9365         * net/secrets.el: Fix parenthesis.
9366         (secrets-enabled): Fix parenthesis.
9368 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9370         Use more relative file and directory names.
9371         * Makefile.in (EMACS): Arrange for it to work when we chdir.
9372         (setwins, setwins_almost, setwins_for_subdirs):
9373         Don't `cd'; output relative names.
9374         (all, compile, compile-always, compile-last): Set emacswd.
9375         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
9376         Just cd to the lisp source dir so we can use relative file names.
9378         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
9380 2010-03-20  Glenn Morris  <rgm@gnu.org>
9382         * textmodes/rst.el: Use faces for font-lock customization, and make the
9383         old -face variables obsolete.
9384         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
9385         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
9386         (rst-block-face, rst-external-face, rst-definition-face)
9387         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
9388         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
9389         Make obsolete.
9390         (rst-font-lock-keywords-function): Update for above changes.
9392 2010-03-20  Juri Linkov  <juri@jurta.org>
9394         * s-region.el:
9395         * obsolete/s-region.el: Move to obsolete.
9397 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
9399         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
9401 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
9403         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
9405 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
9407         Add special markup processing for commit logs.
9408         * log-edit.el (log-edit-extra-flags): New variable.
9409         (log-edit): Add new argument MODE.  Use that mode when non-nil
9410         instead of the log-view-mode.
9411         (log-view-process-buffer): New function.
9413         * vc.el: Document that the checkin method takes optional
9414         arguments.  Document new backend specific method: log-view-mode.
9415         (vc-default-log-edit-mode): New function.
9416         (vc-checkin): Use a backend specific log-view-mode.
9417         Pass extra arguments to the checkin method.
9418         (vc-modify-change-comment): Pass a dummy extra argument.
9420         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
9421         log-edit.
9422         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
9423         (vc-finish-logentry): Process the log buffer before passing it
9424         down.  Pass log-edit-extra-flags.
9426         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
9427         command.
9428         (log-edit-extra-flags, log-edit-before-checkin-process):
9429         New declarations.
9431         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
9432         command.
9433         (log-edit-extra-flags, log-edit-before-checkin-process):
9434         New declarations.
9435         (vc-hg-log-edit-mode): New derived mode.
9437         * vc-arch.el (vc-arch-checkin):
9438         * vc-cvs.el (vc-cvs-checkin):
9439         * vc-git.el (vc-git-checkin):
9440         * vc-mtn.el (vc-mtn-checkin):
9441         * vc-rcs.el (vc-rcs-checkin):
9442         * vc-sccs.el (vc-sccs-checkin):
9443         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
9445 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9447         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
9448         parent typo).
9450 2010-03-19  Glenn Morris  <rgm@gnu.org>
9452         * password-cache.el (password-cache, password-cache-expiry): Autoload.
9454 2010-03-18  Glenn Morris  <rgm@gnu.org>
9456         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
9458         * replace.el (query-replace-history): Give it a doc string.
9459         (map-query-replace-regexp): Use query-replace-from-history-variable
9460         and query-replace-to-history-variable.
9462         * mail/hashcash.el (declare-function): Remove duplicate definition.
9464         * mail/emacsbug.el (report-emacs-bug-pretest-address):
9465         Make it an obsolete alias for report-emacs-bug-address.
9466         (message-strip-special-text-properties): Declare.
9467         (report-emacs-bug): Remove test for a pretest bug address.
9468         Combine message-mode-specific code.
9470         * mail/supercite.el: Don't require sendmail.
9471         (mh-in-header-p): Declare rather than using with-no-warnings.
9472         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
9473         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
9475         * calendar/cal-french.el: Convert to utf-8.
9477         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
9478         Emacs scripts.
9480 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
9482         * net/secrets.el (secrets-enabled): New variable.  Use it instead
9483         of a subfeature.
9485 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
9487         * net/secrets.el (top): Register the D-Bus signals only when the
9488         service "org.freedesktop.secrets" can be pinged.
9489         Provide subfeature `enabled'.
9491 2010-03-14  Juri Linkov  <juri@jurta.org>
9493         Add finder unknown keywords.
9495         * finder.el (finder-unknown-keywords): New function.
9497         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
9498         to create a Finder node with unknown keywords.
9500 2010-03-14  Juri Linkov  <juri@jurta.org>
9502         * finder.el (finder-compile-keywords): Replace `princ' with
9503         `prin1' on a list of symbols interned from keyword strings.
9505         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
9506         a comma, then split keywords using a comma and optional whitespace.
9507         Otherwise, split by whitespace.
9509         * complete.el:
9510         * face-remap.el:
9511         * log-view.el:
9512         * net/hmac-def.el:
9513         * net/hmac-md5.el:
9514         * net/netrc.el:
9515         * progmodes/mixal-mode.el: Fix keywords.
9517 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
9519         * Makefile.in (ELCFILES): Add net/secrets.elc.
9521         * net/secrets.el: New file.
9523 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
9525         * facemenu.el (list-colors-display, list-colors-print): New arg
9526         callback.  Use it to allow selecting colors.
9528         * wid-edit.el (widget-image-insert): Insert image prop even if the
9529         current display is non-graphic.
9530         (widget-field-value-set): New fun.
9531         (editable-field): Use it.
9532         (widget-field-value-get): Clean up unused var.
9533         (widget-color-value-create, widget-color--choose-action):
9534         New funs.  Allow using list-colors-display to choose color.
9536 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
9538         * cus-edit.el: Resort topmost custom groups.
9539         (custom-buffer-sort-alphabetically): Default to t.
9540         (customize-apropos): Use apropos-parse-pattern.
9541         (custom-search-field): New var.
9542         (custom-buffer-create-internal): Add custom-apropos search field.
9543         (custom-add-parent-links): Don't display parent doc.
9544         (custom-group-value-create): Don't sort top-level custom group.
9545         (custom-magic-value-create): Show visibility button before option name.
9547         (custom-variable-state): New fun, from custom-variable-state-set.
9548         (custom-variable-state-set): Use it.
9549         (custom-group-value-create): Hide options with standard values
9550         using the :hidden-states property.  Use progress reporter.
9552         (custom-show): Simplify.
9553         (custom-visibility): Disable images by default.
9554         (custom-variable): New property :hidden-states.
9555         (custom-variable-value-create): Enable images for
9556         custom-visibility widgets.  Use :hidden-states property to
9557         determine initial visibility.
9559         * wid-edit.el (widget-image-find): Give images center ascent.
9560         (visibility): Add :on-image and :off-image properties.
9561         (widget-visibility-value-create): Use them.
9563 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
9565         * cus-edit.el (processes): Remove from development group.
9566         (oop, hypermedia): Delete group.
9567         (comm): Promote to top-level group.
9569         * net/browse-url.el (browse-url):
9570         * net/xesam.el (xesam):
9571         * net/tramp.el (tramp):
9572         * net/goto-addr.el (goto-address):
9573         * net/ange-ftp.el (ange-ftp): Put in comm group.
9575         * view.el (view): Remove from editing group.
9577         * uniquify.el (uniquify): Put in files group.
9579         * net/browse-url.el (browse-url):
9580         * ps-print.el (postscript): Put in external group.
9582         * cus-edit.el (outlines):
9583         * textmodes/text-mode.el (text-mode-hook):
9584         * textmodes/table.el (table):
9585         * textmodes/picture.el (picture):
9586         * outline.el (outlines): Put in wp group.
9588         * nxml/nxml-mode.el (nxml): Remove from wp group.
9590         * net/tramp-imap.el (tramp-imap): Put in tramp group.
9592         * mail/metamail.el (metamail): Remove from hypermedia group.
9594         * cus-edit.el (abbrev):
9595         * whitespace.el (whitespace):
9596         * vcursor.el (vcursor):
9597         * reveal.el (reveal):
9598         * hl-line.el (hl-line): Put in convenience group.
9600         * epg-config.el (epg): Put in data group.
9602         * emulation/pc-select.el (pc-select): Put in emulations group.
9604         * calculator.el (calculator): Put in applications group.
9606 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
9608         Add .dir-locals.el support for file-less buffers.
9609         * files.el (hack-local-variables): Split out code to apply local
9610         variable settings ...
9611         (hack-local-variables-apply): ... here.  New function.
9612         (hack-dir-local-variables): Use the default directory for when the
9613         buffer does not have an associated file.
9614         (hack-dir-local-variables-non-file-buffer): New function.
9615         * diff-mode.el (diff-mode):
9616         * vc-annotate.el (vc-annotate-mode):
9617         * vc-dir.el (vc-dir-mode):
9618         * log-edit.el (log-edit-mode):
9619         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
9621 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
9623         Add support for shelving snapshots and for showing shelves.
9624         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
9625         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
9626         New functions.
9627         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
9628         (vc-bzr-extra-menu-map): Map them.
9630 2010-03-11  Glenn Morris  <rgm@gnu.org>
9632         * cus-edit.el (customize-changed-options-previous-release):
9633         Bump to 23.1.
9635         * image.el (image-animate-max-time): Fix :version tag.
9637 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
9639         * Branch for 23.2.
9641 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9643         * vc-git.el (vc-git-revision-table): Include remote branches.
9645 2010-03-10  Kim F. Storm  <storm@cua.dk>
9647         Animated image API.
9648         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
9650         * image.el (image-animate-max-time): New defcustom.
9651         (image-animated-types): New defconst.
9652         (create-animated-image, image-animate-timer)
9653         (image-animate-start, image-animate-stop, image-animate-timeout)
9654         (image-animated-p): New functions.
9656         * image-mode.el (image-toggle-display-image):
9657         Replace `create-image' with `create-animated-image'.
9659 2010-03-09  Miles Bader  <miles@gnu.org>
9661         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
9662         instead of "format:"; this ensures that the output is
9663         newline-terminated.
9665 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
9667         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
9668         that all errors are caught, and that the return value is always a
9669         list (Bug#5692).
9671 2010-03-08  Kenichi Handa  <handa@m17n.org>
9673         * language/misc-lang.el (windows-1256): New coding system.
9674         (cp1256): New alias of windows-1256 (bug#5690).
9676 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
9678         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
9679         call to rfc822-bad-address.  (Bug#5692)
9681 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
9683         * vc-git.el (vc-git-annotate-extract-revision-at-line):
9684         Use vc-git-root as default directory for revision path (Bug#5657).
9686 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
9688         * calculator.el (calculator): Don't bind split-window-keep-point
9689         (Bug#5674).
9691 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9693         * vc-git.el: Re-flow to fit into 80 columns.
9694         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
9695         Remove spurious `quote' element in each case alternative.
9696         (vc-git-show-log-entry): Use prog1.
9697         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
9699 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9701         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
9703 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
9705         * macros.el (insert-kbd-macro): Look up keyboard macro using the
9706         definition, not the name (Bug#5481).
9708 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
9710         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
9711         argument with a local variable.  (Bug#5670)
9713 2010-03-02  Juri Linkov  <juri@jurta.org>
9715         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
9717 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
9719         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
9720         error when FILENAME and NEWNAME are existing remote directories.
9722         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
9723         parameter DIR-FLAG.
9725 2010-03-02  Glenn Morris  <rgm@gnu.org>
9727         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
9728         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
9730 2010-03-01  Kenichi Handa  <handa@m17n.org>
9732         * language/burmese.el (burmese-composable-pattern): Rename from
9733         myanmar-composable-pattern.
9735         * international/characters.el (script-list):
9736         * international/fontset.el (script-representative-chars):
9737         Change myanmar to burmese.
9738         (otf-script-alist): Likewise.
9739         (setup-default-fontset): Likewise.  Re-fix :otf spec.
9741 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
9743         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
9745 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
9747         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
9749 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
9751         * net/tramp.el (tramp-handle-write-region): START can be a string.
9752         Take care in the checks.  Reported by Dan Davison
9753         <davison@stats.ox.ac.uk>.
9755 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
9757         * net/dbus.el (dbus-introspect, dbus-get-property)
9758         (dbus-set-property, dbus-get-all-properties):
9759         Use `dbus-call-method' when noninteractive.  (Bug#5645)
9761 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
9763         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
9764         * emacs-lisp/elint.el (elint-add-required-env):
9765         * calendar/icalendar.el (icalendar--add-diary-entry):
9766         * calc/calcalg2.el (math-tracing-integral):
9767         * files.el (recover-session-finish): Use with-current-buffer
9768         instead of save-excursion.
9770 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9772         Fix in-buffer completion when after-change-functions modify the buffer.
9773         * minibuffer.el (completion--replace): New function.
9774         (completion--do-completion): Use it and use relative movement.
9776 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
9778         * international/fontset.el (setup-default-fontset): Fix :otf spec.
9780 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
9782         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
9783         Allow the characters _<> in the stack entry (Bug#5653).
9785 2010-02-26  Kenichi Handa  <handa@m17n.org>
9787         * language/burmese.el: Fix entries in composition-function-table.
9788         (myanmar-composable-pattern): New variable.
9790         * international/fontset.el (setup-default-fontset): Add an entry
9791         for myanmar.
9793         * international/characters.el (script-list): Add Myanmar
9794         Extended-A.
9796 2010-02-26  Glenn Morris  <rgm@gnu.org>
9798         * custom.el (custom-initialize-delay): Doc fix.
9800         * mail/sendmail.el (send-mail-function): Autoload the call
9801         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
9803 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
9805         * files.el (hack-local-variables-filter): For eval forms, also
9806         check safe-local-variable-p (Bug#5636).
9808 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
9810         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
9811         setting the modes by `ignore-errors'.  It might fail, for example
9812         if the file is not owned by the user but the group.
9813         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
9815 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
9817         * files.el (directory-listing-before-filename-regexp): Use
9818         stricter matching for iso-style dates, to avoid false matches with
9819         date-like filenames (Bug#5597).
9821         * htmlfontify.el (htmlfontify): Doc fix.
9823         * eshell/eshell.el (eshell): Doc fix.
9825         * startup.el (fancy-about-screen): In mode-line, apply
9826         mode-line-buffer-id face only to the buffer name (Bug#5613).
9828 2010-02-20  Kevin Ryde  <user42@zip.com.au>
9830         * progmodes/compile.el (compilation-error-regexp-alist-alist):
9831         In `watcom' anchor regexp to start of line, to avoid slowness
9832         (Bug#5599).
9834 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
9836         * subr.el (remove-yank-excluded-properties): Explain in a comment
9837         why `category' property is removed.
9839 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
9841         * isearch.el (isearch-update-post-hook, isearch-update): Revert
9842         2010-02-17 change.
9844 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
9846         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
9847         (icalendar--convert-weekly-to-ical)
9848         (icalendar--convert-yearly-to-ical)
9849         (icalendar--convert-block-to-ical)
9850         (icalendar--convert-cyclic-to-ical)
9851         (icalendar--convert-anniversary-to-ical): Take care of time
9852         specifications where hour has 1-digit only (Bug#5549).
9854 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
9856         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
9857         of disassemble output in GDB 7.1.
9859 2010-02-19  Glenn Morris  <rgm@gnu.org>
9861         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
9862         property.  (Bug#5593)
9864 2010-02-18  Sam Steingold  <sds@gnu.org>
9866         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
9868 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9870         Use abbreviated file names in bookmarks (bug#5591).
9871         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
9872         calls to expand-file-name.
9873         (bookmark-relocate): Use abbreviated file names in bookmarks.
9874         (bookmark-load): Use abbreviated file names in messages.
9876 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
9878         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
9879         expand "." and "..".  Reported by Thierry Volpiatto
9880         <thierry.volpiatto@gmail.com>.
9882 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
9884         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
9885         permissions of the temporary file to "0600".  In case the remote
9886         file has no read permissions for the owner, there might be
9887         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
9889 22010-02-18  Glenn Morris  <rgm@gnu.org>
9891         * emacs-lisp/authors.el (authors-renamed-files-alist):
9892         Add entries for INSTALL.CVS.
9894 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
9896         * vc-bzr.el: Fix typo in Known Bugs section.
9898         * isearch.el (isearch-update-post-hook): New hook.
9899         (isearch-update): Use the new hook.
9901 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
9903         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
9904         Fix errors in copying directories.
9905         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
9906         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
9907         (tramp-handle-delete-file)
9908         (tramp-handle-dired-recursive-delete-directory)
9909         (tramp-handle-write-region): Flush also the cache for the upper
9910         directory.
9912 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
9914         * simple.el (save-interprogram-paste-before-kill): Doc fix.
9916         * cus-edit.el (hardware): Doc fix.
9918         * man.el (man): Add to external custom group.
9920         * delim-col.el (columns): Move to wp custom group.
9922         * doc-view.el (doc-view): Add to data custom group.
9924         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
9926         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
9927         by ispell-parse-output (Bug#5575).
9929 2010-02-16  Kenichi Handa  <handa@m17n.org>
9931         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
9932         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
9933         (skkdic-convert): Use `euc-japan' coding system for writing.
9935 2010-02-16  Glenn Morris  <rgm@gnu.org>
9937         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
9938         tex-main-file before using it.  (Bug#5562)
9940 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9942         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
9943         warnings, since it is annoying for the user to see them each time he
9944         runs the code.
9946 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
9948         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
9949         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
9950         instead of PROC for caching "first-password-request".  Otherwise,
9951         new processes would not profit from passwords already entered.
9953         * net/tramp-cache.el (tramp-dump-connection-properties):
9954         Don't save "first-password-request" property.
9956 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
9958         * outline.el (outline-head-from-level):
9959         * simple.el (with-wrapper-hook):
9960         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
9961         (elint-defun, elint-buffer-env, elint-top-form-logged)
9962         (elint-unbound-variable):
9963         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
9964         Fix typos in docstrings.
9966 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
9968         * files.el (insert-directory): When WILDCARD-REGEXP and
9969         FULL-DIRECTORY-P are nil, insert the file entry instead of the
9970         whole directory.  (Bug#5551)
9972         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
9973         dired's alignment sanity.  (Bug#5516)
9975 2010-02-14  Juri Linkov  <juri@jurta.org>
9977         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
9978         Remove remaining ^H with their preceding chars.  (Bug#5566)
9980 2010-02-13  Glenn Morris  <rgm@gnu.org>
9982         * simple.el (transpose-subr): Give it a doc-string.
9984         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
9985         Doc fixes.
9987 2010-02-12  Juri Linkov  <juri@jurta.org>
9989         * arc-mode.el (archive-unique-fname): Make directories for nested
9990         archives.  (Bug#5540)
9992 2010-02-12  Juri Linkov  <juri@jurta.org>
9994         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
9996 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9998         * subr.el (copy-overlay): Handle deleted overlays.
10000         * man.el (Man-completion-table): Don't signal an error if we can't run
10001         manual-program (bug#4056).
10003 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
10005         * textmodes/artist.el (artist-mt): Fix typos in docstring.
10007 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10009         * info.el (Info-bookmark-jump): Simplify.
10011         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
10012         (bookmark-default-handler): Accept new bookmark field `buffer'.
10014 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
10016         * iswitchb.el (iswitchb-completions): Revert last change.
10018 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
10020         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
10021         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
10022         This prevents file names like "~/" being listed literally.
10024 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
10026         * term/xterm.el (xterm-maybe-set-dark-background-mode):
10027         Remove dead code.  (Bug#5546)
10029 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
10031         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
10032         correctly (Bug#5548).
10034 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
10036         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
10037         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
10039 2010-02-08  Kenichi Handa  <handa@m17n.org>
10041         * international/mule-util.el (with-coding-priority): Add autoload
10042         cookie for putting `lisp-indent-function'.
10044 2010-02-07  Glenn Morris  <rgm@gnu.org>
10046         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
10047         Move F2003 named interfaces from keywords-2 to keywords-1, and
10048         use function-name-face rather than constant-face.
10049         Simplify "abstract interface" regexp.
10051 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
10053         * eshell/esh-util.el (eshell-file-attributes): New optional arg
10054         ID-FORMAT.  Pass it to `file-attributes'.
10056         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
10058 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
10060         * faces.el (set-face-attribute): Allow calling
10061         internal-set-lisp-face-attribute with 'unspecified family and
10062         foundry argument (Bug#5536).
10064 2010-02-07  Glenn Morris  <rgm@gnu.org>
10066         * progmodes/f90.el (f90-font-lock-keywords-2)
10067         (f90-looking-at-type-like, f90-looking-at-program-block-end):
10068         Handle F2003 named interfaces.
10070 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
10072         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
10073         beg and end before calling c-get-state-before-change-functions.
10075 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
10077         * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
10079 2010-02-05  Juri Linkov  <juri@jurta.org>
10081         * doc-view.el (doc-view-mode):
10082         * image-mode.el (image-mode): Put property mode-class=special.
10083         (Bug#4896)
10085 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
10087         * vc-svn.el (vc-svn-revision-table): New function.
10089 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
10091         * net/ange-ftp.el (ange-ftp-insert-directory):
10092         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10093         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10094         Handle also directories.  (Bug#5478)
10096 2010-02-05  Glenn Morris  <rgm@gnu.org>
10098         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
10100 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
10102         * startup.el (command-line-1): Convert options beginning with a
10103         single dash as well (Bug#5519).
10105 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
10107         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
10108         * minibuffer.el (completion-initials-expand): Only check the presence
10109         of delims *within* the boundaries, since otherwise the / delim is
10110         always found for files.
10112         Fix up various corner case problems.
10113         * doc-view.el (doc-view-last-page-number): New function.
10114         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
10115         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
10116         (doc-view-kill-proc): Avoid inf-loop in freak cases.
10117         (doc-view-reconvert-doc): Use the new recursive delete-directory.
10118         (doc-view-convert-current-doc): Don't create the resolution.el file
10119         here any more.
10120         (doc-view-pdf/ps->png): Do it here instead.
10121         (doc-view-already-converted-p): Check that resolution.el is present.
10122         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
10123         windows that are not yet showing images.
10125 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
10127         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
10128         `dired-uncache' for every elemnt which is an absolute file name.
10130         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
10131         directory, handle its directory component.
10132         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
10133         function is called permanently and creates noise, otherwise.
10135         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
10136         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
10137         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
10139 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
10141         * macros.el (apply-macro-to-region-lines):
10142         Minor simplification.  (Bug#5485)
10144 2010-02-04  Glenn Morris  <rgm@gnu.org>
10146         * mail/rmail.el (rmail-show-message-1): Handle malformed
10147         quoted-printable text.  (Bug#5441)
10149         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
10151         * simple.el (visual-line-mode): Capitalize lighter.
10153 2010-02-03  John Wiegley  <jwiegley@gmail.com>
10155         * iswitchb.el (iswitchb-completions): Add bookmark files to the
10156         list of files considered for "virtual buffer" completions.
10158 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
10160         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
10161         also in case of (and (not full) (not wildcard)).  This is needed
10162         when dired is called with a list of files, which are not in
10163         `default-directory'.  (Bug#5478)
10165 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10167         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
10169 2010-02-02  Juri Linkov  <juri@jurta.org>
10171         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
10172         from unidiff to allow function-line after @@.
10174 2010-02-02  Juri Linkov  <juri@jurta.org>
10176         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
10177         '(RCS SCCS) with inverted condition.
10179 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
10181         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
10182         messages.
10184 2010-02-01  Juri Linkov  <juri@jurta.org>
10186         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
10187         compare with "pkunzip" and "pkzip" instead of only "pkzip".
10188         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
10189         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
10191 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
10193         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
10194         (doc-view-revert-buffer): New command.
10195         (doc-view-mode-map): Use it.
10197 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
10199         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
10200         pending merge is detected.
10202 2010-01-31  Juri Linkov  <juri@jurta.org>
10204         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
10205         beginning of interactive spec like all other grep commands do.
10206         Put "all" in front of "gz".  (Bug#5260)
10208 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
10210         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
10212 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
10214         * dirtrack.el (dirtrack): Warn instead of signalling error if the
10215         regexp is incorrect (Bug#5476).
10217 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
10219         * net/tramp.el (tramp-handle-insert-directory): Handle also
10220         symlinks, when FILENAME is not in `default-directory'.
10222 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
10224         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
10225         FILE is not in `default-directory'.  (Bug#5478)
10227         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
10228         of SWITCHES.  Handle the case, FILENAME is not in
10229         `default-directory'.  (Bug#5478)
10230         (tramp-register-file-name-handlers): Add safe-magic property.
10232 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
10234         * arc-mode.el (archive-zip-extract): Quote the argument passed to
10235         unzip (Bug#5475).
10237 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
10239         * progmodes/flymake.el (flymake-allowed-file-name-masks)
10240         (flymake-master-make-header-init): Add other C++ filename masks.
10241         (flymake-find-possible-master-files)
10242         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
10244 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
10246         Fix some busybox annoyances.
10248         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
10249         not responding." string.
10250         (tramp-open-connection-setup-interactive-shell): Dump stty
10251         settings.  Enable "neveropen" arg for all `tramp-send-command'
10252         calls.  Handle "=" in variable values properly.
10253         (tramp-find-inline-encoding): Raise an error, when no encoding is
10254         found.
10255         (tramp-wait-for-output): Check, whether PROC buffer is available.
10256         Remove spurious " ^H" sequences, sent by busybox.
10257         (tramp-get-ls-command): Suppress coloring, if possible.
10259 2010-01-28  Glenn Morris  <rgm@gnu.org>
10261         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
10263         * log-edit.el (log-edit-strip-single-file-name): Add missing
10264         :safe, :group, and :version tags.
10266 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
10268         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
10269         buffers.  (Bug#5477)
10271 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
10273         * files.el (delete-directory): Handle moving to trash without
10274         first doing recursion (Bug#5436).
10276 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
10278         * vc-hooks.el (vc-path): Mark as obsolete.
10280 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
10282         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
10283         names too.
10285         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
10286         for the short log.
10287         (vc-bzr-log-view-mode): Adjust regexp for the above change.
10289 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
10291         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
10293         * vc-bzr.el (vc-bzr-revision-table): New function.
10295 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>
10297         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
10298         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
10300 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
10302         Remove support for adding --signoff on commit.
10303         Future support will use an incompatible generic mechanism.
10304         * vc-git.el (vc-git-add-signoff): Remove variable.
10305         (vc-git-toggle-signoff): Remove function.
10306         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
10308         * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
10309         from xterm-set-background-mode.  Return t if the background mode
10310         was set.
10311         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
10312         earlier, call it again in case the background mode has changed.
10314 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
10316         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
10317         (Bug#3541).
10319 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
10321         * emacs-lisp/assoc.el (aelement): Doc fix.
10322         (aput, adelete, amake): Use lexical-let (Bug#5450).
10324 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
10326         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
10327         is the same as subprogram call, not declaration.  (Bug#5435).
10329 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
10331         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
10332         (tramp-smb-maybe-open-connection): Use it.
10334 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
10336         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
10338 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
10340         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
10341         just because we see "encoding: 8bit".
10342         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
10344 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
10346         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
10348 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
10350         * jka-compr.el (jka-compr-load): If load-file is not in
10351         load-history, try its file-truename version.  (bug#5447)
10353 2010-01-21  Alan Mackenzie  <acm@muc.de>
10355         Fix a situation where deletion of a cpp construct throws an error.
10356         * progmodes/cc-engine.el (c-invalidate-state-cache):
10357         Before invoking c-with-all-but-one-cpps-commented-out, check that the
10358         special cpp construct is still in the buffer.
10359         (c-parse-state): Record the special cpp with markers, not numbers.
10361 2010-01-21  Kenichi Handa  <handa@m17n.org>
10363         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
10364         process last-command-event, as it is now decoded first (Bug#5380).
10366 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
10368         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
10370 2010-01-20  Glenn Morris  <rgm@gnu.org>
10372         * indent.el (tab-always-indent): Fix custom-type.
10374 2010-01-19  Alan Mackenzie  <acm@muc.de>
10376         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
10377         buffer throws "args out of range".
10378         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
10379         playing the role of delimiter.
10381 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
10383         * progmodes/ada-mode.el: Fix bug#5400.
10384         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
10385         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
10386         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
10387         Improve comments in "is" portion.  Handle null procedure declaration.
10388         (ada-move-to-end): Improve doc string.
10390 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
10392         * ido.el (ido-cur-list): Initialize to nil.
10393         Remove obsolete information from commentary.
10394         (ido-choice-list): Initialize to nil.
10395         (ido-get-bufname): Reject minibuffers.
10396         (ido-make-buffer-list): If "default" is a nonexistent
10397         buffer, ignore it, as per the function's comment.
10398         (ido-kill-buffer-internal): New function.
10399         (ido-kill-buffer-at-head): Use it.
10400         (ido-visit-buffer): Likewise.
10402 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
10404         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
10406 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
10408         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
10409         Fix typos in chart titles.
10411         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
10412         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
10413         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
10414         (describe-class, eieio-describe-generic, describe-generic):
10415         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
10416         (eieio-speedbar-expand):
10417         * emulation/viper-cmd.el (viper-exec-form-in-vi)
10418         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
10419         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
10420         (viper-del-backward-char-in-replace, viper-backward-indent)
10421         (viper-brac-function, viper-register-to-point, viper-submit-report):
10422         * net/tramp.el (tramp-remote-coding-commands):
10423         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
10424         Fix typos in docstrings.
10426 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
10428         * mail/sendmail.el (mail-yank-original): Set the mark if the
10429         specified function for yanking does not do it.
10431 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
10433         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
10435         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
10436         resyncing a directory.
10438 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
10440         * progmodes/ada-mode.el: Fix bug#1920.
10441         (ada-ident-re): Delete ., allow multibyte characters.
10442         (ada-goto-label-re): New; matches goto labels.
10443         (ada-block-label-re): New; matches block labels.
10444         (ada-label-re): New; matches both.
10445         (ada-named-block-re): Deleted; callers changed to use
10446         `ada-block-label-re' instead.
10447         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
10448         Use `ada-block-label-re'.
10449         (ada-indent-on-previous-lines): Improve handling of goto labels.
10450         (ada-get-indent-block-start): Special-case block label.
10451         (ada-get-indent-label): Split into `ada-indent-block-label' and
10452         `ada-indent-goto-label'.
10453         (ada-goto-stmt-start, ada-goto-next-non-ws):
10454         Optionally ignore goto labels.
10455         (ada-goto-next-word): Simplify.
10456         (ada-indent-newline-indent-conditional): Insert newline before
10457         trying to fix indentation; doc fix.
10459 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
10461         * calc/calc.el (calc-command-flags): Give it an initial value.
10463 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
10465         * files.el (minibuffer-with-setup-hook):
10466         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
10467         (artist-key-draw-continously, artist-key-do-continously-continously)
10468         (artist-key-set-point-continously, artist-mouse-draw-continously):
10469         Fix typos in docstrings.
10471 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
10473         * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
10474         return t (Bug#3898).
10476 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
10478         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
10479         can parse the output of the external commands (Bug#5279).
10481 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
10483         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
10485 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
10487         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
10489         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
10491         * startup.el (command-line): Remove unused --icon-type arg.
10492         Handle --display arg, passing it to command-line-1 (Bug#5392).
10494 2010-01-16  Mario Lang  <mlang@delysid.org>
10496         * emacs-lisp/chart.el (chart-translate-namezone):
10497         * textmodes/artist.el (artist-compute-popup-menu-table):
10498         Remove duplicated words in doc-strings.
10500 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
10502         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
10503         to mairix-search to suppress threading (Bug#5342).
10505 2010-01-15  Kenichi Handa  <handa@m17n.org>
10507         * international/mule-cmds.el (canonicalize-coding-system-name):
10508         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
10510 2010-01-15  Glenn Morris  <rgm@gnu.org>
10512         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
10514         * wid-edit.el (widget-keymap): Doc fix.
10516         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
10517         former seems to be more widely accepted by various svn versions.
10519 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
10521         * find-cmd.el (find-constituents):
10522         * vc-arch.el (vc-arch-root):
10523         * window.el (window-body-height, pop-up-frames):
10524         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
10525         * progmodes/ada-stmt.el (ada-if):
10526         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
10527         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
10528         (ispell-encoding8-command, ispell-aspell-supports-utf8)
10529         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
10531         * progmodes/flymake.el (flymake-post-syntax-check):
10532         Fix typo in error message.
10534 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
10536         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
10537         which is always a string.  (Bug#5313)
10539 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
10541         * progmodes/ada-xref.el (ada-default-prj-properties):
10542         Simplify previous change.
10544 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
10546         * progmodes/ada-xref.el (ada-default-prj-properties):
10547         Default ada_project_path to $ADA_PROJECT_PATH.
10549 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
10551         * progmodes/ada-mode.el (ada-create-keymap):
10552         Override `narrow-to-defun' with `ada-narrow-to-defun'.
10554 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
10556         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
10557         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
10558         (ada-get-current-indent, ada-imenu-generic-expression)
10559         (ada-which-function): Check for it.
10561 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
10563         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
10564         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
10566 2010-01-14  Glenn Morris  <rgm@gnu.org>
10568         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
10570 2010-01-14  Kenichi Handa  <handa@m17n.org>
10572         * composite.el (auto-composition-mode): Make it a buffer local
10573         variable (permanent-local).
10574         (auto-composition-function): Set the default value to
10575         auto-compose-chars.
10576         (auto-composition-mode): Make it a simple function, not a minor mode.
10577         (global-auto-composition-mode): Likewise.
10578         (turn-on-auto-composition-if-enabled): Delete it.
10580 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
10582         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
10584 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
10586         * files.el (copy-directory): Compute target for recursive
10587         directories with identical names.  (Bug#5343)
10589 2010-01-12  Glenn Morris  <rgm@gnu.org>
10591         * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
10592         it to bug-gnu-emacs rather than emacs-pretest-bug.
10594 2010-01-11  Sam Steingold  <sds@gnu.org>
10596         * imenu.el (imenu-default-create-index-function): Detect infinite
10597         loops caused by imenu-prev-index-position-function.
10599 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
10601         * htmlfontify.el (htmlfontify-load-rgb-file)
10602         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
10603         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
10604         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
10605         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
10606         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
10607         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
10608         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
10609         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
10610         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
10611         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
10612         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
10613         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
10614         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
10615         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
10616         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
10617         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
10618         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
10619         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
10620         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
10621         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
10622         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
10623         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
10624         backslash-quoting from parentheses, etc.
10626 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
10628         * progmodes/js.el: Autoload javascript-mode alias.
10630 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
10632         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
10633         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
10634         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
10635         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
10636         Fix typos in docstrings.
10637         (ffap-url-regexp): Doc fix.
10638         (ffap-at-mouse): Fix typo in message.
10640 2010-01-11  Glenn Morris  <rgm@gnu.org>
10642         * version.el (emacs-copyright): Set copyright year to 2010.
10644 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
10646         * format.el (format-annotate-function): Only set
10647         write-region-post-annotation-function after running to-fn so as not to
10648         affect nested write-region calls (bug#5273).
10650 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
10652         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
10653         wisent/python.el.
10655 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
10657         * man.el (Man-goto-section): Signal error if the section is not
10658         found (Bug#5317).
10660 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
10662         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
10663         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
10665 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
10667         * progmodes/compile.el: Don't treat compile-command as safe if
10668         compilation-read-command might be nil (Bug#4218).
10670 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
10672         * startup.el (command-line-1): Use orig-argi to check for ignored X and
10673         NS options.
10675 2010-01-08  Kenichi Handa  <handa@m17n.org>
10677         * international/fontset.el (build-default-fontset-data):
10678         Exclude characters in scripts kana, hangul, han, or cjk-misc.
10680 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
10682         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
10683         to `create-file-buffer' as it expects, not just a buffer name.
10684         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
10685         to help uniquify.  (Bug#3224)
10687 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
10689         * font-setting.el (font-setting-change-default-font): Use user-spec
10690         instead of name.
10692 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
10694         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
10696 2010-01-05  Tom Tromey  <tromey@redhat.com>
10698         * progmodes/python.el (python-font-lock-keywords):
10699         Handle qualified decorators (Bug#881).
10701 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
10703         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
10704         in a lightweight checkout.
10706 2010-01-05  Kenichi Handa  <handa@m17n.org>
10708         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
10710 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
10712         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
10714 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
10716         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
10717         checkouts.  (Bug#618)
10718         (vc-bzr-log-view-mode): Also highlight the author.
10719         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
10720         (vc-bzr-shelve-menu-map):
10721         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
10722         (vc-bzr-shelve-apply): Make prompt more explicit.
10724 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
10726         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
10727         They are valid characters in URL paths (rfc3986), and at least
10728         Firefox does not understand the encoded version (Bug#3166).
10730 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
10732         * progmodes/octave-mod.el (octave-end-keywords)
10733         (octave-block-begin-or-end-regexp, octave-block-match-alist):
10734         Add "end" keyword (Bug#3061).
10735         (octave-end-as-array-index-p): New function.
10736         (calculate-octave-indent): Use it.
10738 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10740         * bookmark.el: Consistently put the text property on the bookmark name.
10741         (bookmark-bmenu-marks-width): Bump back to 2, to include
10742         annotation marks.
10743         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
10744         property on the bookmark name, instead of not putting it at all.
10745         (bookmark-bmenu-list): Fix where we put the text property.
10747 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10749         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
10750         for showing buffer modified state (as added in the previous change).
10752 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10754         * bookmark.el: Show modified state of bookmark buffer more accurately.
10755         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
10756         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
10757         (with-buffer-modified-unmodified): New macro.
10758         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
10759         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
10760         Use new macro to preserve the buffer modified state.
10762 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10764         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
10765         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
10766         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
10767         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
10768         (bookmark-bmenu-rename, bookmark-bmenu-locate)
10769         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
10770         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
10772 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
10774         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10775         Make the lines in the generated doc string shorter.  (Bug#4668)
10777 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
10779         * net/rcirc.el: Add follow-link binding (Bug#4738).
10781 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
10783         * Makefile.in (bzr-update): Rename from cvs-update.
10784         (cvs-update): New target for backward compatibility.
10786         * makefile.w32-in (bzr-update): Rename from cvs-update.
10787         (cvs-update): New target for backward compatibility.
10789 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10791         * bookmark.el: Remove gratuitous gratitude.
10793 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10795         * bookmark.el (bookmark-bmenu-any-marks): New function.
10796         (bookmark-bmenu-save): Clear buffer modification if no marks.
10798 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10800         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
10801         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
10802         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
10803         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
10805         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
10806         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
10807         To: emacs-devel {_AT_} gnu.org
10808         Subject: bookmark.el bug report
10809         Date: Mon, 28 Dec 2009 14:19:16 +0800
10810         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
10812 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
10814         * bookmark.el: Improvements suggested by Drew Adams:
10815         (bookmark-bmenu-ensure-position): New name for
10816         `bookmark-bmenu-check-position'.  Just ensure the position,
10817         don't return any meaningful value.
10818         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
10819         New constants.
10821 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
10823         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
10824         (bookmark-yank-point, bookmark-bmenu-check-position):
10825         Fix typos in docstrings.
10826         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
10827         (bookmark-name-from-full-record, bookmark-get-position)
10828         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
10829         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
10830         Remove useless quoting of parenthesis, etc. in docstrings.
10832         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
10833         (ediff-append-custom-diff): Fix typo in error message.
10834         (ediff-meta-mark-equal-files): Fix typos in messages.
10836         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
10838         * net/imap-hash.el (imap-hash-make): Doc fix.
10839         (imap-hash-test): Fix typo in error message; reflow docstring.
10840         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
10841         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
10842         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
10843         Fix typos in docstrings.
10844         (imap-hash-open-connection): Fix typo in error message.
10846         * play/gomoku.el (gomoku): Fix typos in docstring.
10848         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
10849         (gdb-jsonify-buffer): Fix typos in docstring.
10850         (gdb-goto-breakpoint): Fix typo in error message.
10851         ("Display Other Windows"): Fix typo in help message.
10852         (gdb-speedbar-expand-node): Fix typo in question.
10854         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
10855         (idlwave-html-system-help-location, idlwave-html-help-location)
10856         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
10857         (idlwave-help-browser-generic-args, idlwave-help-directory)
10858         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
10859         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
10860         (idlwave-online-help, idlwave-help-html-link)
10861         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
10862         Fix typos in docstrings.
10863         (idlwave-help-with-source, idlwave-help-find-routine-definition):
10864         Reflow docstrings.
10865         (idlwave-help-assistant-start): Fix typo in error message.
10867         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
10868         (octave-electric-space): Fix typos in docstrings.
10870 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
10872         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
10874 2010-01-01  Juri Linkov  <juri@jurta.org>
10876         * comint.el (comint-input-ring-size): Make it a defcustom and
10877         increase the default to 500 (Bug#5148).
10879 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
10881         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
10882         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
10883         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
10885 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
10887         Show working revision correctly for mercurial.
10888         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
10889         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
10891 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
10893         Declare some functions for the byte-compiler.
10894         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
10895         (speedbar-timer-fn, speedbar-change-expand-button-char)
10896         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
10898 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
10900         This changeset reverts GDB Graphical Interface to use annotations.
10901         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
10903 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
10905         Make vc-dir work on subdirectories of the bzr root.
10906         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.  Return
10907         file names relative to it.
10908         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
10909         relative directory to vc-bzr-after-dir-status.
10911 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
10913         * font-lock.el (font-lock-refresh-defaults): New function, which
10914         can be used to let font-lock react to external changes in
10915         variables like font-lock-defaults and keywords.
10916         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
10918 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
10920         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
10922         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
10924 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
10926         Supersede color.diff settings in git log (bug#5211).
10928         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
10929         escape chars in its output when the user has color.diff set to `always'.
10930         This fix works on git 1.4.2 and newer (released on 2006-08-13).
10932 2009-12-26  Kevin Ryde  <user42@zip.com.au>
10934         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
10935         node.  Keep previous "Index" name to work with past coreutils too.
10937         * man.el (man): Revise docstring a bit to show -a and -l as
10938         examples.  Add -k description since support for it has otherwise
10939         been a secret.  (Further to bug#3717.)
10940         (Man-bgproc-sentinel): When "-k foo" produces no output show error
10941         "no matches" rather than "Can't find manpage", as the latter reads
10942         like -k was interpreted as a page name, which is not so.  (Bug#5431)
10944 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
10946         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
10947         switches.  Check also for //SUBDIRED// line.
10949 2009-12-25  Kenichi Handa  <handa@m17n.org>
10951         * language/indian.el (devanagari-composable-pattern): Fixed to
10952         handle ZWNJ and ZWJ.  Use it in composition-function-table for
10953         Devanagari.
10954         (malayalam-composable-pattern): Fix previous change.
10956 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
10958         * ps-print.el (ps-face-attributes): It was not returning the
10959         attribute face for faces specified as string.  Reported by harven
10960         <harven@free.fr>.  (Bug#5254)
10961         (ps-print-version): New version 7.3.5.
10963 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
10965         * calendar/icalendar.el (icalendar--convert-tz-offset):
10966         Fix timezone names.
10967         (icalendar--convert-tz-offset): Fix the "last-day-problem".
10968         (icalendar--add-diary-entry): Remove the trailing blank that
10969         diary-make-entry inserts.
10971 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
10973         Make `file-expand-wildcards' work for remote files.
10975         * files.el (file-expand-wildcards): In case of remote files, check
10976         only local file name part for wildcards.  Provide feature 'files
10977         and subfeature 'remote-wildcards.  (Bug#5198)
10979         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
10980         if there is already an established connection.
10981         (tramp-advice-file-expand-wildcards): Remove it.
10983         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
10984         (tramp-advice-file-expand-wildcards): Move from tramp.el.
10985         Activate advice for older GNU Emacs versions.  (Bug#5237)
10987 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
10989         Some doc fixes (more needed).
10991         * find-cmd.el (find-constituents): Reflow docstring.
10992         (find-cmd, find-prune, find-command): Fix typos in docstrings.
10993         (find-generic): Doc fix.
10995 2009-12-17  Juri Linkov  <juri@jurta.org>
10997         Fix regression from 23.1 to allow multiple modes in Local Variables.
10999         * files.el (hack-local-variables-filter): While ignoring duplicates,
11000         don't take `mode' into account.
11001         (hack-local-variables-filter, hack-dir-local-variables):
11002         Don't remove duplicate `mode' from local-variables-alist (like `eval').
11004 2009-12-17  Juri Linkov  <juri@jurta.org>
11006         Make `dired-diff' safer.  (Bug#5225)
11008         * dired-aux.el (dired-diff): Signal an error when `file' equals to
11009         `current' or when `file' is a directory of the `current' file.
11011 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
11013         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
11014         unconditionally preloaded files.
11016 2009-12-16  Juri Linkov  <juri@jurta.org>
11018         Revert to old 23.1 logic of using the file at the mark as default.
11019         * dired-aux.el (dired-diff): Use the file at the mark as default
11020         if it's not the same as the current file, and the target dir is
11021         the current dir or the mark is active.  Add the current file
11022         as the arg of `dired-dwim-target-defaults'.  Use the default file
11023         in the prompt.  (Bug#5225)
11025 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
11027         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
11028         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
11029         (tramp-check-for-regexp): Check also, when an echoing shell stops
11030         to echo sent commands.
11032 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
11034         * Makefile.in: Revert last change (Bug#5191).
11036 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
11038         * vc-hg.el (vc-hg-print-log): Fix argument order.
11039         (vc-hg-working-revision): Make sure the command is executed in a
11040         known environment so that we can parse the output.  (Bug#4417)
11042 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
11044         * progmodes/python.el (python-symbol-completions): Remove text
11045         properties from symbol string before calling python-send-receive.
11047 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
11049         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
11050         when there are values for both file and line.  (Bug#5060)
11052 2009-12-14  Juri Linkov  <juri@jurta.org>
11054         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
11055         whitespace after the file name of the first line of unified format,
11056         because git-diff doesn't output whitespace and file modification time
11057         after the file name.
11059 2009-12-14  David Kastrup  <dak@gnu.org>
11061         * info.el (Info-hide-cookies-node): Before hiding a cookie,
11062         check if it already has the `display' property added by
11063         `Info-display-images-node', and not put the `invisible' property
11064         in this case.
11066 2009-12-13  Glenn Morris  <rgm@gnu.org>
11068         * mail/emacsbug.el (message-sort-headers): Define for compiler.
11069         (report-emacs-bug): In message-mode, sort manually before storing
11070         original report text.  (Bug#5178)
11071         Remove superfluous save-excursion.
11073 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
11075         * net/dbus.el (dbus-property-handler): Filter lambda forms out
11076         when responding to "GetAll" properties.
11078 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
11080         * simple.el (compose-mail): Remove mail-setup-with-from from
11081         customization checks.
11083 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
11085         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
11086         RAR archives created on Unix systems.
11088 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
11090         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
11091         the varalias that was accidentally removed by the 2009-11-19 change
11092         (bug#5186).
11094 2009-12-12  Kenichi Handa  <handa@m17n.org>
11096         * language/indian.el (indian-compose-regexp): New function.
11097         (malayalam-composable-pattern): Fix the pattern.
11098         (composition-function-table): Set malayalam-composable-pattern for
11099         Malayalam characters.
11101 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
11103         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
11104         rather than down-mouse-1, based on follow-link conventions.
11106         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
11107         are compiled.
11109 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
11111         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
11112         (verilog-vmm-statement-re, verilog-ovm-statement-re)
11113         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
11114         (verilog-leap-to-head, verilog-backward-token):
11115         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
11117 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
11119         * progmodes/verilog-mode.el (verilog-auto-lineup)
11120         (verilog-nameable-item-re): Cleanup user-visible spelling and
11121         documentation errors.  One reported by Gary Delp.
11122         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
11123         (verilog-read-decls): Fix AUTOWIRE with types declared in a
11124         package, bug195.  Reported by Pierre-David Pfister.
11126 2009-12-11  Glenn Morris  <rgm@gnu.org>
11128         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
11130         * mail/emacsbug.el: No longer require sendmail.
11131         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
11132         (report-emacs-bug-orig-text): Doc fix.
11133         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
11134         New local variables, to adapt to different mail-user-agents.
11135         (report-emacs-bug): Fix test for a gnu.org address.
11136         Use overlays for emphasis, since font-lock defeats 'face property.
11137         Pretest bugs also end up at the newsgroup these days.
11138         Stop message-mode stripping text properties.
11139         Set and use the new buffer-local variables.
11140         (report-emacs-bug-hook): Add doc-string.
11141         Remove some unnecessary save-excursions and simplify.
11142         Use the appropriate hook and send-command.
11144         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
11145         capitalization of some menu entries.
11147 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
11149         * whitespace.el (whitespace-display-char-on):
11150         Ensure `buffer-display-table' is unique when two or more windows are
11151         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
11152         New version 12.1.
11154 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
11156         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
11157         characters in the Attribute field.
11159 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
11161         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
11163 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11165         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
11166         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
11167         Disregard autoload-excludes.
11168         (update-directory-autoloads): Obey autoload-excludes here instead.
11169         But don't store its contents in no-autoloads and remove entries that
11170         refer to excludes files.
11172 2009-12-10  Glenn Morris  <rgm@gnu.org>
11174         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
11175         (expand-mail-aliases): Define for compiler.
11177         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
11178         Define for compiler.
11180         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
11181         appropriate for the mail-user-agent in use.
11183 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
11185         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
11187 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
11189         Fix short log parsing and fontification.
11190         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
11191         Fix fontification for the [merge] label.
11193 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
11195         Drop some properties to avoid surprises (bug#5002).
11196         * htmlfontify.el (hfy-ignored-properties): New defcustom.
11197         (hfy-fontify-buffer): Use it.
11199 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
11201         Minor cleanup.
11202         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
11203         Adjust all callers.
11204         (ffap-locate-file): Remove unused arg `dir-ok' and make other
11205         args compulsory.  Adjust callers.
11206         (ffap-gopher-at-point): Remove unused var `name'.
11208         Get rid of the ELCFILES abomination.
11209         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11210         (compile-elcfiles): New phony target.
11211         (compile-main): Compute ELCFILES dynamically.
11212         (compile-clean): New target to remove left-over elc files.
11213         (compile, all): Use it.
11215 2009-12-09  Kenichi Handa  <handa@etlken>
11217         * international/mule-diag.el: Require help-mode instead of help-fns.
11219 2009-12-09  Kenichi Handa  <handa@m17n.org>
11221         * international/mule-cmds.el (ucs-names): Supply sufficiently
11222         fine ranges instead of pre-calculating accurate ranges.
11223         Iterate with bigger gc-cons-threshold.
11225 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
11227         Add support for stashing a snapshot of the current tree.
11228         * vc-git.el (vc-git-stash-snapshot): New function.
11229         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
11231 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
11233         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
11234         instead of `(beginning|end)-of-line'.
11236 2009-12-08  Glenn Morris  <rgm@gnu.org>
11238         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
11240         * Makefile.in (ELCFILES): Regenerate.
11242 2009-12-07  Juri Linkov  <juri@jurta.org>
11244         Don't lazy-highlight the comint output in history Isearch mode.
11246         * comint.el (comint-history-isearch-search): Instead of
11247         `comint-line-beginning-position', use `comint-after-pmark-p'
11248         to check if point if before the process mark, and go to
11249         `process-mark' in this case.
11251 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11253         * textmodes/tex-mode.el (latex-complete)
11254         (latex-indent-or-complete): Remove.
11255         (latex-mode): Set completion-at-point-functions instead.
11257         Provide a standard completion command and hook it into TAB.
11258         * minibuffer.el (completion-at-point-functions): New var.
11259         (completion-at-point): New command.
11260         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
11261         * progmodes/python.el (python-mode-map): Use completion-at-point.
11262         (python-completion-at-point): Rename from python-partial-symbol and
11263         adjust for use in completion-at-point-functions.
11264         (python-mode): Setup completion-at-point for Python completion.
11265         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
11266         extracted from lisp-complete-symbol.
11267         (lisp-complete-symbol): Use it.
11268         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
11269         setup completion-at-point for Elisp completion.
11270         (emacs-lisp-mode-map, lisp-interaction-mode-map):
11271         Use completion-at-point.
11272         * ielm.el (ielm-map): Use completion-at-point.
11273         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
11274         * progmodes/sym-comp.el: Move to...
11275         * obsolete/sym-comp.el: Move from progmodes.
11277 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
11279         Prevent save-buffer in Rmail buffers from using the coding-system
11280         of the current message, and from clobbering the encoding mnemonics
11281         in the mode line (Bug#4623).
11283         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
11284         flag, too.
11285         (rmail-message-encoding): New variable.
11286         (rmail-write-region-annotate): Record the encoding of the current
11287         message in rmail-message-encoding.
11288         (rmail-after-save-hook): New function, restores the encoding of
11289         the current message after the message collection is saved.
11291 2009-12-07  Juri Linkov  <juri@jurta.org>
11293         * progmodes/grep.el (grep-read-files): Use `completing-read'
11294         instead of `read-string'.  Set its `collection' arg to
11295         `read-file-name-internal'.  (Bug#4301)
11297 2009-12-07  Juri Linkov  <juri@jurta.org>
11299         Correctly restore original Isearch point.  (Bug#4994)
11301         * isearch.el (isearch-mode): Move `isearch-push-state' after
11302         `(run-hooks 'isearch-mode-hook)'.
11303         (isearch-cancel): When `isearch-push-state-function' is defined,
11304         let-bind `isearch-cmds' to the first state (the last element of
11305         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
11306         function and restores the original point).  Otherwise, move point
11307         to `isearch-opoint'.
11309 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11311         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
11312         chars that don't have names, so the table can be built much faster at
11313         run-time.
11315 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
11317         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
11318         change.  Suggested by David Kastrup.
11320         * simple.el (compose-mail): Check for incompatibilities and warn.
11321         (compose-mail-user-agent-warnings): New option.
11323 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
11325         Support showing a single log entry from vc-annotate.
11326         * vc.el (print-log): Add a new argument: START-REVISION.
11327         (vc-print-log-internal): Add a new optional argument and
11328         pass it to the backend.
11329         (vc-print-log, vc-print-root-log): Adjust callers.
11330         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
11331         buffer already displays the requested log entry, use it.
11332         Otherwise display only the log entry in question.
11333         * vc-svn.el (vc-svn-print-log):
11334         * vc-mtn.el (vc-mtn-print-log):
11335         * vc-hg.el (vc-hg-state):
11336         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
11337         (vc-git-show-log-entry): Return t on success.
11338         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
11339         (vc-bzr-show-log-entry): Return t on success.
11340         * vc-rcs.el (vc-rcs-print-log):
11341         * vc-sccs.el (vc-sccs-print-log):
11342         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
11344 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
11346         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
11347         Add menus to the meta mode.  (Bug#5043)
11349 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
11351         * ediff-init.el (ediff-event-key): Use event-to-character instead of
11352         event-key.
11354         * ediff.el (ediff-buffers-internal): Add unwind-protect.
11356 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
11358         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
11359         Berbain <raphael.berbain@gmail.com>.
11361         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
11362         characters.
11363         (tramp-initial-end-of-output): New defconst.
11364         (tramp-methods, tramp-find-shell)
11365         (tramp-open-connection-setup-interactive-shell)
11366         (tramp-maybe-open-connection): Use it.
11367         (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
11368         existence of `#' and `$'.
11370         * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
11371         `tramp-initial-end-of-output'.
11373 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
11375         Get the background mode from the terminal for xterm, and set
11376         faces accordingly.
11377         * term/xterm.el (xterm-set-background-mode): New function.
11378         (terminal-init-xterm): Use it in case xterm supports background
11379         color queries.  Recompute faces after getting the background
11380         color.
11382 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
11384         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
11385         number comment back on its own line, for easier parsing.
11387 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
11389         Make it work for non-file buffers (bug#5102).
11390         * doc-view.el (doc-view-current-cache-dir):
11391         Use doc-view-buffer-file-name rather than buffer-file-name.
11392         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
11394 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
11396         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
11397         author field is too short.
11399 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
11401         * vc-git.el (vc-git-print-log): Handle a limit argument.
11402         Display the short log in graph form and with labels.
11403         (vc-git-log-view-mode): Handle labels.
11405         Make vc-revert change VC state from 'added to 'unregistered.
11406         * vc-git.el (vc-git-revert): Call git reset first.
11408 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
11410         * net/newst-backend.el, net/newst-plainview.el:
11411         * net/newst-reader.el, net/newst-ticker.el:
11412         * net/newst-treeview.el, net/newsticker.el:
11413         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
11415 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
11417         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
11419         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
11420         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
11421         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
11422         Update annotation regexp.
11424         * simple.el (beginning-of-visual-line): Constrain to field
11425         boundaries (Bug#5106).
11427 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
11429         * xml.el (xml-substitute-numeric-entities): Move
11430         newsticker--decode-numeric-entities in newst-backend.el to
11431         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
11432         * net/newst-backend.el (newsticker--parse-generic-feed)
11433         (newsticker--parse-generic-items)
11434         (newsticker--decode-numeric-entities): Move
11435         newsticker--decode-numeric-entities in newst-backend.el to
11436         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
11438 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
11440         * progmodes/js.el (js--js-not): Add null to the list of values.
11442 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
11444         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
11446 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
11448         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
11449         delimiter if it is at the end of the current line.
11450         (bibtex-generate-url-list): Fix docstring.
11452 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11454         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
11455         minibuffer's content with itself.
11456         Fold the confirm-after-completion case into the `confirm' case.
11457         (completion-pcm-word-delimiters): Add : and / to the delimiters.
11459 2009-12-06  Kevin Ryde  <user42@zip.com.au>
11461         * ffap.el (ffap-rfc-path): Make this a defcustom since
11462         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
11464         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
11465         manuals, similar to existing setup for help-mode.  (Bug#3913.)
11467 2009-12-05  Juri Linkov  <juri@jurta.org>
11469         Save and restore dired buffer's point positions too.  (Bug#4880)
11471         * dired.el (dired-save-positions): Return in the first element
11472         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
11473         Doc fix.
11474         (dired-restore-positions): First restore buffer's position.
11475         While restoring window's positions, check if window still displays
11476         the original buffer.
11478 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
11480         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
11481         if possible.
11483         * shell.el (shell): Require ansi-color (Bug#5113).
11485         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
11487         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
11489 2009-12-05  Alan Mackenzie  <acm@muc.de>
11491         * progmodes/cc-mode.el (c-before-hack-hook)
11492         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
11493         `c-file-style' to work again.  This reversion restores the current
11494         software to its state in Emacs 23.1.  (Bug#4146)
11496 2009-12-05  Kevin Ryde  <user42@zip.com.au>
11498         * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
11499         comment-start-skip to comment-end-skip as comment (Bug#4781).
11501 2009-12-05  Juri Linkov  <juri@jurta.org>
11503         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
11504         for virtual nodes.  (Bug#4147)
11505         (Info-find-node-2): Set `Info-current-node-virtual' to nil
11506         when moving from a virtual node.
11507         (Info-mode-menu): Add `Info-virtual-index' to the menu.
11508         (Info-mode): Add `Info-virtual-index' to the docstring.
11510 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
11512         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
11513         track of the buffer position of the end of a BibTeX entry as this
11514         position may change during reformatting.
11515         (bibtex-format-entry): Remove whitespace before processing
11516         numerical fields so that we recognize the latter properly.
11517         (bibtex-reformat): Do not use push which changes the global value
11518         of bibtex-entry-format.
11519         (bibtex-field-braces-alist, bibtex-field-strings-alist)
11520         (bibtex-field-re-init): Replace only space characters by regexp
11521         for whitespace.
11522         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
11523         (bibtex-initialize): Also update bibtex-strings.
11524         (bibtex-kill-field): Preserve white space at end of entry.
11525         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
11526         Update bibtex-reference-keys.
11528 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11530         * minibuffer.el (completion-pcm--merge-try): Also consider placing
11531         point after a star, if that's the only place where modifications can
11532         make progress.
11534 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
11536         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
11537         in docstrings.
11539 2009-12-04  Juri Linkov  <juri@jurta.org>
11541         * proced.el (proced): Call `(proced-update t)' to update process
11542         information instead of only running proced-post-display-hook.
11543         (proced-send-signal): Add a leading space to the buffer name
11544         " *Marked Processes*" to make this buffer ephemeral.
11546 2009-12-04  Juri Linkov  <juri@jurta.org>
11548         * dired.el (dired-auto-revert-buffer): New defcustom.
11549         (dired-internal-noselect): Use it.
11551 2009-12-04  Juri Linkov  <juri@jurta.org>
11553         Change roles of modes and functions in image-mode.el (Bug#5062).
11555         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
11556         in `auto-mode-alist'.
11557         (image-mode-previous-major-mode): New variable.
11558         (image-minor-mode-map): Rename from `image-mode-text-map'.
11559         (image-mode): Move graceful error-handling code from
11560         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
11561         (image-minor-mode): Remove all image-handling code.
11562         Replace `image-mode-text-map' with `image-minor-mode-map'.
11563         Check for `image-type' in mode-line format string.
11564         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
11565         (image-mode-as-text): New function with most code from
11566         `image-mode-maybe'.
11567         (image-toggle-display-text): Move code that removes image
11568         properties from `image-toggle-display' to here.
11569         (image-toggle-display-image): New function with code that adds
11570         image properties copied from `image-toggle-display'.
11571         (image-toggle-display): Remove most code with leaving only code
11572         that toggles between `image-mode-as-text' and `image-mode'.
11574 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
11576         * net/newst-treeview.el
11577         (newsticker--treeview-list-highlight-start): Restored call to
11578         save-excursion: Selected item was stuck.
11579         (newsticker--treeview-list-select): New.
11580         (newsticker--treeview-item-show-text)
11581         (newsticker--treeview-item-show)
11582         (newsticker--treeview-item-update): Use new
11583         newsticker-treeview-item-mode.
11584         (newsticker-treeview-update): Keep current item.
11585         (newsticker-treeview-next-new-or-immortal-item): Doc change.
11586         (newsticker--treeview-first-feed): Doc change.
11587         (newsticker-treeview-list-menu)
11588         (newsticker-treeview-item-menu): Added menu entries.
11589         (newsticker-treeview-item-mode): New.
11591         * net/newst-backend.el (newsticker-customize): Delete other
11592         windows.
11594 2009-12-04  Sam Steingold  <sds@gnu.org>
11596         * log-view.el (log-view-mode-map): "q" calls quit-window,
11597         like in all the other non-self-insert buffers.
11599 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11601         Minor cleanup.
11602         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
11603         key decoding rather than do it manually via last-input-event +
11604         ascii-character.
11605         (term-exec): Use delete-and-extract-region.
11606         (term-handle-ansi-terminal-messages): Remove unused var `end'.
11607         (term-process-pager): Remove unused var `i'.
11608         (term-dynamic-simple-complete): Make obsolete.
11609         (serial-update-config-menu): Remove unused vars `y' and `str'.
11610         (term-update-mode-line): Remove unused var `temp'.
11612 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
11614         Limit the number of log entries displayed by default.
11615         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
11616         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
11617         using a prefix argument.
11619 2009-12-03  Glenn Morris  <rgm@gnu.org>
11621         * progmodes/idlwave.el (class): Restore still useful declaration.
11623 2009-12-03  Alan Mackenzie  <acm@muc.de>
11625         Enhance `c-parse-state' to run efficiently in "brace deserts".
11627         * progmodes/cc-mode.el (c-basic-common-init):
11628         Call c-state-cache-init.
11629         (c-neutralize-syntax-in-and-mark-CPP): Rename from
11630         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
11631         placing `category' properties value 'c-cpp-delimiter at its boundaries.
11633         * progmodes/cc-langs.el (c-before-font-lock-function):
11634         c-extend-and-neutralize-syntax-in-CPP has been renamed
11635         c-neutralize-syntax-in-and-mark-CPP.
11637         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
11638         with `category' properties now, not `syntax-table' ones.
11640         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
11641         enhanced (but slower) version of c-end-of-macro that won't land
11642         inside a literal or on another awkward character.
11643         (c-state-cache-too-far, c-state-cache-start)
11644         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
11645         (c-state-nonlit-pos-cache-limit, c-state-point-min)
11646         (c-state-point-min-lit-type, c-state-point-min-lit-start)
11647         (c-state-min-scan-pos, c-state-brace-pair-desert)
11648         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
11649         buffer local variables.
11650         (c-state-literal-at, c-state-lit-beg)
11651         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
11652         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
11653         (c-state-cache-top-paren, c-state-cache-after-top-paren)
11654         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
11655         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
11656         (c-renarrow-state-cache)
11657         (c-append-lower-brace-pair-to-state-cache)
11658         (c-state-push-any-brace-pair, c-append-to-state-cache)
11659         (c-remove-stale-state-cache)
11660         (c-remove-stale-state-cache-backwards, c-state-cache-init)
11661         (c-invalidate-state-cache-1, c-parse-state-1)
11662         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
11663         (c-parse-state): Enhance and refactor.
11664         (c-debug-parse-state): Amend to deal with all the new variables.
11666         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
11667         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
11668         modify to use category text properties rather than syntax-table ones.
11669         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
11670         to switch off/on the syntactic paren property of C++ template
11671         delimiters using the category property.
11672         (c-with-<->-as-parens-suppressed): Macro to invoke code with
11673         template delims suppressed.
11674         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
11675         New constant/macros which apply category properties to the start
11676         and end of preprocessor constructs.
11677         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
11678         "comment out" the syntactic value of characters in preprocessor
11679         constructs.
11680         (c-with-cpps-commented-out)
11681         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
11682         with characters in all or all but one preprocessor constructs
11683         "commented out".
11685 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
11687         * proced.el (proced-filter-alist): Use regexp-quote.
11689 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
11691         Cleanup.
11692         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
11693         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
11694         arguments.  Expand `default-directory'.
11696         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
11697         the benefit of returning an expanded localname.
11698         (tramp-tramp-file-p): Handle the case NAME is not a string.
11700 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
11702         Add support for bzr shelve/unshelve.
11703         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11704         (vc-bzr-extra-menu-map): New variables.
11705         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
11706         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
11707         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
11708         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
11709         (vc-bzr-dir-extra-headers): Display shelves.
11711         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
11713 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11715         * textmodes/bibtex.el (bibtex-complete-internal):
11716         Use completion-in-region.
11717         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
11719 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
11721         Support applying stashes.  Improve UI.
11722         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
11723         (vc-git-stash-apply, vc-git-stash-pop)
11724         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
11725         (vc-git-stash-menu): New functions.
11726         (vc-git-stash-menu-map): New variable.
11727         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
11729 2009-12-03  Glenn Morris  <rgm@gnu.org>
11731         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
11732         (vc-print-log-internal): Fix previous change.
11733         (vc-revert): Correct pluralization.
11735 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11737         * progmodes/make-mode.el (makefile-special-targets-list): No need for
11738         it to be an alist any more.
11739         (makefile-complete): Use completion-in-region.
11741         * progmodes/octave-mod.el (octave-complete-symbol):
11742         Use completion-in-region.
11744         Misc cleanup.
11745         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
11746         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
11747         (idlwave-complete-class): Don't quote lambda.
11748         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
11749         (idlwave-mode-map): Move initialization into declaration.
11750         (idlwave-action-and-binding): Use backquotes.
11751         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
11752         Simplify.
11753         (idlwave-is-pointer-dereference): Remove unused var `pos'.
11754         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
11755         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
11756         `parts', and `all-parts'.
11757         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
11758         (idlwave-convert-xml-system-routine-info): Remove unused string
11759         `version-string'.
11760         (idlwave-display-user-catalog-widget): Use dolist.
11761         (idlwave-scanning-lib): Declare dynamically-scoped var.
11762         (idlwave-scan-library-catalogs): Remove unused var `flags'.
11763         (completion-highlight-first-word-only): Declare to silence bytecomp.
11764         (idlwave-popup-select): Tighten scope of `resp'.
11765         (idlwave-find-struct-tag): Remove unused var `beg'.
11766         (idlwave-after-load-rinfo-hook): Declare.
11767         (idlwave-sintern-class-info): Remove unused var `taglist'.
11768         (idlwave-find-class-definition): Remove unused var `list'.
11769         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
11770         (idlwave-what-module-find-class): Remove unused var `classes'.
11772 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
11774         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
11776 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
11778         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
11779         buffers visited.  Remove redundant current-buffer-saving.
11781 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11783         Use completion-in-buffer and remove uses of dynamic scoping.
11784         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
11785         (pascal-buffer-to-use, pascal-flag): Don't declare.
11786         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
11787         (pascal-get-completion-decl, pascal-keyword-completion):
11788         Add `pascal-str' argument, save-excursion,
11789         return the found completions, and don't filter with pascal-pred.
11790         (pascal-completion-cache): New var.
11791         (pascal-completion): Don't switch buffer any more (it was never
11792         necessary).  Don't save-excursion any more (it's done by the called
11793         subroutines).  Use a cache to avoid redundant computations.
11794         Use complete-with-action rather than pascal-completion-response and
11795         let it apply the predicate as well.
11796         (pascal-complete-word): Use completion-in-buffer when
11797         pascal-toggle-completions is nil.
11798         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
11799         not used any more.
11800         (pascal-comp-defun): Don't change buffer any more.
11801         Use complete-with-action rather than pascal-completion-response and
11802         let it apply the predicate as well.
11803         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
11804         when neded.
11806 2009-12-02  Kenichi Handa  <handa@m17n.org>
11808         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
11809         shape for all Indic scripts.
11811 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
11813         Use completion-in-buffer.
11814         * wid-edit.el (widget-field-text-end): New function.
11815         (widget-field-value-get): Use it.
11816         (widget-string-complete, widget-file-complete)
11817         (widget-color-complete): Use it and completion-in-region.
11818         (widget-complete): Don't narrow the buffer.
11820 2009-12-02  Glenn Morris  <rgm@gnu.org>
11822         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
11823         (rmail-select-summary): Use rmail-pop-to-buffer.
11824         * mail/rmailsum.el: Replace all pop-to-buffer calls with
11825         rmail-pop-to-buffer, to prevent horizontal splits.
11827         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
11828         save-excursion with save-current-buffer.
11829         Widen before searching.  (Bug#5093)
11830         (diary-list-sexp-entries): Remove superfluous save-excursion.
11832 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
11834         * woman.el (woman-make-bufname): Handle man-pages with "." in the
11835         name.  (Bug#5038)
11837 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
11839         * ido.el (ido-file-internal): Handle filenames at point that do
11840         not have a directory part.  (Bug#5049)
11842 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
11844         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
11845         (mpc-songs-jump-to, mpc-resume): Doc fixes.
11847 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
11849         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
11850         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
11851         any more.
11853 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11855         * comint.el (comint-insert-input): Ignore clicks to the right of
11856         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
11858         * vc.el (vc-print-log-internal): Don't wait for the process to
11859         terminate before setting up the major mode.
11861         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
11862         in case.
11864         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
11865         the last element.
11867         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
11869 2009-12-01  Glenn Morris  <rgm@gnu.org>
11871         * window.el (window--display-buffer-2): Fix previous changes.
11873 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
11875         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
11877 2009-12-01  Glenn Morris  <rgm@gnu.org>
11879         * Makefile.in (ELCFILES): Add mpc.elc.
11881 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11883         * mpc.el: New file.
11885 2009-12-01  Glenn Morris  <rgm@gnu.org>
11887         * window.el (window-to-use): Define for compiler.
11889         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
11890         consistent with others (no final period).
11892         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
11893         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
11895 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
11897         Make vc-print-log buttons work.
11898         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
11900 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
11902         * savehist.el (savehist-autosave-interval): Allow setting to nil
11903         through customize.  (Bug#5056)
11905 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
11907         Fix references to jit-lock properties.
11908         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
11909         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
11910         (perl-font-lock-special-syntactic-constructs):
11911         Quote jit-lock-defer-multiline property.
11913 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
11915         * vc-git.el (vc-git-registered): Call vc-git-root only once.
11917 2009-11-30  Juri Linkov  <juri@jurta.org>
11919         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
11920         value `buffer' of `multi-isearch-next-buffer-current-function'.
11921         Use `(current-buffer)' when `buffer' is nil.
11922         (multi-isearch-next-buffer-from-list): Don't fallback to
11923         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
11925 2009-11-30  Juri Linkov  <juri@jurta.org>
11927         * misearch.el (multi-isearch-read-buffers): Move canonicalization
11928         of buffers with `get-buffer' to `multi-isearch-buffers'.
11929         (multi-isearch-buffers, multi-isearch-buffers-regexp):
11930         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
11931         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
11932         FILES with `expand-file-name' converting relative file names
11933         to absolute.  Doc fix.  (Bug#4727)
11935 2009-11-30  Juri Linkov  <juri@jurta.org>
11937         * misearch.el (multi-isearch-read-buffers)
11938         (multi-isearch-read-matching-buffers): New functions.
11939         (multi-isearch-buffers, multi-isearch-buffers-regexp):
11940         Use them in the `interactive' spec.  Doc fix.
11941         (multi-isearch-read-files, multi-isearch-read-matching-files):
11942         New functions.
11943         (multi-isearch-files, multi-isearch-files-regexp):
11944         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
11946 2009-11-30  Juri Linkov  <juri@jurta.org>
11948         * doc-view.el (doc-view-continuous):
11949         Rename from `doc-view-continuous-mode'.
11950         (doc-view-menu): Move "Toggle display" to the top.
11951         Add submenu "Continuous" with radio buttons "Off"/"On"
11952         and "Save as Default".
11953         (doc-view-scroll-up-or-next-page)
11954         (doc-view-scroll-down-or-previous-page)
11955         (doc-view-next-line-or-next-page)
11956         (doc-view-previous-line-or-previous-page): Rename
11957         `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
11959 2009-11-30  Juri Linkov  <juri@jurta.org>
11961         * comint.el (comint-mode-map): Rebind `M-r' from
11962         `comint-previous-matching-input' to
11963         `comint-history-isearch-backward-regexp'.
11964         Unbind `M-s' to allow global key binding `M-s'.
11965         Add menu items for `comint-history-isearch-backward' and
11966         `comint-history-isearch-backward-regexp'.  (Bug#3746)
11968 2009-11-30  Juri Linkov  <juri@jurta.org>
11970         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
11971         For def=recenter, replace `recenter' with `recenter-top-bottom'
11972         that is called with `this-command' and `last-command' let-bound
11973         to `recenter-top-bottom'.  When the last `def' was not `recenter',
11974         set `recenter-last-op' to nil.  (Bug#4981)
11976 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
11978         Minor cleanup and simplification.
11979         * filecache.el (file-cache-add-directory)
11980         (file-cache-add-directory-recursively)
11981         (file-cache-add-from-file-cache-buffer)
11982         (file-cache-delete-file-regexp, file-cache-delete-directory)
11983         (file-cache-files-matching-internal, file-cache-display): Use dolist.
11984         (file-cache-temp-minibuffer-message): Delete function.
11985         (file-cache-minibuffer-complete): Use minibuffer-message instead.
11987         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
11988         Don't signal an error when bumping into EOB in tr, s, or y.
11990 2009-11-29  Juri Linkov  <juri@jurta.org>
11992         * startup.el (fancy-about-text): Fix wording of Guided Tour.
11993         (Bug#4960)
11995         * descr-text.el (describe-char-unidata-list): Use lowercase name
11996         for "Unicode name" like in other tags.
11998 2009-11-29  Juri Linkov  <juri@jurta.org>
12000         * ediff-util.el (ediff-minibuffer-with-setup-hook):
12001         New compatibility macro.
12002         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
12004 2009-11-29  Juri Linkov  <juri@jurta.org>
12006         Add defcustom to define the cycling order of `recenter-top-bottom'.
12007         (Bug#4981)
12009         * window.el (recenter-last-op): Doc fix.
12010         (recenter-positions): New defcustom.
12011         (recenter-top-bottom): Rewrite to use `recenter-positions'.
12012         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
12014 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
12016         Improve integration of Tramp and ange-ftp in eshell.
12018         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
12019         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
12020         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
12022         * eshell/esh-util.el (top): Require also Tramp when compiling.
12023         (eshell-directory-files-and-attributes): Check for FTP remote
12024         connection.
12025         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
12026         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
12027         (eshell-file-attributes): Handle ".".  Return `entry'.
12029         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
12030         (ange-ftp-directory-files-and-attributes)
12031         (ange-ftp-real-directory-files-and-attributes): New defuns.
12033         * net/tramp.el (tramp-maybe-open-connection): Open the remote
12034         shell with "exec" when possible.  This prevents trailing prompts
12035         in `start-file-process'.
12037 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12039         Try and remove assumptions about point-min==1.
12040         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
12041         (rng-compute-mode-line-string): Show the validation percentage in
12042         terms of the narrowed text, not the widened text.
12043         (rng-do-some-validation): Don't catch internal errors when debugging.
12044         (rng-first-error): Simplify.
12045         (rng-after-change-function): Remove work around.  AFAIK the bug has
12046         been fixed a while ago.
12048         * image-mode.el (image-minor-mode): Exit more gracefully when the image
12049         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
12051         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
12053         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
12054         `cd' doesn't always do it for us (bug#5067).
12056         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
12057         on 2009-10-25 as part of some other change (bug#5067).
12059 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12061         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
12062         `suspicious'.
12063         (byte-compile-warnings): Use byte-compile-warning-types.
12064         (byte-compile-save-excursion): Warn about use of set-buffer right
12065         after save-excursion.
12067         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
12068         the excursion as well.
12070 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
12072         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
12073         providing a Tramp related implementation of "su" and "sudo".
12074         (eshell-unix-initialize): Add "su" and "sudo".
12076 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
12078         * net/socks.el (socks-send-command): Convert binary request to
12079         unibyte before sending.  This fixes mishandling of some port
12080         numbers such as 129.
12082 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12084         * help.el (describe-bindings-internal): Remove `interactive'.
12086         * man.el (Man-completion-table): Trim a terminating "(".
12087         Remove the space between name page a section.
12088         Add the command's description on the `help-echo' property.
12089         Remove `process-connection-type' binding since it's unused by
12090         call-process.
12091         Provide completion for the "<section> <name>" format as well.
12092         (Man-default-man-entry): Remove spurious var shadowing the argument.
12094 2009-11-26  Kevin Ryde  <user42@zip.com.au>
12096         * log-view.el: Add "Keywords: tools", since its other keywords
12097         aren't in finder-known-keywords, and following vc.el.
12099         * sha1.el (sha1-string-external): default-directory "/" in case
12100         otherwise non-existent.  process-connection-type pipe for touch of
12101         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
12103 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12105         Misc coding convention cleanups.
12106         * htmlfontify.el (hfy-init-kludge-hook): Rename from
12107         hfy-init-kludge-hooks.
12108         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
12109         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
12110         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
12111         and push.
12112         (hfy-slant, hfy-weight): Use tables rather than code.
12113         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
12114         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
12115         (hfy-face-attr-for-class): Initialize `face-spec' directly.
12116         (hfy-face-to-css): Remove `nconc' with single arg.
12117         (hfy-p-to-face-lennart): Use `or'.
12118         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
12119         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
12120         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
12121         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
12122         (hfy-force-fontification): Use run-hooks.
12124 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
12126         Various minor fixes.
12127         * htmlfontify.el (hfy-default-header): Add toggle_invis since
12128         Javascript belongs in the header, not the body.
12129         (hfy-javascript): Remove.
12130         (hfy-fontify-buffer): Don't insert it any more.
12131         (hfy-face-at): Handle (face0 face1 face2) style face properties.
12132         Fix bug in invis handling when there were no invis props in a chunk.
12134 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12136         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
12138 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
12140         * finder.el (finder-mode-map): Add a menu.
12142 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
12144         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
12145         "unsigned" structs.
12147         (verilog-leap-to-head, verilog-backward-token): Handle "disable
12148         fork" statement better.
12150 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
12152         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
12153         (verilog-delete-auto, verilog-delete-empty-auto-pair)
12154         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
12155         Reported by Clay Douglass.
12157         (verilog-auto-inst, verilog-auto-star-safe)
12158         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
12159         Fix removing "// Interfaces" when saving .* expansions.  Reported by
12160         Pierre-David Pfister.
12162 2009-11-26  Glenn Morris  <rgm@gnu.org>
12164         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
12165         the scope.
12167 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
12169         * vc-annotate.el (vc-annotate-revision-previous-to-line):
12170         Really use previous revision.
12172 2009-11-25  Kevin Ryde  <user42@zip.com.au>
12174         * man.el (Man-completion-table): default-directory "/" in case
12175         doesn't otherwise exist.  process-environment COLUMNS=999 so as
12176         not to truncate long names.  process-connection-type pipe to avoid
12177         any chance of hitting the pseudo-tty TIOCGWINSZ.
12178         (man): completion-ignore-case t for friendliness and since man
12179         itself is case-insensitive on the command line.
12180         Further to Bug#3717.
12182         * arc-mode.el: Add "Keywords: files", so the details in its
12183         commentary can be reached from finder-by-keyword.
12184         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
12185         editing mode, but it's comms related and sgml-mode.el has "comm"
12186         on that basis too.
12187         * textmodes/bibtex-style.el: Add "Keywords: tex".
12188         * international/isearch-x.el, international/ja-dic-cnv.el:
12189         * international/ja-dic-utl.el, international/kkc.el:
12190         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
12192 2009-11-25  Juri Linkov  <juri@jurta.org>
12194         * man.el (Man-completion-table): Modify regexp to include
12195         section names to completion strings.  (Bug#3717)
12197 2009-11-25  Juri Linkov  <juri@jurta.org>
12199         Search recursively in gzipped files.  (Bug#4982)
12201         * progmodes/grep.el (grep-highlight-matches): Add new options
12202         `always' and `auto'.  Doc fix.
12203         (grep-process-setup): Check `grep-highlight-matches' for
12204         `auto-detect' to determine the need to compute grep defaults.
12205         Move Windows/DOS specific --colors settings handling
12206         to `grep-compute-defaults'.  Check `grep-highlight-matches'
12207         to get the value of "--color=".
12208         (grep-compute-defaults): Compute `grep-highlight-matches' when it
12209         has the value `auto-detect'.  Move Windows/DOS specific settings
12210         from `grep-process-setup'.
12211         (zrgrep): New command with alias `rzgrep'.
12213 2009-11-25  Juri Linkov  <juri@jurta.org>
12215         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
12216         to nil instead of switching off view-mode.  (Bug#4896)
12218 2009-11-25  Juri Linkov  <juri@jurta.org>
12220         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
12222         * mwheel.el (mwheel-scroll-up-function)
12223         (mwheel-scroll-down-function): New defvars.
12224         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
12225         `scroll-up', and `mwheel-scroll-down-function' instead of
12226         `scroll-down'.
12228         * doc-view.el (doc-view-scroll-up-or-next-page)
12229         (doc-view-scroll-down-or-previous-page): Add optional ARG.
12230         Use this ARG in the call to image-scroll-up/image-scroll-down.
12231         Change `interactive' spec to "P".  Goto next/previous page only
12232         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
12233         SPC/DEL case).  Doc fix.
12234         (doc-view-next-line-or-next-page)
12235         (doc-view-previous-line-or-previous-page): Rename arg to ARG
12236         for consistency.
12237         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
12238         `doc-view-scroll-up-or-next-page', and buffer-local
12239         `mwheel-scroll-down-function' to
12240         `doc-view-scroll-down-or-previous-page'.
12242 2009-11-25  Juri Linkov  <juri@jurta.org>
12244         Provide additional default values (directories at other Dired
12245         windows) via M-n in the minibuffer of some Dired commands.
12247         * dired-aux.el (dired-diff, dired-compare-directories)
12248         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
12249         `minibuffer-default' in `minibuffer-with-setup-hook'.
12250         (dired-dwim-target-directory): Find a window that displays Dired
12251         buffer instead of failing when the next window is not Dired.
12252         Use `get-window-with-predicate' to find for the next Dired window.
12253         (dired-dwim-target-defaults): New function.
12255         * ediff-util.el (ediff-read-file-name):
12256         Use `dired-dwim-target-defaults' to set `minibuffer-default'
12257         in `minibuffer-with-setup-hook'.
12259 2009-11-25  Juri Linkov  <juri@jurta.org>
12261         Provide additional default values (file name at point or at the
12262         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
12264         * minibuffer.el (read-file-name-defaults): New function.
12265         (read-file-name): Reset `minibuffer-default' to nil when
12266         it duplicates initial input `insdef'.
12267         Bind `minibuffer-default-add-function' to lambda that
12268         calls `read-file-name-defaults' in `minibuffer-selected-window'.
12269         (minibuffer-insert-file-name-at-point): New command.
12271         * files.el (file-name-at-point-functions): New defcustom.
12272         (find-file-default): Remove defvar.
12273         (find-file-read-args): Don't use `find-file-default'.
12274         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12275         to `read-file-name'.
12276         (find-file-literally): Use `read-file-name' with
12277         `confirm-nonexistent-file-or-buffer'.
12279         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
12281         * dired.el (dired-read-dir-and-switches):
12282         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
12283         to `read-file-name'.
12284         (dired-file-name-at-point): New function.
12285         (dired-mode): Add hook `dired-file-name-at-point' to
12286         `file-name-at-point-functions'.
12288 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12290         Really make the *Completions* window soft-dedicated (bug#5030).
12291         * window.el (window--display-buffer-2): Add `dedicated' argument.
12292         (display-buffer): Pass it when needed so the dedicated flag is set
12293         after calling set-window-buffer, which would otherwise reset it.
12295 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12297         * progmodes/meta-mode.el (meta-complete-symbol):
12298         * progmodes/etags.el (complete-tag):
12299         * mail/mailabbrev.el (mail-abbrev-complete-alias):
12300         Use completion-in-region.
12302         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
12303         (dabbrev-completion): Use completion-in-region.
12304         (dabbrev--abbrev-at-point): Simplify regexp.
12306         * abbrev.el (abbrev--before-point): Use word-motion functions
12307         if :regexp is not specified (bug#5031).
12309         * subr.el (string-prefix-p): New function.
12311         * man.el (Man-completion-cache): New var.
12312         (Man-completion-table): Use it.
12314         * vc.el (vc-print-log-internal): Make `limit' optional for better
12315         compatibility (e.g. with vc-annotate.el).
12317 2009-11-24  Kevin Ryde  <user42@zip.com.au>
12319         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
12320         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
12322         * emacs-lisp/elint.el (elint-add-required-env): Better error message
12323         when .el source file not found or other error.
12325 2009-11-24  Markus Triska  <markus.triska@gmx.at>
12327         * linum.el (linum-update-window): Ignore intangible (bug#4996).
12329 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12331         Handle the [back] button properly (bug#4979).
12332         * descr-text.el (describe-text-properties): Add a `buffer' argument.
12333         Use help-setup-xref, help-buffer, and with-help-window.
12334         (describe-char): Add `buffer' argument.
12335         Pass proper command to help-setup-xref.  Don't meddle with
12336         help-xref-stack-item directly.
12337         (describe-text-category): Use with-help-window and help-buffer.
12339         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
12340         for the displayed buffer (bug#4887).
12342         * man.el (Man-completion-table): New function.
12343         (man): Use it.
12345 2009-11-24  David Reitter  <david.reitter@gmail.com>
12347         * vc-git.el (vc-git-registered): Use checkout directory (where
12348         .git is) rather than the file's directory and a relative path spec
12349         to work around a bug in git.
12351 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
12353         Improve handling of processes on remote hosts.
12355         * eshell/esh-util.el (eshell-path-env): New defvar.
12356         (eshell-parse-colon-path): New defun.
12357         (eshell-file-attributes): Use `eshell-parse-colon-path'.
12359         * eshell/esh-ext.el (eshell-search-path):
12360         Use `eshell-parse-colon-path'.
12361         (eshell-remote-command): Remove argument HANDLER.
12362         (eshell-external-command): Check for FTP remote connection.
12364         * eshell/esh-proc.el (eshell-gather-process-output):
12365         Use `file-truename', in order to start also symlinked files.
12366         Apply `start-file-process' instead of `start-process'.
12367         Shorten `command' to the local file name part.
12369         * eshell/em-cmpl.el (eshell-complete-commands-list):
12370         Use `eshell-parse-colon-path'.
12372         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
12374         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
12375         to `eshell-directory-change-hook'.
12377 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
12379         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
12380         because it could be enabled automatically if view-read-only is non-nil.
12382 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
12384         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
12385         made on 2009-11-22.
12387 2009-11-24  Glenn Morris  <rgm@gnu.org>
12389         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
12390         deleted variable bookmark-bmenu-bookmark-column.
12392 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
12394         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
12396 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
12398         * net/browse-url.el (browse-url-filename-alist): On Windows, add
12399         two slashes to the "file:" prefix.
12400         (browse-url-file-url): De-munge Cygwin filenames before passing
12401         them to Windows browser.
12402         (browse-url-default-windows-browser): Use call-process.
12404 2009-11-23  Juri Linkov  <juri@jurta.org>
12406         Implement DocView Continuous mode.  (Bug#4896)
12407         * doc-view.el (doc-view-continuous-mode): New defcustom.
12408         (doc-view-mode-map): Bind C-n/<down> to
12409         `doc-view-next-line-or-next-page', C-p/<up> to
12410         `doc-view-previous-line-or-previous-page'.
12411         (doc-view-next-line-or-next-page)
12412         (doc-view-previous-line-or-previous-page): New commands.
12414 2009-11-23  Juri Linkov  <juri@jurta.org>
12416         Implement Isearch in comint input history.  (Bug#3746)
12417         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
12418         `isearch-mode-hook'.
12419         (comint-history-isearch): New defcustom.
12420         (comint-history-isearch-backward)
12421         (comint-history-isearch-backward-regexp): New commands.
12422         (comint-history-isearch-message-overlay): New buffer-local variable.
12423         (comint-history-isearch-setup, comint-history-isearch-end)
12424         (comint-goto-input, comint-history-isearch-search)
12425         (comint-history-isearch-message, comint-history-isearch-wrap)
12426         (comint-history-isearch-push-state)
12427         (comint-history-isearch-pop-state): New functions.
12429 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
12431         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
12432         return.
12433         (tramp-handle-make-symbolic-link)
12434         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
12435         Quote file names.
12436         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
12437         (tramp-handle-process-file): Use it.
12439 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
12441         * window.el (move-to-window-line-last-op): Remove.
12442         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
12444 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
12446         Make M-r mirror the new cycling behavior of C-l.
12447         * window.el (move-to-window-line-last-op): New var.
12448         (move-to-window-line-top-bottom): New command.
12449         (global-map): Bind M-r move-to-window-line-top-bottom.
12451 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
12453         * dired-x.el (dired-guess-shell-alist-default):
12454         Support xz format.  (Bug#4953)
12456 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
12458         * emulation/viper-cmd.el: Use viper-last-command-char instead of
12459         last-command-char/last-command-event.
12460         (viper-prefix-arg-value): Do correct conversion of event-char for
12461         XEmacs.
12463         * emulation/viper-util.el, emulation/viper.el:
12464         Use viper-last-command-char instead of
12465         last-command-char/last-command-event.
12467         * ediff-init.el, ediff-mult.el, ediff-util.el:
12468         Replace last-command-char and last-command-event
12469         with (ediff-last-command-char) everywhere.
12471         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
12472         created in fundamental mode.
12474         * ediff.el (ediff-version): Revert the change of interactive-p to
12475         called-interactively-p.
12477 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
12479         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
12480         generation from word-movement command names.
12482 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
12484         * cus-start.el (all): Add native condition for font-use-system-font.
12486 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
12488         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
12489         Correct the patch from 2009-11-18.  (Bug#3910)
12491 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
12493         * progmodes/subword.el: Rename from lisp/subword.el.
12495         * subword.el: Rename to progmodes/subword.el.
12497         * Makefile.in (ELCFILES): Adapt to subword.el move.
12499 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12500             Stefan Monnier  <monnier@iro.umontreal.ca>
12502         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
12503         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
12504         (bookmark-bmenu-show-filenames): Use push.
12505         (bookmark-bmenu-hide-filenames): Use local var instead of
12506         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
12507         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
12508         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
12509         filenames now that the bookmark names are always available.
12511 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
12513         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
12514         (bookmark-search-pattern): Move and leave unbound.
12515         (bookmark-bmenu-mode-map): Change binding.
12516         (bookmark-read-search-input): Simplify.
12517         Don't use text-char-description.  Don't error on non-char events.
12518         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
12519         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
12520         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
12521         Use a local var for the timer.
12522         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
12523         (i.e. bookmark-bmenu-search).
12525 2009-11-21  Glenn Morris  <rgm@gnu.org>
12527         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
12529 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
12531         * net/browse-url.el (browse-url-default-windows-browser):
12532         Use cygstart for cygwin.
12534 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
12536         * bookmark.el: Formatting and doc fixes only:
12537         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
12538         (bookmark-bmenu-search): Wrap to fit within 80 columns.
12539         Minor grammar and punctuation fixes in doc string.
12540         (bookmark-read-search-input): Adjust to fit within 80 columns.
12542 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
12544         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
12545         (c-backward-into-nomenclature): Adapt to subword renaming.
12547         * subword.el (subword-forward, subword-backward, subword-mark)
12548         (subword-kill, subword-backward-kill, subword-transpose)
12549         (subword-downcase, subword-upcase, subword-capitalize)
12550         (subword-forward-internal, subword-backward-internal):
12551         Rename from forward-subword, backward-subword, mark-subword,
12552         kill-subword, backward-kill-subword, transpose-subwords,
12553         downcase-subword, upcase-subword, capitalize-subword,
12554         forward-subword-internal, backward-subword-internal.
12556 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
12558         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
12559         New options.
12560         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
12561         New vars.
12562         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
12563         (bookmark-bmenu-filter-alist-by-regexp)
12564         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
12565         (bookmark-bmenu-search): New command.
12566         (bookmark-bmenu-mode-map): Bind it.
12568 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
12570         * progmodes/cc-cmds.el: declare-functioned forward-subword and
12571         backward-subword to quit the byte-compiler.
12573         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
12575         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
12577         * progmodes/cc-cmds.el (c-update-modeline)
12578         (c-forward-into-nomenclature, c-backward-into-nomenclature):
12579         Refer to subword.el functions instead of cc-subword.el.
12581         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
12582         subword.el functions instead of cc-subword.el.
12584         * progmodes/cc-subword.el: Rename to subword.el.
12585         * subword.el: Rename from progmodes/cc-subword.el.
12586         (subword-mode-map): Rename from c-subword-mode-map.
12587         (subword-mode): Rename from c-subword-mode.
12588         (global-subword-mode): New global minor mode.
12589         (forward-subword): Rename from c-forward-subword.
12590         (backward-subword): Rename from c-backward-subword.
12591         (mark-subword): Rename from c-mark-subword.
12592         (kill-subword): Rename from c-kill-subword.
12593         (backward-kill-subword): Rename from c-backward-kill-subword.
12594         (transpose-subwords): Rename from c-tranpose-subword.
12595         (downcase-subword): Rename from c-downcase-subword.
12596         (capitalize-subword): Rename from c-capitalize-subword.
12597         (forward-subword-internal): Rename from c-forward-subword-internal.
12598         (backward-subword-internal): Rename from c-backward-subword-internal.
12600 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
12602         * vc.el (vc-deduce-fileset): Allow non-state changing operations
12603         from a dired buffer.
12604         (vc-dired-deduce-fileset): New function.
12605         (vc-root-diff, vc-print-root-log): Use it.
12607         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
12608         nil LIMIT argument to vc-print-log-internal.
12610 2009-11-20  Glenn Morris  <rgm@gnu.org>
12612         * Makefile.in (ELCFILES): Regenerate.
12614 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
12616         * calc/calc.el (calc-set-mode-line):
12617         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12618         (math-format-number): Rename `math-format-complement-signed' to
12619         `math-format-twos-complement'.
12621         * calc/calc-bin.el (math-format-twos-complement): Rename from
12622         math-format-complement-signed.
12623         (calc-radix): Rename `calc-complement-signed-mode' to
12624         `calc-twos-complement-mode'.
12625         (calc-octal-radix, calc-hex-radix): Add an argument for
12626         two's complement.
12628         * calc/calc-embed.el (calc-embedded-mode-vars):
12629         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12631         * calc/calc-ext.el (calc-init-extensions):
12632         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
12633         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
12635         * calc/calc-units.el (math-build-units-table-buffer):
12636         Let `calc-twos-complement-mode' be nil.
12638         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
12639         entries.
12641         * calc/calc-vec.el (calcFunc-vunpack):
12642         * calc/calc-aent.el (calc-do-calc-eval):
12643         * calc/calc-forms.el (math-format-date):
12644         * calc/calc-graph.el (calc-graph-plot):
12645         * calc/calc-math.el (math-use-emacs-fn):
12646         * calc/calccomp.el (math-compose-expr):
12647         Let `calc-twos-complement-mode' be nil.
12649 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12651         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
12652         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
12653         * minibuffer.el (completion-in-region-functions): New hook.
12654         (completion-in-region): New function.
12655         * emacs-lisp/lisp.el (lisp-complete-symbol):
12656         * pcomplete.el (pcomplete-std-complete): Use it.
12658 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12660         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
12661         (latex-complete-alist): New vars.
12662         (latex-string-prefix-p, latex-complete-bibtex-keys)
12663         (latex-complete-envnames, latex-complete-refkeys)
12664         (latex-complete-data): New functions.
12665         (latex-complete, latex-indent-or-complete): New commands.
12667         * window.el (display-buffer-mark-dedicated): New var.
12668         (display-buffer): Obey it.
12669         * minibuffer.el (minibuffer-completion-help): Use it.
12671         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
12673         * filecache.el (file-cache-add-file): Use push and cons.
12674         (file-cache-delete-file-regexp): Use push.
12675         (file-cache-complete): Use completion-in-region.
12677         * simple.el (with-wrapper-hook): Fix thinko.
12679         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
12680         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
12681         Use with-current-buffer and string-to-number.
12682         (hfy-fallback-colour-values): Use assoc-string.
12683         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
12684         (hfy-face-at): Remove unused var `found-face'.
12685         (hfy-compile-stylesheet): Remove unused var `css'.
12686         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
12687         and `orig-buffer'.
12688         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
12689         Use with-current-buffer.
12690         (hfy-text-p): Use expand-file-name and fewer setq.
12692 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
12694         * htmlfontify.el, hfy-cmap.el: New files.
12696 2009-11-19  Juri Linkov  <juri@jurta.org>
12698         * minibuffer.el (completions-format): New defcustom.
12699         (completion--insert-strings): Implement vertical format.
12701         * simple.el (switch-to-completions): Move point to the first
12702         completion when point was at the beginning of the buffer.
12704 2009-11-19  Juri Linkov  <juri@jurta.org>
12706         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
12708         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
12710 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
12712         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
12713         (mail-signature): Change default to t.
12714         (mail-from-style): Deprecate `system-default' value.
12715         (mail-insert-from-field): For default value of mail-from-style,
12716         default to `angles' unless `angles' needs quoting and `parens'
12717         does not.
12718         (mail-citation-prefix-regexp): Use citation regexp from
12719         message-mode.
12721 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
12723         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
12724         Set variables for computing the prompt for reading password.
12726 2009-11-19  Glenn Morris  <rgm@gnu.org>
12728         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
12730         * textmodes/flyspell.el (sgml-lexical-context): Declare.
12732         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
12733         (newsticker-treeview-listwindow-height): Fix custom type.
12735 2009-11-19  Kenichi Handa  <handa@m17n.org>
12737         * descr-text.el (describe-char-padded-string): Compose with TAB
12738         only if there's a font for CH.
12739         (describe-char): Fix the condition for detecting a trivial composition.
12741 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
12743         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
12744         more accurate version of the regexp.  (Bug#3910)
12746 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
12748         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
12750 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
12752         * font-setting.el (font-use-system-font): Declare for byte-compiler.
12753         (font-setting-change-default-font): Fix typo in docstring.
12755 2009-11-18  Alan Mackenzie  <acm@muc.de>
12757         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
12759 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
12761         * font-setting.el (font-use-system-font): Move ...
12763         * cus-start.el (all): ... to here.
12765 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
12767         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
12768         Don't set `ad-return-value' if `ad-do-it' doesn't.
12770         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
12771         modification time.
12773 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
12775         * menu-bar.el: Put "Use system font" in Option-menu.
12776         (menu-bar-options-save): Add font-use-system-font.
12778         * loadup.el: If feature system-font-setting or font-render-setting is
12779         there, load font-setting.
12781         * Makefile.in (ELCFILES): Add font-settings.el.
12782         * font-setting.el: New file.
12784 2009-11-17  Glenn Morris  <rgm@gnu.org>
12786         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
12788         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
12789         Preserve point in the list buffer.  (Bug#4939)
12790         Use point-at-eol.
12791         (newsticker--treeview-list-update-highlight)
12792         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
12794 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
12796         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
12797         Remove.
12799         * calc/calc-ext.el (calc-init-extensions): Remove references to
12800         symclip.
12802         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
12804         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
12805         * calc/calc-help.el (calc-b-prefix-help): Remove references to
12806         `calc-symclip'.
12808 2009-11-16  Kevin Ryde  <user42@zip.com.au>
12810         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
12811         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
12813         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
12814         (lm-keywords-list): Allow comma-only separator like "foo,bar".
12815         Ignore trailing spaces by omit-nulls to split-string (fixing
12816         regression from Emacs 21 due to the incompatible split-string
12817         change).  (Bug #4928.)
12819 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
12821         * vc.el (vc-log-show-limit): Default to 2000.
12822         (vc-print-log-internal): Insert buttons to request more entries
12823         when limiting the output.
12825         * vc-sccs.el (vc-sccs-print-log):
12826         * vc-rcs.el (vc-rcs-print-log):
12827         * vc-cvs.el (vc-cvs-print-log):
12828         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
12829         LIMIT is non-nil.
12831 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
12833         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
12834         error when `tramp-gvfs-dbus-event-vector' is set.
12835         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
12837 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12839         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
12841 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
12843         * net/dbus.el (dbus-unregister-service): New defun.
12844         (dbus-register-property): Register the handlers of
12845         "org.freedesktop.DBus.Properties" for SERVICE.
12846         (dbus-property-handler): Fix docstring.
12848 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
12850         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
12851         Quote doc string reference in defvaralias as it is not in special form.
12852         (byte-compile-output-docform): Doc fix.
12854 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
12856         * calc/calc.el (math-2-word-size, math-half-2-word-size)
12857         (calc-complement-signed-mode): New variables.
12858         (calc-set-mode-line): Add indicator for twos-complements.
12859         (math-format-number): Format twos-complement notation.
12861         * calc/calc-bin.el (calc-word-size): Reset the variables
12862         `math-2-word-size' and `math-half-2-word-size'.
12863         (math-format-complement-signed, math-symclip, calcFunc-symclip)
12864         (calc-symclip): New functions.
12866         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
12868         * calc/calc-embed.el (calc-embedded-mode-vars):
12869         Add `calc-complement-signed-mode' to the list of modes.
12871         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
12872         (calc-b-oper-keys): Add `calc-symclip' to list.
12874         * calc/calc-ext.el (math-read-number-fancy): Read complement
12875         signed numbers.
12876         (calc-init-extensions): Add binding for `calc-symclip'.
12877         Add autoload for `calcFunc-symclip' and `calc-symclip'.
12879         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
12880         `calc-symclip'.
12881         (calc-modes-menu): Add item for twos complement mode.
12883         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
12885 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
12887         * register.el (jump-to-register, insert-register): Handle Semantic
12888         tags.  From commented-out advice in semantic/senator.el.
12890 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
12892         * vc.el (vc-log-show-limit): New variable.
12893         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
12894         when using a prefix argument.
12895         (vc-print-log-internal): Add new argument LIMIT.
12897         * vc-svn.el (vc-svn-print-log):
12898         * vc-mtn.el (vc-mtn-print-log):
12899         * vc-hg.el (vc-hg-print-log):
12900         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
12901         pass it to the log command when set.  Make the BUFFER argument
12902         non-optional.
12904         * vc-sccs.el (vc-sccs-print-log):
12905         * vc-rcs.el (vc-rcs-print-log):
12906         * vc-git.el (vc-git-print-log):
12907         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
12908         ignore it.  Make the BUFFER argument non-optional
12910         * bindings.el (mode-line-buffer-identification): Do not purecopy.
12912 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
12914         * dired.el (dired-mode-map): Move encryption items to "Operate"
12915         menu (Bug#4703).
12917         * strokes.el (strokes-update-window-configuration): Make strokes
12918         buffer current before erasing (Bug#4906).
12920 2009-11-15  Juri Linkov  <juri@jurta.org>
12922         * simple.el (set-mark-default-inactive): Add :type, :group
12923         and :version.  (Bug#4876)
12925 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
12927         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
12928         (archive-unique-fname): ... here.  (Bug#4929)
12930 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
12932         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
12933         with a real fix.
12935         * novice.el (disabled-command-function): Add useful args.
12936         Setup the help buffer so that [back] works.
12937         Remove redundant call to help-mode.
12938         (disabled-command-function): Use `case'.
12939         (en/disable-command): New function extracted from enable-command.
12940         (enable-command, disable-command): Use it.
12942 2009-11-14  Glenn Morris  <rgm@gnu.org>
12944         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
12945         constants.  (Bug#4913)
12947         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
12949 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
12951         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
12952         defined in C that have no doc-strings.  (Bug#1063)
12954 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
12956         * cus-edit.el (data, files):
12957         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
12959 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
12961         * simple.el (shell-command): Doc fix (Bug#4891).
12963         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
12965 2009-11-14  Glenn Morris  <rgm@gnu.org>
12967         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
12968         statements for vc-diff, emerge-quit, and rmail-cease-edit.
12969         If they are already loaded, eval-after-load will do the right thing.
12971         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
12972         compiling.
12974         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
12976         * simple.el (x-selection-owner-p): Declare.
12977         (read-mail-command): Use custom radio type rather than choice.
12978         (completion-no-auto-exit): Doc fix.
12980         * custom.el (defgroup):
12981         * epg-config.el (epg): Doc fixes.
12983 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
12985         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
12986         * international/ccl.el (define-ccl-program): Do not purecopy the
12987         docstring, defconst does it anyway.
12989 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12991         * add-log.el (add-change-log-entry): Avoid displaying the changelog
12992         a second time.
12994         * x-dnd.el (x-dnd-maybe-call-test-function):
12995         * window.el (split-window-vertically):
12996         * whitespace.el (whitespace-help-on):
12997         * vc-rcs.el (vc-rcs-consult-headers):
12998         * userlock.el (ask-user-about-lock-help)
12999         (ask-user-about-supersession-help):
13000         * type-break.el (type-break-force-mode-line-update):
13001         * time-stamp.el (time-stamp-conv-warn):
13002         * terminal.el (te-set-output-log, te-more-break, te-filter)
13003         (te-sentinel, terminal-emulator):
13004         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
13005         (term-write-input-ring, term-check-source, term-start-output-log):
13006         (term-display-buffer-line, term-dynamic-list-completions):
13007         (term-ansi-make-term, serial-term):
13008         * subr.el (selective-display):
13009         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
13010         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
13011         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
13012         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
13013         (speedbar-remove-localized-speedbar-support)
13014         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
13015         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
13016         (speedbar-buffers-line-directory):
13017         * simple.el (shell-command-on-region, append-to-buffer)
13018         (prepend-to-buffer):
13019         * shadowfile.el (shadow-save-todo-file):
13020         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
13021         (scroll-bar-maybe-set-window-start):
13022         * sb-image.el (speedbar-image-dump):
13023         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
13024         (load-save-place-alist-from-file):
13025         * ps-samp.el (ps-print-message-from-summary):
13026         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
13027         (ps-background-image, ps-begin-job, ps-do-despool):
13028         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
13029         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
13030         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
13031         (pr-call-process, pr-file-list, pr-interface-save):
13032         * novice.el (disabled-command-function)
13033         (enable-command, disable-command):
13034         * mouse.el (mouse-buffer-menu-alist):
13035         * mouse-copy.el (mouse-kill-preserving-secondary):
13036         * macros.el (kbd-macro-query):
13037         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
13038         * informat.el (batch-info-validate):
13039         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
13040         * hippie-exp.el (try-expand-dabbrev-visible):
13041         * help-mode.el (help-make-xrefs):
13042         * help-fns.el (describe-variable):
13043         * generic-x.el (bat-generic-mode-run-as-comint):
13044         * finder.el (finder-mouse-select):
13045         * find-dired.el (find-dired-sentinel):
13046         * filesets.el (filesets-file-close):
13047         * files.el (list-directory):
13048         * faces.el (list-faces-display, describe-face):
13049         * facemenu.el (list-colors-display):
13050         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
13051         * epg.el (epg--process-filter, epg-cancel):
13052         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
13053         (epa--read-signature-type):
13054         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
13055         (emerge-file-names):
13056         * ehelp.el (electric-helpify):
13057         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
13058         * ediff-vers.el (rcs-ediff-view-revision):
13059         * ediff-util.el (ediff-setup):
13060         * ediff-mult.el (ediff-append-custom-diff):
13061         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
13062         (ediff-wordify):
13063         * echistory.el (Electric-command-history-redo-expression):
13064         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
13065         * disp-table.el (describe-display-table):
13066         * dired.el (dired-find-buffer-nocreate):
13067         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
13068         * dabbrev.el (dabbrev--same-major-mode-p):
13069         * chistory.el (list-command-history):
13070         * apropos.el (apropos-documentation):
13071         * allout.el (allout-obtain-passphrase):
13072         (allout-copy-exposed-to-buffer):
13073         (allout-verify-passphrase): Use with-current-buffer.
13075 2009-11-13  Glenn Morris  <rgm@gnu.org>
13077         * Makefile.in (ELCFILES): Regenerate.
13079 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
13081         * net/dbus.el (dbus-registered-objects-table): Rename from
13082         `dbus-registered-functions-table', because it contains also properties.
13083         (dbus-unregister-object): Unregister also properties.
13084         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13085         Use a timeout of 500 msec, in order to not block.
13086         (dbus-register-property, dbus-property-handler): New defuns.
13088 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
13090         * simple.el (minibuffer-default-add-completions): Drop deprecated
13091         4th arg.
13093 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
13095         * textmodes/artist.el (artist-mouse-choose-operation):
13096         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
13097         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
13098         (artist-compute-up-event-key): New function.
13099         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
13101 2009-11-13  Kenichi Handa  <handa@m17n.org>
13103         * language/japan-util.el: Make sure that the value of jisx0208
13104         property is jisx0208 character.
13106 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
13108         * international/mule.el (auto-coding-regexp-alist): Only purecopy
13109         car or each item, not the whole list.
13111 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
13113         * minibuffer.el (minibuffer-completion-help):
13114         Use minibuffer-hide-completions.
13116 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
13118         * dired.el (dired-save-positions, dired-restore-positions): New funs.
13119         (dired-revert): Use them (bug#4880).
13121 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
13123         * tooltip.el (tooltip-frame-parameters): Undo previous change.
13125 2009-11-12  Juri Linkov  <juri@jurta.org>
13127         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
13128         New functions.
13129         (find-file-literally-at-point): Alias of `ffap-literally'.
13131 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
13133         * textmodes/ispell.el (ispell-skip-region-alist):
13134         * textmodes/css-mode.el (auto-mode-alist):
13135         * progmodes/compile.el (auto-mode-alist):
13136         * international/mule.el (ctext-non-standard-encodings-alist)
13137         (ctext-non-standard-encodings-regexp):
13138         * simple.el (shell-command-switch, text-read-only):
13139         * replace.el (occur-mode-map):
13140         * paths.el (rmail-file-name):
13141         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
13142         * find-file.el (ff-special-constructs):
13143         * files.el (file-name-handler-alist):
13144         * composite.el: Purecopy strings.
13146         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
13148 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
13150         * widget.el (define-widget): Purecopy the docstring.
13151         * international/mule-cmds.el (charset): Do not purecopy the
13152         docstring here, define-widget does it.
13154         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
13155         * textmodes/bibtex-style.el (auto-mode-alist):
13156         * progmodes/inf-lisp.el (inferior-lisp-prompt):
13157         * progmodes/compile.el (compile-command):
13158         * language/korea-util.el (default-korean-keyboard):
13159         * international/mule-conf.el (file-coding-system-alist):
13160         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
13161         * tooltip.el (tooltip-frame-parameters):
13162         * newcomment.el (comment-end, comment-padding):
13163         * dired.el (dired-trivial-filenames):
13164         * comint.el (comint-file-name-prefix): Purecopy initial values.
13166 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
13168         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
13169         (tramp-advice-minibuffer-electric-tilde): Unload advices via
13170         `tramp-unload'.
13171         (tramp-advice-make-auto-save-file-name)
13172         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
13173         after removing the advice.
13175 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
13177         * progmodes/grep.el (grep-regexp-alist):
13178         * international/mule-cmds.el (iso-2022-control-alist):
13179         * emacs-lisp/timer.el (timer-duration-words):
13180         * subr.el (version-separator, version-regexp-alist):
13181         * minibuffer.el (completion-styles-alist):
13182         * faces.el (face-attribute-name-alist, list-faces-sample-text):
13183         Change defvars to defconsts.
13185         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
13186         * loadup.el ("international/mule-conf"): Load the byte compiled version.
13187         * international/mule-conf.el: Allow to be byte compiled.
13189         * international/mule.el (define-charset): Purecopy props.
13190         (load-with-code-conversion): Purecopy doc string and file name.
13191         (put-charset-property): Purecopy strings.
13192         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
13194         * international/mule-cmds.el (register-input-method): Purecopy arguments.
13195         (define-char-code-property): Correctly purecopy the table.
13197         * international/ccl.el (define-ccl-program): Purecopy the docstring.
13199         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
13201         * subr.el (add-hook): Purecopy strings.
13202         (eval-after-load): Purecopy load-history-regexp and the form.
13204         * custom.el (custom-declare-group): Purecopy load-file-name.
13206         * subr.el (menu-bar-separator): New defconst.
13207         * net/eudc.el (eudc-tools-menu):
13208         * international/mule-cmds.el (set-coding-system-map)
13209         (mule-menu-keymap):
13210         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
13211         * vc-hooks.el (vc-menu-map):
13212         * replace.el (occur-mode-map):
13213         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
13214         (menu-bar-edit-menu, menu-bar-goto-menu)
13215         (menu-bar-custom-menu, menu-bar-showhide-menu)
13216         (menu-bar-options-menu, menu-bar-tools-menu)
13217         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
13218         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
13219         (menu-bar-help-menu):
13220         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
13221         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
13223         * term/x-win.el (x-gtk-stock-map):
13224         * progmodes/vera-mode.el (auto-mode-alist):
13225         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
13226         (inferior-lisp-program, inferior-lisp-load-command):
13227         * progmodes/hideshow.el (hs-special-modes-alist):
13228         * progmodes/gud.el (same-window-regexps):
13229         * progmodes/grep.el (grep-program, find-program, xargs-program):
13230         * net/telnet.el (same-window-regexps):
13231         * net/rlogin.el (same-window-regexps):
13232         * language/ethiopic.el (font-ccl-encoder-alist):
13233         * vc-sccs.el (vc-sccs-master-templates):
13234         * vc-rcs.el (vc-rcs-master-templates):
13235         * subr.el (cl-assertion-failed):
13236         * simple.el (next-error-overlay-arrow-position):
13237         * lpr.el (lpr-command):
13238         * locate.el (locate-ls-subdir-switches):
13239         * info.el (same-window-regexps, info)
13240         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
13241         * image-mode.el (image-mode, auto-mode-alist):
13242         * hippie-exp.el (hippie-expand-ignore-buffers):
13243         * format.el (format-alist):
13244         * find-dired.el (find-ls-subdir-switches, find-grep-options)
13245         (find-name-arg):
13246         * facemenu.el (facemenu-keybindings):
13247         * dired.el (dired-listing-switches, dired-chown-program):
13248         * diff.el (diff-switches, diff-command):
13249         * cus-edit.el (same-window-regexps):
13250         * bindings.el (mode-line-mule-info)
13251         (mode-line-buffer-identification): Purecopy strings.
13253 2009-11-11  Juri Linkov  <juri@jurta.org>
13255         * simple.el (dired-get-filename) <declare-function>:
13256         Tell the byte-compiler about dired-get-filename.
13257         (shell-command): In Dired mode, get filename from the current line
13258         as the default value.
13260 2009-11-10  Glenn Morris  <rgm@gnu.org>
13262         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
13263         * calendar/holidays.el, progmodes/cperl-mode.el:
13264         Update x-popup-menu declarations.
13266         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
13267         (list-load-path-shadows): Use dolist.
13268         (list-load-path-shadows): Use with-current-buffer.
13270 2009-11-10  Juri Linkov  <juri@jurta.org>
13272         * minibuffer.el (read-file-name): Support a list of default values
13273         in `default-filename'.  Use the first file name where only one
13274         element is required.  Doc fix.
13276 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
13278         * net/dbus.el (dbus-unregister-object): Release service, if no
13279         other method is registered for it.
13281 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
13283         * bookmark.el (bookmark-completing-read): Sort bookmark names if
13284         bookmark-sort-flag is non-nil (Bug#4653).
13286 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
13288         * emulation/cua-base.el: Add CUA property to some CC mode commands
13289         (Bug#4100).
13291 2009-11-08  Kevin Ryde  <user42@zip.com.au>
13293         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
13294         at end of sentence (Bug#4818).
13296 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
13298         * progmodes/compile.el (compilation-error-regexp-alist-alist):
13299         Handle "see declaration of" MSFT statements (Bug#4100).
13301 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
13303         * net/tramp.el (tramp-advice-make-auto-save-file-name)
13304         (tramp-advice-file-expand-wildcards): Unload via
13305         `ad-remove-advice'.
13307         * net/trampver.el: Update release number.
13309 2009-11-08  Kevin Ryde  <user42@zip.com.au>
13311         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
13312         `ad-do-it'.
13314 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
13316         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
13317         in order to keep context in SELinux.
13319 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
13321         * dired-aux.el (dired-query): Place cursor in echo area and allow
13322         C-g.
13324         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
13325         menu item if not on a directory (Bug#4701).
13327 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
13329         Sync with Tramp 2.1.17.
13331         * net/tramp.el (tramp-handle-copy-directory): Don't use
13332         `file-remote-p' (due to compatibility).
13334         * net/tramp-compat.el (tramp-compat-copy-directory)
13335         (tramp-compat-delete-directory): New defuns.
13337         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
13338         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
13339         `tramp-compat-delete-directory'.
13341         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
13342         (tramp-smb-handle-delete-directory): Use
13343         `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
13345         * net/trampver.el: Update release number.
13347 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
13349         * tar-mode.el (tar-copy): Call write-region on the right buffer
13350         (Bug#4857).
13352         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
13353         by hand, if necessary (Bug#4878).
13355 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
13357         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
13358         align size column (Bug#4839).
13360         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
13361         statement.
13363 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
13365         * progmodes/ld-script.el (auto-mode-alist):
13366         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
13368         * cus-face.el (custom-declare-face): Purecopy face spec.
13370 2009-11-06  Kenichi Handa  <handa@m17n.org>
13372         * international/uni-bidi.el: Re-generated.
13373         * international/uni-category.el: Re-generated.
13374         * international/uni-combining.el: Re-generated.
13375         * international/uni-mirrored.el: Re-generated.
13377 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
13379         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
13380         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
13381         (tex-start-options, slitex-run-command, latex-run-command)
13382         (tex-run-command, tex-directory):
13383         * textmodes/ispell.el (ispell-html-skip-alists)
13384         (ispell-tex-skip-alists, ispell-tex-skip-alists):
13385         * textmodes/fill.el (adaptive-fill-first-line-regexp):
13386         (adaptive-fill-regexp):
13387         * textmodes/dns-mode.el (auto-mode-alist):
13388         * progmodes/python.el (interpreter-mode-alist):
13389         * progmodes/etags.el (tags-compression-info-list):
13390         * progmodes/etags.el (tags-file-name):
13391         * net/browse-url.el (browse-url-galeon-program)
13392         (browse-url-firefox-program):
13393         * mail/sendmail.el (mail-signature-file)
13394         (mail-citation-prefix-regexp):
13395         * international/mule-conf.el (eight-bit):
13396         * international/latexenc.el (latex-inputenc-coding-alist):
13397         * international/fontset.el (x-pixel-size-width-font-regexp):
13398         * emacs-lisp/warnings.el (warning-type-format):
13399         * emacs-lisp/trace.el (trace-buffer):
13400         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
13401         (emacs-lisp-mode-map):
13402         * calendar/holidays.el (holiday-solar-holidays)
13403         (holiday-bahai-holidays, holiday-islamic-holidays)
13404         (holiday-christian-holidays, holiday-hebrew-holidays)
13405         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
13406         (hebrew-holidays-1, holiday-oriental-holidays)
13407         (holiday-general-holidays):
13408         * x-dnd.el (x-dnd-known-types):
13409         * tool-bar.el (tool-bar):
13410         * startup.el (site-run-file):
13411         * shell.el (shell-dumb-shell-regexp):
13412         * rfn-eshadow.el (file-name-shadow-tty-properties)
13413         (file-name-shadow-properties):
13414         * paths.el (remote-shell-program, news-directory):
13415         * mouse.el ([C-down-mouse-3]):
13416         * menu-bar.el (menu-bar-tools-menu):
13417         * jka-cmpr-hook.el (jka-compr-load-suffixes)
13418         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
13419         (jka-compr-compression-info-list):
13420         * isearch.el (search-whitespace-regexp):
13421         * image-file.el (image-file-name-extensions):
13422         * find-dired.el (find-ls-option):
13423         * files.el (directory-listing-before-filename-regexp)
13424         (directory-free-space-args, insert-directory-program)
13425         (list-directory-brief-switches, magic-fallback-mode-alist)
13426         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
13427         (automount-dir-prefix):
13428         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
13429         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
13430         (face-font-registry-alternatives, face-font-registry-alternatives)
13431         (face-font-family-alternatives):
13432         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
13433         (facemenu-foreground-menu, facemenu-face-menu):
13434         * epa-hook.el (epa-file-name-regexp):
13435         * dnd.el (dnd-protocol-alist):
13436         * textmodes/rst.el (auto-mode-alist):
13437         * button.el (default-button): Purecopy strings.
13439 2009-11-06  Glenn Morris  <rgm@gnu.org>
13441         * Makefile.in (ELCFILES): Update.
13443 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13445         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
13446         * emacs-lisp/levents.el: Move to obsolete/levents.el.
13448         * nxml/xsd-regexp.el (xsdre-gen-categories):
13449         * nxml/xmltok.el (xmltok-parse-entity):
13450         * nxml/rng-parse.el (rng-parse-validate-file):
13451         * nxml/rng-maint.el (rng-format-manual)
13452         (rng-manual-output-force-new-line):
13453         * nxml/rng-loc.el (rng-save-schema-location-1):
13454         * nxml/rng-cmpct.el (rng-c-parse-file):
13455         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
13456         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
13458 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
13460         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
13461         Remove extra save-excursions and make-variable-buffer-local's.
13462         Suggested by Stefan Monnier.
13464         (verilog-getopt-file, verilog-module-inside-filename-p)
13465         (verilog-set-define): Merge GNU 1.35 and repair changes from
13466         switching to using with-current-buffer.
13468         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
13469         being treated as a number and confusing AUTORESET.
13470         Reported by Dan Dever.
13472         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
13473         Add verilog-auto-ignore-concat to fix backward compatibility with
13474         older verilog-modes.  Reported by Dan Katz.
13476         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
13477         containing closing anchors "...$".
13479         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
13480         Reported by Wade Smith.
13482         (verilog-batch-execute-func): Comment on function usage.
13484 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
13486         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
13487         for labels.
13489         (verilog-label-re, verilog-calc-1): Support proper indent of named
13490         asserts.
13492         (verilog-backward-token, verilog-basic-complete-re)
13493         (verilog-beg-of-statement, verilog-indent-re): Support proper
13494         indent of the assert statement at the beginning of a block of text.
13496         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
13497         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
13498         tokens as begins.
13500 2009-11-05  Glenn Morris  <rgm@gnu.org>
13502         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
13503         Emacs 19.  (Bug#1531)
13504         (byte-compile-fix-header): Update for the above change.
13505         Drop test for epoch::version.
13507         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
13508         * cus-dep.el (custom-make-dependencies):
13509         * finder.el (finder-compile-keywords):
13510         Use autoload-rubric's feature argument.
13512         * calendar/diary-lib.el (top-level): Make load behave more like require.
13514         * vc-git.el (vc-git-stash-map): Move definition before use.
13516 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
13518         * custom.el (custom-declare-group): Purecopy standard-value.
13519         (custom-declare-group): Purecopy custom-prefix.
13521         * international/mule.el (load-with-code-conversion):
13522         Call do-after-load-evaluation unconditionally.
13524         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
13526 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13528         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
13530 2009-11-04  Glenn Morris  <rgm@gnu.org>
13532         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
13533         (byte-compile-compatibility): Remove option.
13534         (byte-compile-close-variables, byte-compile-fix-header)
13535         (byte-compile-insert-header, byte-compile-output-docform)
13536         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
13537         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
13538         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
13539         (byte-compile-insert, byte-compile-defun):
13540         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
13541         (byte-defop-compiler19): Remove.
13542         Without byte-compile-compatibility, the 'emacs19-opcode property is not
13543         used by anything.  Replace all calls with byte-defop-compiler.
13545 2009-11-04  Juri Linkov  <juri@jurta.org>
13547         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
13548         (menu-bar-options-menu): Don't quote the `prop' arg of
13549         `menu-bar-make-mm-toggle'.
13551 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
13553         * calendar/calendar.el (cal-loaddefs):
13554         * calendar/diary-lib.el (diary-loaddefs):
13555         * calendar/holidays.el (hol-loaddefs):
13556         * eshell/esh-module.el (esh-groups): Load rather than require.
13558 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13560         * calendar/todo-mode.el (todo-add-category): Don't hardcode
13561         point-min==1.
13562         (todo-top-priorities): Only display-buffer when called interactively.
13563         (todo-item-start): Don't save excursion point.
13564         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
13565         (todo-insert-item-here, todo-file-item, todo-remove-item):
13566         Adjust uses of todo-item-start and todo-item-end.
13568         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
13569         (autoload-rubric): Don't use any more.
13571         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
13572         and only put a prop if it is non-nil.
13574 2009-11-03  Juri Linkov  <juri@jurta.org>
13576         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
13577         (menu-bar-options-menu): Fix list quoting (Bug#4429).
13579         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
13580         and "Menu" to make top-level menu item visually one unit (like
13581         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
13582         multi-word menu items).  Fix :help string for quit-window.
13584 2009-11-03  Glenn Morris  <rgm@gnu.org>
13586         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
13587         (byte-compile-file-form-define-abbrev-table)
13588         (byte-compile-file-form-custom-declare-variable)
13589         (byte-compile-variable-ref, byte-compile-defvar):
13590         Whether or not a warning is enabled should only affect whether we issue
13591         the warning, not whether or not we collect the relevant data.
13592         Eg warnings can be turned on and off throughout the course of a file.
13594         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
13595         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
13597 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13599         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
13600         * play/mpuz.el (mpuz-create-buffer):
13601         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
13602         (lm-print-y,s,noise, lm-print-w0, lm-init):
13603         * play/gomoku.el (gomoku-prompt-for-move):
13604         * play/fortune.el (fortune-in-buffer):
13605         * play/dissociate.el (dissociated-press):
13606         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
13607         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
13608         * mail/supercite.el (sc-eref-show):
13609         * mail/smtpmail.el (smtpmail-send-it):
13610         * mail/rmailsum.el (rmail-summary-next-labeled-message)
13611         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
13612         (rmail-summary-undelete-many, rmail-summary-rmail-update)
13613         (rmail-summary-goto-msg, rmail-summary-expunge)
13614         (rmail-summary-get-new-mail, rmail-summary-search-backward)
13615         (rmail-summary-add-label, rmail-summary-output-menu)
13616         (rmail-summary-output-body):
13617         * mail/rfc822.el (rfc822-addresses):
13618         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
13619         * mail/mailpost.el (post-mail-send-it):
13620         * mail/hashcash.el (hashcash-generate-payment):
13621         * mail/feedmail.el (feedmail-run-the-queue)
13622         (feedmail-queue-send-edit-prompt-help-first)
13623         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
13624         (feedmail-deduce-address-list):
13625         * eshell/esh-ext.el (eshell-remote-command):
13626         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
13627         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
13628         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
13629         (viper-save-string-in-file, viper-valid-marker):
13630         * emulation/viper-keym.el (viper-toggle-key):
13631         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
13632         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
13633         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
13634         * emulation/viper-cmd.el (viper-exec-form-in-vi)
13635         (viper-exec-form-in-emacs, viper-brac-function):
13636         * emulation/viper.el (viper-delocalize-var):
13637         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
13638         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
13639         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
13640         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
13641         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
13642         * emulation/edt.el (edt-electric-helpify):
13643         * emulation/cua-rect.el (cua--rectangle-aux-replace):
13644         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
13645         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
13646         (cua-indent-to-global-mark-column):
13647         * calendar/diary-lib.el (calendar-mark-1):
13648         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
13649         Use with-current-buffer.
13650         * emulation/viper.el (viper-delocalize-var): Use dolist.
13652 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
13654         * comint.el (comint-replace-by-expanded-history-before-point):
13655         Replace !! with the previous input string literally (Bug#1795).
13657 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
13659         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
13660         to be made up of whitespace.
13662 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
13664         * minibuffer.el (read-file-name): Don't use file dialogs for
13665         remote directories (Bug#99).
13667 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
13669         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
13671 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
13673         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
13674         instead of deleting the window or frame.
13676 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
13678         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
13679         Support face colors.
13681         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
13682         New function.  Support face colors (Bug#1168).
13683         (tex-common-initialization): Use it.
13685         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
13686         mode allows it (Bug#1168).
13688 2009-10-31  Juri Linkov  <juri@jurta.org>
13690         * facemenu.el (list-colors-display): Don't mark buffer as
13691         modified (Bug#3948).
13693 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
13695         * international/mule-diag.el (list-character-sets-1): Minor
13696         message fix (Bug#3526).
13698         * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
13699         face property (Bug#4834).
13700         (etags-list-tags, etags-tags-apropos-additional)
13701         (etags-tags-apropos, tags-select-tags-table): Add follow-link
13702         property.
13704         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
13705         items.
13707 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
13709         * textmodes/two-column.el (2C-split):
13710         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
13711         * textmodes/tex-mode.el (tex-set-buffer-directory):
13712         * textmodes/spell.el (spell-region, spell-string):
13713         * textmodes/reftex.el (reftex-erase-buffer):
13714         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
13715         * textmodes/reftex-toc.el (reftex-toc-promote-action):
13716         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
13717         (reftex-select-item):
13718         * textmodes/reftex-ref.el (reftex-label-info-update)
13719         (reftex-offer-label-menu):
13720         * textmodes/reftex-index.el (reftex-index-change-entry)
13721         (reftex-index-phrases-info):
13722         * textmodes/reftex-global.el (reftex-create-tags-file)
13723         (reftex-save-all-document-buffers, reftex-ensure-write-access):
13724         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
13725         (reftex-view-crossref-from-bibtex):
13726         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
13727         (reftex-extract-bib-entries-from-thebibliography)
13728         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
13729         * textmodes/refbib.el (r2b-capitalize-title):
13730         (r2b-convert-buffer, r2b-help):
13731         * textmodes/page-ext.el (pages-directory)
13732         (pages-directory-goto-with-mouse):
13733         * textmodes/bibtex.el (bibtex-validate-globally):
13734         * textmodes/bib-mode.el (bib-capitalize-title):
13735         * textmodes/artist.el (artist-clear-buffer, artist-system):
13736         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
13737         (local-set-scheme-interaction-buffer, xscheme-process-filter)
13738         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
13739         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
13740         (xscheme-send-control-g-interrupt, xscheme-start-process)
13741         (xscheme-process-sentinel, xscheme-cd):
13742         * progmodes/verilog-mode.el (verilog-read-always-signals)
13743         (verilog-set-define, verilog-getopt-file)
13744         (verilog-module-inside-filename-p):
13745         * progmodes/sh-script.el:
13746         * progmodes/python.el (python-pdbtrack-get-source-buffer)
13747         (python-pdbtrack-grub-for-buffer, python-execute-file):
13748         * progmodes/octave-inf.el (inferior-octave):
13749         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
13750         (idlwave-shell-compile-helper-routines, idlwave-set-local)
13751         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
13752         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
13753         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
13754         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
13755         (idlwave-shell-filter, idlwave-shell-examine-highlight)
13756         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
13757         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
13758         (idlwave-shell-examine-display, idlwave-shell-run-region)
13759         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
13760         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
13761         * progmodes/idlw-help.el (idlwave-help-get-special-help)
13762         (idlwave-help-get-help-buffer):
13763         * progmodes/gud.el (gud-basic-call, gud-find-class)
13764         (gud-tooltip-activate-mouse-motions-if-enabled):
13765         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
13766         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
13767         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
13768         (ebrowse-tags-next-file):
13769         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
13770         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
13771         (ebnf-eps-finish-and-write):
13772         * progmodes/cpp.el (cpp-edit-save):
13773         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
13774         * progmodes/cc-defs.el (c-emacs-features):
13775         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
13776         (antlr-directory-dependencies):
13777         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
13778         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
13779         (ada-find-any-references, ada-make-filename-from-adaname)
13780         (ada-make-body-gnatstub):
13781         * obsolete/rnews.el (news-list-news-groups):
13782         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
13783         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
13784         * net/rcirc.el (rcirc-debug):
13785         * net/newst-treeview.el (newsticker--treeview-list-add-item)
13786         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
13787         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
13788         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
13789         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
13790         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
13791         (newsticker--treeview-list-clear-highlight)
13792         (newsticker--treeview-list-update-highlight)
13793         (newsticker--treeview-list-highlight-start)
13794         (newsticker--treeview-tree-update-highlight)
13795         (newsticker--treeview-get-selected-item)
13796         (newsticker-treeview-mark-list-items-old)
13797         (newsticker--treeview-set-current-node):
13798         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
13799         * net/newst-backend.el (newsticker--get-news-by-funcall)
13800         (newsticker--get-news-by-wget, newsticker--image-get)
13801         (newsticker--image-sentinel):
13802         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
13803         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
13804         (eudc-ph-close-session):
13805         * net/eudc.el (eudc-save-options):
13806         * language/thai-word.el (thai-update-word-table):
13807         * language/japan-util.el (japanese-string-conversion):
13808         * international/titdic-cnv.el (tsang-quick-converter)
13809         (ziranma-converter, ctlau-converter):
13810         * international/mule-cmds.el (describe-language-environment):
13811         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
13812         (skkdic-convert-postfix, skkdic-convert-prefix):
13813         (skkdic-convert-okuri-nasi, skkdic-convert):
13814         * emacs-lisp/re-builder.el (reb-update-overlays):
13815         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
13816         * emacs-lisp/gulp.el (gulp-send-requests):
13817         * emacs-lisp/find-gc.el (trace-call-tree):
13818         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
13819         (eieio-describe-generic):
13820         * emacs-lisp/eieio-base.el (eieio-persistent-read):
13821         * emacs-lisp/edebug.el (edebug-outside-excursion):
13822         * emacs-lisp/debug.el (debugger-make-xrefs):
13823         * emacs-lisp/cust-print.el (custom-prin1-to-string):
13824         * emacs-lisp/chart.el (chart-new-buffer):
13825         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
13826         Use with-current-buffer.
13827         * textmodes/artist.el (artist-system): Don't call
13828         copy-sequence on a fresh string.
13829         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
13831 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
13833         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
13834         is no item to edit.  (Bug#4820)
13835         (todo-top-priorities): Restore point and restore narrowing in Todo
13836         buffer.  (Bug#4820)
13838 2009-10-31  Glenn Morris  <rgm@gnu.org>
13840         * net/ange-ftp.el (top-level): Don't require dired when compiling.
13841         (comint-last-output-start, comint-last-input-start)
13842         (comint-last-input-end): Don't defvar when compiling.
13843         (ange-ftp-process-file): Use bound-and-true-p.
13845         * pcmpl-rpm.el (top-level): Move provide statement to end.
13846         (pcmpl-rpm): Remove unused custom group.
13848         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
13850         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
13852         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
13853         (byte-compile-warnings): Add `constants' as an option.
13854         (byte-compile-callargs-warn, byte-compile-arglist-warn)
13855         (display-call-tree): Update for byte-compile-fdefinition possibly
13856         returning `(macro lambda ...)'.  (Bug#4778)
13857         (byte-compile-variable-ref, byte-compile-setq-default):
13858         Respect `constants' member of byte-compile-warnings.
13860 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13862         * vc-bzr.el (vc-bzr-revision-keywords): New var.
13863         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
13864         to "submit:".
13866 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
13868         * textmodes/ispell.el (ispell-skip-region-alist):
13869         * international/mule-conf.el (eight-bit):
13870         * international/fontset.el (font-encoding-alist):
13871         * startup.el (pure-space-overflow-message):
13872         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
13873         * paths.el (gnus-nntp-service, rmail-spool-directory)
13874         (term-file-prefix):
13875         * files.el (save-some-buffers-action-alist):
13876         * cmuscheme.el (same-window-buffer-names):
13877         * ielm.el (same-window-buffer-names):
13878         * shell.el (same-window-buffer-names):
13879         * mail/sendmail.el (same-window-buffer-names):
13880         * progmodes/inf-lisp.el (same-window-buffer-names):
13881         * bindings.el (mode-line-client)
13882         (mode-line-column-line-number-mode-map):
13883         * language/tibetan.el (tibetan-precomposition-rule-regexp)
13884         (tibetan-precomposed-regexp): Purecopy string arguments.
13886 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13888         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
13889         (calcDigit-nondigit):
13890         * calc/calc-yank.el (calc-copy-to-buffer):
13891         * calc/calc-units.el (calc-invalidate-units-table):
13892         * calc/calc-trail.el (calc-trail-yank):
13893         * calc/calc-store.el (calc-insert-variables):
13894         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
13895         * calc/calc-prog.el (calc-read-parse-table):
13896         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
13897         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
13898         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
13899         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
13900         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
13901         (calc-graph-name, calc-graph-find-command, calc-graph-view)
13902         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
13903         * calc/calc-ext.el (calc-realign):
13904         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
13905         (calc-embedded-finish-edit, calc-embedded-make-info)
13906         (calc-embedded-finish-command, calc-embedded-stack-change):
13907         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
13909         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
13910         shell-dynamic-complete-filename in preference to
13911         comint-dynamic-complete-filename.
13913         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
13914         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
13915         Don't consider whether the display supports colors.
13916         (bookmark-import-new-list): Use dolist.
13917         (bookmark-bmenu-mode-map): Move initialization into declaration.
13918         (bookmark-bmenu-list): Use dolist, simplify.
13919         (bookmark-show-all-annotations): Use save-selected-window and dolist.
13920         (menu-bar-final-items): Use push.
13922 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
13924         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
13925         it works on remote files.
13926         (vc-hg-diff): Don't pass any `--cwd' argument.
13928 2009-10-27  Kevin Ryde  <user42@zip.com.au>
13930         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
13931         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
13932         (Further to Bug#3921).
13934 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
13936         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
13937         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
13938         calling `tramp-imap-put-file'.  Add file size to the call.
13939         (tramp-imap-get-file-entries): Compute also user name, file size,
13940         and date.
13941         (tramp-imap-handle-insert-directory): Insert uid and gid.
13942         (tramp-imap-handle-file-attributes): Transform uid and gid
13943         according to `id-format'.
13944         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
13945         size in header X-Size.
13947 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
13949         * simple.el (transpose-subr): Give clearer error when the mark
13950         is not set.  (Bug#4807)
13952 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
13954         * net/tramp.el (tramp-perl-file-truename): New defconst.
13955         Perl code contributed by yary <not.com@gmail.com> (tiny change).
13956         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
13957         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
13958         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
13960         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
13961         Ignore `dired-call-process'.
13962         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
13964 2009-10-26  Julian Scheid  <julians37@gmail.com>
13966         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
13967         (tramp-get-remote-readlink): New defun.
13968         (tramp-handle-file-truename): Use it.
13969         (tramp-handle-file-exists-p): Check file-attributes cache, assume
13970         file exists if cache value present.
13971         (tramp-check-cached-permissions): New defun.
13972         (tramp-handle-file-readable-p): Use it.
13973         (tramp-handle-file-writable-p): Likewise.
13974         (tramp-handle-file-executable-p): Likewise.
13975         (tramp-handle-file-name-all-completions): Try using Perl to get
13976         partial completions.  When perl not available, combine `cd' and
13977         `ls' into single remote operation and use shell expansion to get
13978         partial remote directory contents.  Set `file-exists-p' cache for
13979         directory and any files returned by ls.  Change cache handling to
13980         support partial directory contents.  Use error message emitted by
13981         remote `cd' or Perl code for local tramp-error.
13982         (tramp-do-copy-or-rename-file-directly): Avoid separate
13983         tramp-send-command-and-check call.
13984         (tramp-handle-process-file): Merge three remote ops into one.
13985         Do not flush all caches when `process-file-side-effects' is set.
13986         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
13987         file-attributes shows uid/gid to be set already.
13989 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
13991         * textmodes/tex-mode.el (tex-dvi-view-command)
13992         (tex-show-queue-command, tex-open-quote):
13993         * progmodes/ruby-mode.el (auto-mode-alist)
13994         (interpreter-mode-alist): Purecopy strings.
13996         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
13998         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
13999         string for the hook, keymap and abbrev table.
14001         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
14003         * x-dnd.el (x-dnd-xdnd-to-action):
14004         * startup.el (fancy-startup-text, fancy-about-text): Change to
14005         defconst from defvar.
14007         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
14009         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
14010         Purecopy initialization strings.
14012         * mail/sendmail.el (mail-header-separator)
14013         (mail-personal-alias-file):
14014         * mail/rmail.el (rmail-default-dont-reply-to-names)
14015         (rmail-ignored-headers, rmail-retry-ignored-headers)
14016         (rmail-highlighted-headers, rmail-secondary-file-directory)
14017         (rmail-secondary-file-regexp):
14018         * files.el (null-device, file-name-invalid-regexp)
14019         (locate-dominating-stop-dir-regexp)
14020         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
14021         (interpreter-mode-alist): Use mapcar instead of mapc.
14023         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
14025         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
14026         (completion-ignored-extensions):
14027         (debug-ignored-errors): Purecopy strings.
14029 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
14031         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
14032         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
14033         (pcomplete--here): Use push.
14035         * subr.el (all-completions): Declare the 4th arg obsolete.
14037 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14039         * pcomplete.el (pcomplete-unquote-argument-function): New var.
14040         (pcomplete-unquote-argument): New function.
14041         (pcomplete--common-suffix): Always pay attention to case.
14042         (pcomplete--table-subvert): Quote and unquote the text.
14043         (pcomplete--common-quoted-suffix): New function.
14044         (pcomplete-std-complete): Use it and pcomplete-begin.
14046         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
14047         we're inside a dedicated or minibuffer window.
14049 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
14051         * bookmark.el: Update documentation, especially documentation
14052         of `bookmark-alist' and of the bookmark file format.
14053         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
14055 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
14057         * mail/emacsbug.el (report-emacs-bug): Clarify that the
14058         keybindings apply to the mail buffer (Bug#4003).  Shrink help
14059         window to buffer.
14061         * whitespace.el (whitespace-mode, whitespace-newline-mode)
14062         (global-whitespace-mode, global-whitespace-newline-mode)
14063         (whitespace-toggle-options, global-whitespace-toggle-options):
14064         Doc fix (Bug#3660).
14066         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
14067         of xmltok-start before the end tag was inserted (Bug#2840).
14069         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
14070         patterns that are preceded by an open-paren (Bug#1320).
14072 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
14074         * files.el (delete-directory): Delete symlinks to directories with
14075         delete-file (Bug#4739).
14077 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
14079         * vc.el (vc-backend-for-registration): Rename from
14080         vc-get-backend-for-registration.  Update callers.
14082         * international/mule-cmds.el (set-language-info-alist):
14083         Purecopy lang-env.
14084         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
14085         (charset): Purecopy the name.
14086         (define-char-code-property): Purecopy string arguments.
14088         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14089         Purecopy string arguments.
14091         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
14092         * ediff-hook.el (menu-bar-ediff-menu):
14093         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
14094         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
14096 2009-10-24  Glenn Morris  <rgm@gnu.org>
14098         * comint.el (comint-dynamic-list-completions):
14099         * term.el (term-dynamic-list-completions): Use choose-completion rather
14100         than obsolete alias mouse-choose-completion.
14102         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
14103         file-cache-choose-completion.
14104         (file-cache-choose-completion): Handle an optional event argument.
14105         (file-cache-mouse-choose-completion): Make it an obsolete alias.
14107         * progmodes/octave-mod.el (octave-complete-symbol):
14108         Use choose-completion if mouse-choose-completion is ever removed.
14110         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
14111         use.
14113         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
14114         compiler.
14116         * vc-hooks.el (vc-responsible-backend): Fix declaration.
14118 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14120         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
14121         Ignore `pred' now that we receive one.
14122         Handle test-completion specially.
14124 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
14126         * vc.el (vc-responsible-backend): Throw an error if not backend is
14127         found.  Remove the REGISTER argument.  Move the code dealing with
14128         REGISTER ...
14129         (vc-get-backend-for-registration): ... here.  New function.
14130         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
14131         of vc-responsible-backend, pass the file name instead of the
14132         directory name.
14134 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14136         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
14137         New funs.
14138         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
14139         (pcomplete-comint-setup): Don't modify a global var via
14140         accidental side-effects.
14141         (pcomplete-shell-setup): Adjust call accordingly.
14142         (pcomplete-parse-comint-arguments): Use push.
14144 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
14146         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
14147         Allow uncapitalized info node names (Bug#3921).
14149         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
14150         to the DEBUG file (Bug#3781).
14152 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
14154         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
14155         dictionary entry (Bug#4579).
14157 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
14159         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
14160         from `rfn-eshadow-update-overlay-hook' when unloading.
14161         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
14162         "rsyncc".  Adjust doc string.
14163         (tramp-temp-buffer-file-name): New buffer-local defvar.
14164         (tramp-handle-insert-file-contents, tramp-handle-write-region):
14165         Keep temporary file when indicated by method ("rsync" and
14166         "rsyncc").
14167         (tramp-handle-write-region): Handle APPEND.
14168         (tramp-delete-temp-file-function): New defun.  Added to
14169         `kill-buffer-hook'.
14171 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
14173         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
14175 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
14177         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
14178         (color-name-rgb-alist, tty-standard-colors)
14179         (tty-color-mode-alist): Change to defconst.
14181         * simple.el (mark-inactive): Purecopy message.
14183         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
14184         (global-map, yank-menu):
14185         * textmodes/ispell.el (ispell-menu-map):
14186         * net/eudc.el (eudc-tools-menu):
14187         * international/mule-cmds.el (describe-language-environment-map)
14188         (setup-language-environment-map, set-coding-system-map)
14189         (mule-menu-keymap):
14190         * vc-hooks.el (vc-menu-entry, vc-menu-map):
14191         * replace.el (occur-mode-map):
14192         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
14194 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
14196         * calc/calc.el (math-read-number, math-read-number-simple): Use
14197         `save-match-data'.
14199 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
14201         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
14202         rather than fiddling with global-map bindings, since it should only
14203         affect per-terminal settings.
14204         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
14206         * minibuffer.el (completion-table-with-terminator): Allow to specify
14207         the terminator-regexp.
14209         * simple.el (switch-to-completions): Look for *Completions* in other
14210         frames as well.
14212         * pcomplete.el: Allow the use of completion-tables.
14213         (pcomplete-std-complete): New command.
14214         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
14215         (pcomplete--here): Use a function for `form' rather than an expression,
14216         so it can be byte-compiled.
14217         (pcomplete-here, pcomplete-here*): Adjust accordingly.
14218         Add edebug declaration.
14219         (pcomplete-show-completions): Remove unused var `curbuf'.
14220         (pcomplete-do-complete, pcomplete-stub):
14221         Don't assume `completions' is a list of strings any more.
14223 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
14225         * find-dired.el (find-name-arg): Fix typo in docstring.
14227 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
14229         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
14230         (pcmpl-linux-fs-types): Same, and update to new modules layout.
14232         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
14233         pcomplete-entries.
14235         * comint.el (comint-read-input-ring, comint-write-input-ring)
14236         (comint-substitute-in-file-name)
14237         (comint-dynamic-complete-as-filename)
14238         (comint-dynamic-simple-complete)
14239         (comint-dynamic-list-filename-completions)
14240         (comint-dynamic-list-completions)
14241         (comint-redirect-results-list-from-process): Minor simplifications.
14243 2009-10-21  Kevin Ryde  <user42@zip.com.au>
14245         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
14246         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
14247         the first form.  And insert a blank line after ";;; Code" since
14248         that's usual style.  (Bug#4612)
14250         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
14252 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14254         * minibuffer.el (completion-table-with-terminator): Properly implement
14255         boundaries, in case `terminator' appears in the suffix.
14256         (completion--embedded-envvar-table): Don't return boundaries if
14257         there's no valid completion.  Simplify.
14258         (completion-file-name-table): New completion table extracted from
14259         completion--file-name-table.
14260         (completion--file-name-table): Use it.
14261         (read-file-name-predicate): Declare obsolete.
14262         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
14263         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
14264         completion-file-name-table, and use the `pred' argument.
14265         * files.el (locate-file-completion-table): Use the `pred' arg rather
14266         than read-file-name-predicate.
14267         (abbreviate-file-name): Use \` rather than ^ for BOS.
14269 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
14271         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
14272         vc-responsible-backend to register, it causes problems.
14274 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14276         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
14278 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
14280         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
14281         (tramp-smb-handle-file-attributes): Use it.
14282         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
14283         (tramp-smb-handle-insert-directory): Use `mapc' rather than
14284         `mapcar'.  Use `tramp-smb-get-stat-capability'.
14285         Add `dired-filename' text properties.
14286         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
14287         (tramp-smb-maybe-open-connection): Simplify check for smbclient
14288         version.
14290 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
14292         * subr.el (read-key-delay): Reduce to 0.01.
14293         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
14294         (bug#4751).
14296 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14298         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
14300         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
14301         (Info-menu): Remove unused vars `last' and `completions'.
14302         (Info-index-nodes): Remove unused var `node'.
14304         * info.el (Info-complete-menu-item): Use complete-with-action.
14306 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
14308         Make vc-annotate work through copies and renames.
14309         * vc-annotate.el (vc-annotate-extract-revision-at-line):
14310         Return the file name too.
14311         (vc-annotate-revision-at-line)
14312         (vc-annotate-find-revision-at-line)
14313         (vc-annotate-revision-previous-to-line)
14314         (vc-annotate-show-log-revision-at-line): Update to get the file
14315         name from vc-annotate-extract-revision-at-line.
14316         (vc-annotate-show-diff-revision-at-line-internal): Change the
14317         argument to mean whether to show a file diff or not.  Get the file
14318         name from vc-annotate-extract-revision-at-line.
14319         (vc-annotate-show-diff-revision-at-line):
14320         Update vc-annotate-show-diff-revision-at-line call.
14321         (vc-annotate-warp-revision): Add an optional file argument.
14323         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
14324         (vc-git-annotate-extract-revision-at-line): Also return the file
14325         name if found.
14327         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
14328         command.  Remove unused code.
14329         (vc-hg-annotate-re): Update to match --follow output.
14330         (vc-hg-annotate-extract-revision-at-line): Also return the file
14331         name if found.
14333         * vc.el: Update annotate-extract-revision-at-line documentation.
14335 2009-10-18  Kevin Ryde  <user42@zip.com.au>
14337         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
14338         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
14340         * net/browse-url.el (browse-url): Identify alist with "consp and
14341         not functionp" and let all other things go down the `apply' leg,
14342         as suggested by Stefan.  (Further to bug#4531.)
14344 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
14346         * minibuffer.el (read-file-name): Check for repeat before putting
14347         a default argument in file-name-history (Bug#4657).
14349         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
14350         read syntax (Bug#4737).
14352         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
14354 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
14356         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
14357         (html-tag-alist, html-tag-help): Add descriptions for undocumented
14358         entries and make note of obsolete tags.
14360 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
14362         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
14364 2009-10-18  Glenn Morris  <rgm@gnu.org>
14366         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
14367         grep, so that binary files (eg international/uni-bidi.el) can match.
14368         Remove test for "UnicodeData" files, since it is hopefully unnecessary
14369         now, and in any case the file header format has changed.
14371 2009-10-17  Glenn Morris  <rgm@gnu.org>
14373         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
14374         (flyspell-get-word, flyspell-large-region)
14375         (flyspell-auto-correct-previous-word): Doc/error message fixes.
14377 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
14379         * Makefile.in (ELCFILES): Add ede/shell.
14381 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
14383         * term/common-win.el (x-colors): Purecopy it.
14385 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14387         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
14388         permissive for when the buffer is empty.
14389         (tar-header-block-tokenize): Decode the username and groupname.
14390         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
14392 2009-10-17  Eric Ludlam  <zappo@gnu.org>
14394         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
14395         contains multibyte characters, choose first applicable coding
14396         system automatically.
14398 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
14400         * international/mule-cmds.el (select-safe-coding-system): If the file
14401         has a coding cookie, use it regardless of any other setting (bug#4712).
14403 2009-10-17  Glenn Morris  <rgm@gnu.org>
14405         * foldout.el (foldout-mouse-swallow-events):
14406         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
14408         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
14409         (dired-keep-marker-copy, dired-keep-marker-hardlink)
14410         (dired-keep-marker-symlink, dired-dwim-target)
14411         (dired-copy-preserve-time): Do not autoload these defcustoms.
14413         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
14414         messages from messing up the file coding.  (Bug#4623)
14416 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
14418         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
14419         if no match is found for the current dictionary.  (Bug#4578)
14421         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
14422         optional, since that is how it is documented, and this is often called
14423         with a nil argument.  (Bug#4577)
14424         (flyspell-external-point-words, flyspell-auto-correct-word)
14425         (flyspell-correct-word-before-point, flyspell-word-search-forward)
14426         (flyspell-word-search-backward): Remove nil argument in calls to
14427         flyspell-get-word, since it is not needed now.
14429 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
14431         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
14433 2009-10-16  Glenn Morris  <rgm@gnu.org>
14435         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
14437 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
14439         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
14440         (ange-ftp-file-size): New function.
14441         (ange-ftp-file-attributes): Use it.
14443 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
14445         * net/tramp-smb.el (tramp-smb-version): New defvar.
14446         (tramp-smb-maybe-open-connection): Use it, in order to avoid
14447         repeated checks.
14449 2009-10-16  Glenn Morris  <rgm@gnu.org>
14451         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
14452         Maybe copy some custom properties from old to new name.  (Bug#4706)
14454 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
14456         * subr.el (error, sit-for, start-process-shell-command)
14457         (start-file-process-shell-command): Set the calling convention
14458         after the function definition.
14460 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
14462         * subr.el (error, sit-for, start-process-shell-command)
14463         (start-file-process-shell-command): Use the new
14464         set-advertised-calling-convention feature.
14466 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
14468         * international/ucs-normalize.el (ucs-normalize-version):
14469         Change to 1.2.
14470         (check-range): Adjust for Unicode 5.2.
14472 2009-10-15  Juri Linkov  <juri@jurta.org>
14474         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
14475         to the `menu-item' format.
14477 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
14479         * net/tramp.el (tramp-replace-environment-variables): Do not fail
14480         if the environment variable does not exist.
14482         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14483         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
14484         parameter.
14485         (tramp-smb-handle-add-name-to-file)
14486         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14487         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14488         (tramp-smb-handle-file-attributes)
14489         (tramp-smb-do-file-attributes-with-stat)
14490         (tramp-smb-handle-file-local-copy)
14491         (tramp-smb-handle-insert-directory)
14492         (tramp-smb-handle-make-directory)
14493         (tramp-smb-handle-make-directory-internal)
14494         (tramp-smb-handle-make-symbolic-link)
14495         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
14496         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
14497         (tramp-smb-maybe-open-connection): Apply the changed parameters.
14498         (tramp-smb-read-file-entry): Read Disk names in compressed format.
14499         Handle long file names.
14500         (tramp-smb-get-cifs-capabilities): Check, whether the connection
14501         process is running.
14502         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
14503         Read share names with "-g" option.
14505 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
14507         * net/rcirc.el (rcirc-view-log-file): New command.
14508         (rcirc-track-minor-mode-map): Remove C-c ` binding.
14509         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
14510         specified.
14512 2009-10-15  Glenn Morris  <rgm@gnu.org>
14514         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
14515         from the second command-line argument.
14516         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
14517         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
14518         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
14519         w32-batch-update-autoloads.
14520         * emacs-lisp/autoload.el (autoload-make-program): New variable.
14521         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
14523         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
14524         the headers cannot be located.  Simplify, subtracting superflous
14525         save-excursions.
14527 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14529         Replace completion-base-size by completion-base-position to fix bugs
14530         such as (bug#4699).
14531         * simple.el (completion-base-position): New var.
14532         (completion-base-size): Mark as obsolete.
14533         (choose-completion): Make it work for mouse events as well.
14534         Pass the new base-position to choose-completion-string.
14535         (choose-completion-guess-base-position): New function, extracted from
14536         choose-completion-delete-max-match.
14537         (choose-completion-delete-max-match): Use it.  Make obsolete.
14538         (choose-completion-string): Use the new base-position info.
14539         (completion-root-regexp): Delete.
14540         (completion-setup-function): Preserve completion-base-position.
14541         Eliminate obsolete base-size manipulation.
14542         * minibuffer.el (display-completion-list): Don't mess with base-size.
14543         (minibuffer-completion-help): Set completion-base-position instead.
14544         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
14545         choose-completion.
14546         * textmodes/bibtex.el (bibtex-complete):
14547         * emacs-lisp/crm.el (crm--choose-completion-string):
14548         Adjust to new calling convention.
14549         * complete.el (partial-completion-mode): Use minibufferp to avoid
14550         bumping into incompatible change to choose-completion-string-functions.
14551         * ido.el (ido-choose-completion-string): Make its calling convention
14552         more permissive.
14553         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
14554         base-size manipulation.
14555         (comint-dynamic-list-input-ring): Use dotimes and push.
14556         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
14557         fundamental-mode.  Use `or'.
14559 2009-10-14  Juri Linkov  <juri@jurta.org>
14561         * misearch.el (multi-isearch-next-buffer-from-list)
14562         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
14564 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14566         * Makefile.in (compile-onefile): Load `bytecomp' rather than
14567         `bytecomp.el'.
14569         * minibuffer.el (completion-pcm--merge-completions): Make sure the
14570         string we return is all made up of text from the completions rather
14571         than part from the completions and part from the input (bug#4219).
14573         * ido.el (ido-everywhere): Use define-minor-mode.
14575         * buff-menu.el (list-buffers, ctl-x-map):
14576         Mark the entry points with ;;;###autoload cookies.
14578 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
14580         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
14581         correctly in the detached head case.
14582         (vc-git-print-log): Remove unused binding.
14584         * vc.el (vc-responsible-backend): When a directory is passed for
14585         for registration create a VC repository if no backend is
14586         responsible for the directory argument.
14587         (vc-deduce-fileset): Tell vc-responsible-backend to register.
14589         * vc.el: Move comments about RCS and SCCS ...
14590         * vc-rcs.el:
14591         * vc-sccs.el: ... here, respectively.
14593 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
14595         * minibuffer.el (completion--file-name-table): Return nil if there's
14596         no file completion, even if substitute-in-file-name changed
14597         the string (bug#4708).
14599 2009-10-13  Juri Linkov  <juri@jurta.org>
14601         * files-x.el (read-file-local-variable-value): Don't filter out
14602         minor modes from mode name completion (bug#4664).
14604 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
14606         * international/mule-cmds.el (ucs-names): Remove exclusion of
14607         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
14609 2009-10-13  Kenichi Handa  <handa@m17n.org>
14611         * international/uni-name.el: Regenerated.
14613 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
14615         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
14616         should be automatically buffer-local, but isn't.)
14618 2009-10-12  Sam Steingold  <sds@gnu.org>
14620         * progmodes/compile.el (compilation-next-error-function): Fix the
14621         timestamps if the buffer has been visited before.
14622         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
14623         non-anchored patterns, like the perl one (bug#3928).
14625 2009-10-12  Glenn Morris  <rgm@gnu.org>
14627         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
14628         Let-bind `size'.
14630 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
14632         * proced.el (proced-unload-function): New function.
14634         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
14635         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
14636         Doc fix.
14638         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
14640 2009-10-11  Juri Linkov  <juri@jurta.org>
14642         * files-x.el (read-file-local-variable-value):
14643         Provide default value only for bound variables (bug#4664).
14645 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
14647         * net/tramp.el (tramp-local-host-p): Function shall return nil for
14648         connection methods like smb.
14650         * net/tramp-cache.el (tramp-flush-connection-property): The hash
14651         can be empty.
14653         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14654         (tramp-smb-file-name-handler-alist): Add handlers for
14655         `add-name-to-file', `make-symbolic-link'.
14656         (tramp-smb-handle-add-name-to-file)
14657         (tramp-smb-do-file-attributes-with-stat)
14658         (tramp-smb-handle-make-symbolic-link)
14659         (tramp-smb-get-cifs-capabilities): New defuns.
14660         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
14661         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
14662         (tramp-smb-handle-file-local-copy)
14663         (tramp-smb-handle-make-directory-internal)
14664         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
14665         The file name syntax depends on cifs capabilities.
14666         (tramp-smb-handle-file-attributes):
14667         Call `tramp-smb-do-file-attributes-with-stat' if possible.
14668         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
14669         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
14671 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
14673         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
14674         (eieio-defclass): Apply deftype handler and setf-method properties
14675         directly.
14676         (eieio-add-new-slot): Avoid union function from cl library.
14677         (eieio--typep): New function.
14678         (eieio-perform-slot-validation): Use it.
14680 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
14682         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
14683         Update documentation to refer to the variables documented in r1.135.
14684         (Bug#4188)
14686 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
14688         * bookmark.el (Info-suffix-list): Remove this unused variable.
14689         (bookmark-current-point): Remove this obsolete variable.
14690         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
14691         Adjust for removal of bookmark-current-point.
14693         (bookmarks-already-loaded, bookmark-current-buffer)
14694         (bookmark-yank-point): Document.  (Bug#4188)
14696 2009-10-10  Glenn Morris  <rgm@gnu.org>
14698         * frame.el (frame-height): Doc fix.
14700         * calendar/calendar.el (calendar-split-width-threshold): New option.
14701         (calendar-basic-setup): Use calendar-split-width-threshold.
14703 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
14705         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
14706         Ideographic Supplement" range (U+1F200..U+1F2FF).
14708 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
14710         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
14711         since the list will have been rebuilt anyway.  (Bug#4349)
14713 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
14715         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
14716         (bookmark-bmenu-execute-deletions): Don't save here, as
14717         bookmark-delete will now do so if necessary.
14718         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
14719         (Bug#4348)
14721 2009-10-09  Glenn Morris  <rgm@gnu.org>
14723         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
14725 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
14727         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
14728         (bookmark-jump-other-window): Just invoke bookmark-jump with new
14729         argument now, so the two function's behaviors will match.  (Bug#3645)
14731 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
14733         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
14734         (tramp-file-name-real-host, tramp-file-name-port):
14735         Apply `save-match-data'.
14737         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
14738         case both directories are remote.
14739         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
14740         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
14742 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
14744         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
14746 2009-10-07  Glenn Morris  <rgm@gnu.org>
14748         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
14749         of concat.
14751 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
14753         * files-x.el (read-file-local-variable): Include some
14754         non-user-variables in the completion table (bug#4664).
14756 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
14758         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
14759         message.
14761         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
14762         (tramp-smb-file-name-handler-alist): Add handler for
14763         `copy-directory', `expand-file-name', `set-file-modes'.
14764         (tramp-smb-handle-copy-directory)
14765         (tramp-smb-handle-expand-file-name)
14766         (tramp-smb-handle-set-file-modes): New defuns.
14767         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
14768         (tramp-smb-handle-file-attributes): Simplify check for retrieving
14769         entry.
14770         (tramp-smb-handle-insert-directory): Don't flush the cache.
14771         (tramp-smb-maybe-open-connection): Check for samba client and
14772         server versions.
14774 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
14776         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
14777         to not error out of search for "^lisp=" fails.
14779 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
14781         * makefile.w32-in (WINS_UPDATES): New macro.
14782         (custom-deps, finder-data, autoloads): Use it.
14784 2009-10-07  Glenn Morris  <rgm@gnu.org>
14786         * Makefile.in (autoloads): Revert previous change.
14787         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
14788         the list of preloaded files passed on the command-line, get
14789         it from src/Makefile.
14791         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
14792         show the original buffer rather than a random one.
14794 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
14796         * help.el (describe-no-warranty): Place point in a slightly better
14797         position in the GPLv3 text.
14799 2009-10-06  Sam Steingold  <sds@gnu.org>
14801         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
14802         the comm attribute is present before calling regexp-quote.
14804 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
14806         * play/animate.el (animate-string): For good effect, make sure
14807         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
14809         * play/animate.el (animate-sequence, animate-birthday-present):
14810         * misc.el (butterfly): Don't set `indent-tabs-mode'.
14812 2009-10-06  Glenn Morris  <rgm@gnu.org>
14814         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
14816         * emacs-lisp/autoload.el (autoload-excludes): New variable.
14817         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
14818         (batch-update-autoloads): Process a string value of autoload-excludes,
14819         set during the build process.
14820         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
14822         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
14823         inside with-parsed...  macro so that `v' is defined.
14825         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
14826         * progmodes/fortran.el (fortran-end-of-block)
14827         (fortran-beginning-of-block):
14828         Also push mark in the macro case.
14830         * emerge.el (emerge-show-file-name):
14831         * calc/calc.el (calc-quit):
14832         * calc/calc-misc.el (calc-big-or-small):
14833         * calc/calc-graph.el (calc-graph-view):
14834         * calc/calc-ext.el (calc-reset):
14835         * calendar/calendar.el (calendar-basic-setup):
14836         Use window-full-height-p.
14838         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
14839         header we don't understand, don't insert another.  (Bug#4624)
14840         If changing mime charset, insert the new one in the right place.
14842 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
14844         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
14845         (cal-tex-cursor-month): Correctly increment the end date for diary and
14846         holiday listing.  (Bug#4626)
14848 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14850         * help-fns.el (describe-function-1): Don't burp if the function is not
14851         a symbol.
14853 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
14855         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
14856         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
14857         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
14858         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
14860         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
14861         (eieio-default-superclass): Reflow docstrings.
14862         (this, class-option-assoc, defclass, eieio-class-un-autoload)
14863         (eieio-unbind-method-implementations, defmethod)
14864         (eieio-validate-slot-value, eieio-validate-class-slot-value)
14865         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
14866         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
14867         (eieio-slot-originating-class-p, eieio-slot-name-index)
14868         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
14869         (constructor, initialize-instance, no-next-method, object-print)
14870         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
14871         Fix typos in docstrings.
14872         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
14873         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
14874         (next-method-p): Doc fixes.
14875         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
14876         Fix typos in error messages.
14877         (eieio-defmethod): Fix typo in description of generic method.
14879         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
14880         (eieio-persistent-save-interactive, slot-missing):
14881         Fix typos in docstrings.
14882         (eieio-instance-inheritor-slot-boundp): Doc fix.
14884         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
14885         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
14887         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
14888         (eieio-custom-object-apply-reset):
14889         Fix typos in docstrings and error messages.
14891         * emacs-lisp/eieio-datadebug.el (data-debug-show):
14892         Fix typo in docstring.
14894         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
14895         (eieio-browse-tree): Doc fix.
14896         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
14897         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
14898         Fix typos in docstrings.
14900         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
14901         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
14902         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
14903         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
14904         Reflow docstrings.
14906 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
14908         * vc-hg.el (log-view-vc-backend): Declare for compiler.
14909         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
14910         Set log-view-vc-backend so that diff can work.
14912         * log-view.el (log-view-diff): Use vc-diff-internal instead of
14913         vc-version-diff.
14914         (vc-diff-internal): Autoload this instead of vc-version-diff.
14916 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
14918         * simple.el (eval-expression): Doc fix.
14920         * progmodes/cwarn.el (cwarn-mode): Doc fix.
14922 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
14924         * files.el (directory-files-no-dot-files-regexp): New defconst.
14925         (delete-directory): Use it.
14926         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
14928         * net/tramp.el (tramp-verbose): Fix docstring.
14929         (tramp-methods): Add recursive option to `tramp-copy-args'.
14930         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
14931         "scp1_old", "scp2_old", "rsync", "rsyncc".
14932         (tramp-default-method): Check also for `auth-source-user-or-password'.
14933         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
14934         Add handler for `copy-directory'.
14935         (tramp-handle-copy-directory): New defun.
14936         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
14937         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
14938         Optimize sent command.
14940 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
14942         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
14943         window if necessary.
14945         * calendar/calendar.el (calendar-basic-setup): Don't call
14946         switch-to-buffer in a dedicated window.
14948 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
14950         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
14951         don't do anything related to relocating, just return nil.
14952         (bookmark-error-no-filename): New error.
14953         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
14954         bookmark has no file.  Don't even attempt to handle things that
14955         are not files; the whole point of custom handlers is to keep that
14956         knowledge elsewhere anyway.  Tighten some comments.
14957         (bookmark-file-or-variation-thereof): Remove now-unused function.
14958         (bookmark-location): Doc string fix.
14959         (Bug#4250)
14961 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
14963         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
14964         don't use a file dialog, because they usually don't know how to read
14965         a directory target from the user.  (Bug#4230)
14966         Also, make sure the prompt can display directories as well as files.
14968 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
14970         * bookmark.el (bookmark-set, bookmark-buffer-name):
14971         Improve doc strings.  (Bug#1193)
14973 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
14975         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
14976         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
14977         (bookmark-get-annotation, bookmark-set-annotation)
14978         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
14979         (bookmark-set-position, bookmark-get-front-context-string)
14980         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
14981         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
14982         (bookmark-jump-other-window, bookmark-handle-bookmark)
14983         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
14984         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
14985         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
14986         Improve doc strings to say whether bookmark can be a string or
14987         a record or both, and make other consistency and clarity fixes.
14988         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
14989         (bookmark-default-annotation-text, bookmark-yank-word)
14990         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
14991         (bookmark-import-new-list, bookmark-maybe-rename)
14992         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
14993         (bookmark-bmenu-bookmark): Give these doc strings.
14994         (bookmark-bmenu-check-position): Give this a doc string, but also
14995         add a FIXME comment about how the function may be pointless.
14996         (bookmark-default-handler): Rework doc string and change a
14997         parameter name, to clarify that this takes a bookmark record
14998         not a bookmark name.
14999         (bookmark-set): Change a parameter name to indicate its meaning,
15000         and improve the doc string a bit.
15001         (Bug#4188)
15003 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
15005         * bookmark.el (bookmark-alist): Document the new `handler' element
15006         in the param alist.
15007         (bookmark-make-record-function): Adjust documentation for above.
15008         (Bug#4193)
15010 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
15012         * info.el (Info-bookmark-make-record): Document this function.
15013         (Info-bookmark-jump): Document with a doc string, not just a comment.
15014         (Bug#4203)
15016 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
15018         * files.el (copy-directory): New defun.
15020         * dired-aux.el (dired-copy-file-recursive): Use it.
15022 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
15024         * files-x.el (modify-dir-local-variable)
15025         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
15026         docstrings.
15028         * recentf.el (recentf-unload-function): New function.
15030 2009-10-04  Glenn Morris  <rgm@gnu.org>
15032         * window.el (window-full-height-p): Add doc string.
15034 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
15036         * window.el (window-full-height-p): New function.  (Bug#4543)
15038 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
15040         * vc.el: Remove commented out code.
15041         (vc-derived-from-dir-mode): Remove, unused.
15042         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
15044 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
15046         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
15047         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
15048         there could be recursive loading when `default-directory' is a
15049         remote file name.  (Bug#4614)
15051 2009-10-03  Glenn Morris  <rgm@gnu.org>
15053         * calendar/calendar.el (calendar-basic-setup): Handle the case where
15054         the frame is wide.
15055         (calendar-generate-window): Test for shrinkability rather than width.
15057         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
15058         reusing existing buffers, in case we happen to visit two files with the
15059         same basename.  (Bug#4593)
15061 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
15063         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
15064         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
15065         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
15066         subdirs of cedet as well.
15067         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
15069 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
15071         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
15072         Obey advertised-signature-table.
15074         * help-fns.el (help-function-arglist): Don't check
15075         advertised-signature-table.
15076         (describe-function-1): Do it here instead so it also applies to subrs.
15078 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
15080         * simple.el (start-file-process): Say in the doc-string, that file
15081         handlers might not support pty association, if PROGRAM is nil.
15083         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
15084         HOST and USER are strings.  They are nil, when there are
15085         incomplete entries in ~/.netrc, for example.
15086         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
15087         root directory ("device busy" error otherwise).
15089         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
15090         Flush file properties of created directory.
15092 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
15094         * makefile.w32-in (WINS_BASIC): Remove cedet.
15095         (WINS_CEDET): Add cedet.
15096         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
15098 2009-10-02  Kevin Ryde  <user42@zip.com.au>
15100         * net/browse-url.el (browse-url): Pass any symbol in
15101         browse-url-browser-function to `apply', since if you've mistakenly put
15102         an unbound symbol then the error is clearer.  (Bug#4531)
15104 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
15106         * allout.el (allout-init, allout-back-to-current-heading)
15107         (allout-beginning-of-current-entry, allout-ascend-to-depth)
15108         (allout-ascend, allout-up-current-level, allout-end-of-level)
15109         (allout-previous-visible-heading, allout-forward-current-level)
15110         (allout-backward-current-level, allout-show-children):
15111         * apropos.el (apropos-describe-plist):
15112         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
15113         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
15114         * completion.el (add-completion, add-permanent-completion):
15115         * descr-text.el (describe-text-category, describe-char):
15116         * desktop.el (desktop-lazy-abort):
15117         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
15118         * dired.el (dired-build-subdir-alist):
15119         * ediff.el (ediff-version):
15120         * elide-head.el (elide-head, elide-head-show):
15121         * emerge.el (emerge-version):
15122         * env.el (getenv):
15123         * face-remap.el (variable-pitch-mode):
15124         * faces.el (describe-face):
15125         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
15126         (dired-at-point):
15127         * files.el (find-file-existing, auto-save-mode):
15128         * font-lock.el (font-lock-fontify-buffer):
15129         * help-fns.el (describe-function, describe-variable)
15130         (describe-syntax, describe-categories):
15131         * help.el (view-lossage, describe-bindings, describe-key)
15132         (describe-mode):
15133         * hexl.el (hexl-current-address):
15134         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
15135         * info.el (Info-goto-emacs-key-command-node):
15136         * log-edit.el (log-edit-insert-cvs-template)
15137         (log-edit-insert-cvs-rcstemplate):
15138         * menu-bar.el (menu-bar-mode):
15139         * mouse.el (mouse-appearance-menu):
15140         * newcomment.el (comment-indent-new-line):
15141         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
15142         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
15143         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
15144         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
15145         * recentf.el (recentf-mode):
15146         * savehist.el (savehist-mode, savehist-save):
15147         * shadowfile.el (shadow-copy-files):
15148         * simple.el (kill-ring-save, next-line, previous-line)
15149         (normal-erase-is-backspace-mode):
15150         * strokes.el (strokes-update-window-configuration)
15151         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
15152         (strokes-xpm-for-stroke):
15153         * time.el (emacs-uptime, emacs-init-time):
15154         * tutorial.el (tutorial--describe-nonstandard-key)
15155         (tutorial--detailed-help):
15156         * type-break.el (type-break-mode)
15157         (type-break-mode-line-message-mode, type-break-query-mode)
15158         (type-break-guesstimate-keystroke-threshold):
15159         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
15160         * version.el (emacs-version):
15161         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
15162         * winner.el (winner-mode):
15163         * calendar/timeclock.el (timeclock-in, timeclock-out)
15164         (timeclock-status-string, timeclock-change)
15165         (timeclock-workday-remaining-string)
15166         (timeclock-workday-elapsed-string)
15167         (timeclock-when-to-leave-string):
15168         * calendar/todo-mode.el (todo-add-category):
15169         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
15170         * emacs-lisp/autoload.el (update-file-autoloads):
15171         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
15172         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
15173         (checkdoc-message-text, checkdoc-defun):
15174         * emacs-lisp/debug.el (debugger-list-functions):
15175         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
15176         * emacs-lisp/eieio-opt.el (eieio-describe-class)
15177         (eieio-describe-generic):
15178         * emacs-lisp/lisp-mnt.el (lm-synopsis):
15179         * emacs-lisp/shadow.el (list-load-path-shadows):
15180         * emulation/cua-base.el (cua-mode):
15181         * emulation/edt.el (edt-set-scroll-margins):
15182         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
15183         (tpu-toggle-regexp, tpu-toggle-search-direction)
15184         (tpu-toggle-rectangle, tpu-toggle-control-keys):
15185         * emulation/tpu-extras.el (tpu-set-scroll-margins):
15186         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
15187         (viper-set-parsing-style-toggling-macro)
15188         (viper-set-emacs-state-searchstyle-macros):
15189         * emulation/viper.el (viper-set-hooks):
15190         * eshell/esh-mode.el (eshell-truncate-buffer):
15191         * international/mule-cmds.el (prefer-coding-system)
15192         (describe-input-method, describe-language-environment):
15193         * international/mule-diag.el (list-character-sets)
15194         (describe-character-set, describe-coding-system)
15195         (describe-fontset, list-fontsets, list-input-methods):
15196         * mail/sendmail.el (mail-signature):
15197         * net/ange-ftp.el (ange-ftp-copy-file):
15198         * net/browse-url.el (browse-url):
15199         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
15200         * net/quickurl.el (quickurl-add-url):
15201         * net/rcirc.el (names, topic):
15202         * net/xesam.el (xesam-mode):
15203         * play/5x5.el (5x5-new-game):
15204         * play/yow.el (apropos-zippy):
15205         * progmodes/ada-mode.el (ada-mode-version):
15206         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
15207         (f90-end-of-block)
15208         (f90-beginning-of-block):
15209         * progmodes/fortran.el (fortran-end-of-block)
15210         (fortran-beginning-of-block):
15211         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
15212         * progmodes/python.el (python-describe-symbol, python-shell):
15213         * term/ns-win.el (ns-print-buffer):
15214         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
15215         * textmodes/flyspell.el (flyspell-mode-on):
15216         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
15217         (pages-directory-for-addresses):
15218         * textmodes/table.el (table-recognize-cell)
15219         (table-query-dimension, table-generate-source)
15220         (table-insert-sequence, table--warn-incompatibility):
15221         * textmodes/tex-mode.el (tex-validate-buffer):
15222         * textmodes/texinfmt.el (texinfmt-version)
15223         (texinfo-format-buffer):
15224         Use `called-interactively-p' instead of `interactive-p'.
15226 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
15228         * image-mode.el (image-toggle-display):
15229         * emacs-lisp/elp.el (elp-instrument-function):
15230         * emacs-lisp/advice.el (ad-make-advised-definition):
15231         * emacs-lisp/easy-mmode.el (define-minor-mode):
15232         * net/browse-url.el (browse-url-maybe-new-window):
15233         * progmodes/sh-script.el (sh-learn-buffer-indent):
15234         Pass new argument 'any to `called-interactively-p'.
15236 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
15238         * international/uni-bidi.el:
15239         * international/uni-category.el:
15240         * international/uni-combining.el:
15241         * international/uni-comment.el:
15242         * international/uni-decimal.el:
15243         * international/uni-decomposition.el:
15244         * international/uni-digit.el:
15245         * international/uni-lowercase.el:
15246         * international/uni-mirrored.el:
15247         * international/uni-name.el:
15248         * international/uni-numeric.el:
15249         * international/uni-old-name.el:
15250         * international/uni-titlecase.el:
15251         * international/uni-uppercase.el:
15252         Regenerate from Unicode 5.2.0 data.
15254 2009-10-01  Glenn Morris  <rgm@gnu.org>
15256         * Makefile.in (ELCFILES): Regenerate.
15258 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15260         * subr.el (interactive-p): Mark obsolete.
15261         (called-interactively-p): Make the optional-ness of `kind' obsolete.
15262         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
15263         advertised-signature-table for subroutines as well.
15265         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
15266         (set-advertised-calling-convention): New function.
15267         (make-obsolete, define-obsolete-function-alias)
15268         (make-obsolete-variable, define-obsolete-variable-alias):
15269         Make the optional-ness of `when' obsolete.
15270         (define-obsolete-face-alias): Make `when' non-optional.
15271         * help-fns.el (help-function-arglist):
15272         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
15273         Use advertised-signature-table.
15275 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
15277         * files.el (delete-directory): New defun.  The original function
15278         in fileio.c has been renamed to `delete-directory-internal'.
15280         * dired.el (dired-delete-file): Call `delete-directory' with
15281         RECURSIVE parameter.
15283         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
15284         parameter RECURSIVE.  Implementation is missing.
15286         * net/tramp.el (tramp-handle-make-directory): Flush upper
15287         directory's file properties.
15288         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
15289         (tramp-handle-dired-recursive-delete-directory): Flush directory
15290         properties after the remove command only.
15292         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15293         Handle optional parameter RECURSIVE.
15295         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15296         Handle optional parameter RECURSIVE.
15298         * net/tramp-smb.el (tramp-smb-errors): Add error message for
15299         connection timeout.
15300         (tramp-smb-handle-delete-directory): Handle optional parameter
15301         RECURSIVE.
15303 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
15305         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
15306         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
15307         (byte-compile-defmacro): Use backquotes.
15309         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
15311         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
15312         has no associated file.
15313         (vc-resynch-buffer): Use vc-dir-buffers.
15315 2009-10-01  Glenn Morris  <rgm@gnu.org>
15317         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
15318         (chart-file-count):
15319         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
15320         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
15321         * emacs-lisp/eieio-opt.el (eieio-describe-class):
15322         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
15323         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
15324         (eieio-copy-parents-into-subclass, make-instance, class-children)
15325         (eieio-generic-form):
15327         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
15328         match-data.  (Bug#4555).
15330         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
15331         rather than parsing it as a regexp.  This relaxes the layout
15332         requirements and makes errors easier to detect.
15333         (check-declare-verify): Check file is regular.
15334         (check-declare-directory): Doc fix.
15335         * subr.el (declare-function): Doc fix.
15337         * ibuffer.el (ibuffer-format-qualifier):
15338         * isearch.el (hi-lock-regexp-okay):
15339         * calc/calc.el (math-zerop):
15340         * mail/uce.el (rmail-msgbeg, rmail-msgend):
15341         * term/w32-win.el (setup-default-fontset, set-fontset-font):
15342         Remove unused declarations.
15344 2009-09-30  Eric Ludlam  <zappo@gnu.org>
15346         * emacs-lisp/eieio.el (boolean-p): Delete.
15348 2009-09-30  Glenn Morris  <rgm@gnu.org>
15350         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
15352         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
15353         filename is not a string.
15355 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
15357         * files.el (safe-local-eval-forms): Fix typo.
15359 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
15361         * vc-hooks.el (vc-dir-buffers): New var.
15362         (vc-state-refresh): New function.
15363         (vc-state): Use it.
15364         (vc-after-save): Always ask the backend to recompute the new state.
15365         Always call vc-dir if necessary, using vc-dir-buffers.
15366         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
15367         Use vc-dir-buffers.
15368         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
15369         (vc-dir-prepare-status-buffer, vc-dir-update)
15370         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
15371         Don't call expand-file-name on default-directory.
15373 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
15375         * speedbar.el (speedbar-item-delete):
15376         * calc/calc-prog.el (calc-kbd-if):
15377         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
15379         * epa.el (epa-key-list-mode-map):
15380         * hi-lock.el (hi-lock-menu): Fix typos in menus.
15382         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
15383         (hs-show-hook): Fix typo in docstring.
15385 2009-09-29  Glenn Morris  <rgm@gnu.org>
15387         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
15388         file-name-nondirectory call preventing location of cedet files.
15389         (check-declare-verify): Use literal search rather than re-search.
15390         Add basic defmethod and defclass, and define-overloadable-function.
15392         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15393         Use tramp-compat-file-attributes rather than nonexistent
15394         tramp-compat-handle-file-attributes.
15396         * Makefile.in (lisptagsfiles4): New.
15397         (AUTOGENEL): Add cedet loaddefs files.
15398         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
15399         (update-elclist, compile-always, backup-compiled-files)
15400         (bootstrap-clean): Add yet another directory level.
15401         (update-elclist): Use LC_COLLATE rather than COLLATE.
15402         (ELCFILES): Update, via `make update-elclist'.
15404 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
15406         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
15407         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
15408         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
15410 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
15412         * Makefile.in (lisptagsfiles3): Define.
15413         (TAGS, TAGS-LISP): Use it.
15414         (update-elclist): Add third directory level to look for elc files.
15415         (compile-always): Likewise.
15416         (backup-compiled-files): Likewise.
15417         (bootstrap-clean): Likewise.
15418         (ELCFILES): Update.
15420 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
15422         * Makefile.in (ELCFILES): Add CEDET files.
15424 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
15426         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
15428         * net/tramp.el (top): Require tramp-imap.
15430         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
15431         Use `tramp-compat-handle-file-attributes'.
15433 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
15435         * net/tramp-imap.el: New package.
15437 2009-09-28  Eric Ludlam  <zappo@gnu.org>
15439         * emacs-lisp/chart.el:
15440         * emacs-lisp/eieio-base.el:
15441         * emacs-lisp/eieio-comp.el:
15442         * emacs-lisp/eieio-custom.el:
15443         * emacs-lisp/eieio-datadebug.el:
15444         * emacs-lisp/eieio-opt.el:
15445         * emacs-lisp/eieio-speedbar.el:
15446         * emacs-lisp/eieio.el: New files.
15448 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
15450         * whitespace.el (whitespace-trailing-regexp)
15451         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
15452         Fix doc string.
15454 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
15456         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
15457         menu.
15459         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
15460         menu-bar-ediff-menu.
15462         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
15463         define-overloadable-function.
15465         * progmodes/autoconf.el: Provide autoconf as well, so that this
15466         file can be `require'd.
15468         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
15470         * emacs-lisp/autoload.el (generated-autoload-feature)
15471         (generated-autoload-load-name): New vars.
15472         (autoload-rubric, autoload-generate-file-autoloads): Use them.
15473         (make-autoload): Recognize define-overloadable-function and
15474         defclass forms (for EIEIO).
15476         * Makefile.in (update-subdirs): Exclude cedet directory.
15478 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
15480         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
15482         * faces.el: Default light-background background for region face to
15483         ns_selection_color under NS.
15485 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
15487         * net/imap-hash.el: New library, see NEWS.
15489         * Makefile.in (ELCFILES): Add imap-hash.el.
15491 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
15493         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
15494         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
15495         * help-macro.el (make-help-screen): Avoid using an ambiguous function
15496         definition where the docstring could be taken for the return value.
15498 2009-09-26  Glenn Morris  <rgm@gnu.org>
15500         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
15501         Add option to only show images below a certain size.
15502         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
15503         save-excursion calls.
15505 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
15507         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
15508         subdirectories) and eieio.
15510 2009-09-26  Alan Mackenzie  <acm@muc.de>
15512         * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
15513         buggy bracketing.  (Bug#4289)
15515         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
15516         character constants (as case labels).  (Bug#4289)
15518 2009-09-25  Juri Linkov  <juri@jurta.org>
15520         * files.el (safe-local-eval-forms): Allow time-stamp in
15521         before-save-hook (Bug#4554).
15523 2009-09-25  Drew Adams  <drew.adams@oracle.com>
15525         * menu-bar.el (list-buffers-directory): Doc fix.
15527 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15529         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
15530         Try and avoid copying twice the same paragraph.
15531         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
15532         Remove save-excursion.
15533         (log-edit-changelog-entry): Do it here instead.
15535 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
15537         * bs.el (bs--get-file-name): Use `list-buffers-directory'
15538         when available, instead of hardcoding mode names.  Doc fix.
15540         * menu-bar.el (list-buffers-directory): Add docstring.
15541         Make automatically buffer-local.
15543         * dired.el (dired-mode):
15544         * files.el (cd-absolute):
15545         * pcvs.el (cvs-temp-buffer):
15546         * pcvs-util.el (cvs-get-buffer-create):
15547         * shell.el (shell-mode):
15548         * vc-dir.el (vc-dir-mode):
15549         Don't make `list-buffers-directory' buffer local.
15551 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
15553         * comint.el (comint-exec, comint-run, make-comint):
15554         Doc fixes (Bug#4542).
15556 2009-09-25  Glenn Morris  <rgm@gnu.org>
15558         * mail/rmailmm.el (rmail-mime): New custom group.
15559         Move all defcustoms in this file into this group.
15560         (rmail-mime-media-type-handlers-alist): Revert previous change.
15561         (rmail-mime-show-images): New option.
15562         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
15563         references to it, since it wasn't actually used for anything.
15564         (rmail-mime-insert-image): New function.
15565         (rmail-mime-image): Use rmail-mime-insert-image.
15566         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
15567         obey the value of `rmail-mime-show-images' option.  Print the size of
15568         attachments.
15570 2009-09-25  David Engster  <deng@randomsample.de>
15572         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
15574 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
15576         * whitespace.el: Does not highlight trailing spaces While point is
15577         at end of line.  Does not highligt spaces at beginning of buffer
15578         while point is at beginning of buffer.  Does not highlight spaces
15579         at end of buffer while point is at end of buffer.  (Bug#4177)
15580         New version 12.0.
15581         (whitespace-display-mappings): Adjust initialization.
15582         (whitespace-point, whitespace-font-lock-refontify): New vars.
15583         (whitespace-color-on, whitespace-color-off): Adjust code.
15584         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
15585         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
15586         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
15588 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
15590         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
15592         * textmodes/sgml-mode.el: Remove xml-mode alias.
15594         * files.el (auto-mode-alist, conf-mode-maybe)
15595         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
15597 2009-09-24  Alan Mackenzie  <acm@muc.de>
15599         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
15600         c-forward-conditionals, but it doesn't move point and doesn't set
15601         the mark.
15602         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
15603         (c-down-conditional-with-else, c-backward-conditional)
15604         (c-forward-conditional): Refactor to use c-scan-conditionals.
15606 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
15608         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
15609         (help-default-arg-highlight): Remove.
15610         (help-highlight-arg): New function.
15611         (help-do-arg-highlight): Use it.
15612         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
15614 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15616         * term.el (term-set-scroll-region, term-handle-ansi-escape):
15617         Undo last change, which didn't fix the problem and introduced others.
15619 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
15621         * progmodes/gdb-mi.el: Don't require speedbar.
15622         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
15624 2009-09-24  Glenn Morris  <rgm@gnu.org>
15626         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
15628         * term/ns-win.el (ns-reg-to-script): Define for compiler.
15630         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
15631         there is no newline after the final mime boundary.  (Bug#4539)
15632         Move markers on insertion so that any buttons inserted don't end up in
15633         the next part of a multipart message.
15634         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
15635         (rmail-mime-bulk-handler): Optionally handle images.
15636         (rmail-mime-image): New button action.
15637         (rmail-mime-image-handler): New function.
15638         (rmail-mime-mode): New mode.
15639         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
15641 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15643         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
15644         than just dropping elements from it (bug#4504).
15646         * term.el (term-set-scroll-region): Don't move cursor any more.
15647         (term-handle-ansi-escape): Call term-goto here instead.
15648         Suggested by Ivan Kanis <apple@kanis.eu>.
15650         * term.el: Require CL.
15651         (term-ansi-reset): New function.
15652         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
15653         (term-handle-colors-array): Simplify.
15655 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
15657         * allout.el (allout-overlay-interior-modification-handler)
15658         (allout-obtain-passphrase):
15659         * epa-file.el (epa-file-write-region):
15660         * ps-print.el (ps-begin-job):
15661         * vc-hooks.el (vc-toggle-read-only):
15662         * vc-rcs.el (vc-rcs-rollback):
15663         * vc-sccs.el (vc-sccs-rollback):
15664         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
15665         (vc-version-diff, vc-revert, vc-rollback):
15666         * wdired.el (wdired-check-kill-buffer):
15667         * emacs-lisp/authors.el (authors):
15668         * net/socks.el (socks-open-connection):
15669         * net/zeroconf.el (zeroconf-service-add-hook):
15670         * obsolete/vc-mcvs.el (vc-mcvs-register):
15671         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
15672         (gdb-select-frame):
15673         * progmodes/grep.el (lgrep, rgrep):
15674         * progmodes/idlw-help.el (idlwave-help-check-locations)
15675         (idlwave-help-html-link, idlwave-help-assistant-open-link):
15676         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
15677         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
15678         (reftex-toc-rename-label): Fix typos in error messages.
15680         * dired-aux.el (dired-do-shell-command): Reflow docstring.
15681         (dired-copy-how-to-fn): Doc fix.
15682         (dired-files-attributes, dired-read-shell-command):
15683         Fix typos in docstrings.
15685         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
15686         (dired-x-find-file-other-window): Reflow docstrings.
15687         (dired-omit-marker-char, dired-read-shell-command)
15688         (dired-x-submit-report): Fix typos in docstrings.
15690         * shell.el (shell-mode-hook):
15691         * view.el (View-scroll-line-forward):
15692         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
15693         Fix typos in docstrings.
15695         * net/dig.el (dig-invoke): Fix typo in docstring.
15696         (query-dig): Reflow docstring.
15698         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
15699         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
15700         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
15701         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
15702         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
15703         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
15704         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
15705         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
15706         (idlwave-completion-map, idlwave-current-indent)
15707         (idlwave-custom-ampersand-surround, idlwave-customize)
15708         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
15709         (idlwave-define-abbrev, idlwave-determine-class-special)
15710         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
15711         (idlwave-end-block-reg, idlwave-end-of-statement)
15712         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
15713         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
15714         (idlwave-explicit-class-listed, idlwave-file-header)
15715         (idlwave-fill-paragraph, idlwave-find-class-definition)
15716         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
15717         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
15718         (idlwave-in-quote, idlwave-indent-action-table)
15719         (idlwave-indent-expand-table, idlwave-indent-line)
15720         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
15721         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
15722         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
15723         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
15724         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
15725         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
15726         (idlwave-outlawed-buffers, idlwave-popup-select)
15727         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
15728         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
15729         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
15730         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
15731         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
15732         (idlwave-statement-type, idlwave-struct-skip)
15733         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
15734         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
15735         (idlwave-what-module-find-class): Fix typos in docstrings.
15736         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
15737         (idlwave-calculate-cont-indent, idlwave-expand-equal)
15738         (idlwave-find-module, idlwave-find-structure-definition)
15739         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
15740         (idlwave-list-load-path-shadows, idlwave-next-statement)
15741         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
15742         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
15743         (idlwave-template): Reflow docstrings.
15745         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
15746         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
15747         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
15748         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
15749         (idlwave-shell-display-line, idlwave-shell-display-wframe)
15750         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
15751         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
15752         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
15753         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
15754         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
15755         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
15756         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
15757         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
15758         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
15759         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
15760         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
15761         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
15762         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
15763         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
15764         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
15765         Fix typos in docstrings.
15766         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
15767         (idlwave-shell-hide-output, idlwave-shell-mode)
15768         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
15769         Reflow docstrings.
15771         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
15773 2009-09-24  Ivan Kanis  <apple@kanis.eu>
15775         * term.el (term-bold-attribute): New var.
15776         (term-handle-colors-array): Use it.
15778 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
15780         * progmodes/gdb-mi.el (gdb-version): New variable.
15781         (gdb-non-stop-handler): Set gdb-version.
15782         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
15783         Condition "--thread" option on gdb-version.
15784         (gdb-invalidate-threads): Remove unused argument.
15786 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15788         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
15789         to looking-back to avoid ridiculous slow down in large files (bug#4511).
15791 2009-09-23  Glenn Morris  <rgm@gnu.org>
15793         * mail/rmail.el (rmail-reply): Don't try to add a References header when
15794         replying to mail without References or Message-Id.  (Bug#4525)
15796 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
15798         * term/ns-win.el (ns-reg-to-script): New variable.
15800 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
15802         * epg.el (epg-wait-for-status): Preserve existing 'error results.
15804 2009-09-22  Sam Steingold  <sds@gnu.org>
15806         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
15807         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
15808         to 1 because hg returns status 1 when nothing is found.
15809         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
15811 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
15813         * textmodes/fill.el: Convert to utf-8 encoding.
15814         (fill-french-nobreak-p): Remove redundant » and « inherited from our
15815         pre-Unicode days.
15817         * add-log.el (change-log-fill-forward-paragraph): New function.
15818         (change-log-mode): Use it so fill-region DTRT.
15819         Set fill-indent-according-to-mode here rather than in
15820         change-log-fill-paragraph.
15821         (change-log-fill-paragraph): Remove.
15823 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
15825         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
15826         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
15828 2009-09-22  Glenn Morris  <rgm@gnu.org>
15830         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
15831         the scroll-bar scroll the calendar window rather than the buffer.
15833         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
15834         commands that move point (as opposed to scrolling).
15836         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
15838         * emacs-lisp/elint.el (elint): New custom group.
15839         (elint-log-buffer): Make it a defcustom.
15840         (elint-scan-preloaded, elint-ignored-warnings)
15841         (elint-directory-skip-re): New options.
15842         (elint-builtin-variables): Doc fix.
15843         (elint-preloaded-env): New variable.
15844         (elint-unknown-builtin-args): Add an entry for encode-time.
15845         (elint-extra-errors): Make it a variable rather than a constant.
15846         (elint-preloaded-skip-re): New constant.
15847         (elint-directory): Skip files matching elint-directory-skip-re.
15848         (elint-features): New variable, local to linted buffers.
15849         (elint-update-env): Initialize elint-features.  Possibly add
15850         elint-preloaded-env to the buffer's environment.
15851         (elint-get-top-forms): Bind elint-current-pos, for log messages.
15852         Skip quoted forms.
15853         (elint-init-form): New function, extracted from elint-init-env.
15854         Make non-list forms a warning rather than an error.
15855         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
15856         easy-menu-define, put that adds an error-condition, and provide.
15857         When requiring cl, also require cl-macs.  Really require cl, to handle
15858         some cl macros.  Store required libraries in the list elint-features,
15859         so as not to re-load them.  Treat cc-require like require.
15860         (elint-init-env): Call elint-init-form to do the work.
15861         Handle eval-and-compile and such like.
15862         (elint-add-required-env): Do not clear messages.
15863         (elint-special-forms): Add handlers for function, defalias, if, when,
15864         unless, and, or.
15865         (elint-form): Add optional argument to ignore elint-special-forms,
15866         useful to prevent recursive calls from handlers.  Doc fix.
15867         Respect elint-ignored-warnings.
15868         (elint-form): Respect elint-ignored-warnings.
15869         (elint-bound-variable, elint-bound-function): New variables.
15870         (elint-unbound-variable): Respect elint-bound-variable.
15871         (elint-get-args): Respect elint-bound-function.
15872         (elint-check-cond-form): Add some simple handling for (f)boundp and
15873         featurep tests.
15874         (elint-check-defalias-form): New handler.
15875         (elint-check-let-form): Make an empty let a warning rather than an
15876         error.
15877         (elint-check-setq-form): Make an empty setq a warning rather than an
15878         error.  Respect elint-ignored-warnings.
15879         (elint-check-defvar-form): Accept null doc-strings.
15880         (elint-check-conditional-form): New handler.  Does some simple-minded
15881         checking of featurep and (f)boundp tests.
15882         (elint-put-function-args): New function.
15883         (elint-initialize): Use elint-scan-doc-file rather than
15884         elint-find-builtin-variables.  Use elint-put-function-args.
15885         Possibly scan preloaded-file-list.
15886         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
15887         extend to handle functions as well.
15889 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
15891         * linum.el (linum-delete-overlays, linum-update-window):
15892         Do not modify the right margin.  (Bug#3971)
15894 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
15896         * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
15897         nxml-mode instead of xml-mode.
15899 2009-09-21  Kevin Ryde  <user42@zip.com.au>
15901         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
15903 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
15905         * net/dig.el (dig-mode): Use define-derived-mode.
15907 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
15909         * vc-dispatcher.el (vc-do-command): Return the process object in
15910         the asynchronous case.  Use when instead of if.  Do not run
15911         vc-exec-after to display a message if not enabled.  (Bug#4463)
15913         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
15914         properties to the stash strings.
15915         (vc-git-stash-list): Return a list of strings.
15916         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
15917         (vc-git-stash-show-at-point): New functions.
15918         (vc-git-stash-map): New keymap.
15920         * register.el (ctl-x-r-map): Define the keys here instead of
15921         using autoload.
15923 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
15925         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
15926         list, to workaround performance problem (bug#4485).
15928 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
15930         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
15932 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
15934         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
15935         Document that this option is not recommended to use.
15937 2009-09-19  Glenn Morris  <rgm@gnu.org>
15939         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
15940         variable `var'.
15942         * calc/calc-alg.el (var):
15943         * calc/calcalg2.el (var): Define for compiler.
15945 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
15947         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
15948         Doc fix (Bug#3932).
15950         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
15952         * time-stamp.el (time-stamp-month-dd-yyyy)
15953         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
15954         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
15955         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
15956         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
15957         Remove functions that have been obsolete since 1995 (Bug#4436).
15959         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
15960         indent buffer only if called interactively (Bug#4452).
15962 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
15963             Eli Zaretskii  <eliz@gnu.org>
15965         This fixes bug#4197 (merged to bug#865, though not identical).
15966         * server.el (server-auth-dir): Add docstring note about FAT32.
15967         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
15968         but warn against using them.
15970 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
15972         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
15973         older GDB where there is no has_more field.
15975 2009-09-19  Glenn Morris  <rgm@gnu.org>
15977         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
15979 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
15981         * files.el (auto-mode-alist): Change default for XML files to nXML
15982         mode (Bug#4169).
15984 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
15986         * server.el (server-ensure-safe-dir): Pass 'integer
15987         to `file-attributes', as suggested.
15989 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
15991         * dired-aux.el (dired-query-alist): Remove spurious backslash.
15992         (dired-query): Use read-key.
15994 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
15996         * cus-start.el (ns-use-qd-smoothing): Remove.
15998 2009-09-18  Glenn Morris  <rgm@gnu.org>
16000         * allout.el (top-level): Remove unnecessary progn.
16002         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
16004         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
16005         definition of abbrev table.
16007         * speedbar.el (speedbar-track-mouse):
16008         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
16009         * net/eudc.el (eudc-expand-inline):
16010         * net/newst-backend.el (newsticker--cache-read-feed):
16011         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
16012         condition-case handlers.
16014 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
16016         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
16017         (gdb-var-list): Add an element for has_more field.
16018         (gdb-non-stop-handler): Enable pretty printing for STL containers.
16019         (gdb-var-create-handler, gdb-var-list-children-handler-1)
16020         (gdb-var-update-handler-1): Parse output of dynamic variable
16021         objects (STL containers).
16022         (gdb-var-delete-1): Pass var1 as an explicit second argument.
16023         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
16025         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
16026         gdb-var-list.
16027         (gud-speedbar-buttons): Make node expandable if expression "has more"
16028         children.
16030 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
16032         * startup.el (emacs-quick-startup): Remove variable and all uses.
16033         (command-line): Set `inhibit-x-resources' instead.
16034         (command-line-1): Use `inhibit-x-resources' instead.
16036 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
16038         * subr.el: Fix last change to avoid using the `unless' macro,
16039         which breaks bootstrapping.
16041 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16043         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
16044         extended definitions, in case we reload subr.el after having
16045         loaded CL.
16046         (eval-next-after-load): Mark as obsolete.
16048 2009-09-17  Juri Linkov  <juri@jurta.org>
16050         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
16051         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
16052         (menu-bar-showhide-menu, menu-bar-tools-menu)
16053         (menu-bar-describe-menu, menu-bar-help-menu)
16054         (minibuffer-local-completion-map, minibuffer-local-map):
16055         Fix list quoting.
16057 2009-09-17  Glenn Morris  <rgm@gnu.org>
16059         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
16060         arguments, whether or not it has a handler.
16062         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
16064         * simple.el (hard-newline): Give it a doc-string.
16066         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
16067         (lisp-mode-syntax-table): Give them doc-strings.
16069 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
16071         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
16072         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
16073         (menu-bar-options-menu, menu-bar-showhide-menu)
16074         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
16075         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
16076         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
16077         (menu-bar-options-menu, menu-bar-tools-menu)
16078         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
16079         (menu-bar-help-menu):
16080         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
16081         string arguments.
16083         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
16084         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
16085         calls for the menu names and :help.
16087 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16089         * mouse.el (minor-mode-menu-from-indicator): Pay attention
16090         to :minor-mode-function (bug#4455).
16092 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16094         * startup.el (command-line): Initialize the window-system after
16095         processing the command-line.
16097         * textmodes/page.el (what-page): Make sure we don't inf-loop if
16098         page-delimiter matches the empty string.
16100 2009-09-16  Glenn Morris  <rgm@gnu.org>
16102         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
16103         byte-compile-not-obsolete-var.  It's a list now.
16104         (byte-compile-not-obsolete-funcs): New variable.
16105         (byte-compile-warn-obsolete): Don't warn about functions if they are in
16106         byte-compile-not-obsolete-funcs.
16107         (byte-compile-variable-ref, byte-compile-defvar): Update for
16108         byte-compile-not-obsolete-vars name-change and list nature.
16109         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
16110         and variables behind (f)boundp tests.
16111         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
16113 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
16115         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
16117 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16119         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
16120         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
16121         Don't autoload.
16123 2009-09-15  Stephen Eglen  <stephen@gnu.org>
16125         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
16126         the virtual-buffers, use the name of the buffer specified by
16127         find-file-noselect, as the match may be a symlink.  (This was a
16128         problem if the target and the symlink had different names.)
16130 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16132         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
16134         * desktop.el (desktop-path): Check user-emacs-directory.
16136         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
16138         * loadup.el: Use after-load-functions to GC after loading each file.
16139         Remove the explicit GC calls that used to be sprinkled around.
16141         * subr.el (after-load-functions): New hook.
16142         (do-after-load-evaluation): Run it.  Use string-match-p to detect
16143         `obsolete' packages, rather than painfully extracting the relevant
16144         directory name.
16146 2009-09-15  Glenn Morris  <rgm@gnu.org>
16148         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
16149         free variable `doc'.
16151         * dired.el (dired-mode-map): Add menu entry for async shell command.
16153         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
16154         variables, also consider the .elc files, since the .el files are
16155         normally gzipped (subsequent code locates the .el.gz from the .elc).
16157         * calc/calc-prog.el (arglist): Define for compiler.
16159         * calendar/diary-lib.el (diary-display-function): Change the default to
16160         fancy display.
16161         (body): Define for compiler.
16163         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
16164         (byte-compile-file-form, byte-compile-lambda)
16165         (byte-compile-top-level-body, byte-compile-form)
16166         (byte-compile-variable-ref, byte-compile-setq)
16167         (byte-compile-setq-default, byte-compile-body)
16168         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
16169         (batch-byte-compile): Give some more local variables with common names
16170         a "bytecomp-" prefix to avoid masking warnings about free variables.
16172         * startup.el (command-line-1): Give local variables with common names a
16173         distinguishing prefix, so as not to hide free variable warnings during
16174         bootstrap.
16176         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
16177         clever and add a suffix to make a unique name, just let the user decide
16178         whether or not to overwrite it.  If the input is a directory, write the
16179         default filename to that directory.  (Bug#4388)
16180         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
16181         is a filename-as-a-directory.
16183 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16185         * textmodes/page.el (what-page): Don't move to beginning of line.
16186         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
16188 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
16190         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
16192 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
16194         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
16195         * help.el (help-for-help-internal): Add purecopy calls for text.
16197         * vc.el (top): print-log method now takes an optional SHORTLOG
16198         argument.  Add a new method: root.
16199         (vc-root-diff, vc-print-root-log): New functions.
16200         (vc-log-short-style): New variable.
16201         (vc-print-log-internal): Add support for showing short logs.
16203         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
16204         vc-print-root-log and vc-print-root-diff.
16206         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
16207         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
16208         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
16209         short logs.
16211         * vc-cvs.el (vc-cvs-print-log):
16212         * vc-mtn.el (vc-mtn-print-log):
16213         * vc-rcs.el (vc-rcs-print-log):
16214         * vc-sccs.el (vc-sccs-print-log):
16215         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
16216         that is ignored for now.
16218         * vc-mtn.el (vc-mtn-annotate-command):
16219         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
16221 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16223         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
16224         to function-key-map, and give them ascii-character property.
16225         * term/x-win.el (x-alternatives-map):
16226         * term/ns-win.el (ns-alternatives-map):
16227         * term/internal.el (msdos-key-remapping-map):
16228         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
16230 2009-09-14  Glenn Morris  <rgm@gnu.org>
16232         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
16233         temp-buffers (2009-09-12).
16235 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16237         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
16238         the new read-key function.
16240 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
16242         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
16243         is defined (Bug#4405).
16245 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
16247         * recentf.el (recentf-cleanup): Use a hash table to find
16248         duplicates (Bug#4407).
16250 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
16252         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
16253         kp-0 to ascii equivalents (Bug#4325).
16255 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
16257         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
16259         * eshell/em-hist.el:
16260         * eshell/em-dirs.el (eshell-complete-user-reference):
16261         Declare pcomplete functions and variables to avoid compiler warnings.
16263 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
16265         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
16266         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
16267         * eshell/em-alias.el (eshell-aliases-file):
16268         * eshell/em-hist.el (eshell-history-file-name):
16269         Use expand-file-name instead of concat to make file names (Bug#4308).
16271 2009-09-13  Glenn Morris  <rgm@gnu.org>
16273         * ediff-merg.el (ediff-do-merge):
16274         * filesets.el (filesets-run-cmd):
16275         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
16276         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
16277         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
16278         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
16279         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
16280         Replace empty `let's with `progn'.
16282 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
16284         * mail/sendmail.el (send-mail-function):
16285         * tooltip.el (tooltip-mode):
16286         * simple.el (transient-mark-mode):
16287         * rfn-eshadow.el (file-name-shadow-mode):
16288         * frame.el (blink-cursor-mode):
16289         * font-core.el (global-font-lock-mode):
16290         * files.el (temporary-file-directory)
16291         (small-temporary-file-directory, auto-save-file-name-transforms):
16292         * epa-hook.el (auto-encryption-mode):
16293         * composite.el (global-auto-composition-mode):
16294         Use custom-initialize-delay.
16295         * startup.el (command-line): Don't explicitly call
16296         custom-reevaluate-setting for all the above vars.
16297         * custom.el (custom-initialize-safe-set)
16298         (custom-initialize-safe-default): Delete.
16300 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16302         * term/x-win.el (x-initialize-window-system):
16303         * term/w32-win.el (w32-initialize-window-system):
16304         * term/ns-win.el (ns-initialize-window-system): Don't call
16305         mouse-wheel-mode since it's enabled globally by default already.
16307         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
16308         actually define the variable, but only silences the byte-compiler.
16309         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
16310         before looking it up.
16311         (mouse-wheel-scroll-amount): Also reset the bindings if this value
16312         is changed.
16314 2009-09-12  Glenn Morris  <rgm@gnu.org>
16316         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
16317         1000.
16318         (elint-add-required-env): Don't beep on error.
16319         (elint-forms): In case of error, return ENV unchanged.
16320         (elint-init-env): Skip non-list forms.
16321         (elint-log): Handle unknown file positions.
16323 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
16325         * epg.el (epg-make-context): Add autoload cookie.
16326         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
16327         (epg-decrypt-string, epg-start-verify, epg-verify-file)
16328         (epg-verify-string, epg-start-sign, epg-sign-file)
16329         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
16330         (epg-encrypt-string, epg-start-export-keys)
16331         (epg-export-keys-to-file, epg-export-keys-to-string)
16332         (epg-start-import-keys, epg-import-keys-from-file)
16333         (epg-import-keys-from-string, epg-start-receive-keys)
16334         (epg-receive-keys, epg-import-keys-from-server)
16335         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
16336         (epg-sign-keys, epg-start-generate-key)
16337         (epg-generate-key-from-file, epg-generate-key-from-string):
16338         Remove autoload cookie.
16340 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
16342         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
16343         reevaluation of trash-directory.
16345         * mwheel.el: Fix last change.
16346         (mouse-wheel-mode): New defvar.
16347         (mouse-wheel-mode): Remove autoload cookie.
16349 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
16351         * mwheel.el (mwheel-installed-bindings): New var.
16352         (mouse-wheel-mode): Use it, so as to make sure we really remove all
16353         the bindings we set last time.  Use custom-initialize-delay.
16354         * loadup.el: Load mwheel after term/*-win.el.
16355         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
16356         and mouse-wheel-up-event now that their first evaluation is done
16357         sufficiently late to be correct.
16359         * startup.el (tutorial-directory): Make it a defcustom.
16360         Use custom-initialize-delay rather than eval-at-startup to set it.
16361         * image.el (image-load-path): Make it a defcustom.
16362         Use custom-initialize-delay rather than eval-at-startup to set it.
16363         * subr.el (eval-at-startup): Remove.
16364         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
16366         * subr.el (do-after-load-evaluation): Warn the user after loading an
16367         obsolete package.
16369 2009-09-12  Glenn Morris  <rgm@gnu.org>
16371         * proced.el (proced-mark-alt): Remove alias.
16372         (proced-mode-map): Remove proced-mark-alt.
16374         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
16375         Elint file and directory.  Remove initialization entry.
16377         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
16378         commands.
16379         (elint-current-buffer): Set mode-line-process.
16380         (elint-init-env): Handle define-derived-mode.
16381         Fix declare-function with unspecified arglist.  Guard against odd
16382         defalias statements (eg iso-insert's 8859-1-map).
16383         (elint-add-required-env): Use a temp buffer.
16384         (elint-form): Just print the function/macro name, not the whole form.
16385         Return env unchanged if we fail to parse a macro.
16386         (elint-forms): Guard against parse errors.
16387         (elint-output): New function, to handle batch mode.
16388         (elint-log-message): Add optional argument.  Use elint-output.
16389         (elint-set-mode-line): New function.
16391 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
16393         * emacs-lisp/elp.el (elp-not-profilable): Add more
16394         functions (Bug#4233).
16396 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
16398         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
16399         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
16401 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
16403         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
16404         (gdb-var-list-children): Use json parsing.
16406 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
16408         * progmodes/js.el (js--proper-indentation): Handle the case where
16409         char-before is null.  Reported by Deniz Dogan.
16411 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
16413         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
16415 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
16417         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
16418         (epg-digest-algorithm-alist): Add SHA224.
16419         (epg-context-set-passphrase-callback)
16420         (epg-context-set-progress-callback): Add description about
16421         callback function.
16423 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16425         * custom.el (custom-delayed-init-variables): New var.
16426         (custom-initialize-delay): New function.
16427         * startup.el (command-line): "Re"evaluate all vars in
16428         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
16429         explicitly any more.
16430         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
16431         to avoid creating a ~/.emacs.d at build-time (bug#4347).
16433         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
16435 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
16437         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
16438         (gdb-var-update-handler): Use json parsing.
16440 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
16442         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
16443         decode annotated text, regardless of language environment.  (Bug#2741)
16445 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16447         * Makefile.in (autoloads): Make rmail.el writable as well.
16449 2009-09-11  Glenn Morris  <rgm@gnu.org>
16451         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
16452         loaddefs.el.
16453         * dired.el: Regenerate with extracted autoloads.
16454         * Makefile.in (autoloads): Make dired.el writable.
16456         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
16457         * ibuffer.el: Regenerate with extracted autoloads.
16458         * Makefile.in (autoloads): Make ibuffer.el writable.
16460         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
16461         * version.el (emacs-copyright, emacs-major-version)
16462         (emacs-minor-version): Reformat doc-strings for make-docfile.
16464         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
16465         functions and variables, since they must be stuff specific to some other
16466         platform.
16467         (apropos-print): Make mouse-click message less specific about button.
16469         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
16470         that records where a macro was defined.
16471         * help-fns.el (describe-function-1): Mention if a function has a
16472         compiler-macro.
16473         * help-mode.el (help-function-cmacro): New button.
16475         * locate.el (top-level): Always require dired.
16476         (locate-mode-map): Initialize inside the defvar.
16478         * net/ange-ftp.el (dired-compress-file): Declare.
16479         (ange-ftp-dired-compress-file): Add doc string.
16481         * term/ns-win.el (x-display-name, x-setup-function-keys):
16482         Unify doc-strings with X versions.
16484 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
16486         * emulation/crisp.el (crisp-mode-map): Move initialization
16487         into declaration.
16488         (crisp-mode): Use define-minor-mode.
16490         * progmodes/xscheme.el (xscheme-evaluation-commands):
16491         Put a :advertised-binding property rather than using
16492         advertised-xscheme-send-previous-expression.
16493         (advertised-xscheme-send-previous-expression): Declare obsolete.
16494         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
16495         `advertised-undo'.
16496         (crisp-mode): Add corresponding bindings to
16497         undo's :advertised-binding instead.
16498         * dired.el (dired-mode-map): Put a :advertised-binding property rather
16499         than using dired-advertised-find-file.
16500         (dired-advertised-find-file):
16501         * simple.el (advertised-undo):
16502         * wid-edit.el (advertised-widget-backward): Declare obsolete.
16503         (widget-keymap): Put a :advertised-binding property rather
16504         than using advertised-widget-backward.
16505         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
16506         than using advertised-undo.
16507         * tutorial.el (tutorial--default-keys): Adjust accordingly.
16509 2009-09-10  Simon South  <ssouth@slowcomputing.org>
16511         * progmodes/delphi.el (delphi-tab): Indent region when Transient
16512         Mark mode is enabled and region is active; otherwise indent or
16513         insert TAB as usual.
16514         (delphi-mode): Update description of TAB-key binding.
16516 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
16518         * subr.el (define-key-rebound-commands): Mark obsolete.
16519         * startup.el (precompute-menubar-bindings): Remove.
16520         (normal-top-level): Remove obsolete code that tried to precompute
16521         menubar bindings.
16522         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
16523         define-key-rebound-commands and precompute-menubar-bindings.
16525 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
16527         * net/imap.el (imap-interactive-login): Better messages.
16528         (imap-open): Fix bug with renamed buffer on reconnect.
16529         (imap-authenticate): Add buffer-local imap-last-authenticator variable
16530         for easier debugging and cleaner code.  On successful (guessed based on
16531         server capabilities) secondary authentication, set imap-state
16532         correctly.
16533         (imap-last-authenticator): Define imap-last-authenticator as a variable
16534         to avoid warnings.
16536 2009-09-10  Glenn Morris  <rgm@gnu.org>
16538         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
16540         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
16541         (byte-compile-file-form-autoload): Don't warn about unknown functions
16542         where the autoload statement comes after the use.
16543         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
16544         that any handlers inside the body (eg require) are in turn respected.
16546         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
16547         effects.
16549         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
16550         and syntax and abbrev tables basic docs, if they don't have any.
16552         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
16554         * international/mule-cmds.el (top-level): Require cl when compiling.
16555         (view-hello-file): Use default-value rather than
16556         default-enable-multibyte-characters.
16558         * progmodes/fortran.el: Move all safe and risky properties into the
16559         defcustoms.
16561         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
16562         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
16563         * mail/undigest.el:
16564         Put autoloads in rmail.el rather than loaddefs.el.
16565         * mail/rmail.el: Regenerate with extracted autoloads.
16567         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
16568         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
16570 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
16572         Reported in thread for Bug#4375.
16573         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
16574         "-data-evaluate-expression" instead of print.
16575         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
16576         (gdb-tooltip-print): Parse output from above MI command.
16577         (gdb): Revert 2009-08-11 change.  User should detach inferior
16578         manually.
16580         Remove the word "separate" from IO functions as inferior
16581         output is now never displayed in the GUD buffer.
16583 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
16585         * startup.el (command-line-normalize-file-name): On Windows and
16586         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
16588 2009-09-10  Juri Linkov  <juri@jurta.org>
16590         * isearch.el (isearch-text-char-description): Propertize escape
16591         character sequences with the `escape-glyph' face.  (Bug#4344)
16593         * simple.el (shell-command): Set asynchronous process filter to
16594         `comint-output-filter'.  (Bug#4343)
16596         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
16597         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
16598         the list.  Move "asm" to the bottom.
16599         (grep-find-ignored-directories): Add `choice' with nil value
16600         to empty the list easily.
16601         (grep-find-ignored-files): New option.
16602         (grep-files-history): Set to nil by default instead of '("ch" "el").
16603         (grep-compute-defaults): Add "<X>" to `grep-template'.
16604         (grep-read-files): Bind new local variables `default-alias' and
16605         `default-extension'.  Use a list of default values for the file prompt.
16606         (lgrep): Add `--exclude=' command line options composed from
16607         `grep-find-ignored-files'.
16608         (rgrep): Add `-name' command line options composed from
16609         `grep-find-ignored-files'.  (Bug#4301)
16611 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
16613         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
16614         (bug#4368).
16616 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
16618         * calendar/time-date.el (autoload):
16619         Expand define-obsolete-function-alias into defalias and make-obsolete
16620         for old Emacsen that Gnus supports.
16621         (with-no-warnings): Define it for old Emacsen.
16622         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
16623         is available.
16624         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
16625         float-time is available; suppress compile warning for time-to-seconds.
16627 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
16629         * net/imap.el (imap-message-map): Docstring fix.
16631 2009-09-09  Glenn Morris  <rgm@gnu.org>
16633         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
16634         line numbers too.  (Bug#4374)
16636 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
16638         * smerge-mode.el (smerge-remove-props, smerge-refine):
16639         Use with-silent-modifications (bug#4342).
16641         * subr.el (with-silent-modifications): New macro.
16643 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
16645         * files.el (top-level): Require `cl' when compiling.
16647 2009-09-07  Glenn Morris  <rgm@gnu.org>
16649         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
16651         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
16652         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
16654 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
16656         * vc-git.el (vc-git-annotate-command): Use separator to parse
16657         arguments correctly.
16659 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
16661         * proced.el (proced-mode): Doc fix.
16663 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
16665         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
16666         lstat fails.
16667         (tramp-do-file-attributes-with-ls): Check for file existence at
16668         remote end.
16669         (tramp-do-file-attributes-with-stat): Likewise.
16670         (tramp-convert-file-attributes): Return nil when attr is nil.
16672 2009-09-05  Glenn Morris  <rgm@gnu.org>
16674         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
16675         properties to this button.
16676         (diary-fancy-display): Don't extend the button to the final newline.
16677         (diary-fancy-display-mode): Continue to define "q" as a local key.
16679         * calendar/cal-china.el (holiday-chinese): Make it slightly more
16680         efficient.
16682         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
16684         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
16685         (byte-compile-dest-file-function): New option.
16686         (byte-compile-dest-file): Doc fix.
16687         Obey byte-compile-dest-file-function.
16688         (byte-compile-cl-file-p): New function.
16689         (byte-compile-eval): Only suppress noruntime warnings about cl functions
16690         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
16691         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
16692         than for file being previously loaded.
16693         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
16694         (byte-compile-file-form-require): Handle the case where requiring a file
16695         indirectly causes CL to be loaded.
16697 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
16699         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
16700         before killing the old buffer, since by the time `kill-buffer' is
16701         run so many buffer variables have been set to nil that it may not
16702         behave as expected.  (Bug#4061)
16704 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
16706         * files.el (find-alternate-file): If the old buffer is modified
16707         and visiting a file, behave similarly to `kill-buffer' when
16708         killing it, thus reverting to the pre-1.878 behavior; see
16709         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
16710         for discussion.  Also, consult `buffer-file-name' as a variable
16711         not as a function, for consistency with the rest of the code.
16713 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
16715         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
16716         also when adding a new directory.
16718         * net/tramp-compat.el (tramp-compat-line-beginning-position): New
16719         defun.
16721 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
16723         * files.el (locate-file-completion-table): Make it provide boundary
16724         information, so partial-completion works better.
16726 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
16728         * mail/footnote.el (Footnote-text-under-cursor):
16729         Check footnote-text-marker-alist before using it (bug#4324).
16731 2009-09-04  Glenn Morris  <rgm@gnu.org>
16733         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
16734         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
16735         * play/solitaire.el, play/tetris.el:
16736         Remove leading * from defcustom and defface docs.
16738         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
16739         necessary.
16740         (diary-fancy-overriding-map): New variable.
16741         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
16742         Use view-mode.
16744         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
16745         goto-line.
16747 2009-09-03  Glenn Morris  <rgm@gnu.org>
16749         * arc-mode.el (archive-mode):
16750         * dos-fns.el (set-default-process-coding-system):
16751         * man.el (Man-getpage-in-background):
16752         * menu-bar.el (menu-bar-describe-menu):
16753         * server.el (server-process-filter):
16754         * startup.el (command-line):
16755         * tar-mode.el (tar-header-block-tokenize, tar-extract):
16756         * w32-fns.el (set-default-process-coding-system):
16757         * x-dnd.el (x-dnd-handle-file-name):
16758         * international/mule-cmds.el (mule-menu-keymap)
16759         (set-default-coding-systems, language-info-alist, set-language-info)
16760         (set-language-environment, standard-display-european-internal)
16761         (set-locale-environment):
16762         * international/mule-diag.el (mule-diag):
16763         * mail/emacsbug.el (report-emacs-bug):
16764         * mail/rmail.el (rmail-mode):
16765         * mail/sendmail.el (mail-setup):
16766         Use default-value rather than default-enable-multibyte-characters.
16768         * progmodes/f90.el: Move all safe properties into the defcustoms.
16769         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
16771         * calendar/appt.el (appt-check):
16772         * calendar/diary-lib.el (diary-set-header, diary-live-p)
16773         (diary-check-diary-file, diary-list-entries)
16774         (diary-include-other-diary-files, diary-simple-display)
16775         (diary-fancy-display, diary-print-entries)
16776         (diary-mark-included-diary-files, diary-make-entry):
16777         Don't call substitute-in-file-name on diary-file.
16779 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
16780             Stefan Monnier  <monnier@iro.umontreal.ca>
16782         * mail/footnote.el (footnote-prefix): Make it a defcustom.
16783         (footnote-mode-map): Move initialization into the declaration.
16784         (footnote-minor-mode-map): Define it rather than changing global-map.
16785         (footnote-mode): Use define-minor-mode.
16787 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
16789         * net/tramp.el (tramp-handle-file-attributes-with-ls)
16790         (tramp-do-file-attributes-with-perl)
16791         (tramp-do-file-attributes-with-stat): Rename from
16792         `tramp-handle-file-attributes-with-*'.
16793         (tramp-handle-file-attributes): Use them.
16794         (tramp-do-directory-files-and-attributes-with-perl)
16795         (tramp-do-directory-files-and-attributes-with-stat): Rename from
16796         `tramp-handle-directory-files-and-attributes-with-*'.
16797         (tramp-handle-directory-files-and-attributes): Use them.
16798         (tramp-method-out-of-band-p): Additional parameter SIZE.
16799         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
16800         (tramp-handle-write-region): Use it.
16801         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
16802         (tramp-handle-vc-registered): Check, whether the first run did
16803         return files to be tested.
16804         (tramp-advice-make-auto-save-file-name): Do not call directly
16805         `tramp-handle-make-auto-save-file-name', because this would bypass
16806         the locking mechanism.
16808         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
16809         (file-remote-p, process-file, start-file-process, set-file-times)
16810         (tramp-compat-file-attributes): Compatibility functions shall not
16811         call directly `tramp-handle-*', because this would bypass the
16812         locking mechanism.
16813         (tramp-compat-number-sequence): New defun.
16815 2009-09-02  Glenn Morris  <rgm@gnu.org>
16817         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
16818         alias for float-time.
16819         (time-to-number-of-days): In Emacs, use float-time.
16820         * net/newst-backend.el (time-add): Suppress warnings from compat
16821         function.
16822         * time.el (emacs-uptime, emacs-init-time):
16823         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
16824         Use float-time rather than time-to-seconds.
16826         * minibuffer.el (completion-initials-expand): Fix typo.
16828         * faces.el (modeline, modeline-inactive, modeline-highlight)
16829         (modeline-buffer-id):
16830         * info.el (info-menu-5): Mark these face aliases as obsolete.
16832 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
16834         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
16835         space ...
16836         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
16837         no "--thread" option.
16838         (gdb-stopped): Don't print "Switched to thread" message when it is
16839         unchanged.
16841 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
16843         * minibuffer.el (completion-try-completion)
16844         (completion-all-completions): Remove ill-defined (and
16845         mistakenly installed and luckily never used nor documented)
16846         `completion-styles' property.
16847         (completion-initials-expand, completion-initials-all-completions)
16848         (completion-initials-try-completion): New functions.
16849         (completion-styles-alist): Add doc to each entry.
16850         Add new `initials' entry.
16852 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
16854         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
16855         MI command -var-evaluate-expression.
16856         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
16857         and tweak for case of string child.
16858         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
16860 2009-09-01  Glenn Morris  <rgm@gnu.org>
16862         * add-log.el (change-log-date-face, change-log-name-face)
16863         (change-log-email-face, change-log-file-face, change-log-list-face)
16864         (change-log-conditionals-face, change-log-function-face)
16865         (change-log-acknowledgement-face):
16866         * cus-edit.el (custom-invalid-face, custom-rogue-face)
16867         (custom-modified-face, custom-set-face, custom-changed-face)
16868         (custom-saved-face, custom-button-face, custom-button-pressed-face)
16869         (custom-documentation-face, custom-state-face, custom-comment-face)
16870         (custom-comment-tag-face, custom-variable-tag-face)
16871         (custom-variable-button-face, custom-face-tag-face)
16872         (custom-group-tag-face-1, custom-group-tag-face):
16873         * diff-mode.el (diff-header-face, diff-file-header-face)
16874         (diff-index-face, diff-hunk-header-face, diff-removed-face)
16875         (diff-added-face, diff-changed-face, diff-function-face)
16876         (diff-context-face, diff-nonexistent-face):
16877         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
16878         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
16879         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
16880         (Info-title-4-face):
16881         * isearch.el (isearch-lazy-highlight-face):
16882         * log-view.el (log-view-file-face, log-view-message-face):
16883         * paren.el (show-paren-match-face, show-paren-mismatch-face):
16884         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
16885         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
16886         (cvs-msg-face):
16887         * smerge-mode.el (smerge-mine-face, smerge-other-face)
16888         (smerge-base-face, smerge-markers-face):
16889         * wid-edit.el (widget-documentation-face, widget-button-face)
16890         (widget-field-face, widget-single-line-field-face)
16891         (widget-inactive-face, widget-button-pressed-face):
16892         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
16893         (woman-addition-face):
16894         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
16895         (eshell-ls-executable-face, eshell-ls-readonly-face)
16896         (eshell-ls-unreadable-face, eshell-ls-special-face)
16897         (eshell-ls-missing-face, eshell-ls-archive-face)
16898         (eshell-ls-backup-face, eshell-ls-product-face)
16899         (eshell-ls-clutter-face):
16900         * eshell/em-prompt.el (eshell-prompt-face):
16901         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
16902         * obsolete/old-whitespace.el (whitespace-highlight-face):
16903         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
16904         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
16905         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
16906         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
16907         (antlr-font-lock-literal-face):
16908         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
16909         (ebrowse-root-class-face, ebrowse-file-name-face)
16910         (ebrowse-default-face, ebrowse-member-attribute-face)
16911         (ebrowse-member-class-face, ebrowse-progress-face):
16912         * progmodes/make-mode.el (makefile-space-face):
16913         * progmodes/sh-script.el (sh-heredoc-face):
16914         * textmodes/flyspell.el (flyspell-incorrect-face)
16915         (flyspell-duplicate-face):
16916         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
16917         * textmodes/texinfo.el (texinfo-heading-face):
16918         Mark face aliases with "-face" suffix as obsolete.
16920         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
16921         compiler.
16923         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
16924         (eudc-bob-sound-menu): Use defvar rather than defconst, since
16925         easy-menu-define wants to modify these.
16927         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
16929         * net/browse-url.el (browse-url-file-url):
16930         * term/internal.el (dos-codepage-setup):
16931         Use default-value rather than default-enable-multibyte-characters.
16933         * progmodes/etags.el (etags-goto-tag-location):
16934         * progmodes/flymake.el (flymake-highlight-line)
16935         (flymake-goto-file-and-line, flymake-goto-line):
16936         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
16937         (gdb-goto-breakpoint):
16938         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
16939         * progmodes/python.el (python-find-function)
16940         (python-pdbtrack-track-stack-file):
16941         * progmodes/verilog-mode.el (verilog-surelint-off):
16942         * term/ns-win.el (ns-open-file-select-line):
16943         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
16944         Use forward-line rather than goto-line.
16946         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
16947         * textmodes/reftex-index.el (reftex-display-index):
16948         * textmodes/reftex-ref.el (reftex-offer-label-menu):
16949         * textmodes/reftex-toc.el (reftex-toc):
16950         Remove unnecessary bindings of default-major-mode (all are followed by
16951         major-mode check and possible mode switch).
16953 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
16955         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
16956         Handle watchpoints (bug#4282).
16957         (def-gdb-thread-buffer-command): Enable thread to be selected by
16958         clicking without selecting threads buffer first.
16959         (gdb-current-context-command): Use selected frame so that "up",
16960         "down" etc work in the GUD buffer.
16961         (gdb-update): Find selected frame before rendering stack buffer.
16962         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
16964 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
16966         * progmodes/sym-comp.el (displayed-completions): Remove.
16967         (symbol-complete): Use minibuffer-complete.
16969 2009-08-31  Glenn Morris  <rgm@gnu.org>
16971         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
16973         * apropos.el (apropos-symbols-internal):
16974         Handle (obsolete) face aliases.
16976         * faces.el (describe-face): Adjust the output format to be more like
16977         describe-variable, and to mention (obsolete) face aliases.
16978         Adjust the whitespace so that help-setup-xref works.
16980         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
16981         * calendar/diary-lib.el (diary-button-face):
16982         Mark these face aliases as obsolete.
16984         * calendar/calendar.el (calendar-today): Doc fix.
16986 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
16988         * progmodes/gdb-mi.el (gdb-control-all-threads)
16989         (gdb-control-current-thread): Force tool bar update.
16990         (gdb-non-stop-handler): New function.
16991         (gdb-init-1): Use it to test if non-stop mode is supported.
16992         Remove unused gdbmi buffer type.
16994 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
16996         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
16997         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
16999 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
17001         * comint.el (comint-exec-1): Check command is non-null first.
17002         Part of gdb-mi.el change (2009-08-28).
17004 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17006         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
17008 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
17010         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
17011         instead of `dolist' to avoid a recursive require when bootstrapping.
17013 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
17015         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
17017         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
17019         * net/imap.el (imap-send-command): Simplify.
17020         (imap-wait-for-tag): point-max -> buffer-size.
17022         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
17024         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
17025         with constant argument.
17027         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
17029         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
17031         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
17032         Change default, since most of our files don't have a history.
17033         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
17034         the user.
17036         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17037         Add comint-run.
17039         * calc/calc.el: Improve commenting convention.
17040         (calc-digit-map, toplevel): Simplify.
17042         * comint.el (comint-insert-input): Be careful to only set point if we
17043         don't delegate to some other command.
17045         * proced.el (proced-signal-list): Make it an alist.
17046         (proced-grammar-alist): Capitalize names.
17047         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
17048         Disable undo manually and make it read-only.
17049         Use completion-annotate-function.
17051         * minibuffer.el (minibuffer-message): If the current buffer is not
17052         a minibuffer, insert the message in the echo area rather than at the
17053         end of the buffer.
17054         (completion-annotate-function): New variable.
17055         (minibuffer-completion-help): Use it.
17056         (completion--embedded-envvar-table): Environment vars are
17057         always case-sensitive.
17059 2009-08-30  Glenn Morris  <rgm@gnu.org>
17061         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
17062         from fortran-current-defun.
17063         (fortran-beginning-of-subprogram): Be more precise about finding the
17064         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
17065         (fortran-end-of-subprogram): Simplify.
17066         (fortran-current-defun): Use fortran-start-prog-re.
17068 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
17070         * subr.el (do-after-load-evaluation): Simplify.
17072 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
17074         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
17076         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
17077         (vc-rcs-print-log): Use it.
17079         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
17081 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
17083         * paths.el (abbrev-file-name): Move to abbrev.el.
17084         * abbrev.el (abbrev-file-name): Move from paths.el.
17085         Obey user-emacs-directory.
17086         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
17087         user-emacs-directory.
17088         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
17089         abbrev-file-name and calc-settings-file any more.
17090         * startup.el (command-line): Recompute abbrev-file-name and
17091         abbreviated-home-dir.
17092         (normal-no-mouse-startup-screen): Improve the generic code and get rid
17093         of the special code for when C-h bindings haven't been changed.
17094         (display-startup-echo-area-message): Use with-current-buffer.
17095         (command-line-1): Use a list of strings, rather than a list of lists
17096         of strings for longopts.
17098         * files.el (get-free-disk-space): Use / for default-directory.
17100         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
17101         Use with-current-buffer.
17103         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
17104         Recognize immutable variables like most-positive-fixnum.
17105         (byte-compile-setq-default): Check and warn if trying to assign
17106         to an immutable variable, or a non-variable.
17108         * progmodes/cc-vars.el (c-comment-continuation-stars):
17109         * progmodes/cc-engine.el (c-looking-at-bos):
17110         * progmodes/cc-cmds.el (c-toggle-auto-state)
17111         (c-forward-into-nomenclature, c-backward-into-nomenclature)
17112         (c-comment-line-break-function): Add version of obsolescence.
17114 2009-08-28  Juri Linkov  <juri@jurta.org>
17116         * files.el (magic-fallback-mode-alist): Add ZIP magic number
17117         associated with `archive-mode'.
17119         * image.el (image-type-header-regexps): Use only JPEG magic number
17120         to determine JPEG images, and don't use `image-jpeg-p' because
17121         Emacs can display non-JFIF non-Exif JPEG images.
17123 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
17125         * arc-mode.el (archive-mode):
17126         * emacs-lisp/re-builder.el (re-builder-unload-function):
17127         Protect against the default value of `major-mode' being nil.
17129 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
17131         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
17132         Fix typos in docstrings.
17134         * progmodes/js.el (js--macro-decl-re): Doc fix.
17135         (js--plain-method-re, js--split-name): Refloc docstring.
17136         (js--class-styles, js--make-merged-item, js--splice-into-items):
17137         Fix typos in docstrings; reflow docstrings.
17138         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
17139         (js--variable-decl-matcher, js--inside-pitem-p)
17140         (js--parse-state-at-point, js--get-all-known-symbols)
17141         (js--symbol-history, js-find-symbol, js--js-references)
17142         (js--moz-interactor, js--js-encode-value, js--read-tab):
17143         Fix typos in docstrings.
17145 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17147         * textmodes/reftex.el (reftex-get-file-buffer-force):
17148         * progmodes/verilog-mode.el (verilog-batch-execute-func):
17149         * emulation/viper.el (viper-go-away, viper-set-hooks):
17150         * emacs-lisp/re-builder.el (re-builder-unload-function):
17151         * emacs-lisp/bytecomp.el (byte-compile-file):
17152         * ses.el (ses-unload-function):
17153         * hexl.el (hexl-find-file):
17154         * files.el (normal-mode):
17155         * ehelp.el (with-electric-help):
17156         * autoinsert.el (auto-insert-alist):
17157         * arc-mode.el (archive-mode):
17158         Use (default-value 'major-mode) instead of default-major-mode.
17160         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
17161         * international/mule.el (load-with-code-conversion):
17162         * emacs-lisp/debug.el (debug):
17163         * ediff-vers.el (ediff-rcs-get-output-buffer):
17164         * dired.el (dired-internal-noselect): Don't let-bind
17165         default-major-mode around code that doesn't use it.
17166         E.g. buffer creation via get-buffer-create doesn't use it.
17168 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
17170         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
17171         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
17172         when writing the temp file.  Otherwise, epa-file gets confused.
17173         (tramp-register-file-name-handlers): Make it a defun.  Move also
17174         `epa-file-handler' to the front of `file-name-handler-alist'.
17176 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17178         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
17179         start right after a ^M.
17180         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
17181         (tramp-completion-file-name-regexp-separate)
17182         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
17183         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
17184         Don't modify last-coding-system-used by accident.
17185         (tramp-completion-file-name-handler): Apply the checks here,
17186         instead during registration.
17187         (tramp-register-file-name-handlers): Renamed from
17188         `tramp-register-file-name-handler'.  Register both
17189         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
17190         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
17192 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
17194         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
17195         Remove variable ...
17196         (gdb-init-1, gdb-display-separate-io-buffer)
17197         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
17198         references to it.
17199         (gdb-inferior-io-mode): Use make-comint-in-buffer.
17200         (gdb-inferior-filter): Use comint-output-filter to stop
17201         echoing and remove ^M characters.
17203 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
17205         * emulation/viper-init.el (viper-restore-cursor-type):
17206         * emulation/cua-base.el (cua--update-indications):
17207         Replace default-cursor-type with (default-value 'cursor-type).
17209         * mail/sendmail.el (mail-recover-1):
17210         * international/mule-diag.el (describe-current-coding-system-briefly)
17211         (describe-current-coding-system):
17212         * international/mule-cmds.el (select-safe-coding-system)
17213         (select-message-coding-system)
17214         (set-language-environment-coding-systems, set-locale-environment):
17215         * hexl.el (hexl-insert-multibyte-char):
17216         * dos-w32.el (find-buffer-file-type-coding-system):
17217         * simple.el (what-cursor-position):
17218         Replace uses of default-buffer-file-coding-system
17219         with (default-value 'buffer-file-coding-system).
17221         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
17222         Replace uses of default-cursor-in-non-selected-windows
17223         with (default-value 'cursor-in-non-selected-windows).
17224         Use with-current-buffer.
17226         * mail/feedmail.el: Use CL macros.
17227         (feedmail-run-the-queue, feedmail-send-it-immediately):
17228         * dos-w32.el (find-buffer-file-type): Replace uses of
17229         default-buffer-file-type with (default-value 'buffer-file-type).
17231 2009-08-28  Glenn Morris  <rgm@gnu.org>
17233         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
17234         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
17235         Use default-value of major-mode rather than default-major-mode.
17237 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17239         * Makefile.in (update-elcfiles): Report left over elc files.
17241         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
17242         expand-file-name and with-current-buffer.
17243         (mail-get-names, mail-directory): Use with-current-buffer.
17245         * vc.el (vc-read-revision): New function.
17246         (vc-version-diff, vc-merge): Use it.
17248 2009-08-27  Sam Steingold  <sds@gnu.org>
17250         * simple.el (kill-do-not-save-duplicates): New user option.
17251         (kill-new): When it is non-nil, and the new string is the same as
17252         the latest kill, set replace to t to avoid duplicates in kill-ring.
17254 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
17256         * net/tramp.el (tramp-handle-process-file): Do not flush all
17257         caches when `process-file-side-effects' is set.
17258         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
17259         instead of `tramp-find-file-exists-command'.
17260         Unset `process-file-side-effects'.
17262 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
17264         * net/tramp.el (tramp-methods): New method "rsyncc".
17265         (top): Add completion function for "rsyncc".
17266         (tramp-message-show-message): New defvar.
17267         (tramp-message, tramp-error): Use it.
17268         (tramp-do-copy-or-rename-file-directly): Extend check for direct
17269         remote copying.
17270         (tramp-do-copy-or-rename-file-out-of-band): Handle new
17271         `tramp-methods' entry `copy-env' of "rsyncc".
17272         (tramp-vc-registered-read-file-names): New defconst.
17273         (tramp-vc-registered-file-names): New defvar.
17274         (tramp-handle-vc-registered): Implement optimization strategy.
17275         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
17276         (tramp-vc-file-name-handler): New defun.
17277         (tramp-get-ls-command, tramp-get-test-command)
17278         (tramp-get-file-exists-command, tramp-get-remote-ln)
17279         (tramp-get-remote-perl, tramp-get-remote-stat)
17280         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
17282         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
17283         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
17284         timestamps.
17285         (tramp-get-file-property): Check for timestamps in
17286         `tramp-cache-inhibit-cache'.
17287         (tramp-set-file-property): Write timestamp.
17289 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
17291         * language/japan-util.el (japanese-symbol-table): Add entries for
17292         cp932-2-byte.
17294         * international/characters.el: Add category `j' to cp932-2-byte.
17296 2009-08-27  Kenichi Handa  <handa@m17n.org>
17298         * international/fontset.el (build-default-fontset-data): New macro.
17299         (setup-default-fontset): Use build-default-fontset-data for CJK,
17300         tibetan, ethiopic, and ipa.
17302 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17304         * cus-start.el (default-major-mode): Customize `major-mode' instead.
17305         (enable-multibyte-characters): Not customizable any more.
17307         * subr.el (default-mode-line-format, default-header-line-format)
17308         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
17309         (default-direction-reversed, default-truncate-lines)
17310         (default-left-margin, default-tab-width, default-case-fold-search)
17311         (default-left-margin-width, default-right-margin-width)
17312         (default-left-fringe-width, default-right-fringe-width)
17313         (default-fringes-outside-margins, default-scroll-bar-width)
17314         (default-vertical-scroll-bar, default-indicate-empty-lines)
17315         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
17316         (default-fringe-cursor-alist, default-scroll-up-aggressively)
17317         (default-scroll-down-aggressively, default-fill-column)
17318         (default-cursor-type, default-buffer-file-type)
17319         (default-cursor-in-non-selected-windows)
17320         (default-buffer-file-coding-system, default-major-mode)
17321         (default-enable-multibyte-characters): Mark as obsolete.
17323 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
17325         * vc-dir.el (vc-dir-update): Remove debug helper.
17327         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
17329 2009-08-26  Sam Steingold  <sds@gnu.org>
17331         * simple.el (save-interprogram-paste-before-kill): New user option.
17332         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
17333         save the interprogram-paste into kill-ring before overriding it
17334         with the Emacs kill.
17336 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
17338         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
17339         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
17340         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
17341         and move to vc-rcs.el.
17342         (vc-default-next-revision): Rename to vc-rcs-next-revision and
17343         move to vc-rcs.el.
17344         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
17345         (vc-rcs-update-changelog): Remove.
17346         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
17347         and move to vc-rcs.el.
17349         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
17350         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
17351         renaming.
17352         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
17353         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
17354         vc.el, renamed to be RCS specific.
17356         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
17357         New functions.
17358         (vc-cvs-update-changelog): Move here from vc.el.
17360         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
17361         New functions.
17363 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
17365         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
17367 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
17369         * vc-git.el (vc-git-register): Use "git add" for directories.
17370         (vc-git-stash, vc-git-stash-show): New functions.
17371         (vc-git-extra-menu-map): Bind them.
17373         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
17374         directory correctly in case the item is a directory itself.
17376         * vc.el: Document the desired behavior for reverted files in the
17377         `added' state.
17378         (vc-default-prettify-state-info): Remove function, unused.
17380         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
17382 2009-08-26  Glenn Morris  <rgm@gnu.org>
17384         * bindings.el (standard-mode-line-format): Reposition dashes in
17385         which-func entry.  (Bug#4217)
17387         * files.el (enable-local-variables, enable-local-eval)
17388         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
17389         the defcustoms.
17390         (auto-mode-alist, ignored-local-variables)
17391         (save-some-buffers-action-alist): Move risky declarations to the
17392         definitions.
17393         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
17394         (font-lock-defaults, format-alist, imenu--index-alist)
17395         (imenu-generic-expression, input-method-alist, minor-mode-alist)
17396         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
17397         (mode-line-modified, mode-line-mule-info, mode-line-position)
17398         (mode-line-process, mode-line-remote, outline-level)
17399         (parse-time-rules, rmail-output-file-alist)
17400         (special-display-buffer-names, vc-mode):
17401         Move risky declarations to the relevant files.
17402         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
17403         (mode-line-modified, mode-line-process, mode-line-position)
17404         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
17405         * font-core.el (font-lock-defaults):
17406         * format.el (format-alist):
17407         * vc-hooks.el (vc-mode):
17408         * window.el (special-display-buffer-names):
17409         * international/mule-cmds.el (input-method-alist):
17410         Define riskiness here (dumped file) rather than in files.el.
17411         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
17412         * imenu.el (imenu-generic-expression, imenu--index-alist):
17413         * outline.el (outline-level):
17414         * time.el (display-time-string):
17415         * calendar/parse-time.el (parse-time-rules):
17416         * mail/rmailout.el (rmail-output-file-alist):
17417         Autoload riskiness here, rather than placing in files.el.
17419 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
17421         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
17423 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
17425         * simple.el (process-file-side-effects): New defvar.
17427         * dired-aux.el (dired-show-file-type):
17428         * vc.el (vc-diff-internal):
17429         * vc-arch.el (vc-arch-diff):
17430         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
17431         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
17432         * vc-git.el (vc-git-registered, vc-git-working-revision)
17433         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
17434         (vc-git--empty-db-p):
17435         * vc-hooks.el (vc-user-login-name):
17436         * vc-svn.el (vc-svn-registered, vc-svn-state)
17437         (vc-svn-dir-extra-headers, vc-svn-find-revision):
17438         * progmodes/grep.el (grep-probe): Let-bind
17439         `process-file-side-effects' with nil.
17441         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
17443         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
17444         daemon.  Replace ping by checking for running service for bluez
17445         and zeroconf.  (Bug#4239)
17447 2009-08-25  Kevin Ryde  <user42@zip.com.au>
17449         * net/dig.el (dig): Add autoload cookie.
17451 2009-08-25  Glenn Morris  <rgm@gnu.org>
17453         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
17454         load-history for absolute file-names.
17455         (byte-compile-file-form-require): Warn about use of the cl package.
17457         * format.el (format-alist): Doc fix.
17459         * play/bubbles.el (top-level): Don't require cl at run-time.
17461         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
17462         run-time cl).
17464 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
17466         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
17467         from cl package.
17468         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
17470 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
17472         * calc/calc-alg.el (math-trig-rewrite)
17473         (math-hyperbolic-trig-rewrite): New functions.
17474         (calc-simplify): Simplify trig functions when asked.
17476 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17478         * diff-mode.el (diff-find-source-location): Avoid goto-line.
17480 2009-08-24  Kenichi Handa  <handa@m17n.org>
17482         * language/ind-util.el (mapthread): Delete it.
17483         (combinatorial): New function.
17484         (indian--puthash-cv): Use combinatorial instead of mapthread.
17486 2009-08-22  Kevin Ryde  <user42@zip.com.au>
17488         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
17489         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
17490         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
17491         Clarify docstring that the value is strings not symbols.
17492         (checkdoc-list-of-strings-p): New function.
17494 2009-08-22  Glenn Morris  <rgm@gnu.org>
17496         * files.el (auto-mode-alist):
17497         * hippie-exp.el (he-concat-directory-file-name):
17498         * lpr.el (lpr-windows-system, printer-name):
17499         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
17500         * ps-print.el (ps-windows-system):
17501         * startup.el (command-line):
17502         * emulation/viper-ex.el (viper-glob-function):
17503         * international/mule-cmds.el (set-language-environment-coding-systems):
17504         * net/ange-ftp.el (ange-ftp-write-region):
17505         * obsolete/fast-lock.el (fast-lock-cache-name):
17506         Remove code for defunct system-types emx, macos, mswindows, next-mach,
17507         unisoft-unix, vax-vms, win32, w32.
17509         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
17510         given name if the pattern is not more specific.
17512         * calendar/lunar.el (lunar-phase-names): New option.
17513         (lunar-phase): Doc fix.
17514         (lunar-cycles-per-year): New constant.
17515         (lunar-index): New function.
17516         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
17517         (lunar-phase-name): Use lunar-phase-names.
17518         (calendar-lunar-phases): Use format.
17519         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
17521         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
17522         Copy imenu-example--name-and-position function here for own use.
17523         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
17525         * bs.el (bs--redisplay):
17526         * cus-edit.el (custom-redraw):
17527         * ibuffer.el (ibuffer-bury-buffer):
17528         * server.el (server-goto-line-column):
17529         * startup.el (command-line-1):
17530         * strokes.el (strokes-xpm-for-stroke):
17531         * term.el (term-display-buffer-line):
17532         * view.el (View-goto-line):
17533         * calc/calc.el (calc-do, calc-trail-buffer):
17534         * play/gamegrid.el (gamegrid-add-score-insecure):
17535         * progmodes/ada-mode.el (ada-compile-goto-error):
17536         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
17537         (ebrowse-select-1st-to-9nth):
17538         * progmodes/cperl-mode.el (cperl-time-fontification):
17539         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
17540         * progmodes/gud.el (gud-display-line):
17541         (idlwave-shell-display-line):
17542         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
17543         * progmodes/make-mode.el (makefile-browser-toggle):
17544         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
17545         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
17546         * textmodes/picture.el (picture-draw-rectangle):
17547         * textmodes/reftex-index.el (reftex-index-goto-letter):
17548         (reftex-select-jump-to-previous):
17549         * textmodes/reftex-sel.el (reftex-find-start-point)
17550         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
17551         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
17552         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
17553         * textmodes/tex-mode.el (tex-compilation-parse-errors):
17554         * textmodes/two-column.el (2C-associated-buffer):
17555         Use forward-line rather than goto-line.
17557         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
17558         goto-line.
17560         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
17561         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
17562         (quick-check-list-to-regexp): Declare.
17564         * progmodes/make-mode.el (makefile-browser-insert-selection):
17565         Use goto-char rather than goto-line.
17567         * progmodes/prolog.el (compilation-error-regexp-alist)
17568         (compilation-forget-errors): Declare.
17570 2009-08-22  Juri Linkov  <juri@jurta.org>
17572         * progmodes/grep.el (lgrep, rgrep): At the beginning
17573         set `dir' to `default-directory' unless `dir' is a non-nil
17574         readable directory.  (Bug#4052)
17575         (lgrep, rgrep): Change a weird way to report an error
17576         from using `read-string' to using `error'.
17577         Instead of using interactive arguments in the function body,
17578         add new argument `confirm'.
17580 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17582         * textmodes/remember.el (remember-buffer):
17583         * progmodes/cperl-mode.el (cperl-vc-header-alist):
17584         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
17585         (icalendar-extract-ical-from-buffer):
17586         * net/newst-treeview.el (newsticker-groups-filename):
17587         * net/newst-backend.el (newsticker-cache-filename):
17588         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
17589         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
17590         (speedbar-add-ignored-path-regexp, speedbar-line-path)
17591         (speedbar-buffers-line-path, speedbar-path-line)
17592         (speedbar-buffers-line-path):
17593         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
17594         (epg-sign-keys):
17595         * epa.el (epa-display-verify-result):
17596         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
17598 2009-08-21  Glenn Morris  <rgm@gnu.org>
17600         * progmodes/js.el (inferior-moz-process): Fix declaration.
17602         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
17604         * obsolete/rnewspost.el (news-mail-reply):
17605         Use goto-char rather than goto-line.
17607         * term/ns-win.el (ns-open-file-select-line):
17608         Use line-beginning-position rather than goto-line.
17610         * apropos.el (apropos-command):
17611         * ehelp.el (electric-helpify):
17612         * printing.el (pr-show-setup):
17613         * strokes.el (strokes-help):
17614         * tutorial.el (tutorial--describe-nonstandard-key)
17615         (tutorial--detailed-help):
17616         * woman.el (woman-mini-help, woman-display-extended-fonts):
17617         * calc/calc-help.el (calc-describe-key):
17618         * emulation/edt.el (edt-electric-helpify):
17619         * international/mule-diag.el (mule-diag):
17620         * play/yow.el (apropos-zippy):
17621         * progmodes/python.el (python-describe-symbol):
17622         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
17623         * textmodes/table.el (*table--cell-describe-mode)
17624         (*table--cell-describe-bindings):
17625         Use help-print-return-message rather than the now obsolete alias.
17627         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
17628         (calendar-cursor-to-visible-date):
17629         * play/5x5.el (5x5-position-cursor):
17630         * play/decipher.el (decipher):
17631         * play/gomoku.el (gomoku-goto-xy):
17632         * play/landmark.el (lm-goto-xy):
17633         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
17634         (mpuz-paint-digit):
17635         Use forward-line, not goto-line.
17637         * mail/rmail.el (rmail-obsolete): Delete custom group.
17638         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
17639         (rmail-remote-password, rmail-remote-password-required):
17640         Remove unneeded :set-after and :set properties.
17642 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
17644         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
17646 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
17648         * loadup.el: Remove leftover macos code.
17650         * vc-git.el (vc-git-annotate-command): Run asynchronously.
17651         Explicitly pass the date format to git blame so that user local
17652         so that the output format can be parsed.
17654 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
17656         * net/dbus.el (top): Don't check for (getenv
17657         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
17659 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
17661         * log-edit.el (log-edit-strip-single-file-name): New var.
17662         (log-edit-insert-changelog): Use it.  Bug#3571
17664 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17666         * subr.el (read-passwd): Use read-key so keypad keys work as well.
17667         Bug#3287
17669         * help.el (help-print-return-message): Rename from
17670         print-help-return-message.
17672         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
17673         cvs-mode-map parent hack.
17674         (log-view-mode): Derive from special-mode.
17676         * linum.el (linum-mode): window-size-change-functions is redundant.
17677         Adapt to new window-configuration-change-hook behavior.
17678         (linum-after-size, linum-after-config): Remove.
17680         * imenu.el (imenu-example--name-and-position)
17681         (imenu-example--lisp-extract-index-name)
17682         (imenu-example--create-lisp-index, imenu-example--create-c-index):
17683         Mark as obsolete.
17685         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
17686         (inferior-prolog-mode): Use it.
17687         (inferior-prolog-load-file): Reset list of errors.
17689 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
17691         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
17693         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
17695 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
17697         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
17698         is running already.
17700 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17702         * subr.el (listify-key-sequence-1): Use normal syntax since those
17703         integers are nowadays always represented by the same (positive) number
17704         on all platforms.
17705         (read-key-empty-map): New const.
17706         (read-key-delay): New var.
17707         (read-key): New function.
17708         (force-mode-line-update): Use with-current-buffer.
17709         (locate-user-emacs-file): Don't forget to abbreviate the file name.
17710         (start-process-shell-command, start-file-process-shell-command):
17711         Discourage the use of command-args.
17713 2009-08-19  Glenn Morris  <rgm@gnu.org>
17715         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
17717 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
17719         * simple.el (choose-completion-string): Don't rely on
17720         minibuffer-completing-file-name and ad-hoc checks to decide whether
17721         to continue completion or not.
17723         * minibuffer.el (minibuffer-hide-completions): New function.
17724         (completion--do-completion): Use it.
17725         (completions-annotations): New face.
17726         (completion--insert-strings): Use it.
17727         (completion-pcm--delim-wild-regex): Add docstring.
17728         (completion-pcm--string->pattern): Add support for 0-width delimiters
17729         in completion-pcm--delim-wild-regex.
17731 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17733         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
17734         Remove unused var `buffer-modified-p'.
17736         * minibuffer.el (completion--do-completion): Move point for the #b001
17737         case as well (bug#4176).
17738         (minibuffer-complete, minibuffer-complete-word): Don't move point.
17740 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
17742         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
17743         and :session buses.
17745 2009-08-18  Kenichi Handa  <handa@m17n.org>
17747         * international/ucs-normalize.el (ucs-normalize-version):
17748         Change to 1.1.
17749         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
17750         (utf-8-hfs): Make it perform normalization on encoding too.
17752         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
17753         (sentence-end-without-space): Delete duplicated chars.
17754         (sentence-end-base): Likewise.
17756         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
17757         (html-mode): Delete duplicated chars from sentence-end-base.
17759         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
17760         (texinfo-mode): Delete duplicated chars from sentence-end-base.
17762 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
17764         * files.el (hack-one-local-variable): If the mode function is for
17765         a minor mode, pass it an argument (Bug#4148).
17767 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
17769         * net/tramp.el (tramp-register-completion-file-name-handler):
17770         Check also for (member 'partial-completion completion-styles).
17772 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
17774         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
17775         abbrev (Bug#3943).
17777 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
17779         * progmodes/cperl-mode.el: Merge upstream 6.2.
17780         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
17781         (cperl-forward-re): Check cperl-brace-recursing.
17782         (cperl-highlight-charclass): New function.
17783         (cperl-find-pods-heres): Use it.
17784         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
17785         (cperl-beautify-regexp-piece): Fix column calculation.
17786         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
17787         (cperl-beautify-level): Don't process entire regexp.
17788         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
17789         calling man.
17790         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
17791         (cperl-init-faces): Build a list in the normal way.
17793 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
17795         * calendar/parse-time.el (parse-time-string-chars): Save match
17796         data.
17798 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17800         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
17801         (sql-product): Use it.
17802         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
17803         (sql-set-product): Add completion.
17804         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
17805         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
17806         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
17807         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
17808         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
17809         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
17810         (sql-highlight-db2-keywords): Remove.
17811         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
17812         (sql-highlight-product): Use derived-mode-p.
17813         (sql-set-sqli-buffer): Use with-current-buffer.
17814         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
17815         Simplify.
17817         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
17819         * term.el: Fix commenting convention, turn comments into docstrings.
17821 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
17823         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
17825 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
17827         * calendar/parse-time.el (parse-time-string-chars): Compute using
17828         character classes, to handle non-ascii characters (Bug#3190).
17830 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
17832         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
17833         another heredoc if the user adds another < (Bug#3226).
17835         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
17836         Don't initialize based on window-system (Bug#4124).
17838         * facemenu.el (facemenu-read-color): Use a completion function
17839         that accepts any defined color, such as RGB triplets (Bug#3677).
17841         * files.el (get-free-disk-space): Change fallback default
17842         directory to /.  Expand DIR argument before switching to fallback.
17843         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
17845 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
17847         * files.el (load-library): Doc fix.
17849 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
17851         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
17852         (viper-if-string): Redefine C-s in the minibuffer to insert the last
17853         incremental search string.
17855         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
17856         XEmacs.
17858         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
17859         (ediff-merge-region-is-non-clash)
17860         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
17861         Also check if the job is really a merge job.
17863         * ediff.el (ediff-current-file): New function.
17865 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
17867         * progmodes/js.el: Edit docstrings throughout to follow Emacs
17868         conventions.
17869         (js-insert-and-indent): Delete function.
17870         (js-mode-map): Don't bind keys to js-insert-and-indent.
17871         (js-beginning-of-defun): Rename from js--beginning-of-defun.
17872         (js-end-of-defun): Rename from js--end-of-defun.
17873         (js-auto-indent-flag): Delete variable.
17875 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
17877         * progmodes/js.el: Remove proclaim statement.
17878         Defvar which-func-imenu-joiner-function to silence compiler.
17880         * files.el (auto-mode-alist): Use js-mode for .js files.
17882         * progmodes/js2-mode.el: Remove file.
17884         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
17886         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
17888         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
17890 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
17891             Karl Landstrom  <karl.landstrom@brgeight.se>
17893         * progmodes/js.el: New file.
17895 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
17897         * timezone.el (timezone-parse-date): Add ability to understand ISO
17898         basic format (minimal separators) dates in addition to the
17899         already-supported extended format dates.
17901 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
17903         * international/ucs-normalize.el: Add a `coding' file variable.
17905         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
17907 2009-08-14  Sam Steingold  <sds@gnu.org>
17909         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
17911 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
17913         * faces.el (help-argument-name): Define it here instead of
17914         help-fns.el, because in daemon mode help-fns.el may be loaded when
17915         faces are still uninitialized (Bug#1078).
17917         * help-fns.el (help-argument-name): Move defface to faces.el.
17919 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
17921         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
17922         create buffer with a pty but no process so that GDB can make the
17923         inferior the controlling process.
17925 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
17927         * international/ucs-normalize.el: New file.
17929 2009-08-13  Richard Stallman  <rms@gnu.org>
17931         * mail/rmail.el (rmail-get-attr-names):
17932         Accept an attribute header that is too short.
17934         * mail/rmail.el (rmail-forget-messages):
17935         Ignore nil elt in rmail-message-vector.  Use dotimes.
17937         * progmodes/compile.el (compilation-goto-locus):
17938         Use next-error-move-function.
17940         * simple.el (next-error-move-function): New variable.
17942 2009-08-12  Juri Linkov  <juri@jurta.org>
17944         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
17945         always non-nil.  (Bug#4052)
17947         * replace.el (read-regexp): Return empty string when
17948         `default-value' is nil.
17949         (keep-lines-read-args): Don't use empty string as the
17950         default value for `read-regexp'.  (Bug#2495)
17952 2009-08-12  Juri Linkov  <juri@jurta.org>
17954         * international/mule-cmds.el (ucs-insert): Change arguments
17955         from `arg' to `character', `count', `inherit' to be the same
17956         as in `insert-char'.  Doc fix.  (Bug#4039)
17958         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
17960 2009-08-12  Juri Linkov  <juri@jurta.org>
17962         * files-x.el: New file.
17964         * files.el: Move code that deals with adding/deleting
17965         file/directory-local variables to files-x.el.
17967         * Makefile.in (ELCFILES): Add files-x.elc.
17969 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
17971         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
17972         to use `goto-line'.
17973         (gdb-place-breakpoints, gdb-get-location): Rewritten without
17974         `goto-line'.
17975         (gdb-invalidate-disassembly): Do not refresh upon receiving
17976         'update signal.  Instead, update all disassembly buffers only after
17977         threads list.
17978         (gdb): Send -target-detach when buffer is killed (Bug#3794).
17979         (gdb-starting): Moved -data-list-register-names...
17980         (gdb-stopped): ...here so it's sent when first thread stops.
17981         (gdb-registers-handler-custom): Do nothing if register names are
17982         unknown yet.
17984         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
17985         from `gdb-mi.el' to avoid extra tangling.
17987         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
17988         change which breaks `gud-def' definitions used in `gdb'.
17989         (gdb-update-gud-running): No extra fuss for updating frame number.
17991 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
17993         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
17994         (describe-language-environment-map, setup-language-environment-map)
17995         (set-coding-system-map): Move initialization into declaration.
17996         (set-language-info-alist): Last arg to define-key-after can be skipped.
17998         * international/quail.el (quail-completion-1): Simplify.
17999         (quail-define-rules): Use slightly more compact code.
18000         (quail-insert-decode-map): Propertize keys, compact columns.
18002         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18003         Add goto-line.
18005 2009-08-10  Miles Bader  <miles@gnu.org>
18007         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
18008         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
18009         (js2-instance-member, js2-private-member, js2-private-function-call)
18010         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
18011         (js2-magic-paren, js2-external-variable):
18012         Remove "-face" suffix from face names.
18013         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
18014         (js2-highlight-undeclared-vars, js2-peek-token)
18015         (js2-parse-function-params, js2-mode-show-errors)
18016         (js2-mode-show-warnings, js2-make-magic-delimiter)
18017         (js2-mode-highlight-magic-parens): Update to use new face names.
18019 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
18021         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
18022         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
18024 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
18026         * subr.el: Provide hashtable-print-readable.
18028         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
18029         hs-c-like-adjust-block-beginning.
18030         (hs-hide-block-at-point): Stop hiding at the beginning of
18031         hs-block-end-regexp (Bug#700).
18033 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
18035         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
18036         a macro.
18037         (gdb-registers-handler-custom): Do not fail when register names
18038         are unavailable.
18040 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
18042         * progmodes/gdb-mi.el (gdb-control-all-threads)
18043         (gdb-control-current-thread): Interactive setters for
18044         `gdb-gud-control-all-threads' to use in menu.
18045         (gdb-show-run-p): Show «Go» when process is not active.
18046         (gud-tool-bar-map): Add non-stop/A,T indicator.  Uses
18047         gud/thread.xpm and gud/all.xpm.
18049 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
18051         * net/net-utils.el (net-utils-font-lock-keywords): New var.
18052         (nslookup-font-lock-keywords): Make it a variable.
18053         (net-utils-mode): New mode for viewing diagnostic network output.
18054         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
18055         (net-utils-run-simple): New function.
18056         (ifconfig, iwconfig, netstat, arp, route): Use it.
18058 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
18060         * progmodes/gdb-mi.el (gdb-read-memory-custom)
18061         (gdb-memory-set-address, def-gdb-set-positive-number)
18062         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
18063         after changing settings.
18064         (gdb-invalidate-disassembly): Update when first shown.
18065         (gdb-edit-locals-value): Fixed.
18066         (gdb-registers-handler-custom): Print registers in right order and
18067         allow changing register values (only for current thread yet).
18068         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
18069         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
18070         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
18071         (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
18072         info in mode name.
18073         (gdb-registers-mode-map): TAB to switch to locals.
18075 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
18077         * mail/rmail.el (rmail-add-mbox-headers)
18078         (rmail-set-message-counters-counter): Search for
18079         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
18081 2009-08-08  Glenn Morris  <rgm@gnu.org>
18083         * Makefile.in (ELCFILES): Update.
18085 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
18087         * mail/sendmail.el (mail-yank-original): Set
18088         buffer-file-coding-system from the one used by the message whose
18089         text is yanked.
18091         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
18092         to "windows" when "pgnuplot" is used.
18093         (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
18094         call accept-process-output if "pgnuplot" is used.
18095         (calc-graph-init): Don't send -display and -geometry to
18096         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
18097         running "pgnuplot -V" with shell-command-to-string.
18099         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
18100         the default.
18102 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
18104         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
18105         org/org-latex.elc.
18107 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
18109         * vc-dispatcher.el (vc-resynch-window): Update comment.
18111         * term.el (term-handle-ansi-escape): Add comments with the
18112         terminfo capabilities implemented.
18114 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
18116         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
18117         (gdb-var-create-handler): Rewritten using JSON parser.
18118         (gdb-propertize-header): Moved earlier.
18119         (gdb-set-header): Removed to avoid duplication.
18120         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
18121         Refresh disassembly buffers only after threads list have been
18122         update.
18123         (gdb-threads-header, gdb-registers-header): Per-buffer header line
18124         variables.
18126 2009-08-04  Juri Linkov  <juri@jurta.org>
18128         * files.el: Commands to add/delete file/directory-local variables.
18129         (read-file-local-variable, read-file-local-variable-value)
18130         (read-file-local-variable-mode, modify-file-local-variable)
18131         (modify-file-local-variable-prop-line)
18132         (modify-dir-local-variable): New functions.
18133         (add-file-local-variable, delete-file-local-variable)
18134         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
18135         (add-dir-local-variable, delete-dir-local-variable)
18136         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
18137         (copy-dir-locals-to-file-locals-prop-line): New commands.
18139 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
18141         * abbrev.el (insert-abbrev-table-description): Prettify output.
18142         Suggested by Karl Chen.
18144 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
18146         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
18147         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
18148         (gdb-overlay-arrow-position, gdb-thread-position)
18149         (gdb-disassembly-position): Declare variables.
18150         (gdb-wait-for-pending): Function now.
18151         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
18152         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
18153         compilation goes smoothly.
18154         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
18155         (gdb-non-stop-setting): New customization setting which replaces
18156         `gdb-non-stop' so changing it doesn't break active GDB session.
18157         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
18158         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
18159         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
18160         (gdb-show-threads-by-default): New customization options.
18161         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
18162         routines.
18163         (gdb-get-buffer-create): Send buffers update signal when they are
18164         created.
18165         (gdb-invalidate-locals, gdb-invalidate-registers)
18166         (gdb-invalidate-breakpoints)
18167         (gdb-invalidate-threads, gdb-invalidate-disassembly)
18168         (gdb-invalidate-memory): Accept update signal.
18169         (gdb-current-context-command): Use --frame option.
18170         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
18171         Implement `gdb-frame-number' selection logic.
18172         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
18173         whether to show GUD toolbar buttons.
18174         (gdb-thread-exited): Unselect current thread when it exits.
18175         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
18176         (gdb-mark-line): Routine which sets overlay arrow or inverses
18177         video on fringeless displays.
18178         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
18179         to build aligned columns of data in GDB buffers and set text
18180         properties line-by-line.
18181         (gdb-invalidate-breakpoints)
18182         (gdb-breakpoints-list-handler-custom)
18183         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
18184         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
18185         (gdb-registers-handler-custom): Align data columns.
18186         (gdb-locals-handler-custom): Now prints data like in variable
18187         declarations.
18188         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
18189         Removed confusing buttons.
18190         (gdb-invalidate-threads): Append --frame.
18191         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
18192         between breakpoints/threads buffers.
18193         (gdb-set-window-buffer): Now can ignore dedicated windows.
18194         (gdb-propertize-header): Use `gdb-set-window-buffer'.
18195         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
18196         (def-gdb-thread-buffer-gud-command): Replaces
18197         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
18198         for fine thread control.
18199         (gdb-preempt-existing-or-display-buffer): New function used to
18200         display bound buffers without breaking window layout.
18201         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
18202         (gdb-select-frame): New version of `gdb-frames-select' which now
18203         sets `gdb-frame-number' so commands may use --frame option instead
18204         of inner debugger state.
18205         (gdb-frame-handler): Do not set `gdb-frame-number'.
18206         (gdb-threads-mode-map): Select threads with mouse.
18208         * progmodes/gud.el (gdb-gud-context-call): Declare function to
18209         avoid compilation warning.
18210         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
18211         `gdb-show-stop-p`.
18213         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
18214         Argument `key' renamed to `buffer-type'.
18215         (gdb-current-context-buffer-name): Do not add thread info to
18216         buffer name when no thread is selected.
18217         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
18218         command (bug 3794).
18219         (gdb-thread-selected): Handle `=thread-selected' notification.
18220         (gdb-wait-for-pending): New macro to deal with congestion problems.
18221         (gdb-breakpoints-list-handler-custom): Don't fail on pending
18222         breakpoints.
18223         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
18224         This fixes problem similar to one described in bug 3947.
18225         (gud-menu-map): More menu items.
18226         (gdb-init-1): Reset `gdb-thread-number' to nil.
18228         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
18229         non-stop settings.
18231         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
18232         (gdb-current-context-command): Do not append --thread if
18233         `gdb-thread-number' is nil.
18234         (gdb-running-threads-count, gdb-stopped-threads-count): New
18235         variables.
18236         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
18237         (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
18238         customization options.
18239         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
18240         GUD commands.
18241         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
18242         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
18243         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
18244         set `gdb-thread-number' and update `gud-running' properly.
18245         (gdb-running): Update threads list when new threads appear.
18246         (gdb-stopped): Support non-stop operation and new thread switching
18247         logic.
18248         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
18249         (gdb-json-partial-output): New set of JSON routines.
18250         (def-gdb-auto-update-trigger): New `signal-list' optional
18251         argument.
18252         (gdb-thread-list-handler-custom): Update `gud-running',
18253         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
18254         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
18255         (gdb-continue-thread, gdb-step-thread): New commands for fine
18256         thread execution control.
18257         (gud-menu-map): New menu items to switch non-stop options.
18258         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
18259         (gdb-send): Mimic RET properly (bug 3794).
18261         * progmodes/gdb-mi.el (gdb-rules-name-maker)
18262         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
18263         gdb-buffer-rules.
18264         (def-gdb-auto-update-handler): New nopreserve optional argument.
18265         (gdb-stack-list-frames-custom): Print stack from top to bottom.
18267         * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
18268         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
18269         (gdb-parent-mode): New mode to derive other GDB modes from.
18270         (gdb-display-disassembly-for-thread)
18271         (gdb-frame-disassembly-for-thread): New commands for threads
18272         buffer.
18274         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
18275         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
18276         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
18277         (gdb-update): We now store all GDB buffers in a list so that they
18278         can be updated by traversing a list instead of calling invalidate
18279         triggers explicitly.
18280         (def-gdb-trigger-and-handler): New macro to define trigger-handler
18281         pair for GDB buffer.
18282         (gdb-stack-buffer-name): Add thread information.
18283         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
18284         handle pending triggers.
18285         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
18286         (def-gdb-thread-buffer-simple-command)
18287         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
18288         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
18289         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
18290         New commands which show buffers bound to thread.
18291         (gdb-stack-list-locals-regexp): Removed unused regexp.
18293         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
18294         (gdb-locals-buffer-name, gdb-registers-buffer-name)
18295         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
18296         to (gud-comint-buffer) in *-buffer-name functions
18297         because (gdb-get-target-string) already does that.
18298         (gdb-locals-handler-custom, gdb-registers-handler-custom)
18299         (gdb-changed-registers-handler): Rewritten without regexps.
18301         * progmodes/gdb-mi.el: Basic thread selection support.
18302         (gdb-thread-number): New variable.
18303         (gdb-current-context-command): New macro which adds --thread
18304         option to command.
18305         (gdb-threads-mode-map): Select thread with SPC.
18306         (gdb-thread-list-handler-custom): Mark current thread with overlay
18307         arrow.  Synchronize GDB thread and Emacs thread.
18308         (gdb-select-thread): New command which selects current thread.
18309         (gdb-invalidate-frames, gdb-invalidate-locals)
18310         (gdb-invalidate-registers): Use --thread option.
18312 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
18314         * net/tramp.el (top): Make check for tramp-gvfs loading more
18315         robust.  (Bug#3977)
18316         (tramp-handle-insert-file-contents): `unwind-protect' must be
18317         inside `with-parsed-tramp-file-name'.
18319         * net/tramp-gvfs.el (top): Remove superfluous message when loading
18320         fails.
18322 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
18324         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
18325         directory if CLASSPATH is not set.
18327 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
18329         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
18330         New defconst.
18331         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
18333 2009-08-02  Kevin Ryde  <user42@zip.com.au>
18335         * net/newst-backend.el (newsticker--raw-url-list-defaults):
18336         Update freshmeat link.  Delete newsforge.com as it seems gone.
18338 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
18340         * select.el (x-set-selection): Doc fix (Bug#4021).
18342         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
18344         * help-fns.el (describe-variable): Treat list return values from
18345         dir-locals-find-file properly (Bug#4005).
18347 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
18349         * net/tramp.el (tramp-debug-message): Print also microseconds.
18351 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
18353         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
18354         or END is non-nil.
18355         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
18356         (tramp-get-debug-buffer): Change `outline-regexp' according to new
18357         format.
18359         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
18360         (tramp-get-file-property): Use it.
18362         * autorevert.el (auto-revert-handler): Allow
18363         `auto-revert-tail-mode' for remote files.
18365 2009-08-02  Jason Rumney  <jasonr@gnu.org>
18367         * minibuffer.el (read-file-name): Treat confirm options to
18368         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
18370 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
18372         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
18373         (font-lock-variable-name-face, font-lock-constant-face): Darken
18374         the colors for light backgrounds.
18376 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
18378         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
18379         month names.  (Bug#3987)
18381 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
18383         * simple.el (line-move-finish): Pass whole number to
18384         line-move-to-column.
18385         (line-move-visual): Perform hscroll to the recorded position.
18387 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
18389         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
18391 2009-07-29  Alan Mackenzie  <acm@muc.de>
18393         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
18395 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
18397         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
18398         (gdb-place-breakpoints): Use full path when setting breakpoints.
18400 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
18402         * calc/calc.el (calc-mode-map): Add keybinding for
18403         `calc-transpose-lines'.
18405 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
18407         * calc/calc-misc.el (calc-transpose-lines): New function.
18409 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
18411         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
18412         Simplify check for out-of-band methods.
18413         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
18414         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
18416 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
18418         * vc-git.el (vc-git-checkin): Fix typo.
18420 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
18422         * progmodes/js2-mode.el: New file.
18424 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
18426         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
18427         (gud-menu-map): Adjust tooltip accordingly.
18429 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
18431         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
18432         (vc-bzr-log-view-mode): Adjust log-view-file-re.
18434         * add-log.el (change-log-mode-map): Add a menu.
18436 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
18438         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
18439         function returns nil.
18440         (dbus-handle-event): Handle special return value :ignore.
18441         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
18443 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
18445         * view.el (view-mode-enable): Don't define Helper-return-blurb if
18446         it's not needed.
18448 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
18450         Fix Bug#3888:
18452         * w32-vars.el (x-select-enable-clipboard): Doc fix.
18454         * term/pc-win.el (x-display-name, x-colors)
18455         (x-select-enable-clipboard, x-select-text): Doc fix.
18457         * term/common-win.el (x-display-name, x-colors): Doc fix.
18459         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
18460         (xw-defined-colors): Doc fix.
18462         * w32-fns.el (x-select-text, x-setup-function-keys)
18463         (x-get-selection, x-set-selection): Doc fix.
18465         * term/x-win.el (x-select-text, x-setup-function-keys)
18466         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
18468         * select.el (x-set-selection): Doc fix.
18470 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
18472         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
18473         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
18474         "IsNSSSupportAvailable" method is not available.  Reported by
18475         Steve Youngs <steve@sxemacs.org>.
18477 2009-07-24  Kenichi Handa  <handa@m17n.org>
18479         * international/characters.el: Fix setting of category ?C, ?|, ?K,
18480         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
18481         (build-unicode-category-table): Fix range checks.
18483 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
18485         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
18486         the buffer we try to sync is current when calling
18487         vc-resynch-buffer.
18489         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
18490         not show up to date files.
18492 2009-07-24  Glenn Morris  <rgm@gnu.org>
18494         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
18495         Add autoload cookies.  If necessary, initialize.
18496         (elint-log): Handle non-file buffers.
18497         (elint-initialize): Add optional argument to reinitialize.
18498         (elint-find-builtin-variables): Save excursion.
18500 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
18502         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
18503         for Lint.
18505 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
18507         * vc.el (vc-print-log-internal): New function, split out from ...
18508         (vc-print-log): ... here.
18509         (vc-dir-move-to-goal-column): Declare.
18511         * vc-git.el (vc-git-add-signoff): New variable.
18512         (vc-git-checkin): Use it.
18513         (vc-git-toggle-signoff): New function.
18514         (vc-git-extra-menu-map): Bind it to menu.
18515         (vc-git--run-command-string): Accept a nil FILE argument.
18516         (vc-git-stash-list): New function.
18517         (vc-git-dir-extra-headers): Use it.
18519 2009-07-23  Glenn Morris  <rgm@gnu.org>
18521         * help-fns.el (describe-variable): Describe ignored and risky local
18522         variables in a similar way to that in which we describe safe ones.
18524         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
18525         (byte-compile-output-file-form, byte-compile-output-docform)
18526         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
18527         Give some more local variables with common names a "bytecomp-" prefix,
18528         so as not to shadow things during compilation.
18529         * emacs-lisp/cl-macs.el (load-time-value)
18530         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
18531         `outbuffer' to `bytecomp-outbuffer'.
18533         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
18534         since the next two variables cover them automatically now.
18535         (elint-builtin-variables, elint-autoloaded-variables): New.
18536         (elint-unknown-builtin-args): Remove all members, since they can be
18537         parsed automatically now.
18538         (elint-extra-errors): New.
18539         (elint-env-add-env, elint-env-add-macro): Use cadr.
18540         (elint-current-buffer): Use or.  Change final message.
18541         (elint-get-top-forms): Use line-end-position.
18542         (elint-init-env): Use cadr.  Handle autoload, declare-function,
18543         and defalias.
18544         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
18545         (regexp-assoc): Remove unused function.
18546         (elint-top-form): Set elint-current-pos, to record the start of the
18547         top-level form, for compilation-mode.
18548         (elint-form): Trap errors in macro expansion.  Use dolist.
18549         (elint-unbound-variable): Use elint-builtin-variables and
18550         elint-autoloaded-variables.
18551         (elint-get-args): Use cadr, or.
18552         (elint-check-cond-form): Use dolist, cadr.
18553         (elint-check-condition-case-form): Doc fix.  Use cadr.
18554         Use elint-extra-errors.
18555         (elint-log): New function.
18556         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
18557         Distinguish errors and warnings.
18558         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
18559         Use a bytecomp-style format.
18560         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
18561         (elint-get-log-buffer): Use compilation mode.  Disable undo.
18562         Don't truncate lines.
18563         (elint-initialize): Set builtin and autoloaded variable lists.
18564         Only process elint-unknown-builtin-args if non-nil.
18565         (elint-find-builtin-variables, elint-find-autoloaded-variables):
18566         New functions.
18567         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
18569 2009-07-22  Kevin Ryde  <user42@zip.com.au>
18571         * net/newst-backend.el (newsticker--parse-atom-1.0)
18572         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
18573         (newsticker--parse-rss-1.0):
18574         * progmodes/idlwave.el (idlwave-mode):
18575         * progmodes/idlw-shell.el (idlwave-shell-mode):
18576         * progmodes/vera-mode.el (vera-mode):
18577         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
18578         * progmodes/vhdl-mode.el (vhdl-mode):
18579         * textmodes/table.el (table-generate-source)
18580         (table--warn-incompatibility):
18581         Hyperlink urls in docstrings with URL `...'.
18583 2009-07-22  Glenn Morris  <rgm@gnu.org>
18585         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
18586         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
18587         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
18588         Remove leading * from defcustom docs.
18590         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
18592         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
18593         defcustom doc.
18594         (list-load-path-shadows): Optionally, just return shadows as a string.
18596         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
18598 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
18600         * mail/rmailedit.el (rmail-edit-mode): Use
18601         auto-save-include-big-deletions.
18603         * mail/rmail.el (rmail-variables): Use
18604         auto-save-include-big-deletions.
18606         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
18607         changes.
18609 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
18611         * calc/calc.el (calc-undo-length): New variable.
18612         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
18614 2009-07-21  Richard Stallman  <rms@gnu.org>
18616         * files.el (auto-save-mode): Handle buffer-save-size = -2
18617         for toggling mode.
18619 2009-07-21  Glenn Morris  <rgm@gnu.org>
18621         * textmodes/ispell.el (ispell-looking-back): Update declaration.
18623         * calendar/todo-mode.el (calendar-current-date): Update declaration.
18625         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
18626         silence compiler.  Instead...
18627         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
18628         (ps-print-ensure-fontified): Update for above function name changes.
18630         * printing.el (pr-mh-get-msg-num, pr-mh-show)
18631         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
18632         silence compiler.  Instead...
18633         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
18634         (mh-show-buffer): Only define for compiler.
18635         (pr-mh-current-message): Update for above function name changes.
18637         * files.el (abort-if-file-too-large): Explicitly pass `filename'
18638         as an argument.
18639         (find-file-noselect, insert-file-1): Update for above change.
18641         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
18643         * mail/mailclient.el (mailclient-send-it): Fix message.
18645         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
18646         (edebug-eval): Check cl-debug-env is bound.
18647         (print-level, print-circle): Don't redefine built-in variables.
18649         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
18650         (custom-print-vectors): Remove old comments from doc.
18652         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
18653         (emerge-version): Make the variable an obsolete alias for the
18654         emacs-version variable.  Make the function obsolete.
18655         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
18656         Emerge options, rather than merging in into the main Options menu.
18657         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
18658         and auto advance modes.  Disable edit/fast items when not relevant.
18660 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
18662         * term/vt420.el (terminal-init-vt420): Fix typo.
18664 2009-07-20  Sam Steingold  <sds@gnu.org>
18666         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
18667         variable (removed from compile.el on 2004-03-11).
18669 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
18671         * files.el (hack-local-variables-filter): Fix last change.
18673 2009-07-19  Juri Linkov  <juri@jurta.org>
18675         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
18676         (dir-local-variables-alist): New buffer-local variable.
18677         (hack-local-variables-filter): If variable is not dir-local,
18678         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
18679         because file-local overrides dir-local.
18680         (c-postprocess-file-styles) <declare-function>:
18681         Remove obsolete declaration.
18682         (hack-dir-local-variables): Add dir-local variable/value pair to
18683         `dir-local-variables-alist' and remove duplicates.  Doc fix.
18685         * help-fns.el (describe-variable): Add information about
18686         file-local and dir-local variables.
18688 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
18690         * files.el (hack-local-variables-filter): Rewrite.
18692 2009-07-19  Glenn Morris  <rgm@gnu.org>
18694         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
18695         Silence compiler by only defining on XEmacs.
18697         * international/mule.el (auto-coding-regexp-alist): Only match
18698         BABYL... at the start of buffer, not of lines.  (Bug#3790)
18700         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
18701         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
18702         (cal-menu-context-mouse-menu): Doc fix.
18704         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
18706         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
18708 2009-07-18  Juri Linkov  <juri@jurta.org>
18710         * info.el: Virtual Info keyword finder.
18711         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
18712         (Info-finder-file): New variable.
18713         (Info-finder-find-file): New function.
18714         (finder-known-keywords, finder-package-info)
18715         (find-library-name, lm-commentary): Use defvar and
18716         declare-function to silence compiler warnings.
18717         (Info-finder-find-node): New function.
18718         (info-finder): New command.
18720         * subr.el (process-kill-buffer-query-function): New function.
18721         (add-hook)<kill-buffer-query-functions>: Add hook
18722         `process-kill-buffer-query-function'.
18724 2009-07-18  Alan Mackenzie  <acm@muc.de>
18726         * progmodes/cc-mode.el (c-before-hack-hook)
18727         (c-postprocess-file-styles): Give invocation of `c-set-style'
18728         DONT-OVERRIDE parameter of t.  Already set style variables will
18729         thus not be overridden by style settings given by `c-file-syle'.
18731         * files.el (hack-local-variables-filter): Remove entries with
18732         duplicate keys from `file-local-variables-alist'.
18734 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
18736         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
18737         x-set-selection if display-selections-p returns nil for the
18738         current frame.
18740 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
18742         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
18744 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
18746         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
18747         Accept nil in addition to a regexp.
18748         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
18749         Accept nil in addition to a regexp.
18750         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
18751         buffers that have an associated file.  Handle nil values of
18752         desktop-buffers-not-to-save and desktop-files-not-to-save.
18753         (Bug#3833)
18755         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
18756         (x-disown-selection-internal): New functions.
18758 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
18760         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
18761         warning.
18762         (gdb-breakpoints-header): Move forward to avoid compiler warning.
18763         (gdb-make-header-line-mouse-map): Remove duplicate definition.
18765 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
18767         * simple.el (set-mark): Revert last change.
18769 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
18771         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
18772         rendering of pngs is not possible instead of messaging a long
18773         description.
18775 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
18777         * w32-fns.el (x-selection-owner-p): New function.
18779         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
18780         (mouse-yank-at-click, mouse-yank-primary): If
18781         select-active-regions is non-nil, deactivate the mark before
18782         insertion.
18784         * simple.el (deactivate-mark, set-mark): Only save selection if we
18785         own it.
18787 2009-07-17  Kenichi Handa  <handa@m17n.org>
18789         * case-table.el (describe-buffer-case-table): Fix for the case
18790         that KEY is a cons.
18792 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
18794         * vc-rcs.el (vc-rcs-find-file-hook):
18795         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
18797 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
18799         * net/tramp.el (tramp-wait-for-output): Handle the case when
18800         commands do not return a newline but a null byte before the shell
18801         prompt.  (Bug#3858)
18803 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
18805         * term/ns-win.el (ns-set-alpha): Don't declare.
18806         (ns-set-background-alpha): Remove function.
18808 2009-07-16  Kevin Ryde  <user42@zip.com.au>
18810         * emacs-lisp/copyright.el (copyright-update): Save match-data across
18811         y-or-n-p, for safety.
18813 2009-07-16  Richard Stallman  <rms@gnu.org>
18815         * files.el (auto-save-mode): If buffer-saved-size is -2,
18816         don't clobber it.
18818         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
18819         (rmail-retry-ignored-headers): Add more uninteresting fields.
18821 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
18823         * net/rcirc.el (rcirc): Use history variables.
18824         (rcirc-server-name-history, rcirc-nick-name-history)
18825         (rcirc-server-port-history): New variables.
18827 2009-07-15  Kenichi Handa  <handa@m17n.org>
18829         * international/mule-cmds.el (set-language-environment-charset):
18830         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
18831         ignore them.
18833         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
18834         Delete unibyte-display.
18836 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
18838         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
18840 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
18842         * simple.el (deactivate-mark): Optional argument FORCE.
18843         (set-mark): Use deactivate-mark.
18845         * info.el (Info-search): No need to check transient-mark-mode
18846         before calling deactivate-mark.
18848         * select.el (x-set-selection): Doc fix.
18849         (x-valid-simple-selection-p): Allow buffer values.
18850         (xselect--selection-bounds): Handle buffer values.  Suggested by
18851         David De La Harpe Golden.
18853         * mouse.el (mouse-set-region, mouse-drag-track): Call
18854         copy-region-as-kill before setting the mark, to let
18855         select-active-regions work.
18857 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
18859         * simple.el (deactivate-mark): If select-active-regions is
18860         non-nil, copy the selection data into a string.
18861         (activate-mark): If select-active-regions is non-nil, set the
18862         selection to the current buffer.
18863         (set-mark): Update selection if select-active-regions is non-nil.
18865         * select.el (x-valid-simple-selection-p): Allow buffer values.
18867 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
18869         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
18870         and more featureful message-mode.
18872 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
18874         * select.el (x-set-selection): Doc fix.
18875         (x-valid-simple-selection-p): Disallow selection data consisting
18876         of a list or cons of integers, since that is not used.
18877         (xselect--selection-bounds, xselect--int-to-cons): New functions.
18878         (xselect-convert-to-string, xselect-convert-to-length)
18879         (xselect-convert-to-filename, xselect-convert-to-charpos)
18880         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
18882 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
18884         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
18885         output in -break-info command (Emacs bug #3794).
18887 2009-07-14  Glenn Morris  <rgm@gnu.org>
18889         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
18890         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
18891         (edebug-print-length, edebug-print-level, edebug-print-circle)
18892         (edebug-sit-for-seconds, edebug-view-outside)
18893         (edebug-bounce-point, edebug-set-global-break-condition)
18894         (edebug-Go-nonstop-mode, edebug-trace-mode)
18895         (edebug-Trace-fast-mode, edebug-continue-mode)
18896         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
18897         (edebug-visit-eval-list): Doc fixes.
18899         * subr.el (def-edebug-spec): Doc fix.
18901 2009-07-14  Kenichi Handa  <handa@m17n.org>
18903         * international/characters.el: Fix setting of category ?C.
18905 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
18907         * term/ns-win.el (x-select-font): defalias x-select-font to
18908         ns-popup-font-panel instead of generate-fontset-menu.
18910 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
18912         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
18914 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
18916         * arc-mode.el (archive-find-type): Allow for a PK00 string before
18917         the PK\003\004 header (Bug#3770).
18919 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
18921         * pcomplete.el (pcomplete-comint-setup): Check for
18922         shell-dynamic-complete-filename too.
18924 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
18926         * simple.el (temporary-goal-column): Change the value for
18927         line-move-visual to a cons cell.
18928         (line-move-visual): Record or set the window hscroll, if
18929         necessary (Bug#3494).
18930         (line-move-1): Handle cons value of temporary-goal-column.
18932 2009-07-11  Kenichi Handa  <handa@m17n.org>
18934         * international/mule-diag.el (describe-character-set): Don't show
18935         width.
18937 2009-07-10  Sam Steingold  <sds@gnu.org>
18939         * progmodes/compile.el (compilation-mode-font-lock-keywords):
18940         Omake sometimes indents the errors it prints, so allow all
18941         regexps to start with spaces.
18943 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
18945         * cus-edit.el (customize-changed-options-previous-release):
18946         Bump value to 22.1.  (Bug#3804)
18948 2009-07-08  Sam Steingold  <sds@gnu.org>
18950         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
18951         to be a cons cell (test . ignored-directory) to selectively ignore
18952         some directories depending on the location of the search.
18954 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
18956         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
18957         remote user is root, on the local host.
18958         (tramp-local-host-p): Either the local user or the remote user
18959         must be root.  (Bug#3771)
18961 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
18963         * progmodes/gdb-mi.el (gdb): Remove description of
18964         gdb-use-separate-io-buffer.
18965         (menu): Don't allow toggling of or enable
18966         gdb-use-separate-io-buffer from menubar.
18968 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
18970         * mail/unrmail.el (unrmail): Make sure the message ends with two
18971         newlines (Bug#3769).
18973 2009-07-08  Glenn Morris  <rgm@gnu.org>
18975         * calendar/calendar.el (calendar-current-date): Rework previous change.
18977 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
18979         * calendar/calendar.el (calendar-current-date):
18980         Add an optional argument giving an offset from today.
18982 2009-07-08  Glenn Morris  <rgm@gnu.org>
18984         * tutorial.el (tutorial--describe-nonstandard-key):
18985         Adjust the message for when a key has been unbound.
18986         (help-with-tutorial): Hide the arch-tag.
18988 2009-07-08  Kenichi Handa  <handa@m17n.org>
18990         * international/fontset.el (setup-default-fontset): For each
18991         script, append (not set) font-specs.
18993         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
18994         docstring.
18996 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
18998         * progmodes/gdb-mi.el (gdb-init-1): Move sending
18999         -data-list-register-names to ...
19000         (gdb-starting): ... here because GDB 7.0 requires execution to
19001         have started when using this MI command.
19002         (gdb-set-header): New function to distinguish select and
19003         unselected tabs in gdb buffers.
19004         (gdb-propertize-header): New macro that uses gdb-set-header.
19005         (gdb-breakpoints-header, gdb-locals-header): Use it.
19006         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
19008 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
19010         * Makefile.in (ELCFILES): Remove fadr.elc.
19012 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
19014         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
19015         may contain frame information, so `string-match' should be used.
19016         (gdb-update): Disassembly is invalidated through
19017         `gdb-get-selected-frame'.
19018         (gdb-pad-string): New function to pad string with spaces.
19019         (gdb-invalidate-disassembly): Invalidate only if the buffer
19020         exists.
19021         (gdb-disassembly-handler-custom): Column alignment.
19022         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
19023         placing new ones.
19024         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
19025         end of line, too.
19026         (gdb-frame-handler): Match convention to for disassembly buffer
19027         mode name.
19028         (gdb-stack-list-frames-handler): Rewritten without regexps.
19029         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
19030         not highlight breakpoints without line information.
19031         (gdb-input): Add trailing newline to command.
19033         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
19034         buffer properly.
19035         (gdb-breakpoints-list-handler-custom): Replacement for
19036         `gdb-break-list-handler'.  Using real parser instead of regexps
19037         now.
19038         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
19039         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
19040         to place breakpoints.
19041         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
19042         functions.
19043         (gdb-disassembly-handler-custom): Show overlay arrow.
19044         (gdb-disassembly-place-breakpoints): Show breakpoints in
19045         disassembly buffer.
19046         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
19047         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
19048         instead of parsing breakpoints buffer.  Fixed old menu references
19049         in `gud-menu-map'.
19051         * fadr.el: Remove.
19053         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
19054         (gdb-memory-address): New variable which holds top address of
19055         memory page shown in memory buffer.
19056         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
19057         customization variables.
19058         New functions:
19059         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
19060         display the memory buffer.
19061         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
19062         buffer display parameters.
19063         (def-gdb-memory-format, gdb-memory-format-binary)
19064         (gdb-memory-format-octal, gdb-memory-format-unsigned)
19065         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
19066         Functions for setting memory buffer format.
19067         (gdb-memory-unit-word, gdb-memory-unit-halfword)
19068         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
19069         unit size used in memory buffer.
19070         (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
19071         to next/previous page of memory buffer.
19072         Now using (bindat-get-field) instead of fadr functions.
19074 2009-07-07  Sam Steingold  <sds@gnu.org>
19076         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
19077         non-top-level files.
19079 2009-07-07  Kenichi Handa  <handa@m17n.org>
19081         * international/mule-cmds.el (reset-language-environment): Put
19082         the highset priority to the charset iso-8859-1.
19084 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
19086         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
19087         to the end of the line when locating the block (Bug#700).
19089 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
19091         * net/tramp.el (tramp-handle-write-region): Flush file properties
19092         in case of short track.
19094 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
19096         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
19097         Coded custom representation of verilog error regular expressions
19098         to work with Emacs-22's new format.
19099         (verilog-error-regexp-xemacs-alist): Coded custom representation
19100         of verilog error regular expressions to work with XEmacs format.
19101         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
19102         error recognition into XEmacs.
19103         (verilog-error-regexp-add-emacs): Hook routine to install verilog
19104         error recognition into Emacs-22.
19106 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
19108         * woman.el: Remove stand-alone closing parentheses.
19109         (woman-file-name, woman2-format-paragraphs)
19110         (woman-leave-blank-lines): Code cleanup.
19111         (woman-use-own-frame): Change default to nil.
19112         (woman-italic, woman-bold, woman-unknown, woman-addition): Change
19113         defaults to inherit from default faces.
19114         (woman2-process-escapes): Consume the newline after a stand-alone
19115         filler character (Bug#3651).
19117 2009-07-06  Glenn Morris  <rgm@gnu.org>
19119         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
19120         (top-level): Move provide to the end.
19121         (ffap): Remove defunct URL from custom group.
19123         * subr.el (eval-after-load): Doc fix.
19125 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
19127         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
19128         `calc-embedded-word' is called twice.
19130 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
19132         * files.el (find-alternate-file-other-window, find-alternate-file):
19133         Obey confirm-nonexistent-file-or-buffer.
19135 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
19137         * dired-aux.el (dired-show-file-type): Handle remote files.
19139 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
19141         * desktop.el (desktop-globals-to-save):
19142         Add file-name-history (Bug#2750).
19144 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
19146         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
19148 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
19150         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
19151         property on entire argument since this is what eshell-lisp-command
19152         expects.
19154 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
19156         * net/tramp-gvfs.el (tramp-gvfs-methods)
19157         (tramp-gvfs-zeroconf-domain)
19158         (tramp-bluez-discover-devices-timeout): Add version flag.
19159         (tramp-gvfs-handler-mounted-unmounted)
19160         (tramp-gvfs-connection-mounted-p): Polish handling of
19161         incompatibilities between GVFS 0.2 and 1.0.
19163 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
19165         * cus-start.el (all): Add make-pointer-invisible.
19167 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
19169         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
19170         formatted correctly.
19172 2009-07-02  Juri Linkov  <juri@jurta.org>
19174         * info.el: Virtual Info files and nodes.
19175         (Info-virtual-files, Info-virtual-nodes): New variables.
19176         (Info-current-node-virtual): New variable.
19177         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
19178         New functions.
19179         (Info-file-supports-index-cookies): Use Info-virtual-file-p
19180         to check for a virtual file instead of checking a fixed list
19181         of node names.
19182         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
19183         instead of ad-hoc processing of "dir" and (apropos history toc).
19184         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
19185         instead of ad-hoc processing of "dir" and (apropos history toc).
19186         Reread a file when moving from a virtual node.
19187         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
19188         (Info-directory-toc-nodes, Info-directory-find-file)
19189         (Info-directory-find-node): New functions.
19190         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
19191         (Info-history): Move part of code to
19192         `Info-history-find-node'.
19193         (Info-history-toc-nodes, Info-history-find-file)
19194         (Info-history-find-node): New functions.
19195         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
19196         (Info-toc): Move part of code to `Info-toc-find-node'.
19197         (Info-toc-find-node): New function.
19198         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
19199         the current Info file name to references because now the node
19200         "*TOC*" belongs to the same Info manual.
19201         (Info-toc-build): Rename from `Info-build-toc'.
19202         (Info-toc-nodes): Rename input argument `file' to `filename'.
19203         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
19204         instead of ad-hoc processing of ("dir" apropos history toc).
19205         (Info-index-nodes): Use Info-virtual-file-p
19206         to check for a virtual file instead of checking a fixed list
19207         of node names.
19208         (Info-index-node): Add check for `Info-current-node-virtual'.
19209         Raise `save-match-data' higher up the tree to contain
19210         `search-forward' too (bug fix).
19211         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
19212         (Info-virtual-index-nodes): New variable.
19213         (Info-virtual-index-find-node, Info-virtual-index): New functions.
19214         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
19215         (Info-apropos-file, Info-apropos-nodes): New variables.
19216         (Info-apropos-toc-nodes, Info-apropos-find-file)
19217         (Info-apropos-find-node, Info-apropos-matches): New functions.
19218         (info-apropos): Move part of code to `Info-apropos-find-node' and
19219         `Info-apropos-matches'.
19220         (Info-mode-map): Bind "I" to `Info-virtual-index'.
19221         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
19222         for a virtual file instead of checking a fixed list of node names.
19224         * simple.el (async-shell-command): New command.
19226         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
19228         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
19229         instead of `mount-info'.
19231 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
19233         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
19234         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
19236 2009-07-02  Kenichi Handa  <handa@m17n.org>
19238         * international/mule.el (set-keyboard-coding-system): Force *-unix
19239         coding-system to avoid eol conversion.
19241 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
19243         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
19244         Add handler for `process-file', `shell-command' and
19245         `start-file-process'.
19246         (tramp-gvfs-handle-shell-command)
19247         (tramp-gvfs-handle-start-file-process)
19248         (tramp-gvfs-handle-process-file): New defuns.
19249         (tramp-synce-list-devices): Simplify check for existence of property.
19251 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
19253         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
19255 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
19257         * language/korean.el (set-language-info-alist): Add korean-cp949,
19258         cp949 to spec.
19260 2009-07-01  Kenichi Handa  <handa@m17n.org>
19262         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
19264         * international/encoded-kb.el: Deleted.
19266         * international/mule.el (set-keyboard-coding-system): Perform the
19267         necessary setup here instead of calling encoded-kbd-setup-display.
19269 2009-07-01  Glenn Morris  <rgm@gnu.org>
19271         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
19273 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
19275         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
19277 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
19279         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
19280         Handle also the 'rename case, when setting file modes.  (Bug#3712)
19281         (tramp-default-file-modes): Remove execute permissions.
19283         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
19284         (top): Add a default for "synce" in `tramp-default-user-alist'.
19285         Add completion function for "synce" method.
19286         (tramp-hal-service, tramp-hal-path-manager)
19287         (tramp-hal-interface-manager, tramp-hal-interface-device):
19288         New defconst.
19289         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
19290         (tramp-synce-list-devices, tramp-synce-parse-device-names):
19291         New defuns.
19293         * net/trampver.el: Update release number.
19295 2009-06-30  Kenichi Handa  <handa@m17n.org>
19297         * international/fontset.el (setup-default-fontset): Add CJK fonts
19298         for symbols and the other miscellaneous characters.
19300         * language/korea-util.el (setup-korean-environment-internal):
19301         Make char-width-table suitable for Korean environments.
19302         (exit-korean-environment): Cancel above.
19304         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
19305         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
19306         setup-function to make char-width-table suitable for respective
19307         environments, and an exit-function to cancel that.
19309         * language/japan-util.el (setup-japanese-environment-internal):
19310         Call use-cjk-char-width-table with arg `ja_JP'.
19312         * international/characters.el (cjk-char-width-table): Delete it.
19313         (cjk-char-width-table-list): New variable.
19314         (use-cjk-char-width-table): New arg local-name.
19315         (use-default-char-width-table): Fix for the case that Emacs is
19316         already using the default char-width-table.
19318 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
19320         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
19321         modes mandatory.  (Bug#3712)
19323 2009-06-29  Alan Mackenzie  <acm@muc.de>
19325         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
19326         correction between the visible width of TABs and their number of bytes.
19328 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
19330         * server.el (server-buffer-done): Prevent kill-buffer from
19331         prompting by clearing the buffer modification flag (Bug#3696).
19333 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
19335         * progmodes/verilog-mode.el (verilog-beg-of-statement)
19336         (verilog-endcomment-reason-re): Support unique case and priority case.
19337         (verilog-basic-complete-re): Support localparam lineup.
19338         (verilog-beg-of-statement-1): Fix for robustness, unique case.
19339         (verilog-set-auto-endcomments): Fix for unique case, always_comb
19340         commenting.
19341         (verilog-leap-to-case-head): Now support *nested* unique &
19342         priority case statements.
19343         (verilog-auto-lineup): Make just declarations the default (as it
19344         had been).
19345         (verilog-leap-to-case-head): Support priority/unique case statements.
19346         (verilog-auto-lineup): Rework to give users radio buttons to
19347         select the various styles of automatic lineup.
19348         (verilog-error-regexp-alist): Rework to support the XEmacs style
19349         of error regular expressions from compilers, lint tools &
19350         simulators.  Note that GNU Emacs has made it impossible for a mode
19351         to load such things.
19352         (electric-verilog-terminate-line, verilog-indent-declaration)
19353         (verilog-auto-wiure): Rework for radio button selection of
19354         auto-lineup selection of specification of auto lineup.
19355         (verilog-beg-of-statement-1): Redesign to support proper operation
19356         in additional code, based on testing with auto-lineup.
19357         (verilog-calculate-indent, assignments & declarations)
19358         (verilog-backward-token): Enhance to support auto-lineup of
19359         assignments & declarations.
19360         (verilog-in-directive-p, verilog-at-struct-p): New function for
19361         easy test of whether we are.
19362         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
19363         to support safe execution at almost anyline.
19364         (verilog-calc-1): Properly support indenting deep inside generate
19365         blocks.
19366         (verilog-init-font): Remove definition & use of verilog-init-font,
19367         as it is redundant with font-lock-defaults.
19368         (verilog-mode): Alter the definition of verilog-font-lock-defaults
19369         to avoid circular calls if syntax-ppss is a function (as is the
19370         case now in 22.x GNU Emacs) as that function would sometimes call
19371         itself, leading to (nearly) infinite recursion.
19372         (verilog-ovm-begin-re, verilog-ovm-end-re)
19373         (verilog-ovm-statement-re, verilog-leap-to-head)
19374         (verilog-backward-token): Add support for OVM macros.  Some are
19375         complete statements, and others open and close scopes like begin
19376         and end.
19377         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
19378         (verilog-defun-level-generate-only-re): Really fix the defun-list
19379         compilation issue.
19380         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
19381         coverpoint, constraint and cross statements.
19382         (verilog-defun-level-list, verilog-generate-defun-level-list)
19383         (verilog-all-defun-level-list): Redo these specifications - it is
19384         too hard to support eval-when compile aggregation of lists also
19385         built at when-compile time.
19386         (verilog-defun-level-list): Place defconsts of variables used in
19387         building regular expressions which are built in eval-when-compile
19388         bodies in the same eval-when-compile body to facilitate compile
19389         without load.
19390         (verilog-beg-block-re-ordered): Support indenting
19391         virtual/protected tasks and functions.
19392         (verilog-defun-level-list, verilog-in-generate-region-p)
19393         (verilog-backward-ws&directives, verilog-calc-1): Speed up
19394         indentation of some module items (generate items).
19395         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
19396         across virtual/protected tasks and functions.
19398 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
19400         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
19401         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
19402         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
19403         in concatenations.  Reported by Yishay Belkind.
19404         (verilog-auto-ascii-enum): Support one-hot state machines in
19405         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
19406         (verilog-auto-inst, verilog-auto-inst-port): Include interface
19407         modport in AUTOINST and add vl-modport for users.  Reported by
19408         David Rogoff.
19409         (verilog-auto-inout-module, verilog-auto-inst)
19410         (verilog-decls-get-interfaces, verilog-insert-definition)
19411         (verilog-insert-one-definition, verilog-read-decls)
19412         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
19413         (verilog-sig-modport, verilog-signals-combine-bus)
19414         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
19415         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
19416         Suggested by David Rogoff.
19417         (verilog-repair-open-comma): Fix non-insertion of comma when
19418         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
19419         (verilog-make-width-expression): Simplify [A-1:0] expression
19420         widths to just {A{1'b0}}.
19421         (verilog-mode): Cleanup checkdoc warnings.
19422         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
19423         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
19424         inputs/outputs or data type.  Suggested by Vasu Kandadi.
19425         (next-error-last-buffer): Fix byte-compiler warning.
19426         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
19427         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
19428         or shell command text during AUTO expansion.  Suggested by Tad Truex.
19429         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
19430         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
19431         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
19432         in AUTOINOUT.  Reported by Matthew Lovell.
19433         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
19434         causing use of <= assignments.  Reported by Alex Reed.
19435         (verilog-read-decls): Fix triand, trior, wand, wor to be
19436         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
19437         (verilog-extended-complete-re): Support import "DPI-C" functions.
19438         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
19439         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
19440         (verilog-insert-date, verilog-insert-year)
19441         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
19442         Windows systems.  Reported by Michael Potts.
19443         (verilog-read-module-name): Fix AUTOINST when the child module
19444         declaration's name is a tick define.  Reported by Elliot Mednick.
19445         (verilog-read-decls): Fix V2K parameter bit subscripts getting
19446         passed to next parameter's definition.  Reported by Bruce T.
19447         (verilog-read-decls): Fix detecting "parameter int" when using
19448         AUTOINSTPARAM.  Reported by Bruce T.
19449         (verilog-goto-defun): Fix goto not finding modules unless first
19450         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
19451         (verilog-mode): Expand -f flag arguments on entry to mode so
19452         verilog-goto-defun will work.  Reported by Lawrence Butcher.
19453         (verilog-getopt): Expand environment variables in -f file
19454         arguments.  Suggested by Lawrence Butcher.
19455         (verilog-set-define): Fix "Symbol's value as variable is void"
19456         when reading enumerations.
19457         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
19458         Suggested by Stephen Peltan.
19459         (verilog-read-defines): Fix reading of enumerations in include
19460         files.  Reported by Steve Peltan.
19462 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
19464         * files.el (trash-directory): Fix defcustom type.
19466 2009-06-28  Juri Linkov  <juri@jurta.org>
19468         * help-fns.el (describe-function-1): Correctly locate adviced
19469         functions in hyperlink (Bug#2438).
19471 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
19473         * files.el (trash-directory): Change default to nil.
19474         (move-file-to-trash): If trash-directory is nil and
19475         system-move-file-to-trash is unbound, perform freedesktop-style
19476         trashing.
19478 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
19480         * files.el (move-file-to-trash): Add freedesktop trash
19481         support (Bug#973).
19483 2009-06-28  Glenn Morris  <rgm@gnu.org>
19485         * autorevert.el (global-auto-revert-non-file-buffers)
19486         (global-auto-revert-mode): Doc fixes.
19488 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
19490         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
19492 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
19494         * faces.el (x-handle-named-frame-geometry): Ensure that we have
19495         opened an X connection before calling x-get-resource (Bug#3194).
19497         * play/doctor.el: Remove reference to obsolete website.
19498         (make-doctor-variables): Correct grammar mistake (Bug#2633).
19500 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
19502         Remove find-file-not-found-hook VC method.  (Bug#2757)
19503         * vc-hooks.el (vc-file-not-found-hook)
19504         (vc-default-find-file-not-found-hook): Remove functions.
19505         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
19506         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
19507         * vc.el:
19508         * vc-hg.el:
19509         * vc-git.el: Do not mention find-file-not-found-hook VC method.
19511 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
19513         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
19514         compatibility function for `looking-back'.
19516         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
19517         Use `ispell-looking-back'.
19519 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
19521         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
19522         rather than `filename'.
19524 2009-06-23  Miles Bader  <miles@gnu.org>
19526         * face-remap.el (text-scale-set): New function.
19528 2009-06-23  Glenn Morris  <rgm@gnu.org>
19530         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
19532         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
19534         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
19536         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
19538         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
19539         Simplify Persian conditionals.
19541         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
19542         variable `filename'.
19544         * comint.el (comint-insert-input): Doc fix.
19546         * Makefile.in (ELCFILES): Fix typo in previous change.
19548 2009-06-23  Miles Bader  <miles@gnu.org>
19550         * cus-start.el: Add entry for `recenter-redisplay'.
19552 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
19554         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
19555         Add an optional argument for the backend, use it instead of
19556         calling vc-backend.
19557         (vc-mode-line): Add an optional argument for the backend.
19558         Pass the backend to vc-state and vc-working-revision.  Move code for
19559         special handling for vc-state being a buffer to ...
19561         * vc-rcs.el (vc-rcs-find-file-hook):
19562         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
19564         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
19565         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
19566         vc-stay-local-p and vc-mode-line calls.
19568         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
19569         (vc-cvs-diff, vc-cvs-annotate-command)
19570         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
19571         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
19572         vc-mode-line calls.
19574         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
19575         direct comparison.
19576         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
19577         backend when calling vc-mode-line.
19578         (vc-register): Do not create a closure for calling the vc register
19579         function, call it directly.
19581 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
19583         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
19584         to make it obvious item can be clicked.
19586         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
19588 2009-06-23  Kenichi Handa  <handa@m17n.org>
19590         * language/korea-util.el (korean-key-bindings): Change the binding
19591         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
19592         same command.
19594 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
19596         Sync with Tramp 2.1.16.
19598         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
19600         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
19601         when a loading of a package fails.  Completion function for rsync
19602         is `tramp-completion-function-alist-ssh'.
19603         (all): Replace all calls of `split-string' and
19604         `tramp-split-string' by `tramp-compat-split-string'.
19605         (tramp-default-method): Use `tramp-compat-process-running-p'.
19606         (tramp-default-proxies-alist): Allow also Lisp forms.
19607         (tramp-remote-path): Add choice "Private Directories".
19608         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
19609         (tramp-domain-regexp): Allow also "-", "_" and ".".
19610         (tramp-end-of-output): Remove newlines, and add "$" at the end.
19611         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
19612         (tramp-debug-message): Insert header line in debug buffer.
19613         (tramp-handle-directory-files-and-attributes-with-stat):
19614         Care about filenames with spaces, or starting with "-".
19615         (tramp-handle-dired-uncache): New defun.
19616         (tramp-handle-insert-directory): Don't flush the directory from
19617         cache, this is handled by `dired-uncache' now.
19618         (tramp-handle-insert-file-contents): Improve error handling.
19619         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19620         Quote `tramp-end-of-output'.
19621         (tramp-action-password): Improve trace message.
19622         (tramp-check-for-regexp): Both echoes must be present, before removing.
19623         (tramp-open-connection-setup-interactive-shell): Trace coding system.
19624         (tramp-compute-multi-hops): Eval cons cells of
19625         `tramp-default-proxies-alist'.
19626         (tramp-maybe-open-connection): Use the same command pattern for
19627         first hop and further hops.
19628         (tramp-wait-for-output): Remove handling of newlines.
19629         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
19630         (tramp-split-string): Remove function.  It is handled in
19631         tramp-compat now.
19633         * net/tramp-cmds.el (tramp-bug):
19634         Recommend `tramp-cleanup-all-connections' in the bug mail.
19636         * net/tramp-compat.el (tramp-compat-split-string)
19637         (tramp-compat-process-running-p): New defuns.
19639         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
19640         for `dired-uncache'.
19642         * net/tramp-gvfs.el: New package.
19644         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
19645         Add handler for `dired-uncache'.
19646         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
19648         * net/trampver.el: Update release number.  Make version check fit
19649         for SXEmacs 22.
19651 2009-06-22  Jim Meyering  <meyering@redhat.com>
19653         Automatically handle .xz suffix (XZ-compressed files), too.
19654         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
19655         XZ is the successor to LZMA: <http://tukaani.org/xz/>
19657 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
19658             Nick Roberts  <nickrob@snap.net.nz>
19660         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
19661         repository (http://sphinx.net.ru/hg/gdb-mi/).
19663 2009-06-22  Glenn Morris  <rgm@gnu.org>
19665         * files.el (dir-locals-collect-mode-variables): Allow for any number of
19666         `mode' and `eval' entries.  (Bug#3430)
19668         * Makefile.in (ELCFILES): Add fadr.elc.
19670         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
19671         differing behavior of \n and ^ in strings.  (Bug#3385)
19673         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
19675         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
19676         property.
19677         (lisp-indent-function): Make it a defcustom.
19679 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
19681         * progmodes/gdb-ui.el: Replace with ...
19682         * progmodes/gdb-mi.el: ... this file.
19683         * progmodes/gud.el: Modify for gdb-mi.el.
19685 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
19687         * fadr.el: New file.
19689 See ChangeLog.14 for earlier changes.
19691 ;; Local Variables:
19692 ;; coding: utf-8
19693 ;; End:
19695   Copyright (C) 2009, 2010  Free Software Foundation, Inc.
19697   This file is part of GNU Emacs.
19699   GNU Emacs is free software: you can redistribute it and/or modify
19700   it under the terms of the GNU General Public License as published by
19701   the Free Software Foundation, either version 3 of the License, or
19702   (at your option) any later version.
19704   GNU Emacs is distributed in the hope that it will be useful,
19705   but WITHOUT ANY WARRANTY; without even the implied warranty of
19706   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19707   GNU General Public License for more details.
19709   You should have received a copy of the GNU General Public License
19710   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.