* lisp/emacs-lisp/cconv.el: New file.
[emacs.git] / lisp / ChangeLog.trunk
blob584bf71c7440f46e5876ac3a509ea189a4a58665
1 2011-01-31  Stefan Monnier  <monnier@iro.umontreal.ca>
3         * progmodes/compile.el (compilation--flush-directory-cache):
4         New function, extracted from compilation--remove-properties.
5         (compilation--remove-properties, compilation--parse-region): Use it.
6         (compilation--previous-directory): Handle one more case.
7         (compilation-enable-debug-messages): Remove.
8         (compilation-parse-errors, compilation--flush-parse): Just remove the
9         left over debug messages.
11 2011-01-31  Sam Steingold  <sds@gnu.org>
13         * progmodes/compile.el (compilation-enable-debug-messages):
14         Add a variable to make the parsing messages introduced in
15         2011-01-28T22:12:05Z!monnier@iro.umontreal.ca optional.
16         (compilation-parse-errors, compilation--flush-parse): Use it.
18 2011-01-31  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
20         * net/rcirc.el: Clean log filenames (Bug#7933).
21         (rcirc-log-write): Use convert-standard-filename.
22         (rcirc-log-filename-function): Documentation updates.
24 2011-01-30  Jan Djärv  <jan.h.d@swipnet.se>
26         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer):
27         Check report-emacs-bug-can-use-osx-open and use that if t.
28         (report-emacs-bug-can-use-osx-open): New function.
29         (report-emacs-bug): Rename can-xdg-email to can-insert-mail.
30         Check report-emacs-bug-can-use-osx-open also for can-insert-mail.
32 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
34         * vc/vc-dispatcher.el (vc-set-async-update): New function for
35         updating Dired or VC-dir buffers after async command completes.
37         * vc/vc-bzr.el (vc-bzr-async-command): Return the process buffer.
38         (vc-bzr-pull, vc-bzr-merge-branch): Use vc-set-async-update.
40         * vc/vc-git.el (vc-git-merge-branch): Add FETCH_HEAD to branch
41         completions if it exists.  Use vc-set-async-update.
42         (vc-git-pull): Use vc-set-async-update.
44         * vc/vc-hg.el (vc-hg-pull): Fix default-contents arg to
45         read-shell-command.  Use vc-set-async-update.
46         (vc-hg-merge-branch): Use vc-set-async-update.
48 2011-01-29  Daiki Ueno  <ueno@unixuser.org>
50         * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED):
51         Don't presume KEYEXPIRED and KEYREVOKED to be a fatal error status
52         (Bug#7931).
54 2011-01-29  Stefan Monnier  <monnier@iro.umontreal.ca>
56         * progmodes/compile.el: Avoid an N² behavior in grep.
57         (compilation--previous-directory): New fun.
58         (compilation--previous-directory-cache): New var.
59         (compilation--remove-properties): Flush it.
60         (compilation-directory-properties, compilation-error-properties):
61         Use the new fun to speed up looking for the current directory.
63 2011-01-29  Chong Yidong  <cyd@stupidchicken.com>
65         * vc/vc-hg.el (vc-hg-history): New var.
66         (vc-hg-pull): Perform default pull if called via Lisp by vc-pull.
67         (vc-hg-merge-branch): New function.
69         * vc/vc.el (vc-pull): Make vc-update an alias for this, instead of
70         the other way around.
72         * vc/vc-git.el (vc-git-branches, vc-git-pull)
73         (vc-git-merge-branch): New functions.
74         (vc-git-history): New var.
76 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
78         * vc/vc-dispatcher.el (vc-do-async-command): New function.
80         * vc/vc-bzr.el (vc-bzr-async-command): Convert into a wrapper for
81         vc-do-async-command.
83         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch):
84         Callers changed.
86 2011-01-28  Leo  <sdl.web@gmail.com>
88         * emacs-lisp/advice.el (ad-make-advised-docstring): Don't apply
89         highlighting to the "this function is advised" message.
91         * help-mode.el (help-mode-finish): Apply highlighting here, to
92         avoid clobbering by substitute-command-keys (Bug#6304).
94 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
96         * woman.el (woman0-roff-buffer): Process roff escape sequences
97         occurring prior to the first request (Bug#7843).
99 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
101         * progmodes/compile.el: Don't use font-lock any more.
102         (compilation-error-regexp-alist-alist): Change handling of makepp
103         so it preserves the warning/error distinction on subsequent files.
104         Simplify various rules.
105         (compilation-directory-properties): Use font-lock-face.
106         Add a compilation-message property.
107         (compilation-internal-error-properties): Use font-lock-face.
108         Don't set the compilation-debug property here.
109         (compilation--put-prop, compilation--remove-properties)
110         (compilation--parse-region, compilation--ensure-parse)
111         (compilation--ensure-parse): New functions.
112         (compilation-parse-errors): New function, largely inspired of
113         compilation-mode-font-lock-keywords.  Set compilation-debug here.
114         (compilation--parsed): New var.
115         (compilation--flush-parse): Use compilation--ensure-parse.
116         (compilation-start): Don't call font-lock.
117         (compilation-turn-on-font-lock): Remove.
118         (compilation-setup): Don't set font-lock-extra-managed-props not change
119         other font-lock settings, other than keywords.
120         Don't activate font-lock-mode.
121         Set change-major-mode-hook and before-change-functions.
122         (compilation--unsetup): Remove properties and hooks.
123         (compilation-next-single-property-change): New function.
124         (compilation-next-error): Use it to parse when needed.
125         (compile-goto-error): Parse buffer as needed.
126         (compilation--compat-error-properties): Don't need a dummy `face'
127         property any more.
129 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
131         * progmodes/compile.el: Use accessors for clarity and fix omake hack.
132         (compilation-process-setup-function): Fix docstring's false promises.
133         (compilation-error-regexp-alist-alist): Catch omake's continuous
134         recompilation message and avoid reuse of old markers.
135         (compilation-parse-errors-function): Declare obsolete.
136         (compilation-buffer-modtime): Remove.
137         (compilation--make-cdrloc, compilation--loc->col)
138         (compilation--loc->line, compilation--loc->file-struct)
139         (compilation--loc->marker, compilation--loc->visited)
140         (compilation--make-file-struct, compilation--file-struct->file-spec)
141         (compilation--file-struct->formats)
142         (compilation--file-struct->loc-tree): New macros.  Use them.
143         (compilation--message): New defstruct.  Use them.
144         (compilation-next-error-function): Don't mess with timestamps to try
145         and guess when to reparse.
147 2011-01-28  Stefan Monnier  <monnier@iro.umontreal.ca>
149         * textmodes/tex-mode.el: Get rid of compilation-parse-errors-function
150         (tex-old-error-file-name): New function,
151         extracted from tex-compilation-parse-errors.
152         (tex-compilation-parse-errors): Remove.
153         (tex-error-regexp-alist): New var.
154         (tex-shell): Use it to avoid compilation-parse-errors-function.
156         * progmodes/grep.el (grep-regexp-alist): Tighten regexp.
157         (grep-mode-font-lock-keywords): Remove regexp that seems like
158         a left-over from before we used compile.el.
159         (grep-mode-font-lock-keywords): Call syntax-ppss-flush-cache when
160         modifying the buffer within with-silent-modifications.
162         * progmodes/compile.el: Cleanup text-properties namespace by using
163         `compilation-message' instead of `message', `compilation-directory'
164         instead of `directory', and `compilation-debug' instead of `debug'.
165         (compilation-last-buffer, compilation-parsing-end)
166         (compilation-error-list, compilation-old-error-list): Move to the
167         compatibility part of the code.
168         (compilation-error-properties): If `file' is a function, let it return
169         a file name.
170         (compilation-mode-font-lock-keywords): Be more conservative with the
171         omake "^ *" pattern prefix, to try and minimize the risk of
172         pathologically slow regexp matching.
173         (compilation-start): Use inhibit-read-only.
174         (compilation--unsetup): New function.
175         (compilation-shell-minor-mode, compilation-minor-mode): Use it.
176         (compilation-filter): Minor tweaks.
177         (compilation-next-error-function): Try and avoid abusing variables.
178         (compilation--flush-file-structure): New fun.
179         (compilation-fake-loc): Use it to improve behavior when file is reused.
180         (debug-ignored-errors): Add "Moved past last ...".
181         (compilation--compat-error-properties)
182         (compilation--compat-parse-errors): Rename by doubling the "-".
184         Port features from the previous prolog.el to the new one.
185         * progmodes/prolog.el (prolog-system): Add GNU and ECLiPSe options.
186         (prolog-program-name, prolog-program-switches, prolog-consult-string)
187         (prolog-compile-string, prolog-prompt-regexp): Get rid of the <foo>-i
188         variable and use a function to compute the value dynamically.
189         (prolog-prompt-regexp): Add regexp for GNU Prolog.
190         (prolog-continued-prompt-regexp): Remove, unused.
191         (prolog-find-value-by-system): Try and use the value of prolog-system
192         in the *prolog* buffer if it helps.
193         (prolog-mode-keybindings-common): Bind C-c C-z unconditionally...
194         (prolog-zip-on): ..and check prolog-system and version here instead.
195         (prolog-inferior-self-insert-command): New command.
196         (prolog-inferior-mode-map): Use it.
197         (prolog-inferior-error-regexp-alist): New var.
198         (prolog-inferior-mode): Use it, with compilation-shell-minor-mode.
199         (prolog-input-filter): Use derived-mode-p.
200         (prolog-inferior-guess-flavor): New function.
201         (prolog-ensure-process): Use it.  Use make-comint-in-buffer rather than
202         make-comint to avoid running comint-mode twice.
203         (prolog-inferior-buffer): New fun.
204         (prolog-old-process-region, prolog-old-process-file):
205         Don't call prolog-bsts here...
206         (prolog-build-prolog-command): ...do it here instead.
207         (prolog-old-process-region, prolog-old-process-file):
208         Use compilation-fake-loc and compilation-forget-errors.
209         (prolog-consult-compile-region): Use bolp.
211 2011-01-28  Chong Yidong  <cyd@stupidchicken.com>
213         * image-mode.el (image-display-size): Doc fix (Bug#7820).
215 2011-01-27  Sam Steingold  <sds@gnu.org>
217         * midnight.el (clean-buffer-list-kill-never-buffer-names):
218         Remove "*server*" which is never created by emacs server.
220 2011-01-27  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
222         * vc/vc-bzr.el (vc-bzr-diff): Don't pass --diff-options unless
223         there are some diff switches.
225 2011-01-27  Stefan Monnier  <monnier@iro.umontreal.ca>
227         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
228         Copy change made to ruby-font-lock-syntactic-keywords.
230         * htmlfontify.el: Make it obey the font-lock-face text property.
231         Miscellaneous cleanup such as:
232         - Don't hide expressions after a closing paren.
233         - Move initial setq into let.
234         - Hoist common parts out of ifs.
235         (hfy-p-to-face, hfy-p-to-face-lennart): Remove.
236         (hfy-face-at): Use get-text-property instead.
237         (hfy-prop-invisible-p): Use invisible-p if available.
238         (htmlfontify-manual): Use \\[...].
239         (hfy-html-quote-regex): Use [...].
240         (hfy-combined-face-spec): Simplify.
241         (hfy-compile-face-map): Don't presume point-min==1.
242         (hfy-css-name, hfy-buffer, htmlfontify-buffer): Use \' rather than $ to
243         match end of string.
244         (hfy-text-p): η-reduce.
245         (hfy-tags-for-file): Receive cache-hash directly.
246         (hfy-mark-tag-names): Adjust call.
248 2011-01-27  Glenn Morris  <rgm@gnu.org>
250         * msb.el (msb-after-load-hooks): Make it an obsolete alias.
251         (msb-after-load-hook): Remove eval-after-load wackiness.
253 2011-01-25  Sam Steingold  <sds@gnu.org>
255         * vc/vc-svn.el (vc-svn-diff): Use `diff-command' instead of the
256         literal "diff" (important for windows-nt).
258 2011-01-25  Glenn Morris  <rgm@gnu.org>
260         * emacs-lisp/copyright.el (copyright-at-end-flag)
261         (copyright-names-regexp): Add safety properties.
262         (copyright-year-ranges): New option.
263         (copyright-find-end): New function, split from copyright-update-year.
264         (copyright-update-year): Use copyright-find-end.
265         (copyright-fix-years): Optionally, convert years to ranges.
266         Handle years continued over comment lines.
267         Do not mess with the fill-prefix.
268         Do not call copyright-update.
269         (copyright-update-directory): Optionally, fix years rather than update.
270         Skip directories.  Find files with only safe local vars.
272 2011-01-25  Stefan Monnier  <monnier@iro.umontreal.ca>
274         * files.el (file-name-non-special): Only change buffer-file-name after
275         insert-file-contents if it's `visit'ing the file (bug#7854).
277 2011-01-25  Chong Yidong  <cyd@stupidchicken.com>
279         * dired.el (dired-revert): Doc fix (Bug#7758).
281         * simple.el (line-move-visual): Doc fix (Bug#7594).
283 2011-01-25  Nobuyoshi Nakada  <nobu@ruby-lang.org>
285         * progmodes/ruby-mode.el (ruby-here-doc-beg-match): Fix for
286         here-doc which ends with an underscore.
287         (ruby-mode-set-encoding): Skip shebang line always.
288         (ruby-mode-map): Bind C-c C-c to comment-region.
289         (ruby-font-lock-keywords): Highlight literal hash key labels as symbols.
290         (ruby-forward-sexp): Stop after literal hash key labels.
291         (ruby-font-lock-syntactic-keywords): Highlight regexp after open
292         bracket.
294 2011-01-25  Keitaro Miyazaki  <keitaro.miyazaki@gmail.com>  (tiny change)
296         * emacs-lisp/re-builder.el (reb-mode-map): Set case-fold-search in
297         the correct buffer (Bug#7650).
299 2011-01-25  Glenn Morris  <rgm@gnu.org>
301         * comint.el (comint-mode): Doc fix.  (Bug#7897)
303         * simple.el (do-auto-fill): Give it a doc string.
305         * button.el (make-text-button): Doc fix.  (See bug#7881)
307 2011-01-24  Stefan Monnier  <monnier@iro.umontreal.ca>
309         * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
310         Don't move backward, so as not to fall in an inf-loop (bug#7736).
312         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): (bug#7735)
313         Handle ?" and friends differently (e.g. don't use backrefs).
315 2011-01-24  Jay Belanger  <jay.p.belanger@gmail.com>
317         * calc/calc.el (calc-default-power-reference-level)
318         (calc-default-field-reference-level): New variables.
319         * calc/calc-units.el (math-standard-units):  Add dB and Np.
320         (math-logunits): New variable.
321         (math-extract-logunits, math-logcombine, calcFunc-luplus)
322         (calcFunc-luminus, calc-luplus, calc-luminus, math-logunit-level)
323         (calcFunc-fieldlevel, calcFunc-powerlevel, calc-level):
324         New functions.
325         (math-find-base-units-rec): Add entry for ln(10).
326         * calc/calc-help.el (calc-u-prefix-help): Add logarithmic help.
327         (calc-ul-prefix-help): New function.
328         * calc/calc-ext.el (calc-init-extensions): Autoload new units
329         functions. Add keybindings for new units functions.
331 2011-01-22  Giorgos Keramidas  <keramida@ceid.upatras.gr>  (tiny change)
333         * net/rcirc.el (rcirc-kill-buffer-hook): Flush logs when killing
334         rcirc buffers.  (Bug#4940)
336 2011-01-22  Glenn Morris  <rgm@gnu.org>
338         * emacs-lisp/copyright.el (copyright-find-copyright): New function,
339         split out from copyright-update-year.
340         (copyright-update): Don't mess with the GPL version if we don't own the
341         copyright.  Update license regexp, and remove no longer needed
342         Esperanto stuff.
343         (copyright-fix-years): Use copyright-find-copyright.
345 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
347         * vc/diff.el (diff-sentinel): Doc fix (Bug#7682).
349 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
351         * play/landmark.el: Change `lm-' prefix to `landmark-' (Bug#7672).
352         (lm): Rename to landmark.
353         (lm-test-run): Rename to landmark-test-run.
355 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
357         * emacs-lisp/re-builder.el (reb-mode-map): Fix logic error in
358         "Case sensitive" menu item.
360 2011-01-22  Roland McGrath  <roland@frob.com>
362         * comint.el (comint-replace-by-expanded-history-before-point): Fix
363         expansion of !$ and !!:N syntax to pick the indicated word (bug#7883).
365 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
367         * progmodes/js.el (js--regexp-literal): Count backslashes (bug#7882).
369 2011-01-22  Jari Aalto  <jari.aalto@cante.net>
371         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
372         Assume foo(bar) is a manpage reference rather than some unquoted
373         symbol (bug#7705).
375 2011-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
377         * subr.el (shell-quote-argument): Properly quote \n (bug#7687).
378         Suggested by Flo <sensorflo@gmail.com>.
380 2011-01-22  Glenn Morris  <rgm@gnu.org>
382         * progmodes/compile.el (compilation-error-regexp-alist):
383         Fix custom type.  (Bug#7812)
385 2011-01-22  Ken Manheimer  <ken.manheimer@gmail.com>
387         * allout.el (allout-prefixed-keybindings): Bind (prefixed) '#' to
388         allout-number-siblings, in keeping with what obtained due to
389         (now-defunct) allout-keybindings-list.  Ditch repeat binding to
390         (prefixed) ?i.
391         (allout-before-change-handler): Better expose spots affected by
392         undo.
394 2011-01-22  Chong Yidong  <cyd@stupidchicken.com>
396         * man.el (Man-highlight-references0): Use make-button (Bug#7881).
398 2011-01-22  Phil Hagelberg  <phil@evri.com>
400         * pcmpl-unix.el (pcmpl-ssh-config-file): New option.
401         (pcmpl-ssh-known-hosts): Rename from pcmpl-ssh-hosts.
402         (pcmpl-ssh-config-hosts): New function.
403         (pcmpl-ssh-hosts): Use pcmpl-ssh-config-hosts in addition to
404         pcmpl-ssh-known-hosts.
406 2011-01-21  Jay Belanger  <jay.p.belanger@gmail.com>
408         * calc/calc-undo.el (calc-undo): Autoload it.
409         * calc/calc-ext.el (calc-init-extensions): Remove keybindings
410         and autoload for `calc-undo'.
411         * calc/calc.el (calc-mode-map): Add keybindings for `calc-undo'.
412         * calc/calc-prog.el:
413         * calc/calc-graph.el:
414         * calc/calc-map.el: Change `arglist' to `math-arglist' throughout.
416 2011-01-21  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
418         * calc/calc-ext.el (calc-init-extensions): Map all `undo'
419         keybindings to `calc-undo'.
421 2011-01-20  Stefan Monnier  <monnier@iro.umontreal.ca>
423         Don't mess with *temp*.
424         * obsolete/spell.el: Move from textmodes/spell.el.
425         (spell-string):
426         * term.el (term-read-input-ring):
427         * startup.el (display-startup-echo-area-message):
428         * progmodes/antlr-mode.el (antlr-directory-dependencies):
429         * comint.el (comint-read-input-ring): Use with-temp-buffer.
430         * international/mule.el (ctext-pre-write-conversion): Don't hardcode
431         point-min==1.
433 2011-01-20  Ken Manheimer  <ken.manheimer@gmail.com>
435         * allout.el: (allout-institute-keymap): Use fset instead of
436         reapplying defalias.
438         (allout-hotspot-key-handler): Check for non-control-modified
439         bindings for hotspot characters if there are no control-modified
440         versions.
442         * allout.el: Summary - migrate to defining allout mode using
443         define-minor-mode instead of defun.  Significantly clean-up
444         internal keymap provisions, refactoring and, in the process,
445         removing a lot of accumulated cruft.
447         allout-mode-map is now a keymap by virtue of being a defalias to
448         allout-mode-map-value, which contains the actual keymap structure.
450         (allout-mode): Use define-minor-mode rather than defun.
451         Remove now-unnecessary minor-mode setup activities from the body.
452         Specify :keymap as allout-mode-map so the minor-mode-map-alist
453         entry will be '(allout-mode . allout-mode-map) - see
454         allout-mode-map-value, below.  Adjust docstring to track changes.
455         (allout-minor-mode): Remove this defalias, now that we're using
456         define-minor-mode.
457         (allout-mode-map): Set value to be 'allout-mode-map.  The actual
458         keymap is allout-mode-map-value, via defalias.
459         (allout-mode-map-value): The variable holding the actual mode
460         keymap structure, by virtue of defalias from allout-mode-map.
461         (allout-compose-and-institute-keymap): Rename from
462         allout-bind-keys, and including the binding-composition
463         functionality of the former produce-allout-mode-map and
464         allout-setup-mode-map.
465         (allout-institute-keymap): Take over the "setup" part of the former
466         allout-setup-mode-map.  Reassign allout-mode-map-value value and
467         update the defalias.
468         (allout-command-prefix) (allout-prefixed-keybindings)
469         (allout-unprefixed-keybindings):
470         Use allout-compose-and-institute-keymap to process the bindings.
471         (allout-unprefixed-keybindings): Remove extraneous '?' question
472         marks.
473         (allout-prefixed-keybindings): Elide binding to (prefixed) \C-h -
474         user can customize if they want to use that binding.
475         Bind allout-copy-topic-as-kill to (prefixed) \M-k.
476         Bind allout-up-current-level to (prefixed) \C-u.  (I think i mistakenly
477         elided that, previously, instead of the one for \C-h.)
478         (allout-hotspot-key-handler): Remove attempt to resolve the key
479         through the literal key-string lookup on allout-keybindings-list.
480         That probably hasn't worked for a Long Time, and removal of
481         allout-keybindings-list further simplifies the keybindings
482         situation.
483         (allout-pre-command-business): Use allout-mode-map-value instead
484         of allout-mode-map.
485         (allout-preempt-trailing-ctrl-h): Remove.  The user can customize
486         the bindings if they want to use a keybinding having a trailing
487         \C-h.  No deprecation needed since this feature was never in a
488         release.
489         (allout-keybindings-list): Remove.  It's not been useful for a
490         while.  (See allout-hotspot-key-handler changes, above.)
491         (produce-allout-mode-map): Remove.  Consolidate into
492         allout-compose-and-institute-keymap.
493         (allout-mode-map-adjustments): Remove.  No longer necessary with
494         removal of allout-preempt-trailing-ctrl-h.
495         (allout-setup-mode-map): Remove.  Consolidate into
496         allout-compose-and-institute-keymap and allout-institute-keymap.
498 2011-01-20  Glenn Morris  <rgm@gnu.org>
500         * vc/vc-svn.el (vc-svn-after-dir-status): Tweak previous change.
502         * simple.el (read-expression-history): Remove, it's in minibuf.c.
504 2011-01-20  Chong Yidong  <cyd@stupidchicken.com>
506         * subr.el (y-or-n-p): Revert 2011-01-07 change, removing ARGS.
508         * files.el (find-alternate-file, basic-save-buffer)
509         (basic-save-buffer-2, revert-buffer, recover-file)
510         (kill-buffer-ask, abort-if-file-too-large)
511         (set-visited-file-name, write-file, backup-buffer)
512         (basic-save-buffer, save-some-buffers):
513         * dired-aux.el (dired-compress-file): Callers changed.
515 2011-01-19  Glenn Morris  <rgm@gnu.org>
517         * vc/vc-svn.el (vc-svn-after-dir-status, vc-svn-parse-status):
518         Also check the property status.  (Bug#7861)
520 2011-01-18  Michael Albinus  <michael.albinus@gmx.de>
522         * net/tramp.el (tramp-debug-message): Extend function exclude
523         list.  Use `regexp-opt'.
525 2011-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
527         * textmodes/tex-mode.el (tex-font-lock-verb): Make sure \verb
528         highlighting doesn't spill over subsequent lines.
530         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't re-evaluate the
531         keymap expression.  Improve docstring.
533         * electric.el (electric-indent-post-self-insert-function):
534         Don't auto-indent for indent-to-left-margin, it's too often
535         counter-productive.
537 2011-01-16  Tassilo Horn  <tassilo@member.fsf.org>
539         * strokes.el (strokes-read-stroke): Re-fill strokes buffer with
540         spaces if the frame was resized, so that the full visible buffer
541         serves as canvas for strokes.
543 2011-01-16  Glenn Morris  <rgm@gnu.org>
545         * info-xref.el (info-xref-docstrings): Replace cl function.
546         Also skip directories.
548 2011-01-16  Kevin Ryde  <user42@zip.com.au>
550         * info-xref.el: Version 3.
551         (info-xref-check, info-xref-check-all): Move commentary details
552         into docstrings for better visibility.
553         Use compilation-mode for the results buffer.
554         (info-xref-output, info-xref-output-error, info-xref-with-output)
555         (info-xref-filename, info-xref-in-progress):
556         New internals for this.
557         (info-xref-check-list, info-xref-check-buffer)
558         (info-xref-check-all-custom): Use those.
559         (info-xref-output-buffer): Rename from info-xref-results-buffer.
560         (info-xref-output-heading): Rename from info-xref-filename-heading.
561         (info-xref-good, info-xref-bad, info-xref-xfile-alist)
562         (info-xref-filename-heading): Move to output managing section.
563         (info-xref-docstrings): New command checking "Info node `(foo)Bar'"
564         (info-xref-lock-file-p, info-xref-with-file): New helpers for it.
565         (info-xref-subfile-p): Move to generic section with those two.
566         (info-xref-check-node): New function split from
567         info-xref-check-buffer, shared by info-xref-docstrings.
568         (info-xref-goto-node-p): Move to a checking section with that func.
569         (info-xref-unavail): New counter.
570         (info-xref-check-node): Use it.
571         (info-xref-with-output): Show count of unavailables at end of output.
572         (info-xref-all-info-files): Exclude ".*" dotfiles.  Ignore broken
573         symlinks.  Exclude .texi files.  Exclude Emacs backup files.
574         (info-xref-check-all-custom): Fix quietening viper-mode and
575         gnus-registry-install -- use setq not let so as not to unbind
576         after load.
578 2011-01-16  Juri Linkov  <juri@jurta.org>
580         * isearch.el (isearch-abort): Don't quit if search has
581         an incomplete regexp (isearch-error is non-nil).  (Bug#7534)
583 2011-01-15  Mark Diekhans  <markd@soe.ucsc.edu>
585         * files.el (backup-buffer): Make last-resort backup file in
586         .emacs.d (Bug#6953).
588         * subr.el (locate-user-emacs-file): If .emacs.d does not exist,
589         make it with permission 700.
591 2011-01-15  Kenichi Handa  <handa@m17n.org>
593         * mail/rmailmm.el (rmail-mime-insert-header):
594         Set rmail-mime-coding-system to a cons whose car is the last coding
595         system used to decode the header.
596         (rmail-mime-find-header-encoding): New function.
597         (rmail-mime-insert-decoded-text):
598         Override rmail-mime-coding-system if it is a cons.
599         (rmail-show-mime): If only a header part was decoded, find the
600         coding system while ignoring mm-charset-override-alist.
602 2011-01-15  Chong Yidong  <cyd@stupidchicken.com>
604         * subr.el (event-start, event-end): Doc fix (Bug#7826).
606 2011-01-15  Kenichi Handa  <handa@m17n.org>
608         * mail/rmailmm.el (rmail-mime-next-item)
609         (rmail-mime-previous-item): Delete them.
610         (rmail-mime-shown-mode): Recursively call for children.
611         (rmail-mime-hidden-mode): Delete the 2nd arg TOP.
612         Callers changed.
613         (rmail-mime-raw-mode): Recursively call for children.
614         (rmail-mode-map): Change mapping of tab and backtab to
615         forward-button and backward-button respectively.
616         (rmail-mime-insert-tagline): Always insert "Hide" or "Show"
617         button.
618         (rmail-mime-update-tagline): New function.
619         (rmail-mime-insert-text): Call rmail-mime-update-tagline if the
620         body display is changed.
621         (rmail-mime-toggle-button): Rename from rmail-mime-image.
622         (rmail-mime-image): Delete this button type.
623         (rmail-mime-toggle): New button type.
624         (rmail-mime-insert-bulk): Call rmail-mime-update-tagline if the
625         body display is changed.  Change the save button label to "Save".
626         Don't process show/hide button here.
627         (rmail-mime-insert-multipart): Call rmail-mime-update-tagline if
628         the body display is changed.  Unconditionally call
629         rmail-mime-insert for children.
630         (rmail-mime-handle): Update `display' vector of the just inserted
631         entity.
632         (rmail-mime-process): If mail-header-parse-content-type returns
633         nil, use "text/plain" as the fallback type.
634         (rmail-mime-insert): For raw-mode, recursively call
635         rmail-mim-insert for children.
636         (rmail-mime): Handle the case that the current buffer is not rmail
637         buffer (e.g. in summary buffer).
639 2011-01-15  Kenichi Handa  <handa@m17n.org>
641         * mail/rmailmm.el (rmail-mime-next-item)
642         (rmail-mime-previous-item): Skip the body of a non-multipart
643         entity if a tagline is shown.
645 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
647         * tmm.el (tmm-get-keymap): Skip bindings without labels (bug#7721).
648         (tmm-prompt): Simplify.
649         (tmm-add-prompt): Remove unused var `win'.
651         * whitespace.el (global-whitespace-newline-mode): Fix call (bug#7810)
652         to minor mode which used nil accidentally to mean "turn off".
654 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
656         * net/tramp-sh.el (tramp-find-inline-compress)
657         (tramp-get-inline-coding): Quote command after pipe symbol for
658         local calls under W32.  (Bug#6784)
660 2011-01-15  Michael Albinus  <michael.albinus@gmx.de>
662         * net/tramp.el (tramp-default-method): Initialize with pscp/plink
663         only when running under W32.
665 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
667         * progmodes/grep.el (grep-compute-defaults): Quote the program
668         file name after the pipe symbol in Grep templates.  (Bug#6784)
669         * jka-compr.el (jka-compr-partial-uncompress): Likewise.
671 2011-01-15  Lennart Borgman  <lennart.borgman@gmail.com>
673         * buff-menu.el (Buffer-menu-buffer-list): New var.
674         (Buffer-menu-revert-function, list-buffers-noselect): Use it, so a
675         restricted buffer list is not lost on revert (Bug#7749).
677 2011-01-15  Eric Hanchrow  <eric.hanchrow@gmail.com>
679         * net/ldap.el (ldap-search-internal): Discard stderr output.
681 2011-01-15  Eli Zaretskii  <eliz@gnu.org>
683         * files.el (directory-abbrev-alist): Doc fix.  (Bug#7777)
685 2011-01-15  Stefan Monnier  <monnier@iro.umontreal.ca>
687         * vc-bzr.el (vc-bzr-annotate-time): Tweak previous change.
689 2011-01-15  Kenichi Handa  <handa@m17n.org>
691         * mail/rmailmm.el (rmail-mime-insert-bulk): Display an unknown
692         part as a plain text.
693         (rmail-mime-process-multipart): Set the default content-type to
694         nil for unknown multipart subtypes (bug#7651).
696 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
698         * hexl.el (hexl-mode-old-*): Remove.
699         (hexl-mode--old-var-vals): New var to replace them.
700         (hexl-mode--minor-mode-p, hexl-mode--setq-local): New funs.
701         (hexl-mode, hexl-follow-line, hexl-activate-ruler):
702         Use them to set local vars (bug#7846).
703         (hexl-mode-exit): Use hexl-mode--old-var-vals to restore state.
704         (hexl-backward-short, hexl-backward-word, hexl-scroll-down)
705         (hexl-scroll-up, hexl-end-of-1k-page, hexl-end-of-512b-page): Simplify.
707         * vc/smerge-mode.el: Resolve comment conflicts more aggressively.
708         (smerge-resolve--normalize-re): New var.
709         (smerge-resolve--extract-comment, smerge-resolve--normalize): New funs.
710         (smerge-resolve): Use them.
711         * newcomment.el (comment-only-p): New function.
712         (comment-or-uncomment-region): Use it.
714 2011-01-14  Brent Goodrick  <bgoodr@gmail.com>  (tiny change)
716         * abbrev.el (prepare-abbrev-list-buffer): If listing local abbrev
717         table, get the value before switching to the output buffer.  (Bug#7733)
719 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
721         * progmodes/python.el (python-mode): Don't impose font-lock (bug#3628).
723 2011-01-14  Kim F. Storm  <storm@cua.dk>
725         * emulation/cua-base.el (cua--init-keymaps):
726         Remap exchange-point-and-mark in cua-global-keymap.
728 2011-01-14  Tassilo Horn  <tassilo@member.fsf.org>
730         * progmodes/sh-script.el (sh-other-keywords): Add ZSH's foreach
731         loop keyword.
733 2011-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
735         * emacs-lisp/easymenu.el: Add :enable (bug#7754), and obey :label.
736         Require CL.
737         (easy-menu-create-menu, easy-menu-convert-item-1):
738         Use :label rather than nil for labels.  Use `case'.
739         Add :enable as alias for :active.
740         (easy-menu-binding): Obey :label.
742 2011-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
744         Use run-mode-hooks for major mode hooks (bug#513).
745         * textmodes/reftex-toc.el (reftex-toc-mode-map):
746         Rename from reftex-toc-map.
747         (reftex-toc-mode): Use define-derived-mode.
748         * textmodes/reftex-sel.el (reftex-select-shared-map): New map.
749         (reftex-select-label-mode-map, reftex-select-bib-mode-map):
750         Rename from reftex-select-(label|bib)-map.  Move init into declaration.
751         (reftex-select-label-mode, reftex-select-bib-mode):
752         Use define-derived-mode.
753         * textmodes/reftex-index.el (reftex-index-phrases-mode-map)
754         (reftex-index-mode-map): Rename from reftex-index(-phrases)-map.
755         Move init into delcaration.
756         (reftex-index-mode, reftex-index-phrases-mode):
757         Use define-derived-mode.
758         * speedbar.el (speedbar-mode-syntax-table): Renaqme from
759         speedbar-syntax-table.  Move init into declaration.
760         (speedbar-mode-map): Rename from speedbar-key-map.
761         Move init into declaration.
762         (speedbar-file-key-map): Move init into declaration.
763         (speedbar-mode): Use define-derived-mode.
764         * recentf.el (recentf-mode): Don't run hook (or message) redundantly.
765         * net/rcirc.el (rcirc-mode): Use run-mode-hooks.
766         * emacs-lisp/chart.el (chart-mode-map): Rename from chart-map.
767         (chart-face-list): Move initialization into declaration.
768         (chart-mode): Use define-derived-mode.
769         * calculator.el (calculator-mode-map): Move init into declaration.
770         (calculator-mode): Use define-derived-mode.
772         * mail/mail-utils.el (mail-strip-quoted-names): Make the regexp code
773         work for nested comments.
775         * progmodes/prolog.el: Use syntax-propertize.  Further code cleanup.
776         (prolog-use-prolog-tokenizer-flag): Change default when
777         syntax-propertize can be used.
778         (prolog-syntax-propertize-function): New var.
779         (prolog-mode-variables): Move make-local-variable into `set'.
780         Don't make comment-column local since we don't set it.
781         Set comment-add (as it was in previous prolog.el).  Use dolist.
782         Set syntax-propertize-function.
783         (prolog-mode, prolog-inferior-mode):
784         Call prolog(-inferior)-menu directly, not through the mode-hook.
785         (prolog-buffer-module, prolog-indent-level)
786         (prolog-paren-is-the-first-on-line-p, prolog-paren-balance)
787         (prolog-comment-limits, prolog-goto-comment-column):
788         Use line-(end|beginning)-position.
789         (prolog-build-prolog-command): Tighten up regexp.
790         (prolog-consult-compile): Move make-local-variable into `set'.
791         (prolog-consult-compile-filter, prolog-goto-next-paren)
792         (prolog-help-on-predicate, prolog-clause-info)
793         (prolog-mark-predicate): Don't let+setq.
794         (prolog-indent-line): Use indent-line-to.
795         Only call prolog-goto-comment-column if necessary.
796         (prolog-indent-level): Use bobp.
797         (prolog-first-pos-on-line): Remove, not used any more.
798         (prolog-in-string-or-comment): Use syntax-ppss if available.
799         (prolog-help-on-predicate): Use read-string.
800         (prolog-goto-predicate-info): Simplify.
801         (prolog-read-predicate): Use `default' rather than `initial'.
802         (prolog-temporary-file): Use make-temp-file to close a security hole.
803         (prolog-toggle-sicstus-sd): New command.
804         (prolog-electric-underscore, prolog-variables-to-anonymous):
805         Use dynamic-scoping as it was meant.
806         (prolog-menu): Move menu definitions to top-level.
807         Use a toggle-button for Sicstus's source debugger.
808         Change "Code" to the more usual "Prolog", and hence change "Prolog"
809         to "System".
810         (prolog-inferior-menu): Reuse prolog-menu's help menu.
811         Move other menu definition to top-level.
813 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
815         * doc-view.el (doc-view-open-text): Use meaningful text buffer
816         name.  Keep original document's directory as default-directory
817         (bug#6446).
818         (doc-view-initiate-display): Fall back to normal mode when
819         doc-view-mode cannot be enabled, also when extracting the document
820         text into a separate buffer (bug#6446).
822         * simple.el (shell-command): Don't error out if shell command
823         buffer contains text with non-nil read-only property when erasing
824         the buffer.
826 2011-01-13  Kim F. Storm  <storm@cua.dk>
828         * ido.el (ido-may-cache-directory): Move "too-big" check later.
829         (ido-next-match, ido-prev-match): Fix stray reordering of matching
830         items when cycling through the matches.
832 2011-01-13  Tassilo Horn  <tassilo@member.fsf.org>
834         * dired-x.el (dired-omit-verbose): New defcustom that allows
835         disabling the omit messages.
836         (dired-omit-expunge): Use it.
838 2011-01-13  Christian Ohler  <ohler@gnu.org>
840         * emacs-lisp/ert.el, emacs-lisp/ert-x.el: New files.
842 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
844         * font-lock.el (font-lock-verbose): Default to nil.
846 2011-01-13  Chong Yidong  <cyd@stupidchicken.com>
848         * simple.el (sendmail-user-agent-compose): Move to sendmail.el.
849         (compose-mail): New arg RETURN-ACTION.
850         (compose-mail-other-window, compose-mail-other-frame): Likewise.
852         * mail/sendmail.el (mail-return-action): New var.
853         (mail-mode): Make it buffer-local.
854         (mail-bury): Obey it.  Move special Rmail window handling to
855         rmail-mail-return.
856         (mail, mail-setup): New arg RETURN-ACTION.
857         (sendmail-user-agent-compose): Move from simple.el.
859         * mail/rmail.el (rmail-mail-return): New function.
860         (rmail-start-mail): Pass it to compose-mail.
862 2011-01-12  Chong Yidong  <cyd@stupidchicken.com>
864         * menu-bar.el (menu-bar-custom-menu): Tweak Mule and Customize
865         menus.  Add menu item for customize-themes.
867         * cus-theme.el (customize-themes):
868         * emacs-lisp/package.el (package--list-packages):
869         Use switch-to-buffer.
871 2011-01-11  Johan Bockgård  <bojohan@gnu.org>
873         * emacs-lisp/unsafep.el (unsafep): Handle backquoted forms.
875 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
877         * progmodes/prolog.el: Fix up coding convention and such.
878         (prolog-indent-width): Use the same default as in
879         previous prolog.el rather than tab-width which depends on which buffer
880         is current when the file is loaded.
881         (prolog-electric-newline-flag): Only enable if electric-indent-mode
882         is not available.
883         (prolog-emacs): Remove.  Use (featurep 'xemacs) instead.
884         (prolog-known-systems): Remove.
885         (prolog-mode-syntax-table, prolog-inferior-mode-map):
886         Move initialization into declaration.
887         (prolog-mode-map): Move initialization into declaration.
888         Remove system-specific mode-map vars, since they referred to the same
889         keymap anyway.
890         (prolog-mode-variables): Obey the user's preference w.r.t
891         adaptive-fill-mode.  Prefer symbol-value to `eval'.
892         (prolog-mode-keybindings-edit): Add compatibility bindings.
893         (prolog-mode): Use define-derived-mode.  Don't handle mercury here.
894         (mercury-mode-map): New var.
895         (mercury-mode, prolog-inferior-mode): Use define-derived-mode.
896         (prolog-ensure-process, prolog-process-insert-string)
897         (prolog-consult-compile): Use with-current-buffer.
898         (prolog-guess-fill-prefix): Simplify data flow.
899         (prolog-replace-in-string): New function to use instead of
900         replace-in-string.
901         (prolog-enable-sicstus-sd): Don't abuse `eval'.
902         (prolog-uncomment-region): Use `uncomment-region' when available.
903         (prolog-electric-colon, prolog-electric-dash): Use `eolp'.
904         (prolog-int-to-char, prolog-char-to-int): New functions to use instead
905         of int-to-char and char-to-int.
906         (prolog-mode-hook, prolog-inferior-mode-hook): Don't force font-lock.
908 2011-01-11  Stefan Bruda  <stefan@bruda.ca>
910         * progmodes/prolog.el: Replace by a whole new file.
912 2011-01-11  Stefan Monnier  <monnier@iro.umontreal.ca>
914         * subr.el (eval-after-load): Fix timing for features (bug#7769).
915         (declare-function, undefined, insert-for-yank)
916         (replace-regexp-in-string): Follow checkdoc's recommendations.
918 2011-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
920         * calendar/diary-lib.el (diary-mode): Refresh *Calendar* after
921         refreshing the diary buffer.
923 2011-01-10  Ken Manheimer  <ken.manheimer@gmail.com>
925         * allout.el: Add 2011 to the file copyright.
926         (allout-encrypt-string): Prevent encryption from adding an extra
927         newline at the end of the topic body.
928         (allout-version): Increment to 2.3.
930 2011-01-10  Michael Albinus  <michael.albinus@gmx.de>
932         * net/dbus.el (dbus-unregister-service): Complete doc.
933         Fix call of dbus-error signal.
934         (dbus-register-property): Use `dont-register' keyword.
936 2011-01-10  Jan Moringen  <jan.moringen@uni-bielefeld.de>
938         * net/dbus.el (dbus-unregister-service): Translate returned
939         integer into a symbol.
940         (dbus-register-property): Use `dbus-register-service' to do the
941         name registration.
943 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
945         * progmodes/idlw-help.el (idlwave-help-link): Inherit from link face.
946         Suggested by Joakim Verona.
948         * comint.el (comint-highlight-prompt): Inherit minibuffer-prompt.
950         * wid-edit.el (visibility): Replace :on-image and :off-image
951         widget properties with :on-glyph and :off-glyph, for consistency
952         with the `visibility' widget.
953         (widget-toggle-value-create, widget-visibility-value-create):
954         Merge into a single function `widget-toggle-value-create'.
956         * cus-edit.el (custom-variable-value-create, custom-visibility)
957         (custom-face-edit-value-create, custom-face-value-create):
958         Replace :on-image and :off-image widget properties with :on-glyph and
959         :off-glyph, for consistency with the `visibility' widget.
961 2011-01-09  Andreas Schwab  <schwab@linux-m68k.org>
963         * net/ldap.el (ldap-search-internal): Don't use eval.
965 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
967         * subr.el (read-char-choice): Use read-key.
969         * custom.el (custom-safe-themes): Rename from
970         custom-safe-theme-files.  Add :risky tag.
971         (load-theme, custom-theme-load-confirm): Save sha1 hashes to
972         custom-safe-themes, not filenames.  Suggested by Stefan Monnier.
974 2011-01-09  Chong Yidong  <cyd@stupidchicken.com>
976         * tool-bar.el (tool-bar-setup): Remove Help button.  Remove label
977         from Search and add a label to Undo.
979         * vc/vc-dir.el (vc-dir-tool-bar-map): Rearrange, removing
980         inappropriate buttons and adding :vert-only tags.
982         * progmodes/compile.el (compilation-mode-tool-bar-map): Adjust to
983         removal of Help tool-bar button.  Remove Undo button for space.
985         * info.el (info-tool-bar-map): Add :vert-only tags.
987 2011-01-08  Tassilo Horn  <tassilo@member.fsf.org>
989         * doc-view.el (doc-view-mode-p): Check for png or imagemagick
990         image backend support.  Either of them is fine.
992 2011-01-08  Chong Yidong  <cyd@stupidchicken.com>
994         * subr.el (y-or-n-p): Doc fix.
996         * custom.el (custom-safe-theme-files): New defcustom.
997         (custom-theme-load-confirm): New function.
998         (load-theme): Load theme using `load', confirming with
999         custom-theme-load-confirm if necessary.
1001         * subr.el (read-char-choice): New function, factored out from
1002         dired-query and hack-local-variables-confirm.
1004         * dired-aux.el (dired-query):
1005         * files.el (hack-local-variables-confirm): Use it.
1007         * dired-aux.el (dired-compress-file):
1008         * files.el (abort-if-file-too-large, find-alternate-file)
1009         (set-visited-file-name, write-file, backup-buffer)
1010         (basic-save-buffer, basic-save-buffer-2, save-some-buffers)
1011         (delete-directory, revert-buffer, recover-file, kill-buffer-ask):
1012         Use new format string args for y-or-n-p and yes-or-no-p.
1014 2011-01-08  Andreas Schwab  <schwab@linux-m68k.org>
1016         * progmodes/compile.el (compilation-error-regexp-alist-alist)
1017         [gcc-include]: Tighten file name match, add match for column
1018         number.  (Bug#7806)
1019         [gnu]: Remove unused group.
1021 2011-01-08  Glenn Morris  <rgm@gnu.org>
1023         * makefile.w32-in (EMACSOPT): Add --no-site-lisp.
1025         * makefile.w32-in (EMACSOPT): -batch implies --no-init-file.
1027 2011-01-07  Sam Steingold  <sds@gnu.org>
1029         * w32-fns.el (w32-shell-name): Use `shell-file-name' instead of
1030         the `explicit-shell-file-name' because that is the
1031         non-interactive shell.
1033 2011-01-07  Chong Yidong  <cyd@stupidchicken.com>
1035         * subr.el (y-or-n-p): Accept format string args.
1037 2011-01-07  Glenn Morris  <rgm@gnu.org>
1039         * Makefile.in (EMACSOPT): Add --no-site-lisp.
1041 2011-01-06  Ken Manheimer  <ken.manheimer@gmail.com>
1043         * allout.el (allout-back-to-current-heading): Ensure return to
1044         the visible containing topic, rather than a collapsed one.
1045         (allout-view-change-hook): Remove hook that was deprecated long ago.
1046         (allout-exposure-change-hook): Remove documentation remarks
1047         concerning removed allout-view-change-hook.
1048         (allout-flag-region): Remove invocation of and documentation
1049         remarks concerning allout-view-change-hook.
1051 2011-01-06  Glenn Morris  <rgm@gnu.org>
1053         * vc/vc-bzr.el (vc-bzr-annotate-command, vc-bzr-annotate-time)
1054         (vc-bzr-annotate-extract-revision-at-line):
1055         Handle authors with embedded spaces.  (Bug#7792)
1057 2011-01-05  Tassilo Horn  <tassilo@member.fsf.org>
1059         * doc-view.el (doc-view-image-width): New variable.
1060         (doc-view-enlarge, doc-view-insert-image): Prefer imagemagick
1061         backend for PNG images, and do dynamic rescaling instead of
1062         reconverting the whole doc.
1064 2011-01-05  Glenn Morris  <rgm@gnu.org>
1066         * emacs-lisp/rx.el (rx-repeat): Replace CL function.
1068 2011-01-04  Ken Manheimer  <ken.manheimer@gmail.com>
1070         * allout.el: Reconcile with changes in line movement behavior for
1071         long text lines that cross more than a single physical window
1072         line, ie when truncate-lines is nil.
1073         (allout-next-visible-heading): Provide for change in line-move
1074         behavior on long lines when truncate-lines is nil.  In that case,
1075         line-move can wind up on the same textual line when it moves to
1076         the next window line, and moving to the bullet position after the
1077         move yields zero advancement.  Add logic to detect and compensate
1078         for the lack of progress.
1079         (allout-current-topic-collapsed-p): move-end-of-line respect for
1080         field boundaries is different when operating with body lines
1081         shorter than window width versus ones greater than window width,
1082         which can yield false negatives in this function.  Avoid
1083         difference by applying move-end-of-line while field-text-motion is
1084         inhibited.
1086 2011-01-04  Glenn Morris  <rgm@gnu.org>
1088         * textmodes/rst.el (rst-compile-toolsets):
1089         Add pdf and s5 to option alist.
1091 2011-01-04  Jan Moringen  <jan.moringen@uni-bielefeld.de>
1093         * net/dbus.el (dbus-register-property): Add optional parameter
1094         dont-register-service.  Updated docstring accordingly.
1096 2011-01-04  Andreas Schwab  <schwab@linux-m68k.org>
1098         * textmodes/rst.el (rst-compile-pdf-preview)
1099         (rst-compile-slides-preview): Remove extra line.
1101 2011-01-04  Glenn Morris  <rgm@gnu.org>
1103         * textmodes/rst.el (rst-compile-toolsets): Make it a defcustom.
1104         Add `pdf' and `s5' entries.  Use `prog.py' if found, otherwise
1105         default to `prog' without a .py extension.
1106         (rst-compile-pdf-preview, rst-compile-slides-preview):
1107         Use program names from rst-compile-toolsets, rather than hard-coding.
1108         (rst-portable-mark-active-p): Fix presumed typo.
1110 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1112         * term/w32-win.el (dynamic-library-alist): Set up correctly for
1113         libpng versions both before and after 1.4.0.  (Bug#7716)
1115 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1117         * time.el (display-time-mode): Mention display-time-interval in
1118         the doc string.  (Bug#7713)
1120 2011-01-02  Kenichi Handa  <handa@m17n.org>
1122         * mail/rmailmm.el (rmail-mime-parse): Perform parsing in
1123         condition-case and return an error message string if something
1124         goes wrong.
1125         (rmail-show-mime): Adjust for the above change.  Insert the
1126         header by rmail-mime-insert-header.
1128 2011-01-02  Kenichi Handa  <handa@m17n.org>
1130         * mail/rmailmm.el: New key bindings for rmail-mime-next-item,
1131         rmail-mime-previous-item, and rmail-mime-toggle-hidden.
1132         (rmail-mime-mbox-buffer)
1133         (rmail-mime-view-buffer, rmail-mime-coding-system): New variables.
1134         (rmail-mime-entity): Argument changed.  All codes handling an
1135         entity object are changed.
1136         (rmail-mime-entity-header, rmail-mime-entity-body): Adjust for
1137         the above change.
1138         (rmail-mime-entity-children, rmail-mime-entity-handler)
1139         (rmail-mime-entity-tagline): New functions.
1140         (rmail-mime-message-p): New function.
1141         (rmail-mime-save): Bind rmail-mime-mbox-buffer.
1142         (rmail-mime-entity-segment, rmail-mime-next-item)
1143         (rmail-mime-previous-item, rmail-mime-shown-mode)
1144         (rmail-mime-hidden-mode, rmail-mime-raw-mode)
1145         (rmail-mime-toggle-raw, rmail-mime-toggle-hidden)
1146         (rmail-mime-insert-tagline, rmail-mime-insert-header):
1147         New functions.
1148         (rmail-mime-text-handler): Call rmail-mime-insert-text.
1149         (rmail-mime-insert-decoded-text): New function.
1150         (rmail-mime-insert-text): Call rmail-mime-insert-decoded-text.
1151         (rmail-mime-insert-image): Argument changed.  Caller changed.
1152         (rmail-mime-image): Call rmail-mime-toggle-hidden.
1153         (rmail-mime-set-bulk-data): New funciton.
1154         (rmail-mime-insert-bulk): Argument changed.
1155         (rmail-mime-multipart-handler): Return t.
1156         (rmail-mime-process-multipart): Argument changed.
1157         Handle "multipart/alternative" here.
1158         (rmail-mime-process): Argument changed.
1159         (rmail-mime-parse): Bind rmail-mime-mbox-buffer.
1160         (rmail-mime-insert): Argument changed.  Handle raw display mode.
1161         (rmail-mime): Argument changed.  Handle toggling of raw display
1162         mode.
1163         (rmail-show-mime): Bind rmail-mime-mbox-buffer and
1164         rmail-mime-view-buffer.
1165         (rmail-insert-mime-forwarded-message): Likewise.
1166         (rmail-search-mime-message): Likewise.  Don't bind rmail-buffer.
1168         * mail/rmail.el (rmail-show-message-1): If rmail-enable-mime is
1169         non-nil, handle the header in rmail-show-mime-function.
1171 2011-01-02  Leo  <sdl.web@gmail.com>
1173         * help-fns.el (describe-variable): Fix previous change.
1175 2011-01-02  Juri Linkov  <juri@jurta.org>
1177         * isearch.el (isearch-lazy-highlight-error): New variable.
1178         (isearch-lazy-highlight-new-loop): Compare `isearch-error' and
1179         `isearch-lazy-highlight-error'.  Set `isearch-lazy-highlight-error'
1180         to the current value of `isearch-error' (Bug#7468).
1182 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
1184         * help-fns.el (describe-variable): Don't emit trailing whitespace
1185         (Bug#7511).
1187 2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
1189         * textmodes/rst.el (rst-compile-pdf-preview)
1190         (rst-compile-slides-preview): Use make-temp-file (Bug#7646).
1192 2011-01-02  Kevin Gallagher  <Kevin.Gallagher@boeing.com>
1194         * emulation/edt-mapper.el: Override mapping of function keys so
1195         that the later call to read-key-sequence works.
1197 2011-01-02  Eli Zaretskii  <eliz@gnu.org>
1199         * mail/smtpmail.el (smtpmail-send-it): Write queued mail body with
1200         Unix EOLs.  (Bug#7589)
1202 2011-01-02  Leo  <sdl.web@gmail.com>
1204         * eshell/em-hist.el (eshell-previous-matching-input): Signal error
1205         if point is not behind eshell-last-output-end (Bug#7585).
1207 2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1209         * files.el (file-local-variables-alist):
1210         Make permanent-local (bug#7767).
1212 2011-01-02  Glenn Morris  <rgm@gnu.org>
1214         * version.el (emacs-copyright): Set short copyright year to 2011.
1216 2011-01-02  Mark Lillibridge  <mark.lillibridge@hp.com>  (tiny change)
1218         * mail/mail-utils.el (mail-strip-quoted-names): Avoid clobbering
1219         an existing temp buffer.  (Bug#7746)
1221 2011-01-02  Glenn Morris  <rgm@gnu.org>
1223         * mail/mail-utils.el (mail-mbox-from): Handle From: headers with
1224         multiple addresses.  (Bug#7760)
1226 2011-01-01  Ken Manheimer  <ken.manheimer@gmail.com>
1228         * allout.el (allout-auto-fill): Do not infinitely recurse - use
1229         do-auto-fill if everything points back to allout-auto-fill.
1230         (allout-mode-deactivate-hook): Declare obsolete, in favor of
1231         standard-formed minor-mode deactivate hook, allout-mode-off-hook.
1233 2010-12-31  Michael Albinus  <michael.albinus@gmx.de>
1235         * net/tramp-sh.el (tramp-methods): Add recursive options to "scpc"
1236         and "scpx".
1238 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
1240         * doc-view.el (doc-view-set-doc-type): New function refactored
1241         from doc-view-mode.
1242         (doc-view-fallback-mode): New function.
1243         (doc-view-mode): Use it.
1244         (doc-view-mode-maybe): New function that checks if doc-view-mode
1245         can be used and falls back to the next best mode otherwise.
1247         * files.el (auto-mode-alist): Use doc-view-mode-maybe for PDF,
1248         DVI, OpenDocument, and MS Office files.
1250 2010-12-30  Andreas Schwab  <schwab@linux-m68k.org>
1252         * emacs-lisp/rx.el (rx-syntax): Fix typo.
1254 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
1256         * doc-view.el (doc-view-toggle-display): Perform rassq-delete-all
1257         on a copy of auto-mode-alist, because that deletes with side
1258         effects.
1260 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
1262         * doc-view.el (doc-view-mode, doc-view-toggle-display):
1263         Use normal-mode without doc-view-mode bindings in auto-mode-alist as
1264         fallback instead of hard coding fundamental mode.
1266 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
1268         * doc-view.el (doc-view-doc->txt): Handle OpenDocument (or MS
1269         Office) files also for searching.
1271 2010-12-30  Tassilo Horn  <tassilo@member.fsf.org>
1273         * doc-view.el: Implement viewing of OpenDocument (and Microsoft
1274         Office) files.  Not yet enabled via auto-mode-list.
1275         (doc-view-unoconv-program): New custom variable.
1276         (doc-view-mode-p): Handle new odf document type.
1277         (doc-view-odf->pdf): New conversion function.
1278         (doc-view-convert-current-doc): Call it for odf files.
1279         (doc-view-mode): Recognize newly supported file extensions.
1281 2010-12-30  Michael Albinus  <michael.albinus@gmx.de>
1283         * net/tramp.el (tramp-default-method-alist)
1284         (tramp-default-user-alist)
1285         (tramp-local-host-regexp, tramp-prefix-domain-format)
1286         (tramp-prefix-domain-regexp): Set tramp-autoload cookie.
1288         * net/tramp-ftp.el:
1289         * net/tramp-gvfs.el:
1290         * net/tramp-gw.el:
1291         * net/tramp-imap.el:
1292         * net/tramp-sh.el:
1293         * net/tramp-smb.el: Add tramp-autoload cookie for initialisation
1294         code of `tramp-default-method-alist' and `tramp-default-user-alist'.
1296 2010-12-29  Karl Fogel  <kfogel@red-bean.com>
1298         * saveplace.el (save-place-alist-to-file): Save list sorted and
1299         pretty-printed, so that it is mergeable by line-based text merging,
1300         as suggested by Iain Dalton <iain.dalton {_AT_} gmail.com>.
1302 2010-12-28  Ken Manheimer  <ken.manheimer@gmail.com>
1304         * allout.el (allout-v18/19-file-var-hack): Obsolete, remove.
1305         (allout-mode): Argument "toggle" => "force".
1306         Refine the docstring.
1307         Remove special provisions for reactivation, besides the 'force'
1308         argument.
1309         Consolidate layout provisions coce directly into the activation
1310         condition branch, now that we've removed those provisions.
1311         (allout-unload-function): Explicitly activate the mode before
1312         deactivating, if it's initially deactivated.
1313         (allout-set-buffer-multibyte): Properly prevent byte-compiler
1314         warnings for version of function used only where
1315         set-buffer-multibyte is unavailable.
1317 2010-12-28  Chong Yidong  <cyd@stupidchicken.com>
1319         * tool-bar.el (tool-bar-setup): Remove :enable conditions, which
1320         are handled by the menu-bar entries.  As before, don't use
1321         :visibile to avoid changing the tool-bar.
1323 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
1325         * net/secrets.el (secrets-delete-alias): New defun.
1327 2010-12-27  Michael Albinus  <michael.albinus@gmx.de>
1329         * net/tramp.el (tramp-default-user-alist): Do not add "ssh" based
1330         methods, otherwise ~/.ssh/config would be ignored.
1332 2010-12-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1334         * emacs-lisp/rx.el: Make it a superset of sregex.
1335         (rx-constituents): Add `any => "."', mark `repeat' as taking any number
1336         of args, add `regex' alias.
1337         (rx-info): Add arg to distinguish head and standalone forms.
1338         (rx-check, rx-form): Pass the corresponding arg.
1339         (rx-**): Simplify.
1340         (rx-repeat): Make it work for any number of args.
1341         (rx-syntax): Make it accept syntax chars as is.
1342         * obsolete/sregex.el: Move from emacs-lisp/.
1343         * emacs-lisp/re-builder.el: Remove sregex support.
1344         * emacs-lisp/edebug.el (sregexq, rx): Remove redundant defs.
1346 2010-12-25  Eli Zaretskii  <eliz@gnu.org>
1348         * mouse.el (mouse-yank-primary): On MS-Windows, try the (emulated)
1349         PRIMARY first, then the clipboard.  (Bug#7699)
1351 2010-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1353         * emacs-lisp/bytecomp.el (byte-compile-output-docform): Fix up use of
1354         print-number-table.
1356 2010-12-21  Chong Yidong  <cyd@stupidchicken.com>
1358         * help-fns.el (find-lisp-object-file-name): Locate .emacs from
1359         .emacs.elc (Bug#7530).
1361         * wid-edit.el (widget-image-find): Remove bogus :ascent spec from
1362         image spec (Bug#7480).
1364 2010-12-21  Daiki Ueno  <ueno@unixuser.org>
1366         * obsolete/pgg-parse.el, obsolete/pgg-pgp5.el, obsolete/pgg-pgp.el,
1367         * obsolete/pgg-gpg.el, obsolete/pgg-def.el, obsolete/pgg.el:
1368         Move from lisp/.
1370 2010-12-20  Leo  <sdl.web@gmail.com>
1372         * dnd.el (dnd-get-local-file-name): Unhex of file name shall
1373         always be performed (Bug#7680).
1375 2010-12-20  Chong Yidong  <cyd@stupidchicken.com>
1377         * menu-bar.el (menu-bar-kill-ring-save): Make obsolete.
1378         (menu-bar-edit-menu): Bind "Copy" to kill-ring-save.  Don't use
1379         mouse-region-match.
1381         * color.el: Move from gnus/.
1383         * vc/diff.el (diff-better-file-name): Function deleted.
1384         abbreviating file names causes problems with shell-quote-argument.
1385         (diff-no-select): Just use expand-file-name.
1387         * tool-bar.el (tool-bar--image-expression): New function.
1388         (tool-bar-local-item, tool-bar--image-exp): Use it.
1389         (tool-bar-setup): Initialize tool-bar-separator-image-expression.
1390         Use :enable instead of :visible to avoid changing the tool-bar
1391         configuration unnecessarily.
1393         * info.el (info-tool-bar-map): Add separators.
1395 2010-12-17  Ken Brown  <kbrown@cornell.edu>
1397         * loadup.el: Use version numbers in Cygwin build.
1399 2010-12-17  Ryan Twitchell  <metatheorem@gmail.com>  (tiny change)
1401         * ido.el (ido-file-internal): Ask for confirmation before
1402         overwriting an existing file (Bug#1238).
1404 2010-12-16  Chong Yidong  <cyd@stupidchicken.com>
1406         * tool-bar.el (tool-bar-setup): Add separators.
1408         * menu-bar.el (featurep): Use menu-bar-separator.
1410 2010-12-16  Ken Manheimer  <ken.manheimer@gmail.com>
1412         Migrate allout encryption provisions from pgg to epg.
1414         * allout.el (allout-toggle-current-subtree-encryption)
1415         (allout-toggle-subtree-encryption): Adjust docstrings to reflect
1416         defaulting policy and other changes.  Change fetch-pass to keymode-cue,
1417         for simpler universal argument interpretation.
1418         (allout-toggle-subtree-encryption):  Adjust docstring to describe
1419         changed encryption provisions.  Change fetch-pass to keymode-cue, for
1420         simpler universal argument interpretation.  Remove provisions for
1421         handling key type and identity - they'll all be within
1422         allout-encrypt-string or epg/epg or even contained all the way in gpg.
1423         (allout-encrypt-string): Include keymode-cue, for optionally prompting
1424         for keypair recipients (universal argument > 1) and, in addition,
1425         associating the specified recipients with the outline (universal
1426         argument > 4) using a file local variable setting for
1427         'epa-file-encrypt-to'.
1428         Require epa, for recipients handling.
1429         Change how regexp filtering elements are named.
1430         Describe the problem with caching of incorrect symmetric-decryption
1431         keys.
1432         Use the epa-passphrase-callback-function, in case the user is using
1433         GnuPG v1.
1434         Support saving of the selected keypair recipients when invoked with a
1435         keymode-cue > 4.
1436         Remove obsolete arguments 'fetch-pass', 'target-cache-id', 'retried'.
1437         Require 'epa.
1438         Establish epg-context with armoring and default epg-protocol.
1439         Remove all passphrase cache, verification, and hinting code.
1440         (allout-passphrase-verifier-handling, allout-passphrase-hint-handling):
1441         No longer used, delete.
1442         (allout-mode): Adjust docstring to describe changed encryption
1443         provisions.  Describe the problem with caching of incorrect
1444         symmetric-decryption keys.
1445         (allout-obtain-passphrase, allout-epg-passphrase-callback-function)
1446         (allout-make-passphrase-state, allout-passphrase-state-passphrase)
1447         (allout-encrypted-key-info, allout-update-passphrase-mnemonic-aids)
1448         (allout-get-encryption-passphrase-verifier, allout-verify-passphrase):
1449         Obsolete, remove.
1451 2010-12-16  Daiki Ueno  <ueno@unixuser.org>
1453         * epa-file.el (epa-file-select-keys): Accept 'silent to inhibit
1454         key selection prompt; make 'silent as default (Bug#7487).
1456 2010-12-16  Leo  <sdl.web@gmail.com>
1458         * eshell/eshell.el (eshell-directory-name):
1459         Use locate-user-emacs-file (Bug#7578).
1461 2010-12-15  Glenn Morris  <rgm@gnu.org>
1463         * loadup.el (symbol-file-load-history-loaded): Remove; unused.
1465 2010-12-15  Jari Aalto  <jari.aalto@cante.net>
1466             Scott Evans <gse@antisleep.com>
1468         * rect.el (rectange--default-line-number-format)
1469         (rectangle-number-line-callback): New functions.
1470         (rectangle-number-lines): New command, bound to C-x r N (Bug#4382).
1472 2010-12-15  Chong Yidong  <cyd@stupidchicken.com>
1474         * rect.el (operate-on-rectangle-lines, string-rectangle-string):
1475         Delete unused variables.
1476         (move-to-column-force): Remove function obsolete since 21.2.
1478 2010-12-14  Michael Albinus  <michael.albinus@gmx.de>
1480         * net/tramp.el (tramp-temp-buffer-file-name): Make it permanent-local.
1481         (tramp-handle-insert-file-contents): Do not set permanent-local
1482         property.
1484         * net/tramp-cache.el (tramp-persistency-file-name):
1485         Use `locate-user-emacs-file' if fboundp.
1487         * net/tramp-sh.el (tramp-methods): Add "ksu".
1488         (tramp-default-user-alist): Add "ksu".  Use `regexp-opt' for
1489         method list.
1491 2010-12-14  Glenn Morris  <rgm@gnu.org>
1493         * progmodes/js.el: Doc't require font-lock, etags, or easymenu.
1494         (find-tag-marker-ring): Declare.
1495         (js-find-symbol): Require etags.
1497         * mail/sendmail.el: Don't require rmail or mailalias when compiling.
1498         Require mail-utils.
1499         (mail-alias-file): Don't autoload.  Doc fix.
1500         (mail-bury-selects-summary, mail-send-nonascii): Don't autoload.
1501         (mail-mailer-swallows-blank-line): Default to nil.  Doc fix.
1502         Mark as obsolete, and risky.
1503         (mail-setup): Simplify.
1505         * mail/mailalias.el (build-mail-aliases): Make it interactive.
1506         * mail/sendmail.el (build-mail-aliases): Update autoload.
1508         * dired.el (dired-trivial-filenames, dired-chown-program)
1509         (dired-auto-revert-buffer): Remove autoload cookies.
1510         * mail/sendmail.el (mail-recover-1): Require 'dired.
1512         * dired.el (dired-subdir-switches, dired-chown-program)
1513         (dired-use-ls-dired, dired-chmod-program, dired-touch-program):
1514         Make into defcustoms.
1515         (dired-chown-program): Simplify initialization.
1517         * mail/mail-utils.el: No need to require lisp-mode, it's in loadup.
1519 2010-12-13  Romain Francoise  <romain@orebokech.com>
1521         * net/gnutls.el (gnutls-negotiate): Fix setting of default trustfiles.
1523 2010-12-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1525         * net/netrc.el (netrc-point-at-eol): Remove the unused
1526         netrc-point-at-old and netrc-bound-and-true-p bindings.
1527         (netrc-parse): Cache the netrc contents.
1529 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
1531         * subr.el (posn-col-row): Evaluate header-line-format in the
1532         context of the POSITION window's buffer.
1534 2010-12-13  Glenn Morris  <rgm@gnu.org>
1536         * subr.el (member-ignore-case, run-mode-hooks, insert-for-yank-1)
1537         (with-silent-modifications): Doc fixes.
1539 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
1541         * net/tramp.el (tramp-action-password, tramp-process-actions):
1542         Revert previous from.  Use `save-restriction'.
1544 2010-12-13  Stephen Berman  <stephen.berman@gmx.net>
1546         * calendar/diary-lib.el (diary-list-sexp-entries):
1547         Handle case of no newline at end of file.  (Bug#7536)
1549 2010-12-13  Glenn Morris  <rgm@gnu.org>
1551         * mail/smtpmail.el (smtpmail-send-it): Revert previous change.
1553 2010-12-13  Michael Albinus  <michael.albinus@gmx.de>
1555         * net/tramp.el (tramp-action-password): Delete region, do not narrow.
1556         (tramp-process-actions): Do not widen.
1558         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1559         Protect buffer-modified value.  (Bug#7557)
1561 2010-12-13   Jan Moringen  <jmoringe@techfak.uni-bielefeld.de>
1563         * log-edit.el (log-edit-changelog-entries):
1564         Regexp quote filename.  (Bug#7505)
1566 2010-12-13  Tom Breton  <tehom@panix.com>
1568         * cus-edit.el (custom-save-all):
1569         Bind print-length and print-level to nil.  (Bug#7581)
1571 2010-12-13  Glenn Morris  <rgm@gnu.org>
1573         * mouse.el (mouse-menu-major-mode-map, mouse-menu-bar-map):
1574         Run hooks to update menu contents.  (Bug#7586)
1576         * mail/smtpmail.el (smtpmail-send-it): Avoid colons in the queued
1577         file names, for the sake of MS Windows.  (Bug#7588)
1579 2010-12-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1581         * diff-mode.el (diff-refine-hunk): Make it work when the hunk contains
1582         empty lines without a leading space.
1584 2010-12-13  Leo  <sdl.web@gmail.com>
1586         * dired-aux.el (dired-do-redisplay): Postpone dired-after-readin-hook
1587         while mapping over marks (Bug#6810).
1589 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
1591         * image-dired.el (image-dired-db-file)
1592         (image-dired-temp-image-file, image-dired-gallery-dir)
1593         (image-dired-temp-rotate-image-file): Set default values relative
1594         to image-dired-dir (Bug#7518).
1596 2010-12-13  Lawrence Mitchell  <wence@gmx.li>
1598         * format.el (format-decode-run-method): Pass args FROM and TO, not
1599         point-min and point-max, to shell-command-on-region (Bug#7488).
1601 2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
1603         * frame.el (blink-cursor-mode): Make default t for ns.
1605 2010-12-13  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
1607         * vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1609 2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
1611         * comint.el (comint-dynamic-list-input-ring)
1612         (comint-dynamic-complete-filename)
1613         (comint-replace-by-expanded-filename)
1614         (comint-dynamic-simple-complete)
1615         (comint-dynamic-list-filename-completions)
1616         (comint-dynamic-list-completions): Doc fix (Bug#7499).
1618         * subr.el (posn-x-y, posn-object-x-y, posn-object-width-height):
1619         Doc fix (Bug#7471).
1621 2010-12-13  Martin Rudalics  <rudalics@gmx.at>
1623         * dired.el (dired-pop-to-buffer): Bind pop-up-frames to nil
1624         (Bug#7533).
1626 2010-12-13  W. Martin Borgert <debacle@debian.org>  (tiny change)
1628         * files.el (auto-mode-alist): Handle .dbk (DocBook) with xml-mode.
1629         (Bug#7491).
1631 2010-12-13  Eli Zaretskii  <eliz@gnu.org>
1633         * files.el (file-relative-name): Handle UNC file names on
1634         DOS/Windows.  (Bug#4674)
1636 2010-12-13  Daiki Ueno  <ueno@unixuser.org>
1638         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
1639         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
1640         (epg-context-set-passphrase-callback): Mention that the callback
1641         is not called when used with GnuPG 2.x.
1643 2010-12-13  Glenn Morris  <rgm@gnu.org>
1645         * ps-print.el (ps-line-lengths-internal, ps-nb-pages):
1646         Ensure ps-footer-font-size-internal is initialized.
1647         Call ps-get-page-dimensions before trying to use ps-font-for-text.
1649 2010-12-13  Kenichi Handa  <handa@m17n.org>
1651         * mail/rmailmm.el (rmail-mime-parse): Call rmail-mime-process
1652         within condition-case.
1653         (rmail-show-mime): Don't use condition-case.
1654         (rmail-search-mime-message): New function.
1655         (rmail-search-mime-message-function): Set to
1656         rmail-search-mime-message.
1658 2010-12-13  Leo  <sdl.web@gmail.com>
1660         * ido.el (ido-common-initialization): New function.  (bug#3274)
1661         (ido-mode): Use it.
1662         (ido-completing-read): Call it.
1664 2010-12-12  Karl Fogel  <kfogel@red-bean.com>
1666         * bookmark.el (bookmark-name-from-full-record): Rename back to
1667         this original name from `bookmark-name-from-record' reverting part
1668         of 2010-12-08T08:09:27Z!kfogel@red-bean.com / kfogel@red-bean.com-20101208080927-5j9jqnb2xvcw4ogm.
1669         As Drew Adams pointed out, there was no reason to cause churn for
1670         third-party callers.
1672 2010-12-12  Alan Mackenzie  <acm@muc.de>
1674         * progmodes/cc-engine.el (c-forward-type): Before scanning a
1675         template arglist, check that the current language supports this.
1677 2010-12-11  Glenn Morris  <rgm@gnu.org>
1679         * vc/vc-bzr.el (vc-bzr-state-heuristic): Also check that the executable
1680         state of the file matches.  (Bug#7544)
1681         (vc-bzr-register, vc-bzr-checkin)
1682         (vc-bzr-annotate-extract-revision-at-line): Doc fixes.
1683         (vc-directory-exclusion-list): Remove unnecessary eval-after-load.
1685         * textmodes/sgml-mode.el (sgml-xml-guess): Add .xhtml extension.
1687 2010-12-11  Karel Klíč  <kklic@redhat.com>
1689         * files.el (auto-mode-alist): Use html-mode for *.xhtml.  (Bug#7606)
1691 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1693         Derive from prog-mode, use derived-mode-p, and fix up various
1694         minor style issues in lisp/progmodes.
1696         * progmodes/vhdl-mode.el (vhdl-mode):
1697         * progmodes/verilog-mode.el (verilog-mode):
1698         * progmodes/vera-mode.el (vera-mode):
1699         * progmodes/sql.el (sql-mode):
1700         * progmodes/scheme.el (scheme-mode):
1701         * progmodes/perl-mode.el (perl-mode):
1702         * progmodes/octave-inf.el (inferior-octave-mode):
1703         * progmodes/autoconf.el (autoconf-mode):
1704         * progmodes/m4-mode.el (m4-mode):
1705         * progmodes/inf-lisp.el (inferior-lisp-mode):
1706         * progmodes/idlwave.el (idlwave-mode):
1707         * progmodes/icon.el (icon-mode):
1708         * progmodes/idlw-help.el (idlwave-help-mode):
1709         * progmodes/dcl-mode.el (dcl-mode):
1710         * progmodes/idlw-shell.el (idlwave-shell-mode):
1711         * progmodes/ebrowse.el (ebrowse-tree-mode, ebrowse-electric-list-mode)
1712         (ebrowse-member-mode, ebrowse-electric-position-mode):
1713         Use define-derived-mode.
1715         * progmodes/xscheme.el (exit-scheme-interaction-mode)
1716         (xscheme-enter-interaction-mode, xscheme-enter-debugger-mode)
1717         (xscheme-debugger-mode-p, xscheme-send-string-1):
1718         * progmodes/tcl.el (inferior-tcl-proc, tcl-current-word)
1719         (tcl-load-file, tcl-restart-with-file):
1720         * progmodes/ps-mode.el (ps-run-running):
1721         * progmodes/gdb-mi.el (gud-watch, gdb-mouse-set-clear-breakpoint):
1722         * progmodes/js.el (js--get-all-known-symbols):
1723         * progmodes/inf-lisp.el (inferior-lisp-proc):
1724         * progmodes/idlwave.el (idlwave-beginning-of-statement)
1725         (idlwave-template, idlwave-update-buffer-routine-info)
1726         (idlwave-update-current-buffer-info)
1727         (idlwave-get-routine-info-from-buffers, idlwave-choose)
1728         (idlwave-scan-class-info, idlwave-fix-keywords)
1729         (idlwave-list-buffer-load-path-shadows):
1730         * progmodes/idlw-toolbar.el (idlwave-toolbar, idlwave-toolbar-add)
1731         (idlwave-toolbar-remove):
1732         * progmodes/idlw-shell.el (idlwave-shell-save-and-action)
1733         (idlwave-shell-file-name, idlwave-shell-electric-debug-all-off)
1734         (idlwave-shell-menu-def):
1735         * progmodes/idlw-complete-structtag.el
1736         (idlwave-prepare-structure-tag-completion):
1737         * progmodes/gud.el (gud-set-buffer):
1738         * progmodes/f90.el (f90-backslash-not-special):
1739         * progmodes/delphi.el (delphi-find-unit): Use derived-mode-p.
1741         * progmodes/xscheme.el (xscheme-start)
1742         (local-set-scheme-interaction-buffer, scheme-interaction-mode):
1743         * progmodes/which-func.el (which-function):
1744         * progmodes/vhdl-mode.el (vhdl-set-style):
1745         * progmodes/verilog-mode.el (verilog-set-compile-command)
1746         (verilog-modify-compile-command, verilog-error-regexp-add-xemacs)
1747         (verilog-set-define, verilog-auto-reeval-locals):
1748         * progmodes/sql.el (sql-product-font-lock, sql-interactive-mode):
1749         * progmodes/simula.el (simula-mode):
1750         * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
1751         * progmodes/python.el (python-check, python-mode):
1752         * progmodes/prolog.el (prolog-mode-variables):
1753         * progmodes/gud.el (gud-tooltip-activate-mouse-motions):
1754         * progmodes/ebrowse.el (ebrowse-view-file-other-frame):
1755         * progmodes/delphi.el (delphi-mode):
1756         * progmodes/cc-styles.el (c-setup-paragraph-variables):
1757         * progmodes/cc-mode.el (c-basic-common-init, c-common-init)
1758         (c-font-lock-init): Move make-local-variable to their setq.
1760         * progmodes/vhdl-mode.el (vhdl-write-file-hooks-init)
1761         (vhdl-hs-minor-mode, vhdl-ps-print-init): Fix make-local-variable ->
1762         make-local-hook.
1763         * progmodes/sh-script.el (sh-require-final-newline): Remove.
1764         (sh-set-shell): Don't set require-final-newline since it's already done
1765         by prog-mode.
1766         * progmodes/modula2.el (m2-mode): Don't make m2-end-comment-column
1767         since we never set it.
1768         * progmodes/ebrowse.el (ebrowse-set-tree-indentation):
1769         Use read-string and standard prompt.
1770         * progmodes/dcl-mode.el (dcl-mode-map): Move init into declaration.
1771         * progmodes/meta-mode.el (meta-mode-abbrev-table): Merge init and decl.
1772         (meta-common-mode-syntax-table): Rename from meta-mode-syntax-table.
1773         (meta-common-mode-map): Rename from meta-mode-map.
1774         Remove C-m binding, which is a user preference, not mode specific.
1775         (meta-common-mode): New major mode; replace meta-common-initialization.
1776         * progmodes/js.el (js-mode): Call syntax-propertize rather than messing
1777         around with font-lock.
1778         * progmodes/etags.el (select-tags-table-mode):
1779         Derive from special-mode.
1780         * progmodes/octave-mod.el (octave-mode):
1781         * progmodes/gdb-mi.el (gdb-inferior-io-mode, gdb-threads-mode)
1782         (gdb-memory-mode, gdb-disassembly-mode, gdb-breakpoints-mode)
1783         (gdb-frames-mode, gdb-locals-mode, gdb-registers-mode):
1784         Let define-derived-mode do its job.
1785         * progmodes/cpp.el (cpp-edit-mode-map):
1786         Move initialization into declaration.
1787         (cpp-edit-mode): Use define-derived-mode.
1788         (cpp-edit-load): Use derived-mode-p.
1789         * progmodes/mixal-mode.el (mixal-mode):
1790         * progmodes/f90.el (f90-mode):
1791         * progmodes/cfengine.el (cfengine-mode): Don't bother setting
1792         require-final-newline since prog-mode does it already.
1793         * progmodes/cc-cmds.el (c-update-modeline): Use match-string.
1794         * progmodes/asm-mode.el (asm-mode-map): Fix menu setup.
1795         * progmodes/antlr-mode.el: Require cc-mode upfront.
1796         (antlr-mode-syntax-table, antlr-action-syntax-table): Initialize in
1797         the declaration.
1798         (antlr-directory-dependencies, antlr-show-makefile-rules):
1799         Use derived-mode-p.
1800         (antlr-language-option): Don't assume point-min==1.
1801         (antlr-mode): Use define-derived-mode.
1802         * progmodes/ada-mode.el: Use derived-mode-p.
1803         (ada-mode): Use define-derived-mode.
1804         Use hack-local-variables-hook.
1806 2010-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1808         * textmodes/texinfo.el (texinfo-mode-map): Bind texinfo-insert-@end.
1809         (texinfo-mode): Don't disable adaptive-fill-mode.
1810         (texinfo-insert-block): Adjust cursor placement for blocks with arg.
1811         (texinfo-insert-@end, texinfo-insert-braces, texinfo-insert-@code)
1812         (texinfo-insert-@dfn, texinfo-insert-@email, texinfo-insert-@emph)
1813         (texinfo-insert-@example, texinfo-insert-@file, texinfo-insert-@item)
1814         (texinfo-insert-@kbd, texinfo-insert-@node, texinfo-insert-@noindent)
1815         (texinfo-insert-@quotation, texinfo-insert-@samp)
1816         (texinfo-insert-@strong, texinfo-insert-@table, texinfo-insert-@var)
1817         (texinfo-insert-@uref): Use define-skeleton.
1818         (texinfo-insert-@-with-arg): Delete.
1820 2010-12-10  Eli Zaretskii  <eliz@gnu.org>
1822         * arc-mode.el (archive-zip-extract): If w32-quote-process-args is
1823         nil, do quote archive member names.  (Bug#6144)
1825 2010-12-10  Glenn Morris  <rgm@gnu.org>
1827         * files.el (diff-no-select): Declare.
1829         * mail/emacsbug.el (report-emacs-bug): Use mail-user-agent properties.
1830         (report-emacs-bug-create-existing-bugs-buffer): Avoid free variables.
1832         * comint.el (comint-input-ring-file-name): Doc fix.
1834 2010-12-09  Eli Zaretskii  <eliz@gnu.org>
1836         * menu-bar.el (menu-bar-frame-for-menubar, menu-bar-positive-p):
1837         New functions.
1838         (menu-bar-showhide-menu) <menu-bar-mode, showhide-tool-bar>:
1839         Use them instead of `nil' and `>', respectively.
1840         (menu-bar-showhide-tool-bar-menu): Use menu-bar-frame-for-menubar
1841         instead of `nil'.
1842         (toggle-menu-bar-mode-from-frame): Use menu-bar-frame-for-menubar
1843         and menu-bar-positive-p instead of `nil' and `>', respectively.
1844         (Bug#1077)
1846 2010-12-09  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
1848         * whitespace.el (whitespace-newline-mode): Code fix.
1850 2010-12-09  Glenn Morris  <rgm@gnu.org>
1852         * play/landmark.el (lm-print-y,s,noise-int, lm-print-y,s,noise):
1853         Rename functions without commas, update callers.
1855 2010-12-08  Jeff Dairiki  <dairiki@dairiki.org>  (tiny change)
1857         * whitespace.el (whitespace-cleanup-region):
1858         Clean up spaces before tabs.  (Bug#7582)
1860 2010-12-08  Karl Fogel  <kfogel@red-bean.com>
1862         * bookmark.el: Adjust parameter names and doc strings to resolve
1863         confusion over whether "bookmark" meant a bookmark name or a
1864         bookmark record.  Along the way, shorten one function's name for
1865         similar reasons.  (Issue #7548)
1866         (bookmark-name-from-record): New name for
1867         `bookmark-name-from-full-record'.  All callers changed.
1868         (bookmark-get-bookmark, bookmark-get-bookmark-record)
1869         (bookmark-default-annotation-text, bookmark-prop-get, bookmark-prop-set)
1870         (bookmark-get-annotation, bookmark-set-annotation)
1871         (bookmark-get-filename, bookmark-set-filename)
1872         (bookmark-get-position, bookmark-set-position)
1873         (bookmark-get-front-context-string, bookmark-set-front-context-string)
1874         (bookmark-get-rear-context-string, bookmark-set-rear-context-string)
1875         (bookmark-get-handler, bookmark-edit-annotation, bookmark--jump-via)
1876         (bookmark-handle-bookmark, bookmark-location, bookmark-show-annotation):
1877         Rename `bookmark' parameter to `bookmark-name-or-record', to
1878         clearly show its role, and shorten or adjust doc strings accordingly.
1879         (bookmark-set-name): Same, and pass the parameter directly to
1880         `bookmark-get-bookmark' instead of redundantly doing the callee's work.
1881         (bookmark-default-annotation-text, bookmark-send-edited-annotation)
1882         (bookmark-relocate, bookmark-insert-location, bookmark-insert)
1883         (bookmark-delete): Rename `bookmark' parameter to `bookmark-name',
1884         and in some cases shorten doc string accordingly.
1885         (bookmark-rename): Change `old' and `new' parameters to `old-name'
1886         and `new-name', and adjust an internal variable to avoid confusion.
1887         (bookmark-jump, bookmark-jump-noselect): Clarify `bookmark'
1888         parameter in doc string.
1890 2010-12-08  Glenn Morris  <rgm@gnu.org>
1892         * progmodes/gdb-mi.el (gdb): Try to initialize comint input history
1893         from gdb's history file.  (Bug#7575)
1895         * mail/emacsbug.el (report-emacs-bug):
1896         Try to handle some other mail clients.
1898 2010-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1900         * files.el (dir-locals-collect-variables): Don't let errors stop us.
1901         Use string-prefix-p.
1902         (file-name-version-regexp): New var.
1903         (file-name-sans-versions):
1904         * jka-cmpr-hook.el (jka-compr-build-file-regexp): Use it,
1905         (jka-compr-get-compression-info): Use dolist.
1906         (jka-compr-compression-info-list): Don't bother specifying
1907         version/backup regexps.
1909 2010-12-07  Tassilo Horn  <tassilo@member.fsf.org>
1911         * simple.el (just-one-space): Make argument n default to 1 if
1912         omitted.
1914 2010-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1916         * electric.el (electric-indent-post-self-insert-function):
1917         Delete trailing newlines even if we don't reindent.
1919 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1921         * minibuffer.el (completion-at-point): Remove the `arg'.
1922         * bindings.el (complete-symbol): Move back from minibuffer.el.
1924 2010-12-06  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
1926         * simple.el (just-one-space): Delete newlines for negative arg.
1928 2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
1930         * ansi-color.el (ansi-color-unfontify-region): Replace by trivial def.
1931         (ansi-color-filter-apply): Simplify.
1932         (ansi-color-apply): Use `font-lock-face' rather than `face'.
1934 2010-12-05  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
1936         * vc/vc-dir.el (vc-dir-query-replace-regexp): Doc fix (Bug#7501).
1938 2010-12-04  Chong Yidong  <cyd@stupidchicken.com>
1940         * dired.el (dired-use-ls-dired): Set default to a special
1941         "unspecified" value.
1942         (dired-insert-directory): When called the first time, check
1943         whether "ls --dired" succeeds and set dired-use-ls-dired (Bug#7546).
1945 2010-12-04  Tak Ota  <Takaaki.Ota@am.sony.com>
1947         * replace.el: Add "collect" feature to occur.
1948         (occur-collect-regexp-history): New var.
1949         (occur-read-primary-args): Return a replace string for nlines,
1950         if needed.
1951         (occur): Extend the meaning of nlines.
1953 2010-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1955         * progmodes/which-func.el (which-func-ff-hook): Log the error message.
1956         (which-func-update-1): Distinguish symbols from strings.
1957         (which-function): Stay within 80 columns.
1959 2010-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1961         * subr.el (with-demoted-errors): Distinguish symbols from strings.
1963         * newcomment.el (comment-styles): Add docs to each style (bug#7509).
1964         Improve docstring.
1965         (comment-style): Use comment-styles's docs to describe values.
1967 2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>
1969         * term/common-win.el (x-setup-function-keys): Restore ns-new-frame
1970         and ns-show-prefs (Bug#7535).
1972         * term/ns-win.el (global-map): Restore ns-new-frame and ns-show-prefs
1973         bindings (Bug#7535).
1975 2010-12-03  Glenn Morris  <rgm@gnu.org>
1977         * nxml/nxml-mode.el: Require rng-nxml.
1978         (rng-nxml-mode-init, nxml-enable-unicode-char-name-sets):
1979         Remove declarations.
1981         * nxml/nxml-mode.el, nxml/nxml-outln.el, nxml/rng-loc.el:
1982         * nxml/rng-nxml.el, nxml/rng-valid.el:
1983         Remove leading `*' from defcustom docs.
1985         * startup.el (normal-top-level-add-subdirs-to-load-path): Simplify.
1986         (normal-top-level-add-to-load-path, tty-handle-args):
1987         Convert comments to basic doc-strings.
1989         * net/browse-url.el (browse-url-url-at-point)
1990         (browse-url-default-browser): Remove autoload cookies.
1992         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
1993         Remove more undefined cl functions.
1995         * vc/diff.el (diff-sentinel): Make new arguments optional.
1996         * ibuf-ext.el (diff-sentinel): Update declaration.
1998 2010-12-03  Daiki Ueno  <ueno@unixuser.org>
2000         * epg.el (epg-digest-algorithm-alist): Replace "RMD160" with
2001         "RIPEMD160" (Bug#7490).  Reported by Daniel Kahn Gillmor.
2002         (epg-context-set-passphrase-callback): Mention that the callback
2003         is not called when used with GnuPG 2.x.
2005 2010-12-02  Michael Albinus  <michael.albinus@gmx.de>
2007         * net/tramp.el (tramp-local-host-regexp): Add "localhost6".
2008         (tramp-file-name-port): Check also for `tramp-default-port'.
2009         (tramp-get-connection-name): New defun.
2010         (tramp-get-connection-process): Use it.
2011         (tramp-debug-message): Extend function exclude list.
2012         (tramp-drop-volume-letter): Fix doc string.
2014         * net/tramp-cmds.el: Remove solved todo item.
2016         * net/tramp-efs.el:
2017         * net/tramp-ftp.el:
2018         * net/tramp-gvfs.el:
2019         * net/tramp-gw.el:
2020         * net/tramp-imap.el:
2021         * net/tramp-smb.el: Fix regexps added to `tramp-default-method-alist'
2022         and `tramp-default-user-alist', respectively.
2024         * net/tramp-gw.el (tramp-gw-open-connection):
2025         Use `tramp-get-connection-name' and `tramp-get-connection-buffer'.
2027         * net/tramp-imap.el (tramp-imap-make-iht): Use just
2028         `tramp-file-name-port'.
2030         * net/tramp-sh.el (tramp-methods): Add recursive options to "pscp"
2031         and "psftp".  Exchange "%k" marker with options.
2032         (tramp-do-copy-or-rename-file, tramp-sh-handle-file-local-copy):
2033         Compute size of link target.
2034         (tramp-do-copy-or-rename-file-out-of-band). Move setting of
2035         `tramp-current-*' up due to gateway methods.  Optimze computing of
2036         copy arguments.  Use `tramp-get-connection-name' and
2037         `tramp-get-connection-buffer'.  Improve debug messages.
2038         (tramp-compute-multi-hops): Remove port determination.
2039         (tramp-maybe-open-connection): Use `tramp-get-connection-name'.
2041         * net/trampver.el: Update release number.
2043 2010-12-02  Glenn Morris  <rgm@gnu.org>
2045         * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
2046         Avoid infinite loop over windows.  (Bug#7492)
2048         * progmodes/flymake.el (flymake-check-file-limit):
2049         Allow nil to mean "no limit".
2050         (flymake-check-patch-master-file-buffer): Update for above change.
2051         Allow a .tex file-name extension to be optional.
2052         (flymake-master-tex-init): Also match \include statements.
2054 2010-11-30  Sam Steingold  <sds@gnu.org>
2056         * nxml/nxml-mode.el (nxml-parent-document): Add a variable.
2057         (nxml-parent-document-set): A function to set `nxml-parent-document'.
2058         (nxml-mode): Define using `define-derived-mode' instead of `defun'.
2059         (nxml-mode-hook): Remove `defcustom' (auto-defined by
2060         define-derived-mode').
2061         * nxml/rng-valid.el (rng-dtd-trivial-p): Add a helper function for
2062         users who want to call `nxml-parent-document-set'.
2064 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
2066         * log-edit.el (log-edit-font-lock-keywords): Don't try matching
2067         stand-alone lines, since that is handled by log-edit-match-to-eoh
2068         (Bug#6465).
2070 2010-11-27  Eduard Wiebe  <usenet@pusto.de>
2072         * dired.el (dired-get-filename): Replace backslashes with slashes
2073         in file names on MS-Windows, needed by `locate'.  (Bug#7308)
2074         * locate.el (locate-default-make-command-line): Don't consider
2075         drive letter and root directory part of
2076         `directory-listing-before-filename-regexp'.  (Bug#7308)
2077         (locate-post-command-hook, locate-post-command-hook): New defcustoms.
2079 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2081         * emacs-lisp/smie.el (smie-prec2->grammar): Simplify handling
2082         of :smie-open/close-alist.
2083         (smie-next-sexp): Make it accept a "start token" as argument.
2084         (smie-indent-keyword): Be careful not to misidentify tokens that span
2085         more than one line, as empty lines.  Add argument `token'.
2087 2010-11-27  Kenichi Handa  <handa@m17n.org>
2089         * mail/rmailmm.el (rmail-mime-insert-multipart): For unsupported
2090         multipart subtypes, insert all as usual.
2092         * mail/rmail.el: Require rfc2047.
2094 2010-11-27  Kenichi Handa  <handa@m17n.org>
2096         * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-type)
2097         (rmail-mime-entity-disposition)
2098         (rmail-mime-entity-transfer-encoding, rmail-mime-entity-header)
2099         (rmail-mime-entity-body, rmail-mime-entity-children): New functions.
2100         (rmail-mime-save): Handle the case that the button's `data' is a
2101         MIME entity.
2102         (rmail-mime-insert-text): New function.
2103         (rmail-mime-insert-image): Handle the case that DATA is a MIME entity.
2104         (rmail-mime-bulk-handler): Just call rmail-mime-insert-bulk.
2105         (rmail-mime-insert-bulk): New function mostly copied from the old
2106         rmail-mime-bulk-handler.
2107         (rmail-mime-multipart-handler): Just call rmail-mime-process-multipart.
2108         (rmail-mime-process-multipart): New function mostly copied from
2109         the old rmail-mime-multipart-handler.
2110         (rmail-mime-show): Just call rmail-mime-process.
2111         (rmail-mime-process): New function mostly copied from the old
2112         rmail-mime-show.
2113         (rmail-mime-insert-multipart, rmail-mime-parse)
2114         (rmail-mime-insert, rmail-show-mime)
2115         (rmail-insert-mime-forwarded-message)
2116         (rmail-insert-mime-resent-message): New functions.
2117         (rmail-insert-mime-forwarded-message-function): Set to
2118         rmail-insert-mime-forwarded-message.
2119         (rmail-insert-mime-resent-message-function): Set to
2120         rmail-insert-mime-resent-message.
2122         * mail/rmailsum.el: Require rfc2047.
2123         (rmail-header-summary): Handle multiline Subject: field.
2124         (rmail-summary-line-decoder): Change the default to
2125         rfc2047-decode-string.
2127         * mail/rmail.el (rmail-enable-mime): Change the default to t.
2128         (rmail-mime-feature): Change the default to `rmailmm'.
2129         (rmail-quit): Delete the specifal code for rmail-enable-mime.
2130         (rmail-display-labels): Likewise.
2131         (rmail-show-message-1): Check rmail-enable-mime, and use
2132         rmail-show-mime-function for a MIME message.  Decode the headers
2133         according to RFC2047.
2135 2010-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2137         * progmodes/which-func.el (which-func-imenu-joiner-function):
2138         Return a string, as expected.
2139         (which-function-mode): Make sure we stop any previous timer before
2140         starting a new one.
2142 2010-11-27  Michael Albinus  <michael.albinus@gmx.de>
2144         * net/tramp.el (tramp-default-method-alist)
2145         (tramp-default-user-alist, tramp-default-proxies-alist):
2146         Adapt custom options type.  (Bug#7445)
2148 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
2150         * progmodes/python.el: Add Ipython support (Bug#5390).
2151         (python-shell-prompt-alist)
2152         (python-shell-continuation-prompt-alist): New options.
2153         (python--set-prompt-regexp): New function.
2154         (inferior-python-mode, run-python, python-shell):
2155         Require ansi-color.  Use python--set-prompt-regexp to set the comint
2156         prompt based on the Python interpreter.
2157         (python--prompt-regexp): New var.
2158         (python-check-comint-prompt)
2159         (python-comint-output-filter-function): Use it.
2160         (run-python): Use a pipe (Bug#5694).
2162 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
2164         * progmodes/python.el (run-python): Doc fix.
2165         (python-keep-current-directory-in-path): New var (Bug#7454).
2167 2010-11-27  Chong Yidong  <cyd@stupidchicken.com>
2169         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
2170         Prompt user before actually printing.
2172 2010-11-27  Glenn Morris  <rgm@gnu.org>
2174         * startup.el (package-enable-at-startup, package-initialize):
2175         Remove unnecessary declarations.
2177 2010-11-27  Eli Zaretskii  <eliz@gnu.org>
2179         * international/characters.el (glyphless-char-display-control):
2180         Exclude newline and TAB from the c0-control group.
2182 2010-11-27  Glenn Morris  <rgm@gnu.org>
2184         * mail/sendmail.el (build-mail-aliases): Doc fix for autoload.
2185         (expand-mail-aliases): Remove unnecessary autoload.
2187         * allout.el (allout-command-prefix, allout-mode-map): Declare.
2189         * shell.el (shell-dir-cookie-re): Move definition before use.
2191         * mail/emacsbug.el (report-emacs-bug-create-existing-bugs-buffer):
2192         Replace undefined CL functions.
2194 2010-11-26  Eli Zaretskii  <eliz@gnu.org>
2196         * simple.el (prog-mode): Set bidi-paragraph-direction to
2197         left-to-right.
2199         * term/pc-win.el (x-get-selection-internal): Emulation for MS-DOS.
2201 2010-11-26  Glenn Morris  <rgm@gnu.org>
2203         * calendar/diary-lib.el (diary-outlook-format-1): New function, so that
2204         diary-outlook-formats can be sensitive to calendar-date-style.
2205         (diary-outlook-formats): Simplify the default setting.
2206         (diary-from-outlook-internal): Pass subject and body as arguments.
2207         Use dolist rather than dotimes.  Don't save the diary buffer.
2208         (diary-from-outlook-gnus, diary-from-outlook-rmail):
2209         Pass subject and body as explicit arguments to the -internal function.
2211 2010-11-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2213         * mail/rfc2368.el (rfc2368-parse-mailto-url): Unfold URLs before
2214         parsing them.  This makes mailto:...?subject=foo\nbar work.
2216 2010-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2218         * vc/diff.el (diff): Fix last change.
2220 2010-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2222         * emacs-lisp/pcase.el: Improve pcase-let.  Use "pcase--" prefix.
2223         (pcase--dontcare-upats): New var.
2224         (pcase-let, pcase-let*): Generate better code.
2225         Accept the same bodies as `let'.
2226         (pcase-dolist): New macro.
2227         (pcase--trivial-upat-p): New helper function.
2228         (pcase--expand): Strip leading "(let nil" if any.
2230 2010-11-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2232         * mail/mailclient.el (browse-url): Require.
2233         (mailclient-send-it): Bind `browse-url-mailto-function' to nil to
2234         use the external browser function to send the mail (bug#7469).
2236         * net/browse-url.el (browse-url-browser-function): Revert the
2237         default back to the previous value, since the new value broke
2238         mailclient.el.
2239         (browse-url-mailto-function): New variable for mailto: URLs.
2240         (browse-url): Use the new variable for mailto: URLs.
2242 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2244         * eshell/esh-cmd.el (eshell-parse-command):
2245         * eshell/esh-arg.el (eshell-parse-arguments):
2246         * eshell/em-script.el (eshell-source-file):
2247         Use with-silent-modifications.
2249 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
2251         * vc/vc.el (vc-merge): Remove optional arg PROMPT.  Always prompt
2252         for a merge location.
2254         * vc/vc-bzr.el (vc-bzr-pull): Remove unused var.
2255         (vc-bzr-merge-branch): Always prompt.
2256         (vc-bzr-async-command): Use the full branch filename.
2258 2010-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2260         * shell.el (shell): Use current-buffer by default if it's already
2261         a shell mode buffer and its process is dead.
2262         Suggested by Jose E. Marchesi <jemarch@gnu.org>.
2264 2010-11-23  Tassilo Horn  <tassilo@member.fsf.org>
2266         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
2267         Mention that the keywords should be comma separated.
2269 2010-11-23  Chong Yidong  <cyd@stupidchicken.com>
2271         * vc/vc.el (vc-merge): Use vc-BACKEND-merge-branch if available.
2272         Accept optional prefix arg meaning to prompt for a command.
2273         (vc-update): Use vc-BACKEND-pull if available.  Accept optional
2274         prefix arg meaning to prompt for a command.
2275         (vc-pull): Alias for vc-update.
2277         * vc/vc-bzr.el (vc-bzr-admin-branchconf, vc-bzr-history): New vars.
2278         (vc-bzr--branch-conf, vc-bzr-async-command, vc-bzr-pull)
2279         (vc-bzr-merge-branch): New functions, implementing merge-branch
2280         and pull operations.
2282 2010-11-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2284         * Makefile.in: Fix up last merge.
2286         * vc/diff.el (diff-old-temp-file, diff-new-temp-file): Remove.
2287         (diff-sentinel): Get them as arguments instead.
2288         (diff-old-file, diff-new-file, diff-extra-args): Remove.
2289         (diff-file-local-copy, diff-better-file-name): New funs.
2290         (diff-no-select): Rename from diff-into-buffer.
2291         Support buffers additionally to files.  Move `buf' arg.  Don't display buf.
2292         Prefer closures to buffer-local variables.
2293         (diff): Adjust accordingly.
2294         (diff-buffer-with-file): Move from files.el.
2295         * files.el (diff-buffer-with-file): Move to vc/diff.el.
2296         (diff-buffer-internal): Remove.
2297         (diff-buffer-buffer): Remove.
2298         (save-some-buffers-action-alist): Use diff-no-select so as not to guess
2299         the buffer name used, and so as not to mess up windows and frames.
2301 2010-11-22  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
2303         * files.el: Make revert work with diff-buffer-with-file (bug#7277).
2304         (diff-buffer-internal): New function extracted from diff-buffer-with-file
2305         (diff-buffer-with-file): Use it.
2306         * vc/diff.el (diff-into-buffer): New fun, extracted from diff.
2307         (diff): Use it.
2309 2010-11-22  Tassilo Horn  <tassilo@member.fsf.org>
2311         * textmodes/reftex-ref.el (reftex-goto-label): Use the current
2312         \ref's or \pageref's value as default instead of initial input.
2314 2010-11-21  Michael Albinus  <michael.albinus@gmx.de>
2316         * files.el (backup-by-copying-when-mismatch): The default value is
2317         now t.
2319         * startup.el (normal-top-level):
2320         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2321         `backup-by-copying-when-mismatch'.
2323 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
2325         * tool-bar.el (tool-bar-setup): Remove save as, print and customize.
2327 2010-11-21  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
2329         * progmodes/python.el (python-font-lock-keywords):
2330         Highlight top-level augmented assignments (Bug#6445).
2332 2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>
2334         * term/ns-win.el (ns-right-control-modifier)
2335         (ns-right-command-modifier): Defvar them.
2337         * cus-start.el (all): Add ns-right-control-modifier and
2338         ns-right-command-modifier (Bug#7458).
2340 2010-11-20  Glenn Morris  <rgm@gnu.org>
2342         * emacs-lisp/authors.el (authors-ignored-files)
2343         (authors-valid-file-names, authors-renamed-files-alist): Add entries.
2345 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
2347         * mail/emacsbug.el (report-emacs-bug-query-existing-bugs)
2348         (report-emacs-bug-parse-query-results)
2349         (report-emacs-bug-create-existing-bugs-buffer): Pass through
2350         keywords used for querying the bug database to show them in the
2351         existing bugs buffer.
2353 2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>
2355         * tool-bar.el (tool-bar-setup): Add some :vert-only keywords.
2357         * info.el (info-tool-bar-map): Add some :vert-only keywords.
2359 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
2361         * international/characters.el (glyphless-char-display-control):
2362         Make it a defcustom, with update-glyphless-char-display as its
2363         :set attribute.
2364         (top level): Don't call update-glyphless-char-display.
2366 2010-11-20  Michael Albinus  <michael.albinus@gmx.de>
2368         Sync with Tramp 2.2.0.
2370         * net/tramp.el (tramp-handle-insert-file-contents): Don't use
2371         `file-remote-p' (due to compatibility).
2373         * net/tramp-sh.el (tramp-do-copy-or-rename-file-directly)
2374         (tramp-do-copy-or-rename-file-out-of-band): Use `ignore-errors'.
2376         * net/trampver.el: Update release number.
2378 2010-11-20  Eli Zaretskii  <eliz@gnu.org>
2380         * faces.el (glyphless-char): Define value for `pc'.
2382 2010-11-20  Tassilo Horn  <tassilo@member.fsf.org>
2384         Implemented a bug querying mechanism.
2385         * mail/emacsbug.el (report-emacs-bug-tracker-url): New variable.
2386         (report-emacs-bug-create-existing-bugs-buffer)
2387         (report-emacs-bug-parse-query-results)
2388         (report-emacs-bug-query-existing-bugs): New functions.
2390 2010-11-19  Tassilo Horn  <tassilo@member.fsf.org>
2392         * textmodes/reftex-ref.el (reftex-goto-label): If point is inside
2393         a \ref{} or \pageref{} macro, then use its value as initial input.
2395 2010-11-19  Jay Belanger  <jay.p.belanger@gmail.com>
2397         * calc/calc-units.el (math-build-units-table-buffer):
2398         calc/README: Mention that the TeX specific units won't use the
2399         `tex' prefix in TeX mode.
2400         calc/calc-lang.el (math-variable-table): Don't use the `tex'
2401         prefix for units in TeX mode.
2403 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2405         * simple.el (kill-new, kill-append, kill-region):
2406         * comint.el (comint-kill-region): Make the yank-handler argument
2407         obsolete.
2409 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2411         * emacs-lisp/smie.el (smie-bnf-classify): Signal errors for tokens
2412         that are both openers (resp. closers) and something else.
2413         (smie-grammar): Loosen definition of valid values.
2414         (smie-next-sexp, smie-down-list, smie-blink-matching-open)
2415         (smie-indent--parent, smie-rule-parent, smie-indent-keyword)
2416         (smie-indent-after-keyword): Adjust users.
2417         (smie-indent-keyword): Don't indent empty lines.
2419         * vc-hg.el (vc-hg-program): New var.
2420         Suggested by Norman Gray <norman@astro.gla.ac.uk>.
2421         (vc-hg-state, vc-hg-working-revision, vc-hg-command): Use it.
2423 2010-11-18  Glenn Morris  <rgm@gnu.org>
2425         * emacs-lisp/autoload.el (autoload-find-destination): The function
2426         coding-system-eol-type may return non-numeric values.  (Bug#7414)
2428 2010-11-18  Ulrich Mueller  <ulm@gentoo.org>
2430         * server.el (server-force-stop): Ensure the server is stopped (Bug#7409).
2432 2010-11-18  Eli Zaretskii  <eliz@gnu.org>
2434         * subr.el (posn-col-row): Pay attention to header line.  (Bug#7390)
2436 2010-11-18  Chong Yidong  <cyd@stupidchicken.com>
2438         * textmodes/picture.el (picture-mouse-set-point): Don't use
2439         posn-col-row; explicitly compute the motion based on the posn at
2440         the window-start (Bug#7390).
2442 2010-11-18  Glenn Morris  <rgm@gnu.org>
2444         * novice.el (disabled-command-function):
2445         Fix 2009-11-15 change.  (Bug#7384)
2447 2010-11-18  Glenn Morris  <rgm@gnu.org>
2449         * calendar/calendar.el (diary-iso-date-forms): Make elements
2450         mutually exclusive.  (Bug#7377)
2452 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2454         * emacs-lisp/smie.el (smie-prec2->grammar): Obey equality constraints
2455         when filling the remaining "unconstrained" values.
2457 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2459         * emacs-lisp/bytecomp.el (byte-compile-warnings): Simplify the
2460         safety predicate.
2462         * files.el (safe-local-variable-p): Gracefully handle errors.
2464         * emacs-lisp/smie.el (smie-rule-parent, smie-indent--rule):
2465         Use smie-indent-virtual when indenting relative to an opener.
2466         (smie-rule-separator): Use smie-rule-parent.
2467         (smie-indent-keyword): Consult rules, even for openers at bol.
2468         (smie-indent-comment-close): Try to align closer's content.
2470 2010-11-18  Glenn Morris  <rgm@gnu.org>
2472         * ls-lisp.el (ls-lisp-dired-ignore-case): Make it an obsolete alias.
2474 2010-11-18  Glenn Morris  <rgm@gnu.org>
2476         * printing.el (pr-menu-bind): Doc fix.
2478         * speedbar.el (speedbar-toggle-images): Doc fix.
2480         * progmodes/python.el (python-shell): Doc fix.
2482         * wid-edit.el (widget-field-use-before-change)
2483         (widget-use-overlay-change): Doc fixes.
2485 2010-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2487         Minor cleanup to improve style.
2488         * textmodes/rst.el (rst-update-section): Use point-marker.
2489         (rst-get-decoration): Eliminate unneeded assignment.
2490         (rst-promote-region, rst-straighten-decorations)
2491         (rst-section-tree, rst-adjust): Use point-marker.
2492         (rst-toc-mode-mouse-goto): Avoid setq.
2493         (rst-shift-region-guts, rst-shift-region-left)
2494         (rst-iterate-leftmost-paragraphs, rst-iterate-leftmost-paragraphs-2)
2495         (rst-convert-bullets-to-enumeration): Use copy-marker.
2497         * minibuffer.el (completion-fail-discreetly): New var.
2498         (completion--do-completion): Use it.
2500         * electric.el (electric-pair-pairs): New var.
2501         (electric-pair-post-self-insert-function): Use it.
2502         (electric-layout-post-self-insert-function): Don't insert a before
2503         newline unless it's actually needed.
2505 2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2507         * progmodes/python.el (run-python): Explain why we remove the current
2508         directory from sys.path.  Suggested by Eric Hanchrow <erich@cozi.com>.
2510         * progmodes/grep.el (grep-regexp-alist): Tighten the regexp (bug#7378).
2512 2010-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2514         * progmodes/octave-mod.el: Rely on elecric-*-modes.
2515         (octave-mode-map): Don't bind ;, SPC, and LF.
2516         (octave-auto-indent, octave-auto-newline): Remove.
2517         (electric-layout-rules): Declare.
2518         (octave-mode): Set electric-layout-rules.
2519         (octave-indent-new-comment-line): Use reindent-then-newline-and-indent.
2520         (octave-reindent-then-newline-and-indent, octave-electric-semi)
2521         (octave-electric-space): Remove.
2523         * electric.el (electric-layout-mode): New minor mode.
2524         (electric--after-char-pos): New function.
2525         (electric-indent-post-self-insert-function): Use it.
2526         (electric-layout-rules): New var.
2527         (electric-layout-post-self-insert-function): New function.
2528         (electric-indent-mode): Make them interact better.
2530 2010-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
2532         * emacs-lisp/checkdoc.el (checkdoc-syntax-table): Fix last change.
2533         (checkdoc-sentencespace-region-engine, checkdoc-this-string-valid)
2534         (checkdoc-proper-noun-region-engine): Use with-syntax-table.
2536 2010-11-15  Agustín Martín  <agustin.martin@hispalinux.es>
2538         * textmodes/flyspell.el (flyspell-generic-progmode-verify):
2539         Make sure to check inside the word (Bug#6761).
2541 2010-11-14  Chong Yidong  <cyd@stupidchicken.com>
2543         * startup.el (command-line): If the cursorColor resource is set,
2544         change the cursor face-spec (Bug#7392).
2546 2010-11-13  Ken Manheimer  <ken.manheimer@gmail.com>
2548         The main features of the following allout.el changes are:
2549         - implement user customization for the allout key bindings
2550         - add a customization control by which the user can inhibit use of
2551           a trailing Ctrl-H, so by default it's reserved for use with
2552           describe-prefix-bindings
2553         - adapt to new version of called-interactively-p, while
2554           maintaining backwards compatibility with old version
2555         - fix hotspot navigation so i works properly with meta-modified keys
2557         * allout.el (allout-keybindings, allout-bind-keys)
2558         (allout-keybindings-binding, allout-prefixed-keybindings)
2559         (allout-unprefixed-keybindings, allout-preempt-trailing-ctrl-h)
2560         (allout-keybindings-list, allout-mode-map-adjustments)
2561         (allout-setup-mode-map): Establish allout-mode keymaps as user
2562         customizable settings, and also establish a customizable setting which
2563         regulates whether or not a trailing control-h is reserved for use with
2564         describe-prefix-bindings - and inhibit it by default, so that control-h
2565         *is* reserved for describe-prefix-bindings unless the user changes it.
2567         * allout.el (allout-hotspot-key-handler): Distinguish more explicitly
2568         and accurately between modified and unmodified events, and handle
2569         modified events more comprehensively.
2571         * allout.el (allout-substring-no-properties):
2572         Alias to use or provide version of `substring-no-properties'.
2573         (allout-solicit-alternate-bullet): Use `allout-substring-no-properties'.
2575         * allout.el (allout-next-single-char-property-change):
2576         Alias to use or provide version of `next-single-char-property-change'.
2577         (allout-annotate-hidden, allout-hide-by-annotation):
2578         Use `allout-next-single-char-property-change'.
2580         * allout.el (allout-select-safe-coding-system):
2581         Alias to use or provide version of `select-safe-coding-system'.
2582         (allout-toggle-subtree-encryption):
2583         Use `allout-select-safe-coding-system'.
2585         * allout.el (allout-set-buffer-multibyte):
2586         Alias to use or provide version of `set-buffer-multibyte'.
2587         (allout-encrypt-string): Use `allout-set-buffer-multibyte'.
2589         * allout.el (allout-called-interactively-p): Macro for using the
2590         different versions of called-interactively-p identically, depending on
2591         the subroutine's argument signature.
2592         (allout-back-to-current-heading, allout-beginning-of-current-entry):
2593         Use `(interactive "p")' instead of `(called-interactively-p)'.
2595         * allout.el (allout-init, allout-ascend, allout-end-of-level)
2596         (allout-previous-visible-heading, allout-forward-current-level)
2597         (allout-backward-current-level, allout-show-children):
2598         Use `allout-called-interactively-p' instead of `called-interactively-p'.
2600         * allout.el (allout-before-change-handler):
2601         Exempt edits to the (overlaid) character after the allout outline
2602         bullet from edit confirmation prompt.
2604         * allout.el (allout-add-resumptions):
2605         Ensure that it respects correct buffer for keybindings.
2607         * allout.el (allout-beginning-of-line):
2608         Use `allout-previous-single-char-property-change' alias for the sake of
2609         diverse compatibility.
2611         * allout.el (allout-end-of-line):
2612         Use `allout-mark-active-p' to encapsulate respect for mark activity.
2614 2010-11-13  Chong Yidong  <cyd@stupidchicken.com>
2616         * frame.el (frame-notice-user-settings): Don't clobber other
2617         user-set parameters when calling face-set-after-frame-default in
2618         response to background-color parameter (Bug#7373).
2620 2010-11-13  Eli Zaretskii  <eliz@gnu.org>
2622         * international/characters.el (glyphless-char-display-control):
2623         Rename from glyphless-char-control; all users changed.  Doc fix.
2624         Signal an error if display method is not one of the recognized
2625         symbols.
2627 2010-11-13  Michael Albinus  <michael.albinus@gmx.de>
2629         * net/tramp-compat.el (tramp-compat-line-beginning-position)
2630         (tramp-compat-line-end-position): Remove them.
2632         * net/tramp.el (tramp-parse-rhosts-group)
2633         (tramp-parse-shosts-group, tramp-parse-sconfig-group)
2634         (tramp-parse-hosts-group, tramp-parse-passwd-group)
2635         (tramp-parse-netrc-group, tramp-parse-putty-group)
2636         * net/tramp-cmds.el (tramp-append-tramp-buffers)
2637         * net/tramp-sh.el (tramp-do-file-attributes-with-ls)
2638         (tramp-sh-handle-file-selinux-context)
2639         (tramp-sh-handle-file-name-all-completions)
2640         (tramp-sh-handle-insert-directory)
2641         (tramp-sh-handle-expand-file-name, tramp-find-executable)
2642         (tramp-wait-for-output, tramp-send-command-and-read)
2643         * net/tramp-smb.el (tramp-smb-read-file-entry)
2644         (tramp-smb-get-cifs-capabilities): Use `point-at-eol'.
2646         * net/tramp-sh.el (tramp-sh-handle-insert-directory) Use
2647         `point-at-bol'.
2648         (tramp-remote-coding-commands): Add an alternative using "base64
2649         -d -i".  This is needed for older base64 versions from GNU
2650         coreutils.  Reported by Klaus Reichl
2651         <Klaus.Reichl@thalesgroup.com>.
2653 2010-11-13  Hrvoje Niksic  <hniksic@xemacs.org>
2655         * simple.el (count-words-region): New function.
2657 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2659         * shell.el (shell-dir-cookie-re): New custom variable.
2660         (shell-dir-cookie-watcher): New function.
2662         * vc/vc.el (vc-deduce-backend): Use default-directory in shell-mode
2663         and compilation-mode (bug#7350).
2665         * vc/smerge-mode.el (smerge-refine): Choose better default part to
2666         highlight when one of them is empty.
2668         * skeleton.el (skeleton-read): Don't use `newline' since it may strip
2669         trailing space.
2670         (skeleton-newline): New function.
2671         (skeleton-internal-1): Use it.
2673         * simple.el (open-line): `newline' may strip trailing space.
2675 2010-11-12  Kevin Ryde  <user42@zip.com.au>
2677         * international/mule-cmds.el (princ-list): Use mapc.
2679 2010-11-12  Glenn Morris  <rgm@gnu.org>
2681         * emacs-lisp/bytecomp.el (byte-compile-log-buffer): New constant.
2682         Use it to replace all instances of "*Compile-Log*"
2684 2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2686         * emacs-lisp/pcase.el (pcase-let*, pcase-let): Add debug and
2687         indentation specs.
2689 2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2691         * progmodes/modula2.el: Use SMIE and skeleton.
2692         (m2-mode-syntax-table): (*..*) can be nested.
2693         Add //...\n.  Fix paren syntax.
2694         (m2-mode-map): Remove LF and TAB bindings.
2695         (m2-indent): Add safety property.
2696         (m2-smie-grammar): New var.
2697         (m2-smie-refine-colon, m2-smie-refine-of, m2-smie-backward-token)
2698         (m2-smie-forward-token, m2-smie-refine-semi, m2-smie-rules): New funs.
2699         (m2-mode): Use define-derived-mode.
2700         (m2-newline, m2-tab): Remove.
2701         (m2-begin, m2-case, m2-definition, m2-else, m2-for, m2-header)
2702         (m2-if, m2-loop, m2-module, m2-or, m2-procedure, m2-with, m2-record)
2703         (m2-stdio, m2-type, m2-until, m2-var, m2-while, m2-export)
2704         (m2-import): Use define-skeleton.
2706 2010-11-11  Glenn Morris  <rgm@gnu.org>
2708         * obsolete/lucid.el: Don't warn about any CL functions in this file.
2710         * ls-lisp.el (ls-lisp-ignore-case, ls-lisp-dirs-first)
2711         (ls-lisp-verbosity): Add custom :set-after property.
2712         (ls-lisp-verbosity, ls-lisp-use-localized-time-format): Doc fixes.
2713         (ls-lisp-format, ls-lisp-format-time): Don't take `now' as an argument.
2714         (ls-lisp-insert-directory): Update caller.
2715         (ls-lisp-set-options): New function.
2716         (ls-lisp-emulation): Use ls-lisp-set-options for custom :set.
2717         Doc fix.
2719         * play/landmark.el (lm-prompt-for-move):
2720         * play/gomoku.el (gomoku-prompt-for-move): Remove nonsensical code.
2722         * progmodes/idlw-complete-structtag.el: Remove unused dec `name'.
2724         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins)
2725         (idlwave-study-twins): Prefix dynamic local variable `name'.
2726         (idlwave-routine-twin-compare): Update for above change.
2728         * progmodes/idlw-help.el (idlwave-do-mouse-completion-help):
2729         Prefix dynamic local variables `name', `kwd', and `link'.
2730         * progmodes/idlw-shell.el (idlwave-shell-complete-execcomm-help):
2731         * progmodes/idlw-complete-structtag.el
2732         (idlwave-complete-structure-tag-help):
2733         * progmodes/idlwave.el (idlwave-complete-sysvar-help)
2734         (idlwave-complete-sysvar-tag-help)
2735         (idlwave-complete-class-structure-tag-help):
2736         Update for above name changes.
2738 2010-11-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2740         * net/browse-url.el (browse-url-browser-function): Change the
2741         default to use `browse-url-mail' on mailto: URLs.
2743 2010-11-10  Chong Yidong  <cyd@stupidchicken.com>
2745         * emacs-lisp/package.el (package-read-all-archive-contents):
2746         Reset package-archive-contents to nil before re-reading.
2748 2010-11-10  Brandon Craig Rhodes  <brandon@rhodesmill.org>  (tiny change)
2750         * textmodes/flyspell.el (flyspell-word): Do not re-check words
2751         already found as misspellings by (flyspell-large-region), just
2752         do highlighting (bug#7322).
2754 2010-11-10  Glenn Morris  <rgm@gnu.org>
2756         * progmodes/octave-mod.el (octave-mark-block): Update for smie change.
2758         * emulation/edt.el (edt-with-position): New macro.
2759         (edt-find-forward, edt-find-backward, edt-find-next-forward)
2760         (edt-find-next-backward, edt-sentence-forward, edt-sentence-backward)
2761         (edt-paragraph-forward, edt-paragraph-backward): Use it.
2763         * emulation/tpu-extras.el (tpu-with-position): New macro.
2764         (tpu-paragraph, tpu-page, tpu-search-internal): Use it.
2766         * textmodes/texnfo-upd.el (texinfo-pointer-name): Fix typo.
2768         * textmodes/texnfo-upd.el (texinfo-all-menus-update)
2769         (texinfo-menu-copy-old-description, texinfo-start-menu-description)
2770         (texinfo-master-menu, texinfo-insert-node-lines)
2771         (texinfo-multiple-files-update):
2772         * textmodes/texinfmt.el (texinfo-append-refill, texinfo-copying):
2773         Use line-beginning-position.
2775         * progmodes/cperl-mode.el (cperl-find-pods-heres, cperl-write-tags):
2776         No recent Emacs supports system-type `emx'.
2778         * progmodes/ada-xref.el (is-windows): Rename to ada-on-ms-windows.
2779         (ada-command-separator, ada-default-prj-properties)
2780         (ada-find-any-references): Update for above name change.
2782         * dirtrack.el (dirtrack-directory-function)
2783         (dirtrack-canonicalize-function):
2784         * filecache.el (file-cache-completion-ignore-case)
2785         (file-cache-case-fold-search, file-cache-ignore-case):
2786         * term.el (serial-port-is-file-p): Cosmetic change.
2788         * emulation/viper-init.el (viper-ms-style-os-p): Doc fix.
2789         Remove non-existent `windows-95' system-type.
2790         * dired.el (dired-chown-program): Remove non-existent `linux'
2791         system-type.
2793         * net/net-utils.el (net-utils-remove-ctl-m): Use memq for system-types.
2794         (ping-program-options): Remove non-existent `linux' system-type.
2796         * startup.el (package-initialize): Update declaration.
2798         * ls-lisp.el (ls-lisp-time-lessp, ls-lisp-time-to-seconds): Remove.
2799         (ls-lisp-handle-switches): Use time-less-p.
2800         (ls-lisp-format-time): Use float-time.
2802         * textmodes/remember.el (remember-time-to-seconds): Remove.
2803         (remember-store-in-mailbox): Use float-time.
2805         * calendar/timeclock.el (timeclock-time-to-seconds): Make it an alias.
2807         * calendar/time-date.el (time-to-seconds): Always an alias on Emacs,
2808         never a real function.
2809         (with-no-warnings): Remove compat stub, now unused.
2810         (time-less-p): Doc fix.
2811         (time-to-number-of-days): Simplify.
2813         * eshell/esh-util.el (eshell-time-less-p, eshell-time-to-seconds):
2814         Remove.
2815         (eshell-read-passwd, eshell-read-hosts): Use time-less-p.
2816         * eshell/esh-test.el (eshell-test, eshell-show-usage-metrics):
2817         * eshell/em-unix.el (eshell-show-elapsed-time, eshell/time):
2818         * eshell/em-pred.el (eshell-pred-file-time): Use float-time.
2819         * eshell/em-ls.el (eshell-ls-sort-entries): Use time-less-p.
2821         * eshell/em-unix.el (eshell-remove-entries, eshell/rm)
2822         (eshell-shuffle-files, eshell-shorthand-tar-command)
2823         (eshell-mvcpln-template, eshell/mv, eshell/cp, eshell/ln):
2824         Prefix dynamic locals `interactive', `preview', `recursive', `verbose'.
2825         * eshell/em-glob.el (eshell-extended-glob, eshell-glob-entries):
2826         Prefix dynamic local variable `matches'.
2828         * skeleton.el (skeleton-internal-list, skeleton-internal-1):
2829         Prefix dynamic local variable `skeleton'.
2831 2010-11-10  Katsumi Yamaoka  <yamaoka@jpl.org>
2833         * net/browse-url.el (browse-url-mail): Insert body part of mailto url
2834         in mail buffer; make yank-action always a command that yanks original
2835         buffer.
2837 2010-11-09  Glenn Morris  <rgm@gnu.org>
2839         * progmodes/tcl.el (tcl-hairy-scan-for-comment): Doc fix.
2841 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2843         * minibuffer.el (minibuffer-completion-help): Specify the end of the
2844         completion field (bug#7211).
2846         * progmodes/python.el (python-font-lock-syntactic-keywords): (bug#7322)
2847         Fix handling of backslash escapes.
2848         (python-quote-syntax): Adjust accordingly.
2850 2010-11-09  Richard Levitte  <richard@levitte.org>  (tiny change)
2852         * vc-mtn.el (vc-mtn-working-revision, vc-mtn-after-dir-status)
2853         (vc-mtn-workfile-branch): Adjust to new output format.
2855 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2857         * international/mule-cmds.el (princ-list): Mark as obsolete.
2859 2010-11-09  Stefan Monnier  <monnier@iro.umontreal.ca>
2861         * emacs-lisp/smie.el: New package.
2863 2010-11-09  Michael Albinus  <michael.albinus@gmx.de>
2865         * files.el (backup-by-copying-when-mismatch):
2866         Set `permanent-local' property.
2868         * net/tramp.el (tramp-handle-insert-file-contents): Do not set
2869         `permanent-local' property for `backup-by-copying-when-mismatch'.
2871 2010-11-09  Eli Zaretskii  <eliz@gnu.org>
2873         * ls-lisp.el (insert-directory): Doc fix.  (bug#7285)
2875 2010-11-09  Wilson Snyder  <wsnyder@wsnyder.org>
2877         * progmodes/verilog-mode.el (verilog-insert-one-definition)
2878         (verilog-read-decls, verilog-read-sub-decls-sig): Fix AUTOWIRE and
2879         AUTOINOUT for SV style multidimensional arrays, bug294.
2880         Reported by Eric Mastromarchi.
2881         (verilog-preprocess): Use with-current-buffer and
2882         font-lock-fontify-buffer to cleanup style issues.
2884 2010-11-09  Glenn Morris  <rgm@gnu.org>
2886         * locate.el (locate, locate-mode): Doc fixes.
2888 2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
2890         * server.el (server-start): New arg INHIBIT-PROMPT prevents asking
2891         user for confirmation.
2892         (server-force-stop): Use it.
2893         (server-start): Use server-force-stop for kill-emacs-hook, to
2894         avoid user interaction while killing Emacs.
2896 2010-11-09  Glenn Morris  <rgm@gnu.org>
2898         * progmodes/meta-mode.el: Remove leading `*' from defcustom docs.
2899         (meta-indent-line): Simplify.
2901         * vc/emerge.el (emerge-line-number-in-buf):
2902         * textmodes/ispell.el (ispell-region):
2903         * textmodes/fill.el (current-fill-column):
2904         * progmodes/xscheme.el (xscheme-send-current-line):
2905         * progmodes/vhdl-mode.el (vhdl-current-line, vhdl-line-copy):
2906         * progmodes/tcl.el (tcl-hairy-scan-for-comment):
2907         * progmodes/sh-script.el (sh-handle-prev-do):
2908         * progmodes/meta-mode.el (meta-indent-line):
2909         * progmodes/idlwave.el (idlwave-goto-comment, idlwave-fill-paragraph)
2910         (idlwave-in-quote):
2911         * progmodes/idlw-shell.el (idlwave-shell-current-frame)
2912         (idlwave-shell-update-bp-overlays, idlwave-shell-sources-filter):
2913         * progmodes/fortran.el (fortran-looking-at-if-then):
2914         * progmodes/etags.el (find-tag-in-order, etags-snarf-tag):
2915         * progmodes/cperl-mode.el (cperl-sniff-for-indent)
2916         (cperl-find-pods-heres):
2917         * progmodes/ada-mode.el (ada-get-current-indent, ada-narrow-to-defun):
2918         * net/quickurl.el (quickurl-list-insert):
2919         * net/ldap.el (ldap-search-internal):
2920         * net/eudc.el (eudc-expand-inline):
2921         * mail/sendmail.el (sendmail-send-it):
2922         * mail/mspools.el (mspools-visit-spool, mspools-get-spool-name):
2923         * emulation/viper-cmd.el (viper-paren-match, viper-backward-indent)
2924         (viper-brac-function):
2925         * calc/calc-yank.el (calc-do-grab-region):
2926         * calc/calc-keypd.el (calc-keypad-press):
2927         * term.el (term-move-columns, term-insert-spaces):
2928         * speedbar.el (speedbar-highlight-one-tag-line):
2929         * simple.el (current-word):
2930         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
2931         * info.el (Info-find-node-in-buffer-1, Info-follow-reference)
2932         (Info-scroll-down):
2933         * hippie-exp.el (he-line-beg):
2934         * epa.el (epa--marked-keys):
2935         * dired-aux.el (dired-kill-line, dired-do-kill-lines)
2936         (dired-update-file-line, dired-add-entry, dired-remove-entry)
2937         (dired-relist-entry):
2938         * buff-menu.el (Buffer-menu-buffer):
2939         * array.el (current-line):
2940         * allout.el (allout-resolve-xref)
2941         (allout-latex-verbatim-quote-curr-line):
2942         Replace yet more uses of end-of-line etc with line-end-position, etc.
2944 2010-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2946         * emacs-lisp/checkdoc.el (checkdoc-display-status-buffer)
2947         (checkdoc-interactive-loop, checkdoc-recursive-edit): Avoid princ-list.
2948         (checkdoc-syntax-table): Initialize in the declaration.
2949         (emacs-lisp-mode-hook): Use just checkdoc-minor-mode now that it turns
2950         the mode on unconditionally.
2952         * emacs-lisp/cl-macs.el (extent-data, extent-face, extent-priority)
2953         (extent-end-position, extent-start-position): Remove setf method for
2954         non-existing functions (bug#7319).
2956 2010-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2958         * emacs-lisp/smie.el: Simplify the smie-rules-function return values.
2959         (smie-precs->prec2): Rename from smie-precs-precedence-table.
2960         (smie-bnf->prec2): Rename from smie-bnf-precedence-table.
2961         (smie-prec2->grammar): Rename from smie-prec2-levels.
2962         (smie-grammar): Rename from smie-op-levels.
2963         (smie-indent--hanging-p): Rename from smie-hanging-p.
2964         (smie-rule-hanging-p): New alias.
2965         (smie-indent--bolp): Rename from smie-bolp.
2966         (smie-indent--hanging-p): New alias.
2967         (smie--token): New dynamically bound variable.
2968         (smie-indent--parent): New function.
2969         (smie-rule-parent-p): Use it; rename from smie-parent-p.
2970         (smie-rule-next-p): Rename from smie-next-p.
2971         (smie-rule-prev-p): Rename from smie-prev-p.
2972         (smie-rule-sibling-p, smie-rule-parent)
2973         (smie-indent--separator-outdent, smie-rule-separator): New functions.
2974         (smie-rule-separator-outdent): New var.
2975         (smie-indent--rule): Merge with smie-indent--column.
2976         (smie-indent-forward-token, smie-indent-backward-token):
2977         Also recognize close parens.
2978         (smie-indent-keyword): Don't use smie-indent--column any more.
2979         (smie-indent-after-keyword): Ignore closers by default.
2980         (smie-indent-line): Use with-demoted-errors.
2981         * progmodes/octave-mod.el (octave-smie-grammar):
2982         Rename from octave-smie-op-levels.
2983         (octave-smie-rules): Adjust to new behavior.
2984         * progmodes/prolog.el (prolog-smie-grammar):
2985         Rename from prolog-smie-op-levels.
2987 2010-11-07  Glenn Morris  <rgm@gnu.org>
2989         * eshell/esh-util.el (subst-char-in-string)
2990         (directory-files-and-attributes): These compatibility definitions are
2991         not needed on any version of Emacs since at least 21.4.
2993         * progmodes/verilog-mode.el (verilog-get-beg-of-line)
2994         (verilog-get-end-of-line): Remove.
2995         (verilog-within-string, verilog-re-search-forward-substr)
2996         (verilog-re-search-backward-substr, verilog-set-auto-endcomments)
2997         (verilog-surelint-off, verilog-getopt-file, verilog-highlight-region):
2998         Use point-at-bol, point-at-eol.
2999         * progmodes/pascal.el (pascal-get-beg-of-line, pascal-get-end-of-line):
3000         Remove.
3001         (pascal-declaration-end, pascal-declaration-beg, pascal-within-string)
3002         (electric-pascal-terminate-line, pascal-set-auto-comments)
3003         (pascal-indent-paramlist, pascal-indent-declaration)
3004         (pascal-get-lineup-indent, pascal-func-completion)
3005         (pascal-get-completion-decl, pascal-var-completion, pascal-completion):
3006         Use point-at-bol, point-at-eol.
3007         * progmodes/flymake.el (flymake-line-beginning-position)
3008         (flymake-line-end-position): Remove.
3009         (flymake-highlight-line): Use point-at-bol, point-at-eol.
3010         * eshell/esh-util.el (line-end-position, line-beginning-position):
3011         Remove compat definitions.
3013         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
3014         Use end-of-line N.
3015         (checkdoc-this-string-valid-engine, checkdoc-file-comments-engine):
3016         Use line-end-position.
3018         * emacs-lisp/chart.el (chart-zap-chars):
3019         * play/decipher.el (decipher-set-map):
3020         * progmodes/ada-mode.el (ada-get-current-indent)
3021         (ada-search-ignore-string-comment, ada-tab-hard, ada-untab-hard):
3022         * progmodes/ada-prj.el (ada-prj-load-from-file, ada-prj-display-help):
3023         * progmodes/ada-xref.el (ada-initialize-runtime-library)
3024         (ada-get-all-references):
3025         * progmodes/cperl-mode.el (cperl-electric-paren)
3026         (cperl-electric-rparen, cperl-electric-keyword, cperl-electric-else)
3027         (cperl-linefeed, cperl-sniff-for-indent, cperl-to-comment-or-eol)
3028         (cperl-find-pods-heres, cperl-indent-exp, cperl-fix-line-spacing)
3029         (cperl-word-at-point-hard):
3030         * progmodes/idlw-shell.el (idlwave-shell-move-or-history)
3031         (idlwave-shell-filename-string, idlwave-shell-batch-command)
3032         (idlwave-shell-display-line):
3033         * progmodes/idlwave.el (idlwave-show-begin, idlwave-fill-paragraph)
3034         (idlwave-calc-hanging-indent, idlwave-auto-fill, idlwave-template):
3035         * progmodes/js.el (js--re-search-forward-inner)
3036         (js--re-search-backward-inner):
3037         * progmodes/vhdl-mode.el (vhdl-align-region-1, vhdl-align-region-2)
3038         (vhdl-fix-clause, vhdl-compose-configuration-architecture):
3039         * progmodes/ruby-mode.el (ruby-parse-partial, eval-when-compile):
3040         * textmodes/flyspell.el (flyspell-process-localwords):
3041         * textmodes/ispell.el (ispell-buffer-local-parsing)
3042         (ispell-buffer-local-dict, ispell-buffer-local-words):
3043         Use point-at-bol and point-at-eol.
3045         * speedbar.el (speedbar-generic-item-info)
3046         (speedbar-item-info-tag-helper, speedbar-change-expand-button-char)
3047         (speedbar-add-indicator, speedbar-check-vc-this-line)
3048         (speedbar-check-obj-this-line, speedbar-extract-one-symbol)
3049         (speedbar-buffers-line-directory, speedbar-buffer-revert-buffer):
3050         Replace more uses of end-of-line etc with line-end-position.
3052 2010-11-06  Glenn Morris  <rgm@gnu.org>
3054         * textmodes/texnfo-upd.el (texinfo-start-menu-description)
3055         (texinfo-update-menu-region-beginning, texinfo-menu-first-node)
3056         (texinfo-delete-existing-pointers, texinfo-find-pointer)
3057         (texinfo-clean-up-node-line, texinfo-insert-node-lines)
3058         (texinfo-multiple-files-update):
3059         * textmodes/table.el (table--probe-cell-left-up)
3060         (table--probe-cell-right-bottom):
3061         * textmodes/picture.el (picture-tab-search):
3062         * textmodes/page-ext.el (pages-copy-header-and-position)
3063         (pages-directory-for-addresses):
3064         * progmodes/vera-mode.el (vera-get-offset):
3065         * progmodes/simula.el (simula-calculate-indent):
3066         * progmodes/python.el (python-pdbtrack-overlay-arrow):
3067         * progmodes/prolog.el (end-of-prolog-clause):
3068         * progmodes/perl-mode.el (perl-calculate-indent, perl-indent-exp):
3069         * progmodes/icon.el (indent-icon-exp):
3070         * progmodes/etags.el (tag-re-match-p):
3071         * progmodes/ebrowse.el (ebrowse-show-file-name-at-point):
3072         * progmodes/ebnf2ps.el (ebnf-begin-file):
3073         * progmodes/dcl-mode.el (dcl-back-to-indentation-1)
3074         (dcl-save-local-variable):
3075         * play/life.el (life-setup):
3076         * play/gametree.el (gametree-looking-at-ply):
3077         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
3078         * mail/sendmail.el (mail-mode-auto-fill):
3079         * emacs-lisp/lisp-mode.el (calculate-lisp-indent):
3080         * emacs-lisp/edebug.el (edebug-overlay-arrow):
3081         * emacs-lisp/checkdoc.el (checkdoc-this-string-valid):
3082         * woman.el (woman-parse-numeric-value, woman2-TH, woman2-SH)
3083         (woman-tab-to-tab-stop, WoMan-warn-ignored):
3084         * type-break.el (type-break-file-keystroke-count):
3085         * term.el (term-replace-by-expanded-history-before-point)
3086         (term-skip-prompt, term-extract-string):
3087         * speedbar.el (speedbar-edit-line, speedbar-expand-line)
3088         (speedbar-contract-line, speedbar-toggle-line-expansion)
3089         (speedbar-parse-c-or-c++tag, speedbar-parse-tex-string)
3090         (speedbar-buffer-revert-buffer, speedbar-highlight-one-tag-line):
3091         * sort.el (sort-skip-fields):
3092         * skeleton.el (skeleton-internal-list):
3093         * simple.el (line-move-finish, line-move-to-column):
3094         * shell.el (shell-forward-command):
3095         * misc.el (copy-from-above-command):
3096         * makesum.el (double-column):
3097         * ebuff-menu.el (electric-buffer-update-highlight):
3098         * dired.el (dired-move-to-end-of-filename):
3099         * dframe.el (dframe-popup-kludge):
3100         * bookmark.el (bookmark-kill-line, bookmark-bmenu-show-filenames):
3101         * arc-mode.el (archive-get-lineno):
3102         Use line-end-position and line-beginning-position.
3104         * progmodes/idlwave.el (idlwave-routine-entry-compare-twins):
3105         (idlwave-study-twins): Prefix dynamic local `class'.
3106         (idlwave-routine-twin-compare): Update for above name change.
3108         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod):
3109         Use boundp tests to silence compiler.  Update for changed name of
3110         bytecomp-filename variable.
3112         * emulation/viper-cmd.el (viper-read-string-with-history):
3113         Prefix dynamic local `initial'.
3114         (viper-minibuffer-standard-hook): Update for above name change.
3116         * emacs-lisp/elint.el (elint-init-env): Prefix dynamic local `env'.
3117         (elint-init-form): Update for above name change.
3119         * mail/mail-extr.el (mail-extract-address-components): Give dynamic
3120         local variables `cbeg' and `cend' a prefix.
3121         (mail-extr-voodoo): Update for above name change.
3123         * textmodes/reftex-toc.el (reftex-toc-do-promote)
3124         (reftex-toc-promote-prepare): Pass `delta' as an explicit argument.
3125         (reftex-toc-promote-action): Doc fix.
3127         * textmodes/reftex-sel.el (reftex-select-item): Give local variables
3128         `prompt', `data' a prefix.
3129         (reftex-select-post-command-hook, reftex-select-callback)
3130         (reftex-select-mouse-accept, reftex-select-read-cite):
3131         Update for above name changes.
3133         * textmodes/reftex-ref.el (reftex-reference): Rename local variable
3134         `refstyle' to reftex-refstyle.
3135         (reftex-offer-label-menu): Update for above name change.
3136         * textmodes/reftex-sel.el (reftex-select-toggle-varioref): Update for
3137         `refstyle' name change.
3139         * vc/emerge.el (emerge-eval-in-buffer): Remove, and replace all uses
3140         with with-current-buffer.
3141         (diff, template): Give dynamic local variables a prefix.
3142         (emerge-line-numbers): Rename local `diff' to emerge-line-diff.
3143         (emerge-line-number-in-buf): Update for above name change.
3144         (emerge-combine-versions-internal): Rename local `template' to
3145         emerge-combine-template.
3146         (emerge-combine-versions-edit): Update for above name change.
3148 2010-11-06  Ralf Angeli  <angeli@caeruleus.net>
3150         * textmodes/reftex-cite.el
3151         (reftex-extract-bib-entries-from-thebibliography): Match bibitem
3152         entries with whitespace after \bibitem.
3153         (reftex-create-bibtex-file): Match entries containing numbers and
3154         symbol constituents.  Make sure that entries with whitespace at
3155         various places are found.
3157 2010-11-05  Christian Millour  <cm@abtela.com>  (tiny change)
3159         * shell.el (shell-process-popd): Made aware of comint-file-name-prefix.
3161 2010-11-05  Jan Djärv  <jan.h.d@swipnet.se>
3163         * mouse.el (mouse-yank-primary): Update comment (Bug#6802).
3165 2010-11-05  Glenn Morris  <rgm@gnu.org>
3167         * woman.el (woman0-roff-buffer, woman1-roff-buffer)
3168         (woman2-roff-buffer): Give local variable `request' a prefix.
3169         (woman0-macro): Rename argument `request' in the same way.
3170         (woman-request): New name for `request' dynamic variable.
3171         (woman-unquote, woman-forward-arg): Update for above name change.
3172         (woman1-roff-buffer): Give local variable `unquote' a prefix.
3173         (woman1-unquote): New name for `unquote' dynamic variable.
3174         (woman1-B-or-I, woman1-alt-fonts): Update for above name change.
3175         (woman-translations): Rename from `translations'.  No longer global.
3176         (woman2-tr, woman-translate): Update for above name change.
3177         (woman-translate): Check for bound variable.
3178         (woman2-roff-buffer): Give local variable `translations' a prefix.
3180         * play/doctor.el: Give all local variables a prefix.  Update callers.
3181         (doc$, doctor-put-meaning): Use backquote.
3183         * emacs-lisp/cl-macs.el (loop): Give local variable args a prefix.
3184         (cl-parse-loop-clause, cl-loop-handle-accum): Update for above change.
3186         * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Give local
3187         variables bytes, ptr, op a prefix.
3188         (disassemble-offset): Update for above change.
3190 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
3192         * emacs-lisp/package.el (package-unpack): Remove no-op.
3193         (package--builtins, package--dir): Doc fix.
3194         (package-activate-1, package-activate, package-install)
3195         (package-compute-transaction): Fix error message.
3196         (package-delete): Use delete-directory.  Omit system packages.
3197         (package-initialize): Set package-alist to nil first.
3198         (package-menu-mark-delete, package-menu-mark-install): Don't add
3199         symbols that are inconsistent with the package state.
3200         (package-menu-execute): Perform deletions and installations as
3201         single batch operations.
3203 2010-11-03  Glenn Morris  <rgm@gnu.org>
3205         * progmodes/idlwave.el (idlwave-pset): Only used on XEmacs.
3206         (props): Remove unnecessary declaration.
3208         * textmodes/ispell.el (ispell-init-process): On Emacs, always use
3209         set-process-query-on-exit-flag.
3211         * textmodes/reftex-toc.el (name1, dummy, dummy2): Remove unused decs.
3212         (reftex-toc-do-promote): Remove unused local `mpos'.
3213         (reftex-toc-restore-region): Make `mpos' local to this function.
3215         * net/dbus.el (dbus-name-owner-changed-handler): Doc fix.
3217         * play/landmark.el (lm-losing-threshold): Correct spelling.
3218         (lm-human-plays): Use new name.
3220         * play/gomoku.el (gomoku-loosing-threshold): Correct spelling.
3221         (gomoku-human-plays): Use new name.
3223         * play/gomoku.el (nil-score, Xscore, XXscore, XXXscore, XXXXscore)
3224         (Oscore, OOscore, OOOscore, OOOOscore): Rename with gomoku- prefix.
3225         (gomoku-score-trans-table, gomoku-winning-threshold)
3226         (gomoku-loosing-threshold, gomoku-init-score-table): Use new names.
3228 2010-11-03  Chong Yidong  <cyd@stupidchicken.com>
3230         * emacs-lisp/package.el: Don't put built-in packages in
3231         package-alist, to avoid loading inefficiencies.
3232         (package-built-in-p): Make VERSION optional, and treat it as a
3233         minimum acceptable version.
3234         (package-activate): Search separately for built-in packages.
3235         Emit a warning if a dependency fails.
3236         (define-package): Handle most common case, where there is no
3237         obsolete package, first.
3238         (package-compute-transaction): Print required version in error.
3239         (package--initialized): New variable.
3240         (list-packages): Use it.
3241         (package-initialize): Optional arg NO-ACTIVATE.  Don't put
3242         built-in packages in packages-alist; keep it separate.
3243         Set package--initialized.
3244         (describe-package): Avoid activating packages as a side-effect.
3245         Search separately for built-in packages.
3246         (describe-package-1): Handle the case where an elpa package is
3247         simultaneously built-in and available/installed.
3248         (package-installed-p, package--generate-package-list):
3249         Search separately for built-in packages.
3250         (package-load-descriptor): Doc fix.
3252 2010-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3254         * progmodes/perl-mode.el (perl-syntax-propertize-function):
3255         Handle __DATA__ and __END__.
3257 2010-11-02  Noah Friedman  <friedman@splode.com>
3259         * emacs-lisp/bytecomp.el (byte-recompile-file): If bytecomp-arg is
3260         nil, do not ask to recompile files that are not already compiled,
3261         and do not recompile them.
3263 2010-11-02  Chong Yidong  <cyd@stupidchicken.com>
3265         * emacs-lisp/package.el (package-initialize): Ensure that
3266         obsoleted built-in packages are not in package-activated-list
3267         during activation.
3268         (describe-package-1): Make the "installed" status override
3269         "built-in".
3271 2010-11-01  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
3273         * subr.el (version-separator, version-regexp-alist): Remove '*'
3274         from docstring.
3275         (version-list-<=, version<=, version=): Doc fix.
3277 2010-11-01  Kenichi Handa  <handa@m17n.org>
3279         * faces.el (glyphless-char): Inherit underline for tty.
3281 2010-11-01  Kenichi Handa  <handa@m17n.org>
3283         Implement various display methods for glyphless characters.
3285         * international/characters.el (char-acronym-table): New variable.
3286         (glyphless-char-control): New variable.
3287         (update-glyphless-char-display): New funciton.
3289         * faces.el (glyphless-char): New face.
3291 2010-11-01  Glenn Morris  <rgm@gnu.org>
3293         * calendar/holidays.el (general-holidays, oriental-holidays)
3294         (local-holidays, other-holidays, hebrew-holidays, christian-holidays)
3295         (islamic-holidays, bahai-holidays, solar-holidays): Move aliases before
3296         the definitions of their targets.
3298         * emacs-lisp/smie.el (smie): New custom group.
3299         (smie-blink-matching-inners, smie-indent-basic): Add :group.
3301         * faces.el (xw-defined-colors, x-setup-function-keys):
3302         * mouse-sel.el (x-select-text):
3303         * term/w32console.el (x-setup-function-keys): Update declarations.
3305         * progmodes/ruby-mode.el (ruby-syntax-propertize-heredoc): Declare.
3307         * textmodes/ispell.el (comment-add): Declare.
3309         * net/gnutls.el (gnutls-boot, gnutls-errorp, gnutls-error-string):
3310         Declare.
3312         * info.el (finder-keywords-hash, package-alist): Declare.
3314 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
3316         * finder.el (finder-compile-keywords): Don't use intern-soft,
3317         since package names may not yet exist in the obarray.
3319 2010-11-01  Chong Yidong  <cyd@stupidchicken.com>
3321         * vc/vc-arch.el (vc-arch-checkin):
3322         * vc/vc-cvs.el (vc-cvs-checkin):
3323         * vc/vc-mtn.el (vc-mtn-checkin):
3324         * vc/vc-rcs.el (vc-rcs-checkin):
3325         * vc/vc-sccs.el (vc-sccs-checkin):
3326         * vc/vc-svn.el (vc-svn-checkin): Remove optional extra arg, unused
3327         since 2010-04-21 commit by Stefan Monnier.
3329 2010-11-01  Glenn Morris  <rgm@gnu.org>
3331         * emacs-lisp/bytecomp.el (byte-recompile-file): Fix previous change.
3333         * startup.el (package-enable-at-startup, package-initialize):
3334         Silence compiler.
3336         * progmodes/ada-mode.el (ada-font-lock-syntactic-keywords):
3337         Silence compiler.
3339 2010-10-31  Julien Danjou  <julien@danjou.info>
3341         * emacs-lisp/bytecomp.el (byte-recompile-file): New fun (bug#7297).
3342         (byte-recompile-directory):
3343         * emacs-lisp/lisp-mode.el (emacs-lisp-byte-compile-and-load):
3344         Use `byte-recompile-file'.
3346 2010-10-31  Glenn Morris  <rgm@gnu.org>
3348         * cus-start.el: Handle standard values via a keyword.
3349         Only set version property if specified.
3350         (cursor-in-non-selected-windows, menu-bar-mode)
3351         (tool-bar-mode, show-trailing-whitespace):
3352         Do not specify standard values.
3353         (transient-mark-mode, temporary-file-directory): Use :standard.
3355 2010-10-31  Jan Djärv  <jan.h.d@swipnet.se>
3357         * term/x-win.el (x-get-selection-value): New function that gets
3358         PRIMARY with type as specified in x-select-request-type. (Bug#6802).
3360 2010-10-31  Michael Albinus  <michael.albinus@gmx.de>
3362         * net/tramp.el (tramp-handle-insert-file-contents): For root,
3363         preserve owner and group when editing files.  (Bug#7289)
3365 2010-10-31  Glenn Morris  <rgm@gnu.org>
3367         * speedbar.el (speedbar-mode):
3368         * play/fortune.el (fortune-in-buffer, fortune):
3369         * play/gomoku.el (gomoku-mode):
3370         * play/landmark.el (lm-mode):
3371         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
3372         Replace inappropriate uses of toggle-read-only.  (Bug#7292)
3374         * select.el (x-selection): Mark it as an obsolete alias.
3376 2010-10-31  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
3378         * vc/add-log.el (find-change-log): Use derived-mode-p rather than
3379         major-mode (bug#7284).
3381 2010-10-31  Glenn Morris  <rgm@gnu.org>
3383         * menu-bar.el (menu-bar-files-menu): Make it into an actual alias,
3384         rather than just an unused variable that inherits from the real one.
3386 2010-10-31  Alan Mackenzie  <acm@muc.de>
3388         * progmodes/cc-cmds.el (c-mask-paragraph): Fix an off-by-1 error.
3389         This fixes bug #7185.
3391 2010-10-30  Chong Yidong  <cyd@stupidchicken.com>
3393         * startup.el (command-line): Search for package directories, and
3394         don't load package.el if none are found.
3396         * emacs-lisp/package.el (describe-package, list-packages):
3397         Call package-initialize if it has not been called yet.
3399 2010-10-30  Alan Mackenzie  <acm@muc.de>
3401         * progmodes/cc-fonts.el (c-font-lock-enum-tail): New function
3402         which fontifies the tail of an enum.
3403         (c-basic-matchers-after): Insert a call to the above new function.
3404         This fixes bug #7264.
3406 2010-10-30  Glenn Morris  <rgm@gnu.org>
3408         * cus-start.el: Add :set properties for minor modes menu-bar-mode,
3409         tool-bar-mode, transient-mark-mode.  (Bug#7306)
3410         Include the :set property in the dumped Emacs.
3412 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3414         SMIE: change indent rules format, improve smie-setup.
3415         * emacs-lisp/smie.el (smie-precs-precedence-table)
3416         (smie-merge-prec2s, smie-bnf-precedence-table, smie-prec2-levels):
3417         Mark them pure so the tables gets built at compile time.
3418         (smie-bnf-precedence-table): Store the closer-alist in the table.
3419         (smie-prec2-levels): Preserve the closer-alist.
3420         (smie-blink-matching-open): Be more forgiving in case of indentation.
3421         (smie-hanging-p): Rename from smie-indent--hanging-p.
3422         (smie-bolp): Rename from smie-indent--bolp.
3423         (smie--parent, smie--after): New dynamic vars.
3424         (smie-parent-p, smie-next-p, smie-prev-p): New funs.
3425         (smie-indent-rules): Remove.
3426         (smie-indent--offset-rule): Remove fun.
3427         (smie-rules-function): New var.
3428         (smie-indent--rule): New fun.
3429         (smie-indent--offset, smie-indent-keyword, smie-indent-after-keyword)
3430         (smie-indent-exps): Use it.
3431         (smie-setup): Setup paren blinking; add keyword args for token
3432         functions; extract closer-alist from op-levels.
3433         (smie-indent-debug-log): Remove var.
3434         (smie-indent-debug): Remove fun.
3435         * progmodes/prolog.el (prolog-smie-indent-rules): Remove.
3436         (prolog-smie-rules): New fun to replace it.
3437         (prolog-mode-variables): Simplify.
3438         * progmodes/octave-mod.el (octave-smie-closer-alist): Remove, now that
3439         it's setup automatically.
3440         (octave-smie-indent-rules): Remove.
3441         (octave-smie-rules): New fun to replace it.
3442         (octave-mode): Simplify.
3444 2010-10-29  Glenn Morris  <rgm@gnu.org>
3446         * files.el (temporary-file-directory): Remove (already defined in C).
3447         * cus-start.el: Add temporary-file-directory.
3449         * abbrev.el (abbrev-mode):
3450         * composite.el (auto-composition-mode):
3451         * menu-bar.el (menu-bar-mode):
3452         * simple.el (transient-mark-mode):
3453         * tool-bar.el (tool-bar-mode): Adjust the define-minor-mode calls so
3454         that they do not define the associated variables twice.
3455         * simple.el (transient-mark-mode): Remove defvar.
3456         * composite.el (auto-composition-mode): Make variable auto-buffer-local.
3457         * cus-start.el: Add transient-mark-mode, menu-bar-mode, tool-bar-mode.
3458         Handle multiple groups, and also custom-delayed-init-variables.
3459         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
3461 2010-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3463         * emacs-lisp/pcase.el (pcase): New `string' and `guard' patterns.
3464         (pcase-if): Add one minor optimization.
3465         (pcase-split-equal): Rename from pcase-split-eq.
3466         (pcase-split-member): Rename from pcase-split-memq.
3467         (pcase-u1): Add strings to the member optimization.
3468         Add `guard' variant of predicates.
3469         (pcase-q1): Add string patterns.
3471 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3473         * vc/log-edit.el (log-edit-rewrite-fixes): State its safety pred.
3475 2010-10-28  Glenn Morris  <rgm@gnu.org>
3477         * term/ns-win.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3478         Move menu-bar related settings to ../menu-bar.el.
3479         * menu-bar.el (global-map, menu-bar-final-items, menu-bar-help-menu):
3480         Move ns-specific settings here from term/ns-win.el.
3482         * simple.el (x-selection-owner-p): Remove unused declaration.
3484 2010-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
3486         * minibuffer.el (completion-cycling): New var (bug#7266).
3487         (minibuffer-complete, completion--do-completion):
3488         Use completion--flush-all-sorted-completions.
3489         (minibuffer-complete): Only cycle if completion-cycling is set.
3490         (completion--flush-all-sorted-completions): Unset completion-cycling.
3491         (minibuffer-force-complete): Set completion-cycling.
3492         (completion-all-sorted-completions): Move declaration before first use.
3494 2010-10-28  Leo  <sdl.web@gmail.com>
3496         * iswitchb.el (iswitchb-kill-buffer): Avoid `iswitchb-make-buflist'
3497         which changes the order of matches seen by users (bug#7231).
3499 2010-10-28  Jes Bodi Klinke  <jes@bodi-klinke.dk>  (tiny change)
3501         * progmodes/compile.el (compilation-mode-font-lock-keywords):
3502         Don't confuse -omega as "-o mega".
3504 2010-10-27  Stefan Monnier  <monnier@iro.umontreal.ca>
3506         * vc/log-edit.el (log-edit-rewrite-fixes): New var.
3507         (log-edit-author): New dynamic var.
3508         (log-edit-changelog-ours-p, log-edit-insert-changelog-entries): Use it
3509         to return the author if different from committer.
3510         (log-edit-insert-changelog): Use them to add Author: and Fixes headers.
3512         * play/landmark.el: Adjust commenting convention.
3513         (lm-nil-score): Rename from nil-score.
3514         (Xscore, XXscore, XXXscore, XXXXscore, Oscore, OOscore, OOOscore)
3515         (OOOOscore): Move into a let in lm-score-trans-table.
3516         (lm-winning-threshold, lm-loosing-threshold): Use lm-score-trans-table.
3518         * electric.el (electric-indent-chars): Autoload.
3519         * progmodes/octave-mod.el (octave-mode):
3520         * progmodes/ruby-mode.el (ruby-mode): Take advantage of it.
3521         (ruby-mode-abbrev-table): Merge initialization and declaration.
3523 2010-10-27  Glenn Morris  <rgm@gnu.org>
3525         * abbrev.el (abbrev-mode): Remove one of the three definitions of this
3526         variable.
3528         * server.el (server-host, server-port, server-auth-dir): Autoload risky.
3530         * term/ns-win.el: Restore require of cl when compiling.
3531         (menu-bar-final-items): Remove non-existent `windows' menu.
3532         (ns-handle-nxopen): Optionally handle the temp-case.
3533         (ns-handle-nxopentemp): Just call ns-handle-nxopen.
3534         (ns-insert-file, ns-find-file): Use `pop'.
3536 2010-10-26  Glenn Morris  <rgm@gnu.org>
3538         * term/common-win.el (xw-defined-colors): Simplify the 'ns case.
3540 2010-10-26  Adrian Robert  <Adrian.B.Robert@gmail.com>
3542         * term/ns-win.el (ns-new-frame, ns-show-prefs): Don't add to
3543         global map.
3544         * term/common-win.el (x-setup-function-keys): Remove most of the
3545         keymappings.  Comment on the remaining ones.
3547 2010-10-26  Peter Oliver  <p.d.oliver@mavit.org.uk>  (tiny change)
3549         * server.el (server-port): New option.  (Bug#854)
3550         (server-start): Use server-port.
3552 2010-10-26  Glenn Morris  <rgm@gnu.org>
3554         * term/ns-win.el (ns-version-string): Remove unused declaration.
3555         (ns-invocation-args): Change to x-invocation-args.
3556         (ns-handle-switch, ns-handle-numeric-switch, ns-handle-iconic)
3557         (ns-handle-name-switch, ns-ignore-2-arg): Remove.
3558         (ns-handle-nxopen, ns-handle-nxopentemp, ns-ignore-1-arg):
3559         Use x-invocation-args instead of ns-invocation-args.
3560         (ns-initialize-window-system, handle-args-function-alist):
3561         Use x-handle-args instead of ns-handle-args.
3562         * term/common-win.el (x-handle-args): Also handle nextstep arguments.
3563         * startup.el (command-line-ns-option-alist): Replace
3564         ns-handle-name-switch, ns-handle-switch, ns-handle-numeric-switch,
3565         ns-handle-iconic with the x- equivalents.
3567         * term/common-win.el (x-select-enable-clipboard):
3568         * term/pc-win.el (x-select-enable-clipboard): Doc fix.
3570         * term/ns-win.el: No need to require cl when compiling.
3571         (x-display-name, x-setup-function-keys, x-select-text, x-colors)
3572         (xw-defined-colors): Use the common-win definitions.
3573         (ns-alternatives-map): Make it an obsolete alias for x-alternatives-map.
3574         (ns-handle-iconic): Make it an alias for x-handle-iconic.
3575         * term/common-win.el (x-select-text, x-alternatives-map)
3576         (x-setup-function-keys, x-colors, xw-defined-colors): Handle 'ns case.
3577         * loadup.el [ns]: Load common-win.
3579 2010-10-26  Daiki Ueno  <ueno@unixuser.org>
3581         * epa-mail.el (epa-mail-encrypt): Handle local-part only
3582         recipients; expand mail aliases (Bug#7280).
3584 2010-10-25  Glenn Morris  <rgm@gnu.org>
3586         * term/common-win.el (x-handle-switch): Simplify with pop.
3587         Optionally handle numeric switches.
3588         (x-handle-numeric-switch): Just call x-handle-switch.
3589         (x-handle-initial-switch, x-handle-xrm-switch, x-handle-geometry)
3590         (x-handle-name-switch, x-handle-display, x-handle-args):
3591         Simplify with pop.
3593         * term/ns-win.el: Do not require easymenu.
3594         (menu-bar-edit-menu) <copy, paste, paste-from-menu, separator-undo>:
3595         <spell>: Move adjustments to menu-bar.el.
3596         * menu-bar.el (menu-bar-edit-menu) <copy, paste, paste-from-menu>:
3597         <separator-undo, spell>: Move ns-win's adjustments here.
3598         * loadup.el [ns]: Do not load easymenu.
3600 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3602         * image.el (image-checkbox-checked, image-checkbox-unchecked):
3603         Delete (Bug#7222).
3605         * startup.el (fancy-startup-tail): Instead of using inline images,
3606         refer to image files from etc/.
3608         * wid-edit.el (checkbox): Likewise.
3609         (widget-image-find): Center image specs.
3611 2010-10-24  Glenn Morris  <rgm@gnu.org>
3613         * term/ns-win.el (x-select-text): Doc fix.
3614         * w32-fns.el (x-alternatives-map, x-setup-function-keys)
3615         (x-select-text): Move to term/common-win.
3616         * term/w32-win.el (xw-defined-colors): Move to common-win.
3617         * term/x-win.el (xw-defined-colors, x-alternatives-map)
3618         (x-setup-function-keys, x-select-text): Move to common-win.
3619         * term/common-win.el (x-select-text, x-alternatives-map)
3620         (x-setup-function-keys, xw-defined-colors): Merge x- and w32-
3621         definitions here.
3623 2010-10-24  T.V. Raman  <tv.raman.tv@gmail.com>  (tiny change)
3625         * net/mairix.el (mairix-searches-mode-map):
3626         * mail/mspools.el (mspools-mode-map): Fix 2010-10-10 change.
3628 2010-10-24  Michael McNamara  <mac@mail.brushroad.com>
3630         * verilog-mode.el (verilog-directive-re): Make this variable
3631         auto-built for efficiency of execution and updating.
3632         (verilog-extended-complete-re): Support 'pure' fucntion & task
3633         declarations (these have no bodies).
3634         (verilog-beg-of-statement): General cleanup to enable support of
3635         'pure' fucntion & task declarations (these have no bodies).
3636         These efforts together fix Verilog bug210 from veripool; which was also
3637         noticed by Steve Pearlmutter.
3638         (verilog-directive-re, verilog-directive-begin, verilog-indent-re)
3639         (verilog-directive-nest-re, verilog-set-auto-endcomments):
3640         Support `elsif.  Reported by Shankar Giri.
3641         (verilog-forward-ws&directives, verilog-in-attribute-p): Fixes for
3642         attribute handling for lining up declarations and assignments.
3643         (verilog-beg-of-statement-1): Fix issue where continued declaration
3644         is indented differently if it is after a begin..end clock.
3645         (verilog-in-attribute-p, verilog-skip-backward-comments)
3646         (verilog-skip-forward-comment-p): Support proper treatment of
3647         attributes by indent code. Reported by Jeff Steele.
3648         (verilog-in-directive-p): Fix comment to correctly describe function.
3649         (verilog-backward-up-list, verilog-in-struct-region-p)
3650         (verilog-backward-token, verilog-in-struct-p)
3651         (verilog-in-coverage-p, verilog-do-indent)
3652         (verilog-pretty-declarations): Use verilog-backward-up-list as
3653         wrapper around backward-up-list inorder to properly skip comments.
3654         Reported by David Rogoff.
3655         (verilog-property-re, verilog-endcomment-reason-re)
3656         (verilog-beg-of-statement, verilog-set-auto-endcomments)
3657         (verilog-calc-1 ): Fix for assert a; else b; indentation (new form
3658         of if). Reported by Max Bjurling and
3659         (verilog-calc-1): Fix for clocking block in modport
3660         declaration. Reported by Brian Hunter.
3662 2010-10-24  Wilson Snyder  <wsnyder@wsnyder.org>
3664         * verilog-mode.el (verilog-auto-inst, verilog-gate-ios)
3665         (verilog-gate-keywords, verilog-read-sub-decls)
3666         (verilog-read-sub-decls-gate, verilog-read-sub-decls-gate-ios)
3667         (verilog-read-sub-decls-line, verilog-read-sub-decls-sig): Support
3668         AUTOINST for gate primitives, bug284.  Reported by Mark Johnson.
3669         (verilog-read-decls): Fix spaces in V2K module parameters causing
3670         mis-identification as interfaces, bug287.
3671         (verilog-read-decls): Fix not treating "parameter string" as a
3672         parameter in AUTOINSTPARAM.
3673         (verilog-read-always-signals-recurse, verilog-read-decls): Fix not
3674         treating `elsif similar to `endif inside AUTOSENSE.
3675         (verilog-do-indent): Implement correct automatic or static task or
3676         function end comment highlight. Reported by Steve Pearlmutter.
3677         (verilog-font-lock-keywords-2): Fix highlighting of single
3678         character pins, bug264.  Reported by Michael Laajanen.
3679         (verilog-auto-inst, verilog-read-decls, verilog-read-sub-decls)
3680         (verilog-read-sub-decls-in-interfaced, verilog-read-sub-decls-sig)
3681         (verilog-subdecls-get-interfaced, verilog-subdecls-new):
3682         Support interfaces with AUTOINST, bug270.  Reported by Luis Gutierrez.
3683         (verilog-pretty-expr): Fix interactive arguments, bug272.
3684         Reported by Mark Johnson.
3685         (verilog-auto-tieoff, verilog-auto-tieoff-ignore-regexp):
3686         Add 'verilog-auto-tieoff-ignore-regexp' for AUTOTIEOFF,
3687         bug269. Suggested by Gary Delp.
3688         (verilog-mode-map, verilog-preprocess, verilog-preprocess-history)
3689         (verilog-preprocessor, verilog-set-compile-command):
3690         Create verilog-preprocess and verilog-preprocessor to show
3691         preprocessed output.
3692         (verilog-get-beg-of-line, verilog-get-end-of-line)
3693         (verilog-modi-file-or-buffer, verilog-modi-name)
3694         (verilog-modi-point, verilog-within-string): Move defmacro's
3695         before first use to avoid warning. Reported by Steve Pearlmutter.
3696         (verilog-colorize-buffer, verilog-colorize-include-files-buffer)
3697         (verilog-colorize-region, verilog-highlight-buffer)
3698         (verilog-highlight-includes, verilog-highlight-modules)
3699         (verilog-highlight-region, verilog-mode): Rename colorize to
3700         highlight to match other packages.  Disable module highlighting,
3701         as received speed complaints, reenable for experimentation only
3702         using new verilog-highlight-modules.
3703         (verilog-read-decls): Fix regexp stack overflow in very large
3704         AUTO_TEMPLATEs, bug250.
3705         (verilog-auto, verilog-delete-auto, verilog-save-buffer-state)
3706         (verilog-scan): Create verilog-save-buffer-state to standardize
3707         making insignificant changes that shouldn't call hooks.
3708         (verilog-save-no-change-functions, verilog-save-scan-cache)
3709         (verilog-scan, verilog-scan-cache-ok-p, verilog-scan-region):
3710         Create verilog-save-no-change-functions to wrap verilog-scan
3711         preservation, and fix to work with nested preserved calls.
3712         (verilog-auto-inst, verilog-auto-inst-dot-name): Support .name
3713         port syntax for AUTOWIRE, and with new verilog-auto-inst-dot-name
3714         generate .name with AUTOINST, bug245.  Suggested by David Rogoff.
3715         (verilog-submit-bug-report): Update variable list to be complete.
3716         (verilog-auto, verilog-colorize-region): Fix AUTO expansion
3717         breaking on-the-fly font-locking.
3718         (verilog-colorize-buffer, verilog-colorize-include-files)
3719         (verilog-colorize-include-files-buffer, verilog-colorize-region)
3720         (verilog-load-file-at-mouse, verilog-load-file-at-point)
3721         (verilog-mode, verilog-read-inst-module-matcher): With point on a
3722         AUTOINST cell instance name, middle mouse button now finds-file on
3723         it.  Suggested by Brad Dobbie.
3724         (verilog-alw-get-temps, verilog-auto-reset)
3725         (verilog-auto-sense-sigs, verilog-read-always-signals)
3726         (verilog-read-always-signals-recurse): Fix loop indexes being
3727         AUTORESET. AUTORESET now assumes any variables in the
3728         initialization section of a for() should be ignored.
3729         Reported by Dan Dever.
3730         (verilog-error-font-lock-keywords)
3731         (verilog-error-regexp-emacs-alist)
3732         (verilog-error-regexp-xemacs-alist): Fix error detection of
3733         Cadence HAL, reported by David Asher.  Repair drift between the
3734         three similar error variables.
3735         (verilog-modi-lookup, verilog-modi-lookup-cache)
3736         (verilog-modi-lookup-last-current, verilog-modi-lookup-last-mod)
3737         (verilog-modi-lookup-last-modi, verilog-modi-lookup-last-tick):
3738         Fix slow verilog-auto expansion on very large files.
3739         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line):
3740         Fix AUTOOUTPUT treating "1*2" as a signal name in submodule connection
3741         "{1*2{...".  Broke in last revision.
3742         (verilog-read-sub-decls-expr): Fix AUTOOUTPUT not detecting
3743         submodule connections with replications "{#{a},#{b}}".
3745 2010-10-24  Juanma Barranquero  <lekktu@gmail.com>
3747         * progmodes/dcl-mode.el (dcl-electric-reindent-regexps):
3748         Fix typo in docstring.
3750 2010-10-24  Kenichi Handa  <handa@m17n.org>
3752         * face-remap.el (text-scale-adjust): Call read-event with a proper
3753         prompt.
3755 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3757         * emacs-lisp/unsafep.el: Don't mark functions that display
3758         messages as safe.  Suggested by Johan Bockgård.
3760 2010-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3762         * emacs-lisp/regexp-opt.el (regexp-opt-group, regexp-opt-charset):
3763         Turn comments into docstrings.
3765         * minibuffer.el (completion--replace): Move point where it belongs
3766         when there's a common suffix (bug#7215).
3768 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3770         Merge read-color and facemenu-read-color (Bug#7242).
3772         * faces.el (read-color): Use the completion code from
3773         facemenu-read-color.  Require match in completion.  Doc fix.
3775         * facemenu.el (facemenu-read-color): Alias for read-color.
3776         (facemenu-set-foreground, facemenu-set-background):
3777         Use read-color.
3779         * frame.el (set-background-color, set-foreground-color)
3780         (set-cursor-color, set-mouse-color, set-border-color):
3781         Use read-color.
3783 2010-10-24  Leo  <sdl.web@gmail.com>
3785         * eshell/em-unix.el (eshell-remove-entries): Use the TRASH
3786         argument of delete-file and delete-directory (Bug#7011).
3788 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3790         * emacs-lisp/package.el (package-menu-mode-map): Inherit from
3791         button-buffer-map.
3793 2010-10-24  Ralf Angeli  <angeli@caeruleus.net>
3795         * emacs-lisp/package.el (package--generate-package-list): Make the
3796         *Packages* buffer read-only.
3798 2010-10-24  Alan Mackenzie  <acm@muc.de>
3800         * progmodes/cc-fonts.el (c-font-lock-declarations): Cache the
3801         result of `c-beginning-of-decl-1' between invocations of a lambda
3802         function (Bug #7265).
3804 2010-10-24  Daiki Ueno  <ueno@unixuser.org>
3806         * epg-config.el (epg-gpg-program): Try to use "gpg2" if "gpg"
3807         executable is not available on the system (Bug#7268).
3809 2010-10-24  Glenn Morris  <rgm@gnu.org>
3811         * select.el (selection-coding-system, next-selection-coding-system):
3812         Sync doc with C versions.
3814         * w32-vars.el (x-select-enable-clipboard):
3815         * term/x-win.el (x-select-enable-clipboard): Move to common-win.
3816         * term/common-win.el (x-select-enable-clipboard): Move here.
3818         * term/tty-colors.el (tty-defined-color-alist): Remove duplicate
3819         definition of C variable.
3821         * frame.el (show-trailing-whitespace, auto-hscroll-mode)
3822         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3823         Don't redefine things that are defined in C.
3824         * cus-start.el: Also handle :risky, :safe, :set, and :tag.
3825         (show-trailing-whitespace, auto-hscroll-mode)
3826         (display-hourglass, hourglass-delay, cursor-in-non-selected-windows):
3827         Set up the appropriate custom properties.
3829 2010-10-24  Chong Yidong  <cyd@stupidchicken.com>
3831         Bind "C-c ]" to ...
3832         * progmodes/f90.el (f90-mode-map): ... f90-insert-end.
3833         * nxml/nxml-mode.el (nxml-mode-map): ... nxml-finish-element.
3834         * textmodes/tex-mode.el (tex-mode-map): ... latex-close-block.
3835         * textmodes/sgml-mode.el (sgml-mode-map): ... sgml-close-tag.
3837 2010-10-23  Glenn Morris  <rgm@gnu.org>
3839         * textmodes/flyspell.el (flyspell-mode): If there was an error,
3840         say what it was.
3842         * frame.el (auto-hscroll-mode, cursor-in-non-selected-windows):
3843         Sync docs with C version.
3845         * term/ns-win.el (xw-defined-colors):
3846         * term/x-win.el (xw-defined-colors): Make docs identical to w32-win.
3848         * term/pc-win.el (x-select-enable-clipboard):
3849         * term/x-win.el (x-select-enable-clipboard):
3850         * w32-vars.el (x-select-enable-clipboard): Make doc-strings identical.
3852         * comint.el (comint-password-prompt-regexp): Make it less vague.
3853         Bump version.
3855         * help-fns.el (doc-file-to-man, doc-file-to-info): New commands.
3857         * help.el (finder-by-keyword): Remove unnecessary autoload.
3859 2010-10-22  Glenn Morris  <rgm@gnu.org>
3861         * loadup.el: Unconditionally load float-sup.
3862         * paren.el (show-paren-delay):
3863         * emacs-lisp/float-sup.el:
3864         * emulation/cua-base.el (cua-prefix-override-inhibit-delay):
3865         * obsolete/lazy-lock.el (lazy-lock-defer-time, lazy-lock-stealth-nice)
3866         (lazy-lock-stealth-verbose): Assume float support.
3867         * ps-print.el: Assume float support on Emacs.
3868         * emacs-lisp/timer.el (timer-next-integral-multiple-of-time):
3869         Remove non-float branch.
3871         * emacs-lisp/autoload.el (batch-update-autoloads): Update for
3872         src/Makefile no longer being pre-processed.
3874 2010-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3876         * emacs-lisp/find-func.el (find-library): Use test-completion.
3878 2010-10-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3880         * newcomment.el (comment-dwim): Fix the intentation in the doc string.
3882 2010-10-21  Michael Albinus  <michael.albinus@gmx.de>
3884         * net/tramp-sh.el (tramp-do-file-attributes-with-stat): Do not use
3885         space in stat format string.
3886         (tramp-send-command): Unset $PS1 when using here documents, in
3887         order not to get several prompts.
3888         (tramp-get-inline-coding): Return `nil' in case of errors.
3890 2010-10-21  Daiki Ueno  <ueno@unixuser.org>
3892         * hexl.el (hexl-mode, hexl-mode-exit):
3893         Tweak revert-buffer-function to inhibit auto-mode-alist (Bug#7252).
3894         (hexl-revert-buffer-function): New function.
3895         (hexl-before-revert-hook, hexl-after-revert-hook): Abolish.
3897 2010-10-19  Alan Mackenzie  <acm@muc.de>
3899         * progmodes/cc-langs.el (c-type-decl-prefix-key): C++ bit:
3900         Move "\(const\|throw\|volatile\)\>" nearer the start of the regexp, so
3901         that these keywords aren't wrongly matched as identifiers.
3903         * progmodes/cc-mode.el (c-before-change, c-after-change): Move the
3904         setting of c-new-BEG and c-new-END from c-before-change to
3905         c-after-change.  (Bug#7181)
3907 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
3909         * cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
3910         Don't mark as safe.
3912         * custom.el (custom-theme-set-variables): Likewise.
3913         (load-theme): Add custom-theme-set-faces and
3914         custom-theme-set-variables to safe-functions while loading.
3915         (custom-enabled-themes): Mark as risky.
3917 2010-10-18  Julien Danjou  <julien@danjou.info>
3919         * bindings.el: Remove end dashes in default mode-line-format.
3921 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
3923         * bindings.el (global-map): Bind C-d to delete-char and deletechar
3924         to delete-forward-char.
3926         * simple.el (normal-erase-is-backspace-mode): Remap delete to
3927         deletechar, and hence delete-forward-char.
3929 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3931         * repeat.el (repeat): Use read-key (bug#6256).
3933 2010-10-19  Chong Yidong  <cyd@stupidchicken.com>
3935         * emacs-lisp/unsafep.el: Don't mark functions that display
3936         messages as safe.  Suggested by Johan Bockgård.
3938 2010-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3940         * minibuffer.el (completion--replace): Move point where it belongs
3941         when there's a common suffix (bug#7215).
3943 2010-10-19  Kenichi Handa  <handa@m17n.org>
3945         * international/characters.el: Add category '|' (word breakable)
3946         to fullwidth characters.
3948 2010-10-19  Michael Albinus  <michael.albinus@gmx.de>
3950         * net/tramp-sh.el (tramp-do-file-attributes-with-stat)
3951         (tramp-do-directory-files-and-attributes-with-stat): Use "e0" in
3952         order to make stat results a float.  Patch by Andreas Schwab
3953         <schwab@linux-m68k.org>.
3955 2010-10-18  Julien Danjou  <julien@danjou.info>
3957         * avoid.el (mouse-avoidance-ignore-p): Ignore mouse when it is
3958         hidden by `make-pointer-invisible'.
3960 2010-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3962         * files.el (locate-file-completion-table): Strip non-matching elements
3963         before checking length of list (bug#7238).
3965 2010-10-18  Chong Yidong  <cyd@stupidchicken.com>
3967         * custom.el (custom-theme-set-variables): Mark as a safe function.
3968         (load-theme): Check forms using unsafep.
3970         * cus-face.el (custom-theme-set-faces): Mark as a safe function.
3972 2010-10-17  Agustín Martín  <agustin.martin@hispalinux.es>
3974         * textmodes/ispell.el (ispell-aspell-find-dictionary):
3975         Fix aspell data file searching (bug#7230).
3977 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
3979         * cus-theme.el (custom-theme--migrate-settings): New var.
3980         (customize-create-theme): Allow editing the `user' theme.
3981         (custom-theme-add-variable, custom-theme-add-var-1)
3982         (custom-theme-add-face, custom-theme-add-face-1): Add a checkbox
3983         to the front of each variable or face widget.
3984         (custom-theme-write): Save theme settings in the correct order.
3985         Optionally, remove saved settings from user customizations.
3986         (custom-theme-write-variables, custom-theme-write-faces):
3987         Save only the checked widgets.
3988         (customize-themes): Add a link for migrating custom settings.
3990         * custom.el (custom-declare-theme, provide-theme):
3991         Use custom-theme-name-valid-p.
3992         (custom-theme-name-valid-p): Remove checks that are now
3993         unnecessary since themes no longer obey load-path.
3995         * cus-edit.el (custom-variable-value-create): For the simple
3996         style, hide documentation string when hidden.
3998 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
4000         * cus-edit.el (custom-variable, custom-face): Combine the
4001         :inhibit-magic and :display-style properties into a single
4002         :custom-style property.
4003         (custom-toggle-hide-variable, custom-toggle-hide-face):
4004         New functions.  If hiding an edited value, save it to :shown-value.
4005         (custom-variable-value-create, custom-face-value-create): Use them.
4006         (custom-magic-reset): Allow magic property to be unset.
4008         * custom.el: Custom themes no longer use load-path.
4009         (custom-theme-load-path): New option.  Change built-in theme
4010         directory to etc/.
4011         (custom-enabled-themes): Add custom-theme-load-path dependency.
4012         (custom-theme--load-path): New function.
4013         (load-theme, custom-available-themes): Use it.
4015         * cus-theme.el (describe-theme-1): Use custom-theme--load-path.
4016         (customize-themes): Link to custom-theme-load-path variable.
4017         (custom-theme-add-var-1, custom-theme-add-face-1): Use the
4018         :custom-style property.
4020         * themes/*.el: Moved to etc/.
4022 2010-10-16  Ralf Angeli  <angeli@caeruleus.net>
4024         * textmodes/reftex-cite.el
4025         (reftex-extract-bib-entries-from-thebibliography): Do not move
4026         point when searching for \bibitem entries.  Match entries with
4027         spaces or tabs in front of arguments.
4029 2010-10-16  Chong Yidong  <cyd@stupidchicken.com>
4031         * cus-theme.el (customize-create-theme): Delete overlays after
4032         erasing.  If given a THEME arg, display only the faces of that arg
4033         instead of custom-theme--listed-faces.
4034         (custom-theme-variable-menu, custom-theme-variable-action)
4035         (custom-variable-reset-theme, custom-theme-delete-variable): Delete.
4036         (custom-theme-add-variable, custom-theme-add-face): Apply value
4037         from the theme settings, instead of the current value.
4038         (custom-theme-add-var-1, custom-theme-add-face-1): New functions.
4039         (custom-theme-visit-theme): Allow calling outside theme buffers.
4040         (custom-theme-merge-theme): Don't enable the theme when merging.
4041         (custom-theme-write-variables, custom-theme-write-faces): Use the
4042         :shown-value properties to save buffer values, not global ones.
4043         (customize-themes): Display a warning about user customizations.
4045         * cus-edit.el (custom-variable-value-create)
4046         (custom-face-value-create): Obey new special properties
4047         :shown-value and :inhibit-magic.
4049 2010-10-15  Michael Albinus  <michael.albinus@gmx.de>
4051         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell):
4052         Suppress expansion of tabs to spaces.  Reported by Dale Sedivec
4053         <dale@codefu.org>.
4055 2010-10-14  Kenichi Handa  <handa@m17n.org>
4057         * mail/rmail.el (rmail-show-message-1): Catch an error of
4058         base64-decode-region and just show an error message (bug#7165).
4060         * ps-mule.el (ps-mule-font-spec-list): Delete it.  Not used anymore.
4061         (ps-mule-begin-job): Fix for the case that only ENCODING is set in
4062         a font-spec (bug#7197).
4064 2010-10-14  Glenn Morris  <rgm@gnu.org>
4066         * mail/emacsbug.el (report-emacs-bug): Mention debbugs.gnu.org.
4068 2010-10-14  Juanma Barranquero  <lekktu@gmail.com>
4070         * international/mule.el (define-coding-system):
4071         * international/titdic-cnv.el (quail-cxterm-package-ext-info):
4072         * composite.el (compose-region): Fix typo in docstring.
4074 2010-10-14  Chong Yidong  <cyd@stupidchicken.com>
4076         * cus-face.el (custom-theme-set-faces): Call custom-push-theme
4077         only after checking the theme-face property.
4079         * faces.el (face-spec-reset-face): Reset all attributes in one
4080         single call to set-face-attribute.
4081         (face-spec-match-p): Make it a defsubst.
4082         (frame-set-background-mode): New arg KEEP-FACE-SPECS.
4083         (x-create-frame-with-faces, tty-create-frame-with-faces)
4084         (tty-set-up-initial-frame-faces): Don't recompute face specs in
4085         frame-set-background-mode, since they are recomputed immediately
4086         afterwards in face-set-after-frame-default.
4087         (face-set-after-frame-default): Minor optimization.
4088         (cursor): Provide non-trivial defface spec.
4090         * custom.el (custom-theme-recalc-face): Simplify.
4092 2010-10-14  Jay Belanger  <jay.p.belanger@gmail.com>
4094         * calc/calc-alg.el (math-var): Rename from `var'.
4095         (math-is-polynomial, math-is-poly-rec): Replace `var'
4096         with `math-var'.
4098         * calc/calcalg2.el (math-var): Rename from `var'.
4099         (calcFunc-table, math-scan-for-limits): Replace `var'
4100         with `math-var'.
4102 2010-10-13  Glenn Morris  <rgm@gnu.org>
4104         * subr.el (last): Deal with dotted lists (reported in bug#7174).
4106 2010-10-13  Stephen Berman  <stephen.berman@gmx.net>
4108         * subr.el (last): Use `safe-length' instead of `length' (bug#7206).
4110 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4112         * net/tls.el (tls-program): Remove spurious %s from openssl.
4113         (tls-starttls-switches): Remove starttls hack.
4114         (open-tls-stream): Ditto.
4115         (tls-find-starttls-argument): Ditto.
4117 2010-10-13  Juanma Barranquero  <lekktu@gmail.com>
4119         * image.el (image-library-alist): Declare as obsolete alias.
4120         (image-type-available-p): Use `dynamic-library-alist'.
4122         * term/w32-win.el (dynamic-library-alist):
4123         Use instead of `image-library-alist'.
4125 2010-10-13  IRIE Shinsuke  <irieshinsuke@yahoo.co.jp>  (tiny change)
4127         * subr.el (last): Make it faster.  (Bug#7174)
4129 2010-10-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>  (tiny change)
4131         * Makefile.in (compile-clean): Use `` instead of $().  (Bug#7178)
4133 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
4135         * cus-theme.el (custom-theme--listed-faces): Add cursor face.
4136         (describe-theme-1): Extract doc from unloaded themes.
4138         * custom.el (custom-theme-name-valid-p): Don't list color-themes.
4140         * themes/tango-theme.el:
4141         * themes/tango-dark-theme.el:
4142         * themes/wheatgrass-theme.el: New files.
4144 2010-10-12  Chong Yidong  <cyd@stupidchicken.com>
4146         * cus-theme.el (describe-theme, customize-themes)
4147         (custom-theme-save): New commands.
4148         (custom-new-theme-mode-map): Bind C-x C-s.
4149         (custom-new-theme-mode): Use custom--initialize-widget-variables.
4150         (customize-create-theme): New optional arg THEME.
4151         (custom-theme-revert): Use it.
4152         (custom-theme-visit-theme): Remove dead code.
4153         (custom-theme-merge-theme): Use custom-available-themes.
4154         (custom-theme-write): Make interactive.
4155         (custom-theme-write): Use custom-theme-name-valid-p.
4156         (describe-theme-1, custom-theme-choose-revert)
4157         (custom-theme-checkbox-toggle, custom-theme-selections-toggle):
4158         New funs.
4159         (custom-theme-allow-multiple-selections): New option.
4160         (custom-theme-choose-mode): New major mode.
4162         * custom.el (custom-theme-set-variables): Remove dead code.
4163         Obey custom--inhibit-theme-enable.
4164         (custom--inhibit-theme-enable): New var.
4165         (provide-theme): Obey it.
4166         (load-theme): Replace load with manual read/eval, in order to
4167         check for correctness.  Use custom-theme-name-valid-p.
4168         (custom-theme-name-valid-p): New function.
4169         (custom-available-themes): Use it.
4171         * cus-edit.el (custom--initialize-widget-variables): New function.
4172         (Custom-mode): Use it.
4174         * cus-face.el (custom-theme-set-faces): Remove dead code.
4175         Obey custom--inhibit-theme-enable.
4177         * help-mode.el (help-theme-def, help-theme-edit): New buttons.
4179 2010-10-12  Juanma Barranquero  <lekktu@gmail.com>
4181         * net/telnet.el (telnet-mode-map): Fix previous change (bug#7193).
4183 2010-10-12  Jan Djärv  <jan.h.d@swipnet.se>
4185         * term/ns-win.el (ns-right-alternate-modifier): New defvar.
4186         (ns-right-option-modifier): New alias for ns-right-alternate-modifier.
4187         (mac-right-option-modifier): New alias for ns-right-option-modifier.
4189         * cus-start.el (all): ns-right-alternate-modifier is new.
4191 2010-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4193         * emacs-lisp/lisp.el (lisp-completion-at-point):
4194         Use emacs-lisp-mode-syntax-table for the whole function.
4196 2010-10-12  David Koppelman  <koppel@ece.lsu.edu>
4198         * hi-lock.el (hi-lock-font-lock-hook): Check font-lock-fontified
4199         instead of font-lock-mode before adding keywords.
4200         Remove hi-lock-mode off code.  Remove inhibit hack.
4201         (hi-lock-set-pattern): Only add keywords if font-lock-fontified
4202         non-nil; removed hook inhibit hack.
4204 2010-10-12  Glenn Morris  <rgm@gnu.org>
4206         * emacs-lisp/shadow.el (find-emacs-lisp-shadows): Rename it...
4207         (load-path-shadows-find): ... to this.
4208         (list-load-path-shadows): Update for above change.
4210         * mail/mail-utils.el (mail-mbox-from): Also try return-path.
4212 2010-10-11  Katsumi Yamaoka  <yamaoka@jpl.org>
4214         * mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
4215         Fix comment for declare-function.
4217 2010-10-11  Chong Yidong  <cyd@stupidchicken.com>
4219         * custom.el (custom-fix-face-spec): New function; code moved from
4220         custom-face-edit-fix-value.
4221         (custom-push-theme): Use it when checking if a face has been
4222         changed outside customize.
4223         (custom-available-themes): New function.
4224         (load-theme): Use it.
4226         * cus-edit.el (custom-face-edit-fix-value): Use custom-fix-face-spec.
4228         * custom.el (custom-push-theme): Cleanup (use cond).
4229         (disable-theme): Recompute the saved-face property.
4230         (custom-theme-recalc-face): Follow face alias before setting prop.
4232         * image.el (image-checkbox-checked, image-checkbox-unchecked):
4233         New variables, containing checkbox images.
4235         * startup.el (fancy-startup-tail):
4236         * wid-edit.el (checkbox): Use them.
4238 2010-10-10  Dan Nicolaescu  <dann@ics.uci.edu>
4240         * shell.el (shell-mode-map):
4241         * progmodes/modula2.el (m2-mode-map):
4242         * progmodes/inf-lisp.el (inferior-lisp-mode-map):
4243         * play/mpuz.el (mpuz-mode-map):
4244         * play/landmark.el (lm-mode-map):
4245         * play/decipher.el (decipher-mode-map):
4246         * play/5x5.el (5x5-mode-map):
4247         * net/telnet.el (telnet-mode-map):
4248         * net/quickurl.el (quickurl-list-mode-map):
4249         * net/mairix.el (mairix-searches-mode-map):
4250         * net/eudc-hotlist.el (eudc-hotlist-mode-map):
4251         * net/dig.el (dig-mode-map):
4252         * mail/mspools.el (mspools-mode-map):
4253         * hexl.el (hexl-mode-map):
4254         * emulation/ws-mode.el (wordstar-C-k-map, wordstar-mode-map)
4255         (wordstar-C-o-map, wordstar-C-q-map):
4256         * emacs-lisp/edebug.el (edebug-eval-mode-map):
4257         * emacs-lisp/chart.el (chart-map):
4258         * edmacro.el (edmacro-mode-map):
4259         * erc/erc-list.el (erc-list-menu-mode-map):
4260         * array.el (array-mode-map): Declare and define in one step.
4262         * vc/log-view.el (log-view-mode-map): Bind revert-buffer.
4264 2010-10-10  Daiki Ueno  <ueno@unixuser.org>
4266         * epa.el (epa-passphrase-callback-function): Display filename
4267         passed as the 3rd arg.
4268         * epa-file.el (epa-file-passphrase-callback-function):
4269         Pass filename to epa-passphrase-callback-function.
4271 2010-10-09  Chong Yidong  <cyd@stupidchicken.com>
4273         * cus-edit.el (custom-face-widget-to-spec)
4274         (custom-face-get-current-spec, custom-face-state): New functions.
4275         (custom-face-set, custom-face-mark-to-save)
4276         (custom-face-value-create, custom-face-state-set): Use them.
4278         * cus-theme.el (custom-theme--listed-faces): New var.
4279         (customize-create-theme): Use *Custom Theme* as the buffer name.
4280         Set revert-buffer-function.  Optional arg BUFFER.  Insert all
4281         faces listed in custom-theme--listed-faces.
4282         (custom-theme-revert): New function.
4283         (custom-theme-add-variable, custom-theme-add-face): Insert at the
4284         bottom of the list.
4285         (custom-theme-write): Prompt for theme name if empty.
4286         (custom-theme-write-variables): Use dolist.
4287         (custom-theme-write-faces): Handle hidden (collapsed) widgets.
4289 2010-10-09  Alan Mackenzie  <acm@muc.de>
4291         Enhance fontification of declarators to take account of the
4292         presence/absence of "typedef".
4294         * cc-engine.el (c-forward-type): New &optional param
4295         "brace-block-too".
4296         (c-forward-decl-or-cast-1): cdr of return value now indicates the
4297         presence of either or both of a "struct"-like keyword and "typedef".
4299         * cc-fonts.el (c-complex-decl-matchers): Remove the heuristic
4300         fontification of declarators which follow a "}".
4301         (c-font-lock-declarations): Fontify declarators according to the
4302         presence/absence of "typedef".
4304         * cc-langs.el (c-typedef-kwds c-typedef-key): New lang variable
4305         for "typedef".
4306         (c-typedef-decl-key): New lang variable built from
4307         c-typedef-decl-kwds.
4309 2010-10-09  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4311         * ibuffer.el (ibuffer-mode-map): Don't redefine the cursor keys,
4312         since that's too annoying.  Move the filter groups commands to
4313         TAB/backtab.
4315         * epa.el (epa-passphrase-callback-function): Say what we're
4316         querying the password for.
4318         * ibuffer.el (ibuffer-visit-buffer): To mimick list-buffers
4319         behaviour, don't bury the ibuffer buffer when visiting other buffers.
4321 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
4323         * cus-edit.el (custom-commands, custom-buffer-create-internal)
4324         (custom-magic-value-create): Pad button tags with spaces.
4325         (custom-face-edit): New variable.
4326         (custom-face-value-create): Determine whether to use the usual
4327         face editor here, instead of using custom-face-selected.
4328         Pass face defaults to custom-face-edit widget.
4329         (custom-face-selected, custom-display-unselected): Delete widgets.
4330         (custom-display-unselected-match): Function removed.
4331         (custom-face-set, custom-face-mark-to-save):
4332         Accept custom-face-edit widgets as the direct widget child.
4334         * wid-edit.el (widget--completing-widget): New var.
4335         (widget-default-complete): Bind it when doing completion.
4336         (widget-string-complete, widget-file-complete): Use it.
4338 2010-10-09  Glenn Morris  <rgm@gnu.org>
4340         * calendar/cal-hebrew.el (holiday-hebrew-rosh-hashanah)
4341         (holiday-hebrew-passover, holiday-hebrew-tisha-b-av)
4342         (holiday-hebrew-misc): Small simplifications.
4344         * emacs-lisp/authors.el (authors-valid-file-names): Add b2m.c.
4346         * net/browse-url.el: Don't require thingatpt, term, dired,
4347         executable, or w3-auto when compiling.
4348         (dired-get-filename, term-char-mode, term-send-down, term-send-string):
4349         Declare.
4350         (browse-url-text-emacs): Require term.
4352 2010-10-08  Andreas Schwab  <schwab@linux-m68k.org>
4354         * net/browse-url.el (browse-url-xdg-open): Remove use of /bin/sh.
4356 2010-10-08  Glenn Morris  <rgm@gnu.org>
4358         * emacs-lisp/cl-compat.el, emacs-lisp/lmenu.el: Move to obsolete/.
4360         * emacs-lisp/shadow.el (lisp-shadow): Change prefix.
4361         (shadows-compare-text-p): Make it an obsolete alias for...
4362         (load-path-shadows-compare-text): ... new name.
4363         (find-emacs-lisp-shadows): Update for above name change.
4364         (load-path-shadows-same-file-or-nonexistent): New name for the old
4365         shadow-same-file-or-nonexistent.
4367 2010-10-08  Chong Yidong  <cyd@stupidchicken.com>
4369         * minibuffer.el (completion--some, completion--do-completion)
4370         (minibuffer-complete-and-exit, minibuffer-completion-help)
4371         (completion-basic-try-completion)
4372         (completion-basic-all-completions)
4373         (completion-pcm--find-all-completions): Use lexical-let to
4374         avoid some false matches in variable completion (Bug#7056)
4376 2010-10-08  Olof Ohlsson Sax  <olof.ohlsson.sax@gmail.com>  (tiny change)
4378         * vc-svn.el (vc-svn-merge-news): Use --non-interactive.  (Bug#7152)
4380 2010-10-08  Leo  <sdl.web@gmail.com>
4382         * dnd.el (dnd-get-local-file-name): If MUST-EXIST is non-nil, only
4383         return non-nil if the file exists (Bug#7090).
4385 2010-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4387         * minibuffer.el (completion--replace):
4388         Better preserve markers (bug#7138).
4390 2010-10-08  Juanma Barranquero  <lekktu@gmail.com>
4392         * server.el (server-process-filter): Doc fix.
4394 2010-10-08  Drew Adams  <drew.adams@oracle.com>
4396         * dired.el (dired-save-positions): Doc fix.  (Bug#7119)
4398 2010-10-08  Glenn Morris  <rgm@gnu.org>
4400         * vc/ediff-wind.el (ediff-setup-control-frame):
4401         * vc/ediff-ptch.el (ediff-default-backup-extension):
4402         * vc/ediff-diff.el (ediff-shell, ediff-diff-options)
4403         (ediff-exec-process): Remove system-types emx, windows-95.
4405         * net/browse-url.el (browse-url-xdg-open): Shell-quote url.  (Bug#7166)
4407 2010-10-07  Chong Yidong  <cyd@stupidchicken.com>
4409         * cus-edit.el (custom-variable, custom-face): Doc fix.
4410         (custom-face-edit): Add value-create attribute.
4411         (custom-face-edit-value-create)
4412         (custom-face-edit-value-visibility-action): New functions.
4413         Hide unused face attributes by default, and add a visibility toggle.
4414         (custom-face-edit-deactivate): Show empty values with shadow face.
4415         (custom-face-selected): Only use this for face specs with default
4416         attributes.
4417         (custom-face-value-create): Cleanup.
4419         * wid-edit.el (widget-checklist-value-create): Use dolist.
4420         (widget-checklist-match-find): Make second arg optional.
4422 2010-10-07  Glenn Morris  <rgm@gnu.org>
4424         * hilit-chg.el (hilit-chg-get-diff-info, hilit-chg-get-diff-list-hk):
4425         Prefix things.
4427         * emacs-lisp/shadow.el (shadow-font-lock-keywords)
4428         (load-path-shadows-mode, list-load-path-shadows): Rename shadow-mode to
4429         load-path-shadows-mode, update references.
4430         (load-path-shadows-font-lock-keywords, load-path-shadows-find-file):
4431         Rename variable and button.
4432         (list-load-path-shadows): Update button caller.
4434 2010-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4436         * emacs-lisp/smie.el (smie-bnf-classify): New function.
4437         (smie-bnf-precedence-table): Use it to remember the closers/openers.
4438         (smie-merge-prec2s): Handle those new entries.
4439         (smie-prec2-levels): Only set precedence to nil for actual
4440         openers/closers.
4441         * progmodes/octave-mod.el (octave-smie-op-levels): Remove dummy entry
4442         that is now unnecessary.
4444 2010-10-07  Miles Bader  <miles@gnu.org>
4446         * emacs-lisp/regexp-opt.el (regexp-opt): Add `symbols' mode.
4448 2010-10-07  Glenn Morris  <rgm@gnu.org>
4450         * mail/rmail.el (mail-sendmail-delimit-header, mail-header-end)
4451         (mail-position-on-field): Remove declarations.
4452         (mail-position-on-field): Autoload it.
4453         (rmail-retry-failure): Replace use of mail-sendmail-delimit-header
4454         and mail-header-end.  Don't require sendmail.
4456         * emacs-lisp/shadow.el (shadow-font-lock-keywords): New variable.
4457         (shadow-mode): New mode.
4458         (shadow-find-file): New button.
4459         (list-load-path-shadows): Use shadow-mode and buttons.
4461         * iimage.el (iimage-version): Remove.
4462         (iimage-mode-image-search-path, iimage-mode-image-regex-alist):
4463         Turn into defcustoms.
4464         (iimage-mode-map): Give it a doc string.
4466         * calendar/appt.el (appt-activate): Give a warning rather than an error
4467         if there is no diary-file.
4469 2010-10-06  Michael Albinus  <michael.albinus@gmx.de>
4471         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4472         Use `tramp-handle-find-backup-file-name'.
4474 2010-10-06  Glenn Morris  <rgm@gnu.org>
4476         * font-core.el (font-lock-defaults-alist): Remove variable.
4477         (font-lock-mode): Doc fix.
4478         (font-lock-default-function): Do not consult font-lock-defaults-alist.
4479         * font-lock.el (font-lock-refresh-defaults): Doc fix.
4480         (font-lock-set-defaults): Doc fix.
4481         Do not consult font-lock-defaults-alist.
4483         * hilit-chg.el (hilit-chg-get-diff-list-hk): Declare `e' for compiler.
4485         * emacs-lisp/cl.el: No longer provide cl-19.
4487 2010-10-05  Michael Albinus  <michael.albinus@gmx.de>
4489         * net/tramp.el (tramp-handle-directory-files-and-attributes)
4490         (tramp-handle-file-exists-p, tramp-handle-file-newer-than-file-p):
4491         New defuns, taken from tramp-smb.el.
4492         (tramp-coding-system-change-eol-conversion)
4493         (tramp-set-process-query-on-exit-flag): Remove.
4495         * net/tramp-compat.el (top): Do not check for byte-compiler objects.
4496         (tramp-compat-coding-system-change-eol-conversion)
4497         (tramp-compat-set-process-query-on-exit-flag): New defuns, taken
4498         from tramp.el.
4500         * net/tramp-gvfs.el:
4501         * net/tramp-gw.el: Replace `tramp-set-process-query-on-exit-flag'
4502         by `tramp-compat-set-process-query-on-exit-flag'.
4504         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
4505         Use `tramp-handle-directory-files-and-attributes',
4506         `tramp-handle-file-exists-p' and
4507         `tramp-handle-file-newer-than-file-p'.
4508         (tramp-imap-handle-file-exists-p)
4509         (tramp-imap-handle-file-executable-p)
4510         (tramp-imap-handle-file-readable-p)
4511         (tramp-imap-handle-directory-files-and-attributes)
4512         (tramp-imap-handle-file-newer-than-file-p): Remove.
4514         * net/tramp-sh.el: Replace `tramp-set-process-query-on-exit-flag'
4515         by `tramp-compat-set-process-query-on-exit-flag' and
4516         `tramp-coding-system-change-eol-conversion' by
4517         `tramp-compat-coding-system-change-eol-conversion'.
4519         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4520         Use `tramp-handle-directory-files-and-attributes',
4521         `tramp-handle-file-exists-p' and
4522         `tramp-handle-file-newer-than-file-p'.
4523         (tramp-smb-handle-directory-files-and-attributes)
4524         (tramp-smb-handle-file-exists-p)
4525         (tramp-smb-handle-file-newer-than-file-p): Remove.
4526         (tramp-smb-maybe-open-connection):
4527         Replace `tramp-set-process-query-on-exit-flag' by
4528         `tramp-compat-set-process-query-on-exit-flag'.
4530 2010-10-05  Glenn Morris  <rgm@gnu.org>
4532         * obsolete/rnews.el, obsolete/rnewspost.el: Remove files.
4534 2010-10-04  Michael Albinus  <michael.albinus@gmx.de>
4536         Continue reorganization of load dependencies.  (Bug#7156)
4538         * net/tramp.el (tramp-handle-file-local-copy-hook)
4539         (tramp-delete-temp-file-function): Move down.
4540         (tramp-exists-file-name-handler): Move up.
4541         (tramp-register-file-name-handlers): Simplify autoload.
4542         (tramp-handle-write-region-hook, tramp-handle-directory-file-name)
4543         (tramp-handle-directory-files, tramp-handle-dired-uncache)
4544         (tramp-handle-file-modes, tramp-handle-file-name-as-directory)
4545         (tramp-handle-file-name-completion)
4546         (tramp-handle-file-name-directory)
4547         (tramp-handle-file-name-nondirectory, tramp-handle-file-regular-p)
4548         (tramp-handle-file-remote-p, tramp-handle-file-symlink-p)
4549         (tramp-handle-find-backup-file-name)
4550         (tramp-handle-insert-file-contents, tramp-handle-load)
4551         (tramp-handle-substitute-in-file-name)
4552         (tramp-handle-unhandled-file-name-directory)
4553         (tramp-mode-string-to-int, tramp-local-host-p)
4554         (tramp-make-tramp-temp-file): Move from tramp-sh.el.
4556         * net/tramp-gvfs.el (top):
4557         * net/tramp-smb.el (top): Do not require 'tramp-sh.
4559         * net/tramp-sh.el (all): Move several objects to tramp.el, see
4560         there.  Rename `tramp-handle-*' to `tramp-sh-handle-*'.
4562 2010-10-04  Glenn Morris  <rgm@gnu.org>
4564         * calendar/appt.el (appt-add): Ensure reminders are enabled.
4565         (appt-activate): Give status messages.
4567 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
4569         * net/gnutls.el: Improve docs.  Remove starttls and ssl emulation.
4570         Provide only `open-gnutls-stream' (formerly `open-ssl-stream') and
4571         `gnutls-negotiate' (formerly `starttls-negotiate').
4572         Remove trivial wrapper `starttls-open-stream'.
4574 2010-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
4576         Make 'g' (AKA revert-buffer) rerun the VC log, log-incoming and
4577         log-outgoing commands.
4578         * vc/vc.el (vc-log-internal-common): Add a new argument and use it
4579         to create a buffer local revert-buffer-function variable.
4580         (vc-print-log-internal, vc-log-incoming, vc-log-outgoing): Pass a
4581         revert-buffer-function lambda.
4583 2010-10-03  Teodor Zlatanov  <tzz@lifelogs.com>
4585         * net/gnutls.el (starttls-negotiate): Use the plist interface to
4586         `gnutls-boot'.  Make TYPE the only required parameter.
4587         Allow TRUSTFILES and KEYFILES to be lists.
4588         (open-ssl-stream): Use it.
4590 2010-10-03  Glenn Morris  <rgm@gnu.org>
4592         * subr.el (directory-sep-char): Remove obsolete variable.
4593         * net/tramp-compat.el: Don't mess about with the byte-compiler unless
4594         it is "necessary".
4596         * vc/vc-hooks.el (vc-header-alist): Remove obsolete variable.
4597         * vc/vc.el (vc-static-header-alist): Doc fix.
4598         * vc/vc-cvs.el (vc-cvs-header):
4599         * vc/vc-rcs.el (vc-rcs-header):
4600         * vc/vc-sccs.el (vc-sccs-header):
4601         * vc/vc-svn.el (vc-svn-header): Do not consult vc-header-alist.
4602         * obsolete/vc-mcvs.el (vc-mcvs-header):
4603         * progmodes/cperl-mode.el (cperl-mode): Only set vc-header-alist
4604         on XEmacs.
4606 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
4608         * emacs-lisp/bytecomp.el (byte-compile-from-buffer):
4609         Remove obsolete use of binary-overwrite-mode (Bug#7001).
4611 2010-10-03  Glenn Morris  <rgm@gnu.org>
4613         * obsolete/x-menu.el: Remove file, obsolete since 21.1
4615         * textmodes/rst.el (rst-font-lock-keywords-function):
4616         Drop Emacs 20 code.
4618         * textmodes/artist.el (artist-replace-char): Drop Emacs 20 code.
4620         * printing.el: Drop Emacs 20 code.
4622         * calendar/appt.el (appt-delete): Don't autoload it (you can't use it
4623         without having used appt.el already).
4625         * subr.el (make-local-hook): Remove function obsolete since 21.1.
4626         * progmodes/cc-mode.el (make-local-hook): Don't do cc-bytecomp stuff.
4627         (c-basic-common-init, c-font-lock-init): Only call make-local-hook on
4628         XEmacs.
4629         * progmodes/cc-styles.el (make-local-hook): Don't do cc-bytecomp stuff.
4630         (c-make-styles-buffer-local): Only call make-local-hook on XEmacs.
4632         * ps-def.el (leading-code-private-22, charset-bytes, charset-id)
4633         (charset-width, find-charset-region, chars-in-region, forward-point)
4634         (encode-coding-string, coding-system-p, ccl-execute-on-string)
4635         (define-ccl-program, multibyte-string-p, string-make-multibyte):
4636         Remove compatibility cruft (none of these are used by ps*.el).
4638 2010-10-03  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
4640         * subr.el (booleanp): Return t instead of a list (Bug#7086).
4642 2010-10-03  Chong Yidong  <cyd@stupidchicken.com>
4644         * server.el (server-process-filter, server-return-error):
4645         Give emacsclient time to shut down after receiving an error string.
4647 2010-10-02  Michael Albinus  <michael.albinus@gmx.de>
4649         * files.el (remote-file-name-inhibit-cache): New defcustom.
4651         * time.el (display-time-file-nonempty-p):
4652         Use `remote-file-name-inhibit-cache'.
4654         * net/tramp.el (tramp-completion-reread-directory-timeout):
4655         Fix docstring.
4657         * net/tramp-cache.el (tramp-cache-inhibit-cache): Remove.
4658         (tramp-get-file-property): Replace `tramp-cache-inhibit-cache' by
4659         `remote-file-name-inhibit-cache'.  Check also for an integer
4660         value.  Add/increase counter when `tramp-verbose' >= 10.
4661         (tramp-set-file-property): Add/increase counter when
4662         `tramp-verbose' >= 10.
4664         * net/tramp-cmds.el (tramp-cleanup-all-connections)
4665         (tramp-cleanup-all-buffers): Set tramp-autoload cookie.
4666         (tramp-bug): Set tramp-autoload cookie.  Report all interned
4667         tramp-* variables.  Report also `remote-file-name-inhibit-cache'.
4668         (tramp-reporter-dump-variable): Fix docstring.  Mask non-7bit
4669         characters only in strings.
4671         * net/tramp-compat.el (remote-file-name-inhibit-cache): Define due
4672         to backward compatibility.
4674         * net/tramp-sh.el (tramp-handle-verify-visited-file-modtime)
4675         (tramp-handle-file-name-all-completions)
4676         (tramp-handle-vc-registered): Use `remote-file-name-inhibit-cache'.
4677         (tramp-open-connection-setup-interactive-shell):
4678         Call `tramp-cleanup-connection' directly.
4680 2010-10-02  Glenn Morris  <rgm@gnu.org>
4682         * emacs-lisp/checkdoc.el (checkdoc-minor-keymap): Remove obsolete alias.
4684         * subr.el (char-bytes): Remove obsolete function.
4686         * isearch.el (isearch-return-char): Remove obsolete function.
4688         * mouse.el: No longer provide mldrag.
4689         (mldrag-drag-mode-line, mldrag-drag-vertical-line):
4690         Remove obsolete aliases.
4692         * comint.el (comint-kill-output): Remove obsolete alias.
4694         * composite.el (decompose-composite-char): Remove obsolete function.
4695         * ps-def.el (decompose-composite-char): Remove unused function.
4697         * iswitchb.el (iswitchb-default-keybindings): Remove obsolete function.
4699         * outline.el (outline-visible): Remove obsolete function.
4701         * term/pc-win.el (x-frob-font-slant, x-frob-font-weight):
4702         * faces.el (internal-find-face, internal-get-face)
4703         (frame-update-faces, frame-update-face-colors)
4704         (x-frob-font-weight, x-frob-font-slant)
4705         (internal-frob-font-weight, internal-frob-font-slant)
4706         (x-make-font-bold, x-make-font-demibold, x-make-font-unbold)
4707         (x-make-font-italic, x-make-font-oblique, x-make-font-unitalic)
4708         (x-make-font-bold-italic): Remove functions and aliases, obsolete
4709         since Emacs 21.1.
4710         * emulation/viper-util.el (viper-get-face):
4711         * obsolete/lucid.el (find-face, get-face): Use facep.
4712         * vc/ediff-init.el (ediff-valid-color-p, ediff-get-face):
4713         Remove unused functions.
4714         * vc/ediff-util.el (ediff-submit-report): Doc fix.
4716         * emacs-lisp/bytecomp.el (byte-compile-file): Use kill-emacs-hook to
4717         delete tempfile if interrupted during compilation.
4719 2010-10-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4721         * net/tls.el (tls-starttls-switches): Give up on using starttls with
4722         gnutls-cli.
4723         (tls-program): Add --insecure to be consistent with the defaults from
4724         openssl s_client.  Now all three commands are insecure.
4726 2010-10-01  Eli Zaretskii  <eliz@gnu.org>
4728         * makefile.w32-in (DEST, TAGS, TAGS-LISP, TAGS-nmake)
4729         (TAGS-LISP-nmake, TAGS-gmake, TAGS-LISP-gmake, TAGS-SH)
4730         (TAGS-LISP-SH, TAGS-CMD, TAGS-LISP-CMD): New targets.
4732 2010-10-01  Glenn Morris  <rgm@gnu.org>
4734         * obsolete/sc.el: Remove file.
4736         * files.el (temporary-file-directory): On darwin, also try
4737         DARWIN_USER_TEMP_DIR (see discussion in bug#7135).
4739 2010-10-01  Juanma Barranquero  <lekktu@gmail.com>
4741         * server.el (server-start): Revert part of 2010-09-30T02:53:26Z!lekktu@gmail.com.
4742         Let's not break compatibility gratuitously, shall we?
4744 2010-09-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4746         * net/tls.el (tls-starttls-switches): New variable.
4747         (tls-find-starttls-argument): Use it.
4748         (open-tls-stream): Ditto.
4750         * net/netrc.el (netrc-credentials): Return the value of the "default"
4751         entry.
4752         (netrc-machine): Ditto.
4754 2010-09-30  Eli Zaretskii  <eliz@gnu.org>
4756         * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
4758 2010-09-30  Juanma Barranquero  <lekktu@gmail.com>
4760         * server.el (server-start): Don't write pid to the authentication file.
4761         (server-create-tty-frame): Don't send pid.
4762         (server-process-filter): Send pid at the start of every connection.
4764 2010-09-30  Glenn Morris  <rgm@gnu.org>
4766         * calendar/diary-lib.el (view-diary-entries, list-diary-entries)
4767         (show-all-diary-entries): Remove obsolete function aliases.
4769         * calendar/appt.el (appt-issue-message, appt-visible, appt-msg-window):
4770         Remove options, obsolete since 22.1.
4771         (appt-display-format, appt-display-message):
4772         Remove backwards-compatibility code.
4773         (appt-check): No longer check appt-issue-message.
4774         (appt-make-list): No longer autoload it.  Doc fix.  No longer
4775         activate the package.
4777 2010-09-29  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4779         * net/gnutls.el (starttls-negotiate): Loop a lot longer.
4780         (starttls-negotiate): Just call boot, and let the handshake be
4781         triggered from the read loop.
4783 2010-09-29  Glenn Morris  <rgm@gnu.org>
4785         * calendar/diary-lib.el (diary-list-entries): Use temp buffers when
4786         not displaying the diary.
4787         (diary-add-to-list): If no buffer-file-name, fall back to diary-file.
4788         * calendar/appt.el (appt-check): No longer need to kill diary.
4790         * calendar/diary-lib.el (diary-list-entries): Move the
4791         "Preparing..." message entirely here.
4792         (diary-simple-display, diary-fancy-display): Move "Preparing..."
4793         messages to diary-list-entries.
4794         (diary-include-other-diary-files): Use LIST-ONLY rather than setting
4795         diary-display-function.
4797         * calendar/diary-lib.el (diary-include-other-diary-files):
4798         Trap some recursive includes.
4800         * calendar/appt.el (appt-activate): Check diary file.
4802 2010-09-29  Katsumi Yamaoka  <yamaoka@jpl.org>
4804         * pgg.el (pgg-run-at-time-1): Define it for XEmacs only; fix if/else
4805         construction.
4807         * calendar/time-date.el: No need to require cl for Emacs 21.
4809 2010-09-28  Glenn Morris  <rgm@gnu.org>
4811         * calendar/appt.el (appt-check): Minor simplification.
4813 2010-09-28  Katsumi Yamaoka  <yamaoka@jpl.org>
4815         * mail/sendmail.el (mail-citation-prefix-regexp): Remove "}" from
4816         citation prefix.
4818 2010-09-27  Andreas Schwab  <schwab@linux-m68k.org>
4820         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4821         Avoid infinite recursion on erroneous lambda form.  (Bug#7114)
4823 2010-09-27  Kenichi Handa  <handa@m17n.org>
4825         * tar-mode.el (tar-header-block-tokenize): Decode filenames in
4826         "ustar" format.
4828 2010-09-27  Kenichi Handa  <handa@m17n.org>
4830         * international/mule.el (define-coding-system): Docstring fixed.
4832         * international/mule-diag.el (describe-character-set): Use princ
4833         with proper print-length and print-level instead of insert.
4835 2010-09-27  Juanma Barranquero  <lekktu@gmail.com>
4837         * window.el (walk-windows): Doc fix (bug#7105).
4839 2010-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
4841         * emacs-lisp/float-sup.el (e): Remove.
4843 2010-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
4845         * net/gnutls.el (gnutls, gnutls-log-level): Add group and custom
4846         variable.
4847         (starttls-negotiate): Use it.
4849 2010-09-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4851         * net/gnutls.el (starttls-negotiate): Stop looping when we get a t
4852         back.
4854 2010-09-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4856         * emacs-lisp/pcase.el (pcase-let*, pcase-let): plet -> pcase-let.
4858 2010-09-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4860         * net/gnutls.el (starttls-negotiate): Avoid the cl.el decf function.
4862         * net/netrc.el (netrc-store-data): New function.
4864 2010-09-26  Teodor Zlatanov  <tzz@lifelogs.com>
4866         * net/gnutls.el: GnuTLS glue code to set up a connection.
4868 2010-09-25  Julien Danjou  <julien@danjou.info>
4870         * notifications.el: Call dbus-register-signal only if it is bound.
4872 2010-09-25  Glenn Morris  <rgm@gnu.org>
4874         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
4875         * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
4876         * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
4877         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
4878         * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
4879         * eshell/esh-cmd.el, eshell/esh-ext.el, eshell/esh-io.el:
4880         * eshell/esh-mode.el, eshell/esh-proc.el, eshell/esh-test.el:
4881         * eshell/esh-util.el, eshell/esh-var.el:
4882         Remove leading `*' from docs of faces and defcustoms.
4884 2010-09-25  Ulrich Mueller  <ulm@gentoo.org>
4886         * eshell/em-ls.el (eshell-ls-archive-regexp):
4887         * eshell/esh-util.el (eshell-tar-regexp):
4888         * ibuffer.el (ibuffer-compressed-file-name-regexp):
4889         * info.el (Info-suffix-list):
4890         * international/mule.el (auto-coding-alist):
4891         * woman.el (woman-file-regexp, woman-file-compression-regexp):
4892         * progmodes/etags.el (tags-compression-info-list):
4893         Support xz compression.
4895 2010-09-25  Chong Yidong  <cyd@stupidchicken.com>
4897         * files.el (get-free-disk-space): Don't assume the "df" output
4898         columns line up (Bug#6995).
4900 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
4902         * finder.el (finder-unknown-keywords):
4903         * progmodes/gdb-mi.el (gdb-jsonify-buffer, gdb-running-threads-count):
4904         * progmodes/etags.el (tags-table-including): Fix typos in docstrings.
4906 2010-09-25  Juanma Barranquero  <lekktu@gmail.com>
4908         * server.el (server-start): Revert part of 2010-08-08 change.  Using
4909         address 127.0.0.1 for local host is now done in Fmake_network_process.
4911 2010-09-24  Glenn Morris  <rgm@gnu.org>
4913         * image-mode.el, progmodes/compile.el, progmodes/gud.el:
4914         * progmodes/mixal-mode.el, textmodes/bibtex-style.el:
4915         * textmodes/css-mode.el, textmodes/dns-mode.el:
4916         Move autoloaded auto-mode-alist entries to files.el.
4917         * files.el (auto-mode-alist): Move entries here.
4919 2010-09-23  Glenn Morris  <rgm@gnu.org>
4921         * isearch.el (isearch-lazy-highlight-cleanup)
4922         (isearch-lazy-highlight-initial-delay)
4923         (isearch-lazy-highlight-interval)
4924         (isearch-lazy-highlight-max-at-a-time, isearch-lazy-highlight-face):
4925         * net/net-utils.el (ipconfig-program-options):
4926         Move aliases to options before the associated definitions.
4928 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4930         * newcomment.el (comment-normalize-vars): Better test validity of
4931         comment-end-skip.
4933 2010-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4935         * emacs-lisp/float-sup.el (float-pi): New name for `pi'.
4936         (float-e): New name for `e'.
4937         (degrees-to-radians, radians-to-degrees):
4938         * calendar/solar.el (solar-longitude):
4939         * calculator.el (calculator-registers, calculator-funcall):
4940         * textmodes/artist.el (artist-spray-random-points):
4941         * play/bubbles.el (bubbles--initialize-images): Use new names.
4943 2010-09-23  Eric M. Ludlam  <zappo@gnu.org>
4945         Update to CEDET 1.0's version of EIEIO.
4947         * emacs-lisp/eieio.el (eieio-specialized-key-to-generic-key):
4948         New function.
4949         (eieio-defmethod, eieio-generic-form, eieio-generic-call): Use it.
4950         (eieio-default-eval-maybe): Eval val instead of unquoting only.
4951         (class-precedence-list): If class is nil, return nil.
4952         (eieio-generic-call): If class of first input arg is nil, don't
4953         look up static methods, and do check for primary methods.
4954         (initialize-instance): See if the default needs to be evaluated
4955         during the constructor.
4956         (eieio-perform-slot-validation-for-default): Don't do the check
4957         for values that will eventually be evaluated.
4958         (eieio-eval-default-p): New function.
4959         (eieio-default-eval-maybe): Use it.
4961 2010-09-23  Jan Moringen  <jan.moringen@uni-bielefeld.de>
4963         * emacs-lisp/eieio.el (eieio-defclass): Allow :c3
4964         method-invocation-order.
4965         (eieio-c3-candidate, eieio-c3-merge-lists): New functions.
4966         (eieio-class-precedence-dfs): Compute class precedence list using
4967         dfs algorithm.
4968         (eieio-class-precedence-bfs): Compute class precedence list using
4969         bfs algorithm.
4970         (eieio-class-precedence-c3): Compute class precedence list using
4971         c3 algorithm.
4972         (class-precedence-list): New function.
4973         (eieiomt-method-list, eieiomt-sym-optimize): Use it.
4974         (inconsistent-class-hierarchy): New error symbol.
4975         (call-next-method): Stow the replacement argument list for future
4976         call-next-method invocations.
4978 2010-09-23  Glenn Morris  <rgm@gnu.org>
4980         * calendar/appt.el (appt-check): If not displaying the diary,
4981         use (diary 1) to only get the entries we need.
4982         (appt-make-list): Sort diary-list-entries, if we cannot guarantee
4983         that it is in day order.  (Bug#7019)
4985         * calendar/appt.el (appt-check): Rather than showing the diary,
4986         just turn off invisible display, and only if needed.
4988         * calendar/diary-lib.el (diary-list-entries): Doc fix.  (Bug#7019)
4990 2010-09-23  Glenn Morris  <rgm@gnu.org>
4992         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
4993         (byte-compile-defvar, byte-compile-cl-warn):
4994         Start warnings with lower-case, like the majority.
4996         * files.el (auto-mode-alist): Add .xa, .xw, .xsw for ld-script-mode.
4998         * files.el (auto-mode-alist): Prefer C-mode for .xs.  (Bug#7071)
5000         * progmodes/ld-script.el (auto-mode-alist): Move to files.el.
5001         * files.el (auto-mode-alist): Move ld-script entries here, further down
5002         the list.
5004         * vc/add-log.el: Don't require timezone when compiling.
5005         (timezone-make-date-sortable): Autoload it.
5006         (change-log-sortable-date-at): Don't require timezone.
5007         Use `ignore-errors'.
5009         * comint.el (comint-use-prompt-regexp-instead-of-fields):
5010         Move alias before definition, so it does not need autoloading.
5012         * emulation/crisp.el, emulation/cua-base.el, emulation/edt.el:
5013         * emulation/pc-select.el, emulation/vip.el, international/iso-ascii.el:
5014         * international/kkc.el, international/ogonek.el, mail/feedmail.el:
5015         * net/browse-url.el, net/eudc-vars.el, net/net-utils.el:
5016         * net/rcompile.el, net/rlogin.el, textmodes/enriched.el:
5017         * textmodes/makeinfo.el, textmodes/page-ext.el, textmodes/picture.el:
5018         * textmodes/refer.el, textmodes/spell.el, textmodes/table.el:
5019         * textmodes/tex-mode.el, textmodes/two-column.el:
5020         Remove leading `*' from docs of defcustoms etc.
5022 2010-09-23  Teodor Zlatanov  <tzz@lifelogs.com>
5024         * net/netrc.el (netrc-parse): Remove encrypt.el mentions.
5026 2010-09-22  Dan Christensen  <jdc@uwo.ca>
5028         * calendar/time-date.el (date-to-time): Try using parse-time-string
5029         first before using the slower timezone-make-date-arpa-standard.
5031 2010-09-22  Katsumi Yamaoka  <yamaoka@jpl.org>
5033         * calendar/time-date.el (format-seconds): Comment fix.
5035 2010-09-22  Glenn Morris  <rgm@gnu.org>
5037         * emacs-lisp/package.el (package-menu-mode): `revert-buffer-function'
5038         is not automatically buffer-local.
5040 2010-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5042         * emacs-lisp/smie.el (smie-debug--describe-cycle): Fix typo.
5043         (smie-indent-comment): Be more careful with comment-start-skip.
5044         (smie-indent-comment-close, smie-indent-comment-inside): New funs.
5045         (smie-indent-functions): Use them.
5047 2010-09-21  Michael Albinus  <michael.albinus@gmx.de>
5049         * net/ange-ftp.el (ange-ftp-skip-msgs): Add "^504 ..." message.
5051 2010-09-21  Jan Djärv  <jan.h.d@swipnet.se>
5053         * menu-bar.el (menu-bar-set-tool-bar-position): customize-set-variable
5054         tool-bar-position.  Don't modify frame parameters here.
5055         (menu-bar-options-save): Add tool-bar-position.
5057         * tool-bar.el (tool-bar-position): New defcustom (Bug#7049).
5059 2010-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5061         * textmodes/reftex-parse.el (reftex-what-macro)
5062         (reftex-context-substring): Let-bind forward-sexp-function to nil
5063         since we don't need/want to treat \begin...\end as a block (bug#7053).
5065         * emacs-lisp/lisp.el (up-list): Don't do nothing silently.
5067         * simple.el (blink-matching-open): Use syntax-class.
5069         * progmodes/pascal.el (pascal-mode): Use define-derived-mode.
5070         Set invisibility spec for pascal's outline mode.
5071         (pascal-outline-change): Clean up calling convention.
5072         (pascal-show-all, pascal-hide-other-defuns): Update callers.
5074         * progmodes/prolog.el (prolog-smie-forward-token)
5075         (prolog-smie-backward-token): New functions.
5076         (prolog-mode-variables): Use them to parse "!," correctly.
5077         Set up smie-blink-matching for ".".
5079         * textmodes/ispell.el (ispell-start, ispell-end): Rename from `start'
5080         and `end'.
5081         (ispell-region, ispell-process-line): Update users.
5083         * textmodes/reftex-parse.el (reftex-what-macro): Don't hardcode
5084         point-min==1.
5086         * textmodes/ispell.el: Fix commenting convention.
5087         (ispell-parse-output): Simplify, use push.
5088         (ispell-region): Use match-string-no-properties.
5089         (ispell-begin-skip-region-regexp): Use mapconcat to simplify.
5090         (ispell-minor-mode): Use define-minor-mode.
5091         (ispell-message): Remove unused var `skip-regexp'.
5092         (ispell-add-per-file-word-list): Use dynamic let-binding.
5093         Try and use the proper comment marker.
5095         * mail/sendmail.el: Fix commenting convention.
5096         (sendmail-send-it): Use line-beginning-position.
5098         * help-fns.el (describe-variable): Add original value, if applicable.
5100 2010-09-20  Juanma Barranquero  <lekktu@gmail.com>
5102         * subr.el (y-or-n-p): Remove leftover code from 2010-09-17T13:30:30Z!monnier@iro.umontreal.ca.
5104         * emacs-lisp/smie.el (smie-indent--hanging-p): Use `smie-indent--bolp'.
5106 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5108         * emacs-lisp/smie.el (smie-bnf-precedence-table): Improve error message.
5109         (smie-debug--prec2-cycle, smie-debug--describe-cycle): New functions.
5110         (smie-prec2-levels): Use them to better diagnose precedence cycles.
5111         (smie-blink-matching-check): Don't signal a mismatch if car is t.
5112         (smie-blink-matching-open): Rewrite to remove assumptions, so that
5113         something like "." can also be a closer.
5114         (smie--associative-p, smie-indent--hanging-p, smie-indent--bolp)
5115         (smie-indent--offset, smie-indent--offset-rule, smie-indent--column):
5116         Rename internal functions to use "--".  Update callers.
5118         * frame.el (make-frame-names-alist): Don't list frames on other displays.
5120         * fringe.el (fringe-styles): New var.
5121         (fringe-mode, fringe-query-style): Use it.
5123 2010-09-18  Michael R. Mauger  <mmaug@yahoo.com>
5125         * progmodes/sql.el: Version 2.8
5126         (sql-login-params): Update widget structure; changes still needed.
5127         (sql-product-alist): Add :list-all and :list-table features for
5128         SQLite, Postgres and MySQL products.
5129         (sql-redirect): Handle default value.
5130         (sql-execute, sql-execute-feature): New functions.
5131         (sql-read-table-name): New function.
5132         (sql-list-all, sql-list-table): New functions.  User API.
5133         (sql-mode-map, sql-interactive-mode-map): Add key definitions
5134         for above functions.
5135         (sql-mode-menu, sql-interactive-mode-menu): Add menu definitions
5136         for above functions.
5137         (sql-postgres-login-params): Add user and database defaults.
5138         (sql-buffer-live-p): Bug fix.
5139         (sql-product-history): New variable.
5140         (sql-read-product): New function. Use it.
5141         (sql-set-product, sql-product-interactive): Use it.
5142         (sql-connection-history): New variable.
5143         (sql-read-connection): New function.  Use it.
5144         (sql-connect): New function.
5145         (sql-for-each-login): Redesign function interface.
5146         (sql-make-alternate-buffer-name, sql-save-connection): Use it.
5147         (sql-get-login-ext, sql-get-login): Use it.  Handle default values.
5148         (sql-comint): Check for program.  Existing live buffer.
5149         (sql-comint-postgres): Add port parameter.
5151 2010-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5153         * emacs-lisp/warnings.el: Fix commenting convention.
5154         (display-warning): Use special mode and make the buffer read-only.
5156 2010-09-18  Jay Belanger  <jay.p.belanger@gmail.com>
5158         * calc/calc-prog.el (calc-read-parse-table-part): Don't "fix" the
5159         empty string when it follows a repeated or optional pattern.
5161 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5163         * indent.el (indent-according-to-mode): Apply syntax-propertize.
5164         (indent-region): Use indent-according-to-mode.
5166 2010-09-18  Eli Zaretskii  <eliz@gnu.org>
5168         * fringe.el (fringe-mode): Doc fix.
5170 2010-09-14  Kan-Ru Chen  <kanru@kanru.info>  (tiny change)
5172         * textmodes/nroff-mode.el (nroff-view): Kill old buffer before
5173         refreshing the preview buffer.
5175 2010-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
5177         * textmodes/tex-mode.el (tex-syntax-propertize-rules)
5178         (latex-syntax-propertize-rules): New consts; replace
5179         tex-font-lock-syntactic-keywords.
5180         (tex-env-mark, latex-env-before-change): New functions.
5181         (latex-electric-env-pair-mode): New minor mode.
5182         (tex-font-lock-verb): Change arguments; do move point.
5183         (tex-font-lock-syntactic-face-function): Adjust to new verbatim
5184         representation as a form of comment.
5185         (tex-font-lock-keywords-1): Remove workaround, now unneeded.
5186         (doctex-syntax-propertize-rules): New const; replaces
5187         doctex-font-lock-syntactic-keywords.
5188         (tex-common-initialization, doctex-mode): Use syntax-propertize-rules.
5190         * progmodes/fortran.el (fortran--font-lock-syntactic-keywords): Remove.
5191         (fortran-make-syntax-propertize-function): New function; replaces
5192         fortran-font-lock-syntactic-keywords.
5193         (fortran-mode): Use it.
5194         (fortran-line-length): Use it.  Improve interactive spec.
5196         * emacs-lisp/syntax.el (syntax-propertize-precompile-rules): New macro.
5197         (syntax-propertize-rules): Add var-ref case.  Fix offset computation
5198         when adding surrounding \(..\).
5200         * progmodes/js.el (js-mode): Fix last change (bug#7054).
5202 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5204         * obsolete/old-whitespace.el (whitespace-rescan-files-in-buffers):
5205         Use with-current-buffer.
5207         * isearch.el (isearch-face): Rename from `isearch'.
5208         (isearch-highlight): Use new name.
5210 2010-09-17  Eli Zaretskii  <eliz@gnu.org>
5212         * fringe.el (fringe-mode, fringe-query-style): Use 4 pixels, not
5213         5, for `half' width fringes.  (Bug#6933)
5215 2010-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
5217         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
5218         (byte-compile-defvar): "foo/bar" does not lack a prefix.
5220         * subr.el (y-or-n-p): Add the "(y or n)" that was lost somehow.
5222 2010-09-17  Stephen Berman  <stephen.berman@gmx.net>
5224         * dframe.el (dframe-reposition-frame-emacs): Use tool-bar-pixel-width
5225         in calculating new frame position.  Add more space between new and
5226         parent on the left (Bug#7048).
5228 2010-09-17  Michael Albinus  <michael.albinus@gmx.de>
5230         * net/tramp-compat.el (tramp-compat-with-temp-message): Make it a
5231         defmacro.
5233 2010-09-16  Chong Yidong  <cyd@stupidchicken.com>
5235         * mail/sendmail.el: Add "*unsent mail*" to same-window-buffer-names.
5237         * term/x-win.el (x-cut-buffer-or-selection-value): Define as
5238         obsolete alias for x-selection-value.
5240         * ido.el (ido-make-buffer-list): Fix error in 2010-08-22 merge.
5242 2010-09-16  Michael Albinus  <michael.albinus@gmx.de>
5244         * net/tramp-cmds.el (tramp-cleanup-connection): Set tramp-autoload
5245         cookie.
5247 2010-09-15  Michael Albinus  <michael.albinus@gmx.de>
5249         * net/tramp-compat.el (tramp-compat-with-temp-message)
5250         (tramp-compat-font-lock-add-keywords, tramp-compat-process-get)
5251         (tramp-compat-process-put): New defuns.
5253         * net/tramp.el (top):
5254         * net/tramp-gvfs.el (top):
5255         * net/tramp-cache.el (top): Use `tramp-compat-font-lock-add-keywords'.
5257         * net/tramp.el (tramp-progress-reporter-update):
5258         Use `tramp-compat-funcall'.
5260         * net/tramp.el (tramp-process-actions):
5261         * net/tramp-gvfs.el (tramp-handle-vc-registered):
5262         * net/tramp-sh.el (tramp-gvfs-handler-askquestion)
5263         (tramp-get-remote-stat, tramp-get-remote-readlink):
5264         Use `tramp-compat-with-temp-message'.
5266         * net/tramp-sh.el (top): Require 'cl.
5267         (tramp-handle-start-file-process): Use `tramp-compat-process-get'.
5268         (tramp-open-connection-setup-interactive-shell):
5269         Use `tramp-compat-process-put'.
5271 2010-09-15  Alan Mackenzie  <acm@muc.de>
5273         * progmodes/cc-engine.el (c-forward-<>-arglist-recur): Correct the
5274         indentation.
5275         (c-forward-<>-arglist-recur): Fix an infinite recursion.
5277 2010-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5279         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
5280         `lexical' for warnings related to lexical scoping.
5281         (byte-compile-file-form-defvar, byte-compile-defvar): Warn about
5282         global vars which don't have a prefix and could hence affect lexical
5283         scoping in unrelated files.
5285 2010-09-14  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5287         * net/imap.el: Revert back to version
5288         cb950ed8ff3e0f40dac437a51b269166f9ffb60d, since some of the changes
5289         seem problematic.
5291 2010-09-14  Juanma Barranquero  <lekktu@gmail.com>
5293         * obsolete/old-whitespace.el (whitespace-unload-function):
5294         Explicitly pass `obarray' to `unintern' to avoid a warning.
5296 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5298         * emacs-lisp/byte-run.el (set-advertised-calling-convention):
5299         Add `when' argument.  Update callers.
5301         * subr.el (unintern): Declare the obarray arg mandatory.
5303 2010-09-14  Glenn Morris  <rgm@gnu.org>
5305         * calendar/diary-lib.el (diary-list-entries-hook, diary-sort-entries):
5306         Doc fixes.
5308         * calendar/diary-lib.el (diary-included-files): New variable.
5309         (diary-list-entries): Maybe initialize diary-included-files.
5310         (diary-include-other-diary-files): Append to diary-included-files.
5311         * calendar/appt.el (appt-update-list): Also check the members of
5312         diary-included-files.  (Bug#6999)
5313         (appt-check): Doc fix.
5315 2010-09-14  David Reitter  <david.reitter@gmail.com>
5317         * simple.el (line-move-visual): Do not truncate goal column to
5318         integer size.  (Bug#7020)
5320 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5322         * repeat.el (repeat): Allow repeating when the last event is a click.
5323         Suggested by Drew Adams (bug#6256).
5325 2010-09-14  Sascha Wilde  <wilde@sha-bang.de>
5327         * vc/vc-hg.el (vc-hg-state,vc-hg-working-revision):
5328         Replace setting HGRCPATH to "" by some less invasive --config options.
5330 2010-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
5332         * font-lock.el (font-lock-beginning-of-syntax-function):
5333         Mark as obsolete.
5335 2010-09-14  Glenn Morris  <rgm@gnu.org>
5337         * menu-bar.el (menu-bar-options-save): Fix handling of menu-bar
5338         and tool-bar modes.  (Bug#6211)
5339         (menu-bar-mode): Move setting of standard-value after the
5340         minor-mode definition, otherwise it seems to have no effect.
5342 2010-09-14  Masatake YAMATO  <yamato@redhat.com>
5344         * progmodes/antlr-mode.el (antlr-font-lock-additional-keywords):
5345         Fix typo.  (Bug#6976)
5347 2010-09-14  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
5349         * whitespace.el: Allow cleaning up blanks without blank
5350         visualization (Bug#6651).  Adjust help window for
5351         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
5352         instead of whitespace-line-column (from EmacsWiki).  New version 13.1.
5353         (whitespace-style): Add new value 'face.  Adjust docstring.
5354         (whitespace-space, whitespace-hspace, whitespace-tab):
5355         Adjust foreground property face.
5356         (whitespace-line-column): Adjust docstring and type declaration.
5357         (whitespace-style-value-list, whitespace-toggle-option-alist)
5358         (whitespace-help-text): Adjust const initialization.
5359         (whitespace-toggle-options, global-whitespace-toggle-options):
5360         Adjust docstring.
5361         (whitespace-display-window, whitespace-interactive-char)
5362         (whitespace-style-face-p, whitespace-color-on): Adjust code.
5363         (whitespace-help-scroll): New fun.
5365 2010-09-14  Katsumi Yamaoka  <yamaoka@jpl.org>
5367         * calendar/time-date.el (format-seconds): Comment fix.
5369 2010-09-13  Michael R. Mauger  <mmaug@yahoo.com>
5371         * progmodes/sql.el: Version 2.7.
5372         (sql-buffer-live-p): Improve detection.
5373         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5374         (sql-set-sqli-buffer): Use it.
5375         (sql-product-interactive): Run `sql-set-sqli-hook'.
5376         (sql-rename-buffer): Code cleanup.
5377         (sql-redirect, sql-redirect-value): New functions.  More to come.
5379 2010-09-13  Juanma Barranquero  <lekktu@gmail.com>
5381         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.
5382         * makefile.w32-in (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5383         (TRAMP_SRC): New macro.
5384         ($(lisp)/net/tramp-loaddefs.el): New target.
5386 2010-09-13  Michael Albinus  <michael.albinus@gmx.de>
5388         Major code cleanup.  Split tramp.el into tramp.el and tramp-sh.el.
5390         * Makefile.in (TRAMP_SRC): Remove tramp-fish.el.  Add tramp-sh.el.
5392         * net/tramp.el (top): Don't show loading message.  Require just
5393         'tramp-compat, everything else is required there.
5394         Use `ignore-errors' where appropriate.
5395         (tramp-inline-compress-start-size, tramp-copy-size-limit)
5396         (tramp-terminal-type, tramp-end-of-output)
5397         (tramp-initial-end-of-output, tramp-completion-function-alist-rsh)
5398         (tramp-completion-function-alist-ssh)
5399         (tramp-completion-function-alist-telnet)
5400         (tramp-completion-function-alist-su)
5401         (tramp-completion-function-alist-putty, tramp-remote-path)
5402         (tramp-remote-process-environment, tramp-sh-extra-args)
5403         (tramp-actions-before-shell, tramp-uudecode)
5404         (tramp-perl-file-truename, tramp-perl-file-name-all-completions)
5405         (tramp-perl-file-attributes)
5406         (tramp-perl-directory-files-and-attributes)
5407         (tramp-perl-encode-with-module, tramp-perl-decode-with-module)
5408         (tramp-perl-encode, tramp-perl-decode)
5409         (tramp-vc-registered-read-file-names, tramp-file-mode-type-map)
5410         (tramp-file-name-handler-alist, tramp-make-tramp-temp-file)
5411         (tramp-handle-make-symbolic-link, tramp-handle-load)
5412         (tramp-handle-file-name-as-directory)
5413         (tramp-handle-file-name-directory)
5414         (tramp-handle-file-name-nondirectory, tramp-handle-file-truename)
5415         (tramp-handle-file-exists-p, tramp-handle-file-attributes)
5416         (tramp-do-file-attributes-with-ls)
5417         (tramp-do-file-attributes-with-perl)
5418         (tramp-do-file-attributes-with-stat)
5419         (tramp-handle-set-visited-file-modtime)
5420         (tramp-handle-verify-visited-file-modtime)
5421         (tramp-handle-set-file-modes, tramp-handle-set-file-times)
5422         (tramp-set-file-uid-gid, tramp-remote-selinux-p)
5423         (tramp-handle-file-selinux-context)
5424         (tramp-handle-set-file-selinux-context)
5425         (tramp-handle-file-executable-p, tramp-handle-file-readable-p)
5426         (tramp-handle-file-newer-than-file-p, tramp-handle-file-modes)
5427         (tramp-handle-file-directory-p, tramp-handle-file-regular-p)
5428         (tramp-handle-file-symlink-p, tramp-handle-file-writable-p)
5429         (tramp-handle-file-ownership-preserved-p)
5430         (tramp-handle-directory-file-name, tramp-handle-directory-files)
5431         (tramp-handle-directory-files-and-attributes)
5432         (tramp-do-directory-files-and-attributes-with-perl)
5433         (tramp-do-directory-files-and-attributes-with-stat)
5434         (tramp-handle-file-name-all-completions)
5435         (tramp-handle-file-name-completion, tramp-handle-add-name-to-file)
5436         (tramp-handle-copy-file, tramp-handle-copy-directory)
5437         (tramp-handle-rename-file, tramp-do-copy-or-rename-file)
5438         (tramp-do-copy-or-rename-file-via-buffer)
5439         (tramp-do-copy-or-rename-file-directly)
5440         (tramp-do-copy-or-rename-file-out-of-band)
5441         (tramp-handle-make-directory, tramp-handle-delete-directory)
5442         (tramp-handle-delete-file)
5443         (tramp-handle-dired-recursive-delete-directory)
5444         (tramp-handle-dired-compress-file, tramp-handle-dired-uncache)
5445         (tramp-handle-insert-directory)
5446         (tramp-handle-unhandled-file-name-directory)
5447         (tramp-handle-expand-file-name)
5448         (tramp-handle-substitute-in-file-name)
5449         (tramp-handle-executable-find, tramp-process-sentinel)
5450         (tramp-handle-start-file-process, tramp-handle-process-file)
5451         (tramp-handle-call-process-region, tramp-handle-shell-command)
5452         (tramp-handle-file-local-copy, tramp-handle-file-remote-p)
5453         (tramp-handle-insert-file-contents)
5454         (tramp-handle-insert-file-contents-literally)
5455         (tramp-handle-find-backup-file-name)
5456         (tramp-handle-make-auto-save-file-name, tramp-handle-write-region)
5457         (tramp-vc-registered-file-names, tramp-handle-vc-registered)
5458         (tramp-sh-file-name-handler, tramp-vc-file-name-handler)
5459         (tramp-maybe-send-script, tramp-set-auto-save, tramp-run-test)
5460         (tramp-run-test2, tramp-find-executable, tramp-set-remote-path)
5461         (tramp-find-file-exists-command, tramp-open-shell)
5462         (tramp-find-shell, tramp-barf-if-no-shell-prompt)
5463         (tramp-open-connection-setup-interactive-shell)
5464         (tramp-local-coding-commands, tramp-remote-coding-commands)
5465         (tramp-find-inline-encoding, tramp-call-local-coding-command)
5466         (tramp-inline-compress-commands, tramp-find-inline-compress)
5467         (tramp-compute-multi-hops, tramp-maybe-open-connection)
5468         (tramp-send-command, tramp-wait-for-output)
5469         (tramp-send-command-and-check, tramp-barf-unless-okay)
5470         (tramp-send-command-and-read, tramp-mode-string-to-int)
5471         (tramp-convert-file-attributes, tramp-check-cached-permissions)
5472         (tramp-file-mode-from-int, tramp-file-mode-permissions)
5473         (tramp-shell-case-fold, tramp-make-copy-program-file-name)
5474         (tramp-method-out-of-band-p, tramp-local-host-p)
5475         (tramp-get-remote-path, tramp-get-remote-tmpdir)
5476         (tramp-get-ls-command, tramp-get-ls-command-with-dired)
5477         (tramp-get-test-command, tramp-get-test-nt-command)
5478         (tramp-get-file-exists-command, tramp-get-remote-ln)
5479         (tramp-get-remote-perl, tramp-get-remote-stat)
5480         (tramp-get-remote-readlink, tramp-get-remote-trash)
5481         (tramp-get-remote-id, tramp-get-remote-uid, tramp-get-remote-gid)
5482         (tramp-get-local-uid, tramp-get-local-gid)
5483         (tramp-get-inline-compress, tramp-get-inline-coding): Move to
5484         tramp-sh.el.
5485         (tramp-methods, tramp-default-method-alist)
5486         (tramp-default-user-alist, tramp-foreign-file-name-handler-alist):
5487         Move initialization to tramp-sh.el.
5488         (tramp-temp-name-prefix): Make it a defconst.
5489         (tramp-dissect-file-name): Don't check anymore for multi-hop
5490         methods.
5491         (tramp-debug-outline-regexp): Add a docstring.
5492         (tramp-debug-outline-level): Rename from `tramp-outline-level'.
5493         (tramp-get-debug-buffer): Use it.
5495         * net/tramp-cache.el (top): Set tramp-autoload cookie for
5496         initialization forms.
5497         (tramp-set-connection-property): Don't protect `tramp-message'
5498         call, it isn't necessary any longer.
5499         (tramp-dump-connection-properties): Use `ignore-errors'.
5501         * net/tramp-compat.el (top): Require 'advice, 'format-spec,
5502         'password-cache and 'auth-source.
5504         * net/tramp-gvfs.el (top):
5505         * net/tramp-smb.el (top): Require 'tramp-sh.
5507         * net/tramp-gw.el (tramp-gw-open-network-stream): Use `ignore-errors'.
5509         * net/tramp-sh.el: New file, derived from tramp.el.
5510         (top): Initialize `tramp-methods', `tramp-default-method-alist',
5511         `tramp-default-user-alist', `tramp-foreign-file-name-handler-alist'.
5512         Remove "scp1_old", "scp2_old", "ssh1_old", "ssh2_old".
5513         Use `ignore-errors' where appropriate.
5514         (tramp-sh-file-name-handler-alist): Rename from
5515         `tramp-file-name-handler-alist'.
5516         (tramp-send-command-and-check): Return t or nil.  Remove all
5517         `zerop' checks, where called.
5518         (tramp-handle-set-file-modes)
5519         (tramp-do-copy-or-rename-file-directly)
5520         (tramp-handle-delete-directory, tramp-handle-delete-file)
5521         (tramp-maybe-send-script): Use `tramp-barf-unless-okay'.
5522         (tramp-sh-file-name-handler, tramp-send-command-and-check)
5523         (tramp-get-remote-ln): Set tramp-autoload cookie.
5525         * net/tramp-fish.el: Remove file.
5527 2010-09-13  Daiki Ueno  <ueno@unixuser.org>
5529         * epa-file.el (epa-file-insert-file-contents): If visiting, bind
5530         buffer-file-name to avoid file-locking.  (Bug#7026)
5532 2010-09-13  Julien Danjou  <julien@danjou.info>
5534         * notifications.el (notifications-notify): Add support for
5535         image-path and sound-name.
5536         (notifications-specification-version): Add this variable.
5538 2010-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
5540         * subr.el (y-or-n-p): New function, moved from src/fns.c; use read-key.
5542 2010-09-12  Leo  <sdl.web@gmail.com>
5544         * net/rcirc.el (rcirc-server-commands, rcirc-client-commands)
5545         (rcirc-completion-start): New variables.
5546         (rcirc-nick-completions): Rename to rcirc-completions.
5547         (rcirc-nick-completion-start-offset): Delete.
5548         (rcirc-completion-at-point): New function for constructing
5549         completion data for both nicks and irc commands.  Add to
5550         completion-at-point-functions in rcirc mode.
5551         (rcirc-complete): Rename from rcirc-nick-complete; use
5552         rcirc-completion-at-point.
5553         (defun-rcirc-command): Update rcirc-client-commands.
5555 2010-09-11  Glenn Morris  <rgm@gnu.org>
5557         * emacs-lisp/bytecomp.el (byte-compile-file): Create .elc files
5558         atomically, to avoid parallel build errors.  (Bug#4196)
5560 2010-09-11  Michael R. Mauger  <mmaug@yahoo.com>
5562         * progmodes/sql.el: Version 2.6
5563         (sql-dialect): Synonym for "sql-product".
5564         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
5565         (sql-set-sqli-buffer, sql-show-sqli-buffer, sql-interactive-mode):
5566         Set "sql-buffer" to buffer name not buffer object so multiple sql
5567         interactive buffers work properly.  Reverts misguided changes in
5568         earlier work.
5569         (sql-comint): Make sure different buffer name is used if "*SQL*"
5570         buffer is for a different product.
5571         (sql-make-alternate-buffer-name): Fix bug with "sql-database"
5572         login param.
5573         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
5574         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
5575         (sql-db2, sql-linter, sql-product-interactive, sql-rename-buffer):
5576         Accept new buffer name or prompt for one.
5577         (sql-port): Default to zero.
5578         (sql-comint-mysql): Handle "sql-port" as a numeric.
5579         (sql-port-history): Delete unused variable.
5580         (sql-get-login): Default "sql-port" to a number.
5581         (sql-product-alist): Correct Postgres prompt and terminator regexp.
5582         (sql-sqlite-program): Dynamically detect presence of "sqlite" or
5583         "sqlite3" executables.
5584         (sql-sqlite-login-params): Add "*.sqlite[23]?" database name pattern.
5585         (sql-buffer-live-p): New function.
5586         (sql-mode-menu, sql-send-string): Use it.
5587         (sql-mode-oracle-font-lock-keywords): Improve SQL*Plus REMARK
5588         syntax pattern.
5589         (sql-mode-postgres-font-lock-keywords): Support Postgres V9.
5590         (sql-mode-sqlite-font-lock-keywords): Hilight sqlite commands.
5592 2010-09-10  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5594         * net/netrc.el (netrc-credentials): New convenience function.
5596 2010-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5598         * textmodes/texinfo.el (texinfo-syntax-propertize-function): New fun
5599         to replace texinfo-font-lock-syntactic-keywords.
5600         (texinfo-mode): Use it.
5602         * textmodes/tex-mode.el (tex-common-initialization, doctex-mode):
5603         Use syntax-propertize-function.
5605         * textmodes/sgml-mode.el (sgml-syntax-propertize-function): New var to
5606         replace sgml-font-lock-syntactic-keywords.
5607         (sgml-mode): Use it.
5609         * textmodes/reftex.el (font-lock-syntactic-keywords): Don't declare
5610         since we don't use it.
5612         * textmodes/bibtex.el (bibtex-mode): Use syntax-propertize-function.
5614         * progmodes/vhdl-mode.el (vhdl-mode): Use syntax-propertize-function
5615         if available.
5616         (vhdl-fontify-buffer): Adjust.
5618         * progmodes/tcl.el (tcl-syntax-propertize-function): New var to
5619         replace tcl-font-lock-syntactic-keywords.
5620         (tcl-mode): Use it.
5622         * progmodes/simula.el (simula-syntax-propertize-function): New var to
5623         replace simula-font-lock-syntactic-keywords.
5624         (simula-mode): Use it.
5626         * progmodes/sh-script.el (sh-st-symbol): Remove.
5627         (sh-font-lock-close-heredoc, sh-font-lock-open-heredoc): Add eol arg.
5628         (sh-font-lock-flush-syntax-ppss-cache, sh-font-lock-here-doc): Remove.
5629         (sh-font-lock-quoted-subshell): Assume we've already matched $(.
5630         (sh-font-lock-paren): Set syntax-multiline.
5631         (sh-font-lock-syntactic-keywords): Remove.
5632         (sh-syntax-propertize-function): New function to replace it.
5633         (sh-mode): Use it.
5635         * progmodes/ruby-mode.el (ruby-here-doc-beg-re):
5636         Define while compiling.
5637         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
5638         (ruby-font-lock-syntactic-keywords, ruby-comment-beg-syntax)
5639         (syntax-ppss, ruby-in-ppss-context-p, ruby-in-here-doc-p)
5640         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
5641         (ruby-here-doc-end-syntax): Only define when
5642         syntax-propertize is not available.
5643         (ruby-syntax-propertize-function, ruby-syntax-propertize-heredoc):
5644         New functions.
5645         (ruby-in-ppss-context-p): Update to new syntax of heredocs.
5646         (electric-indent-chars): Silence bytecompiler.
5647         (ruby-mode): Use prog-mode, syntax-propertize-function, and
5648         electric-indent-chars.
5650         * progmodes/python.el (python-syntax-propertize-function): New var to
5651         replace python-font-lock-syntactic-keywords.
5652         (python-mode): Use it.
5653         (python-quote-syntax): Simplify and adjust to new use.
5655         * progmodes/perl-mode.el (perl-syntax-propertize-function): New fun to
5656         replace perl-font-lock-syntactic-keywords.
5657         (perl-syntax-propertize-special-constructs): New fun to replace
5658         perl-font-lock-special-syntactic-constructs.
5659         (perl-font-lock-syntactic-face-function): New fun.
5660         (perl-mode): Use it.
5662         * progmodes/octave-mod.el (octave-syntax-propertize-sqs): New function
5663         to replace octave-font-lock-close-quotes.
5664         (octave-syntax-propertize-function): New function to replace
5665         octave-font-lock-syntactic-keywords.
5666         (octave-mode): Use it.
5668         * progmodes/mixal-mode.el (mixal-syntax-propertize-function): New var;
5669         replaces mixal-font-lock-syntactic-keywords.
5670         (mixal-mode): Use it.
5672         * progmodes/make-mode.el (makefile-syntax-propertize-function):
5673         New var; replaces makefile-font-lock-syntactic-keywords.
5674         (makefile-mode): Use it.
5675         (makefile-imake-mode): Adjust.
5677         * progmodes/js.el (js--regexp-literal): Define while compiling.
5678         (js-syntax-propertize-function): New var; replaces
5679         js-font-lock-syntactic-keywords.
5680         (js-mode): Use it.
5682         * progmodes/gud.el (gdb-script-syntax-propertize-function): New var;
5683         replaces gdb-script-font-lock-syntactic-keywords.
5684         (gdb-script-mode): Use it.
5686         * progmodes/fortran.el (fortran-mode): Use syntax-propertize-function.
5687         (fortran--font-lock-syntactic-keywords): New var.
5688         (fortran-line-length): Update syntax-propertize-function and
5689         fortran--font-lock-syntactic-keywords.
5691         * progmodes/cperl-mode.el (cperl-mode): Use syntax-propertize-function.
5693         * progmodes/cfengine.el (cfengine-mode):
5694         Use syntax-propertize-function.
5695         (cfengine-font-lock-syntactic-keywords): Remove.
5697         * progmodes/autoconf.el (autoconf-mode):
5698         Use syntax-propertize-function.
5699         (autoconf-font-lock-syntactic-keywords): Remove.
5701         * progmodes/ada-mode.el (ada-set-syntax-table-properties)
5702         (ada-after-change-function, ada-initialize-syntax-table-properties)
5703         (ada-handle-syntax-table-properties): Only define when
5704         syntax-propertize is not available.
5705         (ada-mode): Use syntax-propertize-function.
5707         * font-lock.el (font-lock-syntactic-keywords): Make obsolete.
5708         (font-lock-fontify-syntactic-keywords-region): Move handling of
5709         font-lock-syntactically-fontified to...
5710         (font-lock-default-fontify-region): ...here.
5711         Let syntax-propertize-function take precedence.
5712         (font-lock-fontify-syntactically-region): Cal syntax-propertize.
5714         * emacs-lisp/syntax.el (syntax-propertize-function)
5715         (syntax-propertize-chunk-size, syntax-propertize--done)
5716         (syntax-propertize-extend-region-functions): New vars.
5717         (syntax-propertize-wholelines, syntax-propertize-multiline)
5718         (syntax-propertize--shift-groups, syntax-propertize-via-font-lock)
5719         (syntax-propertize): New functions.
5720         (syntax-propertize-rules): New macro.
5721         (syntax-ppss-flush-cache): Set syntax-propertize--done.
5722         (syntax-ppss): Call syntax-propertize.
5724         * emacs-lisp/regexp-opt.el (regexp-opt-depth): Skip named groups.
5726 2010-09-10  Agustín Martín  <agustin.martin@hispalinux.es>
5728         * textmodes/ispell.el (ispell-init-process): Improve comments.
5729         XEmacs compatibility changes regarding (add-hook) 'local option
5730         and (set-process-query-on-exit-flag).
5732 2010-09-09  Michael Albinus  <michael.albinus@gmx.de>
5734         * net/tramp-cache.el (tramp-parse-connection-properties):
5735         Set tramp-autoload cookie.
5737 2010-09-09  Glenn Morris  <rgm@gnu.org>
5739         * image.el (imagemagick-types-inhibit): Add :type, :version, :group.
5740         (imagemagick-register-types): Doc fix.
5742 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5744         * progmodes/octave-mod.el (electric-indent-chars): Silence bytecomp.
5746         * progmodes/js.el (require): Require is already "eval-and-compile".
5747         (js--re-search-forward): Avoid `eval'.  Preserve the error data.
5748         (js--re-search-backward): Use js--re-search-forward.
5750         * progmodes/fortran.el (fortran-line-length): Don't recompute
5751         syntactic keywords redundantly a second time.
5753         * progmodes/ada-mode.el: Replace "(set '" with setq.
5754         (ada-mode): Simplify.
5755         (ada-create-case-exception, ada-adjust-case-interactive)
5756         (ada-adjust-case-region, ada-format-paramlist, ada-indent-current)
5757         (ada-search-ignore-string-comment, ada-move-to-start)
5758         (ada-move-to-end): Use with-syntax-table.
5760         * font-lock.el (save-buffer-state): Remove `varlist' arg.
5761         (font-lock-unfontify-region, font-lock-default-fontify-region):
5762         Update usage correspondingly.
5763         (font-lock-fontify-syntactic-keywords-region):
5764         Set parse-sexp-lookup-properties buffer-locally here.
5765         (font-lock-fontify-syntactically-region): Remove unused `ppss' arg.
5767         * simple.el (blink-matching-open): Don't burp if we can't find a match.
5769 2010-09-08  Glenn Morris  <rgm@gnu.org>
5771         * emacs-lisp/bytecomp.el (byte-compile-report-ops):
5772         Error if not compiled with -DBYTE_CODE_METER.
5774         * emacs-lisp/bytecomp.el (byte-recompile-directory):
5775         Ignore dir-locals-file.
5777 2010-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
5779         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5780         Not a const.
5781         (compilation-error-regexp-alist-alist): Rule out ": " in file names
5782         for the `gnu' messages.
5783         (compilation-set-skip-threshold): New command.
5784         (compilation-start): Use \' rather than $.
5785         (compilation-forget-errors): Use clrhash.
5787 2010-09-08  Agustín Martín  <agustin.martin@hispalinux.es>
5789         * textmodes/ispell.el (ispell-valid-dictionary-list):
5790         Simplify logic.
5792 2010-09-08  Michael Albinus  <michael.albinus@gmx.de>
5794         Migrate to Tramp 2.2.  Rearrange load dependencies.
5795         (Bug#1529, Bug#5448, Bug#5705)
5797         * Makefile.in (TRAMP_DIR, TRAMP_SRC): New variables.
5798         ($(TRAMP_DIR)/tramp-loaddefs.el): New target.
5799         (LOADDEFS): Add $(lisp)/net/tramp-loaddefs.el.
5801         * net/tramp.el (top): Remove all other tramp-* loads except
5802         tramp-compat.el.  Remove all changes to tramp-unload-hook for
5803         other tramp-* packages.  Rearrange defun order.  Change calls of
5804         `tramp-compat-call-process', `tramp-compat-decimal-to-octal',
5805         `tramp-compat-octal-to-decimal' to new function names.
5806         (tramp-terminal-type, tramp-initial-end-of-output)
5807         (tramp-methods, tramp-foreign-file-name-handler-alist)
5808         (tramp-tramp-file-p, tramp-completion-mode-p)
5809         (tramp-send-command-and-check, tramp-get-remote-path)
5810         (tramp-get-remote-tmpdir, tramp-get-remote-ln)
5811         (tramp-shell-quote-argument): Set tramp-autoload cookie.
5812         (with-file-property, with-connection-property): Move to
5813         tramp-cache.el.
5814         (tramp-local-call-process, tramp-decimal-to-octal)
5815         (tramp-octal-to-decimal): Move to tramp-compat.el.
5816         (tramp-handle-shell-command): Do not require 'shell.
5817         (tramp-compute-multi-hops): No special handling for tramp-gw-*
5818         symbols.
5819         (tramp-unload-tramp): Do not call `tramp-unload-file-name-handlers'.
5821         * net/tramp-cache.el (top): Require 'tramp.  Add to
5822         `tramp-unload-hook'.
5823         (tramp-cache-data, tramp-get-file-property)
5824         (tramp-set-file-property, tramp-flush-file-property)
5825         (tramp-flush-directory-property, tramp-get-connection-property)
5826         (tramp-set-connection-property, tramp-flush-connection-property)
5827         (tramp-cache-print, tramp-list-connections): Set tramp-autoload
5828         cookie.
5829         (with-file-property, with-connection-property): New defuns, moved
5830         from tramp.el.
5831         (tramp-flush-file-function): Use `with-parsed-tramp-file-name'
5832         macro.
5834         * net/tramp-cmds.el (top): Add to `tramp-unload-hook'.
5835         (tramp-version): Set tramp-autoload cookie.
5837         * net/tramp-compat.el (top): Require 'tramp-loaddefs.  Remove all
5838         changes to tramp-unload-hook for other tramp-* packages.  Add to
5839         `tramp-unload-hook'.
5840         (tramp-compat-decimal-to-octal, tramp-compat-octal-to-decimal)
5841         (tramp-compat-call-process): New defuns, moved from tramp.el.
5843         * net/tramp-fish.el (top) Require just 'tramp.  Add objects to
5844         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5845         Add to `tramp-unload-hook'.  Change call of
5846         `tramp-compat-decimal-to-octal' to new function name.
5847         (tramp-fish-method): Make it a defconst.
5848         (tramp-fish-file-name-p): Make it a defsubst.
5849         (tramp-fish-method, tramp-fish-file-name-handler)
5850         (tramp-fish-file-name-p): Set tramp-autoload cookie.
5852         * net/tramp-ftp.el (top) Add objects to `tramp-methods' and
5853         `tramp-foreign-file-name-handler-alist'.  Add to
5854         `tramp-unload-hook'.
5855         (tramp-ftp-method): Make it a defconst.
5856         (tramp-ftp-file-name-p): Make it a defsubst.
5857         (tramp-ftp-method, tramp-ftp-file-name-handler)
5858         (tramp-ftp-file-name-p): Set tramp-autoload cookie.
5860         * net/tramp-gvfs.el (top) Add objects to `tramp-methods' and
5861         `tramp-foreign-file-name-handler-alist'.  Add to
5862         `tramp-unload-hook'.  Change checks, whether package can be
5863         loaded.
5864         (tramp-gvfs-file-name-p): Make it a defsubst.
5865         (tramp-gvfs-methods, tramp-gvfs-file-name-handler)
5866         (tramp-gvfs-file-name-p): Set tramp-autoload cookie.
5867         (tramp-gvfs-handle-file-directory-p): New defun.
5868         (tramp-gvfs-file-name-handler-alist): Use it.
5870         * net/tramp-gw.el (top) Add objects to `tramp-methods' and
5871         `tramp-foreign-file-name-handler-alist'.  Add to
5872         `tramp-unload-hook'.
5873         (tramp-gw-tunnel-method, tramp-gw-default-tunnel-port)
5874         (tramp-gw-socks-method, tramp-gw-default-socks-port): Make it a
5875         defconst.
5876         (tramp-gw-tunnel-method, tramp-gw-socks-method)
5877         (tramp-gw-open-connection): Set tramp-autoload cookie.
5879         * net/tramp-imap.el (top) Require just 'tramp.  Add objects to
5880         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5881         Add to `tramp-unload-hook'.  Change checks, whether package can be
5882         loaded.
5883         (tramp-imap-file-name-p): Make it a defsubst.
5884         (tramp-imap-method, tramp-imaps-method)
5885         (tramp-imap-file-name-handler)
5886         (tramp-imap-file-name-p): Set tramp-autoload cookie.
5888         * net/tramp-smb.el (top) Require just 'tramp.  Add objects to
5889         `tramp-methods' and `tramp-foreign-file-name-handler-alist'.
5890         Add to `tramp-unload-hook'.  Change checks, whether package can be
5891         loaded.  Change call of `tramp-compat-decimal-to-octal' to new
5892         function name.
5893         (tramp-smb-tunnel-method): Make it a defconst.
5894         (tramp-smb-file-name-p): Make it a defsubst.
5895         (tramp-smb-method, tramp-smb-file-name-handler)
5896         (tramp-smb-file-name-p): Set tramp-autoload cookie.
5898         * net/tramp-uu.el (top) Add to `tramp-unload-hook'.
5899         (tramp-uuencode-region): Set tramp-autoload cookie.
5901         * net/trampver.el (top) Add to `tramp-unload-hook'.
5902         (tramp-version, tramp-bug-report-address): Set tramp-autoload
5903         cookie.  Update release number.
5905 2010-09-07  Agustín Martín  <agustin.martin@hispalinux.es>
5907         * textmodes/ispell.el (ispell-start-process): Make sure original
5908         arg list is properly initialized (Bug#6993, Bug#6994).
5910 2010-09-06  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
5912         * files.el (directory-abbrev-alist): Use \` as default regexp.
5914         * emacs-lisp/rx.el (rx-any): Don't explode ranges that end in special
5915         chars like - or ] (bug#6984).
5916         (rx-any-condense-range): Explode 2-char ranges.
5918 2010-09-06  Glenn Morris  <rgm@gnu.org>
5920         * desktop.el (desktop-path): Bump :version after 2009-09-15 change.
5922 2010-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5924         * textmodes/bibtex.el:
5925         * proced.el: Update to new email for Roland Winkler <winkler@gnu.org>.
5927 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5929         * net/imap.el (imap-message-map): Remove optional buffer parameter,
5930         since no callers use it.
5931         (imap-message-get): Ditto.
5932         (imap-message-put): Ditto.
5933         (imap-mailbox-map): Ditto.
5934         (imap-mailbox-put): Ditto.
5935         (imap-mailbox-get): Ditto.
5936         (imap-mailbox-get): Revert last change for this function.
5938 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5940         * net/imap.el (imap-fetch-safe): Remove function, and alter all
5941         callers to use `imap-fetch' instead.  According to the comments, this
5942         should be safe, since all other IMAP clients use the 1:* syntax.
5943         (imap-enable-exchange-bug-workaround): Remove.
5944         (imap-debug): Remove -- doesn't seem very useful.
5946 2010-09-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5948         * net/imap.el (imap-log): New convenience function used throughout
5949         instead of repeating the same code all over the place.
5951 2010-09-05  David De La Harpe Golden  <david@harpegolden.net>
5953         * mouse.el (mouse-save-then-kill): Save region to kill-ring
5954         when mouse-drag-copy-region is non-nil (Bug#6956).
5956 2010-09-05  Chong Yidong  <cyd@stupidchicken.com>
5958         * dired.el (dired-ls-sorting-switches, dired-sort-by-name-regexp):
5959         Improve regexps (Bug#6987).
5960         (dired-sort-toggle): Search more robustly for -t flag.
5962         * files.el (get-free-disk-space): Search more robustly for
5963         "available" column.  Suggested by Ehud Karni
5964         <ehud@unix.mvs.co.il>.
5966 2010-09-05  Juanma Barranquero  <lekktu@gmail.com>
5968         * international/uni-bidi.el:
5969         * international/uni-category.el:
5970         * international/uni-combining.el:
5971         * international/uni-decimal.el:
5972         * international/uni-mirrored.el:
5973         * international/uni-name.el: Regenerate.
5975 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5977         * electric.el (electric-indent-post-self-insert-function):
5978         Don't reindent with a sloppy indentation function.
5980         * emacs-lisp/syntax.el (syntax-ppss): More sanity check to catch
5981         border case in change-log-mode.
5983 2010-09-04  Chong Yidong  <cyd@stupidchicken.com>
5985         * progmodes/compile.el (compilation-error-regexp-alist-alist):
5986         Remove ruby regexp; handle Ruby errors with gcc-include and gnu.
5987         Recognize leading tab in gcc-include regexp.  Ignore names with
5988         leading "from" or "in" in gnu regexp (Bug#6937).
5990 2010-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5992         Avoid global recursive calls to kill-buffer-hooks; fit into 80 cols.
5993         * textmodes/ispell.el (ispell-process-buffer-name): Remove.
5994         (ispell-start-process): Avoid setq and simplify logic.
5995         (ispell-init-process): Setup kill-buffer-hook locally when needed.
5996         (kill-buffer-hook): Don't use it globally with code that uses
5997         expand-file-name since that may call kill-buffer via
5998         code_conversion_restore.
6000 2010-09-04  Noorul Islam K M  <noorul@noorul.com>  (tiny change)
6002         * emacs-lisp/package.el (package-directory-list): Only call
6003         file-name-nondirectory on a string.
6005 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
6007         * emacs-lisp/package.el (package--download-one-archive):
6008         Ensure that archive-contents is valid before saving it.
6009         (package-activate-1, package-mark-obsolete, define-package)
6010         (package-compute-transaction, package-list-maybe-add): Use push.
6012 2010-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6014         Use SMIE's blink-paren for octave-mode.
6015         * progmodes/octave-mod.el (octave-font-lock-close-quotes):
6016         Backslashes do not escape single-quotes, single-quotes do.
6017         (octave-block-else-regexp, octave-block-end-regexp)
6018         (octave-block-match-alist): Remove.
6019         (octave-smie-bnf-table): New var, with old content.
6020         (octave-smie-op-levels): Use it.
6021         (octave-smie-closer-alist): New var.
6022         (octave-mode): Use it.  Setup smie-blink-matching and electric-indent.
6023         (octave-blink-matching-block-open): Remove.
6024         (octave-reindent-then-newline-and-indent, octave-electric-semi)
6025         (octave-electric-space): Let self-insert-command run expand-abbrev and
6026         blink parens.
6028         * electric.el (electricity): New group.
6029         (electric-indent-chars): New var.
6030         (electric-indent-post-self-insert-function): New fun.
6031         (electric-indent-mode): New minor mode.
6032         (electric-pair-skip-self): New custom.
6033         (electric-pair-post-self-insert-function): New function.
6034         (electric-pair-mode): New minor mode.
6036         * calc/calc-aent.el (calcAlg-blink-matching-check): New fun, to replace
6037         calcAlg-blink-matching-open.
6038         (calc-alg-ent-map, calc-alg-ent-esc-map): Initialize in the declaration.
6039         (calc-do-alg-entry): Only touch the part of the keymap that varies.
6040         Use the new blink-matching-check-function.
6042         Provide blink-matching support to SMIE.
6043         * emacs-lisp/smie.el (smie-bnf-closer-alist): New function.
6044         (smie-blink-matching-triggers, smie-blink-matching-inners): New vars.
6045         (smie-blink-matching-check, smie-blink-matching-open): New functions.
6047         * simple.el (newline): Fix last change to properly remove itself from
6048         the hook.
6050 2010-09-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6052         * simple.el (newline): Eliminate optimization.
6053         Use post-self-insert-hook to set hard-newline and things before
6054         running post-self-insert-hook.
6055         (blink-matching-check-mismatch): New function.
6056         (blink-matching-check-function): New variable.
6057         (blink-matching-open): Use them.
6058         Skip back forward over prefix chars skipped by forward-sexp.
6059         Don't check if the parens are backslash escaped.
6060         (blink-paren-post-self-insert-function): Check backslash escaping here.
6062 2010-09-02  Chong Yidong  <cyd@stupidchicken.com>
6064         * emacs-lisp/package.el (package-menu-mode-map):
6065         Change package-menu-revert bindings to revert-buffer.
6066         (package-menu-mode): Set revert-buffer-function.
6067         (package-menu-revert): Doc fix.
6069 2010-09-02  Agustín Martín  <agustin.martin@hispalinux.es>
6071         * textmodes/ispell.el (ispell-init-process): Use "~/" as
6072         `default-directory' unless using Ispell per-directory personal
6073         dictionaries and not in a mini-buffer under XEmacs.
6074         (kill-buffer-hook): Do not kill ispell process on exit when
6075         `ispell-process-directory' is "~/".  (Bug#6143)
6077 2010-09-02  Jan Djärv  <jan.h.d@swipnet.se>
6079         * simple.el (kill-new): Call interprogram-cut-function with only
6080         one argument.
6082         * term.el (term-mouse-paste): Don't call x-get-cutbuffer.
6083         Remove cut buffer from error message.
6085         * term/x-win.el (x-select-text):
6086         * term/pc-win.el (x-selection-value):
6087         * term/ns-win.el (x-selection-value):
6088         * eshell/em-term.el:
6089         * w32-fns.el (x-get-selection-value):
6090         * mouse-sel.el (mouse-sel-set-selection-function):
6091         * frame.el (display-selections-p): Remove cut-buffer in documentation.
6093         * term/x-win.el: Update documentation for x-last-selected-text-*.
6094         (x-last-selected-text-cut, x-last-selected-text-cut-encoded)
6095         (x-last-cut-buffer-coding, x-cut-buffer-max): Remove.
6096         (x-select-text): Remove argument PUSH, update documentation.
6097         Remove cut-buffer code.
6098         (x-selection-value-internal): Was previously x-selection-value.
6099         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6100         Update documentation, remove cut-buffer code.
6101         Call x-selection-value-internal.
6102         (x-clipboard-yank): Call x-selection-value-internal.
6103         (x-initialize-window-system): Remove setting of x-cut-buffer-max.
6105         * term/pc-win.el (x-last-selected-text):
6106         x-cut-buffer-or-selection-value renamed to x-selection-value
6107         (x-select-text): Remove argument PUSH, update documentation.
6109         * term/ns-win.el (x-setup-function-keys, ns-last-selected-text):
6110         x-cut-buffer-or-selection-value renamed to x-selection-value
6111         (x-selection-value): Rename from x-cut-buffer-or-selection-value.
6112         (x-select-text): Remove argument PUSH, update documentation.
6114         * emacs-lisp/cl-macs.el (x-get-cutbuffer, x-get-cut-buffer): Remove.
6116         * w32-fns.el (x-last-selected-text):
6117         x-cut-buffer-or-selection-value renamed to x-selection-value.
6118         (x-cut-buffer-max): Remove.
6119         (x-select-text): Remove argument PUSH, update documentation.
6121         * simple.el (interprogram-cut-function): Remove mention of PUSH.
6123         * select.el (x-get-cut-buffer, x-set-cut-buffer): Remove.
6125         * mouse-sel.el (mouse-sel-get-selection-function):
6126         x-cut-buffer-or-selection-value renamed to x-selection-value.
6127         (x-select-text): Remove optional push.
6129 2010-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6131         * simple.el (blink-paren-function): Move from C to here.
6132         (blink-paren-post-self-insert-function): New function.
6133         (post-self-insert-hook): Use it.
6135         * emacs-lisp/pcase.el (pcase-split-memq):
6136         Fix overenthusiastic optimisation.
6137         (pcase-u1): Handle the case of a lambda pred.
6139 2010-08-31  Kenichi Handa  <handa@m17n.org>
6141         * international/mule-cmds.el (standard-display-european-internal):
6142         Setup standard-display-table for 8-bit characters by storing 8-bit
6143         characters in the element vector.
6145         * disp-table.el (standard-display-8bit):
6146         Setup standard-display-table for 8-bit characters by storing 8-bit
6147         characters in the element vector.
6148         (standard-display-european): Likewise.
6150 2010-08-31  Masatake YAMATO  <yamato@redhat.com>
6152         * textmodes/nroff-mode.el (nroff-view): New command.
6153         (nroff-mode-map): Bind it to C-c C-c.
6155 2010-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
6157         * emacs-lisp/smie.el (smie-down-list): New command.
6159         Remove old indentation and navigation code on octave-mode.
6160         * progmodes/octave-mod.el (octave-mode-map): Remap down-list to
6161         smie-down-list rather than add a binding for octave-down-block.
6162         (octave-mark-block, octave-blink-matching-block-open):
6163         Rely on forward-sexp-function.
6164         (octave-fill-paragraph): Don't narrow, so you can use
6165         indent-according-to-mode.
6166         (octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
6167         (octave-in-block-p, octave-re-search-forward-kw)
6168         (octave-re-search-backward-kw, octave-indent-calculate)
6169         (octave-end-as-array-index-p, octave-block-end-offset)
6170         (octave-scan-blocks, octave-forward-block, octave-backward-block)
6171         (octave-down-block, octave-backward-up-block, octave-up-block)
6172         (octave-before-magic-comment-p, octave-indent-line): Remove.
6174 2010-08-31  Chong Yidong  <cyd@stupidchicken.com>
6176         * emacs-lisp/package.el (package--read-archive-file): Just use
6177         `read', to avoid copying an additional string.
6178         (package-menu-mode): Set header-line-format here.
6179         (package-menu-refresh, package-menu-revert): Signal an error if
6180         not in the Package Menu.
6181         (package-menu-package-list): New var.
6182         (package--generate-package-list): Operate on the current buffer;
6183         don't assume that it is *Packages*, since the user may rename it.
6184         Allow persistent package listings and sort keys using
6185         package-menu-package-list and package-menu-package-sort-key.
6186         (package-menu--version-predicate): Fix version calculation.
6187         (package-menu-sort-by-column): Don't select the window.
6188         (package--list-packages): Create the *Packages* buffer.
6189         Set package-menu-package-list-key.
6190         (list-packages): Sorting by status is now the default.
6191         (package-buffer-info): Use match-string-no-properties.
6192         (define-package): Add a &rest argument for future proofing, but
6193         don't use it yet.
6194         (package-install-from-buffer, package-install-buffer-internal):
6195         Merge into a single function, package-install-from-buffer.
6196         (package-install-file): Change caller.
6198         * finder.el: Load finder-inf using `require'.
6199         (finder-list-matches): Sorting by status is now the default.
6200         (finder-compile-keywords): Simpify printing.
6202 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6204         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6205         (octave-mode-map): Remove special bindings for forward/backward-block
6206         and octave-backward-up-block.  Use smie-close-block.
6207         (octave-continuation-marker-regexp): New var.
6208         (octave-continuation-regexp): Use it.
6209         (octave-operator-table, octave-smie-op-levels)
6210         (octave-operator-regexp, octave-smie-indent-rules): New vars.
6211         (octave-smie-backward-token, octave-smie-forward-token): New funs.
6212         (octave-mode): Use SMIE.
6213         (octave-close-block): Delete.
6215 2010-08-30  Eli Zaretskii  <eliz@gnu.org>
6217         * menu-bar.el (menu-bar-edit-menu) <"Paste">: Check selection in
6218         CLIPBOARD, not in PRIMARY.  (Bug#6944)
6220 2010-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6222         * emacs-lisp/smie.el (smie-indent-offset-rule): Let :parent take
6223         a list of parents.
6224         (smie-indent-column): Allow indirection through variables.
6226         * composite.el (save-buffer-state): Delete, unused.
6227         * font-lock.el (save-buffer-state): Use with-silent-modifications.
6228         (font-lock-default-fontify-region): Use with-syntax-table.
6229         * jit-lock.el (with-buffer-unmodified): Remove.
6230         (with-buffer-prepared-for-jit-lock): Use with-silent-modifications.
6232         Use `declare' in defmacros.
6233         * window.el (save-selected-window):
6234         * subr.el (with-temp-file, with-temp-message, with-syntax-table):
6235         * progmodes/python.el (def-python-skeleton):
6236         * net/dbus.el (dbus-ignore-errors):
6237         * jka-cmpr-hook.el (with-auto-compression-mode):
6238         * international/mule.el (with-category-table):
6239         * emacs-lisp/timer.el (with-timeout):
6240         * emacs-lisp/lisp-mnt.el (lm-with-file):
6241         * emacs-lisp/eieio.el (with-slots):
6242         * emacs-lisp/easymenu.el (easy-menu-define):
6243         * emacs-lisp/debug.el (debugger-env-macro):
6244         * emacs-lisp/cl-compat.el (Multiple-value-bind, Multiple-value-setq)
6245         (Multiple-value-call, Multiple-value-prog1):
6246         * emacs-lisp/cl-seq.el (cl-parsing-keywords, cl-check-key)
6247         (cl-check-test-nokey, cl-check-test, cl-check-match): Move indent and
6248         edebug rule to definition.
6249         * emacs-lisp/lisp-mode.el (save-selected-window)
6250         (with-current-buffer, combine-after-change-calls)
6251         (with-output-to-string, with-temp-file, with-temp-buffer)
6252         (with-temp-message, with-syntax-table, read-if, eval-after-load)
6253         (dolist, dotimes, when, unless):
6254         * emacs-lisp/byte-run.el (inline): Remove indent rule, redundant.
6256 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
6258         * finder.el: Require `package'.
6259         (finder-known-keywords): Tweak descriptions.  Retire `oop' keyword.
6260         (finder-package-info): Var deleted.
6261         (finder-keywords-hash, finder--builtins-alist): New vars.
6262         (finder-compile-keywords): Compute package--builtins and
6263         finder-keywords-hash instead of finder-keywords-hash, respecting
6264         the "Package" header.
6265         (finder-unknown-keywords, finder-list-matches):
6266         Use finder-keywords-hash and package--list-packages.
6267         (finder-mode): Don't set font-lock-defaults.
6268         (finder-exit): We don't use "*Finder-package*" and "*Finder
6269         Category*" buffers anymore.
6271         * emacs-lisp/package.el (package--builtins-base): Var deleted.
6272         (package--builtins): Set default value to nil.
6273         (package-initialize): Load precomputed value of package--builtins
6274         from finder-inf.el.
6275         (package-alist, package-compute-transaction)
6276         (package-download-transaction): Improve docstring.
6277         (package-read-all-archive-contents): Do not change
6278         package--builtins here.
6279         (list-packages): Make package-list-packages an alias for this.
6280         Sort by status by default.
6281         (package--list-packages): Add optional PACKAGES arg.
6282         (describe-package-1): Use font-lock-face property.  For built-in
6283         packages, insert file commentary.
6284         (package--generate-package-list): Rename from
6285         package-list-packages-internal; all callers changed.  Add optional
6286         PACKAGES arg.  Add alphabetical sort fallbacks.
6287         (package-menu--version-predicate, package-menu--status-predicate)
6288         (package-menu--description-predicate)
6289         (package-menu--name-predicate): New functions.
6291         * info.el (Info-finder-find-node): Search package-alist instead of
6292         finder-package-info.
6294 2010-08-29  Chong Yidong  <cyd@stupidchicken.com>
6296         * subr.el (version-regexp-alist): Don't use "a" and "b" for
6297         "alpha" and "beta".
6298         (version-to-list): Handle versions like "10.3d".
6300 2010-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
6302         * emacs-lisp/macroexp.el (macroexpand-all-1): Use pcase.
6303         (macroexp-accumulate): Use `declare'.
6305 2010-08-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6307         * whitespace.el (whitespace-style): Adjust type declaration.
6309 2010-08-26  Magnus Henoch  <magnus.henoch@gmail.com>
6311         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
6312         empty argument to gvfs-copy.
6314 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
6316         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
6317         handle new TRASH arg of `delete-file'.
6319 2010-08-26  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
6321         * net/tramp.el (tramp-handle-insert-directory): Don't use
6322         `forward-word', its default syntax could be changed.
6324 2010-08-26  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
6325             Michael Albinus  <michael.albinus@gmx.de>
6327         Implement compression for inline methods.
6329         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
6330         (tramp-copy-size-limit): Allow also nil.
6331         (tramp-inline-compress-commands): New defconst.
6332         (tramp-find-inline-compress, tramp-get-inline-compress)
6333         (tramp-get-inline-coding): New defuns.
6334         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
6335         replaced by `tramp-get-inline-coding'.
6336         (tramp-handle-file-local-copy, tramp-handle-write-region)
6337         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
6339 2010-08-26  Noah Lavine  <noah549@gmail.com>  (tiny change)
6341         Detect ssh 'ControlMaster' argument automatically in some cases.
6343         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
6344         (tramp-default-method): Use it.
6346 2010-08-26  Karel Klíč  <kklic@redhat.com>
6348         * net/tramp.el (tramp-file-name-for-operation):
6349         Add file-selinux-context.
6351 2010-08-26  Łukasz Stelmach  <lukasz.stelmach@iem.pw.edu.pl>  (tiny change)
6353         * play/cookie1.el (read-cookie): Fix off-by-one error (bug#6921).
6355 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
6357         * simple.el (beginning-of-buffer, end-of-buffer): Doc fix
6358         (Bug#6907).
6360 2010-08-26  Nathan Weizenbaum  <nweiz@cressida.sea.corp.google.com>  (tiny change)
6362         * progmodes/js.el: Make indentation more customizable (Bug#6914).
6363         (js-paren-indent-offset, js-square-indent-offset)
6364         (js-curly-indent-offset): New options.
6365         (js--proper-indentation): Use them.
6367 2010-08-26  Daniel Colascione  <dan.colascione@gmail.com>
6369         * progmodes/sh-script.el (sh-get-indent-info): Use syntax-ppss
6370         instead of inspecting font-lock properties (Bug#6916).
6372 2010-08-26  David Reitter  <david.reitter@gmail.com>
6374         * server.el (server-visit-files): Run pre-command-hook and
6375         post-command-hook for each buffer while it is current (Bug#6910).
6376         (server-execute): Do not run hooks here.
6378 2010-08-26  Michael Albinus  <michael.albinus@gmx.de>
6380         Sync with Tramp 2.1.19.
6382         * net/tramp-cmds.el (tramp-cleanup-all-connections)
6383         (tramp-reporter-dump-variable, tramp-load-report-modules)
6384         (tramp-append-tramp-buffers): Use `tramp-compat-funcall'.
6385         (tramp-bug): Recommend setting of `tramp-verbose' to 9.
6387         * net/tramp-compat.el (top): Do not autoload
6388         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
6389         only when `start-file-process' is not bound.
6390         (byte-compile-not-obsolete-vars): Define if not bound.
6391         (tramp-compat-funcall): New defmacro.
6392         (tramp-compat-line-beginning-position)
6393         (tramp-compat-line-end-position)
6394         (tramp-compat-temporary-file-directory)
6395         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
6396         (tramp-compat-copy-file, tramp-compat-copy-directory)
6397         (tramp-compat-delete-file, tramp-compat-delete-directory)
6398         (tramp-compat-number-sequence, tramp-compat-process-running-p):
6399         Use it.
6400         (tramp-advice-file-expand-wildcards): Do not use
6401         `tramp-handle-file-remote-p'.
6402         (tramp-compat-make-temp-file): Simplify fallback implementation.
6403         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6404         (tramp-compat-copy-tree): Remove function.
6405         (tramp-compat-delete-file): New defun.
6406         (tramp-compat-delete-directory): Provide implementation for older
6407         Emacsen.
6408         (tramp-compat-file-attributes): Handle only
6409         `wrong-number-of-arguments' error.
6411         * net/tramp-fish.el (tramp-fish-handle-copy-file):
6412         Add PRESERVE_SELINUX_CONTEXT.
6413         (tramp-fish-handle-delete-file): Add TRASH arg.
6414         (tramp-fish-handle-directory-files-and-attributes):
6415         Do not use `tramp-fish-handle-file-attributes.
6416         (tramp-fish-handle-file-local-copy)
6417         (tramp-fish-handle-insert-file-contents)
6418         (tramp-fish-maybe-open-connection): Use `with-progress-reporter'.
6420         * net/tramp-gvfs.el (top): Require url-util.
6421         (tramp-gvfs-mount-point): Remove.
6422         (tramp-gvfs-file-name-handler-alist): Add `file-selinux-context'
6423         and `set-file-selinux-context'.
6424         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command)
6425         (tramp-gvfs-handle-file-selinux-context)
6426         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
6427         (with-tramp-dbus-call-method): Format trace message.
6428         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
6429         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
6430         Implement backup call, when operation on local files fails.
6431         Use progress reporter.  Flush properties of changed files.
6432         (tramp-gvfs-handle-delete-file): Add TRASH arg.
6433         Use `tramp-compat-delete-file'.
6434         (tramp-gvfs-handle-expand-file-name): Expand "~/".
6435         (tramp-gvfs-handle-make-directory): Make more traces.
6436         (tramp-gvfs-handle-write-region): Protect deleting tmpfile.
6437         (tramp-gvfs-url-file-name): Hexify file name in url.
6438         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
6439         into account for the resulting file name.
6440         (tramp-gvfs-handler-askquestion): Preserve current message, in
6441         order to let progress reporter continue afterwards.  (Bug#6257)
6442         Return dummy mountpoint, when the answer is "no".
6443         See `tramp-gvfs-maybe-open-connection'.
6444         (tramp-gvfs-handler-mounted-unmounted)
6445         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
6446         attribute "default_location".  Set "prefix" property.
6447         Handle default-location.
6448         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
6449         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
6450         exists.  Raise an error, if not (due to a corresponding answer
6451         "no" in interactive questions, for example).
6452         Use `tramp-compat-funcall'.
6454         * net/tramp-imap.el (top): Autoload `epg-make-context'.
6455         (tramp-imap-handle-copy-file): Add PRESERVE-SELINUX-CONTEXT.
6456         (tramp-imap-do-copy-or-rename-file)
6457         (tramp-imap-handle-insert-file-contents)
6458         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
6459         (tramp-imap-handle-delete-file): Add TRASH arg.
6461         * net/tramp-smb.el (tramp-smb-handle-copy-file):
6462         Add PRESERVE-SELINUX-CONTEXT.
6463         (tramp-smb-handle-copy-file)
6464         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
6465         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
6466         Use `with-progress-reporter'.
6467         (tramp-smb-handle-delete-file): Add TRASH arg.
6469         * net/tramp.el (tramp-methods): Move hostname to the end in all
6470         ssh `tramp-login-args'.  Add `tramp-async-args' attribute where
6471         appropriate.
6472         (tramp-verbose): Describe verbose level 9.
6473         (tramp-completion-function-alist)
6474         (tramp-file-name-regexp, tramp-chunksize)
6475         (tramp-local-coding-commands, tramp-remote-coding-commands)
6476         (with-connection-property, tramp-completion-mode-p)
6477         (tramp-action-process-alive, tramp-action-out-of-band)
6478         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
6479         (tramp-exists-file-name-handler): Fix docstring.
6480         (tramp-remote-process-environment): Use `format' instead of
6481         `concat'.  Protect version string by apostroph.
6482         (tramp-shell-prompt-pattern): Do not use a shy group in case of
6483         XEmacs.
6484         (tramp-file-name-regexp-unified)
6485         (tramp-completion-file-name-regexp-unified): On W32 systems, do
6486         not regard the volume letter as remote filename.  (Bug#5447)
6487         (tramp-perl-file-attributes)
6488         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
6489         (tramp-vc-registered-read-file-names): Read input as
6490         here-document, otherwise the command could exceed maximum length
6491         of command line.
6492         (tramp-file-name-handler-alist): Add `file-selinux-context' and
6493         `set-file-selinux-context'.
6494         (tramp-debug-message): Add `tramp-compat-funcall' to ignored
6495         backtrace functions.
6496         (tramp-error-with-buffer): Don't show the connection buffer when
6497         we are in completion mode.
6498         (tramp-progress-reporter-update, tramp-remote-selinux-p)
6499         (tramp-handle-file-selinux-context)
6500         (tramp-handle-set-file-selinux-context, tramp-process-sentinel)
6501         (tramp-connectable-p, tramp-open-shell, tramp-get-remote-trash):
6502         New defuns.
6503         (with-progress-reporter): New defmacro.
6504         (tramp-debug-outline-regexp): New defconst.
6505         (top, tramp-rfn-eshadow-setup-minibuffer)
6506         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
6507         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
6508         (tramp-completion-mode-p, tramp-check-for-regexp)
6509         (tramp-open-connection-setup-interactive-shell)
6510         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
6511         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
6512         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp):
6513         Use `tramp-compat-funcall'.
6514         (tramp-handle-make-symbolic-link): Flush file properties.
6515         (tramp-handle-load, tramp-handle-file-local-copy)
6516         (tramp-handle-insert-file-contents, tramp-handle-write-region)
6517         (tramp-handle-vc-registered, tramp-maybe-send-script)
6518         (tramp-find-shell): Use `with-progress-reporter'.
6519         (tramp-do-file-attributes-with-stat): Add space in format string,
6520         in order to work around a bug in pdksh.  Reported by Gilles Pion
6521         <gpion@lfdj.com>.
6522         (tramp-handle-verify-visited-file-modtime): Do not send a command
6523         when the connection is not established.
6524         (tramp-handle-set-file-times): Simplify the check for utc.
6525         (tramp-handle-directory-files-and-attributes)
6526         (tramp-get-remote-path): Use `copy-tree'.
6527         (tramp-completion-handle-file-name-all-completions): Ensure, that
6528         non remote files are still checked.  Oops.
6529         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
6530         Handle PRESERVE-SELINUX-CONTEXT.
6531         (tramp-do-copy-or-rename-file): Add progress reporter.
6532         (tramp-do-copy-or-rename-file-directly): Do not use
6533         `tramp-handle-file-remote-p'.
6534         (tramp-do-copy-or-rename-file-out-of-band):
6535         Use `tramp-compat-delete-directory'.
6536         (tramp-do-copy-or-rename-file-out-of-band)
6537         (tramp-compute-multi-hops, tramp-maybe-open-connection):
6538         Use `format-spec-make'.
6539         (tramp-handle-delete-file): Add TRASH arg.
6540         (tramp-handle-dired-uncache): Flush directory cache, not only file
6541         cache.
6542         (tramp-handle-expand-file-name)
6543         (tramp-completion-handle-file-name-all-completions)
6544         (tramp-completion-handle-file-name-completion):
6545         Use `tramp-connectable-p'.
6546         (tramp-handle-start-file-process): Set connection property "vec".
6547         Use it, in order to invalidate file caches.  Check only for
6548         `remote-tty' process property.
6549         Implement tty setting.  (Bug#4604, Bug#6360)
6550         (tramp-file-name-for-operation): Add `call-process-region' and
6551         `set-file-selinux-context'.
6552         (tramp-find-foreign-file-name-handler)
6553         (tramp-advice-make-auto-save-file-name)
6554         (tramp-set-auto-save-file-modes): Remove superfluous check for
6555         `stringp'.  This is done inside `tramp-tramp-file-p'.
6556         (tramp-file-name-handler): Trace 'quit.  Catch the error for some
6557         operations when we are in completion mode.  This gives the user
6558         the chance to correct the file name in the minibuffer.
6559         (tramp-completion-mode-p): Use `non-essential'.
6560         (tramp-handle-file-name-all-completions): Backward/ XEmacs
6561         compatibility: Use `completion-ignore-case' if
6562         `read-file-name-completion-ignore-case' does not exist.
6563         (tramp-get-debug-buffer): Use `tramp-debug-outline-regexp'.
6564         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
6565         `tramp-open-shell'.
6566         (tramp-action-password): Hide password prompt before next run.
6567         (tramp-process-actions): Widen connection buffer for the trace.
6568         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
6569         process property.  Trace stty settings if `tramp-verbose' >= 9.
6570         Apply workaround for IRIX64 bug.  Move argument of last
6571         `tramp-send-command' where it belongs to.
6572         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
6573         front of `login-args'.
6574         (tramp-get-ls-command, tramp-get-ls-command-with-dired): Run tests
6575         on "/dev/null" instead of "/".
6576         (tramp-get-ls-command-with-dired): Make test for "--dired"
6577         stronger.
6578         (tramp-set-auto-save-file-modes): Adapt version check.
6579         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
6580         (tramp-handle-process-file): Call the program in a subshell, in
6581         order to preserve working directory.
6582         (tramp-handle-shell-command): Don't use hard-wired "/bin/sh" but
6583         `tramp-remote-sh' from `tramp-methods'.
6584         (tramp-get-ls-command): Make test for "--color=never" stronger.
6585         (tramp-check-for-regexp): Use (forward-line 1).
6587         * net/trampver.el: Update release number.
6589 2010-08-26  Chong Yidong  <cyd@stupidchicken.com>
6591         * help.el (help-map): Bind `C-h P' to describe-package.
6593         * menu-bar.el (menu-bar-describe-menu): Add describe-package.
6595         * emacs-lisp/package.el (package-refresh-contents): Catch errors
6596         when downloading archives.
6597         (describe-package-1): Add package commentary.
6598         (package-install-button-action): New function.
6599         (package-menu-mode-map): Bind ? to package-menu-describe-package.
6600         (package-menu-view-commentary): Function removed.
6601         (package-list-packages-internal): Hide the `package' package too.
6603 2010-08-25  Kenichi Handa  <handa@m17n.org>
6605         * language/misc-lang.el ("Arabic"): New language environment.
6606         Setup composition-function-table for Arabic characters.
6608         * international/fontset.el (setup-default-fontset): Fix typo for
6609         arabic OTF spec (fini->fina).
6611 2010-08-25  Jan Djärv  <jan.h.d@swipnet.se>
6613         * menu-bar.el (menu-bar-set-tool-bar-position): Set frame parameter
6614         on all frames.
6616 2010-08-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6618         * whitespace.el: Allow cleaning up blanks without blank
6619         visualization (Bug#6651).  Adjust help window for
6620         whitespace-toggle-options (Bug#6479).  Allow to use fill-column
6621         instead of whitespace-line-column (from EmacsWiki).  New version
6622         13.1.
6623         (whitespace-style): Add new value 'face.  Adjust docstring.
6624         (whitespace-space, whitespace-hspace, whitespace-tab):
6625         Adjust foreground property face.
6626         (whitespace-line-column): Adjust docstring and type declaration.
6627         (whitespace-style-value-list, whitespace-toggle-option-alist)
6628         (whitespace-help-text): Adjust const initialization.
6629         (whitespace-toggle-options, global-whitespace-toggle-options):
6630         Adjust docstring.
6631         (whitespace-display-window, whitespace-interactive-char)
6632         (whitespace-style-face-p, whitespace-color-on): Adjust code.
6633         (whitespace-help-scroll): New fun.
6635 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
6637         * emacs-lisp/package.el (list-packages): Alias for
6638         package-list-packages.
6640 2010-08-24  Kevin Ryde  <user42@zip.com.au>
6642         * textmodes/flyspell.el (flyspell-check-tex-math-command): Doc fix
6643         (Bug#5651).
6645         * progmodes/ruby-mode.el (ruby): Add defgroup.
6647 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
6649         * progmodes/python.el: Add Ipython support (Bug#5390).
6650         (python-shell-prompt-alist)
6651         (python-shell-continuation-prompt-alist): New options.
6652         (python--set-prompt-regexp): New function.
6653         (inferior-python-mode, run-python, python-shell):
6654         Require ansi-color.  Use python--set-prompt-regexp to set the comint
6655         prompt based on the Python interpreter.
6656         (python--prompt-regexp): New var.
6657         (python-check-comint-prompt)
6658         (python-comint-output-filter-function): Use it.
6659         (run-python): Use a pipe (Bug#5694).
6661 2010-08-24  Fabian Ezequiel Gallina  <galli.87@gmail.com>  (tiny change)
6663         * progmodes/python.el (python-send-region): Send a different
6664         Python command if Ipython is in use.
6665         (python-check-version): Use a Python command to find the version.
6667 2010-08-24  Chong Yidong  <cyd@stupidchicken.com>
6669         * mouse.el (mouse-yank-primary): Avoid setting primary when
6670         deactivating the mark (Bug#6872).
6672 2010-08-23  Chris Foote  <chris@foote.com.au>  (tiny change)
6674         * progmodes/python.el (python-block-pairs): Allow use of "finally"
6675         with "else" (Bug#3991).
6677 2010-08-23  Michael Albinus  <michael.albinus@gmx.de>
6679         * net/dbus.el: Accept UNIX domain sockets as bus address.
6680         (top): Don't initialize `dbus-registered-objects-table' anymore,
6681         this is done in dbusbind,c.
6682         (dbus-check-event): Adapt test for bus.
6683         (dbus-return-values-table, dbus-unregister-service)
6684         (dbus-event-bus-name, dbus-introspect, dbus-register-property):
6685         Adapt doc string.
6687 2010-08-23  Juanma Barranquero  <lekktu@gmail.com>
6689         * ido.el (ido-use-virtual-buffers): Fix typo in docstring.
6691 2010-08-22  Juri Linkov  <juri@jurta.org>
6693         * simple.el (read-extended-command): New function with the logic
6694         for `completing-read' moved to Elisp from `execute-extended-command'.
6695         Use `function-called-at-point' in `minibuffer-default-add-function'
6696         to get a command name for M-n (bug#5364, bug#5214).
6698 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
6700         * startup.el (command-line-1): Issue warning for ignored arguments
6701         --unibyte, etc (Bug#6886).
6703 2010-08-22  Leo  <sdl.web@gmail.com>
6705         * net/rcirc.el (rcirc-add-or-remove): Accept a list of elements.
6706         (ignore, bright, dim, keyword): Split list of nicknames before
6707         passing to rcirc-add-or-remove (Bug#6894).
6709 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
6711         * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix (Bug#6880).
6713 2010-08-22  Leo  <sdl.web@gmail.com>
6715         Fix buffer-list rename&refresh after killing a buffer in ido.
6716         * ido.el: Revert Óscar's.
6717         (ido-kill-buffer-at-head): Exit the minibuffer with ido-exit=refresh.
6718         Remember the buffers at head, rather than their name.
6719         * iswitchb.el (iswitchb-kill-buffer): Re-make the list.
6721 2010-08-22  Kirk Kelsey  <kirk.kelsey@0x4b.net>  (tiny change)
6722             Stefan Monnier  <monnier@iro.umontreal.ca>
6724         * progmodes/make-mode.el (makefile-fill-paragraph): Account for the
6725         extra backslash added to each line (bug#6890).
6727 2010-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
6729         * subr.el (read-key): Don't echo keystrokes (bug#6883).
6731 2010-08-22  Glenn Morris  <rgm@gnu.org>
6733         * menu-bar.el (menu-bar-games-menu): Add landmark.
6735 2010-08-22  Glenn Morris  <rgm@gnu.org>
6737         * align.el (align-regexp): Make group and spacing arguments
6738         use the interactive defaults when non-interactive.  (Bug#6698)
6740         * mail/rmail.el (rmail-forward): Replace mail-text-start with its
6741         expansion, so as not to need sendmail.
6742         (mail-text-start): Remove declaration.
6743         (rmail-retry-failure): Require sendmail.
6745 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
6747         * subr.el (read-key): Don't hide the menu-bar entries (bug#6881).
6749 2010-08-22  Michael Albinus  <michael.albinus@gmx.de>
6751         * progmodes/flymake.el (flymake-start-syntax-check-process):
6752         Use `start-file-process' in order to let it run also on remote hosts.
6754 2010-08-22  Kenichi Handa  <handa@m17n.org>
6756         * files.el: Add `word-wrap' as safe local variable.
6758 2010-08-22  Glenn Morris  <rgm@gnu.org>
6760         * woman.el (woman-translate): Case matters.  (Bug#6849)
6762 2010-08-22  Chong Yidong  <cyd@stupidchicken.com>
6764         * simple.el (kill-region): Doc fix (Bug#6787).
6766 2010-08-22  Glenn Morris  <rgm@gnu.org>
6768         * calendar/diary-lib.el (diary-header-line-format):
6769         Fit it to the window, not the frame.
6771 2010-08-22  Andreas Schwab  <schwab@linux-m68k.org>
6773         * subr.el (ignore-errors): Add debug declaration.
6775 2010-08-22  Geoff Gole  <geoffgole@gmail.com>  (tiny change)
6777         * whitespace.el (whitespace-color-off): Remove post-command-hook
6778         locally.
6780 2010-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
6782         * vc/add-log.el (add-log-file-name): Don't get confused by symlinks.
6784 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
6786         * cus-edit.el (custom-group-value-create): Add extra newline
6787         before end line (Bug#6876).
6789 2010-08-21  Chong Yidong  <cyd@stupidchicken.com>
6791         * mouse.el (mouse-save-then-kill): Don't save region to kill ring
6792         when extending it.  Before killing on the second click, check if
6793         the buffer is the correct one.  Doc fix.
6794         (mouse-secondary-save-then-kill): Allow usage without first
6795         calling mouse-start-secondary, by defaulting to point.  Don't save
6796         an empty secondary selection.  Doc fix.
6798 2010-08-21  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
6800         * whitespace.el: Fix slow cursor movement (Bug#6172).  Reported by
6801         Christoph Groth <cwg@falma.de> and Liu Xin <x_liu@neusoft.com>.
6802         New version 13.0.
6803         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
6804         Adjust initialization.
6805         (whitespace-bob-marker, whitespace-eob-marker)
6806         (whitespace-buffer-changed): New vars.
6807         (whitespace-cleanup, whitespace-color-on, whitespace-color-off)
6808         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp)
6809         (whitespace-post-command-hook, whitespace-display-char-on):
6810         Adjust code.
6811         (whitespace-looking-back, whitespace-buffer-changed): New funs.
6812         (whitespace-space-regexp, whitespace-tab-regexp): Fun eliminated.
6814 2010-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
6816         * files.el (locate-file-completion-table): Only list the .el and .elc
6817         extensions if there's no other choice (bug#5955).
6819         * facemenu.el (facemenu-self-insert-data): New var.
6820         (facemenu-post-self-insert-function, facemenu-set-self-insert-face):
6821         New functions.
6822         (facemenu-add-face): Use them.
6824         * simple.el (blink-matching-open): Obey forward-sexp-function.
6826 2010-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6828         * simple.el (prog-mode-map): New var.
6829         (prog-indent-sexp): New command.
6831         * progmodes/octave-mod.el (octave-mode-menu): Make toggle buttons.
6833         * progmodes/prolog.el (smie): Require.
6835         * emacs-lisp/smie.el (smie-default-backward-token)
6836         (smie-default-forward-token): Strip properties.
6837         (smie-next-sexp): Be more careful with associative operators.
6838         (smie-forward-sexp-command): Generalize.
6839         (smie-backward-sexp-command): Simplify.
6840         (smie-closer-alist): New var.
6841         (smie-close-block): New command.
6842         (smie-indent-debug-log): New var.
6843         (smie-indent-offset-rule): Add a few more cases.
6844         (smie-indent-column): New function.
6845         (smie-indent-after-keyword): Use it.
6846         (smie-indent-keyword): Use it.
6847         Fix up the opener code's point position.
6848         (smie-indent-comment): Only applies at BOL.
6849         (smie-indent-debug): New command.
6851         * emacs-lisp/autoload.el (make-autoload): Preload the macros's
6852         declarations that are useful before running the macro.
6854 2010-08-18  Joakim Verona  <joakim@verona.se>
6856         * image.el (imagemagick-types-inhibit): New variable.
6857         (imagemagick-register-types): New function.
6858         * image-mode.el (image-transform-properties): New function.
6859         (image-transform-set-scale, image-transform-fit-to-height)
6860         (image-transform-set-rotation, image-transform-set-resize)
6861         (image-transform-fit-to-width, image-transform-fit-to-height):
6862         New functions.
6863         (image-toggle-display-image): Support image transforms.
6865 2010-08-18  Katsumi Yamaoka  <yamaoka@jpl.org>
6867         * image.el (create-animated-image): Don't add heuristic mask to image
6868         (Bug#6839).
6870 2010-08-18  Jan Djärv  <jan.h.d@swipnet.se>
6872         * term/ns-win.el (ns-get-pasteboard, ns-set-pasteboard):
6873         Use QCLIPBOARD instead of QPRIMARY (Bug#6677).
6875 2010-08-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6877         * emacs-lisp/lisp.el (up-list): Obey forward-sexp-function if set.
6879         Font-lock '...' strings, plus various simplifications and fixes.
6880         * progmodes/octave-mod.el (octave-font-lock-keywords): Use regexp-opt.
6881         (octave-font-lock-close-quotes): New function.
6882         (octave-font-lock-syntactic-keywords): New var.
6883         (octave-mode): Use it.  Set beginning-of-defun-function.
6884         (octave-mode-map): Don't override the <foo>-defun commands.
6885         (octave-mode-menu): Pass it directly to easy-menu-define;
6886         remove (now generic) <foo>-defun commands; use info-lookup-symbol.
6887         (octave-block-match-alist): Fix up last change so that
6888         octave-close-block uses the more specific keyword.
6889         (info-lookup-mode): Silence byte-compiler.
6890         (octave-beginning-of-defun): Not interactive any more.
6891         Optimize slightly.
6892         (octave-end-of-defun, octave-mark-defun, octave-in-defun-p): Remove.
6893         (octave-indent-defun, octave-send-defun): Use mark-defun instead.
6894         (octave-completion-at-point-function): Make sure point is within
6895         beg..end.
6896         (octave-reindent-then-newline-and-indent):
6897         Use reindent-then-newline-and-indent.
6898         (octave-add-octave-menu): Remove.
6900 2010-08-17  Jan Djärv  <jan.h.d@swipnet.se>
6902         * mail/emacsbug.el (report-emacs-bug-insert-to-mailer)
6903         (report-emacs-bug-can-use-xdg-email): New functions.
6904         (report-emacs-bug): Set can-xdg-email to result of
6905         report-emacs-bug-can-use-xdg-email.  If can-xdg-email bind
6906         \C-cm to report-emacs-bug-insert-to-mailer and add help text
6907         about it.
6909         * net/browse-url.el (browse-url-default-browser): Add cond
6910         for browse-url-xdg-open.
6911         (browse-url-can-use-xdg-open, browse-url-xdg-open): New functions.
6913 2010-08-17  Glenn Morris  <rgm@gnu.org>
6915         * progmodes/cc-engine.el (c-new-BEG, c-new-END)
6916         (c-fontify-recorded-types-and-refs): Define for compiler.
6917         * progmodes/cc-mode.el (c-new-BEG, c-new-END): Move definitions
6918         before use.
6920         * calendar/icalendar.el (icalendar--convert-recurring-to-diary):
6921         Fix format call.
6923 2010-08-17  Michael Albinus  <michael.albinus@gmx.de>
6925         * net/tramp.el (tramp-handle-make-symbolic-link): Flush file
6926         properties.
6927         (tramp-handle-process-file): Call the program in a subshell, in
6928         order to preserve working directory.
6929         (tramp-action-password): Hide password prompt before next run.
6930         (tramp-process-actions): Widen connection buffer for the trace.
6932 2010-08-16  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
6934         * net/rcirc.el (rcirc-log-process-buffers): New option.
6935         (rcirc-print): Use it.
6936         (rcirc-generate-log-filename): New function.
6937         (rcirc-log-filename-function): Change default to
6938         rcirc-generate-log-filename (Bug#6828).
6940 2010-08-16  Chong Yidong  <cyd@stupidchicken.com>
6942         * simple.el (deactivate-mark): If select-active-regions is `only',
6943         only set selection for temporarily active regions.
6945         * cus-start.el: Change defcustom for select-active-regions.
6947 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
6949         * mouse.el (mouse--drag-set-mark-and-point): New function.
6950         (mouse-drag-track): Use LOCATION arg to push-mark.
6951         Use mouse--drag-set-mark-and-point to take click-count into
6952         consideration when updating point and mark (Bug#6840).
6954 2010-08-15  Chong Yidong  <cyd@stupidchicken.com>
6956         * progmodes/compile.el (compilation-error-regexp-alist-alist):
6957         Give the Ruby rule a lower priority than Gnu (Bug#6778).
6959 2010-08-14  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
6961         * font-lock.el (lisp-font-lock-keywords-2):
6962         Add combine-after-change-calls, condition-case-no-debug,
6963         with-demoted-errors, and with-silent-modifications (Bug#6025).
6965 2010-08-14  Kevin Ryde  <user42@zip.com.au>
6967         * emacs-lisp/copyright.el (copyright-update-year)
6968         (copyright-update): Temporary switch-to-buffer to ensure the
6969         buffer change being queried is visible (Bug#5394).
6971 2010-08-14  Tom Tromey  <tromey@redhat.com>
6973         * progmodes/etags.el (tags-file-name): Mark safe if stringp
6974         (Bug#6733).
6976 2010-08-14  Eli Zaretskii  <eliz@gnu.org>
6978         * mouse.el (mouse-yank-primary): Fix mouse-2 on MS-Windows and
6979         MS-DOS.  (Bug#6689)
6981 2010-08-13  Jan Djärv  <jan.h.d@swipnet.se>
6983         * menu-bar.el (menu-bar-set-tool-bar-position): New function.
6984         (menu-bar-showhide-tool-bar-menu-customize-enable-left)
6985         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
6986         (menu-bar-showhide-tool-bar-menu-customize-enable-top)
6987         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom):
6988         Call menu-bar-set-tool-bar-position.
6990 2010-08-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6992         * progmodes/octave-mod.el (octave-mode-syntax-table): Use the new "c"
6993         comment style (bug#6834).
6994         * progmodes/scheme.el (scheme-mode-syntax-table):
6995         * emacs-lisp/lisp-mode.el (lisp-mode-syntax-table): Remove spurious
6996         "b" flag in "' 14b" syntax.
6998         * progmodes/octave-mod.el (octave-mode-map): Remove special bindings
6999         for (un)commenting the region and performing completion.
7000         (octave-mode-menu): Use standard commands for help and completion.
7001         (octave-mode-syntax-table): Support %{..%} comments (sort of).
7002         (octave-mode): Use define-derived-mode.
7003         Set completion-at-point-functions and don't set columns.
7004         Don't disable adaptive-fill-regexp.
7005         (octave-describe-major-mode, octave-comment-region)
7006         (octave-uncomment-region, octave-comment-indent)
7007         (octave-indent-for-comment): Remove.
7008         (octave-indent-calculate): Rename from calculate-octave-indent.
7009         (octave-indent-line, octave-fill-paragraph): Update caller.
7010         (octave-initialize-completions): No need to make an alist.
7011         (octave-completion-at-point-function): New function.
7012         (octave-complete-symbol): Use it.
7013         (octave-insert-defun): Use define-skeleton.
7015         * progmodes/octave-mod.el (octave-mode): Set comment-add.
7016         (octave-mode-map): Use comment-dwim (bug#6829).
7018 2010-08-12  Antoine Levitt  <antoine.levitt@gmail.com>  (tiny change)
7020         * cus-edit.el (custom-save-variables, custom-save-faces): Fix up
7021         indentation of inserted comment.
7023 2010-08-11  Jan Djärv  <jan.h.d@swipnet.se>
7025         * faces.el (region): Add type gtk that uses gtk colors.
7027         * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
7028         Handle theme-name change.
7030 2010-08-10  Michael R. Mauger  <mmaug@yahoo.com>
7032         * progmodes/sql.el: Version 2.5
7033         (sql-product-alist): Add :prompt-cont-regexp property for several
7034         database products.
7035         (sql-prompt-cont-regexp): New variable.
7036         (sql-output-newline-count, sql-output-by-send):
7037         New variables.  Record number of newlines in input text.
7038         (sql-send-string): Handle multiple filters and count newlines.
7039         (sql-send-magic-terminator): Count terminator newline.
7040         (sql-interactive-remove-continuation-prompt): Filters output to
7041         remove continuation prompts; one for each newline.
7042         (sql-interactive-mode): Set up new variables, prompt regexp and
7043         output filter.
7044         (sql-mode-sqlite-font-lock-keywords): Correct some keywords.
7045         (sql-make-alternate-buffer-name): Correct buffer name in edge cases.
7047 2010-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
7049         * emacs-lisp/pcase.el: New file.
7051 2010-08-10  Michael Albinus  <michael.albinus@gmx.de>
7053         * net/tramp.el (tramp-vc-registered-read-file-names): Read input
7054         as here-document, otherwise the command could exceed maximum
7055         length of command line.
7056         (tramp-handle-vc-registered): Call script accordingly.
7057         Reported by Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>.
7059 2010-08-10  Kenichi Handa  <handa@m17n.org>
7061         * language/hebrew.el: Exclude U+05C3 (Hebrew SOF PASUQ) from the
7062         composable pattern.
7064 2010-08-09  Chong Yidong  <cyd@stupidchicken.com>
7066         * emacs-lisp/package.el (package-version-split)
7067         (package--version-first-nonzero, package-version-compare):
7068         Functions removed.
7069         (package-directory-list, package-load-all-descriptors)
7070         (package--built-in, package-activate, define-package)
7071         (package-installed-p, package-compute-transaction)
7072         (package-read-all-archive-contents)
7073         (package--add-to-archive-contents, package-buffer-info)
7074         (package-tar-file-info, package-list-packages-internal):
7075         Use version-to-list and version-list-*.
7077         * emacs-lisp/package-x.el (package-upload-buffer-internal):
7078         Use version-to-list.
7079         (package-upload-buffer-internal): Use version-list-<=.
7081 2010-08-09  Kenichi Handa  <handa@m17n.org>
7083         * language/hebrew.el: Exclude U+05BD (Hebrew MAQAF) from the
7084         composable pattern.
7086 2010-08-08  Chong Yidong  <cyd@stupidchicken.com>
7088         * tutorial.el (tutorial--default-keys): C-d is now bound to
7089         delete-forward-char (Bug#6826).
7091         * mouse.el (mouse-drag-track): Remove accidentally-removed check
7092         for `double' value of mouse-1-click-follows-link (Bug#6807).
7094 2010-08-08  Johan Bockgård  <bojohan@gnu.org>
7096         * replace.el (replace-highlight): Bind isearch-forward and
7097         isearch-error, ensuring that highlighting is updated if the user
7098         switches the search direction (Bug#6808).
7100         * isearch.el (isearch-lazy-highlight-forward): New var.
7101         (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
7102         (isearch-lazy-highlight-update): Use it.
7104 2010-08-08  Kenichi Handa  <handa@m17n.org>
7106         * international/mule.el (define-charset): Store NAME as :base property.
7107         (ctext-non-standard-encodings-table): Pay attention to charset aliases.
7108         (ctext-pre-write-conversion): Sort ctext-standard-encodings by the
7109         current priority.  Force using the designation of the specific
7110         charset by adding `charset' text property.  Improve the whole algorithm.
7112 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
7114         * emulation/pc-select.el (pc-selection-mode-hook)
7115         (copy-region-as-kill-nomark, beginning-of-buffer-mark)
7116         (pc-selection-mode): Fix typos in docstrings.
7118 2010-08-08  Kenichi Handa  <handa@m17n.org>
7120         * language/cyrillic.el: Don't add "microsoft-cp1251" to
7121         ctext-non-standard-encodings-alist here.
7123         * international/mule.el (ctext-non-standard-encodings-alist):
7124         Add "koi8-r" and "microsoft-cp1251".
7125         (ctext-standard-encodings): New variable.
7126         (ctext-non-standard-encodings-table): List only elements for
7127         non-standard encodings.
7128         (ctext-pre-write-conversion): Adjust for the above change.
7129         Check ctext-standard-encodings.
7131         * international/mule-conf.el (compound-text): Doc fix.
7132         (ctext-no-compositions): Doc fix.
7133         (compound-text-with-extensions): Doc fix.
7135 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7137         * simple.el (exchange-dot-and-mark): Mark obsolete, finally.
7139 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
7141         * progmodes/which-func.el (which-func-format): Split help-echo text
7142         into lines, like other mode-line tooltips.
7144         * server.el (server-start): When using TCP sockets, force IPv4
7145         and use a literal 127.0.0.1 for localhost.  (Related to bug#6781.)
7147 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7149         * bindings.el (complete-symbol): Run completion-at-point as a fallback.
7151 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
7153         * term.el (term-delimiter-argument-list): Reflow docstring.
7154         (term-read-input-ring, term-write-input-ring, term-send-input)
7155         (term-bol, term-erase-in-display, serial-supported-or-barf):
7156         Fix typos in docstrings.
7158 2010-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7160         * bindings.el (function-key-map): Add a S-tab => backtab fallback.
7162 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
7164         * dabbrev.el (dabbrev-completion): Fix typo in docstring.
7166 2010-08-08  MON KEY  <monkey@sandpframing.com>  (tiny change)
7168         * emacs-lisp/syntax.el (syntax-ppss-toplevel-pos):
7169         Fix typo in docstring (bug#6747).
7171 2010-08-08  Leo  <sdl.web@gmail.com>
7173         * eshell/esh-io.el (eshell-get-target): Better detection of
7174         read-only file (Bug#6762).
7176 2010-08-08  Juanma Barranquero  <lekktu@gmail.com>
7178         * align.el (align-default-spacing): Doc fix.
7179         (align-region-heuristic, align-regexp): Fix typos in docstrings.
7181 2010-08-08  Stephen Peters  <speters@itasoftware.com>
7183         * calendar/icalendar.el
7184         (icalendar--split-value): Fix splitting regexp.  (Bug#6766)
7185         (icalendar--get-weekday-numbers): New.
7186         (icalendar--convert-recurring-to-diary): Handle multiple byday
7187         values in weekly rules.  (Bug#6766)
7189 2010-08-08  Ulf Jasper  <ulf.jasper@web.de>
7191         * calendar/icalendar.el (icalendar-uid-format): Doc fix.
7192         (icalendar--create-uid, icalendar-export-region)
7193         (icalendar--parse-summary-and-rest): Code formatting.
7195 2010-08-08  Jay Belanger  <jay.p.belanger@gmail.com>
7197         * calc/calc.el (calc-trail-mode,calc-refresh): Use `face' property
7198         to italicize headers.
7199         (calc-highlight-selections-with-faces): New variable.
7200         (calc-selected-face, calc-nonselected-face): New faces.
7202         * calc/calccomp.el (math-comp-highlight-string): Use
7203         `calc-highlight-selections-with-faces' to determine how to highlight
7204         sub-formulas.
7206         * calc/calc-sel.el (calc-show-selections): Change message to when
7207         using faces to highlight selections.
7209 2010-08-07  Michael R. Mauger  <mmaug@yahoo.com>
7211         * progmodes/sql.el (sql-mode-sqlite-font-lock-keywords):
7212         Add SQLite 3 keywords, functions and datatypes.
7213         (sql-interactive-mode): Remove `comint-process-echoes' set to t
7214         (Bug#6686).
7216 2010-08-07  Chong Yidong  <cyd@stupidchicken.com>
7218         * simple.el (select-active-regions): Move to keyboard.c.
7219         (deactivate-mark): Used saved-region-selection.
7220         (select-active-region): Function removed.
7221         (activate-mark, set-mark, push-mark-command)
7222         (handle-shift-selection): Don't call it.
7223         (keyboard-quit): Avoid adding the region to the window selection.
7225         * mouse.el (mouse-drag-track): Remove hacks to deal with old
7226         select-active-regions implementation.
7227         (mouse-yank-at-click): Doc fix.
7229         * cus-start.el: Add custom declaration for select-active-regions.
7231 2010-08-07  Eli Zaretskii  <eliz@gnu.org>
7233         * simple.el (delete-forward-char): Doc fix.
7235         * tutorial.el (help-with-tutorial): Hack safe file-local variables
7236         after reading the tutorial.
7238 2010-08-06  Alan Mackenzie  <bug-cc-mode@gnu.org>
7240         * progmodes/cc-cmds.el (c-mask-paragraph, c-fill-paragraph):
7241         Fix for the case that a C style comment has its delimiters alone on
7242         their respective lines.
7244 2010-08-06  Michael Albinus  <michael.albinus@gmx.de>
7246         * net/tramp.el (tramp-handle-start-file-process): Set connection
7247         property "vec".
7248         (tramp-process-sentinel): Use it for flushing the cache.
7249         We cannot do it via the process buffer, the buffer could be deleted
7250         already when running the sentinel.
7252 2010-08-06  Jürgen Hötzel  <juergen@archlinux.org>  (tiny change)
7254         * comint.el (comint-mode): Make directory tracking functions
7255         functional on remote files.  (Bug#6764)
7257 2010-08-06  Dan Nicolaescu  <dann@ics.uci.edu>
7259         * vc/diff-mode.el (diff-mode-shared-map): Bind g to revert-buffer.
7261 2010-08-05  Eli Zaretskii  <eliz@gnu.org>
7263         * emacs-lisp/find-gc.el (find-gc-source-files):
7264         Rename unexec.c => unexcoff.c.
7266         * emacs-lisp/authors.el (authors-fixed-entries):
7267         Rename unexec.c => unexcoff.c.
7269 2010-08-05  Michael Albinus  <michael.albinus@gmx.de>
7271         * net/tramp.el (tramp-handle-dired-uncache): Flush directory
7272         cache, not only file cache.
7273         (tramp-process-sentinel): New defun.
7274         (tramp-handle-start-file-process): Use it, in order to invalidate
7275         file caches.
7277 2010-08-03  Leo  <sdl.web@gmail.com>
7279         * server.el (server-start): Simplify loop.
7281 2010-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
7283         * frame.el (screen-height, screen-width, set-screen-width)
7284         (set-screen-height): Remove ancient compatibility aliases.
7286         * textmodes/fill.el (justify-current-line): Don't add 1 to nspaces
7287         when justifying.  It seems useless and harmful for ncols=1 (bug#6738).
7289         * emacs-lisp/timer.el (timer-event-handler): Protect against timers
7290         that change current buffer.
7292 2010-08-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
7294         * mouse.el (mouse-fixup-help-message): Match "mouse-2" only at the
7295         beginning of the string.  Use `string-match-p'.  (Bug#6765)
7297 2010-08-01  Jan Djärv  <jan.h.d@swipnet.se>
7299         * cus-start.el (x-gtk-use-system-tooltips): New variable.
7301 2010-08-01  Chong Yidong  <cyd@stupidchicken.com>
7303         * emacs-lisp/package.el (package--list-packages): Fix column alignment.
7304         (package--builtins): Tweak descriptions.
7305         (package-print-package): Upcase descriptions if necessary.
7306         Show all built-in packages in font-lock-builtin-face.
7307         (package-list-packages-internal): Omit "emacs" package.
7308         Show status of built-in packages as "built-in".
7310 2010-07-31  Chong Yidong  <cyd@stupidchicken.com>
7312         * mouse.el (mouse-save-then-kill): Doc fix.  Deactivate mark
7313         before killing to preserve the primary selection (Bug#6701).
7315         * term/x-win.el (x-select-text): Doc fix.
7317 2010-07-31  Nathaniel Flath  <flat0103@gmail.com>
7319         * progmodes/cc-vars.el (c-offsets-alist, c-inside-block-syms)
7320         (objc-font-lock-extra-types):
7321         * progmodes/cc-mode.el (c-basic-common-init):
7322         * progmodes/cc-langs.el (c-make-mode-syntax-table)
7323         (c++-make-template-syntax-table)
7324         (c-identifier-syntax-modifications, c-symbol-start, c-operators)
7325         (c-<-op-cont-regexp, c->-op-cont-regexp, c-class-decl-kwds)
7326         (c-brace-list-decl-kwds, c-modifier-kwds, c-prefix-spec-kwds-re)
7327         (c-type-list-kwds, c-decl-prefix-re, c-opt-type-suffix-key):
7328         * progmodes/cc-fonts.el (c-make-inverse-face)
7329         (c-basic-matchers-after):
7330         * progmodes/cc-engine.el (c-forward-keyword-clause)
7331         (c-forward-<>-arglist, c-forward-<>-arglist-recur)
7332         (c-forward-name, c-forward-type, c-forward-decl-or-cast-1)
7333         (c-guess-continued-construct, c-guess-basic-syntax):
7334         Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang).
7335         The above functions were modified or created.
7337 2010-07-31  Jan Djärv  <jan.h.d@swipnet.se>
7339         * faces.el (face-all-attributes): Improve documentation (Bug#6767).
7341 2010-07-31  Eli Zaretskii  <eliz@gnu.org>
7343         * files.el (bidi-paragraph-direction): Define safe local values.
7345         * language/hebrew.el ("Hebrew"): Add TUTORIAL.he to
7346         language-info-alist.  Remove outdated FIXME in a comment.
7348 2010-07-31  Alan Mackenzie  <acm@muc.de>
7350         * progmodes/cc-cmds.el (c-mask-paragraph): Fix bug #6688:
7351         Auto-fill broken in C/C++ modes.
7353 2010-07-29  Jan Djärv  <jan.h.d@swipnet.se>
7355         * menu-bar.el (menu-bar-showhide-tool-bar-menu-customize-enable-left)
7356         (menu-bar-showhide-tool-bar-menu-customize-disable)
7357         (menu-bar-showhide-tool-bar-menu-customize-enable-right)
7358         (menu-bar-showhide-tool-bar-menu-customize-enable-bottom)
7359         (menu-bar-showhide-tool-bar-menu-customize-enable-top): New functions
7360         (menu-bar-showhide-tool-bar-menu): If tool bar is moveable,
7361         make a menu for Options => toolbar that can move it.
7363 2010-07-29  Chong Yidong  <cyd@stupidchicken.com>
7365         * emacs-lisp/package-x.el (package--make-rss-entry):
7366         (package-maint-add-news-item, package--update-news)
7367         (package-upload-buffer-internal): New arg ARCHIVE-URL.
7369         * emacs-lisp/package.el (package-archive-url): Rename from
7370         package-archive-id.
7371         (package-install): Doc fix.
7372         (package-download-single, package-download-tar, package-install)
7373         (package-menu-view-commentary): Callers changed.
7375 2010-07-29  Michael Albinus  <michael.albinus@gmx.de>
7377         * net/tramp.el (tramp-handle-start-file-process): Check only for
7378         `remote-tty' process property.
7379         (tramp-open-shell): Don't check for tty.
7380         (tramp-open-connection-setup-interactive-shell): Set `remote-tty'
7381         process property.
7383         * progmodes/gdb-mi.el (gdb-init-1): Check also for tty on a remote
7384         host.
7386 2010-07-28  Chong Yidong  <cyd@stupidchicken.com>
7388         * emacs-lisp/package.el (package-load-list, package-archives)
7389         (package-archive-contents, package-user-dir)
7390         (package-directory-list, package--builtins, package-alist)
7391         (package-activated-list, package-obsolete-alist): Mark as risky.
7393 2010-07-28  Phil Hagelberg  <phil@evri.com>
7395         Add support for non-default package repositories.
7396         * emacs-lisp/package.el (package-archive-base): Var deleted.
7397         (package-archives): New variable.
7398         (package-archive-contents): Doc fix.
7399         (package-load-descriptor): Do nothing if descriptor file is missing.
7400         (package--write-file-no-coding): New function.
7401         (package-unpack-single): Use it.
7402         (package-archive-id): New function.
7403         (package-download-single, package-download-tar)
7404         (package-menu-view-commentary): Use it.
7405         (package-installed-p): Make second argument optional.
7406         (package-read-all-archive-contents): New function.
7407         (package-initialize): Use it.
7408         (package-read-archive-contents): Add ARCHIVE argument.
7409         (package--add-to-archive-contents): New function.
7410         (package-install): Don't call package-read-archive-contents.
7411         (package--download-one-archive): Store archive file in a
7412         subdirectory of package-user-dir.
7413         (package-menu-execute): Remove spurious line movement.
7415 2010-07-28  Jan Djärv  <jan.h.d@swipnet.se>
7417         * cus-start.el (tool-bar-style): Add text-image-horiz.
7419 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
7421         * progmodes/gud.el (gud-common-init): Check for remoteness of
7422         `file', and not of `default-directory'.
7424 2010-07-28  Michael Albinus  <michael.albinus@gmx.de>
7426         * net/tramp.el (tramp-methods): Move hostname to the end in all
7427         ssh `tramp-login-args'.
7428         (tramp-verbose): Describe verbose level 9.
7429         (tramp-open-shell): Check for tty if `tramp-verbose' >= 9.
7430         (tramp-open-connection-setup-interactive-shell): Trace stty
7431         settings if `tramp-verbose' >= 9.
7432         (tramp-handle-start-file-process): Implement tty setting.
7433         (Bug#4604, Bug#6360)
7435         * net/tramp-cmds.el (tramp-bug): Recommend setting of
7436         `tramp-verbose' to 9.
7438 2010-07-27  Aaron S. Hawley  <ashawley@burlingtontelecom.net>
7440         * emacs-lisp/re-builder.el (reb-re-syntax, reb-lisp-mode)
7441         (reb-lisp-syntax-p, reb-change-syntax, reb-cook-regexp):
7442         Remove references to package `lisp-re' (bug#4369).
7444 2010-07-27  Tom Tromey  <tromey@redhat.com>
7446         * progmodes/js.el (js-mode):
7447         * progmodes/make-mode.el (makefile-mode):
7448         * progmodes/simula.el (simula-mode):
7449         * progmodes/tcl.el (tcl-mode): Derive from prog-mode.
7451 2010-07-27  Juanma Barranquero  <lekktu@gmail.com>
7453         * help-fns.el (find-lisp-object-file-name): Doc fix (bug#6494).
7455         * time.el (display-time-day-and-date): Remove spurious * in docstring.
7456         (display-time-world-buffer-name, display-time-world-mode-map):
7457         Fix typos in docstrings.
7459 2010-07-27  Shyam Karanatt  <shyam@swathanthran.in>  (tiny change)
7461         * image-mode.el (image-display-size): New function.
7462         (image-forward-hscroll, image-next-line, image-eol, image-eob)
7463         (image-mode-fit-frame): Use it (Bug#6639).
7465 2010-07-27  Chong Yidong  <cyd@stupidchicken.com>
7467         * dired.el (dired-buffers-for-dir): Handle list values of
7468         dired-directory (Bug#6636).
7470 2010-07-26  Sam Steingold  <sds@gnu.org>
7472         * mouse.el (mouse-yank-primary, mouse-yank-secondary):
7473         Do not call `x-get-selection' the second time, reuse the value.
7475 2010-07-26  Daiki Ueno  <ueno@unixuser.org>
7477         * epa-mail.el (epa-mail-mode-map): Add alternative key bindings
7478         which consist of control chars only.  Suggested by Richard Stallman.
7480 2010-07-25  Daiki Ueno  <ueno@unixuser.org>
7482         * epa-file.el (epa-file-insert-file-contents): Check if LOCAL-FILE
7483         exists before passing an error to find-file-not-found-functions
7484         (bug#6723).
7486 2010-07-23  Lukas Huonker  <l.huonker@gmail.com>
7488         * play/tetris.el (tetris-tty-colors, tetris-x-colors, tetris-blank):
7489         Remove leading nil element, adjust values.
7490         (tetris-shapes, tetris-shape-scores):
7491         Change representation of shapes and remove some redundancy.
7492         (tetris-get-shape-cell, tetris-shape-width, tetris-draw-next-shape)
7493         (tetris-draw-shape, tetris-erase-shape, tetris-test-shape):
7494         Adjust for working with new representation of shapes.
7495         (tetris-shape-rotations): New function.
7496         (tetris-move-bottom, tetris-move-left, tetris-move-right)
7497         (tetris-rotate-prev, tetris-rotate-next):
7498         Adjust for working with the new version of tetris-test-shape.
7500 2010-07-23  Markus Triska  <markus.triska@gmx.at>
7502         * progmodes/ps-mode.el: Use comint (bug#5954).
7503         (ps-run-mode-map): Adapt for comint-mode; omit "\r", [return]..
7504         (ps-mode-other-newline): Simplify.
7505         (ps-run-mode): Derive from comint-mode instead of
7506         fundamental-mode, yielding input history etc.
7507         (ps-run-start, ps-run-quit, ps-run-clear, ps-run-region)
7508         (ps-run-send-string): Adapt for comint-mode.
7509         (ps-run-newline): Remove now unneeded function.
7511 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
7513         * net/tramp.el (tramp-methods): Move hostname to the end in all
7514         plink `tramp-login-args'.
7516 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
7518         * net/tramp.el (tramp-open-shell): New defun.
7519         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
7520         Use it.
7522 2010-07-23  Michael Albinus  <michael.albinus@gmx.de>
7524         * net/tramp.el (tramp-file-name-regexp-unified)
7525         (tramp-completion-file-name-regexp-unified): On W32 systems, do
7526         not regard the volume letter as remote filename.  (Bug#5447)
7528 2010-07-23  Juanma Barranquero  <lekktu@gmail.com>
7530         * custom.el (custom-declare-variable): Give a clearer error message
7531         when the docstring is missing (bug#6476).
7533 2010-07-22  Michael R. Mauger  <mmaug@yahoo.com>
7535         * progmodes/sql.el: Version 2.4.  Improved Login prompting.
7536         (sql-login-params): New widget definition.
7537         (sql-oracle-login-params, sql-mysql-login-params)
7538         (sql-solid-login-params, sql-sybase-login-params)
7539         (sql-informix-login-params, sql-ingres-login-params)
7540         (sql-ms-login-params, sql-postgres-login-params)
7541         (sql-interbase-login-params, sql-db2-login-params)
7542         (sql-linter-login-params): Use it.
7543         (sql-sqlite-login-params): Use it; Define "database" parameter as
7544         a file name.
7545         (sql-sqlite-program): Change to "sqlite3".
7546         (sql-comint-sqlite): Make sure database name is complete.
7547         (sql-for-each-login): New function.
7548         (sql-connect, sql-save-connection): Use it.
7549         (sql-get-login-ext): New function.
7550         (sql-get-login): Use it.
7551         (sql-make-alternate-buffer-name): Handle :file parameters.
7553 2010-07-22  Juanma Barranquero  <lekktu@gmail.com>
7555         * dired.el (dired-no-confirm): Document value t and fix defcustom to
7556         accept it (bug#6597).  Suggested by Drew Adams <drew.adams@oracle.com>.
7558 2010-07-22  Teemu Likonen  <tlikonen@iki.fi>  (tiny change)
7560         * dired.el (dired-mode-map): Use command remapping (bug#6632).
7562 2010-07-22  Lawrence Mitchell  <wence@gmx.li>
7564         * term/vt100.el (vt100-wide-mode): Fix :init-value keyword (bug#6620).
7566 2010-07-21  Michael Albinus  <michael.albinus@gmx.de>
7568         * net/tramp.el (tramp-get-ls-command)
7569         (tramp-get-ls-command-with-dired): Run tests on "/dev/null"
7570         instead of "/".
7572 2010-07-20  Michael R. Mauger  <mmaug@yahoo.com>
7574         * progmodes/sql.el: Version 2.3.
7575         (sql-connection-alist): Change keys from symbols to strings;
7576         enhanced the widget definition.
7577         (sql-mode-menu): Add submenu to select connections.
7578         (sql-interactive-mode-menu): Add "Save Connection" item.
7579         (sql-add-product): Fix menu item.
7580         (sql-get-product-feature): Improved error handling.
7581         (sql--alt-buffer-part, sql--alt-if-not-empty): Removed.
7582         (sql-make-alternate-buffer-name): Simplified.
7583         (sql-product-interactive): Handle missing product.
7584         (sql-connect): Support string keys, minor improvements.
7585         (sql-save-connection): New function.
7586         (sql-connection-menu-filter): New function.
7588 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
7590         * net/tramp.el (tramp-file-name-handler): Trace 'quit.
7591         (tramp-open-connection-setup-interactive-shell):
7592         Apply workaround for IRIX64 bug.  Move argument of last
7593         `tramp-send-command' where it belongs to.
7595 2010-07-20  Michael Albinus  <michael.albinus@gmx.de>
7597         * net/tramp.el (tramp-perl-file-attributes)
7598         (tramp-perl-directory-files-and-attributes): Don't pass "$3".
7599         (tramp-maybe-open-connection): Use `async-args' and `gw-args' in
7600         front of `login-args'.
7602 2010-07-19  Juanma Barranquero  <lekktu@gmail.com>
7604         * time.el (display-time-world-mode): Define with `define-derived-mode'.
7605         Set `show-trailing-whitespace' to nil.
7606         (display-time-world-display): Simplify.
7608 2010-07-18  Alan Mackenzie  <acm@muc.de>
7610         Enhance `c-file-style' in file/directory local variables.
7611         * progmodes/cc-mode.el (c-count-cfss): New function.
7612         (c-before-hack-hook): Call `c-set-style' differently according to
7613         whether c-file-style was set in file or directory local
7614         variables.
7616 2010-07-18  Michael R. Mauger  <mmaug@yahoo.com>
7618         * progmodes/sql.el: Version 2.2.
7619         (sql-product, sql-user, sql-database, sql-server, sql-port):
7620         Use defcustom :safe keyword rather than putting safe-local-variable
7621         property.
7622         (sql-password): Use defcustom :risky keyword rather than putting
7623         risky-local-variable property.
7624         (sql-oracle-login-params, sql-sqlite-login-params)
7625         (sql-solid-login-params, sql-sybase-login-params)
7626         (sql-informix-login-params, sql-ingres-login-params)
7627         (sql-ms-login-params, sql-postgres-login-params)
7628         (sql-interbase-login-params, sql-db2-login-params)
7629         (sql-linter-login-params): Add `port' option.
7630         (sql-get-product-feature): Add NO-INDIRECT parameter.
7631         (sql-comint-oracle, sql-comint-sybase)
7632         (sql-comint-informix, sql-comint-sqlite, sql-comint-mysql)
7633         (sql-comint-solid, sql-comint-ingres, sql-comint-ms)
7634         (sql-comint-postgres, sql-comint-interbase, sql-comint-db2)
7635         (sql-comint-linter): Rename sql-connect-* functions to
7636         sql-comint-*.
7637         (sql-product-alist, sql-mode-menu): Rename as above and
7638         :sqli-connect-func to :sqli-comint-func.
7639         (sql-connection): New variable.
7640         (sql-interactive-mode): Set it.
7641         (sql-connection-alist): New variable.
7642         (sql-connect): New function.
7643         (sql--alt-buffer-part, sql--alt-if-not-empty)
7644         (sql-make-alternate-buffer-name): Improved alternative buffer name.
7646 2010-07-17  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7648         * image-mode.el (image-bookmark-make-record): Do not set context
7649         in an image (Bug#6650).
7651 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
7653         * simple.el (select-active-region): New function.
7654         (push-mark-command, set-mark, activate-mark)
7655         (handle-shift-selection): Use it.
7656         (deactivate-mark): Don't check for size of region.
7658         * mouse.el (mouse-drag-track): Use select-active-region.
7660 2010-07-17  Michael Albinus  <michael.albinus@gmx.de>
7662         * net/tramp.el (tramp-get-ls-command-with-dired): Make test for
7663         "--dired" stronger.
7665 2010-07-17  Chong Yidong  <cyd@stupidchicken.com>
7667         * term/x-win.el (x-select-enable-primary): Change default to nil.
7668         (x-select-enable-clipboard): Add :version keyword.
7670         * mouse.el (mouse-drag-copy-region):
7671         * simple.el (select-active-regions): Likewise.
7673 2010-07-16  Reiner Steib  <Reiner.Steib@gmx.de>
7675         * vc/vc.el (vc-coding-system-inherit-eol): New defvar.
7676         (vc-coding-system-for-diff): Use it to decide whether to inherit
7677         from the file the EOL format for reading the diffs of that file.
7678         (Bug#4451)
7680 2010-07-16  Eli Zaretskii  <eliz@gnu.org>
7682         * mail/rmailmm.el (rmail-mime-save): Make the temp buffer
7683         unibyte, so compressed attachments are not compressed again.
7685 2010-07-16  Michael Albinus  <michael.albinus@gmx.de>
7687         * net/tramp.el (tramp-handle-shell-command): Don't use hard-wired
7688         "/bin/sh" but `tramp-remote-sh' from `tramp-methods'.
7689         (tramp-find-shell): Simplify setting connection property.
7690         (tramp-get-ls-command): Make test for "--color=never" stronger.
7692 2010-07-15  Simon South  <ssouth@member.fsf.org>
7694         * progmodes/delphi.el (delphi-previous-indent-of): Indent case
7695         blocks within record declarations (i.e. variant parts) correctly.
7697 2010-07-15  Simon South  <ssouth@member.fsf.org>
7699         * progmodes/delphi.el (delphi-token-at): Give newlines precedence
7700         over literal tokens when parsing so newlines aren't "absorbed" by
7701         single-line comments.  Corrects the indentation of case blocks
7702         that have a comment on the first line.
7704 2010-07-14  Karl Fogel  <kfogel@red-bean.com>
7706         * bookmark.el (bookmark-load-hook): Fix doc string as suggested
7707         by Drew Adams (Bug#5504).
7709 2010-07-14  Jan Djärv  <jan.h.d@swipnet.se>
7711         * xt-mouse.el (xterm-mouse-event-read): Fix for characters > 127
7712         now that Unicode is used (Bug#6594).
7714 2010-07-14  Chong Yidong  <cyd@stupidchicken.com>
7716         * term/x-win.el (x-select-enable-clipboard): Default to t.
7717         (x-initialize-window-system): Don't overwrite Paste menu item.
7719         * simple.el (select-active-regions): Default to t.
7720         (push-mark-command): Don't overwrite primary with empty string.
7722         * mouse.el: Bind mouse-2 to mouse-yank-primary.
7723         (mouse-drag-copy-region): Default to nil.
7725         * menu-bar.el (menu-bar-enable-clipboard): Don't overwrite
7726         Cut/Copy/Paste menu bar items.
7728 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7730         Allow C-w when setting a bookmark in a Gnus Article buffer (Bug#5975).
7731         Patch applied by Karl Fogel.
7733         * bookmark.el (bookmark-set): Don't set `bookmark-yank-point'
7734         and `bookmark-current-buffer' if they have been already set in
7735         another buffer (e.g gnus-art).
7737 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
7738             Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7740         Preparation for setting bookmarks in Gnus article buffers (Bug#5975).
7742         * bookmark.el (bookmark-make-record-default): Allow unneeded
7743         information to be omitted from the record.
7745         Adjust declarations and calls:
7747         * info.el (bookmark-make-record-default): Adjust declaration.
7748         (Info-bookmark-make-record): Adjust call.
7750         * woman.el (bookmark-make-record-default): Adjust declaration.
7751         (woman-bookmark-make-record): Adjust call.
7753         * man.el (bookmark-make-record-default): Adjust declaration.
7754         (Man-bookmark-make-record): Adjust call.
7756         * image-mode.el (bookmark-make-record-default): Adjust declaration.
7758         * doc-view.el (bookmark-make-record-default): Adjust declaration.
7760 2010-07-13  Karl Fogel  <kfogel@red-bean.com>
7762         * bookmark.el (bookmark-show-annotation): Use `when' instead of `if'.
7763         This is also from Thierry Volpiatto's patch in bug #6444.  However,
7764         because it was extraneous to the functional change in that patch,
7765         and causes a re-indendation, I am committing it separately.
7767 2010-07-13  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
7769         * bookmark.el (bookmark-show-annotation): Ensure annotations show,
7770         e.g. in Info bookmarks, by using `switch-to-buffer-other-window'.
7771         Patch applied by Karl Fogel (Bug#6444).
7773 2010-07-13  Chong Yidong  <cyd@stupidchicken.com>
7775         * frame.el (make-frame): Fix typo in 2010-06-30 change (Bug#6625).
7777 2010-07-13  Adrian Robert  <Adrian.B.Robert@gmail.com>
7779         * term/ns-win.el: Bind M-~ to 'ns-prev-frame (due to Matthew
7780         Dempsky; bug#5084).  Remove incorrect binding for S-tab.
7781         (ns-alternatives-map): Change S-tab binding to backtab
7782         (bug#6616).
7784         * simple.el (normal-erase-is-backspace-setup-frame): Set mode on
7785         under ns.
7787 2010-07-12  Andreas Schwab  <schwab@linux-m68k.org>
7789         * language/tai-viet.el ("TaiViet"): Try to fix re-encoding bugs.
7790         (Bug#5806)
7792         * language/tv-util.el (tai-viet-re): Remove format.
7794 2010-07-12  Kenichi Handa  <handa@m17n.org>
7796         * language/hebrew.el: Remove no-byte-compile declaration.
7797         Change coding: tag to utf-8.  Register hebrew-shape-gstring in
7798         composition-function-table for 3-character looking back.
7799         (hebrew-font-get-precomposed): New function.
7800         (hebrew-shape-gstring): Utilize precomposed glyphs if available.
7802 2010-07-11  Chong Yidong  <cyd@stupidchicken.com>
7804         * mouse.el (mouse-drag-track): Handle select-active-regions
7805         (Bug#6612).
7807 2010-07-11  Magnus Henoch  <magnus.henoch@gmail.com>
7809         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Do not pass
7810         empty argument to gvfs-copy.
7812 2010-07-10  Glenn Morris  <rgm@gnu.org>
7814         * calendar/calendar.el (calendar-week-end-day): New function.
7815         * calendar/cal-tex.el (cal-tex-cursor-month): Remove unused vars.
7816         Respect calendar-week-start-day.  (Bug#6606)
7817         (cal-tex-insert-day-names, cal-tex-insert-blank-days)
7818         (cal-tex-insert-blank-days-at-end): Respect calendar-week-start-day.
7819         (cal-tex-first-blank-p, cal-tex-last-blank-p): Simplify, and
7820         respect calendar-week-start-day.
7822 2010-07-10  Chong Yidong  <cyd@stupidchicken.com>
7824         * simple.el (use-region-p): Doc fix (Bug#6607).
7826 2010-07-10  Aleksei Gusev  <aleksei.gusev@gmail.com>  (tiny change)
7828         * progmodes/compile.el (compilation-error-regexp-alist-alist):
7829         Add regexps for cucumber and ruby.
7831 2010-07-08  Daiki Ueno  <ueno@unixuser.org>
7833         * epa-file.el (epa-file-error, epa-file--find-file-not-found-function)
7834         (epa-file-insert-file-contents): Hack to prevent
7835         find-file from opening empty buffer when decryption failed
7836         (bug#6568).
7838 2010-07-07  Agustín Martín  <agustin.martin@hispalinux.es>
7840         * textmodes/ispell.el (ispell-alternate-dictionary):
7841         Use file-readable-p.
7842         Return nil if no word-list is found at default locations.
7843         (ispell-complete-word-dict): Default to nil.
7844         (ispell-command-loop): Use 'word-list' when using lookup-words.
7845         (lookup-words): Use ispell-complete-word-dict or
7846         ispell-alternate-dictionary.  Check for word-list availability
7847         and handle errors if needed with better messages (Bug#6539).
7848         (ispell-complete-word): Use ispell-complete-word-dict or
7849         ispell-alternate-dictionary.
7851 2010-07-07  Christoph Scholtes  <cschol2112@gmail.com>
7853         * progmodes/python.el (python-font-lock-keywords): Add Python 2.7
7854         builtins (BufferError, BytesWarning, WindowsError; callables
7855         bin, bytearray, bytes, format, memoryview, next, print; __package__).
7857 2010-07-07  Glenn Morris  <rgm@gnu.org>
7859         * play/zone.el (top-level): Do not require timer, tabify, or cl.
7860         (zone-shift-left): Ignore intangibility, and any errors from
7861         forward-char.
7862         (zone-shift-right): Remove no-op end-of-line.  Ignore intangibility.
7863         (zone-pgm-putz-with-case): Use upcase-region rather than inserting,
7864         deleting, and copying text properties.
7865         (zone-line-specs, zone-pgm-stress): Check forward-line exit status.
7866         (zone-pgm-rotate): Handle odd buffers like that of gomoku, where getting
7867         to point-max is hard.
7868         (zone-fret, zone-fill-out-screen): Replace cl's do with dotimes.
7869         (zone-fill-out-screen): Ignore intangibility.
7871 2010-07-05  Chong Yidong  <cyd@stupidchicken.com>
7873         * menu-bar.el (menu-bar-mode):
7874         * tool-bar.el (tool-bar-mode): Replace default-frame-alist element
7875         if it has been set.
7877         * mouse.el (mouse-drag-track): Call mouse-start-end to handle
7878         word/line selection (Bug#6565).
7880 2010-07-04  Juanma Barranquero  <lekktu@gmail.com>
7882         * net/dbus.el (dbus-send-signal): Declare function.
7884 2010-07-04  Michael Albinus  <michael.albinus@gmx.de>
7886         * net/dbus.el: Implement signal "PropertiesChanged" (from D-Bus 1.3.1).
7887         (dbus-register-property): New optional argument EMITS-SIGNAL.
7888         (dbus-property-handler): Send signal "PropertiesChanged" if requested.
7890 2010-07-03  Chong Yidong  <cyd@stupidchicken.com>
7892         * mouse.el (mouse-drag-overlay): Variable deleted.
7893         (mouse-move-drag-overlay, mouse-show-mark): Functions deleted.
7894         (mouse--remap-link-click-p): New function.
7895         (mouse-drag-track): Handle dragging by using temporary Transient
7896         Mark mode, instead of a special overlay.
7897         (mouse-kill-ring-save, mouse-save-then-kill): Don't call
7898         mouse-show-mark.
7900         * mouse-sel.el (mouse-sel-selection-alist): mouse-drag-overlay
7901         deleted.
7903 2010-07-02  Juri Linkov  <juri@jurta.org>
7905         * autoinsert.el (auto-insert-alist): Fix readability
7906         by using dotted pair notation for lambda.
7908 2010-07-02  Juri Linkov  <juri@jurta.org>
7910         * faces.el (read-face-name): Rename arg `string-describing-default'
7911         to `default'.  Doc fix.  Display the default value in quotes
7912         in the prompt.  With empty input, return the `default' arg,
7913         unless the default value is a string (in which case return nil).
7914         (describe-face): Replace the string `default' arg of `read-face-name'
7915         with the symbol `default'.
7917 2010-07-02  Chong Yidong  <cyd@stupidchicken.com>
7919         * emulation/viper-cmd.el (viper-delete-backward-char)
7920         (viper-del-backward-char-in-insert)
7921         (viper-del-backward-char-in-replace, viper-change)
7922         (viper-backward-indent): Replace delete-backward-char with
7923         delete-char (Bug#6552).
7925 2010-07-01  Chong Yidong  <cyd@stupidchicken.com>
7927         * ruler-mode.el (ruler--save-header-line-format): Fix typos.
7929 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
7931         * frame.el (make-frame): Add default-frame-alist to the PARAMETERS
7932         argument passed to frame-creation-function (Bug#5378).
7934         * faces.el (x-handle-named-frame-geometry)
7935         (x-handle-reverse-video, x-create-frame-with-faces)
7936         (face-set-after-frame-default, tty-create-frame-with-faces):
7937         Don't separately consult default-frame-alist.  It is now passed as the
7938         PARAMETER argument.
7940 2010-06-30  Andreas Schwab  <schwab@linux-m68k.org>
7942         * startup.el (command-line): Don't call tool-bar-setup in a
7943         tty-only build.
7945 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
7947         * ruler-mode.el (ruler--save-header-line-format): New fun.
7948         (ruler-mode): Use it as a setter function, so as not to overwrite
7949         ruler-mode-header-line-format-old if Ruler mode is on (Bug#5370).
7951 2010-06-29  Chong Yidong  <cyd@stupidchicken.com>
7953         * vc/vc.el (vc-deduce-backend): New fun.  Handle diff buffers.
7954         (vc-root-diff, vc-print-root-log, vc-log-incoming)
7955         (vc-log-outgoing): Use it.
7956         (vc-diff-internal): Set diff-vc-backend.
7958         * vc/diff-mode.el (diff-vc-backend): New var.
7960 2010-06-28  Jan Djärv  <jan.h.d@swipnet.se>
7962         * dynamic-setting.el (font-setting-change-default-font):
7963         Remove call to message.
7965 2010-06-28  Kenichi Handa  <handa@m17n.org>
7967         * international/quail.el (quail-insert-kbd-layout): Fix the
7968         showing of untranslated characters.
7970 2010-06-28  Chong Yidong  <cyd@stupidchicken.com>
7972         * simple.el (delete-active-region): New option.
7973         (delete-backward-char): Implement in Lisp.
7974         (delete-forward-char): New command.
7976         * mouse.el (mouse-region-delete-keys): Deleted.
7977         (mouse-show-mark): Simplify.
7979         * bindings.el (global-map): Bind delete and DEL, the former to
7980         delete-forward-char.
7982 2010-06-27  Lennart Borgman  <lennart.borgman@gmail.com>
7984         * progmodes/ruby-mode.el (ruby-mode-map): Don't bind TAB.
7985         (ruby-mode): Bind indent-line-function (Bug#5119).
7987 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
7989         * startup.el (command-line): Recognize "0" X resource value.
7991 2010-06-27  Chong Yidong  <cyd@stupidchicken.com>
7993         * startup.el (command-line): Use X resources to set the value of
7994         menu-bar-mode and tool-bar-mode, before calling frame-initialize.
7996         * menu-bar.el (menu-bar-mode):
7997         * tool-bar.el (tool-bar-mode): Don't change default-frame-alist.
7998         Set init-value to t.
8000         * frame.el (frame-notice-user-settings): Don't change
8001         default-frame-alist based on menu-bar-mode and tool-bar-mode, or
8002         vice versa (Bug#2249).
8004 2010-06-26  Eli Zaretskii  <eliz@gnu.org>
8006         * w32-fns.el (w32-convert-standard-filename): Doc fix.
8008 2010-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
8010         * textmodes/flyspell.el (flyspell-check-previous-highlighted-word):
8011         Make sure `flyspell-word' re-checks word after function run (Bug#6504).
8013         * textmodes/ispell.el (ispell-init-process): Make sure ispell and
8014         default directories are expanded (Bug#6143).
8016 2010-06-24  Juri Linkov  <juri@jurta.org>
8018         * minibuffer.el (completions-format): Change default from nil to
8019         `horizontal'.  Remove `nil' value from :type.  Doc fix.  (Bug#6459)
8021 2010-06-24  Juri Linkov  <juri@jurta.org>
8023         * vc/vc.el (vc-diff-internal): Set `revert-buffer-function'
8024         buffer-locally to lambda that re-runs the vc diff command.
8025         (Bug#6447)
8027 2010-06-24  Chong Yidong  <cyd@stupidchicken.com>
8029         * kmacro.el (kmacro-call-macro): Don't issue hint message if the
8030         echo area is in use (Bug#3412).
8032 2010-06-22  Glenn Morris  <rgm@gnu.org>
8034         * textmodes/texinfmt.el (texinfo-format-region)
8035         (texinfo-raise-lower-sections, texinfo-format-separate-node)
8036         (texinfo-itemize-item, texinfo-multitable-item, texinfo-alias)
8037         (texinfo-format-option, texinfo-noindent):
8038         Use line-beginning-position and line-end-position.
8040         * calc/calc-aent.el, calc/calc-ext.el, calc/calc-lang.el:
8041         * calc/calc-store.el, calc/calc-units.el, calc/calc.el:
8042         * calc/calccomp.el: Add explicit utf-8 coding cookies to files with
8043         utf-8 characters.
8045 2010-06-21  Karl Fogel  <kfogel@red-bean.com>
8047         * play/zone.el (zone-fall-through-ws): Fix next-line ->
8048         forward-line fallout.
8050 2010-07-06  Chong Yidong  <cyd@stupidchicken.com>
8052         * mouse.el (mouse-appearance-menu): Add docstring.
8054         * help.el (describe-key): Print up-event using key-description.
8056 2010-07-03  Michael Albinus  <michael.albinus@gmx.de>
8058         * net/zeroconf.el (zeroconf-resolve-service)
8059         (zeroconf-service-resolver-handler): Use `dbus-byte-array-to-string'.
8060         (zeroconf-publish-service): Use `dbus-string-to-byte-array'.
8062 2010-07-03  Jan Moringen  <jan.moringen@uni-bielefeld.de>
8064         * net/zeroconf.el (zeroconf-service-remove-hook): New defun.
8066 2010-06-30  Dan Nicolaescu  <dann@ics.uci.edu>
8068         Avoid displaying files with a nil state in vc-dir.
8069         * vc/vc-dir.el (vc-dir-update): Obey the noinsert argument in all
8070         cases that cause insertion.
8071         (vc-dir-resynch-file): Tell vc-dir-update to avoid inserting files
8072         with a nil state.
8074 2010-06-30  Chong Yidong  <cyd@stupidchicken.com>
8076         * xml.el (xml-parse-region): Avoid infloop (Bug#5281).
8078 2010-06-29  Leo  <sdl.web@gmail.com>
8080         * emacs-lisp/rx.el (rx): Doc fix.  (Bug#6537)
8082 2010-06-27  Oleksandr Gavenko  <gavenkoa@gmail.com>  (tiny change)
8084         * generic-x.el (bat-generic-mode): Fix regexp for command line
8085         switches (Bug#5719).
8087 2010-06-27  Masatake YAMATO  <yamato@redhat.com>
8089         * htmlfontify.el (hfy-face-attr-for-class): Use append instead
8090         of nconc to avoid pure storage error (Bug#6239).
8092 2010-06-27  Christoph  <cschol2112@googlemail.com>  (tiny change)
8094         * bookmark.el (bookmark-bmenu-2-window, bookmark-bmenu-other-window)
8095         (bookmark-bmenu-other-window-with-mouse): Remove unnecessary
8096         bindings of bookmark-automatically-show-annotations (Bug#6515).
8098 2010-06-25  Eli Zaretskii  <eliz@gnu.org>
8100         * arc-mode.el (archive-zip-extract): Don't quote the file name on
8101         MS-Windows and MS-DOS.  (Bug#6467, Bug#6144)
8103 2010-06-24  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
8105         * comint.el (make-comint, make-comint-in-buffer): Mention return
8106         value in the docstrings.  (Bug#6498)
8108 2010-06-24  Yoni Rabkin  <yoni@rabkins.net>
8110         * bs.el (bs-mode-font-lock-keywords): Remove "by" from Dired pattern,
8111         since it is not present when using some non-default switches.
8113 2010-06-23  Karl Fogel  <kfogel@red-bean.com>
8115         * simple.el (compose-mail): Fix doc string to refer to
8116         `compose-mail-user-agent-warnings', instead of to the
8117         nonexistent `compose-mail-check-user-agent'.
8119 2010-06-21  Alan Mackenzie  <bug-cc-mode@gnu.org>
8121         Fix an indentation bug:
8123         * progmodes/cc-mode.el (c-common-init): Initialise c-new-BEG/END.
8124         (c-neutralize-syntax-in-and-mark-CPP): c-new-BEG/END: Take account
8125         of existing values.
8127         * progmodes/cc-engine.el (c-clear-<-pair-props-if-match-after)
8128         (c-clear->-pair-props-if-match-before): now return t when they've
8129         cleared properties, nil otherwise.
8130         (c-before-change-check-<>-operators): Set c-new-beg/end correctly
8131         by taking account of the existing value.
8133         * progmodes/cc-defs.el
8134         (c-clear-char-property-with-value-function): Fix this to clear the
8135         property rather than overwriting it with nil.
8137 2010-06-20  Chong Yidong  <cyd@stupidchicken.com>
8139         * emacs-lisp/package.el (package-print-package): Add link to
8140         package description via describe-package.
8141         (describe-package-1): List package requirements.  Add button to
8142         perform installation.
8143         (package-menu-describe-package): New command.
8145         * help-mode.el (help-package): New button type.
8147 2010-06-19  Chong Yidong  <cyd@stupidchicken.com>
8149         * emacs-lisp/package.el: Move package-list-packages binding to
8150         menu-bar.el.
8151         (describe-package, describe-package-1, package--dir): New funs.
8152         (package-activate-1): Use package--dir.
8154         * emacs-lisp/package-x.el (gnus-article-buffer): Require package.
8156         * help-mode.el (help-package-def): New button type.
8158         * menu-bar.el: Move package-list-packages binding here from
8159         package.el.
8161 2010-06-19  Gustav Hållberg  <gustav@gmail.com>  (tiny change)
8163         * descr-text.el (describe-char): Avoid trailing whitespace.  (Bug#6423)
8165 2010-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8167         * emacs-lisp/edebug.el (edebug-read-list):
8168         Phase out old-style backquotes.
8170 2010-06-17  Juri Linkov  <juri@jurta.org>
8172         * help-mode.el (help-mode): Set buffer-local variable
8173         revert-buffer-function to help-mode-revert-buffer.
8174         (help-mode-revert-buffer): New function.
8176         * info.el (Info-revert-find-node): Check for major-mode Info-mode
8177         before popping to "*info*" (like in other Info functions).
8178         Keep buffer-name in old-buffer-name.  Keep Info-history-forward in
8179         old-history-forward.  Pop to old-buffer-name or "*info*" to
8180         recreate the killed buffer.  Set Info-history-forward from
8181         old-history-forward.
8182         (Info-breadcrumbs-depth): Add :group and :version.
8184 2010-06-17  Dan Nicolaescu  <dann@ics.uci.edu>
8186         * emacs-lisp/package.el (package-menu-mode-map): Add a menu.
8188 2010-06-17  Agustín Martín  <agustin.martin@hispalinux.es>
8190         * textmodes/ispell.el (ispell-aspell-find-dictionary): Fix regexp
8191         for languages like Portuguese with pt_{BR,PT} and no plain pt.
8193 2010-06-17  Juanma Barranquero  <lekktu@gmail.com>
8195         * emacs-lisp/package.el (package-menu-mode-map):
8196         Move initialization into declaration.
8198         * menu-bar.el (menu-bar-options-menu): Fix typo in menu entry.
8200 2010-06-17  Chong Yidong  <cyd@stupidchicken.com>
8202         * emacs-lisp/package.el (package-archive-base): Point to
8203         elpa.gnu.org.
8204         (package-enable, package-load-list): New defcustoms.
8205         (package-user-dir, package-directory-list): Turn into defcustoms.
8206         Don't include package-user-dir in package-directory-list.
8207         (package--builtins-base): Don't include Emacs as a "package".
8208         (package-subdirectory-regexp): New var.
8209         (package-load-all-descriptors, package-compute-transaction)
8210         (package-download-transaction): Obey package-load-list.
8211         (package-activate-1): Rename from package-do-activate.
8212         (package-list-packages-internal): Check package-load-list.
8213         (package-load-descriptor, package-generate-autoloads)
8214         (package-unpack, package-unpack-single)
8215         (package--read-archive-file, package-delete):
8216         Use expand-file-name.
8218         * emacs-lisp/package-x.el: New file.  Package uploading
8219         functionality split out from package.el.
8221         * startup.el (command-line): Load packages after reading init file.
8223 2010-06-17  Tom Tromey  <tromey@redhat.com>
8225         * emacs-lisp/package.el: New file.
8227 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
8229         Fix vc-annotate for renamed files when using Git.
8230         * vc/vc-git.el (vc-git-find-revision): Deal with empty results from
8231         ls-files.  Doe not pass the object as a file name to cat-file, it
8232         is not a file name.
8233         (vc-git-annotate-command): Pass the file name using -- to avoid
8234         ambiguity with the revision.
8235         (vc-git-previous-revision): Pass a relative file name.
8237 2010-06-22  Glenn Morris  <rgm@gnu.org>
8239         * progmodes/js.el (js-mode-map): Use standard capitalization and
8240         ellipses for menu entries.
8242         * wid-edit.el (widget-complete): Doc fix.
8244 2010-06-22  Jürgen Hötzel  <juergen@hoetzel.info>  (tiny change)
8246         * wid-edit.el (widget-complete): Fix typo in 2009-12-02 change.
8248 2010-06-22  Dan Nicolaescu  <dann@ics.uci.edu>
8250         Fix annotating other revisions for renamed files in vc-annotate.
8251         * vc/vc-annotate.el (vc-annotate): Add an optional argument for the
8252         VC backend.  Use it when non-nil.
8253         (vc-annotate-warp-revision): Pass the VC backend to vc-annotate.
8254         (Bug#6487).
8256         Fix vc-annotate-show-changeset-diff-revision-at-line for git.
8257         * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
8258         Do not pass the file name to the 'previous-revision call when we
8259         don't want a file diff.  (Bug#6489)
8261 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
8263         Fix finding revisions for renamed files in vc-annotate.
8264         * vc/vc.el (vc-find-revision): Add an optional argument for
8265         the VC backend.  Use it when non-nil.
8266         * vc/vc-annotate.el (vc-annotate-find-revision-at-line): Pass the VC
8267         backend to vc-find-revision.  (Bug#6487)
8269 2010-06-21  Dan Nicolaescu  <dann@ics.uci.edu>
8271         Fix reading file names in Git annotate buffers.
8272         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line):
8273         Remove trailing whitespace.  Suggested by Eric Hanchrow.  (Bug#6481)
8275 2010-06-20  Alan Mackenzie  <acm@muc.de>
8277         * progmodes/cc-mode.el (c-before-hack-hook): When the mode is set
8278         in file local variables, set it first.
8280 2010-06-19  Glenn Morris  <rgm@gnu.org>
8282         * descr-text.el (describe-char-unicode-data): Insert separating
8283         space when needed.  (Bug#6422)
8285         * progmodes/idlwave.el (idlwave-action-and-binding):
8286         Fix typo in 2009-12-03 change.  (Bug#6450)
8288 2010-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8290         * emacs-lisp/macroexp.el (macroexpand-all-1): Put back special
8291         handling for `lambda' (misunderstanding).
8293 2010-06-16  Jay Belanger  <jay.p.belanger@gmail.com>
8295         * calc/calc-poly.el (math-accum-factors): Make sure that
8296         constants aren't distributed after they are factored out.
8298 2010-06-16  Juri Linkov  <juri@jurta.org>
8300         * facemenu.el (list-colors-display): Call `pop-to-buffer' before
8301         `list-colors-print'.  (Bug#6332)
8303         * subr.el (read-quoted-char): Fix up last change (bug#6290).
8305 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8307         * emacs-lisp/macroexp.el (macroexpand-all-1): Don't handle `lambda'
8308         specially, since it's a macro.  Fix up wrong hint passed to maybe-cons.
8310         * font-lock.el (font-lock-major-mode): Rename from
8311         font-lock-mode-major-mode to distinguish it from
8312         global-font-lock-mode's own font-lock-mode-major-mode (bug#6135).
8313         (font-lock-set-defaults):
8314         * font-core.el (font-lock-default-function): Adjust users.
8315         (font-lock-mode): Don't set it at all.
8317 2010-06-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8319         * vc/vc-annotate.el (vc-annotate): Use vc-read-revision.
8321 2010-06-16  Glenn Morris  <rgm@gnu.org>
8323         * calendar/appt.el (appt-time-msg-list): Doc fix.
8324         (appt-check): Let-bind appt-warn-time.
8325         (appt-add): Make the 3rd argument optional.
8326         Simplify argument names.  Doc fix.  Check for integer WARNTIME.
8327         Only add WARNTIME to the output list if non-nil.
8329 2010-06-16  Ivan Kanis  <apple@kanis.eu>
8331         * calendar/appt.el (appt-check): Let the 3rd element of
8332         appt-time-msg-list specify the warning time.
8333         (appt-add): Add new argument with the warning time.  (Bug#5176)
8335 2010-06-16  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
8337         * vc/vc-svn.el (vc-svn-after-dir-status): Fix regexp for Subversions
8338         older than version 1.6.  (Bug#6361)
8340 2010-06-16  Helmut Eller  <eller.helmut@gmail.com>
8342         * emacs-lisp/cl-macs.el (destructuring-bind): Bind `bind-enquote',
8343         used by cl-do-arglist.  (Bug#6408)
8345 2010-06-16  Agustín Martín  <agustin.martin@hispalinux.es>
8347         * textmodes/ispell.el (ispell-dictionary-base-alist):
8348         Fix portuguese casechars/not-casechars for missing 'çÇ'.
8349         Suggested by Rolando Pereira (bug#6434).
8351 2010-06-15  Juanma Barranquero  <lekktu@gmail.com>
8353         * facemenu.el (list-colors-sort): Doc fix.
8355 2010-06-15  Bob Rogers  <rogers-emacs@rgrjr.dyndns.org>
8357         * progmodes/sql.el (sql-connect-mysql): Fix typo.
8359 2010-06-14  Juri Linkov  <juri@jurta.org>
8361         Add sort option `list-colors-sort'.  (Bug#6332)
8362         * facemenu.el (color-rgb-to-hsv): New function.
8363         (list-colors-sort): New defcustom.
8364         (list-colors-sort-key): New function.
8365         (list-colors-display): Doc fix.  Sort list according to the option
8366         `list-colors-sort'.
8367         (list-colors-print): Add HSV values to `help-echo' property of
8368         RGB strings.
8370 2010-06-14  Juri Linkov  <juri@jurta.org>
8372         * compare-w.el: Move to the "vc" subdirectory.
8374 2010-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8376         * image-mode.el (image-mode-map): Remap left-char and right-char.
8378         * nxml/nxml-mode.el (nxml-indent-line): Standardize indent behavior.
8380 2010-06-12  Chong Yidong  <cyd@stupidchicken.com>
8382         * term/common-win.el (x-colors): Add all the color names defined
8383         in rgb.txt (Bug#6332).
8385         * facemenu.el (list-colors-print): Don't print extra names if it
8386         will overflow the window width.
8388         * vc/log-edit.el (log-edit-font-lock-keywords): Revert 2010-06-02
8389         change (Bug#6343).
8391 2010-06-12  Eli Zaretskii  <eliz@gnu.org>
8393         * files.el (make-directory): Doc fix (bug#6396).
8395 2010-06-12  Michael Albinus  <michael.albinus@gmx.de>
8397         * net/tramp.el (tramp-remote-process-environment): Protect version
8398         string by apostroph.
8399         (tramp-shell-prompt-pattern): Do not use a shy group in case of
8400         XEmacs.
8401         (tramp-file-name-for-operation): Add `call-process-region'.
8402         (tramp-set-process-query-on-exit-flag): Fix wrong parentheses.
8404         * net/tramp-compat.el (top): Do not autoload
8405         `tramp-handle-file-remote-p'.  Load tramp-util.el and tramp-vc.el
8406         only when `start-file-process' is not bound.
8407         (tramp-advice-file-expand-wildcards): Do not use
8408         `tramp-handle-file-remote-p'.
8409         (tramp-compat-make-temp-file): Handle the case, that
8410         `make-temp-file' has no third argument EXTENSION.
8412 2010-06-11  Juanma Barranquero  <lekktu@gmail.com>
8414         * makefile.w32-in (WINS_BASIC): Include new directory vc.
8416         * loadup.el ("vc-hooks", "ediff-hook"): Load from lisp/vc/.
8418 2010-06-11  Juri Linkov  <juri@jurta.org>
8420         * finder.el (finder-known-keywords): Add keyword "vc"
8421         for version control.
8423         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff.el,
8424         * emerge.el, log-edit.el, log-view.el, pcvs.el, smerge-mode.el,
8425         * vc-annotate.el, vc-bzr.el, vc-dir.el, vc-dispatcher.el, vc-git.el,
8426         * vc-hg.el, vc-mtn.el, vc.el: Add keyword "vc".
8428 2010-06-11  Juri Linkov  <juri@jurta.org>
8430         Move version control related files to the "vc" subdirectory.
8431         * add-log.el, cvs-status.el, diff.el, diff-mode.el, ediff-diff.el,
8432         * ediff.el, ediff-help.el, ediff-hook.el, ediff-init.el,
8433         * ediff-merg.el, ediff-mult.el, ediff-ptch.el, ediff-util.el,
8434         * ediff-vers.el, ediff-wind.el, emerge.el, log-edit.el, log-view.el,
8435         * pcvs-defs.el, pcvs.el, pcvs-info.el, pcvs-parse.el, pcvs-util.el,
8436         * smerge-mode.el, vc-annotate.el, vc-arch.el, vc-bzr.el, vc-cvs.el,
8437         * vc-dav.el, vc-dir.el, vc-dispatcher.el, vc.el, vc-git.el,
8438         * vc-hg.el, vc-hooks.el, vc-mtn.el, vc-rcs.el, vc-sccs.el, vc-svn.el:
8439         Move files to the "vc" subdirectory.
8441 2010-06-11  Chong Yidong  <cyd@stupidchicken.com>
8443         * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
8444         (Bug#6367).
8446 2010-06-11  Stephen Eglen  <stephen@gnu.org>
8448         * shell.el: Bind `shell-resync-dirs' to M-RET.
8450 2010-06-10  Michael Albinus  <michael.albinus@gmx.de>
8452         * notifications.el: Move file from lisp/net, because it is
8453         supposed to talk locally to the user.
8455 2010-06-10  Julien Danjou  <julien@danjou.info>
8457         * net/notifications.el (notifications-on-action-signal)
8458         (notifications-on-closed-signal): Pass notification id as first
8459         argument to the callback functions.  Add docstrings.
8460         (notifications-notify): Fix docstring.
8462 2010-06-10  Glenn Morris  <rgm@gnu.org>
8464         * emacs-lisp/authors.el (authors-ignored-files)
8465         (authors-valid-file-names): Add some files.
8467 2010-06-10  Stefan Monnier  <monnier@iro.umontreal.ca>
8469         * net/rcirc.el (rcirc-server-alist, rcirc, rcirc-connect): Resolve
8470         merge conflict, giving preference to the emacs-23 version of the code.
8472 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8474         * emacs-lisp/advice.el (ad-compile-function):
8475         Define warning-suppress-types before we let-bind it (bug#6275).
8477         * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
8478         declare it, make it buffer-local and permanent-local (bug#6324).
8479         (vc-resynch-window): Adjust name.
8480         * vc-hooks.el (vc-find-file-hook): Adjust name.
8482 2010-06-09  Michael Albinus  <michael.albinus@gmx.de>
8484         * net/notifications.el (notifications-notify): Fix docstring.
8486 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
8488         Update to Unicode 6.0.0 beta.
8489         * international/charprop.el: Update copyright.
8490         * international/mule-cmds.el (ucs-names): Update character ranges.
8491         * international/uni-bidi.el:
8492         * international/uni-category.el:
8493         * international/uni-combining.el:
8494         * international/uni-comment.el:
8495         * international/uni-decimal.el:
8496         * international/uni-decomposition.el:
8497         * international/uni-digit.el:
8498         * international/uni-lowercase.el:
8499         * international/uni-mirrored.el:
8500         * international/uni-name.el:
8501         * international/uni-numeric.el:
8502         * international/uni-old-name.el:
8503         * international/uni-titlecase.el:
8504         * international/uni-uppercase.el: Regenerate.
8506 2010-06-09  Juanma Barranquero  <lekktu@gmail.com>
8508         * emacs-lisp/smie.el (comment-string-strip): Declare function.
8509         (smie-precs-precedence-table): Fix typo in docstring.
8511         * vc-mtn.el (log-edit-extract-headers): Declare function.
8513         * vc-hg.el (log-edit-extract-headers): Remove duplicate declaration.
8515         * net/notifications.el (dbus-register-signal): Declare function.
8516         (notifications-notify): Fix typos and reflow docstring.
8518 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
8520         Improve VC create/retrieve tag/branch.
8521         * vc.el (vc-create-tag): Do not read the directory name for VCs
8522         with repository revision granularity.  Adjust the tag/branch
8523         prompt.  Reset VC properties.
8524         (vc-retrieve-tag): Do not read the directory name for VCs
8525         with repository revision granularity.  Reset VC properties.
8527 2010-06-09  Julien Danjou  <julien@danjou.info>
8529         * net/notifications.el: New file.
8531 2010-06-09  Dan Nicolaescu  <dann@ics.uci.edu>
8533         Add optional support for resetting VC properties.
8534         * vc-dispatcher.el (vc-resynch-window): Add new optional argument,
8535         call vc-file-clearprops when true.
8536         (vc-resynch-buffer): Add new optional argument, pass it down.
8537         (vc-resynch-buffers-in-directory): Likewise.
8539         Improve support for special markup in the VC commit message.
8540         * vc-mtn.el (vc-mtn-checkin): Add support for Author: and Date: markup.
8541         * vc-hg.el (vc-hg-checkin): Add support for Date:.
8542         * vc-git.el (vc-git-checkin):
8543         * vc-bzr.el (vc-bzr-checkin): Likewise.
8545 2010-06-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8547         * emacs-lisp/smie.el (smie-indent-keyword): Remove special case that
8548         can be handled with a ((:before "fn") (:prev "=>" parent)) rule.
8550 2010-06-07  Martin Pohlack  <mp26@os.inf.tu-dresden.de>
8552         * iimage.el: Remove images as soon as the underlying text is modified.
8553         (iimage-modification-hook): New function.
8554         (iimage-mode-buffer): Use it.
8556 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8558         * emacs-lisp/smie.el (smie-indent-offset-rule): Rename from
8559         smie-indent-offset-after.  Add :prev case.  Make a bit more generic.
8560         (smie-indent-virtual): Remove `virtual' arg.  Update callers.
8561         (smie-indent-keyword): Add handling of open-paren keywords.
8562         (smie-indent-comment-continue): Don't assume comment-continue.
8564 2010-06-07  Martin Rudalics  <rudalics@gmx.at>
8566         * window.el (pop-to-buffer): Remove the conditional that
8567         compares new-window and old-window, so it will reselect
8568         the selected window unconditionally.
8569         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00078.html
8571 2010-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8573         * emacs-lisp/smie.el (smie-indent-offset-after)
8574         (smie-indent-forward-token, smie-indent-backward-token): New functions.
8575         (smie-indent-after-keyword): Use them.
8576         (smie-indent-fixindent): Only applies to the indentation of the BOL.
8577         (smie-indent-keyword): Tweak the black magic.
8578         (smie-indent-comment-continue): Strip comment-continue before use.
8579         (smie-indent-functions): Indent comments before keywords.
8581 2010-06-06  Juri Linkov  <juri@jurta.org>
8583         * isearch.el (isearch-lazy-highlight-search): Fix looping
8584         by checking for empty match.  This syncs this loop with the
8585         similar loop in `isearch-search'.  (Bug#6362)
8587 2010-06-05  Juanma Barranquero  <lekktu@gmail.com>
8589         * net/dbus.el (dbus-register-method): Declare function.
8590         (dbus-handle-event, dbus-property-handler): Fix typos in docstrings.
8591         (dbus-introspect): Doc fix.
8592         (dbus-event-bus-name, dbus-introspect-get-interface)
8593         (dbus-introspect-get-argument): Reflow docstrings.
8595 2010-06-05  Dan Nicolaescu  <dann@ics.uci.edu>
8597         vc-log-incoming/vc-log-outgoing fixes for Git.
8598         * vc-git.el (vc-git-log-view-mode): Fix font lock for
8599         incoming/outgoing logs.
8600         (vc-git-log-outgoing, vc-git-log-incoming): Use @{upstream}
8601         instead of vc-git-compute-remote.
8602         (vc-git-compute-remote): Remove.
8604 2010-06-04  Chong Yidong  <cyd@stupidchicken.com>
8606         * term/common-win.el (x-colors): Add "dark green" and "dark
8607         turquoise" (Bug#6332).
8609 2010-06-04  Juri Linkov  <juri@jurta.org>
8611         * simple.el (kill-new): Fix logic of kill-do-not-save-duplicates.
8612         Instead of setting `replace' to t and replacing the same string
8613         with itself, don't do certain actions when
8614         kill-do-not-save-duplicates is non-nil and string is equal to car
8615         of kill-ring: don't call menu-bar-update-yank-menu, don't push
8616         interprogram-paste strings to kill-ring, and don't push the input
8617         argument `string' to kill-ring.
8618         http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00072.html
8620 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
8622         * subr.el (directory-sep-char): Move from fileio.c and make a defconst.
8624 2010-06-04  Michael Albinus  <michael.albinus@gmx.de>
8626         * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name): Expand "~/".
8627         (tramp-gvfs-handler-mounted-unmounted)
8628         (tramp-gvfs-connection-mounted-p): Handle default-location.
8630         * net/tramp-smb.el (tramp-smb-handle-delete-directory): Don't try to
8631         move files to trash.
8633 2010-06-04  Juanma Barranquero  <lekktu@gmail.com>
8635         * international/mule-cmds.el (nonascii-insert-offset)
8636         (nonascii-translation-table): Add obsolescence information.
8638         * international/mule.el (make-translation-table-from-vector): Doc fix.
8640 2010-06-03  Glenn Morris  <rgm@gnu.org>
8642         * desktop.el (desktop-clear-preserve-buffers):
8643         Add "*Warnings*" buffer.  (Bug#6336)
8645 2010-06-03  Dan Nicolaescu  <dann@ics.uci.edu>
8647         vc-log-incoming/vc-log-outgoing improvements for Git.
8648         * vc-git.el (vc-git-log-outgoing): Use the same format as the
8649         short log.
8650         (vc-git-log-incoming): Likewise.  Run "git fetch" before the log command.
8652         Add bindings for vc-log-incoming and vc-log-outgoing.
8653         * vc-hooks.el (vc-prefix-map): Add bindings for vc-log-incoming
8654         and vc-log-outgoing.
8655         * vc-dir.el (vc-dir-menu-map): Add menu bindings for vc-log-incoming
8656         and vc-log-outgoing.
8658 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
8660         * net/rcirc.el (rcirc-sort-nicknames): Remove.
8661         (rcirc-handler-366): Always sort nicknames.
8663 2010-06-03  Juanma Barranquero  <lekktu@gmail.com>
8665         * emacs-lisp/smie.el (comment-continue): Declare for byte-compiler.
8667 2010-06-03  Chong Yidong  <cyd@stupidchicken.com>
8669         * net/rcirc.el (rcirc-nickname<, rcirc-sort-nicknames-join): Doc fix.
8671 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8673         * net/rcirc.el (rcirc-sort-nicknames): Change default.
8674         (rcirc-sort-nicknames-join): Avoid setq.
8676 2010-06-03  Deniz Dogan  <deniz.a.m.dogan@gmail.com>
8678         * net/rcirc.el (rcirc-sort-nicknames): New custom.
8679         (rcirc-nickname<, rcirc-sort-nicknames-join): New funs.
8680         (rcirc-handler-366): Use them.
8682 2010-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
8684         Split smie-indent-calculate into more manageable chunks.
8685         * emacs-lisp/smie.el (smie-indent-virtual, smie-indent-fixindent)
8686         (smie-indent-comment, smie-indent-after-keyword, smie-indent-keyword)
8687         (smie-indent-close, smie-indent-comment-continue, smie-indent-bob)
8688         (smie-indent-exps): Extract from smie-indent-calculate.
8689         (smie-indent-functions): New var.
8690         (smie-indent-functions): Use them.
8692 2010-06-02  Stefan Monnier  <monnier@iro.umontreal.ca>
8694         * emacs-lisp/smie.el (smie-indent-hanging-p): Use smie-bolp.
8695         (smie-indent-calculate): Simplify and cleanup.
8697 2010-06-02  Michael Albinus  <michael.albinus@gmx.de>
8699         * net/tramp-gvfs.el (top): Require url-util.
8700         (tramp-gvfs-mount-point): Remove.
8701         (tramp-gvfs-stringify-dbus-message, tramp-gvfs-send-command):
8702         New defuns.
8703         (with-tramp-dbus-call-method): Format trace message.
8704         (tramp-gvfs-handle-copy-file, tramp-gvfs-handle-rename-file):
8705         Implement backup call, when operation on local files fails.
8706         Use progress reporter.  Flush properties of changed files.
8707         (tramp-gvfs-handle-make-directory): Make more traces.
8708         (tramp-gvfs-url-file-name): Hexify file name in url.
8709         (tramp-gvfs-fuse-file-name): Take also prefix (like dav shares)
8710         into account for the resulting file name.
8711         (tramp-gvfs-handler-askquestion): Return dummy mountpoint, when
8712         the answer is "no".  See `tramp-gvfs-maybe-open-connection'.
8713         (tramp-gvfs-handler-mounted-unmounted)
8714         (tramp-gvfs-connection-mounted-p): Test also for new mountspec
8715         attribute "default_location".  Set "prefix" property.
8716         (tramp-gvfs-mount-spec): Return both prefix and mountspec.
8717         (tramp-gvfs-maybe-open-connection): Test, whether mountpoint
8718         exists.  Raise an error, if not (due to a corresponding answer
8719         "no" in interactive questions, for example).
8721 2010-06-02  Dan Nicolaescu  <dann@ics.uci.edu>
8723         * log-edit.el (log-edit-font-lock-keywords): Make group 4 match lax.
8725 2010-06-01  Juanma Barranquero  <lekktu@gmail.com>
8727         * emacs-lisp/eldoc.el: Add completions for new commands left-* and
8728         right-*.  (Bug#6265)
8730 2010-06-01  Dan Nicolaescu  <dann@ics.uci.edu>
8732         Add support for vc-log-incoming, improve vc-log-outgoing for Git.
8733         * vc-git.el (vc-git-compute-remote): New function.
8734         (vc-git-log-outgoing): Use it instead of hard coding a value.
8735         (vc-git-log-incoming): New function.
8737         Improve state updating for VC tag commands.
8738         * vc.el (vc-create-tag, vc-retrieve-tag): Call vc-resynch-buffer
8739         to update the state of all buffers in the directory.
8741         * vc-dir.el (vc-dir-update): Remove entries with a nil state (bug#5539).
8743 2010-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
8745         * vc-bzr.el (vc-bzr-revision-completion-table): Apply
8746         `file-directory-p' to the filename part rather than to the whole text.
8748 2010-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
8750         * man.el (Man-completion-table): Let the user type "-k " (bug#6319).
8752 2010-05-31  Drew Adams  <drew.adams@oracle.com>
8754         * files.el (directory-files-no-dot-files-regexp): Doc fix (bug#6298).
8756 2010-05-31  Juanma Barranquero  <lekktu@gmail.com>
8758         * subr.el (momentary-string-display): Just use read-event to read
8759         the exit event (Bug#6238).
8761 2010-05-30  Eli Zaretskii  <eliz@gnu.org>
8763         * international/mule.el (define-coding-system): Doc fix (bug#6313).
8765 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
8767         * emulation/cua-base.el: Recognize also `right-word' and `left-word'.
8768         Suggested by Eli Zaretskii <eliz@gnu.org>.
8770 2010-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
8772         * minibuffer.el (completion-file-name-table): Don't return a boundary
8773         past the end of `string' (bug#6299).
8774         (completion--file-name-table): Delegate to completion-file-name-table
8775         for the `boundaries' case.
8777 2010-05-30  Juanma Barranquero  <lekktu@gmail.com>
8779         * emulation/cua-base.el: Recognize `right-char' and `left-char' as
8780         movement commands.
8782         * progmodes/ada-xref.el (ada-prj-ada-project-path-sep): Set from
8783         `path-separator', but maintain compatibility with Emacs 20.2.
8785 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
8787         * server.el (server-process-filter): Receive parent-id argument
8788         from emacsclient.
8789         (server-create-window-system-frame): New arg.  Pass parent-id as
8790         frame parameter.
8792 2010-05-29  Eli Zaretskii  <eliz@gnu.org>
8794         Bidi-sensitive word movement with arrow keys.
8795         * subr.el (right-arrow-command, left-arrow-command): Move to
8796         bindings.el.
8798         * bindings.el (right-char, left-char): Move from subr.el and
8799         rename from right-arrow-command and left-arrow-command.
8800         (right-word, left-word): New functions.
8801         (global-map) <right>: Bind to right-char.
8802         (global-map) <left>: Bind to left-char.
8803         (global-map) <C-right>: Bind to right-word.
8804         (global-map) <C-left>: Bind to left-word.
8806         * ls-lisp.el (ls-lisp-classify-file): New function.
8807         (ls-lisp-insert-directory): Call it if switches include -F (bug#6294).
8808         (ls-lisp-classify): Call ls-lisp-classify-file.
8809         (insert-directory): Remove blanks from switches.
8811 2010-05-29  Chong Yidong  <cyd@stupidchicken.com>
8813         * ansi-color.el: Delete unused escape sequences (Bug#6085).
8814         (ansi-color-drop-regexp): New constant.
8815         (ansi-color-apply, ansi-color-filter-region)
8816         (ansi-color-apply-on-region): Delete unrecognized control sequences.
8817         (ansi-color-apply): Build string list before calling concat.
8819 2010-05-28  Juri Linkov  <juri@jurta.org>
8821         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
8822         Replace LOCALP arg of `dired-get-filename' 'no-dir with nil.
8823         (Bug#5270)
8825 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
8827         * net/tramp.el (tramp-debug-message): Add `tramp-compat-funcall'
8828         to ignored backtrace functions.
8829         (with-progress-reporter): Expand docstring.
8830         (tramp-handle-delete-file): Implement TRASH argument.
8831         (tramp-get-remote-trash): New defun.
8833 2010-05-28  Michael Albinus  <michael.albinus@gmx.de>
8835         * net/tramp-compat.el (tramp-compat-delete-file):
8836         Use `symbol-value' for backward compatibility.
8838         * net/tramp.el (tramp-handle-make-symbolic-link)
8839         (tramp-handle-load)
8840         (tramp-do-copy-or-rename-file-via-buffer)
8841         (tramp-do-copy-or-rename-file-directly)
8842         (tramp-do-copy-or-rename-file-out-of-band)
8843         (tramp-handle-process-file, tramp-handle-call-process-region)
8844         (tramp-handle-shell-command, tramp-handle-file-local-copy)
8845         (tramp-handle-insert-file-contents, tramp-handle-write-region)
8846         (tramp-delete-temp-file-function): Use `delete-file' instead
8847         of `tramp-compat-delete-file'.
8849         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8850         (tramp-fish-handle-make-symbolic-link)
8851         (tramp-fish-handle-process-file): Use `delete-file' instead
8852         of `tramp-compat-delete-file'.
8854         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8855         Use `delete-file' instead of `tramp-compat-delete-file'.
8857         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8858         (tramp-gvfs-handle-write-region): Use `delete-file' instead of
8859         `tramp-compat-delete-file'.
8861         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file):
8862         Use `delete-file' instead of `tramp-compat-delete-file'.
8864         * net/tramp-smb.el (tramp-smb-handle-copy-file)
8865         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8866         (tramp-smb-handle-write-region): Use `delete-file' instead of
8867         `tramp-compat-delete-file'.
8868         (tramp-smb-handle-delete-directory): Use 'trash as arg.
8870 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
8872         * dired.el (dired-delete-file): New arg TRASH.
8873         (dired-internal-do-deletions): New arg TRASH.  Use progress reporter.
8874         (dired-do-flagged-delete, dired-do-delete): Use trash.
8876         * speedbar.el (speedbar-item-delete): Allow trashing.
8878         * files.el (delete-directory): New arg TRASH.
8880         * net/ange-ftp.el (ange-ftp-del-tmp-name, ange-ftp-delete-file)
8881         (ange-ftp-rename-remote-to-remote)
8882         (ange-ftp-rename-local-to-remote)
8883         (ange-ftp-rename-remote-to-local, ange-ftp-load)
8884         (ange-ftp-compress, ange-ftp-uncompress): Remove optional arg from
8885         `delete-file'.
8886         (ange-ftp-delete-directory): Add optional arg to `delete-file', to
8887         allow trashing.
8889         * net/tramp-compat.el (tramp-compat-delete-file): Rewrite to
8890         handle new TRASH arg of `delete-file'.
8892         * net/tramp.el (tramp-handle-delete-file): Change FORCE arg to TRASH.
8893         (tramp-handle-make-symbolic-link, tramp-handle-load)
8894         (tramp-do-copy-or-rename-file-via-buffer)
8895         (tramp-do-copy-or-rename-file-directly)
8896         (tramp-do-copy-or-rename-file-out-of-band)
8897         (tramp-handle-process-file, tramp-handle-call-process-region)
8898         (tramp-handle-shell-command, tramp-handle-file-local-copy)
8899         (tramp-handle-insert-file-contents, tramp-handle-write-region)
8900         (tramp-delete-temp-file-function): Use null TRASH arg in
8901         tramp-compat-delete-file call.
8903         * net/tramp-fish.el (tramp-fish-handle-delete-directory)
8904         (tramp-fish-handle-delete-file)
8905         (tramp-fish-handle-make-symbolic-link)
8906         (tramp-fish-handle-process-file): Use null TRASH arg in
8907         `tramp-compat-delete-file' call.
8909         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Use null TRASH
8910         arg in `tramp-compat-delete-file' call.
8912         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Rename arg.
8913         (tramp-gvfs-handle-write-region): Use null TRASH arg in
8914         `tramp-compat-delete-file' call.
8916         * net/tramp-imap.el (tramp-imap-handle-delete-file): Rename arg.
8917         (tramp-imap-do-copy-or-rename-file): Use null TRASH arg in
8918         `tramp-compat-delete-file' call.
8920         * net/tramp-smb.el (tramp-smb-handle-copy-file)
8921         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
8922         (tramp-smb-handle-write-region): Use null TRASH arg in
8923         tramp-compat-delete-file call.
8924         (tramp-smb-handle-delete-directory): Use tramp-compat-delete-file.
8925         (tramp-smb-handle-delete-file): Rename arg.
8927         * diff.el (diff-sentinel):
8928         * epg.el (epg--make-temp-file, epg-decrypt-string)
8929         (epg-verify-string, epg-sign-string, epg-encrypt-string):
8930         * jka-compr.el (jka-compr-partial-uncompress)
8931         (jka-compr-call-process, jka-compr-write-region):
8932         * server.el (server-sentinel): Remove optional arg from
8933         delete-file, reverting 2010-05-03 change.
8935 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
8937         * progmodes/verilog-mode.el (verilog-type-font-keywords):
8938         Use font-lock-constant-face, not obsolete font-lock-reference-face.
8940 2010-05-27  Kenichi Handa  <handa@m17n.org>
8942         * language/hebrew.el (hebrew-shape-gstring): Check if a glyph
8943         element of GSTRING is nil.
8945 2010-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8947         * emacs-lisp/smie.el (smie-forward-token-function)
8948         (smie-backward-token-function): New vars.
8949         (smie-backward-sexp, smie-forward-sexp)
8950         (smie-indent-hanging-p, smie-indent-calculate): Use them.
8951         (smie-default-backward-token): Rename from smie-backward-token and
8952         skip comments.
8953         (smie-default-forward-token): Rename from smie-forward-token and
8954         skip comments.
8955         (smie-next-sexp): Handle nil results from next-token.
8956         (smie-indent-calculate): Add a new case for special `fixindent' comments.
8958 2010-05-27  Chong Yidong  <cyd@stupidchicken.com>
8960         * progmodes/verilog-mode.el (verilog-type-font-keywords):
8961         Use font-lock-constant-face, not obsolete font-lock-reference-face.
8963 2010-05-27  Masatake YAMATO  <yamato@redhat.com>
8965         * htmlfontify.el (hfy-face-resolve-face): New function.
8966         (hfy-face-to-style): Use it (Bug#6279).
8968 2010-05-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8970         * progmodes/ada-xref.el (ada-gnat-parse-gpr):
8971         * emulation/edt.el (edt-load-keys): Avoid (expand-file-name ".").
8973 2010-05-26  Glenn Morris  <rgm@gnu.org>
8975         * emulation/edt.el (edt-load-keys): Use locate-library.
8977 2010-05-25  Chong Yidong  <cyd@stupidchicken.com>
8979         * log-edit.el (log-edit-strip-single-file-name): Default to nil.
8980         (log-edit-changelog-entries): Doc fix.
8981         (log-edit-changelog-insert-entries): Args changed.
8982         Rename relative filenames in ChangeLog entries.  Delete tabs.
8983         (log-edit-insert-changelog-entries): Reorganize return value of
8984         `log-edit-changelog-entries' to pass filenames to
8985         log-edit-changelog-insert-entries.
8987 2010-05-25  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8989         * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
8990         `image-dired-dired-insert-marked-thumbs' to
8991         `image-dired-dired-toggle-marked-thumbs'.
8993         * image-dired.el: Require cl when compiling.
8994         (image-dired-dired-toggle-marked-thumbs): Rename from
8995         `image-dired-dired-insert-marked-thumbs'.  Add ARG.  Doc fix.
8996         Use interactive spec "P".  Set LOCALP arg of `dired-get-filename'
8997         to 'no-dir.  Skip files whose names don't match
8998         `image-file-name-regexp'.  When file has a thumbnail overlay,
8999         delete it.  (Bug#5270)
9001 2010-05-25  Juri Linkov  <juri@jurta.org>
9003         * image-mode.el (image-mode): Add image-after-revert-hook to
9004         after-revert-hook.
9005         (image-after-revert-hook): New function.  (Bug#5669)
9007 2010-05-25  Juri Linkov  <juri@jurta.org>
9009         * image.el (image-animated-p): When delay between animated images
9010         is 0, set it to 10 (0.1 sec).  (Bug#6258)
9012 2010-05-25  Christian Lynbech  <christian.lynbech@tieto.com>  (tiny change)
9014         * net/tramp.el (tramp-handle-insert-directory): Don't use
9015         `forward-word', its default syntax could be changed.
9017 2010-05-25  Michael Albinus  <michael.albinus@gmx.de>
9019         * net/tramp.el (tramp-progress-reporter-update): New defun.
9020         (with-progress-reporter): Use it.
9021         (tramp-process-actions):
9022         * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion):
9023         Preserve current message, in order to let progress reporter continue
9024         afterwards.  (Bug#6257)
9026 2010-05-25  Glenn Morris  <rgm@gnu.org>
9028         * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
9029         Add :version.
9031 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
9033         * net/rcirc.el (rcirc-default-user-name): Change to "user".
9034         (rcirc-default-full-name): Change to "unknown".
9035         (rcirc-user-name-history): Add variable.
9037 2010-05-25  Ryan Yeske  <rcyeske@gmail.com>
9038             Jonathan Rockway  <jon@jrock.us>
9040         * net/rcirc.el (rcirc-server-alist): Add :pass.
9041         (rcirc): When prompting for connection parameters, also prompt for
9042         username and password.
9043         (rcirc-connect): Take a PASS argument.  If PASS is non-nil, send
9044         value to server when connecting.
9046 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9048         * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
9049         (smie-merge-prec2s): Pass the tables as separate args.
9050         (smie-bnf-precedence-table): Adjust call accordingly.
9051         (smie-prec2-levels): Set levels at the end.
9053         Replace Lisp calls to delete-backward-char by delete-char.
9054         * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
9055         * skeleton.el, term.el, time.el, wid-edit.el, woman.el,
9056         * calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
9057         * calc/calc.el, emacs-lisp/cl-extra.el, emacs-lips/cl-loaddefs.el,
9058         * emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
9059         * eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
9060         * gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
9061         * language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
9062         * net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
9063         * progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
9064         * progmodes/ps-mode.el, progmodes/verilog-mode.el,
9065         * progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
9066         * textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
9067         * textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
9068         delete-backward-char by calls to delete-char.
9070 2010-05-25  Kenichi Handa  <handa@m17n.org>
9072         * language/hebrew.el (hebrew-shape-gstring): New function.
9073         Register it in composition-function-table for all Hebrew combining
9074         characters.
9076 2010-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9078         * epa.el (epa--select-keys): Don't explicitly delete the window since
9079         that can fail (e.g. sole window in frame).  Use dedication instead.
9081 2010-05-24  Uday S Reddy  <u.s.reddy@cs.bham.ac.uk>  (tiny change)
9083         * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
9085 2010-05-22  Chong Yidong  <cyd@stupidchicken.com>
9087         * image.el (image-refresh): Define as an alias for image-flush.
9089         * image-mode.el (image-toggle-display-image): Caller changed.
9091 2010-05-21  Juri Linkov  <juri@jurta.org>
9093         * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
9094         Remove "all" from grep-files-aliases.  Split grep-files-aliases by
9095         whitespace, call wildcard-to-regexp on substrings and concat them
9096         with "\\|".  (Bug#6114)
9098 2010-05-21  Alan Mackenzie  <acm@muc.de>
9100         * progmodes/cc-engine.el (c-parse-state-get-strategy):
9101         Replace parameter `here' with `here-' and `here-plus', which sandwich
9102         any pertinent CPP construct.
9103         (c-remove-stale-state-cache-backwards): Fix a bug which happens
9104         when doing (c-parse-state) in a CPP construct: Exclude any "new"
9105         CPP construct from taking part in the scanning.
9107 2010-05-21  Michael Albinus  <michael.albinus@gmx.de>
9109         * net/tramp.el (tramp-do-copy-or-rename-file)
9110         (tramp-handle-file-local-copy, tramp-maybe-open-connection):
9111         Tune `with-progress-reporter' messages.
9112         (tramp-handle-vc-registered):
9113         * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
9114         (tramp-fish-handle-insert-file-contents)
9115         (tramp-fish-maybe-open-connection):
9116         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
9117         * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
9118         (tramp-imap-handle-insert-file-contents)
9119         (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
9121 2010-05-21  Juanma Barranquero  <lekktu@gmail.com>
9123         * add-log.el (change-log-font-lock-keywords):
9124         Highlight all authors in multi-author entries.
9126         * smerge-mode.el (smerge-refine-ignore-whitespace)
9127         (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
9128         Fix typos in docstrings.
9129         (smerge-resolve, smerge-refine-subst): Reflow docstrings.
9131 2010-05-21  Glenn Morris  <rgm@gnu.org>
9133         * progmodes/fortran.el (fortran-mode):
9134         * progmodes/f90.el (f90-mode): Derive from prog-mode.
9136         * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
9137         having a relative path in src/Makefile.in.
9139 2010-05-20  Kevin Ryde  <user42@zip.com.au>
9141         * help-mode.el (help-make-xrefs): For Info node links turn
9142         newlines into spaces.  Link node names with newlines are matched
9143         by help-xref-info-regexp and buttonized, this change ensures they
9144         can be followed successfully with RET.  (Bug#6206)
9146 2010-05-20  Juri Linkov  <juri@jurta.org>
9148         * locate.el (locate): Use pop-to-buffer instead of
9149         switch-to-buffer-other-window.  (Bug#6204)
9151 2010-05-20  Juri Linkov  <juri@jurta.org>
9153         * replace.el (replace-highlight): Fix lazy-highlighting
9154         for `M-s w str M-% str RET'.
9156 2009-12-15  Masatake YAMATO  <yamato@redhat.com>
9158         * isearch.el (isearch-yank-word-or-char): Pull next subword
9159         when `subword-mode' is activated.  (Bug#6220)
9161 2010-05-20  Mark A. Hershberger  <mah@everybody.org>
9163         * isearch.el (isearch-update-post-hook): New hook.
9164         (isearch-update): Use the new hook.  (Bug#6225)
9166 2010-05-20  Juri Linkov  <juri@jurta.org>
9168         * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
9169         [f1], [help], and (char-to-string help-char) instead of "\C-h".
9170         (Bug#6222)
9172 2010-05-20  Juri Linkov  <juri@jurta.org>
9174         * isearch.el (isearch-yank-string): Use isearch-process-search-string.
9175         (Bug#6223)
9177 2010-05-20  Juri Linkov  <juri@jurta.org>
9179         * dired-x.el (dired-jump, dired-jump-other-window): Add arg
9180         FILE-NAME to read from the minibuffer when called interactively
9181         with prefix argument instead of using buffer-file-name.
9182         http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
9184         * dired.el: Update autoloads.
9186 2010-05-20  Chong Yidong  <cyd@stupidchicken.com>
9188         * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
9189         nxml-finish-element, for consistency with SGML mode.
9191         * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
9192         octave-close-block.
9194 2010-05-20  Juanma Barranquero  <lekktu@gmail.com>
9196         * composite.el: Require cl when compiling.
9197         (reference-point-alist, compose-gstring-for-graphic)
9198         (compose-gstring-for-terminal): Fix typos in docstrings.
9200 2010-05-19  Juri Linkov  <juri@jurta.org>
9202         * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
9203         set-window-parameter.
9205 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
9207         * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
9208         where appropriate.
9209         (tramp-maybe-open-connection): Use it.
9211 2010-05-19  Eli Zaretskii  <eliz@gnu.org>
9213         * simple.el (move-end-of-line): Make sure we are at line beginning
9214         before backing up to end of previous line.
9216 2010-05-19  Michael Albinus  <michael.albinus@gmx.de>
9218         * password-cache.el (password-cache-remove): Fix docstring.
9220         * net/secrets.el: Autoload the widget functions.
9221         (secrets-search-items, secrets-create-item)
9222         (secrets-get-attributes, secrets-expand-item): Attributes will be
9223         stored on the password database without leading ":", as all other
9224         clients do as well.
9225         (secrets-mode): Fix docstring.
9226         (secrets-show-secrets): Provide it as autoloaded command only when
9227         D-Bus support is available.  Check existence of Secret Service API.
9229 2010-05-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9231         * indent.el (indent-region): Deactivate region (bug#6200).
9233 2010-05-19  Glenn Morris  <rgm@gnu.org>
9235         * vc-dir.el (vc-dir): Don't pop-up-windows.  (Bug#6204)
9237 2010-05-19  Kenichi Handa  <handa@m17n.org>
9239         * composite.el: Register compose-gstring-for-graphic in
9240         composition-function-table only for combining characters (Mn, Mc, Me).
9242 2010-05-18  Jay Belanger  <jay.p.belanger@gmail.com>
9244         * calc/calc-trail.el (calc-trail-isearch-forward)
9245         (calc-trail-isearch-backward): Ensure that the new window
9246         point is set correctly.
9248 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9250         * subr.el (read-quoted-char): Resolve modifiers after key
9251         remapping (bug#6212).
9253 2010-05-18  Michael Albinus  <michael.albinus@gmx.de>
9255         Add visualization code for secrets.
9256         * net/secrets.el (secrets-mode): New major mode.
9257         (secrets-show-secrets, secrets-show-collections)
9258         (secrets-expand-collection, secrets-expand-item)
9259         (secrets-tree-widget-after-toggle-function)
9260         (secrets-tree-widget-show-password): New defuns.
9262 2010-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9264         * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
9265         (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
9266         handled in smie-next-sexp.
9267         (smie-indent-calculate): Provide a starting indentation (so the
9268         recursion is well-founded ;-).
9270         Fix handling of non-associative equal levels.
9271         * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
9272         when it's not needed.
9273         (smie-op-left, smie-op-right): New functions.
9274         (smie-next-sexp): New function, extracted from smie-backward-sexp.
9275         Better handle equal levels to distinguish the associative case from
9276         the "multi-keyword construct" case.
9277         (smie-backward-sexp, smie-forward-sexp): Use it.
9279 2010-05-18  Juanma Barranquero  <lekktu@gmail.com>
9281         * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
9283         * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
9284         (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
9286 2010-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
9288         Provide a simple generic indentation engine and use it for Prolog.
9289         * emacs-lisp/smie.el: New file.
9290         * progmodes/prolog.el (prolog-smie-op-levels)
9291         (prolog-smie-indent-rules): New var.
9292         (prolog-mode-variables): Use them to configure SMIE.
9293         (prolog-indent-line, prolog-indent-level): Remove.
9295 2010-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
9297         * calc/calc-vec.el (math-vector-avg): Put the vector elements in
9298         order before computing the averages.
9300 2010-05-16  Jay Belanger  <jay.p.belanger@gmail.com>
9302         * calc/calc-vec.el (calc-histogram):
9303         (calcFunc-histogram): Allow vectors as inputs.
9304         (math-vector-avg): New function.
9306         * calc/calc-ext.el (math-group-float): Have the number of digits
9307         being grouped depend on the radix (Bug#6189).
9309 2010-05-15  Ken Raeburn  <raeburn@raeburn.org>
9311         * version.el (emacs-copyright, emacs-version): Don't define here,
9312         now that emacs.c defines it.
9314 2010-05-15  Eli Zaretskii  <eliz@gnu.org>
9316         * international/mule-cmds.el (mule-menu-keymap): Fix definition of
9317         "Describe Language Environment" menu item.
9319         * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
9321         Bidi-sensitive movement with arrow keys.
9322         * subr.el (right-arrow-command, left-arrow-command): New functions.
9324         * bindings.el (global-map): Bind them to right and left arrow keys.
9326         Don't override standard definition of convert-standard-filename.
9327         * files.el (convert-standard-filename):
9328         Call w32-convert-standard-filename and dos-convert-standard-filename on
9329         the corresponding systems.
9331         * w32-fns.el (w32-convert-standard-filename): Rename from
9332         convert-standard-filename.  Doc fix.
9334         * dos-fns.el (dos-convert-standard-filename): Doc fix.
9335         (convert-standard-filename): Don't defalias.
9336         (register-name-alist, make-register, register-value)
9337         (set-register-value, intdos): Obsolete aliases for the
9338         corresponding dos-* functions and variables.
9339         (dos-intdos): Add a doc string.
9341 2010-05-15  Jay Belanger  <jay.p.belanger@gmail.com>
9343         * calc/calc-aent.el (math-read-token, math-find-user-tokens):
9344         * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
9345         (math-compose-tex-func):
9346         * calc/calccomp.el (math-compose-expr):
9347         * calc/calc-ext.el (math-format-flat-expr-fancy):
9348         * calc/calc-store.el (calc-read-var-name):
9349         * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
9351         * calc/calc.el (var-π, var-φ, var-γ): New variables.
9352         * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
9353         * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
9354         (math-standard-units): Add units.
9356 2010-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9358         * progmodes/asm-mode.el (asm-mode):
9359         * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
9361         * pcomplete.el (pcomplete-completions-at-point): New function,
9362         extracted from pcomplete-std-complete.
9363         (pcomplete-std-complete): Use it.
9365 2010-05-15  Glenn Morris  <rgm@gnu.org>
9367         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
9368         Remove references to CVS, RCS and Old directories.
9370 2010-05-14  Jay Belanger  <jay.p.belanger@gmail.com>
9372         * calc/calc-bin.el (math-format-twos-complement): Group digits when
9373         appropriate.
9375 2010-05-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9377         * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
9378         (sh-mode-syntax-table): Give it a default value instead.
9379         (sh-header-marker): Make buffer-local.
9380         (sh-mode): Move make-local-variable to the corresponding setq.
9381         (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
9382         Use complete-with-action.
9384         * simple.el (prog-mode): New (abstract) major mode.
9385         * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
9386         * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
9388 2010-05-14  Juanma Barranquero  <lekktu@gmail.com>
9390         * progmodes/sql.el (sql-oracle-program): Reflow docstring.
9391         (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
9392         (sql-add-product-keywords, sql-highlight-product, sql-set-product)
9393         (sql-make-alternate-buffer-name, sql-placeholders-filter)
9394         (sql-escape-newlines-filter, sql-input-sender)
9395         (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
9397 2010-05-13  Chong Yidong  <cyd@stupidchicken.com>
9399         Add TeX open-block and close-block keybindings to SGML, and vice versa.
9401         * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
9402         latex-open-block and C-c / to latex-close-block.
9404         * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
9405         and C-c C-e to sgml-close-tag.
9407 2010-05-13  Michael Albinus  <michael.albinus@gmx.de>
9409         * net/tramp.el (with-progress-reporter): Create reporter object
9410         only when the message would be displayed.  Handle nested calls.
9411         (tramp-handle-load, tramp-handle-file-local-copy)
9412         (tramp-handle-insert-file-contents, tramp-handle-write-region)
9413         (tramp-maybe-send-script, tramp-find-shell):
9414         Use `with-progress-reporter'.
9415         (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
9416         Fix message text.
9418         * net/tramp-smb.el (tramp-smb-handle-copy-file)
9419         (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
9420         (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
9421         Use `with-progress-reporter'.
9423 2010-05-13  Agustín Martín  <agustin.martin@hispalinux.es>
9425         * textmodes/ispell.el (ispell-init-process): Do not kill ispell
9426         process everytime when spellchecking from the minibuffer (bug#6143).
9428 2010-05-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9430         * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
9432         * dos-fns.el: Add "dos-" prefix for namespace control.
9433         (convert-standard-filename): Define as alias for
9434         dos-convert-standard-filename but only if applicable.
9436 2010-05-12  Alan Mackenzie  <acm@muc.de>
9438         * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
9439         Push the mark at the start of these functions when appropriate.
9441 2010-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9443         * minibuffer.el (completion-cycle-threshold): New custom var.
9444         (completion--do-completion): Use it.
9445         (minibuffer-complete): Use cycling if appropriate.
9447 2010-05-11  Juanma Barranquero  <lekktu@gmail.com>
9449         * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
9450         buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
9452 2010-05-11  Juri Linkov  <juri@jurta.org>
9454         * scroll-all.el (scroll-all-check-to-scroll):
9455         Add `scroll-up-command' and `scroll-down-command' (bug#6164).
9457 2010-05-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9459         * iimage.el (iimage-mode-map): Move initialization into declaration.
9460         (iimage-mode-buffer): Use with-silent-modifications.
9461         Simplify calling convention.  Adjust callers.
9462         (iimage-mode): Don't run hook redundantly.
9464         * minibuffer.el (completion-pcm--pattern->regex):
9465         Fix last change (bug#6160).
9467 2010-05-10  Juri Linkov  <juri@jurta.org>
9469         Remove nodes visited during Isearch from the Info history.
9470         * info.el (Info-isearch-initial-history)
9471         (Info-isearch-initial-history-list): New variables.
9472         (Info-isearch-start): Record initial values of
9473         Info-isearch-initial-history and Info-isearch-initial-history-list.
9474         Add Info-isearch-end to isearch-mode-end-hook.
9475         (Info-isearch-end): New function.
9477 2010-05-10  Michael Albinus  <michael.albinus@gmx.de>
9479         * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
9480         format string, in order to work around a bug in pdksh.
9481         Reported by Gilles Pion <gpion@lfdj.com>.
9482         (tramp-handle-verify-visited-file-modtime): Do not send a command
9483         when the connection is not established.
9484         (tramp-handle-set-file-times): Simplify the check for utc.
9486 2010-05-10  Juanma Barranquero  <lekktu@gmail.com>
9488         Fix use of `filter-buffer-substring' (rework previous change).
9489         * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
9490         (cua-repeat-replace-region):
9491         * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
9492         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9493         (cua-cut-region-to-global-mark): Use it.
9495 2010-05-09  Michael R. Mauger  <mmaug@yahoo.com>
9497         * progmodes/sql.el: Version 2.1.
9498         (sql-product-alist): Redesign structure of product info.
9499         (sql-product, sql-user, sql-server, sql-database): Safe variables.
9500         (sql-port, sql-port-history): New variables.
9501         (sql-interactive-product): New variable.
9502         (sql-send-terminator): New variable.
9503         (sql-imenu-generic-expression): Add "Types" imenu entry.
9504         (sql-oracle-login-params, sql-sqlite-login-params)
9505         (sql-mysql-login-params, sql-solid-login-params)
9506         (sql-sybase-login-params, sql-informix-login-params)
9507         (sql-ingres-login-params, sql-ms-login-params)
9508         (sql-postgres-login-params, sql-interbase-login-params)
9509         (sql-db2-login-params, sql-linter-login-params)
9510         (sql-oracle-scan-on): New variables.
9511         (sql-mode-map): Add C-c C-i to start interactive mode.
9512         (sql-mode-menu): Update existing menu entries.
9513         (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
9514         (sql-mode-oracle-font-lock-keywords)
9515         (sql-mode-postgres-font-lock-keywords)
9516         (sql-mode-ms-font-lock-keywords)
9517         (sql-mode-sybase-font-lock-keywords)
9518         (sql-mode-informix-font-lock-keywords)
9519         (sql-mode-interbase-font-lock-keywords)
9520         (sql-mode-ingres-font-lock-keywords)
9521         (sql-mode-solid-font-lock-keywords)
9522         (sql-mode-mysql-font-lock-keywords)
9523         (sql-mode-sqlite-font-lock-keywords)
9524         (sql-mode-db2-font-lock-keywords)
9525         (sql-mode-linter-font-lock-keywords): Update initialization to
9526         reduce run-time complexity.
9527         (sql-add-product, sql-del-product): New functions.
9528         (sql-set-product-feature, sql-get-product-feature): New functions.
9529         (sql-product-font-lock): Update product API.
9530         (sql-add-product-keywords): New function.
9531         (sql-highlight-product): Update product API.
9532         (sql-help-list-products): New function.
9533         (sql-help): Dynamically lists free and non-free products.
9534         (sql-get-login): Correct bug in handling history and added
9535         prompt for port.
9536         (sql-copy-column): Copy without properties.
9537         (sqli-input-sender): Apply filters to SQLi input.
9538         (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
9539         Implement as a filter.
9540         (sql-escape-newlines-filter): Implement as a filter.
9541         (sql-remove-tabs-filter): New function.
9542         (sql-send-magic-terminator): New function.
9543         (sql-send-string): Implement magic terminator.
9544         (sql-send-region): Use `sql-send-string'.
9545         (sql-interactive-mode): Use product API.
9546         (sql-product-interactive): Use product API.
9547         (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
9548         (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
9549         (sql-db2, sql-linter): Use `sql-product-interactive'.
9550         (sql-connect): New function.
9551         (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
9552         (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
9553         (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
9554         (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
9555         Use `sql-connect'.
9557 2010-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
9559         * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
9560         New custom variable.
9561         (completion-pcm--string->pattern): Use it.
9562         (completion-pcm--pattern->regex, completion-pcm--pattern->string):
9563         Make it handle any symbol as `any'.
9564         (completion-pcm--merge-completions): Extract common suffix for the new
9565         `prefix' symbol as well.
9566         (completion-substring--all-completions): Use the new `prefix' symbol.
9568 2010-05-09  Michael Albinus  <michael.albinus@gmx.de>
9570         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
9571         not bound.
9572         (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
9573         (tramp-compat-funcall): New defmacro.
9574         (tramp-compat-line-beginning-position)
9575         (tramp-compat-line-end-position)
9576         (tramp-compat-temporary-file-directory)
9577         (tramp-compat-make-temp-file, tramp-compat-file-attributes)
9578         (tramp-compat-copy-file, tramp-compat-copy-directory)
9579         (tramp-compat-delete-file, tramp-compat-delete-directory)
9580         (tramp-compat-number-sequence, tramp-compat-process-running-p)
9581         * net/tramp.el (top, with-progress-reporter)
9582         (tramp-rfn-eshadow-setup-minibuffer)
9583         (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
9584         (tramp-handle-dired-compress-file, tramp-handle-shell-command)
9585         (tramp-completion-mode-p, tramp-check-for-regexp)
9586         (tramp-open-connection-setup-interactive-shell)
9587         (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
9588         (tramp-time-diff, tramp-coding-system-change-eol-conversion)
9589         (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
9590         * net/tramp-cmds.el (tramp-cleanup-all-connections)
9591         (tramp-reporter-dump-variable, tramp-load-report-modules)
9592         (tramp-append-tramp-buffers)
9593         * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
9595         * net/tramp-imap.el (top): Autoload `epg-make-context'.
9597 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9599         * progmodes/compile.el (compilation-buffer-modtime): Rename from
9600         buffer-modtime.  Adjust users.
9602 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
9604         * international/mule.el (auto-coding-alist): Only purecopy
9605         car of each item, not the whole list (Bug#6083).
9607 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
9609         * progmodes/js.el (js-mode): Make paragraph variables local before
9610         calling c-setup-paragraph-variables (Bug#6071).
9612 2010-05-08  Eli Zaretskii  <eliz@gnu.org>
9614         * composite.el (compose-region, reference-point-alist): Fix typos
9615         in the doc strings.
9617 2010-05-08  Alexander Klimov  <alserkli@inbox.ru>  (tiny change)
9619         * calc/calc-graph.el (calc-graph-plot): Use the proper form for
9620         gnuplot's "set" command.
9622 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
9624         * abbrev.el (last-abbrev-text): Doc fix.
9625         (abbrev-prefix-mark): Don't escape parenthesis.
9627 2010-05-08  Andreas Schwab  <schwab@linux-m68k.org>
9629         * composite.el (find-composition): Doc fix.
9631 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
9633         * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
9634         (sql-oracle-program, sql-sqlite-options)
9635         (sql-query-placeholders-and-send): Doc fixes.
9636         (sql-set-product, sql-interactive-mode): Reflow docstrings.
9637         (sql-imenu-generic-expression, sql-buffer)
9638         (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
9639         (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
9640         (sql-mode-sybase-font-lock-keywords)
9641         (sql-mode-informix-font-lock-keywords)
9642         (sql-mode-interbase-font-lock-keywords)
9643         (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
9644         (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
9645         (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
9646         (sql-product-feature, sql-highlight-product)
9647         (comint-line-beginning-position, sql-rename-buffer)
9648         (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
9649         (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
9650         (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
9651         Fix typos in docstrings.
9653 2010-05-08  Juri Linkov  <juri@jurta.org>
9655         * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
9656         property instead of `invisible' and `after-string' (bug#5998).
9658 2010-05-08  Juri Linkov  <juri@jurta.org>
9660         * image-mode.el (image-mode-as-text): Fix typo in docstring.
9662 2010-05-08  Juanma Barranquero  <lekktu@gmail.com>
9664         * filecache.el (file-cache-add-directory-list)
9665         (file-cache-add-directory-recursively): Fix typos in docstrings.
9667 2010-05-08  Kenichi Handa  <handa@m17n.org>
9669         * language/indian.el (gurmukhi-composable-pattern): Fix typo.
9670         (gujarati-composable-pattern): Fix typo.
9672 2010-05-08  Kenichi Handa  <handa@m17n.org>
9674         * language/indian.el (oriya-composable-pattern)
9675         (tamil-composable-pattern, malayalam-composable-pattern):
9676         Add two-part vowels to "v" (vowel sign).
9678 2010-05-08  Chong Yidong  <cyd@stupidchicken.com>
9680         * files.el (copy-directory): Handle symlinks (Bug#5982).
9682 2010-05-08  Dan Nicolaescu  <dann@ics.uci.edu>
9684         * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
9685         (vc-hg-working-revision): Likewise.  Use hg parents, not hg parent
9686         (Bug#5846).
9688 2010-05-08  Glenn Morris  <rgm@gnu.org>
9690         * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
9692         * minibuffer.el (completion-at-point): Doc fix.
9694 2010-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9696         * electric.el (Electric-command-loop): Minor tweak.
9698         * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
9699         better with dedicated windows.
9701 2010-05-07  Chong Yidong  <cyd@stupidchicken.com>
9703         * Version 23.2 released.
9705 2010-05-07  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
9706             Stefan Monnier  <monnier@iro.umontreal.ca>
9708         Highlight vendor specific properties.
9709         * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
9710         (css-proprietary-property): New face.
9711         (css-font-lock-keywords): Use them.
9713 2010-05-07  Eli Zaretskii  <eliz@gnu.org>
9715         * cus-start.el (all): Add native condition for tool-bar-* symbols.
9717 2010-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9719         * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
9720         * files.el (auto-mode-alist): Remove redundant entries.
9722         * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
9723         * simple.el (auto-save-mode): Move from files.el.
9724         * minibuffer.el (completion--common-suffix): Fix copy&paste error.
9726 2010-05-07  Christian von Roques  <roques@mti.ag>  (tiny change)
9728         * epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
9730 2010-05-07  Katsumi Yamaoka  <yamaoka@jpl.org>
9732         * mail/binhex.el (binhex-decode-region-internal)
9733         * mail/uudecode.el (uudecode-decode-region-internal)
9734         * net/dns.el (dns-read-string-name, dns-write, dns-read)
9735         (dns-read-type, dns-query)
9736         * pgg-parse.el (pgg-parse-armor)
9737         * pgg.el (pgg-verify-region)
9738         * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
9739         XEmacs.
9741         * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
9743 2010-05-07  Juanma Barranquero  <lekktu@gmail.com>
9745         * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
9747         Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
9748         * emulation/cua-base.el (cua-repeat-replace-region):
9749         * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
9750         (cua-cut-region-to-global-mark):
9751         Remove text properties with `set-text-properties'.
9753 2010-05-06  Michael Albinus  <michael.albinus@gmx.de>
9755         * net/tramp.el (top, with-progress-reporter):
9756         Use `symbol-function' inside `funcall'.
9758         * net/tramp-compat.el (tramp-compat-file-attributes)
9759         (tramp-compat-delete-file, tramp-compat-delete-directory):
9760         Handle only `wrong-number-of-arguments' error.
9762         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
9763         (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
9764         inside `funcall'.
9766 2010-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
9768         * minibuffer.el (completion--sreverse, completion--common-suffix):
9769         New functions.
9770         (completion-pcm--merge-completions): Extract common suffix when safe.
9772         * emacs-lisp/easy-mmode.el (define-minor-mode):
9773         Make :variable more flexible.
9774         * files.el (auto-save-mode): Use it to define using define-minor-mode.
9776 2010-05-05  Juri Linkov  <juri@jurta.org>
9778         Add `slow' and `history' tags to the desktop data.
9780         * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
9781         (Info-virtual-files) [*Apropos*]: Add `slow' tag.
9782         (Info-finder-find-node): Require `finder.el' to be able
9783         to restore node from the desktop.
9784         (Info-desktop-buffer-misc-data): Save all nodes.  Save additional
9785         data `Info-history' and `slow' tag in the assoc list.
9786         (Info-restore-desktop-buffer): Don't restore nodes with the
9787         `slow' tag.  Restore `Info-history'.
9789 2010-05-05  Michael Albinus  <michael.albinus@gmx.de>
9791         Add FORCE argument to `delete-file'.
9793         * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
9794         forcing to delete the temporary file.
9795         (ange-ftp-delete-file): Add FORCE arg.
9796         (ange-ftp-rename-remote-to-remote)
9797         (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
9798         (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
9799         Force file deletion.
9801         * net/tramp-compat.el (tramp-compat-delete-file): New defun.
9803         * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
9804         (tramp-handle-make-symbolic-link, tramp-handle-load)
9805         (tramp-do-copy-or-rename-file-via-buffer)
9806         (tramp-do-copy-or-rename-file-directly)
9807         (tramp-do-copy-or-rename-file-out-of-band)
9808         (tramp-handle-process-file, tramp-handle-call-process-region)
9809         (tramp-handle-shell-command, tramp-handle-file-local-copy)
9810         (tramp-handle-insert-file-contents, tramp-handle-write-region)
9811         (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
9813         * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
9814         (tramp-fish-handle-make-symbolic-link)
9815         (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
9817         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
9818         Use `tramp-compat-delete-file'.
9820         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
9821         (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
9823         * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
9824         (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
9826         * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
9827         (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
9828         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
9829         Use `tramp-compat-delete-file'.
9831 2010-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9833         Minor cleanups.
9834         * subr.el (add-minor-mode): Use push.
9835         * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
9836         * emulation/edt.el (edt-select-mode): Simplify.
9838         Use define-minor-mode in more cases.
9839         * term/tvi970.el (tvi970-set-keypad-mode):
9840         * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
9841         (normal-erase-is-backspace-mode):
9842         * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
9843         (set-scroll-bar-mode-1): (Re)move to its sole caller.
9844         (get-scroll-bar-mode): New function.
9845         * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
9847         Use define-minor-mode for less obvious cases.
9848         * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
9849         * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
9850         * international/iso-ascii.el (iso-ascii-mode):
9851         * frame.el (auto-raise-mode, auto-lower-mode):
9852         * composite.el (global-auto-composition-mode): Use define-minor-mode.
9854 2010-05-04  Michael Albinus  <michael.albinus@gmx.de>
9856         * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
9857         in order to see error messages for failed logins.
9859 2010-05-03  Chong Yidong  <cyd@stupidchicken.com>
9861         * diff.el (diff-sentinel):
9863         * epg.el (epg--make-temp-file, epg-decrypt-string)
9864         (epg-verify-string, epg-sign-string, epg-encrypt-string):
9866         * jka-compr.el (jka-compr-partial-uncompress)
9867         (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
9869         * server.el (server-sentinel): Use delete-file's new FORCE arg
9870         (Bug#6070).
9872 2010-05-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9874         Use define-minor-mode where applicable.
9875         * view.el (view-mode):
9876         * type-break.el (type-break-query-mode)
9877         (type-break-mode-line-message-mode):
9878         * textmodes/reftex.el (reftex-mode):
9879         * term/vt100.el (vt100-wide-mode):
9880         * tar-mode.el (tar-subfile-mode):
9881         * savehist.el (savehist-mode):
9882         * ibuf-ext.el (ibuffer-auto-mode):
9883         * composite.el (auto-composition-mode):
9884         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9885         Use define-minor-mode.
9886         (vhdl-mode): Use static mode-line format.
9887         (vhdl-mode-line-update): Delete.
9888         (vhdl-create-mode-menu, vhdl-activate-customizations)
9889         (vhdl-hs-minor-mode): Don't bother calling it.
9891 2010-05-02  Stefan Monnier  <monnier@iro.umontreal.ca>
9893         * simple.el (with-wrapper-hook): Move.
9894         (buffer-substring-filters): Mark obsolete.
9895         (filter-buffer-substring-functions): New variable.
9896         (filter-buffer-substring): Use it.  Remove unused arg `noprops'.
9898 2010-05-01  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
9899             Michael Albinus  <michael.albinus@gmx.de>
9901         Implement compression for inline methods.
9903         * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
9904         (tramp-copy-size-limit): Allow also nil.
9905         (tramp-inline-compress-commands): New defconst.
9906         (tramp-find-inline-compress, tramp-get-inline-compress)
9907         (tramp-get-inline-coding): New defuns.
9908         (tramp-get-remote-coding, tramp-get-local-coding): Remove,
9909         replaced by `tramp-get-inline-coding'.
9910         (tramp-handle-file-local-copy, tramp-handle-write-region)
9911         (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
9913 2010-05-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9915         * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
9916         Remove unused functions.
9918         * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
9919         Set find-tag-default-function as a variable rather than a property.
9921         * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
9922         * progmodes/etags.el (tags-completion-at-point-function):
9923         Remove left over interactive spec.  Add autoloading stub.
9924         (complete-tag): Use tags-completion-at-point-function.
9926 2010-04-30  Chong Yidong  <cyd@stupidchicken.com>
9928         * minibuffer.el (tags-completion-at-point-function): Fix return value.
9930 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
9932         * ido.el (ido-init-completion-maps): Remove C-v binding.
9933         (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
9935 2010-04-29  Chong Yidong  <cyd@stupidchicken.com>
9937         * minibuffer.el (tags-completion-at-point-function): New function.
9938         (completion-at-point-functions): Use it.
9940         * progmodes/etags.el (complete-tag): Revert last change.
9942 2010-04-29  Alan Mackenzie  <acm@muc.de>
9944         * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
9945         off-by-one error (in end of macro position).
9947 2010-04-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9949         * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
9950         firefox is absent.  Don't autoload.
9951         (browse-url-galeon-program): Don't autoload.
9953 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
9955         * bindings.el (complete-symbol): Move into minibuffer.el.
9957         * minibuffer.el (complete-tag): Move from etags.el.  If tags
9958         completion cannot be performed, return nil instead of signalling
9959         an error.
9960         (completion-at-point): Make it an alias for complete-symbol.
9961         (complete-symbol): Move from bindings.el, and replace with the
9962         body of completion-at-point.
9964         * progmodes/etags.el (complete-tag): Move to minibuffer.el.
9966 2010-04-28  Michael Albinus  <michael.albinus@gmx.de>
9968         * net/tramp.el (tramp-remote-selinux-p): New defun.
9969         (tramp-handle-file-selinux-context)
9970         (tramp-handle-set-file-selinux-context): Use it.
9972 2010-04-28  Sam Steingold  <sds@gnu.org>
9974         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
9975         `safe-local-variable' if the value is a string or a symbol with
9976         the property `bug-reference-url-format'.
9978 2010-04-28  Chong Yidong  <cyd@stupidchicken.com>
9980         * progmodes/bug-reference.el (bug-reference-url-format):
9981         Revert 2010-04-27 change due to security risk.
9983 2010-04-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9985         Make it possible to locally disable a globally enabled mode.
9986         * simple.el (fundamental-mode): Run fundamental-mode-hook.
9987         * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
9988         rather than kill-all-local-variables so it runs fundamental-mode-hook.
9989         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9990         Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
9991         that subsequent hooks get a chance to disable it.
9993 2010-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9995         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9996         Avoid re-enabling a minor mode after the user turned the minor mode
9997         off if MODE-enable-in-buffers is run twice (typically once from
9998         fundamental-mode's after-change-major-mode-hook and a second time from
9999         run-mode-hook's own after-change-major-mode-hook).
10001         * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
10003 2010-04-27  Sam Steingold  <sds@gnu.org>
10005         * progmodes/bug-reference.el (bug-reference-url-format): Mark as
10006         `safe-local-variable' if the value is a string or a function, as
10007         documented and implemented on 2010-04-02.
10009 2010-04-27  Juanma Barranquero  <lekktu@gmail.com>
10011         * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
10012         when method is 'kill.
10014 2010-04-27  Agustín Martín  <agustin.martin@hispalinux.es>
10016         * textmodes/ispell.el (ispell-init-process): Fix personal dictionary
10017         condition in default directory check.
10018         (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
10019         Kill ispell process when killing its associated buffer.
10021 2010-04-27  Jan Djärv  <jan.h.d@swipnet.se>
10023         * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
10024         but we aren't using it.
10026 2010-04-25  Jan Djärv  <jan.h.d@swipnet.se>
10028         * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
10029         checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
10031 2010-04-24  Glenn Morris  <rgm@gnu.org>
10033         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
10034         Ignore VCS-ignore files, and deleted nextstep preferences files.
10035         (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
10036         (authors-ambiguous-files): New list.
10037         (authors-valid-file-names): Add some deleted files.
10038         (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
10039         (authors-disambiguate-file-name): New function.  (Bug#5501)
10040         (authors-canonical-file-name): Doc fix.
10041         Don't warn about obsolete files.
10042         (authors-canonical-file-name, authors-scan-el):
10043         Use authors-disambiguate-file-name.
10045         * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10046         Add autoload cookies.
10047         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
10048         (generated-autoload-file): Set file-local value to "htmlfontify.el".
10049         * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
10050         They have definitions / compiler macros in cl.el.
10051         (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
10052         Replace manual autoloads with generated ones.
10053         (htmlfontify-unload-rgb-file): Remove autoload.
10054         * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
10056 2010-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10058         * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
10059         (byte-compile-setq-default): Optimize for the
10060         single-var case and don't call byte-compile-form in this case to avoid
10061         inf-loop with byte-compile-set-default.
10063         * progmodes/compile.el (compilation-start): Abbreviate default directory.
10065 2010-04-23  Michael Albinus  <michael.albinus@gmx.de>
10067         Implement SELINUX backends.
10069         * net/tramp.el (tramp-file-name-handler-alist):
10070         Add `file-selinux-context' and `set-file-selinux-context'.
10071         (tramp-handle-file-selinux-context)
10072         (tramp-handle-set-file-selinux-context): New defuns.
10073         (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
10074         Handle PRESERVE-SELINUX-CONTEXT.
10076         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
10077         Add `file-selinux-context' and `set-file-selinux-context'.
10078         (tramp-gvfs-handle-file-selinux-context)
10079         (tramp-gvfs-handle-set-file-selinux-context): New defuns.
10080         (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
10082         * net/ange-ftp.el (ange-ftp-copy-file):
10083         * net/tramp-fish.el (tramp-fish-handle-copy-file):
10084         * net/tramp-imap.el (tramp-imap-handle-copy-file):
10085         * net/tramp-smb.el (tramp-smb-handle-copy-file):
10086         Add PRESERVE-SELINUX-CONTEXT.
10088 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
10090         Synchronize with Tramp repository.
10092         * net/tramp.el (with-connection-property, tramp-completion-mode-p)
10093         (tramp-action-process-alive, tramp-action-out-of-band)
10094         (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
10095         (tramp-exists-file-name-handler): Fix docstring.
10096         (with-progress-reporter): New defmacro.
10097         (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
10098         (tramp-maybe-open-connection): Use it.
10100 2010-04-22  Noah Lavine  <noah549@gmail.com>  (tiny change)
10102         Detect ssh 'ControlMaster' argument automatically in some cases.
10104         * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
10105         (tramp-default-method): Use it.
10107 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
10109         * net/tramp.el (tramp-handle-copy-file): Add new optional
10110         parameter `preserve-selinux-context'.
10111         (tramp-file-name-for-operation): Add `set-file-selinux-context'.
10113 2010-04-22  Michael Albinus  <michael.albinus@gmx.de>
10115         * net/tramp.el (tramp-completion-handle-file-name-all-completions):
10116         Ensure, that non remote files are still checked.  Oops.
10118 2010-04-21  Michael Albinus  <michael.albinus@gmx.de>
10120         Fix Bug#5840.
10122         * icomplete.el (icomplete-completions): Use `non-essential'.
10124         * net/tramp.el (tramp-connectable-p): New defun.
10125         (tramp-handle-expand-file-name)
10126         (tramp-completion-handle-file-name-all-completions)
10127         (tramp-completion-handle-file-name-completion): Use it.
10129 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10131         * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
10133 2010-04-21  Jan Djärv  <jan.h.d@swipnet.se>
10135         * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
10137         * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
10139         * loadup.el: Load dynamic-setting.el if feature dynamic-setting
10140         is present.
10142         * info.el (info-tool-bar-map): Add labels.
10144         * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
10146         * cus-edit.el (custom-commands): Add labels for tool bar.
10147         (custom-buffer-create-internal, Custom-mode): Adjust for
10148         labels in custom-commands.
10150         * dynamic-setting.el: Renamed from font-setting.el.
10152 2010-04-21  John Wiegley  <jwiegley@gmail.com>
10154         * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
10155         toggles the use of virtual buffers.
10156         (ido-buffer-internal): Guard `ido-use-virtual-buffers' global value.
10157         (ido-toggle-virtual-buffers): New function.
10159 2010-04-21  Juanma Barranquero  <lekktu@gmail.com>
10161         Use `define-derived-mode'; fix window selection; doc fixes.
10162         * play/tetris.el (tetris, tetris-update-speed-function)
10163         (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
10164         (tetris-move-left, tetris-move-right, tetris-rotate-prev)
10165         (tetris-rotate-next, tetris-end-game, tetris-start-game)
10166         (tetris-pause-game): Fix typos in docstrings.
10167         (tetris-mode-map, tetris-null-map):
10168         Move initialization into declaration.
10169         (tetris-mode): Define with `define-derived-mode';
10170         set show-trailing-whitespace to nil.
10171         (tetris): Prefer window already displaying the "*Tetris*" buffer.
10173 2010-04-21  Karel Klíč  <kklic@redhat.com>
10175         * files.el (backup-buffer): Handle SELinux context, and return it
10176         if a backup was made by renaming.
10177         (backup-buffer-copy): Set SELinux context to the target file.
10178         (basic-save-buffer): Set SELinux context of the newly written file.
10179         (basic-save-buffer-1): Now it also returns any SELinux context.
10180         (basic-save-buffer-2): Set SELinux context of the newly created file,
10181         and return it.
10182         * net/tramp.el (tramp-file-name-for-operation):
10183         Add file-selinux-context.
10185 2010-04-21  Stefan Monnier  <monnier@iro.umontreal.ca>
10187         Make the log-edit comments use RFC822 format throughout.
10189         * vc.el (vc-checkin, vc-modify-change-comment):
10190         Adjust to new vc-start/finish-logentry.
10191         (vc-find-conflicted-file): New command.
10192         (vc-transfer-file): Adjust to new vc-checkin.
10193         (vc-next-action): Improve scoping.
10195         * vc-hg.el (vc-hg-log-edit-mode): Remove.
10196         (vc-hg-checkin): Remove extra arg.  Use log-edit-extract-headers.
10198         * vc-git.el (vc-git-log-edit-mode): Remove.
10199         (vc-git-checkin): Remove extra arg.  Use log-edit-extract-headers.
10200         (vc-git-commits-coding-system): Rename from git-commits-coding-system.
10202         * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
10203         (vc-start-logentry): Remove argument `extra'.
10204         (vc-finish-logentry): Remove extra args.
10206         * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
10207         (vc-bzr-checkin): Remove extra arg.  Use log-edit-extract-headers.
10208         (vc-bzr-conflicted-files): New function.
10210         * log-edit.el (log-edit-extra-flags)
10211         (log-edit-before-checkin-process): Remove.
10212         (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
10213         (log-edit-headers-alist): New var.
10214         (log-edit-header-contents-regexp): New const.
10215         (log-edit-match-to-eoh): New function.
10216         (log-edit-font-lock-keywords): Use them.
10217         (log-edit): Insert a "Summary:" header as default.
10218         (log-edit-mode): Mark font-lock rules as case-insensitive.
10219         (log-edit-done): Cleanup headers.
10220         (log-view-process-buffer): Remove.
10221         (log-edit-extract-headers): New function to replace it.
10223 2010-04-20  Juanma Barranquero  <lekktu@gmail.com>
10225         * subr.el (default-direction-reversed): Remove obsolescence info.
10227 2010-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
10229         * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
10230         windows/frames.
10232         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
10233         I.e. include text after point in the completion region.
10234         Also, return nil when we're not after/in a symbol.
10236         * international/mule-cmds.el (view-hello-file): Don't fiddle with the
10237         default enable-multibyte-characters.
10239 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10241         * international/mule.el: Help the user choose a valid coding-system.
10242         (read-buffer-file-coding-system): New function.
10243         (set-buffer-file-coding-system): Use it.  Prompt the user if the
10244         coding-system cannot encode all the chars.
10246         * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
10247         (vc-bzr-shelve-show, vc-bzr-shelve-apply)
10248         (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
10249         Don't use *vc-bzr-shelve*.
10251 2010-04-19  Dan Nicolaescu  <dann@ics.uci.edu>
10253         Fix the version number for added files.
10254         * vc-hg.el (vc-hg-working-revision): Check if the file is
10255         registered after hg parent fails (Bug#5961).
10257 2010-04-19  Glenn Morris  <rgm@gnu.org>
10259         * htmlfontify.el (htmlfontify-buffer)
10260         (htmlfontify-copy-and-link-dir): Autoload entry points.
10262 2010-04-19  Magnus Henoch  <magnus.henoch@gmail.com>
10264         * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
10265         name relative to the project root (Bug#5960).
10267 2010-04-19  Glenn Morris  <rgm@gnu.org>
10269         * vc-git.el (vc-git-print-log): Doc fix.
10271 2010-04-19  Óscar Fuentes  <ofv@wanadoo.es>
10273         * ido.el (ido-file-internal): Fix 2009-12-02 change.
10275 2010-04-19  Christoph  <cschol2112@googlemail.com>  (tiny change)
10277         * progmodes/grep.el (grep-compute-defaults): Fix handling of host
10278         default settings (Bug#5928).
10280 2010-04-19  Glenn Morris  <rgm@gnu.org>
10282         * progmodes/fortran.el (fortran-match-and-skip-declaration):
10283         New function.
10284         (fortran-font-lock-keywords-3): Use it.  (Bug#1385)
10286 2010-04-19  Kenichi Handa  <handa@m17n.org>
10288         * language/indian.el (malayalam-composable-pattern): Fix previous
10289         change (add U+0D4D "SIGN VIRAMA").
10290         (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
10291         (tamil-composable-pattern): Fix typo in the regexp.
10292         (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
10293         (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
10294         (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
10296 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
10298         * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
10299         paragraph-separate (Bug#5821).
10301 2010-04-19  Juri Linkov  <juri@jurta.org>
10303         Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
10305         * info.el (Info-find-node-2): Comment out code that skips
10306         breadcrumbs line.
10307         (Info-mouse-follow-link): New command.
10308         (Info-link-keymap): New keymap.
10309         (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
10310         Return a string with links instead of inserting breadcrumbs
10311         to the Info buffer.
10312         (Info-fontify-node): Comment out code that inserts breadcrumbs.
10313         Instead of putting the `invisible' text property over the Info
10314         header, make an overlay over the Info header with the `invisible'
10315         property and `after-string' set to the string returned by
10316         `Info-breadcrumbs'.
10318 2010-04-19  Chong Yidong  <cyd@stupidchicken.com>
10320         * help.el (help-window-setup-finish): Doc fix (Bug#5830).
10321         Reported by monkey@sandpframing.com.
10323 2010-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
10325         * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
10326         (tmm-get-keymap): Add key-binding shortcuts now that they're not
10327         available in the "keyseq cache" any more.
10329         * custom.el (defcustom): Add edebug spec.
10331 2010-04-18  Juri Linkov  <juri@jurta.org>
10333         Test for special mode-class in view-buffer instead of view-file (bug#5513).
10335         * view.el (view-file, view-buffer): Move test for special mode-class
10336         from view-file to view-buffer.
10338         * tar-mode.el (tar-extract): Turn if's into one cond
10339         like in arc-mode.el.
10341 2010-04-18  Juri Linkov  <juri@jurta.org>
10343         Add 7z archive format support (bug#5475).
10345         * arc-mode.el (archive-zip-extract): Try to find 7z executable.
10346         (archive-7z-extract): New defcustom.
10347         (archive-find-type): Add magic string for 7z.
10348         (archive-extract-by-stdout): Add new optional arg `stderr-file'.
10349         If `stderr-file' is non-nil, use `(t stderr-file)' for the
10350         `buffer' arg of `call-process'.
10351         (archive-zip-extract): Check `archive-zip-extract' for "7z" and
10352         call the function `archive-7z-extract' with the variable
10353         `archive-7z-extract' let-bound to `archive-zip-extract'.
10354         (archive-7z-summarize, archive-7z-extract): New functions.
10356         * international/mule.el (auto-coding-alist):
10357         * files.el (auto-mode-alist): Add 7z file extension.
10359 2010-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
10361         * loadup.el: Setup hash-cons for pure data.
10363         Fix duplicate entries in cedet's loaddefs.el files.
10364         * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
10365         Should make most file-local generated-autoload-file unnecessary.
10366         (print-readably): Silence warnings.
10367         (autoload-find-destination): Take load-name as an arg to make sure
10368         it's the same as the one that will be in the file.
10369         (autoload-generate-file-autoloads): Adjust to above changes.
10370         Try to make the dataflow a bit simpler.
10372         * cvs-status.el (cvs-refontify): Remove unused.
10374 2010-04-18  Jay Belanger  <jay.p.belanger@gmail.com>
10376         * calc/calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
10378         * calc/calc-bin.el (calc-radix): Have the "O" option turn on
10379         twos-complement mode.
10381 2010-04-17  Jay Belanger  <jay.p.belanger@gmail.com>
10383         * calc/calc-ext.el (calc-init-extensions): Add keybinding for
10384         'calc-option'.  Add `calc-option-prefix-help' to calc-help autoloads.
10385         (calc-inverse): Add "Option" to message, as appropriate.
10386         (calc-hyperbolic): Add "Option" to message, as appropriate.
10387         (calc-option, calc-is-option): New functions.
10389         * calc/calc-help.el (calc-full-help): Add `calc-option-help'.
10390         (calc-option-prefix-help): New function.
10392         * calc/calc-misc.el (calc-help): Add "Option" entry.
10394         * calc/calc.el (calc-local-var-list): Add `calc-option-flag'.
10395         (calc-option-flag): New variable.
10396         (calc-do): Set `calc-option-flag to nil.
10397         (calc-set-mode-line): Add "Opt " as appropriate.
10399 2010-04-16  Juri Linkov  <juri@jurta.org>
10401         Move scrolling commands from simple.el to window.el
10402         because their primitives are implemented in window.c.
10404         * simple.el (scroll-error-top-bottom)
10405         (scroll-up-command, scroll-down-command, scroll-up-line)
10406         (scroll-down-line, scroll-other-window-down)
10407         (beginning-of-buffer-other-window, end-of-buffer-other-window):
10408         * window.el (scroll-error-top-bottom)
10409         (scroll-up-command, scroll-down-command, scroll-up-line)
10410         (scroll-down-line, scroll-other-window-down)
10411         (beginning-of-buffer-other-window, end-of-buffer-other-window):
10412         Move from simple.el to window.el because their primitives are
10413         implemented in window.c.
10415 2010-04-16  Juri Linkov  <juri@jurta.org>
10417         * isearch.el (isearch-lookup-scroll-key): Check both
10418         `isearch-scroll' and `scroll-command' properties.
10419         (scroll-up, scroll-down): Remove `isearch-scroll' property.
10421         * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
10423         * simple.el (scroll-up-command, scroll-down-command)
10424         (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
10426 2010-04-15  Juri Linkov  <juri@jurta.org>
10428         * simple.el (scroll-up-command, scroll-down-command)
10429         (scroll-up-line, scroll-down-line): Put `scroll-command'
10430         property on the these symbols.  Remove them from
10431         `scroll-preserve-screen-position-commands'.
10433         * mwheel.el (mwheel-scroll): Put `scroll-command' and
10434         `isearch-scroll' properties on the `mwheel-scroll' symbol.
10435         Remove it from `scroll-preserve-screen-position-commands'.
10437         * isearch.el (isearch-allow-scroll): Doc fix.
10439 2010-04-15  Michael Albinus  <michael.albinus@gmx.de>
10441         * net/tramp.el (tramp-error-with-buffer): Don't show the
10442         connection buffer when we are in completion mode.
10443         (tramp-file-name-handler): Catch the error for some operations
10444         when we are in completion mode.  This gives the user the chance to
10445         correct the file name in the minibuffer.
10447 2010-04-15  Glenn Morris  <rgm@gnu.org>
10449         * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
10451 2010-04-15  Juanma Barranquero  <lekktu@gmail.com>
10453         Simplify by using `define-derived-mode'.
10454         * info.el (Info-mode):
10455         * calendar/todo-mode.el (todo-mode):
10456         * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
10457         (gomoku-mode-map): Move initialization into declaration.
10459 2010-04-14  Michael Albinus  <michael.albinus@gmx.de>
10461         Fix Bug#5840.
10462         * ido.el (ido-file-name-all-completions-1):
10463         * minibuffer.el (minibuffer-completion-help):
10464         * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
10466 2010-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
10468         * simple.el (non-essential): New var.
10470         Add a new field `location' to bookmarks for non-file bookmarks.
10471         * bookmark.el (bookmark-location): Use the new field, if present.
10472         (bookmark-insert-location): Undo last change, not needed any more.
10473         * man.el (Man-bookmark-make-record):
10474         * woman.el (woman-bookmark-make-record): Add `location' field.
10476 2010-04-14  Juri Linkov  <juri@jurta.org>
10478         * simple.el (scroll-error-top-bottom): New defcustom.
10479         (scroll-up-command, scroll-down-command): Use it.  Doc fix.
10481         * emulation/pc-select.el (pc-select-override-scroll-error):
10482         Obsolete in favor of `scroll-error-top-bottom'.
10484 2010-04-14  Juri Linkov  <juri@jurta.org>
10486         * tutorial.el (tutorial--default-keys): Rebind `C-v' to
10487         `scroll-up-command' and `M-v' to `scroll-down-command'.
10489         * emulation/cua-rect.el (cua--init-rectangles):
10490         * forms.el (forms--change-commands):
10491         * image-mode.el (image-mode-map):
10492         Remap scroll-down-command and scroll-up-command
10493         in addition to scroll-down and scroll-up.
10495 2010-04-14  Juri Linkov  <juri@jurta.org>
10497         * mwheel.el (scroll-preserve-screen-position-commands):
10498         Add mwheel-scroll to this list of commands.
10500         * simple.el (scroll-preserve-screen-position-commands):
10501         Add scroll-up-command, scroll-down-command, scroll-up-line,
10502         scroll-down-line to this list of commands.
10504 2010-04-13  Stefan Monnier  <monnier@iro.umontreal.ca>
10506         * obsolete/complete.el: Move from lisp/complete.el.
10508         * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
10510         * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
10511         to the minor mode function now turns the mode ON unconditionally.
10513 2010-04-12  Stefan Monnier  <monnier@iro.umontreal.ca>
10515         * vc-dir.el (vc-dir-kill-line): New command.
10516         (vc-dir-mode-map): Bind it to C-k.
10518         * bookmark.el (bookmark-insert-location): Handle a nil filename.
10520         * woman.el: Add bookmark declarations to silence the compiler.
10521         (bookmark-prop-get): Use `man-args' rather than `filename' as a first
10522         step to compatibility between man and woman bookmarks.
10523         Adjust for Man-default-bookmark-title renaming.
10524         (woman-bookmark-jump): Adjust accordingly.  Don't forget to autoload.
10526         * man.el: Add bookmark declarations to silence the compiler.
10527         (Man-name-local-regexp): Make it match NAME as well.
10528         (Man-getpage-in-background): Return the buffer.
10529         (Man-notify-when-ready): Use `case'.
10530         (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
10531         Don't hardcode "NAME".  Simplify.
10532         (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
10533         Rename from Man-bookmark-make-record.
10534         (Man-bookmark-jump): Rename from man-bookmark-jump.  Simplify now that
10535         we have the actual man-args.  Use Man-getpage-in-background rather
10536         than `man' since the arg is already processed.  Let bookmark.el do the
10537         window handling.  Only wait for the relevant process.
10538         Don't forget to autoload.
10540         * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
10542 2010-04-12  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
10544         * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
10545         New functions.
10546         (woman-mode): Setup bookmark support.
10548         * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
10549         (man-bookmark-jump): New functions.
10550         (Man-mode): Setup bookmark support.
10552 2010-04-10  Jari Aalto  <jari.aalto@cante.net>
10554         * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
10555         recognize ssh-keygen prompt (Bug#2817).
10557 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
10559         * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
10561 2010-04-10  Michael Albinus  <michael.albinus@gmx.de>
10563         Synchronize with Tramp repository.
10565         * net/tramp.el (tramp-completion-function-alist)
10566         (tramp-file-name-regexp, tramp-chunksize)
10567         (tramp-local-coding-commands, tramp-remote-coding-commands):
10568         Fix docstring.
10569         (tramp-remote-process-environment): Use `format' instead of `concat'.
10570         (tramp-handle-directory-files-and-attributes)
10571         (tramp-get-remote-path): Use `copy-tree'.
10572         (tramp-handle-file-name-all-completions): Backward/ XEmacs
10573         compatibility: Use `completion-ignore-case' if
10574         `read-file-name-completion-ignore-case' does not exist.
10575         (tramp-do-copy-or-rename-file-directly): Do not use
10576         `tramp-handle-file-remote-p'.
10577         (tramp-do-copy-or-rename-file-out-of-band):
10578         Use `tramp-compat-delete-directory'.
10579         (tramp-do-copy-or-rename-file-out-of-band)
10580         (tramp-compute-multi-hops, tramp-maybe-open-connection):
10581         Use `format-spec-make'.
10582         (tramp-find-foreign-file-name-handler)
10583         (tramp-advice-make-auto-save-file-name)
10584         (tramp-set-auto-save-file-modes): Remove superfluous check for
10585         `stringp'.  This is done inside `tramp-tramp-file-p'.
10586         (tramp-debug-outline-regexp): New defconst.
10587         (tramp-get-debug-buffer): Use it.
10588         (tramp-check-for-regexp): Use (forward-line 1).
10589         (tramp-set-auto-save-file-modes): Adapt version check.
10591         * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
10592         Wrap call of `featurep' for 2nd argument.
10593         (tramp-compat-make-temp-file): Simplify fallback implementation.
10594         (tramp-compat-copy-tree): Remove function.
10595         (tramp-compat-delete-directory): Provide implementation for older
10596         Emacsen.
10598         * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
10599         Do not use `tramp-fish-handle-file-attributes.
10601         * net/trampver.el: Update release number.
10603 2010-04-10  Glenn Morris  <rgm@gnu.org>
10605         * progmodes/compile.el (compilation-save-buffers-predicate):
10606         Add missing :version tag.
10608 2010-04-09  Sam Steingold  <sds@gnu.org>
10610         * progmodes/compile.el (compilation-save-buffers-predicate):
10611         Remove the "autoload" cookie.
10613         * progmodes/bug-reference.el (turn-on-bug-reference-mode)
10614         (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
10615         and `bug-reference-prog-mode' can be used in hooks directly.
10617 2010-04-09  Dan Nicolaescu  <dann@ics.uci.edu>
10619         Add --author support to git commit.
10620         * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
10621         (vc-git-log-edit-mode): New minor mode.
10622         (log-edit-mode, log-edit-extra-flags, log-edit-mode):
10623         New declarations.
10625 2010-04-09  Eric Raymond  <esr@snark.thyrsus.com>
10627         * vc-hooks.el, vc-git.el: Improve documentation comments.
10629 2010-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10631         Fix some of the problems in defsubst* (bug#5728).
10632         * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
10633         (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
10635 2010-04-07  Sam Steingold  <sds@gnu.org>
10637         * progmodes/compile.el (compilation-save-buffers-predicate):
10638         New custom variable.
10639         (compile, recompile): Pass it to `save-some-buffers'.
10641 2010-04-07  Jan Djärv  <jan.h.d@swipnet.se>
10643         * wid-edit.el (widget-choose): Move cursor to the second line of
10644         the buffer (Bug#5695).
10646 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
10648         Add new VC methods: vc-log-incoming and vc-log-outgoing.
10649         * vc.el (vc-print-log-setup-buttons): New function split out from
10650         vc-print-log-internal.
10651         (vc-log-internal-common): New function, a parametrized version of
10652         vc-print-log-internal.
10653         (vc-print-log-internal): Just call vc-log-internal-common with the
10654         right arguments.
10655         (vc-incoming-outgoing-internal):
10656         (vc-log-incoming, vc-log-outgoing): New functions.
10657         (vc-log-view-type): New permanent local variable.
10659         * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
10661         * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
10662         of the dynamic bound vc-short-log.
10663         (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
10665         * vc-git.el (vc-git-log-outgoing): New function.
10666         (vc-git-log-view-mode): Use vc-log-view-type instead
10667         of the dynamic bound vc-short-log.
10669         * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
10670         of the dynamic bound vc-short-log.  Highlight the tag.
10671         (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
10672         (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
10673         (vc-hg-incoming-mode): Remove.
10674         (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
10676 2010-04-07  Dan Nicolaescu  <dann@ics.uci.edu>
10678         Fix default-directory for vc-root-diff.
10679         * vc.el (vc-root-diff): Bind default-directory to the root
10680         directory for the diff command.
10682 2010-04-07  Michael McNamara  <mac@mail.brushroad.com>
10684         * progmodes/verilog-mode.el (verilog-forward-sexp):
10685         (verilog-calc-1): Support "disable fork" and "fork wait" multi
10686         word keywords, suggested by Steve Pearlmutter.
10687         (verilog-pretty-declarations): Support lineup of declarations in
10688         port lists.
10689         (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
10690         fix bug for /* / comments.
10691         (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
10692         Speed up and simplfy as this is never called with a bound.
10693         (verilog-pretty-declarations): Enhance to line up declarations
10694         inside a parameter list, suggested by Alan Morgan.
10695         (verilog-pretty-expr): Tune assignment regular expression match
10696         string for corner cases; also use markers instead of character
10697         number as indent changes the later.
10699 2010-04-07  Wilson Snyder  <wsnyder@wsnyder.org>
10701         * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
10702         as missing keyword.
10703         (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
10704         causing truncation of AUTOWIRE signals.  Reported by Bruce Tennant.
10705         (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
10706         AUTO_TEMPLATEs needing multiple array bits.  Suggested by Bruce
10707         Tennant.
10708         (verilog-keywords):
10709         (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
10710         1800-2009 keywords, including "global.".
10712 2010-04-06  John Wiegley  <jwiegley@gmail.com>
10714         * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
10715         appearing in buffer list (if a live buffer name matched a recentf
10716         file basename).  Should use uniquify to offer a real solution.
10718 2010-04-06  John Wiegley  <jwiegley@gmail.com>
10720         * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
10721         comment to code, and add a :version tag.
10722         (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
10724 2010-04-06  Juanma Barranquero  <lekktu@gmail.com>
10726         Enable recentf-mode if using virtual buffers.
10727         * ido.el (recentf-list): Declare for byte-compiler.
10728         (ido-virtual-buffers): Move up to silence byte-compiler.  Add docstring.
10729         (ido-make-buffer-list): Simplify.
10730         (ido-add-virtual-buffers-to-list): Simplify.  Enable recentf-mode.
10732 2010-04-05  Juri Linkov  <juri@jurta.org>
10734         Scrolling commands which scroll a line instead of full screen.
10735         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10737         * simple.el (scroll-up-line, scroll-down-line): New commands.
10738         Put property isearch-scroll=t on them.
10740         * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
10741         Remove commands.
10743 2010-04-05  Juri Linkov  <juri@jurta.org>
10745         Scrolling commands which do not signal errors at top/bottom.
10746         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
10748         * simple.el (scroll-up-command, scroll-down-command): New commands.
10749         Put property isearch-scroll=t on them.
10751         * bindings.el (global-map): Rebind [prior] from `scroll-down' to
10752         `scroll-down-command' and [next] from `scroll-up' to
10753         `scroll-up-command'.
10755         * emulation/cua-base.el: Put property CUA=move on
10756         `scroll-up-command' and `scroll-down-command'.
10757         (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
10758         and `scroll-down-command' to `cua-scroll-down'.
10760 2010-04-05  Juanma Barranquero  <lekktu@gmail.com>
10762         * help.el (describe-mode): Return nil.
10764 2010-04-04  John Wiegley  <jwiegley@gmail.com>
10766         * ido.el (ido-use-virtual-buffers): New variable to indicate
10767         whether "virtual buffer" support is enabled for IDO.
10768         (ido-virtual): Face used to indicate virtual buffers in the list.
10769         (ido-buffer-internal): If a buffer is chosen, and no such buffer
10770         exists, but a virtual buffer of that name does (which would be why
10771         it was in the list), recreate the buffer by reopening the file.
10772         (ido-make-buffer-list): If virtual buffers are being used, call
10773         `ido-add-virtual-buffers-to-list' before the make list hook.
10774         (ido-virtual-buffers): New variable which contains a copy of the
10775         current contents of the `recentf-list', albeit pared down for the
10776         sake of speed, and with proper faces applied.
10777         (ido-add-virtual-buffers-to-list): Using the `recentf-list',
10778         create a list of "virtual buffers" to present to the user in
10779         addition to the currently open set.  Note that this logic could
10780         get rather slow if that list is too large.  With the default
10781         `recentf-max-saved-items' of 200, there is little speed penalty.
10783 2010-04-03  Stefan Monnier  <monnier@iro.umontreal.ca>
10785         * font-lock.el: Require CL when compiling.
10786         (font-lock-turn-on-thing-lock): Use `case'.
10788 2010-04-03  Eli Zaretskii  <eliz@gnu.org>
10790         * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
10791         Zaretskii.
10793 2010-04-02  Juri Linkov  <juri@jurta.org>
10795         * ehelp.el (electric-help-orig-major-mode):
10796         New buffer-local variable.
10797         (electric-help-mode): Set it to original major-mode.  Doc fix.
10798         (with-electric-help): Use `electric-help-orig-major-mode' instead
10799         of (default-value 'major-mode).  Doc fix.
10800         http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
10802 2010-04-02  Sam Steingold  <sds@gnu.org>
10804         * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
10805         `vc-hg-command' with a list of flags.
10807         * progmodes/bug-reference.el (bug-reference-bug-regexp):
10808         Also accept "patch" and "RFE".
10809         (bug-reference-fontify): `bug-reference-url-format' can also be a
10810         function to be able to handle the bug kind.
10811         (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
10813 2010-04-02  Jan Djärv  <jan.h.d@swipnet.se>
10815         * tmm.el (tmm-get-keymap): Check with symbolp before passing
10816         value to fboundp, it may not be a symbol.
10818 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10820         * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
10822 2010-03-31  Juri Linkov  <juri@jurta.org>
10824         * simple.el (next-line, previous-line): Re-throw a signal
10825         with `signal' instead of using `ding'.
10826         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
10828 2010-03-31  Juri Linkov  <juri@jurta.org>
10830         * simple.el (keyboard-escape-quit): Raise deselecting the active
10831         region higher than exiting the minibuffer.
10832         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
10834 2010-03-31  Juri Linkov  <juri@jurta.org>
10836         * image.el (image-animated-p): Use `image-metadata' instead of
10837         `image-extension-data'.  Get GIF extenstion data from metadata
10838         property `extension-data'.
10840 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10842         * simple.el (append-to-buffer): Simplify.
10844 2010-03-31  Tomas Abrahamsson  <tab@lysator.liu.se>
10846         * textmodes/artist.el (artist-mode): Fix typo in docstring.
10847         Reported by Alex Schröder <kensanata@gmail.com>.  (Bug#5807)
10849 2010-03-31  Kenichi Handa  <handa@m17n.org>
10851         * language/sinhala.el (composition-function-table): Fix regexp for
10852         the new Unicode specification.
10854         * language/indian.el (devanagari-composable-pattern)
10855         (tamil-composable-pattern, kannada-composable-pattern)
10856         (malayalam-composable-pattern): Adjust for the new Unicode
10857         specification.
10858         (bengali-composable-pattern, gurmukhi-composable-pattern)
10859         (gujarati-composable-pattern, oriya-composable-pattern)
10860         (telugu-composable-pattern): New variables to cope with the new
10861         Unicode specification.  Use them in composition-function-table.
10863 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10865         Make tmm-menubar work for the Buffers menu again (bug#5726).
10866         * tmm.el (tmm-prompt): Also handle keymap entries in the form of
10867         vectors rather than cons cells, as used in menu-bar-update-buffers.
10869 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10871         * progmodes/js.el (js-auto-indent-flag, js-mode-map)
10872         (js-insert-and-indent): Revert 2009-08-15 change, restoring
10873         electric punctuation for "{}();,:" (Bug#5586).
10875         * mail/sendmail.el (mail-default-directory): Doc fix.
10877 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10879         * mail/sendmail.el (mail-default-directory): Doc fix.
10881 2010-03-31  Eli Zaretskii  <eliz@gnu.org>
10883         * subr.el (version-regexp-alist, version-to-list)
10884         (version-list-<, version-list-=, version-list-<=)
10885         (version-list-not-zero, version<, version<=, version=): Doc fix.
10886         (Bug#5744).
10888 2010-02-31  Dan Nicolaescu  <dann@ics.uci.edu>
10890         * vc.el (vc-root-diff): Doc fix.
10892 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10894         * vc.el (vc-print-log, vc-print-root-log): Doc fix.
10896         * simple.el (append-to-buffer): Fix last change.
10898 2010-03-31  Chong Yidong  <cyd@stupidchicken.com>
10900         * simple.el (append-to-buffer): Ensure that point is preserved if
10901         BUFFER is the current buffer.  Suggested by YAMAMOTO Mitsuharu.
10902         (Bug#5749)
10904 2010-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
10906         * files.el (auto-mode-case-fold): Change default to t.
10908 2010-03-30  Juri Linkov  <juri@jurta.org>
10910         * dired-x.el (dired-omit-mode): Doc fix.
10912 2010-03-30  Juri Linkov  <juri@jurta.org>
10914         * replace.el (occur-accumulate-lines): Move occur-engine related
10915         functions `occur-accumulate-lines' and `occur-engine-add-prefix'
10916         to be located after `occur-engine'.
10918 2010-03-30  Juri Linkov  <juri@jurta.org>
10920         Make occur handle multi-line matches cleanly with context.
10921         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
10923         * replace.el (occur-accumulate-lines): Add optional arg `pt'.
10924         (occur-engine): Add local variables `ret', `prev-after-lines',
10925         `prev-lines'.  Use more arguments for `occur-context-lines'.
10926         Set first elem of its returned list to `data', and the second elem
10927         to `prev-after-lines'.  Don't print the separator line.
10928         In the end, print remaining context after-lines.
10929         (occur-context-lines): Add new arguments `begpt', `endpt',
10930         `lines', `prev-lines', `prev-after-lines'.  Rewrite to combine
10931         after-lines of the previous match with before-lines of the
10932         current match and not overlap them.  Return a list with two
10933         values: the output line and the list of context after-lines.
10935 2010-03-30  Juri Linkov  <juri@jurta.org>
10937         * replace.el (occur-accumulate-lines): Fix a bug where the first
10938         context line at the beginning of the buffer was missing.
10940 2010-03-30  Eli Zaretskii  <eliz@gnu.org>
10942         * files.el: Make bidi-display-reordering safe variable for boolean
10943         values.
10945 2010-03-29  Phil Hagelberg  <phil@evri.com>
10946             Chong Yidong  <cyd@stupidchicken.com>
10948         * subr.el: Extend progress reporters to perform "spinning".
10949         (progress-reporter-update, progress-reporter-do-update):
10950         Handle non-numeric value arguments.
10951         (progress-reporter--pulse-characters): New var.
10953 2010-03-28  Chong Yidong  <cyd@stupidchicken.com>
10955         * progmodes/compile.el (compilation-start): Fix regexp detection
10956         of initial cd command (Bug#5771).
10958 2010-03-28  Stefan Guath  <stefan@automata.se>  (tiny change)
10960         * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
10962 2010-03-27  Nick Roberts  <nickrob@snap.net.nz>
10964         Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
10965         * progmodes/gdb-mi.el: Restore.
10966         * progmodes/gdb-ui.el: Remove.
10967         * progmodes/gud.el: Re-accommodate for gdb-mi.el.
10969 2010-03-25  Glenn Morris  <rgm@gnu.org>
10971         * desktop.el (desktop-save-buffer-p): Don't mistakenly include
10972         all dired buffers, even tramp ones.  (Bug#5755)
10974 2010-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
10976         Add "union tags" in mpc.el.
10977         * mpc.el: Remove backward compatibility code.
10978         (mpc-browser-tags): Change default.
10979         (mpc--find-memoize-union-tags): New var.
10980         (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
10981         (mpc-cmd-find): Handle the case where the playlist does not exist.
10982         Handle union-tags.
10983         (mpc-cmd-list): Use mpc-cmd-special-tag-p.  Handle union-tags.
10984         (mpc-cmd-add): Use mpc-cmd-flush.
10985         (mpc-tagbrowser-tag-name): New fun.
10986         (mpc-tagbrowser-buf): Use it.
10987         (mpc-songs-refresh): Use cond.  Move to point-min as a fallback.
10989 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
10991         Misc cleanup.
10992         * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
10993         Use replace-regexp-in-string.
10994         (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
10995         (makefile-imake-mode-syntax-table): Move init into defvar.
10996         (makefile-mode): Use define-derived-mode.
10998         * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
10999         (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
11000         not be present any more.
11002 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
11004         * faces.el (set-face-attribute): Fix typo in docstring.
11005         (face-valid-attribute-values): Reflow docstring.
11007 2010-03-24  Glenn Morris  <rgm@gnu.org>
11009         * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
11011 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
11013         * indent.el (indent-for-tab-command): Doc fix.
11015 2010-03-24  Alan Mackenzie  <acm@muc.de>
11017         * progmodes/cc-engine.el (c-remove-stale-state-cache):
11018         Fix off-by-one error.  Fixes bug #5747.
11020 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
11022         * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
11023         (image-dired-read-comment): Doc fix.
11025         * json.el (json-object-type, json-array-type, json-key-type)
11026         (json-false, json-null, json-read-number):
11027         * minibuffer.el (completion-in-region-functions):
11028         * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
11029         (cal-tex-cursor-week):
11030         * emacs-lisp/trace.el (trace-function):
11031         * eshell/em-basic.el (eshell/printnl):
11032         * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
11033         (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
11034         * obsolete/levents.el (allocate-event, event-key, event-object)
11035         (event-point, event-process, event-timestamp, event-to-character)
11036         (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
11037         * textmodes/reftex-vars.el (reftex-index-macros-builtin)
11038         (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
11039         (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
11040         (reftex-highlight-selection): Fix typos in docstrings.
11042 2010-03-24  Juanma Barranquero  <lekktu@gmail.com>
11044         * minibuffer.el (completion-in-region-functions): Fix docstring typos.
11046 2010-03-24  Glenn Morris  <rgm@gnu.org>
11048         * mail/rmail.el (rmail-highlight-face): Restore option deleted
11049         2008-02-13 without comment; mark it obsolete.
11050         (rmail-highlight-headers): Use rmail-highlight-face once more.
11052 2010-03-24  Chong Yidong  <cyd@stupidchicken.com>
11054         * woman.el (woman2-process-escapes): Only consume the newline if
11055         the filler character is on a line by itself (Bug#5729).
11057 2010-03-24  Kenichi Handa  <handa@m17n.org>
11059         * language/indian.el (devanagari-composable-pattern): Add more
11060         consonants.
11062 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
11064         * net/trampver.el: Update release number.
11066 2010-03-24  Michael Albinus  <michael.albinus@gmx.de>
11068         * net/tramp.el (tramp-find-executable):
11069         Use `tramp-get-connection-buffer'.  Make the regexp for checking
11070         output of "wc -l" more robust.
11071         (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
11072         (tramp-open-connection-setup-interactive-shell): Remove workaround
11073         for OpenSolaris bug, it is not needed anymore.
11075 2010-03-24  Glenn Morris  <rgm@gnu.org>
11077         * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie.  (Bug#4427)
11079 2010-03-24  Wilson Snyder  <wsnyder@wsnyder.org>
11081         * files.el (auto-mode-alist): Accept more verilog file patterns.
11083 2010-03-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11085         * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
11087 2010-03-24  Glenn Morris  <rgm@gnu.org>
11089         * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
11090         log-edit-before-checkin-process.
11092         * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
11094         * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
11096         * vc-dispatcher.el (vc-start-logentry): Doc fix.
11097         (log-view-process-buffer, log-edit-extra-flags): Declare.
11099         * log-edit.el (log-edit-before-checkin-process): Doc fix.
11101 2010-03-23  Sam Steingold  <sds@gnu.org>
11103         Fix bug#5620: recalculate all markers on compilation buffer
11104         modifications, not on file modifications.
11105         * progmodes/compile.el (compilation-buffer-modtime): New buffer-local
11106         variable: the buffer modification time, for buffers not associated with
11107         files.
11108         (compilation-mode): Create it.
11109         (compilation-filter): Update it.
11110         (compilation-next-error-function): Use it instead of
11111         `visited-file-modtime' for timestamp.
11113 2010-03-23  Juri Linkov  <juri@jurta.org>
11115         Implement Occur multi-line matches.
11116         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
11118         * replace.el (occur): Doc fix.
11119         (occur-engine): Set `begpt' to the beginning of the first line.
11120         Set `endpt' to the end of the last match line.  At first, count
11121         line numbers between `origpt' and `begpt'.  Split out code from
11122         `out-line' variable to new let-bindings `match-prefix' and
11123         `match-str'.  In `out-line' add non-numeric prefix to all
11124         non-first lines of multi-line matches.  Finally, count lines
11125         between `begpt' and `endpt' and add to `lines'.
11127 2010-03-23  Juri Linkov  <juri@jurta.org>
11129         * replace.el (occur-accumulate-lines, occur-engine):
11130         Use `occur-engine-line' instead of duplicate code.
11131         (occur-engine-line): New function created from duplicate code
11132         in `occur-accumulate-lines' and `occur-engine'.
11134         * replace.el (occur-engine-line): Add optional arg `keep-props'.
11135         (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
11137 2010-03-23  Juri Linkov  <juri@jurta.org>
11139         * finder.el: Remove TODO tasks.
11141         * info.el (Info-finder-find-node): Add node "all"
11142         with all package info.  Handle a list of multiple keywords
11143         separated by comma.
11144         (info-finder): In interactive use with a prefix argument,
11145         use `completing-read-multiple' to read a list of keywords
11146         separated by comma.
11148 2010-03-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11150         Add a new completion style `substring'.
11151         * minibuffer.el (completion-basic--pattern): New function.
11152         (completion-basic-try-completion, completion-basic-all-completions):
11153         Use it.
11154         (completion-substring--all-completions)
11155         (completion-substring-try-completion)
11156         (completion-substring-all-completions): New functions.
11157         (completion-styles-alist): New style `substring'.
11159 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11161         Get rid of .elc files after removal of the corresponding .el.
11162         * Makefile.in (compile-clean): New target.
11163         (compile-main): Use it.
11165 2010-03-22  Jan Djärv  <jan.h.d@swipnet.se>
11167         * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
11168         don't do make there.  When compiling with separate object dir, there
11169         is no Makefile there.
11171 2010-03-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11173         Get rid of the ELCFILES abomination, again.
11174         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
11175         (all, compile): Don't call compile-last.
11176         (compile-main): Build the "elcfiles" list dynamically.
11177         (compile-targets): New (internal) target.
11179 2010-03-21  Andreas Schwab  <schwab@linux-m68k.org>
11181         * Makefile.in (top_srcdir): Define.
11182         (abs_top_builddir): Define.
11183         (srcdir): Don't append `/..'.
11184         (EMACS): Use ${abs_top_builddir}.
11185         (all, compile, compile-always, compile-last): Don't set emacswd.
11186         (update-subdirs, update-authors): Use $(top_srcdir) instead of
11187         $(srcdir).
11188         (lisp): Use $(srcdir) instead of @srcdir@.
11190 2010-03-21  Juri Linkov  <juri@jurta.org>
11192         Fix message of multi-line occur regexps and multi-buffer header lines.
11193         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
11195         * replace.el (occur-1): Don't display regexp if it is longer
11196         than window-width.  Use `query-replace-descr' to display regexp.
11197         (occur-engine): Don't display regexp in the buffer header for
11198         multi-buffer occur.  Display a separate header line with total
11199         match count and regexp for multi-buffer occur.
11200         Use `query-replace-descr' to display regexp.
11202 2010-03-20  Teodor Zlatanov  <tzz@lifelogs.com>
11204         * net/secrets.el: Fix parenthesis.
11205         (secrets-enabled): Fix parenthesis.
11207 2010-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11209         Use more relative file and directory names.
11210         * Makefile.in (EMACS): Arrange for it to work when we chdir.
11211         (setwins, setwins_almost, setwins_for_subdirs):
11212         Don't `cd'; output relative names.
11213         (all, compile, compile-always, compile-last): Set emacswd.
11214         (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
11215         Just cd to the lisp source dir so we can use relative file names.
11217         * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
11219 2010-03-20  Glenn Morris  <rgm@gnu.org>
11221         * textmodes/rst.el: Use faces for font-lock customization, and make the
11222         old -face variables obsolete.
11223         (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
11224         (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
11225         (rst-block-face, rst-external-face, rst-definition-face)
11226         (rst-directive-face, rst-comment-face, rst-emphasis1-face)
11227         (rst-emphasis2-face, rst-literal-face, rst-reference-face):
11228         Make obsolete.
11229         (rst-font-lock-keywords-function): Update for above changes.
11231 2010-03-20  Juri Linkov  <juri@jurta.org>
11233         * s-region.el:
11234         * obsolete/s-region.el: Move to obsolete.
11236 2010-03-19  Juanma Barranquero  <lekktu@gmail.com>
11238         * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
11240 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
11242         * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
11244 2010-03-19  Dan Nicolaescu  <dann@ics.uci.edu>
11246         Add special markup processing for commit logs.
11247         * log-edit.el (log-edit-extra-flags): New variable.
11248         (log-edit): Add new argument MODE.  Use that mode when non-nil
11249         instead of the log-view-mode.
11250         (log-view-process-buffer): New function.
11252         * vc.el: Document that the checkin method takes optional
11253         arguments.  Document new backend specific method: log-view-mode.
11254         (vc-default-log-edit-mode): New function.
11255         (vc-checkin): Use a backend specific log-view-mode.
11256         Pass extra arguments to the checkin method.
11257         (vc-modify-change-comment): Pass a dummy extra argument.
11259         * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
11260         log-edit.
11261         (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
11262         (vc-finish-logentry): Process the log buffer before passing it
11263         down.  Pass log-edit-extra-flags.
11265         * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
11266         command.
11267         (log-edit-extra-flags, log-edit-before-checkin-process):
11268         New declarations.
11270         * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
11271         command.
11272         (log-edit-extra-flags, log-edit-before-checkin-process):
11273         New declarations.
11274         (vc-hg-log-edit-mode): New derived mode.
11276         * vc-arch.el (vc-arch-checkin):
11277         * vc-cvs.el (vc-cvs-checkin):
11278         * vc-git.el (vc-git-checkin):
11279         * vc-mtn.el (vc-mtn-checkin):
11280         * vc-rcs.el (vc-rcs-checkin):
11281         * vc-sccs.el (vc-sccs-checkin):
11282         * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
11284 2010-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11286         * outline.el (hide-sublevels): Don't hide trailing newline (and fix
11287         parent typo).
11289 2010-03-19  Glenn Morris  <rgm@gnu.org>
11291         * password-cache.el (password-cache, password-cache-expiry): Autoload.
11293 2010-03-18  Glenn Morris  <rgm@gnu.org>
11295         * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
11297         * replace.el (query-replace-history): Give it a doc string.
11298         (map-query-replace-regexp): Use query-replace-from-history-variable
11299         and query-replace-to-history-variable.
11301         * mail/hashcash.el (declare-function): Remove duplicate definition.
11303         * mail/emacsbug.el (report-emacs-bug-pretest-address):
11304         Make it an obsolete alias for report-emacs-bug-address.
11305         (message-strip-special-text-properties): Declare.
11306         (report-emacs-bug): Remove test for a pretest bug address.
11307         Combine message-mode-specific code.
11309         * mail/supercite.el: Don't require sendmail.
11310         (mh-in-header-p): Declare rather than using with-no-warnings.
11311         (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
11312         mail-header-end.  Don't bind mysterious variable `kill-lines-magic'.
11314         * calendar/cal-french.el: Convert to utf-8.
11316         * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
11317         Emacs scripts.
11319 2010-03-16  Michael Albinus  <michael.albinus@gmx.de>
11321         * net/secrets.el (secrets-enabled): New variable.  Use it instead
11322         of a subfeature.
11324 2010-03-15  Michael Albinus  <michael.albinus@gmx.de>
11326         * net/secrets.el (top): Register the D-Bus signals only when the
11327         service "org.freedesktop.secrets" can be pinged.
11328         Provide subfeature `enabled'.
11330 2010-03-14  Juri Linkov  <juri@jurta.org>
11332         Add finder unknown keywords.
11334         * finder.el (finder-unknown-keywords): New function.
11336         * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
11337         to create a Finder node with unknown keywords.
11339 2010-03-14  Juri Linkov  <juri@jurta.org>
11341         * finder.el (finder-compile-keywords): Replace `princ' with
11342         `prin1' on a list of symbols interned from keyword strings.
11344         * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
11345         a comma, then split keywords using a comma and optional whitespace.
11346         Otherwise, split by whitespace.
11348         * complete.el:
11349         * face-remap.el:
11350         * log-view.el:
11351         * net/hmac-def.el:
11352         * net/hmac-md5.el:
11353         * net/netrc.el:
11354         * progmodes/mixal-mode.el: Fix keywords.
11356 2010-03-13  Michael Albinus  <michael.albinus@gmx.de>
11358         * Makefile.in (ELCFILES): Add net/secrets.elc.
11360         * net/secrets.el: New file.
11362 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
11364         * facemenu.el (list-colors-display, list-colors-print): New arg
11365         callback.  Use it to allow selecting colors.
11367         * wid-edit.el (widget-image-insert): Insert image prop even if the
11368         current display is non-graphic.
11369         (widget-field-value-set): New fun.
11370         (editable-field): Use it.
11371         (widget-field-value-get): Clean up unused var.
11372         (widget-color-value-create, widget-color--choose-action):
11373         New funs.  Allow using list-colors-display to choose color.
11375 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
11377         * cus-edit.el: Resort topmost custom groups.
11378         (custom-buffer-sort-alphabetically): Default to t.
11379         (customize-apropos): Use apropos-parse-pattern.
11380         (custom-search-field): New var.
11381         (custom-buffer-create-internal): Add custom-apropos search field.
11382         (custom-add-parent-links): Don't display parent doc.
11383         (custom-group-value-create): Don't sort top-level custom group.
11384         (custom-magic-value-create): Show visibility button before option name.
11386         (custom-variable-state): New fun, from custom-variable-state-set.
11387         (custom-variable-state-set): Use it.
11388         (custom-group-value-create): Hide options with standard values
11389         using the :hidden-states property.  Use progress reporter.
11391         (custom-show): Simplify.
11392         (custom-visibility): Disable images by default.
11393         (custom-variable): New property :hidden-states.
11394         (custom-variable-value-create): Enable images for
11395         custom-visibility widgets.  Use :hidden-states property to
11396         determine initial visibility.
11398         * wid-edit.el (widget-image-find): Give images center ascent.
11399         (visibility): Add :on-image and :off-image properties.
11400         (widget-visibility-value-create): Use them.
11402 2010-03-12  Chong Yidong  <cyd@stupidchicken.com>
11404         * cus-edit.el (processes): Remove from development group.
11405         (oop, hypermedia): Delete group.
11406         (comm): Promote to top-level group.
11408         * net/browse-url.el (browse-url):
11409         * net/xesam.el (xesam):
11410         * net/tramp.el (tramp):
11411         * net/goto-addr.el (goto-address):
11412         * net/ange-ftp.el (ange-ftp): Put in comm group.
11414         * view.el (view): Remove from editing group.
11416         * uniquify.el (uniquify): Put in files group.
11418         * net/browse-url.el (browse-url):
11419         * ps-print.el (postscript): Put in external group.
11421         * cus-edit.el (outlines):
11422         * textmodes/text-mode.el (text-mode-hook):
11423         * textmodes/table.el (table):
11424         * textmodes/picture.el (picture):
11425         * outline.el (outlines): Put in wp group.
11427         * nxml/nxml-mode.el (nxml): Remove from wp group.
11429         * net/tramp-imap.el (tramp-imap): Put in tramp group.
11431         * mail/metamail.el (metamail): Remove from hypermedia group.
11433         * cus-edit.el (abbrev):
11434         * whitespace.el (whitespace):
11435         * vcursor.el (vcursor):
11436         * reveal.el (reveal):
11437         * hl-line.el (hl-line): Put in convenience group.
11439         * epg-config.el (epg): Put in data group.
11441         * emulation/pc-select.el (pc-select): Put in emulations group.
11443         * calculator.el (calculator): Put in applications group.
11445 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
11447         Add .dir-locals.el support for file-less buffers.
11448         * files.el (hack-local-variables): Split out code to apply local
11449         variable settings ...
11450         (hack-local-variables-apply): ... here.  New function.
11451         (hack-dir-local-variables): Use the default directory for when the
11452         buffer does not have an associated file.
11453         (hack-dir-local-variables-non-file-buffer): New function.
11454         * diff-mode.el (diff-mode):
11455         * vc-annotate.el (vc-annotate-mode):
11456         * vc-dir.el (vc-dir-mode):
11457         * log-edit.el (log-edit-mode):
11458         * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
11460 2010-03-12  Dan Nicolaescu  <dann@ics.uci.edu>
11462         Add support for shelving snapshots and for showing shelves.
11463         * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
11464         (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
11465         New functions.
11466         (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
11467         (vc-bzr-extra-menu-map): Map them.
11469 2010-03-11  Glenn Morris  <rgm@gnu.org>
11471         * cus-edit.el (customize-changed-options-previous-release):
11472         Bump to 23.1.
11474         * image.el (image-animate-max-time): Fix :version tag.
11476 2010-03-10  Chong Yidong  <cyd@stupidchicken.com>
11478         * Branch for 23.2.
11480 2010-03-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11482         * vc-git.el (vc-git-revision-table): Include remote branches.
11484 2010-03-10  Kim F. Storm  <storm@cua.dk>
11486         Animated image API.
11487         http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
11489         * image.el (image-animate-max-time): New defcustom.
11490         (image-animated-types): New defconst.
11491         (create-animated-image, image-animate-timer)
11492         (image-animate-start, image-animate-stop, image-animate-timeout)
11493         (image-animated-p): New functions.
11495         * image-mode.el (image-toggle-display-image):
11496         Replace `create-image' with `create-animated-image'.
11498 2010-03-09  Miles Bader  <miles@gnu.org>
11500         * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
11501         instead of "format:"; this ensures that the output is
11502         newline-terminated.
11504 2010-03-08  Chong Yidong  <cyd@stupidchicken.com>
11506         * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
11507         that all errors are caught, and that the return value is always a
11508         list (Bug#5692).
11510 2010-03-08  Kenichi Handa  <handa@m17n.org>
11512         * language/misc-lang.el (windows-1256): New coding system.
11513         (cp1256): New alias of windows-1256 (bug#5690).
11515 2010-03-07  Andreas Schwab  <schwab@linux-m68k.org>
11517         * mail/rfc822.el (rfc822-addresses): Move catch clause down around
11518         call to rfc822-bad-address.  (Bug#5692)
11520 2010-03-07  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
11522         * vc-git.el (vc-git-annotate-extract-revision-at-line):
11523         Use vc-git-root as default directory for revision path (Bug#5657).
11525 2010-03-06  Chong Yidong  <cyd@stupidchicken.com>
11527         * calculator.el (calculator): Don't bind split-window-keep-point
11528         (Bug#5674).
11530 2010-03-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11532         * vc-git.el: Re-flow to fit into 80 columns.
11533         (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
11534         Remove spurious `quote' element in each case alternative.
11535         (vc-git-show-log-entry): Use prog1.
11536         (vc-git-after-dir-status-stage): Remove unused var `remaining'.
11538 2010-03-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11540         * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
11542 2010-03-03  Chong Yidong  <cyd@stupidchicken.com>
11544         * macros.el (insert-kbd-macro): Look up keyboard macro using the
11545         definition, not the name (Bug#5481).
11547 2010-03-03  Štěpán Němec  <stepnem@gmail.com>  (tiny change)
11549         * subr.el (momentary-string-display): Don't overwrite the MESSAGE
11550         argument with a local variable.  (Bug#5670)
11552 2010-03-02  Juri Linkov  <juri@jurta.org>
11554         * info.el (Info-index-next): Decrement line number by 2.  (Bug#5652)
11556 2010-03-02  Michael Albinus  <michael.albinus@gmx.de>
11558         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
11559         error when FILENAME and NEWNAME are existing remote directories.
11561         * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
11562         parameter DIR-FLAG.
11564 2010-03-02  Glenn Morris  <rgm@gnu.org>
11566         * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
11567         of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
11569 2010-03-01  Kenichi Handa  <handa@m17n.org>
11571         * language/burmese.el (burmese-composable-pattern): Rename from
11572         myanmar-composable-pattern.
11574         * international/characters.el (script-list):
11575         * international/fontset.el (script-representative-chars):
11576         Change myanmar to burmese.
11577         (otf-script-alist): Likewise.
11578         (setup-default-fontset): Likewise.  Re-fix :otf spec.
11580 2010-02-28  Katsumi Yamaoka  <yamaoka@jpl.org>
11582         * menu-bar.el (menu-bar-manuals-menu): Fix typo.
11584 2010-02-28  Jan Djärv  <jan.h.d@swipnet.se>
11586         * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
11588 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
11590         * net/tramp.el (tramp-handle-write-region): START can be a string.
11591         Take care in the checks.  Reported by Dan Davison
11592         <davison@stats.ox.ac.uk>.
11594 2010-02-28  Michael Albinus  <michael.albinus@gmx.de>
11596         * net/dbus.el (dbus-introspect, dbus-get-property)
11597         (dbus-set-property, dbus-get-all-properties):
11598         Use `dbus-call-method' when noninteractive.  (Bug#5645)
11600 2010-02-28  Chong Yidong  <cyd@stupidchicken.com>
11602         * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
11603         * emacs-lisp/elint.el (elint-add-required-env):
11604         * calendar/icalendar.el (icalendar--add-diary-entry):
11605         * calc/calcalg2.el (math-tracing-integral):
11606         * files.el (recover-session-finish): Use with-current-buffer
11607         instead of save-excursion.
11609 2010-02-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11611         Fix in-buffer completion when after-change-functions modify the buffer.
11612         * minibuffer.el (completion--replace): New function.
11613         (completion--do-completion): Use it and use relative movement.
11615 2010-02-27  Chong Yidong  <cyd@stupidchicken.com>
11617         * international/fontset.el (setup-default-fontset): Fix :otf spec.
11619 2010-02-27  Jeremy Whitlock  <jcscoobyrs@gmail.com>  (tiny change)
11621         * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
11622         Allow the characters _<> in the stack entry (Bug#5653).
11624 2010-02-26  Kenichi Handa  <handa@m17n.org>
11626         * language/burmese.el: Fix entries in composition-function-table.
11627         (myanmar-composable-pattern): New variable.
11629         * international/fontset.el (setup-default-fontset): Add an entry
11630         for myanmar.
11632         * international/characters.el (script-list): Add Myanmar
11633         Extended-A.
11635 2010-02-26  Glenn Morris  <rgm@gnu.org>
11637         * custom.el (custom-initialize-delay): Doc fix.
11639         * mail/sendmail.el (send-mail-function): Autoload the call
11640         to custom-initialize-delay, not otherwise preserved in loaddefs.el.
11642 2010-02-24  Chong Yidong  <cyd@stupidchicken.com>
11644         * files.el (hack-local-variables-filter): For eval forms, also
11645         check safe-local-variable-p (Bug#5636).
11647 2010-02-22  Michael Albinus  <michael.albinus@gmx.de>
11649         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
11650         setting the modes by `ignore-errors'.  It might fail, for example
11651         if the file is not owned by the user but the group.
11652         (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
11654 2010-02-21  Chong Yidong  <cyd@stupidchicken.com>
11656         * files.el (directory-listing-before-filename-regexp):
11657         Use stricter matching for iso-style dates, to avoid false matches with
11658         date-like filenames (Bug#5597).
11660         * htmlfontify.el (htmlfontify): Doc fix.
11662         * eshell/eshell.el (eshell): Doc fix.
11664         * startup.el (fancy-about-screen): In mode-line, apply
11665         mode-line-buffer-id face only to the buffer name (Bug#5613).
11667 2010-02-20  Kevin Ryde  <user42@zip.com.au>
11669         * progmodes/compile.el (compilation-error-regexp-alist-alist):
11670         In `watcom' anchor regexp to start of line, to avoid slowness
11671         (Bug#5599).
11673 2010-02-20  Eli Zaretskii  <eliz@gnu.org>
11675         * subr.el (remove-yank-excluded-properties): Explain in a comment
11676         why `category' property is removed.
11678 2010-02-19  Chong Yidong  <cyd@stupidchicken.com>
11680         * isearch.el (isearch-update-post-hook, isearch-update):
11681         Revert 2010-02-17 change.
11683 2010-02-19  Ulf Jasper  <ulf.jasper@web.de>
11685         * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
11686         (icalendar--convert-weekly-to-ical)
11687         (icalendar--convert-yearly-to-ical)
11688         (icalendar--convert-block-to-ical)
11689         (icalendar--convert-cyclic-to-ical)
11690         (icalendar--convert-anniversary-to-ical): Take care of time
11691         specifications where hour has 1-digit only (Bug#5549).
11693 2010-02-19  Nick Roberts  <nickrob@snap.net.nz>
11695         * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
11696         of disassemble output in GDB 7.1.
11698 2010-02-19  Glenn Morris  <rgm@gnu.org>
11700         * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
11701         property.  (Bug#5593)
11703 2010-02-18  Sam Steingold  <sds@gnu.org>
11705         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
11707 2010-02-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11709         Use abbreviated file names in bookmarks (bug#5591).
11710         * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
11711         calls to expand-file-name.
11712         (bookmark-relocate): Use abbreviated file names in bookmarks.
11713         (bookmark-load): Use abbreviated file names in messages.
11715 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
11717         * net/tramp.el (tramp-handle-directory-files): When FULL, do not
11718         expand "." and "..".  Reported by Thierry Volpiatto
11719         <thierry.volpiatto@gmail.com>.
11721 2010-02-18  Michael Albinus  <michael.albinus@gmx.de>
11723         * net/tramp.el (tramp-handle-insert-file-contents): Set always the
11724         permissions of the temporary file to "0600".  In case the remote
11725         file has no read permissions for the owner, there might be
11726         problems otherwise.  Reported by Ole Laursen <olau@iola.dk>.
11728 22010-02-18  Glenn Morris  <rgm@gnu.org>
11730         * emacs-lisp/authors.el (authors-renamed-files-alist):
11731         Add entries for INSTALL.CVS.
11733 2010-02-17  Mark A. Hershberger  <mah@everybody.org>
11735         * vc-bzr.el: Fix typo in Known Bugs section.
11737         * isearch.el (isearch-update-post-hook): New hook.
11738         (isearch-update): Use the new hook.
11740 2010-02-16  Michael Albinus  <michael.albinus@gmx.de>
11742         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
11743         Fix errors in copying directories.
11744         (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
11745         (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
11746         (tramp-handle-delete-file)
11747         (tramp-handle-dired-recursive-delete-directory)
11748         (tramp-handle-write-region): Flush also the cache for the upper
11749         directory.
11751 2010-02-16  Chong Yidong  <cyd@stupidchicken.com>
11753         * simple.el (save-interprogram-paste-before-kill): Doc fix.
11755         * cus-edit.el (hardware): Doc fix.
11757         * man.el (man): Add to external custom group.
11759         * delim-col.el (columns): Move to wp custom group.
11761         * doc-view.el (doc-view): Add to data custom group.
11763         * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
11765         * textmodes/flyspell.el (flyspell-word): Obey the offset specified
11766         by ispell-parse-output (Bug#5575).
11768 2010-02-16  Kenichi Handa  <handa@m17n.org>
11770         * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
11771         (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
11772         (skkdic-convert): Use `euc-japan' coding system for writing.
11774 2010-02-16  Glenn Morris  <rgm@gnu.org>
11776         * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
11777         tex-main-file before using it.  (Bug#5562)
11779 2010-02-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11781         * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
11782         warnings, since it is annoying for the user to see them each time he
11783         runs the code.
11785 2010-02-15  Michael Albinus  <michael.albinus@gmx.de>
11787         * net/tramp.el (tramp-process-actions, tramp-read-passwd):
11788         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
11789         instead of PROC for caching "first-password-request".  Otherwise,
11790         new processes would not profit from passwords already entered.
11792         * net/tramp-cache.el (tramp-dump-connection-properties):
11793         Don't save "first-password-request" property.
11795 2010-02-14  Juanma Barranquero  <lekktu@gmail.com>
11797         * outline.el (outline-head-from-level):
11798         * simple.el (with-wrapper-hook):
11799         * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
11800         (elint-defun, elint-buffer-env, elint-top-form-logged)
11801         (elint-unbound-variable):
11802         * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
11803         Fix typos in docstrings.
11805 2010-02-14  Michael Albinus  <michael.albinus@gmx.de>
11807         * files.el (insert-directory): When WILDCARD-REGEXP and
11808         FULL-DIRECTORY-P are nil, insert the file entry instead of the
11809         whole directory.  (Bug#5551)
11811         * net/ange-ftp.el (ange-ftp-insert-directory): Insert "  " for
11812         dired's alignment sanity.  (Bug#5516)
11814 2010-02-14  Juri Linkov  <juri@jurta.org>
11816         * man.el (Man-fontify-manpage, Man-cleanup-manpage):
11817         Remove remaining ^H with their preceding chars.  (Bug#5566)
11819 2010-02-13  Glenn Morris  <rgm@gnu.org>
11821         * simple.el (transpose-subr): Give it a doc-string.
11823         * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
11824         Doc fixes.
11826 2010-02-12  Juri Linkov  <juri@jurta.org>
11828         * arc-mode.el (archive-unique-fname): Make directories for nested
11829         archives.  (Bug#5540)
11831 2010-02-12  Juri Linkov  <juri@jurta.org>
11833         * ffap.el (dired-at-point): Fix docstring.  (Bug#5565)
11835 2010-02-11  Stefan Monnier  <monnier@iro.umontreal.ca>
11837         * subr.el (copy-overlay): Handle deleted overlays.
11839         * man.el (Man-completion-table): Don't signal an error if we can't run
11840         manual-program (bug#4056).
11842 2010-02-10  Juanma Barranquero  <lekktu@gmail.com>
11844         * textmodes/artist.el (artist-mt): Fix typos in docstring.
11846 2010-02-10  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11848         * info.el (Info-bookmark-jump): Simplify.
11850         * bookmark.el (bookmark-handle-bookmark): Catch the right error.
11851         (bookmark-default-handler): Accept new bookmark field `buffer'.
11853 2010-02-10  Chong Yidong  <cyd@stupidchicken.com>
11855         * iswitchb.el (iswitchb-completions): Revert last change.
11857 2010-02-10  Michael Albinus  <michael.albinus@gmx.de>
11859         * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
11860         FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
11861         This prevents file names like "~/" being listed literally.
11863 2010-02-10  Dan Nicolaescu  <dann@ics.uci.edu>
11865         * term/xterm.el (xterm-maybe-set-dark-background-mode):
11866         Remove dead code.  (Bug#5546)
11868 2010-02-09  Chong Yidong  <cyd@stupidchicken.com>
11870         * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
11871         correctly (Bug#5548).
11873 2010-02-08  Jose E. Marchesi  <jemarch@gnu.org>
11875         * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
11876         (ada-adjust-case): Don't adjust case in hexadecimal number literals.
11878 2010-02-08  Kenichi Handa  <handa@m17n.org>
11880         * international/mule-util.el (with-coding-priority): Add autoload
11881         cookie for putting `lisp-indent-function'.
11883 2010-02-07  Glenn Morris  <rgm@gnu.org>
11885         * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
11886         Move F2003 named interfaces from keywords-2 to keywords-1, and
11887         use function-name-face rather than constant-face.
11888         Simplify "abstract interface" regexp.
11890 2010-02-07  Chong Yidong  <cyd@stupidchicken.com>
11892         * eshell/esh-util.el (eshell-file-attributes): New optional arg
11893         ID-FORMAT.  Pass it to `file-attributes'.
11895         * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
11897 2010-02-07  sj  <prime.wizard+emacs@gmail.com>  (tiny change)
11899         * faces.el (set-face-attribute): Allow calling
11900         internal-set-lisp-face-attribute with 'unspecified family and
11901         foundry argument (Bug#5536).
11903 2010-02-07  Glenn Morris  <rgm@gnu.org>
11905         * progmodes/f90.el (f90-font-lock-keywords-2)
11906         (f90-looking-at-type-like, f90-looking-at-program-block-end):
11907         Handle F2003 named interfaces.
11909 2010-02-06  Chong Yidong  <cyd@stupidchicken.com>
11911         * progmodes/cc-mode.el (c-common-init): Bind temporary variables
11912         beg and end before calling c-get-state-before-change-functions.
11914 2010-02-06  Dan Nicolaescu  <dann@ics.uci.edu>
11916         * vc-bzr.el (vc-bzr-dir-extra-headers):
11917         Disable the pending merges header.
11919 2010-02-05  Juri Linkov  <juri@jurta.org>
11921         * doc-view.el (doc-view-mode):
11922         * image-mode.el (image-mode): Put property mode-class=special.
11923         (Bug#4896)
11925 2010-02-05  Mark A. Hershberger  <mah@everybody.org>
11927         * vc-svn.el (vc-svn-revision-table): New function.
11929 2010-02-05  Michael Albinus  <michael.albinus@gmx.de>
11931         * net/ange-ftp.el (ange-ftp-insert-directory):
11932         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11933         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11934         Handle also directories.  (Bug#5478)
11936 2010-02-05  Glenn Morris  <rgm@gnu.org>
11938         * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
11940 2010-02-05  Chong Yidong  <cyd@stupidchicken.com>
11942         * startup.el (command-line-1): Convert options beginning with a
11943         single dash as well (Bug#5519).
11945 2010-02-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11947         Make `initials' completion work for /hh -> /home/horn again (bug#5524).
11948         * minibuffer.el (completion-initials-expand): Only check the presence
11949         of delims *within* the boundaries, since otherwise the / delim is
11950         always found for files.
11952         Fix up various corner case problems.
11953         * doc-view.el (doc-view-last-page-number): New function.
11954         (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
11955         (doc-view-goto-page): Avoid inf-loops when the conversion fails.
11956         (doc-view-kill-proc): Avoid inf-loop in freak cases.
11957         (doc-view-reconvert-doc): Use the new recursive delete-directory.
11958         (doc-view-convert-current-doc): Don't create the resolution.el file
11959         here any more.
11960         (doc-view-pdf/ps->png): Do it here instead.
11961         (doc-view-already-converted-p): Check that resolution.el is present.
11962         (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
11963         windows that are not yet showing images.
11965 2010-02-04  Michael Albinus  <michael.albinus@gmx.de>
11967         * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
11968         `dired-uncache' for every elemnt which is an absolute file name.
11970         * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
11971         directory, handle its directory component.
11972         (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
11973         function is called permanently and creates noise, otherwise.
11975         * net/tramp-imap.el (tramp-imap-handle-insert-directory):
11976         * net/tramp-smb.el (tramp-smb-handle-insert-directory):
11977         Handle the case, FILENAME is not in `default-directory'.  (Bug#5478)
11979 2010-02-04  David Burger  <dburger@google.com>  (tiny change)
11981         * macros.el (apply-macro-to-region-lines):
11982         Minor simplification.  (Bug#5485)
11984 2010-02-04  Glenn Morris  <rgm@gnu.org>
11986         * mail/rmail.el (rmail-show-message-1): Handle malformed
11987         quoted-printable text.  (Bug#5441)
11989         * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
11991         * simple.el (visual-line-mode): Capitalize lighter.
11993 2010-02-03  John Wiegley  <jwiegley@gmail.com>
11995         * iswitchb.el (iswitchb-completions): Add bookmark files to the
11996         list of files considered for "virtual buffer" completions.
11998 2010-02-03  Michael Albinus  <michael.albinus@gmx.de>
12000         * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
12001         also in case of (and (not full) (not wildcard)).  This is needed
12002         when dired is called with a list of files, which are not in
12003         `default-directory'.  (Bug#5478)
12005 2010-02-03  Stefan Monnier  <monnier@iro.umontreal.ca>
12007         * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
12009 2010-02-02  Juri Linkov  <juri@jurta.org>
12011         * textmodes/ispell.el (ispell-message-text-end): Remove final newline
12012         from unidiff to allow function-line after @@.
12014 2010-02-02  Juri Linkov  <juri@jurta.org>
12016         * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
12017         '(RCS SCCS) with inverted condition.
12019 2010-02-02  Michael Albinus  <michael.albinus@gmx.de>
12021         * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
12022         messages.
12024 2010-02-01  Juri Linkov  <juri@jurta.org>
12026         * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
12027         compare with "pkunzip" and "pkzip" instead of only "pkzip".
12028         In the `archive-extract-by-stdout' branch use `shell-quote-argument'
12029         only when (car archive-zip-extract) is "unzip".  (Bug#5475)
12031 2010-02-01  Stefan Monnier  <monnier@iro.umontreal.ca>
12033         * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
12034         (doc-view-revert-buffer): New command.
12035         (doc-view-mode-map): Use it.
12037 2010-02-01  Dan Nicolaescu  <dann@ics.uci.edu>
12039         * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
12040         pending merge is detected.
12042 2010-01-31  Juri Linkov  <juri@jurta.org>
12044         * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
12045         beginning of interactive spec like all other grep commands do.
12046         Put "all" in front of "gz".  (Bug#5260)
12048 2010-01-29  Dan Nicolaescu  <dann@ics.uci.edu>
12050         * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
12052 2010-01-29  Chong Yidong  <cyd@stupidchicken.com>
12054         * dirtrack.el (dirtrack): Warn instead of signalling error if the
12055         regexp is incorrect (Bug#5476).
12057 2010-01-29  Michael Albinus  <michael.albinus@gmx.de>
12059         * net/tramp.el (tramp-handle-insert-directory): Handle also
12060         symlinks, when FILENAME is not in `default-directory'.
12062 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
12064         * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
12065         FILE is not in `default-directory'.  (Bug#5478)
12067         * net/tramp.el (tramp-handle-insert-directory): Simplify handling
12068         of SWITCHES.  Handle the case, FILENAME is not in
12069         `default-directory'.  (Bug#5478)
12070         (tramp-register-file-name-handlers): Add safe-magic property.
12072 2010-01-28  Chong Yidong  <cyd@stupidchicken.com>
12074         * arc-mode.el (archive-zip-extract): Quote the argument passed to
12075         unzip (Bug#5475).
12077 2010-01-28  Nil Geisweiller  <ngeiswei@googlemail.com>  (tiny change)
12079         * progmodes/flymake.el (flymake-allowed-file-name-masks)
12080         (flymake-master-make-header-init): Add other C++ filename masks.
12081         (flymake-find-possible-master-files)
12082         (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
12084 2010-01-28  Michael Albinus  <michael.albinus@gmx.de>
12086         Fix some busybox annoyances.
12088         * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
12089         not responding." string.
12090         (tramp-open-connection-setup-interactive-shell): Dump stty
12091         settings.  Enable "neveropen" arg for all `tramp-send-command'
12092         calls.  Handle "=" in variable values properly.
12093         (tramp-find-inline-encoding): Raise an error, when no encoding is
12094         found.
12095         (tramp-wait-for-output): Check, whether PROC buffer is available.
12096         Remove spurious " ^H" sequences, sent by busybox.
12097         (tramp-get-ls-command): Suppress coloring, if possible.
12099 2010-01-28  Glenn Morris  <rgm@gnu.org>
12101         * vc-svn.el (vc-svn-update): Use "svn --non-interactive".  (Bug#4280)
12103         * log-edit.el (log-edit-strip-single-file-name): Add missing
12104         :safe, :group, and :version tags.
12106 2010-01-27  Stephen Berman  <stephen.berman@gmx.net>
12108         * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
12109         buffers.  (Bug#5477)
12111 2010-01-27  David De La Harpe Golden  <david@harpegolden.net>
12113         * files.el (delete-directory): Handle moving to trash without
12114         first doing recursion (Bug#5436).
12116 2010-01-26  Dan Nicolaescu  <dann@ics.uci.edu>
12118         * vc-hooks.el (vc-path): Mark as obsolete.
12120 2010-01-25  Dan Nicolaescu  <dann@ics.uci.edu>
12122         * vc-annotate.el (vc-annotate-revision-at-line): Compare file
12123         names too.
12125         * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
12126         for the short log.
12127         (vc-bzr-log-view-mode): Adjust regexp for the above change.
12129 2010-01-25  Mark A. Hershberger  <mah@everybody.org>
12131         * progmodes/python.el: Replace reference to obsolete c-subword-mode.
12133         * vc-bzr.el (vc-bzr-revision-table): New function.
12135 2010-01-25  Eric Hanchrow  <eric.hanchrow@gmail.com>
12137         * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
12138         diff-index command.  This requires at least git-1.5.5.  (Bug#1589).
12140 2010-01-24  Dan Nicolaescu  <dann@ics.uci.edu>
12142         Remove support for adding --signoff on commit.
12143         Future support will use an incompatible generic mechanism.
12144         * vc-git.el (vc-git-add-signoff): Remove variable.
12145         (vc-git-toggle-signoff): Remove function.
12146         (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
12148         * term/xterm.el (xterm-maybe-set-dark-background-mode):
12149         Rename from xterm-set-background-mode.  Return t if the background mode
12150         was set.
12151         (terminal-init-xterm): Move tty-set-up-initial-frame-faces
12152         earlier, call it again in case the background mode has changed.
12154 2010-01-23  Dmitri Paduchikh  <dpaduch@k66.ru>  (tiny change)
12156         * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
12157         (Bug#3541).
12159 2010-01-23  Chong Yidong  <cyd@stupidchicken.com>
12161         * emacs-lisp/assoc.el (aelement): Doc fix.
12162         (aput, adelete, amake): Use lexical-let (Bug#5450).
12164 2010-01-23  Stephen Leake  <stephen_leake@member.fsf.org>
12166         * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
12167         is the same as subprogram call, not declaration.  (Bug#5435).
12169 2010-01-23  Michael Albinus  <michael.albinus@gmx.de>
12171         * net/tramp-smb.el (tramp-smb-conf): New defcustom.
12172         (tramp-smb-maybe-open-connection): Use it.
12174 2010-01-22  Michael Albinus  <michael.albinus@gmx.de>
12176         * net/tramp-imap.el (top): Autoload needed packages.  (Bug#5448)
12178 2010-01-22  Stefan Monnier  <monnier@iro.umontreal.ca>
12180         * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
12181         just because we see "encoding: 8bit".
12182         * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
12184 2010-01-22  Chong Yidong  <cyd@stupidchicken.com>
12186         * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
12188 2010-01-22  Eli Zaretskii  <eliz@gnu.org>
12190         * jka-compr.el (jka-compr-load): If load-file is not in
12191         load-history, try its file-truename version.  (bug#5447)
12193 2010-01-21  Alan Mackenzie  <acm@muc.de>
12195         Fix a situation where deletion of a cpp construct throws an error.
12196         * progmodes/cc-engine.el (c-invalidate-state-cache):
12197         Before invoking c-with-all-but-one-cpps-commented-out, check that the
12198         special cpp construct is still in the buffer.
12199         (c-parse-state): Record the special cpp with markers, not numbers.
12201 2010-01-21  Kenichi Handa  <handa@m17n.org>
12203         * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
12204         process last-command-event, as it is now decoded first (Bug#5380).
12206 2010-01-20  Chong Yidong  <cyd@stupidchicken.com>
12208         * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
12210 2010-01-20  Glenn Morris  <rgm@gnu.org>
12212         * indent.el (tab-always-indent): Fix custom-type.
12214 2010-01-19  Alan Mackenzie  <acm@muc.de>
12216         * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
12217         buffer throws "args out of range".
12218         (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
12219         playing the role of delimiter.
12221 2010-01-18  Stephen Leake  <stephen_leake@member.fsf.org>
12223         * progmodes/ada-mode.el: Fix bug#5400.
12224         (ada-matching-decl-start-re): Move into ada-goto-decl-start.
12225         (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
12226         changed.  Delete RECURSIVE parameter; never used.  Improve doc string.
12227         Improve comments in "is" portion.  Handle null procedure declaration.
12228         (ada-move-to-end): Improve doc string.
12230 2010-01-18  Óscar Fuentes  <ofv@wanadoo.es>
12232         * ido.el (ido-cur-list): Initialize to nil.
12233         Remove obsolete information from commentary.
12234         (ido-choice-list): Initialize to nil.
12235         (ido-get-bufname): Reject minibuffers.
12236         (ido-make-buffer-list): If "default" is a nonexistent
12237         buffer, ignore it, as per the function's comment.
12238         (ido-kill-buffer-internal): New function.
12239         (ido-kill-buffer-at-head): Use it.
12240         (ido-visit-buffer): Likewise.
12242 2010-01-18  Chong Yidong  <cyd@stupidchicken.com>
12244         * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
12246 2010-01-18  Juanma Barranquero  <lekktu@gmail.com>
12248         * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
12249         Fix typos in chart titles.
12251         * whitespace.el (whitespace-style, global-whitespace-newline-mode):
12252         * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
12253         (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
12254         (describe-class, eieio-describe-generic, describe-generic):
12255         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
12256         (eieio-speedbar-expand):
12257         * emulation/viper-cmd.el (viper-exec-form-in-vi)
12258         (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
12259         (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
12260         (viper-del-backward-char-in-replace, viper-backward-indent)
12261         (viper-brac-function, viper-register-to-point, viper-submit-report):
12262         * net/tramp.el (tramp-remote-coding-commands):
12263         * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
12264         Fix typos in docstrings.
12266 2010-01-17  Chong Yidong  <cyd@stupidchicken.com>
12268         * mail/sendmail.el (mail-yank-original): Set the mark if the
12269         specified function for yanking does not do it.
12271 2010-01-17  Dan Nicolaescu  <dann@ics.uci.edu>
12273         * vc.el (with-vc-properties): Deal with directory arguments.  (Bug#5298)
12275         * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
12276         resyncing a directory.
12278 2010-01-17  Stephen Leake  <stephen_leake@member.fsf.org>
12280         * progmodes/ada-mode.el: Fix bug#1920.
12281         (ada-ident-re): Delete ., allow multibyte characters.
12282         (ada-goto-label-re): New; matches goto labels.
12283         (ada-block-label-re): New; matches block labels.
12284         (ada-label-re): New; matches both.
12285         (ada-named-block-re): Deleted; callers changed to use
12286         `ada-block-label-re' instead.
12287         (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
12288         Use `ada-block-label-re'.
12289         (ada-indent-on-previous-lines): Improve handling of goto labels.
12290         (ada-get-indent-block-start): Special-case block label.
12291         (ada-get-indent-label): Split into `ada-indent-block-label' and
12292         `ada-indent-goto-label'.
12293         (ada-goto-stmt-start, ada-goto-next-non-ws):
12294         Optionally ignore goto labels.
12295         (ada-goto-next-word): Simplify.
12296         (ada-indent-newline-indent-conditional): Insert newline before
12297         trying to fix indentation; doc fix.
12299 2010-01-17  Jay Belanger  <jay.p.belanger@gmail.com>
12301         * calc/calc.el (calc-command-flags): Give it an initial value.
12303 2010-01-17  Juanma Barranquero  <lekktu@gmail.com>
12305         * files.el (minibuffer-with-setup-hook):
12306         * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
12307         (artist-key-draw-continously, artist-key-do-continously-continously)
12308         (artist-key-set-point-continously, artist-mouse-draw-continously):
12309         Fix typos in docstrings.
12311 2010-01-16  Lennart Borgman  <lennart.borgman@gmail.com>
12313         * nxml/nxml-mode.el (nxml-extend-after-change-region):
12314         Never return t (Bug#3898).
12316 2010-01-16  Frédéric Perrin  <frederic.perrin@resel.fr>  (tiny change)
12318         * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
12319         can parse the output of the external commands (Bug#5279).
12321 2010-01-16  Jari Aalto  <jari.aalto@cante.net>
12323         * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
12325 2010-01-16  Chong Yidong  <cyd@stupidchicken.com>
12327         * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
12329         * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
12331         * startup.el (command-line): Remove unused --icon-type arg.
12332         Handle --display arg, passing it to command-line-1 (Bug#5392).
12334 2010-01-16  Mario Lang  <mlang@delysid.org>
12336         * emacs-lisp/chart.el (chart-translate-namezone):
12337         * textmodes/artist.el (artist-compute-popup-menu-table):
12338         Remove duplicated words in doc-strings.
12340 2010-01-15   David Abrahams  <dave@boostpro.com>  (tiny change)
12342         * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
12343         to mairix-search to suppress threading (Bug#5342).
12345 2010-01-15  Kenichi Handa  <handa@m17n.org>
12347         * international/mule-cmds.el (canonicalize-coding-system-name):
12348         Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
12350 2010-01-15  Glenn Morris  <rgm@gnu.org>
12352         * log-view.el (top-level): Require 'wid-edit.  (Bug#5311)
12354         * wid-edit.el (widget-keymap): Doc fix.
12356         * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
12357         former seems to be more widely accepted by various svn versions.
12359 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
12361         * find-cmd.el (find-constituents):
12362         * vc-arch.el (vc-arch-root):
12363         * window.el (window-body-height, pop-up-frames):
12364         * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
12365         * progmodes/ada-stmt.el (ada-if):
12366         * progmodes/gdb-ui.el (gdb-jsonify-buffer):
12367         * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
12368         (ispell-encoding8-command, ispell-aspell-supports-utf8)
12369         (ispell-last-program-name, ispell-help): Fix typos in docstrings.
12371         * progmodes/flymake.el (flymake-post-syntax-check):
12372         Fix typo in error message.
12374 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
12376         * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
12377         which is always a string.  (Bug#5313)
12379 2010-01-14  Juanma Barranquero  <lekktu@gmail.com>
12381         * progmodes/ada-xref.el (ada-default-prj-properties):
12382         Simplify previous change.
12384 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
12386         * progmodes/ada-xref.el (ada-default-prj-properties):
12387         Default ada_project_path to $ADA_PROJECT_PATH.
12389 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
12391         * progmodes/ada-mode.el (ada-create-keymap):
12392         Override `narrow-to-defun' with `ada-narrow-to-defun'.
12394 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
12396         * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
12397         (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
12398         (ada-get-current-indent, ada-imenu-generic-expression)
12399         (ada-which-function): Check for it.
12401 2010-01-14  Stephen Leake  <stephen_leake@member.fsf.org>
12403         * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
12404         (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
12406 2010-01-14  Glenn Morris  <rgm@gnu.org>
12408         * frame.el (show-trailing-whitespace): Safe if boolean.  (Bug#5312)
12410 2010-01-14  Kenichi Handa  <handa@m17n.org>
12412         * composite.el (auto-composition-mode): Make it a buffer local
12413         variable (permanent-local).
12414         (auto-composition-function): Set the default value to
12415         auto-compose-chars.
12416         (auto-composition-mode): Make it a simple function, not a minor mode.
12417         (global-auto-composition-mode): Likewise.
12418         (turn-on-auto-composition-if-enabled): Delete it.
12420 2010-01-13  Karl Fogel  <kfogel@red-bean.com>
12422         * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
12424 2010-01-12  Michael Albinus  <michael.albinus@gmx.de>
12426         * files.el (copy-directory): Compute target for recursive
12427         directories with identical names.  (Bug#5343)
12429 2010-01-12  Glenn Morris  <rgm@gnu.org>
12431         * mail/emacsbug.el (report-emacs-bug-pretest-address):
12432         Set it to bug-gnu-emacs rather than emacs-pretest-bug.
12434 2010-01-11  Sam Steingold  <sds@gnu.org>
12436         * imenu.el (imenu-default-create-index-function): Detect infinite
12437         loops caused by imenu-prev-index-position-function.
12439 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
12441         * htmlfontify.el (htmlfontify-load-rgb-file)
12442         (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
12443         (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
12444         (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
12445         (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
12446         (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
12447         (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
12448         (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
12449         (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
12450         (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
12451         (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
12452         (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
12453         (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
12454         (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
12455         (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
12456         (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
12457         (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
12458         (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
12459         (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
12460         (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
12461         (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
12462         (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
12463         (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
12464         backslash-quoting from parentheses, etc.
12466 2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
12468         * progmodes/js.el: Autoload javascript-mode alias.
12470 2010-01-11  Juanma Barranquero  <lekktu@gmail.com>
12472         * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
12473         (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
12474         (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
12475         (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
12476         Fix typos in docstrings.
12477         (ffap-url-regexp): Doc fix.
12478         (ffap-at-mouse): Fix typo in message.
12480 2010-01-11  Glenn Morris  <rgm@gnu.org>
12482         * version.el (emacs-copyright): Set copyright year to 2010.
12484 2010-01-10  Stefan Monnier  <monnier@iro.umontreal.ca>
12486         * format.el (format-annotate-function): Only set
12487         write-region-post-annotation-function after running to-fn so as not to
12488         affect nested write-region calls (bug#5273).
12490 2010-01-10  Chong Yidong  <cyd@stupidchicken.com>
12492         * Makefile.in (ELCFILES): Add wisent/python-wy.el and
12493         wisent/python.el.
12495 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
12497         * man.el (Man-goto-section): Signal error if the section is not
12498         found (Bug#5317).
12500 2010-01-09  Juanma Barranquero  <lekktu@gmail.com>
12502         * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
12503         URLs with a leading triple slash in the file: scheme.  (Bug#5345)
12505 2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
12507         * progmodes/compile.el: Don't treat compile-command as safe if
12508         compilation-read-command might be nil (Bug#4218).
12510 2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
12512         * startup.el (command-line-1): Use orig-argi to check for ignored X and
12513         NS options.
12515 2010-01-08  Kenichi Handa  <handa@m17n.org>
12517         * international/fontset.el (build-default-fontset-data):
12518         Exclude characters in scripts kana, hangul, han, or cjk-misc.
12520 2010-01-07  Juanma Barranquero  <lekktu@gmail.com>
12522         * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
12523         to `create-file-buffer' as it expects, not just a buffer name.
12524         (vc-dir-mode): Include the buffer name in `list-buffers-directory',
12525         to help uniquify.  (Bug#3224)
12527 2010-01-06  Jan Djärv  <jan.h.d@swipnet.se>
12529         * font-setting.el (font-setting-change-default-font): Use user-spec
12530         instead of name.
12532 2010-01-06  Dan Nicolaescu  <dann@ics.uci.edu>
12534         * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
12536 2010-01-05  Tom Tromey  <tromey@redhat.com>
12538         * progmodes/python.el (python-font-lock-keywords):
12539         Handle qualified decorators (Bug#881).
12541 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
12543         * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
12544         in a lightweight checkout.
12546 2010-01-05  Kenichi Handa  <handa@m17n.org>
12548         * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
12550 2010-01-05  Dan Nicolaescu  <dann@ics.uci.edu>
12552         * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
12554 2010-01-04  Dan Nicolaescu  <dann@ics.uci.edu>
12556         * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
12557         checkouts.  (Bug#618)
12558         (vc-bzr-log-view-mode): Also highlight the author.
12559         (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
12560         (vc-bzr-shelve-menu-map):
12561         (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
12562         (vc-bzr-shelve-apply): Make prompt more explicit.
12564 2010-01-02  Chong Yidong  <cyd@stupidchicken.com>
12566         * net/browse-url.el (browse-url-encode-url): Don't escape commas.
12567         They are valid characters in URL paths (rfc3986), and at least
12568         Firefox does not understand the encoded version (Bug#3166).
12570 2010-01-02  Daniel Elliott  <danelliottster@gmail.com>  (tiny change)
12572         * progmodes/octave-mod.el (octave-end-keywords)
12573         (octave-block-begin-or-end-regexp, octave-block-match-alist):
12574         Add "end" keyword (Bug#3061).
12575         (octave-end-as-array-index-p): New function.
12576         (calculate-octave-indent): Use it.
12578 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12580         * bookmark.el: Consistently put the text property on the bookmark name.
12581         (bookmark-bmenu-marks-width): Bump back to 2, to include
12582         annotation marks.
12583         (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
12584         property on the bookmark name, instead of not putting it at all.
12585         (bookmark-bmenu-list): Fix where we put the text property.
12587 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12589         * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
12590         for showing buffer modified state (as added in the previous change).
12592 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12594         * bookmark.el: Show modified state of bookmark buffer more accurately.
12595         (bookmark-bmenu-list): Initialize buffer-modified-p properly.
12596         (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
12597         (with-buffer-modified-unmodified): New macro.
12598         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
12599         (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
12600         Use new macro to preserve the buffer modified state.
12602 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12604         * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
12605         (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
12606         (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
12607         (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
12608         (bookmark-bmenu-rename, bookmark-bmenu-locate)
12609         (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
12610         Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
12612 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
12614         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
12615         Make the lines in the generated doc string shorter.  (Bug#4668)
12617 2010-01-02  Ryan Yeske  <rcyeske@gmail.com>
12619         * net/rcirc.el: Add follow-link binding (Bug#4738).
12621 2010-01-02  Eli Zaretskii  <eliz@gnu.org>
12623         * Makefile.in (bzr-update): Rename from cvs-update.
12624         (cvs-update): New target for backward compatibility.
12626         * makefile.w32-in (bzr-update): Rename from cvs-update.
12627         (cvs-update): New target for backward compatibility.
12629 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12631         * bookmark.el: Remove gratuitous gratitude.
12633 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12635         * bookmark.el (bookmark-bmenu-any-marks): New function.
12636         (bookmark-bmenu-save): Clear buffer modification if no marks.
12638 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12640         * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
12641         (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
12642         positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
12643         This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
12645         http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
12646         From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
12647         To: emacs-devel {_AT_} gnu.org
12648         Subject: bookmark.el bug report
12649         Date: Mon, 28 Dec 2009 14:19:16 +0800
12650         Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
12652 2010-01-02  Karl Fogel  <kfogel@red-bean.com>
12654         * bookmark.el: Improvements suggested by Drew Adams:
12655         (bookmark-bmenu-ensure-position): New name for
12656         `bookmark-bmenu-check-position'.  Just ensure the position,
12657         don't return any meaningful value.
12658         (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
12659         New constants.
12661 2010-01-02  Juanma Barranquero  <lekktu@gmail.com>
12663         * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
12664         (bookmark-yank-point, bookmark-bmenu-check-position):
12665         Fix typos in docstrings.
12666         (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
12667         (bookmark-name-from-full-record, bookmark-get-position)
12668         (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
12669         (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
12670         Remove useless quoting of parenthesis, etc. in docstrings.
12672         * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
12673         (ediff-append-custom-diff): Fix typo in error message.
12674         (ediff-meta-mark-equal-files): Fix typos in messages.
12676         * mpc.el (mpc-playlist-delete): Fix typo in error messages.
12678         * net/imap-hash.el (imap-hash-make): Doc fix.
12679         (imap-hash-test): Fix typo in error message; reflow docstring.
12680         (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
12681         (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
12682         (imap-hash-mailbox, imap-hash-user, imap-hash-password):
12683         Fix typos in docstrings.
12684         (imap-hash-open-connection): Fix typo in error message.
12686         * play/gomoku.el (gomoku): Fix typos in docstring.
12688         * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
12689         (gdb-jsonify-buffer): Fix typos in docstring.
12690         (gdb-goto-breakpoint): Fix typo in error message.
12691         ("Display Other Windows"): Fix typo in help message.
12692         (gdb-speedbar-expand-node): Fix typo in question.
12694         * progmodes/idlw-help.el (idlwave-help-browse-url-available)
12695         (idlwave-html-system-help-location, idlwave-html-help-location)
12696         (idlwave-help-browser-function, idlwave-help-browser-generic-program)
12697         (idlwave-help-browser-generic-args, idlwave-help-directory)
12698         (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
12699         (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
12700         (idlwave-online-help, idlwave-help-html-link)
12701         (idlwave-help-show-help-frame, idlwave-help-assistant-command):
12702         Fix typos in docstrings.
12703         (idlwave-help-with-source, idlwave-help-find-routine-definition):
12704         Reflow docstrings.
12705         (idlwave-help-assistant-start): Fix typo in error message.
12707         * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
12708         (octave-electric-space): Fix typos in docstrings.
12710 2010-01-01  Chong Yidong  <cyd@stupidchicken.com>
12712         * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
12714 2010-01-01  Juri Linkov  <juri@jurta.org>
12716         * comint.el (comint-input-ring-size): Make it a defcustom and
12717         increase the default to 500 (Bug#5148).
12719 2009-12-31  Nick Roberts  <nickrob@snap.net.nz>
12721         Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
12722         * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
12723         * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
12725 2009-12-30  Nick Roberts  <nickrob@snap.net.nz>
12727         Show working revision correctly for mercurial.
12728         * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
12729         hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
12731 2009-12-29  Juanma Barranquero  <lekktu@gmail.com>
12733         Declare some functions for the byte-compiler.
12734         * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
12735         (speedbar-timer-fn, speedbar-change-expand-button-char)
12736         (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
12738 2009-12-29  Nick Roberts  <nickrob@snap.net.nz>
12740         This changeset reverts GDB Graphical Interface to use annotations.
12741         * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
12743 2009-12-29  Dan Nicolaescu  <dann@ics.uci.edu>
12745         Make vc-dir work on subdirectories of the bzr root.
12746         * vc-bzr.el (vc-bzr-after-dir-status): Add new argument.
12747         Return file names relative to it.
12748         (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
12749         relative directory to vc-bzr-after-dir-status.
12751 2009-12-28  Tassilo Horn  <tassilo@member.fsf.org>
12753         * font-lock.el (font-lock-refresh-defaults): New function, which
12754         can be used to let font-lock react to external changes in
12755         variables like font-lock-defaults and keywords.
12756         See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
12758 2009-12-28  Dan Nicolaescu  <dann@ics.uci.edu>
12760         * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
12762         * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
12764 2009-12-28  Juanma Barranquero  <lekktu@gmail.com>
12766         Supersede color.diff settings in git log (bug#5211).
12768         * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
12769         escape chars in its output when the user has color.diff set to `always'.
12770         This fix works on git 1.4.2 and newer (released on 2006-08-13).
12772 2009-12-26  Kevin Ryde  <user42@zip.com.au>
12774         * info-look.el (sh-mode): Look for coreutils new "Concept Index"
12775         node.  Keep previous "Index" name to work with past coreutils too.
12777         * man.el (man): Revise docstring a bit to show -a and -l as
12778         examples.  Add -k description since support for it has otherwise
12779         been a secret.  (Further to bug#3717.)
12780         (Man-bgproc-sentinel): When "-k foo" produces no output show error
12781         "no matches" rather than "Can't find manpage", as the latter reads
12782         like -k was interpreted as a page name, which is not so.  (Bug#5431)
12784 2009-12-26  Michael Albinus  <michael.albinus@gmx.de>
12786         * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
12787         switches.  Check also for //SUBDIRED// line.
12789 2009-12-25  Kenichi Handa  <handa@m17n.org>
12791         * language/indian.el (devanagari-composable-pattern): Fix to
12792         handle ZWNJ and ZWJ.  Use it in composition-function-table for
12793         Devanagari.
12794         (malayalam-composable-pattern): Fix previous change.
12796 2009-12-23  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
12798         * ps-print.el (ps-face-attributes): It was not returning the
12799         attribute face for faces specified as string.  Reported by harven
12800         <harven@free.fr>.  (Bug#5254)
12801         (ps-print-version): New version 7.3.5.
12803 2009-12-18  Ulf Jasper  <ulf.jasper@web.de>
12805         * calendar/icalendar.el (icalendar--convert-tz-offset):
12806         Fix timezone names.
12807         (icalendar--convert-tz-offset): Fix the "last-day-problem".
12808         (icalendar--add-diary-entry): Remove the trailing blank that
12809         diary-make-entry inserts.
12811 2009-12-17  Michael Albinus  <michael.albinus@gmx.de>
12813         Make `file-expand-wildcards' work for remote files.
12815         * files.el (file-expand-wildcards): In case of remote files, check
12816         only local file name part for wildcards.  Provide feature 'files
12817         and subfeature 'remote-wildcards.  (Bug#5198)
12819         * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
12820         if there is already an established connection.
12821         (tramp-advice-file-expand-wildcards): Remove it.
12823         * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
12824         (tramp-advice-file-expand-wildcards): Move from tramp.el.
12825         Activate advice for older GNU Emacs versions.  (Bug#5237)
12827 2009-12-17  Juanma Barranquero  <lekktu@gmail.com>
12829         Some doc fixes (more needed).
12831         * find-cmd.el (find-constituents): Reflow docstring.
12832         (find-cmd, find-prune, find-command): Fix typos in docstrings.
12833         (find-generic): Doc fix.
12835 2009-12-17  Juri Linkov  <juri@jurta.org>
12837         Fix regression from 23.1 to allow multiple modes in Local Variables.
12839         * files.el (hack-local-variables-filter): While ignoring duplicates,
12840         don't take `mode' into account.
12841         (hack-local-variables-filter, hack-dir-local-variables):
12842         Don't remove duplicate `mode' from local-variables-alist (like `eval').
12844 2009-12-17  Juri Linkov  <juri@jurta.org>
12846         Make `dired-diff' safer.  (Bug#5225)
12848         * dired-aux.el (dired-diff): Signal an error when `file' equals to
12849         `current' or when `file' is a directory of the `current' file.
12851 2009-12-17  Andreas Schwab  <schwab@linux-m68k.org>
12853         * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
12854         unconditionally preloaded files.
12856 2009-12-16  Juri Linkov  <juri@jurta.org>
12858         Revert to old 23.1 logic of using the file at the mark as default.
12859         * dired-aux.el (dired-diff): Use the file at the mark as default
12860         if it's not the same as the current file, and the target dir is
12861         the current dir or the mark is active.  Add the current file
12862         as the arg of `dired-dwim-target-defaults'.  Use the default file
12863         in the prompt.  (Bug#5225)
12865 2009-12-15  Michael Albinus  <michael.albinus@gmx.de>
12867         * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
12868         (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
12869         (tramp-check-for-regexp): Check also, when an echoing shell stops
12870         to echo sent commands.
12872 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
12874         * Makefile.in: Revert last change (Bug#5191).
12876 2009-12-14  Dan Nicolaescu  <dann@ics.uci.edu>
12878         * vc-hg.el (vc-hg-print-log): Fix argument order.
12879         (vc-hg-working-revision): Make sure the command is executed in a
12880         known environment so that we can parse the output.  (Bug#4417)
12882 2009-12-14  Chong Yidong  <cyd@stupidchicken.com>
12884         * progmodes/python.el (python-symbol-completions): Remove text
12885         properties from symbol string before calling python-send-receive.
12887 2009-12-14  Nick Roberts  <nickrob@snap.net.nz>
12889         * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
12890         when there are values for both file and line.  (Bug#5060)
12892 2009-12-14  Juri Linkov  <juri@jurta.org>
12894         * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
12895         whitespace after the file name of the first line of unified format,
12896         because git-diff doesn't output whitespace and file modification time
12897         after the file name.
12899 2009-12-14  David Kastrup  <dak@gnu.org>
12901         * info.el (Info-hide-cookies-node): Before hiding a cookie,
12902         check if it already has the `display' property added by
12903         `Info-display-images-node', and not put the `invisible' property
12904         in this case.
12906 2009-12-13  Glenn Morris  <rgm@gnu.org>
12908         * mail/emacsbug.el (message-sort-headers): Define for compiler.
12909         (report-emacs-bug): In message-mode, sort manually before storing
12910         original report text.  (Bug#5178)
12911         Remove superfluous save-excursion.
12913 2009-12-12  Michael Albinus  <michael.albinus@gmx.de>
12915         * net/dbus.el (dbus-property-handler): Filter lambda forms out
12916         when responding to "GetAll" properties.
12918 2009-12-12  Chong Yidong  <cyd@stupidchicken.com>
12920         * simple.el (compose-mail): Remove mail-setup-with-from from
12921         customization checks.
12923 2009-12-12  Eli Zaretskii  <eliz@gnu.org>
12925         * arc-mode.el (archive-rar-summarize): Support Attribute fields in
12926         RAR archives created on Unix systems.
12928 2009-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12930         * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
12931         the varalias that was accidentally removed by the 2009-11-19 change
12932         (bug#5186).
12934 2009-12-12  Kenichi Handa  <handa@m17n.org>
12936         * language/indian.el (indian-compose-regexp): New function.
12937         (malayalam-composable-pattern): Fix the pattern.
12938         (composition-function-table): Set malayalam-composable-pattern for
12939         Malayalam characters.
12941 2009-12-11  Chong Yidong  <cyd@stupidchicken.com>
12943         * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
12944         rather than down-mouse-1, based on follow-link conventions.
12946         * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
12947         are compiled.
12949 2009-12-11  Michael McNamara  <mac@mail.brushroad.com>
12951         * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
12952         (verilog-vmm-statement-re, verilog-ovm-statement-re)
12953         (verilog-defun-level-not-generate-re, verilog-calculate-indent)
12954         (verilog-leap-to-head, verilog-backward-token):
12955         Fix indenting VMM macros.  Reported by Jonathan Ashbrook.
12957 2009-12-11  Wilson Snyder  <wsnyder@wsnyder.org>
12959         * progmodes/verilog-mode.el (verilog-auto-lineup)
12960         (verilog-nameable-item-re): Cleanup user-visible spelling and
12961         documentation errors.  One reported by Gary Delp.
12962         (verilog-submit-bug-report): Mention bug tracking and CC co-author.
12963         (verilog-read-decls): Fix AUTOWIRE with types declared in a
12964         package, bug195.  Reported by Pierre-David Pfister.
12966 2009-12-11  Glenn Morris  <rgm@gnu.org>
12968         * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
12970         * mail/emacsbug.el: No longer require sendmail.
12971         Replace sendmail's `mail-text' by `rfc822-goto-eoh'.  (Bug#5174)
12972         (report-emacs-bug-orig-text): Doc fix.
12973         (report-emacs-bug-send-command, report-emacs-bug-send-hook):
12974         New local variables, to adapt to different mail-user-agents.
12975         (report-emacs-bug): Fix test for a gnu.org address.
12976         Use overlays for emphasis, since font-lock defeats 'face property.
12977         Pretest bugs also end up at the newsgroup these days.
12978         Stop message-mode stripping text properties.
12979         Set and use the new buffer-local variables.
12980         (report-emacs-bug-hook): Add doc-string.
12981         Remove some unnecessary save-excursions and simplify.
12982         Use the appropriate hook and send-command.
12984         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
12985         capitalization of some menu entries.
12987 2009-12-10  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
12989         * whitespace.el (whitespace-display-char-on):
12990         Ensure `buffer-display-table' is unique when two or more windows are
12991         visible.  Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
12992         New version 12.1.
12994 2009-12-10  Eli Zaretskii  <eliz@gnu.org>
12996         * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
12997         characters in the Attribute field.
12999 2009-12-10  Dan Nicolaescu  <dann@ics.uci.edu>
13001         * vc-svn.el (vc-svn-after-dir-status): Fix regexp.  (Bug#4741)
13003 2009-12-10  Stefan Monnier  <monnier@iro.umontreal.ca>
13005         Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
13006         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
13007         Disregard autoload-excludes.
13008         (update-directory-autoloads): Obey autoload-excludes here instead.
13009         But don't store its contents in no-autoloads and remove entries that
13010         refer to excludes files.
13012 2009-12-10  Glenn Morris  <rgm@gnu.org>
13014         * mail/feedmail.el (top-level): Move require 'mail-utils to start.
13015         (expand-mail-aliases): Define for compiler.
13017         * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
13018         Define for compiler.
13020         * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
13021         appropriate for the mail-user-agent in use.
13023 2009-12-09  Michael Albinus  <michael.albinus@gmx.de>
13025         * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
13027 2009-12-09  Dan Nicolaescu  <dann@ics.uci.edu>
13029         Fix short log parsing and fontification.
13030         * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
13031         Fix fontification for the [merge] label.
13033 2009-12-09  Vivek Dasmohapatra  <vivek@etla.org>
13035         Drop some properties to avoid surprises (bug#5002).
13036         * htmlfontify.el (hfy-ignored-properties): New defcustom.
13037         (hfy-fontify-buffer): Use it.
13039 2009-12-09  Stefan Monnier  <monnier@iro.umontreal.ca>
13041         Minor cleanup.
13042         * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
13043         Adjust all callers.
13044         (ffap-locate-file): Remove unused arg `dir-ok' and make other
13045         args compulsory.  Adjust callers.
13046         (ffap-gopher-at-point): Remove unused var `name'.
13048         Get rid of the ELCFILES abomination.
13049         * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
13050         (compile-elcfiles): New phony target.
13051         (compile-main): Compute ELCFILES dynamically.
13052         (compile-clean): New target to remove left-over elc files.
13053         (compile, all): Use it.
13055 2009-12-09  Kenichi Handa  <handa@etlken>
13057         * international/mule-diag.el: Require help-mode instead of help-fns.
13059 2009-12-09  Kenichi Handa  <handa@m17n.org>
13061         * international/mule-cmds.el (ucs-names): Supply sufficiently
13062         fine ranges instead of pre-calculating accurate ranges.
13063         Iterate with bigger gc-cons-threshold.
13065 2009-12-08  Dan Nicolaescu  <dann@ics.uci.edu>
13067         Add support for stashing a snapshot of the current tree.
13068         * vc-git.el (vc-git-stash-snapshot): New function.
13069         (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
13071 2009-12-08  Jose E. Marchesi  <jemarch@gnu.org>
13073         * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
13074         instead of `(beginning|end)-of-line'.
13076 2009-12-08  Glenn Morris  <rgm@gnu.org>
13078         * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
13080         * Makefile.in (ELCFILES): Regenerate.
13082 2009-12-07  Juri Linkov  <juri@jurta.org>
13084         Don't lazy-highlight the comint output in history Isearch mode.
13086         * comint.el (comint-history-isearch-search): Instead of
13087         `comint-line-beginning-position', use `comint-after-pmark-p'
13088         to check if point if before the process mark, and go to
13089         `process-mark' in this case.
13091 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13093         * textmodes/tex-mode.el (latex-complete)
13094         (latex-indent-or-complete): Remove.
13095         (latex-mode): Set completion-at-point-functions instead.
13097         Provide a standard completion command and hook it into TAB.
13098         * minibuffer.el (completion-at-point-functions): New var.
13099         (completion-at-point): New command.
13100         * indent.el (indent-for-tab-command): Handle the `complete' behavior.
13101         * progmodes/python.el (python-mode-map): Use completion-at-point.
13102         (python-completion-at-point): Rename from python-partial-symbol and
13103         adjust for use in completion-at-point-functions.
13104         (python-mode): Setup completion-at-point for Python completion.
13105         * emacs-lisp/lisp.el (lisp-completion-at-point): New function
13106         extracted from lisp-complete-symbol.
13107         (lisp-complete-symbol): Use it.
13108         * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
13109         setup completion-at-point for Elisp completion.
13110         (emacs-lisp-mode-map, lisp-interaction-mode-map):
13111         Use completion-at-point.
13112         * ielm.el (ielm-map): Use completion-at-point.
13113         (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
13114         * progmodes/sym-comp.el: Move to...
13115         * obsolete/sym-comp.el: Move from progmodes.
13117 2009-12-07  Eli Zaretskii  <eliz@gnu.org>
13119         Prevent save-buffer in Rmail buffers from using the coding-system
13120         of the current message, and from clobbering the encoding mnemonics
13121         in the mode line (Bug#4623).
13123         * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
13124         flag, too.
13125         (rmail-message-encoding): New variable.
13126         (rmail-write-region-annotate): Record the encoding of the current
13127         message in rmail-message-encoding.
13128         (rmail-after-save-hook): New function, restores the encoding of
13129         the current message after the message collection is saved.
13131 2009-12-07  Juri Linkov  <juri@jurta.org>
13133         * progmodes/grep.el (grep-read-files): Use `completing-read'
13134         instead of `read-string'.  Set its `collection' arg to
13135         `read-file-name-internal'.  (Bug#4301)
13137 2009-12-07  Juri Linkov  <juri@jurta.org>
13139         Correctly restore original Isearch point.  (Bug#4994)
13141         * isearch.el (isearch-mode): Move `isearch-push-state' after
13142         `(run-hooks 'isearch-mode-hook)'.
13143         (isearch-cancel): When `isearch-push-state-function' is defined,
13144         let-bind `isearch-cmds' to the first state (the last element of
13145         `isearch-cmds') and call `isearch-top-state' (it calls pop-state
13146         function and restores the original point).  Otherwise, move point
13147         to `isearch-opoint'.
13149 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13151         * international/mule-cmds.el (ucs-names): Weed out at compile-time the
13152         chars that don't have names, so the table can be built much faster at
13153         run-time.
13155 2009-12-07  Chong Yidong  <cyd@stupidchicken.com>
13157         * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
13158         change.  Suggested by David Kastrup.
13160         * simple.el (compose-mail): Check for incompatibilities and warn.
13161         (compose-mail-user-agent-warnings): New option.
13163 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
13165         Support showing a single log entry from vc-annotate.
13166         * vc.el (print-log): Add a new argument: START-REVISION.
13167         (vc-print-log-internal): Add a new optional argument and
13168         pass it to the backend.
13169         (vc-print-log, vc-print-root-log): Adjust callers.
13170         * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
13171         buffer already displays the requested log entry, use it.
13172         Otherwise display only the log entry in question.
13173         * vc-svn.el (vc-svn-print-log):
13174         * vc-mtn.el (vc-mtn-print-log):
13175         * vc-hg.el (vc-hg-state):
13176         * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
13177         (vc-git-show-log-entry): Return t on success.
13178         * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
13179         (vc-bzr-show-log-entry): Return t on success.
13180         * vc-rcs.el (vc-rcs-print-log):
13181         * vc-sccs.el (vc-sccs-print-log):
13182         * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
13184 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
13186         * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
13187         Add menus to the meta mode.  (Bug#5043)
13189 2009-12-07  Michael Kifer  <kifer@cs.stonybrook.edu>
13191         * ediff-init.el (ediff-event-key): Use event-to-character instead of
13192         event-key.
13194         * ediff.el (ediff-buffers-internal): Add unwind-protect.
13196 2009-12-07  Michael Albinus  <michael.albinus@gmx.de>
13198         Handle prompt rules of ksh in OpenBSD 4.5.  Reported by Raphaël
13199         Berbain <raphael.berbain@gmail.com>.
13201         * net/tramp.el (tramp-end-of-output): Move up.  Use `#' and `$'
13202         characters.
13203         (tramp-initial-end-of-output): New defconst.
13204         (tramp-methods, tramp-find-shell)
13205         (tramp-open-connection-setup-interactive-shell)
13206         (tramp-maybe-open-connection): Use it.
13207         (tramp-shell-prompt-pattern, tramp-wait-for-output):
13208         Handle existence of `#' and `$'.
13210         * net/tramp-fish.el (tramp-fish-maybe-open-connection):
13211         Use `tramp-initial-end-of-output'.
13213 2009-12-07  Dan Nicolaescu  <dann@ics.uci.edu>
13215         Get the background mode from the terminal for xterm, and set
13216         faces accordingly.
13217         * term/xterm.el (xterm-set-background-mode): New function.
13218         (terminal-init-xterm): Use it in case xterm supports background
13219         color queries.  Recompute faces after getting the background
13220         color.
13222 2009-12-07  Ulrich Mueller  <ulm@gentoo.org>
13224         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
13225         number comment back on its own line, for easier parsing.
13227 2009-12-07  Stefan Monnier  <monnier@iro.umontreal.ca>
13229         Make it work for non-file buffers (bug#5102).
13230         * doc-view.el (doc-view-current-cache-dir):
13231         Use doc-view-buffer-file-name rather than buffer-file-name.
13232         (doc-view-mode): Use buffer-name when buffer-file-name is nil.
13234 2009-12-06  Óscar Fuentes  <ofv@wanadoo.es>
13236         * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
13237         author field is too short.
13239 2009-12-06  Dan Nicolaescu  <dann@ics.uci.edu>
13241         * vc-git.el (vc-git-print-log): Handle a limit argument.
13242         Display the short log in graph form and with labels.
13243         (vc-git-log-view-mode): Handle labels.
13245         Make vc-revert change VC state from 'added to 'unregistered.
13246         * vc-git.el (vc-git-revert): Call git reset first.
13248 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
13250         * net/newst-backend.el, net/newst-plainview.el:
13251         * net/newst-reader.el, net/newst-ticker.el:
13252         * net/newst-treeview.el, net/newsticker.el:
13253         Require/provide newst-... (instead of newsticker-...).  (Bug#5096)
13255 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
13257         * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
13259         * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
13260         Handle empty author field (Bug#4144).  Suggested by Óscar Fuentes.
13261         (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
13262         Update annotation regexp.
13264         * simple.el (beginning-of-visual-line): Constrain to field
13265         boundaries (Bug#5106).
13267 2009-12-06  Ulf Jasper  <ulf.jasper@web.de>
13269         * xml.el (xml-substitute-numeric-entities):
13270         Move newsticker--decode-numeric-entities in newst-backend.el to
13271         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
13272         * net/newst-backend.el (newsticker--parse-generic-feed)
13273         (newsticker--parse-generic-items)
13274         (newsticker--decode-numeric-entities):
13275         Move newsticker--decode-numeric-entities in newst-backend.el to
13276         xml-substitute-numeric-entities in xml.el.  (Bug#5008)
13278 2009-12-06  Daniel Colascione  <dan.colascione@gmail.com>
13280         * progmodes/js.el (js--js-not): Add null to the list of values.
13282 2009-12-06  Chong Yidong  <cyd@stupidchicken.com>
13284         * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
13286 2009-12-06  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
13288         * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
13289         delimiter if it is at the end of the current line.
13290         (bibtex-generate-url-list): Fix docstring.
13292 2009-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>
13294         * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
13295         minibuffer's content with itself.
13296         Fold the confirm-after-completion case into the `confirm' case.
13297         (completion-pcm-word-delimiters): Add : and / to the delimiters.
13299 2009-12-06  Kevin Ryde  <user42@zip.com.au>
13301         * ffap.el (ffap-rfc-path): Make this a defcustom since
13302         `ffap-rfc-directories' is also a defcustom.  (Bug#4514.)
13304         * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
13305         manuals, similar to existing setup for help-mode.  (Bug#3913.)
13307 2009-12-05  Juri Linkov  <juri@jurta.org>
13309         Save and restore dired buffer's point positions too.  (Bug#4880)
13311         * dired.el (dired-save-positions): Return in the first element
13312         buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
13313         Doc fix.
13314         (dired-restore-positions): First restore buffer's position.
13315         While restoring window's positions, check if window still displays
13316         the original buffer.
13318 2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
13320         * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
13321         if possible.
13323         * shell.el (shell): Require ansi-color (Bug#5113).
13325         * ansi-color.el (ansi-color-for-comint-mode): Default to t.
13327         * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
13329 2009-12-05  Alan Mackenzie  <acm@muc.de>
13331         * progmodes/cc-mode.el (c-before-hack-hook)
13332         (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
13333         `c-file-style' to work again.  This reversion restores the current
13334         software to its state in Emacs 23.1.  (Bug#4146)
13336 2009-12-05  Kevin Ryde  <user42@zip.com.au>
13338         * textmodes/sgml-mode.el (sgml-lexical-context):
13339         Recognise comment-start-skip to comment-end-skip as comment (Bug#4781).
13341 2009-12-05  Juri Linkov  <juri@jurta.org>
13343         * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
13344         for virtual nodes.  (Bug#4147)
13345         (Info-find-node-2): Set `Info-current-node-virtual' to nil
13346         when moving from a virtual node.
13347         (Info-mode-menu): Add `Info-virtual-index' to the menu.
13348         (Info-mode): Add `Info-virtual-index' to the docstring.
13350 2009-12-05  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
13352         * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
13353         track of the buffer position of the end of a BibTeX entry as this
13354         position may change during reformatting.
13355         (bibtex-format-entry): Remove whitespace before processing
13356         numerical fields so that we recognize the latter properly.
13357         (bibtex-reformat): Do not use push which changes the global value
13358         of bibtex-entry-format.
13359         (bibtex-field-braces-alist, bibtex-field-strings-alist)
13360         (bibtex-field-re-init): Replace only space characters by regexp
13361         for whitespace.
13362         (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
13363         (bibtex-initialize): Also update bibtex-strings.
13364         (bibtex-kill-field): Preserve white space at end of entry.
13365         (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
13366         Update bibtex-reference-keys.
13368 2009-12-05  Stefan Monnier  <monnier@iro.umontreal.ca>
13370         * minibuffer.el (completion-pcm--merge-try): Also consider placing
13371         point after a star, if that's the only place where modifications can
13372         make progress.
13374 2009-12-05  Dan Nicolaescu  <dann@ics.uci.edu>
13376         * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
13377         in docstrings.
13379 2009-12-04  Juri Linkov  <juri@jurta.org>
13381         * proced.el (proced): Call `(proced-update t)' to update process
13382         information instead of only running proced-post-display-hook.
13383         (proced-send-signal): Add a leading space to the buffer name
13384         " *Marked Processes*" to make this buffer ephemeral.
13386 2009-12-04  Juri Linkov  <juri@jurta.org>
13388         * dired.el (dired-auto-revert-buffer): New defcustom.
13389         (dired-internal-noselect): Use it.
13391 2009-12-04  Juri Linkov  <juri@jurta.org>
13393         Change roles of modes and functions in image-mode.el (Bug#5062).
13395         * image-mode.el: Replace `image-mode-maybe' with `image-mode'
13396         in `auto-mode-alist'.
13397         (image-mode-previous-major-mode): New variable.
13398         (image-minor-mode-map): Rename from `image-mode-text-map'.
13399         (image-mode): Move graceful error-handling code from
13400         `image-minor-mode' to here.  On errors call `image-mode-as-text'.
13401         (image-minor-mode): Remove all image-handling code.
13402         Replace `image-mode-text-map' with `image-minor-mode-map'.
13403         Check for `image-type' in mode-line format string.
13404         (image-mode-maybe): Make obsolete with an alias to `image-mode'.
13405         (image-mode-as-text): New function with most code from
13406         `image-mode-maybe'.
13407         (image-toggle-display-text): Move code that removes image
13408         properties from `image-toggle-display' to here.
13409         (image-toggle-display-image): New function with code that adds
13410         image properties copied from `image-toggle-display'.
13411         (image-toggle-display): Remove most code with leaving only code
13412         that toggles between `image-mode-as-text' and `image-mode'.
13414 2009-12-04  Ulf Jasper  <ulf.jasper@web.de>
13416         * net/newst-treeview.el
13417         (newsticker--treeview-list-highlight-start): Restored call to
13418         save-excursion: Selected item was stuck.
13419         (newsticker--treeview-list-select): New.
13420         (newsticker--treeview-item-show-text)
13421         (newsticker--treeview-item-show)
13422         (newsticker--treeview-item-update): Use new
13423         newsticker-treeview-item-mode.
13424         (newsticker-treeview-update): Keep current item.
13425         (newsticker-treeview-next-new-or-immortal-item): Doc change.
13426         (newsticker--treeview-first-feed): Doc change.
13427         (newsticker-treeview-list-menu)
13428         (newsticker-treeview-item-menu): Add menu entries.
13429         (newsticker-treeview-item-mode): New.
13431         * net/newst-backend.el (newsticker-customize): Delete other
13432         windows.
13434 2009-12-04  Sam Steingold  <sds@gnu.org>
13436         * log-view.el (log-view-mode-map): "q" calls quit-window,
13437         like in all the other non-self-insert buffers.
13439 2009-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
13441         Minor cleanup.
13442         * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
13443         key decoding rather than do it manually via last-input-event +
13444         ascii-character.
13445         (term-exec): Use delete-and-extract-region.
13446         (term-handle-ansi-terminal-messages): Remove unused var `end'.
13447         (term-process-pager): Remove unused var `i'.
13448         (term-dynamic-simple-complete): Make obsolete.
13449         (serial-update-config-menu): Remove unused vars `y' and `str'.
13450         (term-update-mode-line): Remove unused var `temp'.
13452 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
13454         Limit the number of log entries displayed by default.
13455         * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
13456         (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
13457         using a prefix argument.
13459 2009-12-03  Glenn Morris  <rgm@gnu.org>
13461         * progmodes/idlwave.el (class): Restore still useful declaration.
13463 2009-12-03  Alan Mackenzie  <acm@muc.de>
13465         Enhance `c-parse-state' to run efficiently in "brace deserts".
13467         * progmodes/cc-mode.el (c-basic-common-init):
13468         Call c-state-cache-init.
13469         (c-neutralize-syntax-in-and-mark-CPP): Rename from
13470         c-extend-and-neutralize-syntax-in-CPP.  Mark each CPP construct by
13471         placing `category' properties value 'c-cpp-delimiter at its boundaries.
13473         * progmodes/cc-langs.el (c-before-font-lock-function):
13474         c-extend-and-neutralize-syntax-in-CPP has been renamed
13475         c-neutralize-syntax-in-and-mark-CPP.
13477         * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
13478         with `category' properties now, not `syntax-table' ones.
13480         * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
13481         enhanced (but slower) version of c-end-of-macro that won't land
13482         inside a literal or on another awkward character.
13483         (c-state-cache-too-far, c-state-cache-start)
13484         (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
13485         (c-state-nonlit-pos-cache-limit, c-state-point-min)
13486         (c-state-point-min-lit-type, c-state-point-min-lit-start)
13487         (c-state-min-scan-pos, c-state-brace-pair-desert)
13488         (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
13489         buffer local variables.
13490         (c-state-literal-at, c-state-lit-beg)
13491         (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
13492         (c-state-mark-point-min-literal, c-state-cache-top-lparen)
13493         (c-state-cache-top-paren, c-state-cache-after-top-paren)
13494         (c-get-cache-scan-pos, c-get-fallback-scan-pos)
13495         (c-state-balance-parens-backwards, c-parse-state-get-strategy)
13496         (c-renarrow-state-cache)
13497         (c-append-lower-brace-pair-to-state-cache)
13498         (c-state-push-any-brace-pair, c-append-to-state-cache)
13499         (c-remove-stale-state-cache)
13500         (c-remove-stale-state-cache-backwards, c-state-cache-init)
13501         (c-invalidate-state-cache-1, c-parse-state-1)
13502         (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
13503         (c-parse-state): Enhance and refactor.
13504         (c-debug-parse-state): Amend to deal with all the new variables.
13506         * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
13507         (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
13508         modify to use category text properties rather than syntax-table ones.
13509         (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
13510         to switch off/on the syntactic paren property of C++ template
13511         delimiters using the category property.
13512         (c-with-<->-as-parens-suppressed): Macro to invoke code with
13513         template delims suppressed.
13514         (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
13515         New constant/macros which apply category properties to the start
13516         and end of preprocessor constructs.
13517         (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
13518         "comment out" the syntactic value of characters in preprocessor
13519         constructs.
13520         (c-with-cpps-commented-out)
13521         (c-with-all-but-one-cpps-commented-out): Macros to invoke code
13522         with characters in all or all but one preprocessor constructs
13523         "commented out".
13525 2009-12-03  Roland Winkler  <Roland.Winkler@physik.uni-erlangen.de>
13527         * proced.el (proced-filter-alist): Use regexp-quote.
13529 2009-12-03  Michael Albinus  <michael.albinus@gmx.de>
13531         Cleanup.
13532         * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
13533         (eshell/su, eshell/sudo): Require 'tramp.  Fix problems reading
13534         arguments.  Expand `default-directory'.
13536         * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
13537         the benefit of returning an expanded localname.
13538         (tramp-tramp-file-p): Handle the case NAME is not a string.
13540 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
13542         Add support for bzr shelve/unshelve.
13543         * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
13544         (vc-bzr-extra-menu-map): New variables.
13545         (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
13546         (vc-bzr-shelve-apply, vc-bzr-shelve-list)
13547         (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
13548         (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
13549         (vc-bzr-dir-extra-headers): Display shelves.
13551         * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
13553 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13555         * textmodes/bibtex.el (bibtex-complete-internal):
13556         Use completion-in-region.
13557         (bibtex-text-in-field-bounds): Remove unused var `opoint'.
13559 2009-12-03  Dan Nicolaescu  <dann@ics.uci.edu>
13561         Support applying stashes.  Improve UI.
13562         * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
13563         (vc-git-stash-apply, vc-git-stash-pop)
13564         (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
13565         (vc-git-stash-menu): New functions.
13566         (vc-git-stash-menu-map): New variable.
13567         (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
13569 2009-12-03  Glenn Morris  <rgm@gnu.org>
13571         * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
13572         (vc-print-log-internal): Fix previous change.
13573         (vc-revert): Correct pluralization.
13575 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13577         * progmodes/make-mode.el (makefile-special-targets-list): No need for
13578         it to be an alist any more.
13579         (makefile-complete): Use completion-in-region.
13581         * progmodes/octave-mod.el (octave-complete-symbol):
13582         Use completion-in-region.
13584         Misc cleanup.
13585         * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
13586         (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
13587         (idlwave-complete-class): Don't quote lambda.
13588         (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
13589         (idlwave-mode-map): Move initialization into declaration.
13590         (idlwave-action-and-binding): Use backquotes.
13591         (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
13592         Simplify.
13593         (idlwave-is-pointer-dereference): Remove unused var `pos'.
13594         (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
13595         (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
13596         `parts', and `all-parts'.
13597         (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
13598         (idlwave-convert-xml-system-routine-info): Remove unused string
13599         `version-string'.
13600         (idlwave-display-user-catalog-widget): Use dolist.
13601         (idlwave-scanning-lib): Declare dynamically-scoped var.
13602         (idlwave-scan-library-catalogs): Remove unused var `flags'.
13603         (completion-highlight-first-word-only): Declare to silence bytecomp.
13604         (idlwave-popup-select): Tighten scope of `resp'.
13605         (idlwave-find-struct-tag): Remove unused var `beg'.
13606         (idlwave-after-load-rinfo-hook): Declare.
13607         (idlwave-sintern-class-info): Remove unused var `taglist'.
13608         (idlwave-find-class-definition): Remove unused var `list'.
13609         (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
13610         (idlwave-what-module-find-class): Remove unused var `classes'.
13612 2009-12-03  Juanma Barranquero  <lekktu@gmail.com>
13614         * progmodes/pascal.el: Require CL when compiling (for lexical-let).
13616 2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
13618         * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
13619         buffers visited.  Remove redundant current-buffer-saving.
13621 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13623         Use completion-in-buffer and remove uses of dynamic scoping.
13624         * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
13625         (pascal-buffer-to-use, pascal-flag): Don't declare.
13626         (pascal-func-completion, pascal-type-completion, pascal-var-completion)
13627         (pascal-get-completion-decl, pascal-keyword-completion):
13628         Add `pascal-str' argument, save-excursion,
13629         return the found completions, and don't filter with pascal-pred.
13630         (pascal-completion-cache): New var.
13631         (pascal-completion): Don't switch buffer any more (it was never
13632         necessary).  Don't save-excursion any more (it's done by the called
13633         subroutines).  Use a cache to avoid redundant computations.
13634         Use complete-with-action rather than pascal-completion-response and
13635         let it apply the predicate as well.
13636         (pascal-complete-word): Use completion-in-buffer when
13637         pascal-toggle-completions is nil.
13638         (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
13639         not used any more.
13640         (pascal-comp-defun): Don't change buffer any more.
13641         Use complete-with-action rather than pascal-completion-response and
13642         let it apply the predicate as well.
13643         (pascal-goto-defun): Change buffer before calling pascal-comp-defun
13644         when neded.
13646 2009-12-02  Kenichi Handa  <handa@m17n.org>
13648         * language/indian.el: Include ZWJ and ZWNJ in the patterns to
13649         shape for all Indic scripts.
13651 2009-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
13653         Use completion-in-buffer.
13654         * wid-edit.el (widget-field-text-end): New function.
13655         (widget-field-value-get): Use it.
13656         (widget-string-complete, widget-file-complete)
13657         (widget-color-complete): Use it and completion-in-region.
13658         (widget-complete): Don't narrow the buffer.
13660 2009-12-02  Glenn Morris  <rgm@gnu.org>
13662         * mail/rmail.el (rmail-pop-to-buffer): New function.  (Bug#2282)
13663         (rmail-select-summary): Use rmail-pop-to-buffer.
13664         * mail/rmailsum.el: Replace all pop-to-buffer calls with
13665         rmail-pop-to-buffer, to prevent horizontal splits.
13667         * calendar/diary-lib.el (diary-list-entries): Replace superfluous
13668         save-excursion with save-current-buffer.
13669         Widen before searching.  (Bug#5093)
13670         (diary-list-sexp-entries): Remove superfluous save-excursion.
13672 2009-12-02  Michael Welsh Duggan  <mwd@cert.org>
13674         * woman.el (woman-make-bufname): Handle man-pages with "." in the
13675         name.  (Bug#5038)
13677 2009-12-02  Andreas Politz  <politza@fh-trier.de>  (tiny change)
13679         * ido.el (ido-file-internal): Handle filenames at point that do
13680         not have a directory part.  (Bug#5049)
13682 2009-12-02  Juanma Barranquero  <lekktu@gmail.com>
13684         * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
13685         (mpc-songs-jump-to, mpc-resume): Doc fixes.
13687 2009-12-01  Rob Riepel  <riepel@networking.Stanford.EDU>
13689         * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
13690         (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
13691         any more.
13693 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13695         * comint.el (comint-insert-input): Ignore clicks to the right of
13696         the field.  Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
13698         * vc.el (vc-print-log-internal): Don't wait for the process to
13699         terminate before setting up the major mode.
13701         * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
13702         in case.
13704         * pcomplete.el (pcomplete-std-complete): Don't try to complete past
13705         the last element.
13707         * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
13709 2009-12-01  Glenn Morris  <rgm@gnu.org>
13711         * window.el (window--display-buffer-2): Fix previous changes.
13713 2009-12-01  Chong Yidong  <cyd@stupidchicken.com>
13715         * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
13717 2009-12-01  Glenn Morris  <rgm@gnu.org>
13719         * Makefile.in (ELCFILES): Add mpc.elc.
13721 2009-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
13723         * mpc.el: New file.
13725 2009-12-01  Glenn Morris  <rgm@gnu.org>
13727         * window.el (window-to-use): Define for compiler.
13729         * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
13730         consistent with others (no final period).
13732         * mail/rmailmm.el (rmail-mime-handle): Doc fix.
13733         (rmail-mime-show): Downcase the encoding.  (Bug#5070)
13735 2009-12-01  Dan Nicolaescu  <dann@ics.uci.edu>
13737         Make vc-print-log buttons work.
13738         * log-view.el (log-view-mode-map): Inherit from widget-keymap.
13740 2009-11-30  Ryan C. Thompson  <rct@thompsonclan.org>  (tiny change)
13742         * savehist.el (savehist-autosave-interval): Allow setting to nil
13743         through customize.  (Bug#5056)
13745 2009-11-30  Juanma Barranquero  <lekktu@gmail.com>
13747         Fix references to jit-lock properties.
13748         * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
13749         Refer to jit-lock-defer-multiline, not jit-lock-multiline.
13750         (perl-font-lock-special-syntactic-constructs):
13751         Quote jit-lock-defer-multiline property.
13753 2009-11-30  Dan Nicolaescu  <dann@ics.uci.edu>
13755         * vc-git.el (vc-git-registered): Call vc-git-root only once.
13757 2009-11-30  Juri Linkov  <juri@jurta.org>
13759         * misearch.el (multi-isearch-search-fun): Always provide a non-nil
13760         value `buffer' of `multi-isearch-next-buffer-current-function'.
13761         Use `(current-buffer)' when `buffer' is nil.
13762         (multi-isearch-next-buffer-from-list): Don't fallback to
13763         `(current-buffer)' when `buffer' is nil.  (Bug#4947)
13765 2009-11-30  Juri Linkov  <juri@jurta.org>
13767         * misearch.el (multi-isearch-read-buffers): Move canonicalization
13768         of buffers with `get-buffer' to `multi-isearch-buffers'.
13769         (multi-isearch-buffers, multi-isearch-buffers-regexp):
13770         Canonicalize BUFFERS with `get-buffer'.  Doc fix.
13771         (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
13772         FILES with `expand-file-name' converting relative file names
13773         to absolute.  Doc fix.  (Bug#4727)
13775 2009-11-30  Juri Linkov  <juri@jurta.org>
13777         * misearch.el (multi-isearch-read-buffers)
13778         (multi-isearch-read-matching-buffers): New functions.
13779         (multi-isearch-buffers, multi-isearch-buffers-regexp):
13780         Use them in the `interactive' spec.  Doc fix.
13781         (multi-isearch-read-files, multi-isearch-read-matching-files):
13782         New functions.
13783         (multi-isearch-files, multi-isearch-files-regexp):
13784         Use them in the `interactive' spec.  Doc fix.  (Bug#4725)
13786 2009-11-30  Juri Linkov  <juri@jurta.org>
13788         * doc-view.el (doc-view-continuous):
13789         Rename from `doc-view-continuous-mode'.
13790         (doc-view-menu): Move "Toggle display" to the top.
13791         Add submenu "Continuous" with radio buttons "Off"/"On"
13792         and "Save as Default".
13793         (doc-view-scroll-up-or-next-page)
13794         (doc-view-scroll-down-or-previous-page)
13795         (doc-view-next-line-or-next-page)
13796         (doc-view-previous-line-or-previous-page):
13797         Rename `doc-view-continuous-mode' to `doc-view-continuous'.  (Bug#4896)
13799 2009-11-30  Juri Linkov  <juri@jurta.org>
13801         * comint.el (comint-mode-map): Rebind `M-r' from
13802         `comint-previous-matching-input' to
13803         `comint-history-isearch-backward-regexp'.
13804         Unbind `M-s' to allow global key binding `M-s'.
13805         Add menu items for `comint-history-isearch-backward' and
13806         `comint-history-isearch-backward-regexp'.  (Bug#3746)
13808 2009-11-30  Juri Linkov  <juri@jurta.org>
13810         * replace.el (perform-replace): Let-bind recenter-last-op to nil.
13811         For def=recenter, replace `recenter' with `recenter-top-bottom'
13812         that is called with `this-command' and `last-command' let-bound
13813         to `recenter-top-bottom'.  When the last `def' was not `recenter',
13814         set `recenter-last-op' to nil.  (Bug#4981)
13816 2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
13818         Minor cleanup and simplification.
13819         * filecache.el (file-cache-add-directory)
13820         (file-cache-add-directory-recursively)
13821         (file-cache-add-from-file-cache-buffer)
13822         (file-cache-delete-file-regexp, file-cache-delete-directory)
13823         (file-cache-files-matching-internal, file-cache-display): Use dolist.
13824         (file-cache-temp-minibuffer-message): Delete function.
13825         (file-cache-minibuffer-complete): Use minibuffer-message instead.
13827         * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
13828         Don't signal an error when bumping into EOB in tr, s, or y.
13830 2009-11-29  Juri Linkov  <juri@jurta.org>
13832         * startup.el (fancy-about-text): Fix wording of Guided Tour.
13833         (Bug#4960)
13835         * descr-text.el (describe-char-unidata-list): Use lowercase name
13836         for "Unicode name" like in other tags.
13838 2009-11-29  Juri Linkov  <juri@jurta.org>
13840         * ediff-util.el (ediff-minibuffer-with-setup-hook):
13841         New compatibility macro.
13842         (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
13844 2009-11-29  Juri Linkov  <juri@jurta.org>
13846         Add defcustom to define the cycling order of `recenter-top-bottom'.
13847         (Bug#4981)
13849         * window.el (recenter-last-op): Doc fix.
13850         (recenter-positions): New defcustom.
13851         (recenter-top-bottom): Rewrite to use `recenter-positions'.
13852         (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
13854 2009-11-29  Michael Albinus  <michael.albinus@gmx.de>
13856         Improve integration of Tramp and ange-ftp in eshell.
13858         * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
13859         (eshell/su): Flatten args.  Apply better args parsing.  Use "cd".
13860         (eshell/sudo): Flatten args.  Let-bind `default-directory'.
13862         * eshell/esh-util.el (top): Require also Tramp when compiling.
13863         (eshell-directory-files-and-attributes): Check for FTP remote
13864         connection.
13865         (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
13866         `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
13867         (eshell-file-attributes): Handle ".".  Return `entry'.
13869         * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
13870         (ange-ftp-directory-files-and-attributes)
13871         (ange-ftp-real-directory-files-and-attributes): New defuns.
13873         * net/tramp.el (tramp-maybe-open-connection): Open the remote
13874         shell with "exec" when possible.  This prevents trailing prompts
13875         in `start-file-process'.
13877 2009-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
13879         Try and remove assumptions about point-min==1.
13880         * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
13881         (rng-compute-mode-line-string): Show the validation percentage in
13882         terms of the narrowed text, not the widened text.
13883         (rng-do-some-validation): Don't catch internal errors when debugging.
13884         (rng-first-error): Simplify.
13885         (rng-after-change-function): Remove work around.  AFAIK the bug has
13886         been fixed a while ago.
13888         * image-mode.el (image-minor-mode): Exit more gracefully when the image
13889         cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
13891         * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
13893         * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
13894         `cd' doesn't always do it for us (bug#5067).
13896         * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
13897         on 2009-10-25 as part of some other change (bug#5067).
13899 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13901         * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
13902         `suspicious'.
13903         (byte-compile-warnings): Use byte-compile-warning-types.
13904         (byte-compile-save-excursion): Warn about use of set-buffer right
13905         after save-excursion.
13907         * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
13908         the excursion as well.
13910 2009-11-27  Michael Albinus  <michael.albinus@gmx.de>
13912         * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
13913         providing a Tramp related implementation of "su" and "sudo".
13914         (eshell-unix-initialize): Add "su" and "sudo".
13916 2009-11-27  Daiki Ueno  <ueno@unixuser.org>
13918         * net/socks.el (socks-send-command): Convert binary request to
13919         unibyte before sending.  This fixes mishandling of some port
13920         numbers such as 129.
13922 2009-11-27  Stefan Monnier  <monnier@iro.umontreal.ca>
13924         * help.el (describe-bindings-internal): Remove `interactive'.
13926         * man.el (Man-completion-table): Trim a terminating "(".
13927         Remove the space between name page a section.
13928         Add the command's description on the `help-echo' property.
13929         Remove `process-connection-type' binding since it's unused by
13930         call-process.
13931         Provide completion for the "<section> <name>" format as well.
13932         (Man-default-man-entry): Remove spurious var shadowing the argument.
13934 2009-11-26  Kevin Ryde  <user42@zip.com.au>
13936         * log-view.el: Add "Keywords: tools", since its other keywords
13937         aren't in finder-known-keywords, and following vc.el.
13939         * sha1.el (sha1-string-external): default-directory "/" in case
13940         otherwise non-existent.  process-connection-type pipe for touch of
13941         efficiency recommended by elisp manual.  (An aside in Bug#3911.)
13943 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13945         Misc coding convention cleanups.
13946         * htmlfontify.el (hfy-init-kludge-hook): Rename from
13947         hfy-init-kludge-hooks.
13948         (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
13949         (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
13950         (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
13951         and push.
13952         (hfy-slant, hfy-weight): Use tables rather than code.
13953         (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
13954         (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
13955         (hfy-face-attr-for-class): Initialize `face-spec' directly.
13956         (hfy-face-to-css): Remove `nconc' with single arg.
13957         (hfy-p-to-face-lennart): Use `or'.
13958         (hfy-face-at): Hoist common code.  Remove spurious quotes in `case'.
13959         (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
13960         (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
13961         (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
13962         (hfy-force-fontification): Use run-hooks.
13964 2009-11-26  Vivek Dasmohapatra  <vivek@etla.org>
13966         Various minor fixes.
13967         * htmlfontify.el (hfy-default-header): Add toggle_invis since
13968         Javascript belongs in the header, not the body.
13969         (hfy-javascript): Remove.
13970         (hfy-fontify-buffer): Don't insert it any more.
13971         (hfy-face-at): Handle (face0 face1 face2) style face properties.
13972         Fix bug in invis handling when there were no invis props in a chunk.
13974 2009-11-26  Stefan Monnier  <monnier@iro.umontreal.ca>
13976         * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
13978 2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
13980         * finder.el (finder-mode-map): Add a menu.
13982 2009-11-26  Michael McNamara  <mac@mail.brushroad.com>
13984         * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
13985         "unsigned" structs.
13987         (verilog-leap-to-head, verilog-backward-token): Handle "disable
13988         fork" statement better.
13990 2009-11-26  Wilson Snyder  <wsnyder@wsnyder.org>
13992         * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
13993         (verilog-delete-auto, verilog-delete-empty-auto-pair)
13994         (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
13995         Reported by Clay Douglass.
13997         (verilog-auto-inst, verilog-auto-star-safe)
13998         (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
13999         Fix removing "// Interfaces" when saving .* expansions.
14000         Reported by Pierre-David Pfister.
14002 2009-11-26  Glenn Morris  <rgm@gnu.org>
14004         * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
14005         the scope.
14007 2009-11-25  Johan Bockgård  <bojohan@gnu.org>
14009         * vc-annotate.el (vc-annotate-revision-previous-to-line):
14010         Really use previous revision.
14012 2009-11-25  Kevin Ryde  <user42@zip.com.au>
14014         * man.el (Man-completion-table): default-directory "/" in case
14015         doesn't otherwise exist.  process-environment COLUMNS=999 so as
14016         not to truncate long names.  process-connection-type pipe to avoid
14017         any chance of hitting the pseudo-tty TIOCGWINSZ.
14018         (man): completion-ignore-case t for friendliness and since man
14019         itself is case-insensitive on the command line.
14020         Further to Bug#3717.
14022         * arc-mode.el: Add "Keywords: files", so the details in its
14023         commentary can be reached from finder-by-keyword.
14024         * textmodes/dns-mode.el: Add "Keywords: comm".  It's only an
14025         editing mode, but it's comms related and sgml-mode.el has "comm"
14026         on that basis too.
14027         * textmodes/bibtex-style.el: Add "Keywords: tex".
14028         * international/isearch-x.el, international/ja-dic-cnv.el:
14029         * international/ja-dic-utl.el, international/kkc.el:
14030         Add "Keywords: i18n", so they can be reached from finder-by-keyword.
14032 2009-11-25  Juri Linkov  <juri@jurta.org>
14034         * man.el (Man-completion-table): Modify regexp to include
14035         section names to completion strings.  (Bug#3717)
14037 2009-11-25  Juri Linkov  <juri@jurta.org>
14039         Search recursively in gzipped files.  (Bug#4982)
14041         * progmodes/grep.el (grep-highlight-matches): Add new options
14042         `always' and `auto'.  Doc fix.
14043         (grep-process-setup): Check `grep-highlight-matches' for
14044         `auto-detect' to determine the need to compute grep defaults.
14045         Move Windows/DOS specific --colors settings handling
14046         to `grep-compute-defaults'.  Check `grep-highlight-matches'
14047         to get the value of "--color=".
14048         (grep-compute-defaults): Compute `grep-highlight-matches' when it
14049         has the value `auto-detect'.  Move Windows/DOS specific settings
14050         from `grep-process-setup'.
14051         (zrgrep): New command with alias `rzgrep'.
14053 2009-11-25  Juri Linkov  <juri@jurta.org>
14055         * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
14056         to nil instead of switching off view-mode.  (Bug#4896)
14058 2009-11-25  Juri Linkov  <juri@jurta.org>
14060         Mouse-wheel scrolling for DocView Continuous mode.  (Bug#4896)
14062         * mwheel.el (mwheel-scroll-up-function)
14063         (mwheel-scroll-down-function): New defvars.
14064         (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
14065         `scroll-up', and `mwheel-scroll-down-function' instead of
14066         `scroll-down'.
14068         * doc-view.el (doc-view-scroll-up-or-next-page)
14069         (doc-view-scroll-down-or-previous-page): Add optional ARG.
14070         Use this ARG in the call to image-scroll-up/image-scroll-down.
14071         Change `interactive' spec to "P".  Goto next/previous page only
14072         when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
14073         SPC/DEL case).  Doc fix.
14074         (doc-view-next-line-or-next-page)
14075         (doc-view-previous-line-or-previous-page): Rename arg to ARG
14076         for consistency.
14077         (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
14078         `doc-view-scroll-up-or-next-page', and buffer-local
14079         `mwheel-scroll-down-function' to
14080         `doc-view-scroll-down-or-previous-page'.
14082 2009-11-25  Juri Linkov  <juri@jurta.org>
14084         Provide additional default values (directories at other Dired
14085         windows) via M-n in the minibuffer of some Dired commands.
14087         * dired-aux.el (dired-diff, dired-compare-directories)
14088         (dired-do-create-files): Use `dired-dwim-target-defaults' to set
14089         `minibuffer-default' in `minibuffer-with-setup-hook'.
14090         (dired-dwim-target-directory): Find a window that displays Dired
14091         buffer instead of failing when the next window is not Dired.
14092         Use `get-window-with-predicate' to find for the next Dired window.
14093         (dired-dwim-target-defaults): New function.
14095         * ediff-util.el (ediff-read-file-name):
14096         Use `dired-dwim-target-defaults' to set `minibuffer-default'
14097         in `minibuffer-with-setup-hook'.
14099 2009-11-25  Juri Linkov  <juri@jurta.org>
14101         Provide additional default values (file name at point or at the
14102         current Dired line) via M-n for file reading minibuffers.  (Bug#5010)
14104         * minibuffer.el (read-file-name-defaults): New function.
14105         (read-file-name): Reset `minibuffer-default' to nil when
14106         it duplicates initial input `insdef'.
14107         Bind `minibuffer-default-add-function' to lambda that
14108         calls `read-file-name-defaults' in `minibuffer-selected-window'.
14109         (minibuffer-insert-file-name-at-point): New command.
14111         * files.el (file-name-at-point-functions): New defcustom.
14112         (find-file-default): Remove defvar.
14113         (find-file-read-args): Don't use `find-file-default'.
14114         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14115         to `read-file-name'.
14116         (find-file-literally): Use `read-file-name' with
14117         `confirm-nonexistent-file-or-buffer'.
14119         * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
14121         * dired.el (dired-read-dir-and-switches):
14122         Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
14123         to `read-file-name'.
14124         (dired-file-name-at-point): New function.
14125         (dired-mode): Add hook `dired-file-name-at-point' to
14126         `file-name-at-point-functions'.
14128 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14130         Really make the *Completions* window soft-dedicated (bug#5030).
14131         * window.el (window--display-buffer-2): Add `dedicated' argument.
14132         (display-buffer): Pass it when needed so the dedicated flag is set
14133         after calling set-window-buffer, which would otherwise reset it.
14135 2009-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
14137         * progmodes/meta-mode.el (meta-complete-symbol):
14138         * progmodes/etags.el (complete-tag):
14139         * mail/mailabbrev.el (mail-abbrev-complete-alias):
14140         Use completion-in-region.
14142         * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
14143         (dabbrev-completion): Use completion-in-region.
14144         (dabbrev--abbrev-at-point): Simplify regexp.
14146         * abbrev.el (abbrev--before-point): Use word-motion functions
14147         if :regexp is not specified (bug#5031).
14149         * subr.el (string-prefix-p): New function.
14151         * man.el (Man-completion-cache): New var.
14152         (Man-completion-table): Use it.
14154         * vc.el (vc-print-log-internal): Make `limit' optional for better
14155         compatibility (e.g. with vc-annotate.el).
14157 2009-11-24  Kevin Ryde  <user42@zip.com.au>
14159         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
14160         Build value with regexp-opt instead of explicit joining loop.  (Bug#4927)
14162         * emacs-lisp/elint.el (elint-add-required-env): Better error message
14163         when .el source file not found or other error.
14165 2009-11-24  Markus Triska  <markus.triska@gmx.at>
14167         * linum.el (linum-update-window): Ignore intangible (bug#4996).
14169 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14171         Handle the [back] button properly (bug#4979).
14172         * descr-text.el (describe-text-properties): Add a `buffer' argument.
14173         Use help-setup-xref, help-buffer, and with-help-window.
14174         (describe-char): Add `buffer' argument.
14175         Pass proper command to help-setup-xref.  Don't meddle with
14176         help-xref-stack-item directly.
14177         (describe-text-category): Use with-help-window and help-buffer.
14179         * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
14180         for the displayed buffer (bug#4887).
14182         * man.el (Man-completion-table): New function.
14183         (man): Use it.
14185 2009-11-24  David Reitter  <david.reitter@gmail.com>
14187         * vc-git.el (vc-git-registered): Use checkout directory (where
14188         .git is) rather than the file's directory and a relative path spec
14189         to work around a bug in git.
14191 2009-11-24  Michael Albinus  <michael.albinus@gmx.de>
14193         Improve handling of processes on remote hosts.
14195         * eshell/esh-util.el (eshell-path-env): New defvar.
14196         (eshell-parse-colon-path): New defun.
14197         (eshell-file-attributes): Use `eshell-parse-colon-path'.
14199         * eshell/esh-ext.el (eshell-search-path):
14200         Use `eshell-parse-colon-path'.
14201         (eshell-remote-command): Remove argument HANDLER.
14202         (eshell-external-command): Check for FTP remote connection.
14204         * eshell/esh-proc.el (eshell-gather-process-output):
14205         Use `file-truename', in order to start also symlinked files.
14206         Apply `start-file-process' instead of `start-process'.
14207         Shorten `command' to the local file name part.
14209         * eshell/em-cmpl.el (eshell-complete-commands-list):
14210         Use `eshell-parse-colon-path'.
14212         * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
14214         * net/tramp.el (tramp-eshell-directory-change): New defun.  Add it
14215         to `eshell-directory-change-hook'.
14217 2009-11-24  Tassilo Horn  <tassilo@member.fsf.org>
14219         * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
14220         because it could be enabled automatically if view-read-only is non-nil.
14222 2009-11-24  Michael Kifer  <kifer@cs.stonybrook.edu>
14224         * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
14225         made on 2009-11-22.
14227 2009-11-24  Glenn Morris  <rgm@gnu.org>
14229         * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
14230         deleted variable bookmark-bmenu-bookmark-column.
14232 2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
14234         * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
14236 2009-11-23  Ken Brown  <kbrown@cornell.edu>  (tiny change)
14238         * net/browse-url.el (browse-url-filename-alist): On Windows, add
14239         two slashes to the "file:" prefix.
14240         (browse-url-file-url): De-munge Cygwin filenames before passing
14241         them to Windows browser.
14242         (browse-url-default-windows-browser): Use call-process.
14244 2009-11-23  Juri Linkov  <juri@jurta.org>
14246         Implement DocView Continuous mode.  (Bug#4896)
14247         * doc-view.el (doc-view-continuous-mode): New defcustom.
14248         (doc-view-mode-map): Bind C-n/<down> to
14249         `doc-view-next-line-or-next-page', C-p/<up> to
14250         `doc-view-previous-line-or-previous-page'.
14251         (doc-view-next-line-or-next-page)
14252         (doc-view-previous-line-or-previous-page): New commands.
14254 2009-11-23  Juri Linkov  <juri@jurta.org>
14256         Implement Isearch in comint input history.  (Bug#3746)
14257         * comint.el (comint-mode): Add `comint-history-isearch-setup' to
14258         `isearch-mode-hook'.
14259         (comint-history-isearch): New defcustom.
14260         (comint-history-isearch-backward)
14261         (comint-history-isearch-backward-regexp): New commands.
14262         (comint-history-isearch-message-overlay): New buffer-local variable.
14263         (comint-history-isearch-setup, comint-history-isearch-end)
14264         (comint-goto-input, comint-history-isearch-search)
14265         (comint-history-isearch-message, comint-history-isearch-wrap)
14266         (comint-history-isearch-push-state)
14267         (comint-history-isearch-pop-state): New functions.
14269 2009-11-23  Michael Albinus  <michael.albinus@gmx.de>
14271         * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
14272         return.
14273         (tramp-handle-make-symbolic-link)
14274         (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
14275         Quote file names.
14276         (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
14277         (tramp-handle-process-file): Use it.
14279 2009-11-23  Stefan Monnier  <monnier@iro.umontreal.ca>
14281         * window.el (move-to-window-line-last-op): Remove.
14282         (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
14284 2009-11-23  Deniz Dogan  <deniz.a.m.dogan@gmail.com>  (tiny change)
14286         Make M-r mirror the new cycling behavior of C-l.
14287         * window.el (move-to-window-line-last-op): New var.
14288         (move-to-window-line-top-bottom): New command.
14289         (global-map): Bind M-r move-to-window-line-top-bottom.
14291 2009-11-23  Sven Joachim  <svenjoac@gmx.de>
14293         * dired-x.el (dired-guess-shell-alist-default):
14294         Support xz format.  (Bug#4953)
14296 2009-11-22  Michael Kifer  <kifer@cs.stonybrook.edu>
14298         * emulation/viper-cmd.el: Use viper-last-command-char instead of
14299         last-command-char/last-command-event.
14300         (viper-prefix-arg-value): Do correct conversion of event-char for
14301         XEmacs.
14303         * emulation/viper-util.el, emulation/viper.el:
14304         Use viper-last-command-char instead of
14305         last-command-char/last-command-event.
14307         * ediff-init.el, ediff-mult.el, ediff-util.el:
14308         Replace last-command-char and last-command-event
14309         with (ediff-last-command-char) everywhere.
14311         * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
14312         created in fundamental mode.
14314         * ediff.el (ediff-version): Revert the change of interactive-p to
14315         called-interactively-p.
14317 2009-11-22  Tassilo Horn  <tassilo@member.fsf.org>
14319         * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
14320         generation from word-movement command names.
14322 2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
14324         * cus-start.el (all): Add native condition for font-use-system-font.
14326 2009-11-21  Nathaniel Flath  <flat0103@gmail.com>
14328         * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
14329         Correct the patch from 2009-11-18.  (Bug#3910)
14331 2009-11-21  Tassilo Horn  <tassilo@member.fsf.org>
14333         * progmodes/subword.el: Rename from lisp/subword.el.
14335         * subword.el: Rename to progmodes/subword.el.
14337         * Makefile.in (ELCFILES): Adapt to subword.el move.
14339 2009-11-21  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14340             Stefan Monnier  <monnier@iro.umontreal.ca>
14342         * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
14343         (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
14344         (bookmark-bmenu-show-filenames): Use push.
14345         (bookmark-bmenu-hide-filenames): Use local var instead of
14346         bookmark-bmenu-bookmark-column.  Use pop.  Don't save window-excursion.
14347         (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
14348         (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
14349         filenames now that the bookmark names are always available.
14351 2009-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
14353         * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
14354         (bookmark-search-pattern): Move and leave unbound.
14355         (bookmark-bmenu-mode-map): Change binding.
14356         (bookmark-read-search-input): Simplify.
14357         Don't use text-char-description.  Don't error on non-char events.
14358         (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
14359         only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
14360         (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
14361         Use a local var for the timer.
14362         (bookmark-bmenu-cancel-search): Remove by folding into the only caller
14363         (i.e. bookmark-bmenu-search).
14365 2009-11-21  Glenn Morris  <rgm@gnu.org>
14367         * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode.  (Bug#4993)
14369 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
14371         * net/browse-url.el (browse-url-default-windows-browser):
14372         Use cygstart for cygwin.
14374 2009-11-20  Karl Fogel  <karl.fogel@red-bean.com>
14376         * bookmark.el: Formatting and doc fixes only:
14377         (bookmark-search-delay): Shorten doc string to fit in 80 columns.
14378         (bookmark-bmenu-search): Wrap to fit within 80 columns.
14379         Minor grammar and punctuation fixes in doc string.
14380         (bookmark-read-search-input): Adjust to fit within 80 columns.
14382 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
14384         * progmodes/cc-cmds.el (c-forward-into-nomenclature)
14385         (c-backward-into-nomenclature): Adapt to subword renaming.
14387         * subword.el (subword-forward, subword-backward, subword-mark)
14388         (subword-kill, subword-backward-kill, subword-transpose)
14389         (subword-downcase, subword-upcase, subword-capitalize)
14390         (subword-forward-internal, subword-backward-internal):
14391         Rename from forward-subword, backward-subword, mark-subword,
14392         kill-subword, backward-kill-subword, transpose-subwords,
14393         downcase-subword, upcase-subword, capitalize-subword,
14394         forward-subword-internal, backward-subword-internal.
14396 2009-11-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
14398         * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
14399         New options.
14400         (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
14401         New vars.
14402         (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
14403         (bookmark-bmenu-filter-alist-by-regexp)
14404         (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
14405         (bookmark-bmenu-search): New command.
14406         (bookmark-bmenu-mode-map): Bind it.
14408 2009-11-20  Tassilo Horn  <tassilo@member.fsf.org>
14410         * progmodes/cc-cmds.el: declare-functioned forward-subword and
14411         backward-subword to quit the byte-compiler.
14413         * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
14415         * Makefile.in: Don't refer cc-subword.elc but subword.elc.
14417         * progmodes/cc-cmds.el (c-update-modeline)
14418         (c-forward-into-nomenclature, c-backward-into-nomenclature):
14419         Refer to subword.el functions instead of cc-subword.el.
14421         * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
14422         subword.el functions instead of cc-subword.el.
14424         * progmodes/cc-subword.el: Rename to subword.el.
14425         * subword.el: Rename from progmodes/cc-subword.el.
14426         (subword-mode-map): Rename from c-subword-mode-map.
14427         (subword-mode): Rename from c-subword-mode.
14428         (global-subword-mode): New global minor mode.
14429         (forward-subword): Rename from c-forward-subword.
14430         (backward-subword): Rename from c-backward-subword.
14431         (mark-subword): Rename from c-mark-subword.
14432         (kill-subword): Rename from c-kill-subword.
14433         (backward-kill-subword): Rename from c-backward-kill-subword.
14434         (transpose-subwords): Rename from c-tranpose-subword.
14435         (downcase-subword): Rename from c-downcase-subword.
14436         (capitalize-subword): Rename from c-capitalize-subword.
14437         (forward-subword-internal): Rename from c-forward-subword-internal.
14438         (backward-subword-internal): Rename from c-backward-subword-internal.
14440 2009-11-20  Dan Nicolaescu  <dann@ics.uci.edu>
14442         * vc.el (vc-deduce-fileset): Allow non-state changing operations
14443         from a dired buffer.
14444         (vc-dired-deduce-fileset): New function.
14445         (vc-root-diff, vc-print-root-log): Use it.
14447         * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
14448         nil LIMIT argument to vc-print-log-internal.
14450 2009-11-20  Glenn Morris  <rgm@gnu.org>
14452         * Makefile.in (ELCFILES): Regenerate.
14454 2009-11-20  Jay Belanger  <jay.p.belanger@gmail.com>
14456         * calc/calc.el (calc-set-mode-line):
14457         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14458         (math-format-number): Rename `math-format-complement-signed' to
14459         `math-format-twos-complement'.
14461         * calc/calc-bin.el (math-format-twos-complement): Rename from
14462         math-format-complement-signed.
14463         (calc-radix): Rename `calc-complement-signed-mode' to
14464         `calc-twos-complement-mode'.
14465         (calc-octal-radix, calc-hex-radix): Add an argument for
14466         two's complement.
14468         * calc/calc-embed.el (calc-embedded-mode-vars):
14469         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14471         * calc/calc-ext.el (calc-init-extensions):
14472         Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
14473         (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
14475         * calc/calc-units.el (math-build-units-table-buffer):
14476         Let `calc-twos-complement-mode' be nil.
14478         * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
14479         entries.
14481         * calc/calc-vec.el (calcFunc-vunpack):
14482         * calc/calc-aent.el (calc-do-calc-eval):
14483         * calc/calc-forms.el (math-format-date):
14484         * calc/calc-graph.el (calc-graph-plot):
14485         * calc/calc-math.el (math-use-emacs-fn):
14486         * calc/calccomp.el (math-compose-expr):
14487         Let `calc-twos-complement-mode' be nil.
14489 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14491         * abbrev.el (abbrev-with-wrapper-hook): (re)move...
14492         * simple.el (with-wrapper-hook): ...to here.  Add argument `args'.
14493         * minibuffer.el (completion-in-region-functions): New hook.
14494         (completion-in-region): New function.
14495         * emacs-lisp/lisp.el (lisp-complete-symbol):
14496         * pcomplete.el (pcomplete-std-complete): Use it.
14498 2009-11-19  Stefan Monnier  <monnier@iro.umontreal.ca>
14500         * textmodes/tex-mode.el (latex-complete-bibtex-cache)
14501         (latex-complete-alist): New vars.
14502         (latex-string-prefix-p, latex-complete-bibtex-keys)
14503         (latex-complete-envnames, latex-complete-refkeys)
14504         (latex-complete-data): New functions.
14505         (latex-complete, latex-indent-or-complete): New commands.
14507         * window.el (display-buffer-mark-dedicated): New var.
14508         (display-buffer): Obey it.
14509         * minibuffer.el (minibuffer-completion-help): Use it.
14511         * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
14513         * filecache.el (file-cache-add-file): Use push and cons.
14514         (file-cache-delete-file-regexp): Use push.
14515         (file-cache-complete): Use completion-in-region.
14517         * simple.el (with-wrapper-hook): Fix thinko.
14519         * hfy-cmap.el (hfy-rgb-file): Use locate-file.
14520         (htmlfontify-load-rgb-file): Remove unnused var `ff'.
14521         Use with-current-buffer and string-to-number.
14522         (hfy-fallback-colour-values): Use assoc-string.
14523         * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
14524         (hfy-face-at): Remove unused var `found-face'.
14525         (hfy-compile-stylesheet): Remove unused var `css'.
14526         (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
14527         and `orig-buffer'.
14528         (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
14529         Use with-current-buffer.
14530         (hfy-text-p): Use expand-file-name and fewer setq.
14532 2009-11-19  Vivek Dasmohapatra  <vivek@etla.org>
14534         * htmlfontify.el, hfy-cmap.el: New files.
14536 2009-11-19  Juri Linkov  <juri@jurta.org>
14538         * minibuffer.el (completions-format): New defcustom.
14539         (completion--insert-strings): Implement vertical format.
14541         * simple.el (switch-to-completions): Move point to the first
14542         completion when point was at the beginning of the buffer.
14544 2009-11-19  Juri Linkov  <juri@jurta.org>
14546         * find-dired.el (find-name-arg): Remove autoload.  (Bug#4387)
14548         * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
14550 2009-11-19  Chong Yidong  <cyd@stupidchicken.com>
14552         * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
14553         (mail-signature): Change default to t.
14554         (mail-from-style): Deprecate `system-default' value.
14555         (mail-insert-from-field): For default value of mail-from-style,
14556         default to `angles' unless `angles' needs quoting and `parens'
14557         does not.
14558         (mail-citation-prefix-regexp): Use citation regexp from
14559         message-mode.
14561 2009-11-19  Michael Albinus  <michael.albinus@gmx.de>
14563         * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
14564         Set variables for computing the prompt for reading password.
14566 2009-11-19  Glenn Morris  <rgm@gnu.org>
14568         * dired-aux.el (dired-compress-file-suffixes): Add ".xz".  (Bug#4953)
14570         * textmodes/flyspell.el (sgml-lexical-context): Declare.
14572         * net/newst-treeview.el (newsticker-treeview-treewindow-width)
14573         (newsticker-treeview-listwindow-height): Fix custom type.
14575 2009-11-19  Kenichi Handa  <handa@m17n.org>
14577         * descr-text.el (describe-char-padded-string): Compose with TAB
14578         only if there's a font for CH.
14579         (describe-char): Fix the condition for detecting a trivial composition.
14581 2009-11-18  Nathaniel Flath  <flat0103@gmail.com>
14583         * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
14584         more accurate version of the regexp.  (Bug#3910)
14586 2009-11-18  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
14588         * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
14590 2009-11-18  Juanma Barranquero  <lekktu@gmail.com>
14592         * font-setting.el (font-use-system-font): Declare for byte-compiler.
14593         (font-setting-change-default-font): Fix typo in docstring.
14595 2009-11-18  Alan Mackenzie  <acm@muc.de>
14597         * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
14599 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
14601         * font-setting.el (font-use-system-font): Move ...
14603         * cus-start.el (all): ... to here.
14605 2009-11-17  Michael Albinus  <michael.albinus@gmx.de>
14607         * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
14608         Don't set `ad-return-value' if `ad-do-it' doesn't.
14610         * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
14611         modification time.
14613 2009-11-17  Jan Djärv  <jan.h.d@swipnet.se>
14615         * menu-bar.el: Put "Use system font" in Option-menu.
14616         (menu-bar-options-save): Add font-use-system-font.
14618         * loadup.el: If feature system-font-setting or font-render-setting is
14619         there, load font-setting.
14621         * Makefile.in (ELCFILES): Add font-settings.el.
14622         * font-setting.el: New file.
14624 2009-11-17  Glenn Morris  <rgm@gnu.org>
14626         * vc-svn.el (vc-svn-print-log): Fix typo in previous.
14628         * net/newst-treeview.el (newsticker--treeview-list-update-faces):
14629         Preserve point in the list buffer.  (Bug#4939)
14630         Use point-at-eol.
14631         (newsticker--treeview-list-update-highlight)
14632         (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
14634 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
14636         * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
14637         Remove.
14639         * calc/calc-ext.el (calc-init-extensions): Remove references to
14640         symclip.
14642         * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
14644         * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
14645         * calc/calc-help.el (calc-b-prefix-help): Remove references to
14646         `calc-symclip'.
14648 2009-11-16  Kevin Ryde  <user42@zip.com.au>
14650         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
14651         Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
14653         * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
14654         (lm-keywords-list): Allow comma-only separator like "foo,bar".
14655         Ignore trailing spaces by omit-nulls to split-string (fixing
14656         regression from Emacs 21 due to the incompatible split-string
14657         change).  (Bug #4928.)
14659 2009-11-16  Dan Nicolaescu  <dann@ics.uci.edu>
14661         * vc.el (vc-log-show-limit): Default to 2000.
14662         (vc-print-log-internal): Insert buttons to request more entries
14663         when limiting the output.
14665         * vc-sccs.el (vc-sccs-print-log):
14666         * vc-rcs.el (vc-rcs-print-log):
14667         * vc-cvs.el (vc-cvs-print-log):
14668         * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
14669         LIMIT is non-nil.
14671 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
14673         * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
14674         error when `tramp-gvfs-dbus-event-vector' is set.
14675         (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
14677 2009-11-16  Stefan Monnier  <monnier@iro.umontreal.ca>
14679         * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
14681 2009-11-16  Michael Albinus  <michael.albinus@gmx.de>
14683         * net/dbus.el (dbus-unregister-service): New defun.
14684         (dbus-register-property): Register the handlers of
14685         "org.freedesktop.DBus.Properties" for SERVICE.
14686         (dbus-property-handler): Fix docstring.
14688 2009-11-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
14690         * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
14691         Quote doc string reference in defvaralias as it is not in special form.
14692         (byte-compile-output-docform): Doc fix.
14694 2009-11-16  Jay Belanger  <jay.p.belanger@gmail.com>
14696         * calc/calc.el (math-2-word-size, math-half-2-word-size)
14697         (calc-complement-signed-mode): New variables.
14698         (calc-set-mode-line): Add indicator for twos-complements.
14699         (math-format-number): Format twos-complement notation.
14701         * calc/calc-bin.el (calc-word-size): Reset the variables
14702         `math-2-word-size' and `math-half-2-word-size'.
14703         (math-format-complement-signed, math-symclip, calcFunc-symclip)
14704         (calc-symclip): New functions.
14706         * calc/calc-aent.el (math-read-token): Read complement signed numbers.
14708         * calc/calc-embed.el (calc-embedded-mode-vars):
14709         Add `calc-complement-signed-mode' to the list of modes.
14711         * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
14712         (calc-b-oper-keys): Add `calc-symclip' to list.
14714         * calc/calc-ext.el (math-read-number-fancy): Read complement
14715         signed numbers.
14716         (calc-init-extensions): Add binding for `calc-symclip'.
14717         Add autoload for `calcFunc-symclip' and `calc-symclip'.
14719         * calc/calc-menu.el (calc-arithmetic-menu): Add item for
14720         `calc-symclip'.
14721         (calc-modes-menu): Add item for twos complement mode.
14723         * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
14725 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
14727         * register.el (jump-to-register, insert-register): Handle Semantic
14728         tags.  From commented-out advice in semantic/senator.el.
14730 2009-11-15  Dan Nicolaescu  <dann@ics.uci.edu>
14732         * vc.el (vc-log-show-limit): New variable.
14733         (vc-print-log, vc-print-root-log): Add new argument LIMIT.  Set it
14734         when using a prefix argument.
14735         (vc-print-log-internal): Add new argument LIMIT.
14737         * vc-svn.el (vc-svn-print-log):
14738         * vc-mtn.el (vc-mtn-print-log):
14739         * vc-hg.el (vc-hg-print-log):
14740         * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
14741         pass it to the log command when set.  Make the BUFFER argument
14742         non-optional.
14744         * vc-sccs.el (vc-sccs-print-log):
14745         * vc-rcs.el (vc-rcs-print-log):
14746         * vc-git.el (vc-git-print-log):
14747         * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
14748         ignore it.  Make the BUFFER argument non-optional
14750         * bindings.el (mode-line-buffer-identification): Do not purecopy.
14752 2009-11-15  Chong Yidong  <cyd@stupidchicken.com>
14754         * dired.el (dired-mode-map): Move encryption items to "Operate"
14755         menu (Bug#4703).
14757         * strokes.el (strokes-update-window-configuration): Make strokes
14758         buffer current before erasing (Bug#4906).
14760 2009-11-15  Juri Linkov  <juri@jurta.org>
14762         * simple.el (set-mark-default-inactive): Add :type, :group
14763         and :version.  (Bug#4876)
14765 2009-11-15  Michael Albinus  <michael.albinus@gmx.de>
14767         * arc-mode.el (archive-maybe-copy): Move creation of directory ...
14768         (archive-unique-fname): ... here.  (Bug#4929)
14770 2009-11-15  Stefan Monnier  <monnier@iro.umontreal.ca>
14772         * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
14773         with a real fix.
14775         * novice.el (disabled-command-function): Add useful args.
14776         Setup the help buffer so that [back] works.
14777         Remove redundant call to help-mode.
14778         (disabled-command-function): Use `case'.
14779         (en/disable-command): New function extracted from enable-command.
14780         (enable-command, disable-command): Use it.
14782 2009-11-14  Glenn Morris  <rgm@gnu.org>
14784         * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
14785         constants.  (Bug#4913)
14787         * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
14789 2009-11-14  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
14791         * emacs-lisp/elint.el (elint-standard-variables): Add some variables
14792         defined in C that have no doc-strings.  (Bug#1063)
14794 2009-11-14  Francis Wright  <F.J.Wright@qmul.ac.uk>
14796         * cus-edit.el (data, files):
14797         * ps-print.el (postscript): Doc fixes for custom groups.  (Bug#3327)
14799 2009-11-14  Chong Yidong  <cyd@stupidchicken.com>
14801         * simple.el (shell-command): Doc fix (Bug#4891).
14803         * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
14805 2009-11-14  Glenn Morris  <rgm@gnu.org>
14807         * emulation/viper.el (viper-set-hooks): Remove duplicate advice
14808         statements for vc-diff, emerge-quit, and rmail-cease-edit.
14809         If they are already loaded, eval-after-load will do the right thing.
14811         * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
14812         compiling.
14814         * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
14816         * simple.el (x-selection-owner-p): Declare.
14817         (read-mail-command): Use custom radio type rather than choice.
14818         (completion-no-auto-exit): Doc fix.
14820         * custom.el (defgroup):
14821         * epg-config.el (epg): Doc fixes.
14823 2009-11-14  Dan Nicolaescu  <dann@ics.uci.edu>
14825         * bindings.el (mode-line-buffer-identification): Purecopy only the string.
14826         * international/ccl.el (define-ccl-program): Do not purecopy the
14827         docstring, defconst does it anyway.
14829 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14831         * add-log.el (add-change-log-entry): Avoid displaying the changelog
14832         a second time.
14834         * x-dnd.el (x-dnd-maybe-call-test-function):
14835         * window.el (split-window-vertically):
14836         * whitespace.el (whitespace-help-on):
14837         * vc-rcs.el (vc-rcs-consult-headers):
14838         * userlock.el (ask-user-about-lock-help)
14839         (ask-user-about-supersession-help):
14840         * type-break.el (type-break-force-mode-line-update):
14841         * time-stamp.el (time-stamp-conv-warn):
14842         * terminal.el (te-set-output-log, te-more-break, te-filter)
14843         (te-sentinel, terminal-emulator):
14844         * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
14845         (term-write-input-ring, term-check-source, term-start-output-log):
14846         (term-display-buffer-line, term-dynamic-list-completions):
14847         (term-ansi-make-term, serial-term):
14848         * subr.el (selective-display):
14849         * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
14850         (strokes-encode-buffer, strokes-xpm-for-compressed-string):
14851         * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
14852         (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
14853         (speedbar-remove-localized-speedbar-support)
14854         (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
14855         (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
14856         (speedbar-buffers-line-directory):
14857         * simple.el (shell-command-on-region, append-to-buffer)
14858         (prepend-to-buffer):
14859         * shadowfile.el (shadow-save-todo-file):
14860         * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
14861         (scroll-bar-maybe-set-window-start):
14862         * sb-image.el (speedbar-image-dump):
14863         * saveplace.el (save-place-alist-to-file, save-places-to-alist)
14864         (load-save-place-alist-from-file):
14865         * ps-samp.el (ps-print-message-from-summary):
14866         * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
14867         (ps-background-image, ps-begin-job, ps-do-despool):
14868         * ps-bdf.el (bdf-find-file, bdf-read-font-info):
14869         * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
14870         (pr-ps-message-from-summary, pr-lpr-message-from-summary):
14871         (pr-call-process, pr-file-list, pr-interface-save):
14872         * novice.el (disabled-command-function)
14873         (enable-command, disable-command):
14874         * mouse.el (mouse-buffer-menu-alist):
14875         * mouse-copy.el (mouse-kill-preserving-secondary):
14876         * macros.el (kbd-macro-query):
14877         * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
14878         * informat.el (batch-info-validate):
14879         * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
14880         * hippie-exp.el (try-expand-dabbrev-visible):
14881         * help-mode.el (help-make-xrefs):
14882         * help-fns.el (describe-variable):
14883         * generic-x.el (bat-generic-mode-run-as-comint):
14884         * finder.el (finder-mouse-select):
14885         * find-dired.el (find-dired-sentinel):
14886         * filesets.el (filesets-file-close):
14887         * files.el (list-directory):
14888         * faces.el (list-faces-display, describe-face):
14889         * facemenu.el (list-colors-display):
14890         * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
14891         * epg.el (epg--process-filter, epg-cancel):
14892         * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
14893         (epa--read-signature-type):
14894         * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
14895         (emerge-file-names):
14896         * ehelp.el (electric-helpify):
14897         * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
14898         * ediff-vers.el (rcs-ediff-view-revision):
14899         * ediff-util.el (ediff-setup):
14900         * ediff-mult.el (ediff-append-custom-diff):
14901         * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
14902         (ediff-wordify):
14903         * echistory.el (Electric-command-history-redo-expression):
14904         * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
14905         * disp-table.el (describe-display-table):
14906         * dired.el (dired-find-buffer-nocreate):
14907         * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
14908         * dabbrev.el (dabbrev--same-major-mode-p):
14909         * chistory.el (list-command-history):
14910         * apropos.el (apropos-documentation):
14911         * allout.el (allout-obtain-passphrase):
14912         (allout-copy-exposed-to-buffer):
14913         (allout-verify-passphrase): Use with-current-buffer.
14915 2009-11-13  Glenn Morris  <rgm@gnu.org>
14917         * Makefile.in (ELCFILES): Regenerate.
14919 2009-11-13  Michael Albinus  <michael.albinus@gmx.de>
14921         * net/dbus.el (dbus-registered-objects-table): Rename from
14922         `dbus-registered-functions-table', because it contains also properties.
14923         (dbus-unregister-object): Unregister also properties.
14924         (dbus-get-property, dbus-set-property, dbus-get-all-properties):
14925         Use a timeout of 500 msec, in order to not block.
14926         (dbus-register-property, dbus-property-handler): New defuns.
14928 2009-11-13  Stefan Monnier  <monnier@iro.umontreal.ca>
14930         * simple.el (minibuffer-default-add-completions): Drop deprecated
14931         4th arg.
14933 2009-11-13  Tomas Abrahamsson  <tab@lysator.liu.se>
14935         * textmodes/artist.el (artist-mouse-choose-operation):
14936         Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
14937         menus.  Bug noticed by Eli Zaretskii <eliz@gnu.org>.
14938         (artist-compute-up-event-key): New function.
14939         (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
14941 2009-11-13  Kenichi Handa  <handa@m17n.org>
14943         * language/japan-util.el: Make sure that the value of jisx0208
14944         property is jisx0208 character.
14946 2009-11-13  Dan Nicolaescu  <dann@ics.uci.edu>
14948         * international/mule.el (auto-coding-regexp-alist): Only purecopy
14949         car or each item, not the whole list.
14951 2009-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
14953         * minibuffer.el (minibuffer-completion-help):
14954         Use minibuffer-hide-completions.
14956 2009-11-12  Per Starbäck  <per@starback.se>  (tiny change)
14958         * dired.el (dired-save-positions, dired-restore-positions): New funs.
14959         (dired-revert): Use them (bug#4880).
14961 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
14963         * tooltip.el (tooltip-frame-parameters): Undo previous change.
14965 2009-11-12  Juri Linkov  <juri@jurta.org>
14967         * ffap.el (ffap-alternate-file-other-window, ffap-literally):
14968         New functions.
14969         (find-file-literally-at-point): Alias of `ffap-literally'.
14971 2009-11-12  Dan Nicolaescu  <dann@ics.uci.edu>
14973         * textmodes/ispell.el (ispell-skip-region-alist):
14974         * textmodes/css-mode.el (auto-mode-alist):
14975         * progmodes/compile.el (auto-mode-alist):
14976         * international/mule.el (ctext-non-standard-encodings-alist)
14977         (ctext-non-standard-encodings-regexp):
14978         * simple.el (shell-command-switch, text-read-only):
14979         * replace.el (occur-mode-map):
14980         * paths.el (rmail-file-name):
14981         * jka-cmpr-hook.el (jka-compr-build-file-regexp):
14982         * find-file.el (ff-special-constructs):
14983         * files.el (file-name-handler-alist):
14984         * composite.el: Purecopy strings.
14986         * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
14988 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
14990         * widget.el (define-widget): Purecopy the docstring.
14991         * international/mule-cmds.el (charset): Do not purecopy the
14992         docstring here, define-widget does it.
14994         * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
14995         * textmodes/bibtex-style.el (auto-mode-alist):
14996         * progmodes/inf-lisp.el (inferior-lisp-prompt):
14997         * progmodes/compile.el (compile-command):
14998         * language/korea-util.el (default-korean-keyboard):
14999         * international/mule-conf.el (file-coding-system-alist):
15000         * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
15001         * tooltip.el (tooltip-frame-parameters):
15002         * newcomment.el (comment-end, comment-padding):
15003         * dired.el (dired-trivial-filenames):
15004         * comint.el (comint-file-name-prefix): Purecopy initial values.
15006 2009-11-11  Michael Albinus  <michael.albinus@gmx.de>
15008         * net/tramp.el (tramp-advice-minibuffer-electric-separator)
15009         (tramp-advice-minibuffer-electric-tilde): Unload advices via
15010         `tramp-unload'.
15011         (tramp-advice-make-auto-save-file-name)
15012         (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
15013         after removing the advice.
15015 2009-11-11  Dan Nicolaescu  <dann@ics.uci.edu>
15017         * progmodes/grep.el (grep-regexp-alist):
15018         * international/mule-cmds.el (iso-2022-control-alist):
15019         * emacs-lisp/timer.el (timer-duration-words):
15020         * subr.el (version-separator, version-regexp-alist):
15021         * minibuffer.el (completion-styles-alist):
15022         * faces.el (face-attribute-name-alist, list-faces-sample-text):
15023         Change defvars to defconsts.
15025         * Makefile.in (ELCFILES): Add international/mule-conf.elc.
15026         * loadup.el ("international/mule-conf"): Load the byte compiled version.
15027         * international/mule-conf.el: Allow to be byte compiled.
15029         * international/mule.el (define-charset): Purecopy props.
15030         (load-with-code-conversion): Purecopy doc string and file name.
15031         (put-charset-property): Purecopy strings.
15032         (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
15034         * international/mule-cmds.el (register-input-method): Purecopy arguments.
15035         (define-char-code-property): Correctly purecopy the table.
15037         * international/ccl.el (define-ccl-program): Purecopy the docstring.
15039         * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
15041         * subr.el (add-hook): Purecopy strings.
15042         (eval-after-load): Purecopy load-history-regexp and the form.
15044         * custom.el (custom-declare-group): Purecopy load-file-name.
15046         * subr.el (menu-bar-separator): New defconst.
15047         * net/eudc.el (eudc-tools-menu):
15048         * international/mule-cmds.el (set-coding-system-map)
15049         (mule-menu-keymap):
15050         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15051         * vc-hooks.el (vc-menu-map):
15052         * replace.el (occur-mode-map):
15053         * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
15054         (menu-bar-edit-menu, menu-bar-goto-menu)
15055         (menu-bar-custom-menu, menu-bar-showhide-menu)
15056         (menu-bar-options-menu, menu-bar-tools-menu)
15057         (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
15058         (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
15059         (menu-bar-help-menu):
15060         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
15061         * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
15063         * term/x-win.el (x-gtk-stock-map):
15064         * progmodes/vera-mode.el (auto-mode-alist):
15065         * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
15066         (inferior-lisp-program, inferior-lisp-load-command):
15067         * progmodes/hideshow.el (hs-special-modes-alist):
15068         * progmodes/gud.el (same-window-regexps):
15069         * progmodes/grep.el (grep-program, find-program, xargs-program):
15070         * net/telnet.el (same-window-regexps):
15071         * net/rlogin.el (same-window-regexps):
15072         * language/ethiopic.el (font-ccl-encoder-alist):
15073         * vc-sccs.el (vc-sccs-master-templates):
15074         * vc-rcs.el (vc-rcs-master-templates):
15075         * subr.el (cl-assertion-failed):
15076         * simple.el (next-error-overlay-arrow-position):
15077         * lpr.el (lpr-command):
15078         * locate.el (locate-ls-subdir-switches):
15079         * info.el (same-window-regexps, info)
15080         (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
15081         * image-mode.el (image-mode, auto-mode-alist):
15082         * hippie-exp.el (hippie-expand-ignore-buffers):
15083         * format.el (format-alist):
15084         * find-dired.el (find-ls-subdir-switches, find-grep-options)
15085         (find-name-arg):
15086         * facemenu.el (facemenu-keybindings):
15087         * dired.el (dired-listing-switches, dired-chown-program):
15088         * diff.el (diff-switches, diff-command):
15089         * cus-edit.el (same-window-regexps):
15090         * bindings.el (mode-line-mule-info)
15091         (mode-line-buffer-identification): Purecopy strings.
15093 2009-11-11  Juri Linkov  <juri@jurta.org>
15095         * simple.el (dired-get-filename) <declare-function>:
15096         Tell the byte-compiler about dired-get-filename.
15097         (shell-command): In Dired mode, get filename from the current line
15098         as the default value.
15100 2009-11-10  Glenn Morris  <rgm@gnu.org>
15102         * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
15103         * calendar/holidays.el, progmodes/cperl-mode.el:
15104         Update x-popup-menu declarations.
15106         * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
15107         (list-load-path-shadows): Use dolist.
15108         (list-load-path-shadows): Use with-current-buffer.
15110 2009-11-10  Juri Linkov  <juri@jurta.org>
15112         * minibuffer.el (read-file-name): Support a list of default values
15113         in `default-filename'.  Use the first file name where only one
15114         element is required.  Doc fix.
15116 2009-11-09  Michael Albinus  <michael.albinus@gmx.de>
15118         * net/dbus.el (dbus-unregister-object): Release service, if no
15119         other method is registered for it.
15121 2009-11-08  Markus Rost  <rost@math.uni-bielefeld.de>
15123         * bookmark.el (bookmark-completing-read): Sort bookmark names if
15124         bookmark-sort-flag is non-nil (Bug#4653).
15126 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
15128         * emulation/cua-base.el: Add CUA property to some CC mode commands
15129         (Bug#4100).
15131 2009-11-08  Kevin Ryde  <user42@zip.com.au>
15133         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
15134         at end of sentence (Bug#4818).
15136 2009-11-08  Jared Finder  <jfinder@crypticstudios.com>
15138         * progmodes/compile.el (compilation-error-regexp-alist-alist):
15139         Handle "see declaration of" MSFT statements (Bug#4100).
15141 2009-11-08  Michael Albinus  <michael.albinus@gmx.de>
15143         * net/tramp.el (tramp-advice-make-auto-save-file-name)
15144         (tramp-advice-file-expand-wildcards): Unload via
15145         `ad-remove-advice'.
15147         * net/trampver.el: Update release number.
15149 2009-11-08  Kevin Ryde  <user42@zip.com.au>
15151         * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
15152         `ad-do-it'.
15154 2009-11-08  Andr  <m00naticus@gmail.com>  (tiny change)
15156         * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
15157         in order to keep context in SELinux.
15159 2009-11-08  Chong Yidong  <cyd@stupidchicken.com>
15161         * dired-aux.el (dired-query): Place cursor in echo area and allow
15162         C-g.
15164         * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
15165         menu item if not on a directory (Bug#4701).
15167 2009-11-07  Michael Albinus  <michael.albinus@gmx.de>
15169         Sync with Tramp 2.1.17.
15171         * net/tramp.el (tramp-handle-copy-directory): Don't use
15172         `file-remote-p' (due to compatibility).
15174         * net/tramp-compat.el (tramp-compat-copy-directory)
15175         (tramp-compat-delete-directory): New defuns.
15177         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
15178         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
15179         Use `tramp-compat-delete-directory'.
15181         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
15182         (tramp-smb-handle-delete-directory):
15183         Use `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
15185         * net/trampver.el: Update release number.
15187 2009-11-07  Chong Yidong  <cyd@stupidchicken.com>
15189         * tar-mode.el (tar-copy): Call write-region on the right buffer
15190         (Bug#4857).
15192         * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
15193         by hand, if necessary (Bug#4878).
15195 2009-11-06  Chong Yidong  <cyd@stupidchicken.com>
15197         * buff-menu.el (Buffer-menu-buffer+size): Use display property to
15198         align size column (Bug#4839).
15200         * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
15201         statement.
15203 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
15205         * progmodes/ld-script.el (auto-mode-alist):
15206         * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
15208         * cus-face.el (custom-declare-face): Purecopy face spec.
15210 2009-11-06  Kenichi Handa  <handa@m17n.org>
15212         * international/uni-bidi.el: Re-generated.
15213         * international/uni-category.el: Re-generated.
15214         * international/uni-combining.el: Re-generated.
15215         * international/uni-mirrored.el: Re-generated.
15217 2009-11-05  Dan Nicolaescu  <dann@ics.uci.edu>
15219         * textmodes/tex-mode.el (tex-alt-dvi-print-command)
15220         (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
15221         (tex-start-options, slitex-run-command, latex-run-command)
15222         (tex-run-command, tex-directory):
15223         * textmodes/ispell.el (ispell-html-skip-alists)
15224         (ispell-tex-skip-alists, ispell-tex-skip-alists):
15225         * textmodes/fill.el (adaptive-fill-first-line-regexp):
15226         (adaptive-fill-regexp):
15227         * textmodes/dns-mode.el (auto-mode-alist):
15228         * progmodes/python.el (interpreter-mode-alist):
15229         * progmodes/etags.el (tags-compression-info-list):
15230         * progmodes/etags.el (tags-file-name):
15231         * net/browse-url.el (browse-url-galeon-program)
15232         (browse-url-firefox-program):
15233         * mail/sendmail.el (mail-signature-file)
15234         (mail-citation-prefix-regexp):
15235         * international/mule-conf.el (eight-bit):
15236         * international/latexenc.el (latex-inputenc-coding-alist):
15237         * international/fontset.el (x-pixel-size-width-font-regexp):
15238         * emacs-lisp/warnings.el (warning-type-format):
15239         * emacs-lisp/trace.el (trace-buffer):
15240         * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
15241         (emacs-lisp-mode-map):
15242         * calendar/holidays.el (holiday-solar-holidays)
15243         (holiday-bahai-holidays, holiday-islamic-holidays)
15244         (holiday-christian-holidays, holiday-hebrew-holidays)
15245         (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
15246         (hebrew-holidays-1, holiday-oriental-holidays)
15247         (holiday-general-holidays):
15248         * x-dnd.el (x-dnd-known-types):
15249         * tool-bar.el (tool-bar):
15250         * startup.el (site-run-file):
15251         * shell.el (shell-dumb-shell-regexp):
15252         * rfn-eshadow.el (file-name-shadow-tty-properties)
15253         (file-name-shadow-properties):
15254         * paths.el (remote-shell-program, news-directory):
15255         * mouse.el ([C-down-mouse-3]):
15256         * menu-bar.el (menu-bar-tools-menu):
15257         * jka-cmpr-hook.el (jka-compr-load-suffixes)
15258         (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
15259         (jka-compr-compression-info-list):
15260         * isearch.el (search-whitespace-regexp):
15261         * image-file.el (image-file-name-extensions):
15262         * find-dired.el (find-ls-option):
15263         * files.el (directory-listing-before-filename-regexp)
15264         (directory-free-space-args, insert-directory-program)
15265         (list-directory-brief-switches, magic-fallback-mode-alist)
15266         (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
15267         (automount-dir-prefix):
15268         * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
15269         (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
15270         (face-font-registry-alternatives, face-font-registry-alternatives)
15271         (face-font-family-alternatives):
15272         * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
15273         (facemenu-foreground-menu, facemenu-face-menu):
15274         * epa-hook.el (epa-file-name-regexp):
15275         * dnd.el (dnd-protocol-alist):
15276         * textmodes/rst.el (auto-mode-alist):
15277         * button.el (default-button): Purecopy strings.
15279 2009-11-06  Glenn Morris  <rgm@gnu.org>
15281         * Makefile.in (ELCFILES): Update.
15283 2009-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
15285         * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
15286         * emacs-lisp/levents.el: Move to obsolete/levents.el.
15288         * nxml/xsd-regexp.el (xsdre-gen-categories):
15289         * nxml/xmltok.el (xmltok-parse-entity):
15290         * nxml/rng-parse.el (rng-parse-validate-file):
15291         * nxml/rng-maint.el (rng-format-manual)
15292         (rng-manual-output-force-new-line):
15293         * nxml/rng-loc.el (rng-save-schema-location-1):
15294         * nxml/rng-cmpct.el (rng-c-parse-file):
15295         * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
15296         * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
15298 2009-11-05  Wilson Snyder  <wsnyder@wsnyder.org>
15300         * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
15301         Remove extra save-excursions and make-variable-buffer-local's.
15302         Suggested by Stefan Monnier.
15304         (verilog-getopt-file, verilog-module-inside-filename-p)
15305         (verilog-set-define): Merge GNU 1.35 and repair changes from
15306         switching to using with-current-buffer.
15308         (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
15309         being treated as a number and confusing AUTORESET.
15310         Reported by Dan Dever.
15312         (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
15313         Add verilog-auto-ignore-concat to fix backward compatibility with
15314         older verilog-modes.  Reported by Dan Katz.
15316         (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
15317         containing closing anchors "...$".
15319         (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
15320         Reported by Wade Smith.
15322         (verilog-batch-execute-func): Comment on function usage.
15324 2009-11-05  Michael McNamara  <mac@mail.brushroad.com>
15326         * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
15327         for labels.
15329         (verilog-label-re, verilog-calc-1): Support proper indent of named
15330         asserts.
15332         (verilog-backward-token, verilog-basic-complete-re)
15333         (verilog-beg-of-statement, verilog-indent-re): Support proper
15334         indent of the assert statement at the beginning of a block of text.
15336         (verilog-beg-block-re, verilog-ovm-begin-re): Support the
15337         `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
15338         tokens as begins.
15340 2009-11-05  Glenn Morris  <rgm@gnu.org>
15342         * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
15343         Emacs 19.  (Bug#1531)
15344         (byte-compile-fix-header): Update for the above change.
15345         Drop test for epoch::version.
15347         * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
15348         * cus-dep.el (custom-make-dependencies):
15349         * finder.el (finder-compile-keywords):
15350         Use autoload-rubric's feature argument.
15352         * calendar/diary-lib.el (top-level): Make load behave more like require.
15354         * vc-git.el (vc-git-stash-map): Move definition before use.
15356 2009-11-04  Dan Nicolaescu  <dann@ics.uci.edu>
15358         * custom.el (custom-declare-group): Purecopy standard-value.
15359         (custom-declare-group): Purecopy custom-prefix.
15361         * international/mule.el (load-with-code-conversion):
15362         Call do-after-load-evaluation unconditionally.
15364         * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
15366 2009-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
15368         * descr-text.el: Require help-mode rather than help-fns (bug#4861).
15370 2009-11-04  Glenn Morris  <rgm@gnu.org>
15372         * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
15373         (byte-compile-compatibility): Remove option.
15374         (byte-compile-close-variables, byte-compile-fix-header)
15375         (byte-compile-insert-header, byte-compile-output-docform)
15376         (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
15377         (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
15378         (byte-compile-list, byte-compile-concat, byte-compile-function-form)
15379         (byte-compile-insert, byte-compile-defun):
15380         Remove support for byte-compile-compatibility and Emacs 18.  (Bug#4571)
15381         (byte-defop-compiler19): Remove.
15382         Without byte-compile-compatibility, the 'emacs19-opcode property is not
15383         used by anything.  Replace all calls with byte-defop-compiler.
15385 2009-11-04  Juri Linkov  <juri@jurta.org>
15387         * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
15388         (menu-bar-options-menu): Don't quote the `prop' arg of
15389         `menu-bar-make-mm-toggle'.
15391 2009-11-04  Juanma Barranquero  <lekktu@gmail.com>
15393         * calendar/calendar.el (cal-loaddefs):
15394         * calendar/diary-lib.el (diary-loaddefs):
15395         * calendar/holidays.el (hol-loaddefs):
15396         * eshell/esh-module.el (esh-groups): Load rather than require.
15398 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15400         * calendar/todo-mode.el (todo-add-category): Don't hardcode
15401         point-min==1.
15402         (todo-top-priorities): Only display-buffer when called interactively.
15403         (todo-item-start): Don't save excursion point.
15404         (todo-item-end): Be slightly more careful.  Add `include-sep' arg.
15405         (todo-insert-item-here, todo-file-item, todo-remove-item):
15406         Adjust uses of todo-item-start and todo-item-end.
15408         * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
15409         (autoload-rubric): Don't use any more.
15411         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
15412         and only put a prop if it is non-nil.
15414 2009-11-03  Juri Linkov  <juri@jurta.org>
15416         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
15417         (menu-bar-options-menu): Fix list quoting (Bug#4429).
15419         * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
15420         and "Menu" to make top-level menu item visually one unit (like
15421         it's done for "Lisp-Interaction", "Emacs-Lisp" and other
15422         multi-word menu items).  Fix :help string for quit-window.
15424 2009-11-03  Glenn Morris  <rgm@gnu.org>
15426         * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
15427         (byte-compile-file-form-define-abbrev-table)
15428         (byte-compile-file-form-custom-declare-variable)
15429         (byte-compile-variable-ref, byte-compile-defvar):
15430         Whether or not a warning is enabled should only affect whether we issue
15431         the warning, not whether or not we collect the relevant data.
15432         Eg warnings can be turned on and off throughout the course of a file.
15434         * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
15435         (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
15437 2009-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
15439         * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
15440         * play/mpuz.el (mpuz-create-buffer):
15441         * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
15442         (lm-print-y,s,noise, lm-print-w0, lm-init):
15443         * play/gomoku.el (gomoku-prompt-for-move):
15444         * play/fortune.el (fortune-in-buffer):
15445         * play/dissociate.el (dissociated-press):
15446         * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
15447         (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
15448         * mail/supercite.el (sc-eref-show):
15449         * mail/smtpmail.el (smtpmail-send-it):
15450         * mail/rmailsum.el (rmail-summary-next-labeled-message)
15451         (rmail-summary-previous-labeled-message, rmail-summary-wipe)
15452         (rmail-summary-undelete-many, rmail-summary-rmail-update)
15453         (rmail-summary-goto-msg, rmail-summary-expunge)
15454         (rmail-summary-get-new-mail, rmail-summary-search-backward)
15455         (rmail-summary-add-label, rmail-summary-output-menu)
15456         (rmail-summary-output-body):
15457         * mail/rfc822.el (rfc822-addresses):
15458         * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
15459         * mail/mailpost.el (post-mail-send-it):
15460         * mail/hashcash.el (hashcash-generate-payment):
15461         * mail/feedmail.el (feedmail-run-the-queue)
15462         (feedmail-queue-send-edit-prompt-help-first)
15463         (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
15464         (feedmail-deduce-address-list):
15465         * eshell/esh-ext.el (eshell-remote-command):
15466         * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
15467         * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
15468         (viper-wildcard-to-regexp, viper-glob-mswindows-files)
15469         (viper-save-string-in-file, viper-valid-marker):
15470         * emulation/viper-keym.el (viper-toggle-key):
15471         * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
15472         (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
15473         (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
15474         * emulation/viper-cmd.el (viper-exec-form-in-vi)
15475         (viper-exec-form-in-emacs, viper-brac-function):
15476         * emulation/viper.el (viper-delocalize-var):
15477         * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
15478         (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
15479         (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
15480         (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
15481         * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
15482         * emulation/edt.el (edt-electric-helpify):
15483         * emulation/cua-rect.el (cua--rectangle-aux-replace):
15484         * emulation/cua-gmrk.el (cua--insert-at-global-mark)
15485         (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
15486         (cua-indent-to-global-mark-column):
15487         * calendar/diary-lib.el (calendar-mark-1):
15488         * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
15489         Use with-current-buffer.
15490         * emulation/viper.el (viper-delocalize-var): Use dolist.
15492 2009-11-03  Chong Yidong  <cyd@stupidchicken.com>
15494         * comint.el (comint-replace-by-expanded-history-before-point):
15495         Replace !! with the previous input string literally (Bug#1795).
15497 2009-11-02  Jay Belanger  <jay.p.belanger@gmail.com>
15499         * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
15500         to be made up of whitespace.
15502 2009-11-02  Chong Yidong  <cyd@stupidchicken.com>
15504         * minibuffer.el (read-file-name): Don't use file dialogs for
15505         remote directories (Bug#99).
15507 2009-11-01  Chong Yidong  <cyd@stupidchicken.com>
15509         * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
15511 2009-11-01  Andreas Schwab  <schwab@linux-m68k.org>
15513         * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
15514         instead of deleting the window or frame.
15516 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
15518         * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
15519         Support face colors.
15521         * textmodes/tex-mode.el (tex-facemenu-add-face-function):
15522         New function.  Support face colors (Bug#1168).
15523         (tex-common-initialization): Use it.
15525         * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
15526         mode allows it (Bug#1168).
15528 2009-10-31  Juri Linkov  <juri@jurta.org>
15530         * facemenu.el (list-colors-display): Don't mark buffer as
15531         modified (Bug#3948).
15533 2009-10-31  Chong Yidong  <cyd@stupidchicken.com>
15535         * international/mule-diag.el (list-character-sets-1):
15536         Minor message fix (Bug#3526).
15538         * progmodes/etags.el (etags-list-tags, etags-tags-apropos):
15539         Fix face property (Bug#4834).
15540         (etags-list-tags, etags-tags-apropos-additional)
15541         (etags-tags-apropos, tags-select-tags-table): Add follow-link
15542         property.
15544         * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
15545         items.
15547 2009-10-31  Stefan Monnier  <monnier@iro.umontreal.ca>
15549         * textmodes/two-column.el (2C-split):
15550         * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
15551         * textmodes/tex-mode.el (tex-set-buffer-directory):
15552         * textmodes/spell.el (spell-region, spell-string):
15553         * textmodes/reftex.el (reftex-erase-buffer):
15554         (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
15555         * textmodes/reftex-toc.el (reftex-toc-promote-action):
15556         * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
15557         (reftex-select-item):
15558         * textmodes/reftex-ref.el (reftex-label-info-update)
15559         (reftex-offer-label-menu):
15560         * textmodes/reftex-index.el (reftex-index-change-entry)
15561         (reftex-index-phrases-info):
15562         * textmodes/reftex-global.el (reftex-create-tags-file)
15563         (reftex-save-all-document-buffers, reftex-ensure-write-access):
15564         * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
15565         (reftex-view-crossref-from-bibtex):
15566         * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
15567         (reftex-extract-bib-entries-from-thebibliography)
15568         (reftex-all-used-citation-keys, reftex-create-bibtex-file):
15569         * textmodes/refbib.el (r2b-capitalize-title):
15570         (r2b-convert-buffer, r2b-help):
15571         * textmodes/page-ext.el (pages-directory)
15572         (pages-directory-goto-with-mouse):
15573         * textmodes/bibtex.el (bibtex-validate-globally):
15574         * textmodes/bib-mode.el (bib-capitalize-title):
15575         * textmodes/artist.el (artist-clear-buffer, artist-system):
15576         * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
15577         (local-set-scheme-interaction-buffer, xscheme-process-filter)
15578         (verify-xscheme-buffer, xscheme-enter-interaction-mode)
15579         (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
15580         (xscheme-send-control-g-interrupt, xscheme-start-process)
15581         (xscheme-process-sentinel, xscheme-cd):
15582         * progmodes/verilog-mode.el (verilog-read-always-signals)
15583         (verilog-set-define, verilog-getopt-file)
15584         (verilog-module-inside-filename-p):
15585         * progmodes/sh-script.el:
15586         * progmodes/python.el (python-pdbtrack-get-source-buffer)
15587         (python-pdbtrack-grub-for-buffer, python-execute-file):
15588         * progmodes/octave-inf.el (inferior-octave):
15589         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
15590         (idlwave-shell-compile-helper-routines, idlwave-set-local)
15591         (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
15592         (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
15593         (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
15594         * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
15595         (idlwave-shell-filter, idlwave-shell-examine-highlight)
15596         (idlwave-shell-sentinel, idlwave-shell-filter-directory)
15597         (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
15598         (idlwave-shell-examine-display, idlwave-shell-run-region)
15599         (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
15600         (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
15601         * progmodes/idlw-help.el (idlwave-help-get-special-help)
15602         (idlwave-help-get-help-buffer):
15603         * progmodes/gud.el (gud-basic-call, gud-find-class)
15604         (gud-tooltip-activate-mouse-motions-if-enabled):
15605         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
15606         * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
15607         (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
15608         (ebrowse-tags-next-file):
15609         * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
15610         (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
15611         (ebnf-eps-finish-and-write):
15612         * progmodes/cpp.el (cpp-edit-save):
15613         * progmodes/cperl-mode.el (cperl-pod-to-manpage):
15614         * progmodes/cc-defs.el (c-emacs-features):
15615         * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
15616         (antlr-directory-dependencies):
15617         * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
15618         (ada-run-application, ada-find-in-src-path, ada-goto-parent)
15619         (ada-find-any-references, ada-make-filename-from-adaname)
15620         (ada-make-body-gnatstub):
15621         * obsolete/rnews.el (news-list-news-groups):
15622         * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
15623         * obsolete/iso-acc.el (iso-acc-minibuf-setup):
15624         * net/rcirc.el (rcirc-debug):
15625         * net/newst-treeview.el (newsticker--treeview-list-add-item)
15626         (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
15627         (newsticker--treeview-list-update-faces, newsticker-treeview-save)
15628         (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
15629         (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
15630         (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
15631         (newsticker--treeview-list-clear-highlight)
15632         (newsticker--treeview-list-update-highlight)
15633         (newsticker--treeview-list-highlight-start)
15634         (newsticker--treeview-tree-update-highlight)
15635         (newsticker--treeview-get-selected-item)
15636         (newsticker-treeview-mark-list-items-old)
15637         (newsticker--treeview-set-current-node):
15638         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
15639         * net/newst-backend.el (newsticker--get-news-by-funcall)
15640         (newsticker--get-news-by-wget, newsticker--image-get)
15641         (newsticker--image-sentinel):
15642         * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
15643         * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
15644         (eudc-ph-close-session):
15645         * net/eudc.el (eudc-save-options):
15646         * language/thai-word.el (thai-update-word-table):
15647         * language/japan-util.el (japanese-string-conversion):
15648         * international/titdic-cnv.el (tsang-quick-converter)
15649         (ziranma-converter, ctlau-converter):
15650         * international/mule-cmds.el (describe-language-environment):
15651         * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
15652         (skkdic-convert-postfix, skkdic-convert-prefix):
15653         (skkdic-convert-okuri-nasi, skkdic-convert):
15654         * emacs-lisp/re-builder.el (reb-update-overlays):
15655         * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
15656         * emacs-lisp/gulp.el (gulp-send-requests):
15657         * emacs-lisp/find-gc.el (trace-call-tree):
15658         * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
15659         (eieio-describe-generic):
15660         * emacs-lisp/eieio-base.el (eieio-persistent-read):
15661         * emacs-lisp/edebug.el (edebug-outside-excursion):
15662         * emacs-lisp/debug.el (debugger-make-xrefs):
15663         * emacs-lisp/cust-print.el (custom-prin1-to-string):
15664         * emacs-lisp/chart.el (chart-new-buffer):
15665         * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
15666         Use with-current-buffer.
15667         * textmodes/artist.el (artist-system): Don't call
15668         copy-sequence on a fresh string.
15669         * progmodes/idlw-shell.el (easymenu setup): Use dolist.
15671 2009-10-31  Stephen Berman  <stephen.berman@gmx.net>
15673         * calendar/todo-mode.el (todo-edit-item): Signal an error if there
15674         is no item to edit.  (Bug#4820)
15675         (todo-top-priorities): Restore point and restore narrowing in Todo
15676         buffer.  (Bug#4820)
15678 2009-10-31  Glenn Morris  <rgm@gnu.org>
15680         * net/ange-ftp.el (top-level): Don't require dired when compiling.
15681         (comint-last-output-start, comint-last-input-start)
15682         (comint-last-input-end): Don't defvar when compiling.
15683         (ange-ftp-process-file): Use bound-and-true-p.
15685         * pcmpl-rpm.el (top-level): Move provide statement to end.
15686         (pcmpl-rpm): Remove unused custom group.
15688         * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
15690         * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
15692         * emacs-lisp/bytecomp.el (byte-compile-warning-types)
15693         (byte-compile-warnings): Add `constants' as an option.
15694         (byte-compile-callargs-warn, byte-compile-arglist-warn)
15695         (display-call-tree): Update for byte-compile-fdefinition possibly
15696         returning `(macro lambda ...)'.  (Bug#4778)
15697         (byte-compile-variable-ref, byte-compile-setq-default):
15698         Respect `constants' member of byte-compile-warnings.
15700 2009-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
15702         * vc-bzr.el (vc-bzr-revision-keywords): New var.
15703         (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
15704         to "submit:".
15706 2009-10-30  Dan Nicolaescu  <dann@ics.uci.edu>
15708         * textmodes/ispell.el (ispell-skip-region-alist):
15709         * international/mule-conf.el (eight-bit):
15710         * international/fontset.el (font-encoding-alist):
15711         * startup.el (pure-space-overflow-message):
15712         * simple.el (overwrite-mode-textual, overwrite-mode-binary):
15713         * paths.el (gnus-nntp-service, rmail-spool-directory)
15714         (term-file-prefix):
15715         * files.el (save-some-buffers-action-alist):
15716         * cmuscheme.el (same-window-buffer-names):
15717         * ielm.el (same-window-buffer-names):
15718         * shell.el (same-window-buffer-names):
15719         * mail/sendmail.el (same-window-buffer-names):
15720         * progmodes/inf-lisp.el (same-window-buffer-names):
15721         * bindings.el (mode-line-client)
15722         (mode-line-column-line-number-mode-map):
15723         * language/tibetan.el (tibetan-precomposition-rule-regexp)
15724         (tibetan-precomposed-regexp): Purecopy string arguments.
15726 2009-10-28  Stefan Monnier  <monnier@iro.umontreal.ca>
15728         * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
15729         (calcDigit-nondigit):
15730         * calc/calc-yank.el (calc-copy-to-buffer):
15731         * calc/calc-units.el (calc-invalidate-units-table):
15732         * calc/calc-trail.el (calc-trail-yank):
15733         * calc/calc-store.el (calc-insert-variables):
15734         * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
15735         * calc/calc-prog.el (calc-read-parse-table):
15736         * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
15737         * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
15738         * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
15739         (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
15740         (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
15741         (calc-graph-name, calc-graph-find-command, calc-graph-view)
15742         (calc-graph-view, calc-gnuplot-command, calc-graph-init):
15743         * calc/calc-ext.el (calc-realign):
15744         * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
15745         (calc-embedded-finish-edit, calc-embedded-make-info)
15746         (calc-embedded-finish-command, calc-embedded-stack-change):
15747         * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
15749         * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
15750         shell-dynamic-complete-filename in preference to
15751         comint-dynamic-complete-filename.
15753         * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
15754         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
15755         Don't consider whether the display supports colors.
15756         (bookmark-import-new-list): Use dolist.
15757         (bookmark-bmenu-mode-map): Move initialization into declaration.
15758         (bookmark-bmenu-list): Use dolist, simplify.
15759         (bookmark-show-all-annotations): Use save-selected-window and dolist.
15760         (menu-bar-final-items): Use push.
15762 2009-10-28  Bernhard Herzog  <bernhard.herzog@intevation.de>  (tiny change)
15764         * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
15765         it works on remote files.
15766         (vc-hg-diff): Don't pass any `--cwd' argument.
15768 2009-10-27  Kevin Ryde  <user42@zip.com.au>
15770         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15771         Use help-xref-info-regexp and help-xref-url-regexp to identify links.
15772         (Further to Bug#3921).
15774 2009-10-27  Michael Albinus  <michael.albinus@gmx.de>
15776         * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
15777         (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
15778         calling `tramp-imap-put-file'.  Add file size to the call.
15779         (tramp-imap-get-file-entries): Compute also user name, file size,
15780         and date.
15781         (tramp-imap-handle-insert-directory): Insert uid and gid.
15782         (tramp-imap-handle-file-attributes): Transform uid and gid
15783         according to `id-format'.
15784         (tramp-imap-put-file): New optional parameter SIZE.  Encode file
15785         size in header X-Size.
15787 2009-10-26  Juanma Barranquero  <lekktu@gmail.com>
15789         * simple.el (transpose-subr): Give clearer error when the mark
15790         is not set.  (Bug#4807)
15792 2009-10-26  Michael Albinus  <michael.albinus@gmx.de>
15794         * net/tramp.el (tramp-perl-file-truename): New defconst.
15795         Perl code contributed by yary <not.com@gmail.com> (tiny change).
15796         (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
15797         Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
15798         (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
15800         * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
15801         Ignore `dired-call-process'.
15802         (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
15804 2009-10-26  Julian Scheid  <julians37@gmail.com>
15806         * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
15807         (tramp-get-remote-readlink): New defun.
15808         (tramp-handle-file-truename): Use it.
15809         (tramp-handle-file-exists-p): Check file-attributes cache, assume
15810         file exists if cache value present.
15811         (tramp-check-cached-permissions): New defun.
15812         (tramp-handle-file-readable-p): Use it.
15813         (tramp-handle-file-writable-p): Likewise.
15814         (tramp-handle-file-executable-p): Likewise.
15815         (tramp-handle-file-name-all-completions): Try using Perl to get
15816         partial completions.  When perl not available, combine `cd' and
15817         `ls' into single remote operation and use shell expansion to get
15818         partial remote directory contents.  Set `file-exists-p' cache for
15819         directory and any files returned by ls.  Change cache handling to
15820         support partial directory contents.  Use error message emitted by
15821         remote `cd' or Perl code for local tramp-error.
15822         (tramp-do-copy-or-rename-file-directly): Avoid separate
15823         tramp-send-command-and-check call.
15824         (tramp-handle-process-file): Merge three remote ops into one.
15825         Do not flush all caches when `process-file-side-effects' is set.
15826         (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
15827         file-attributes shows uid/gid to be set already.
15829 2009-10-26  Dan Nicolaescu  <dann@ics.uci.edu>
15831         * textmodes/tex-mode.el (tex-dvi-view-command)
15832         (tex-show-queue-command, tex-open-quote):
15833         * progmodes/ruby-mode.el (auto-mode-alist)
15834         (interpreter-mode-alist): Purecopy strings.
15836         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
15838         * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
15839         string for the hook, keymap and abbrev table.
15841         * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
15843         * x-dnd.el (x-dnd-xdnd-to-action):
15844         * startup.el (fancy-startup-text, fancy-about-text): Change to
15845         defconst from defvar.
15847         * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
15849         * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
15850         Purecopy initialization strings.
15852         * mail/sendmail.el (mail-header-separator)
15853         (mail-personal-alias-file):
15854         * mail/rmail.el (rmail-default-dont-reply-to-names)
15855         (rmail-ignored-headers, rmail-retry-ignored-headers)
15856         (rmail-highlighted-headers, rmail-secondary-file-directory)
15857         (rmail-secondary-file-regexp):
15858         * files.el (null-device, file-name-invalid-regexp)
15859         (locate-dominating-stop-dir-regexp)
15860         (inhibit-first-line-modes-regexps): Purecopy initialization strings.
15861         (interpreter-mode-alist): Use mapcar instead of mapc.
15863         * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
15865         * bindings.el (mode-line-major-mode-keymap): Purecopy name.
15866         (completion-ignored-extensions):
15867         (debug-ignored-errors): Purecopy strings.
15869 2009-10-26  Stefan Monnier  <monnier@iro.umontreal.ca>
15871         * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
15872         (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
15873         (pcomplete--here): Use push.
15875         * subr.el (all-completions): Declare the 4th arg obsolete.
15877 2009-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
15879         * pcomplete.el (pcomplete-unquote-argument-function): New var.
15880         (pcomplete-unquote-argument): New function.
15881         (pcomplete--common-suffix): Always pay attention to case.
15882         (pcomplete--table-subvert): Quote and unquote the text.
15883         (pcomplete--common-quoted-suffix): New function.
15884         (pcomplete-std-complete): Use it and pcomplete-begin.
15886         * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
15887         we're inside a dedicated or minibuffer window.
15889 2009-10-24  Karl Fogel  <kfogel@red-bean.com>
15891         * bookmark.el: Update documentation, especially documentation
15892         of `bookmark-alist' and of the bookmark file format.
15893         Patch by Drew Adams, with minor tweaks from me.  (Bug#4195)
15895 2009-10-24  Chong Yidong  <cyd@stupidchicken.com>
15897         * mail/emacsbug.el (report-emacs-bug): Clarify that the
15898         keybindings apply to the mail buffer (Bug#4003).  Shrink help
15899         window to buffer.
15901         * whitespace.el (whitespace-mode, whitespace-newline-mode)
15902         (global-whitespace-mode, global-whitespace-newline-mode)
15903         (whitespace-toggle-options, global-whitespace-toggle-options):
15904         Doc fix (Bug#3660).
15906         * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
15907         of xmltok-start before the end tag was inserted (Bug#2840).
15909         * progmodes/sh-script.el (sh-font-lock-paren): Handle case
15910         patterns that are preceded by an open-paren (Bug#1320).
15912 2009-10-24  Sven Joachim  <svenjoac@gmx.de>
15914         * files.el (delete-directory): Delete symlinks to directories with
15915         delete-file (Bug#4739).
15917 2009-10-24  Dan Nicolaescu  <dann@ics.uci.edu>
15919         * vc.el (vc-backend-for-registration): Rename from
15920         vc-get-backend-for-registration.  Update callers.
15922         * international/mule-cmds.el (set-language-info-alist):
15923         Purecopy lang-env.
15924         (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
15925         (charset): Purecopy the name.
15926         (define-char-code-property): Purecopy string arguments.
15928         * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
15929         Purecopy string arguments.
15931         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
15932         * ediff-hook.el (menu-bar-ediff-menu):
15933         * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
15934         * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
15936 2009-10-24  Glenn Morris  <rgm@gnu.org>
15938         * comint.el (comint-dynamic-list-completions):
15939         * term.el (term-dynamic-list-completions): Use choose-completion rather
15940         than obsolete alias mouse-choose-completion.
15942         * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
15943         file-cache-choose-completion.
15944         (file-cache-choose-completion): Handle an optional event argument.
15945         (file-cache-mouse-choose-completion): Make it an obsolete alias.
15947         * progmodes/octave-mod.el (octave-complete-symbol):
15948         Use choose-completion if mouse-choose-completion is ever removed.
15950         * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
15951         use.
15953         * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
15954         compiler.
15956         * vc-hooks.el (vc-responsible-backend): Fix declaration.
15958 2009-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
15960         * minibuffer.el (completion--embedded-envvar-table): Fix last change.
15961         Ignore `pred' now that we receive one.
15962         Handle test-completion specially.
15964 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
15966         * vc.el (vc-responsible-backend): Throw an error if not backend is
15967         found.  Remove the REGISTER argument.  Move the code dealing with
15968         REGISTER ...
15969         (vc-get-backend-for-registration): ... here.  New function.
15970         (vc-deduce-fileset): Call vc-get-backend-for-registration instead
15971         of vc-responsible-backend, pass the file name instead of the
15972         directory name.
15974 2009-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
15976         * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
15977         New funs.
15978         (pcomplete-std-complete): Use them.  Obey pcomplete-termination-string.
15979         (pcomplete-comint-setup): Don't modify a global var via
15980         accidental side-effects.
15981         (pcomplete-shell-setup): Adjust call accordingly.
15982         (pcomplete-parse-comint-arguments): Use push.
15984 2009-10-23  Chong Yidong  <cyd@stupidchicken.com>
15986         * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
15987         Allow uncapitalized info node names (Bug#3921).
15989         * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
15990         to the DEBUG file (Bug#3781).
15992 2009-10-23  Jari Aalto  <jari.aalto@cante.net>
15994         * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
15995         dictionary entry (Bug#4579).
15997 2009-10-23  Michael Albinus  <michael.albinus@gmx.de>
15999         * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
16000         from `rfn-eshadow-update-overlay-hook' when unloading.
16001         (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
16002         "rsyncc".  Adjust doc string.
16003         (tramp-temp-buffer-file-name): New buffer-local defvar.
16004         (tramp-handle-insert-file-contents, tramp-handle-write-region):
16005         Keep temporary file when indicated by method ("rsync" and
16006         "rsyncc").
16007         (tramp-handle-write-region): Handle APPEND.
16008         (tramp-delete-temp-file-function): New defun.  Added to
16009         `kill-buffer-hook'.
16011 2009-10-23  Juanma Barranquero  <lekktu@gmail.com>
16013         * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
16015 2009-10-23  Dan Nicolaescu  <dann@ics.uci.edu>
16017         * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
16018         (color-name-rgb-alist, tty-standard-colors)
16019         (tty-color-mode-alist): Change to defconst.
16021         * simple.el (mark-inactive): Purecopy message.
16023         * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
16024         (global-map, yank-menu):
16025         * textmodes/ispell.el (ispell-menu-map):
16026         * net/eudc.el (eudc-tools-menu):
16027         * international/mule-cmds.el (describe-language-environment-map)
16028         (setup-language-environment-map, set-coding-system-map)
16029         (mule-menu-keymap):
16030         * vc-hooks.el (vc-menu-entry, vc-menu-map):
16031         * replace.el (occur-mode-map):
16032         * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
16034 2009-10-23  Jay Belanger  <jay.p.belanger@gmail.com>
16036         * calc/calc.el (math-read-number, math-read-number-simple):
16037         Use `save-match-data'.
16039 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16041         * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
16042         rather than fiddling with global-map bindings, since it should only
16043         affect per-terminal settings.
16044         See http://bugs.gentoo.org/show_bug.cgi?id=289709.
16046         * minibuffer.el (completion-table-with-terminator): Allow to specify
16047         the terminator-regexp.
16049         * simple.el (switch-to-completions): Look for *Completions* in other
16050         frames as well.
16052         * pcomplete.el: Allow the use of completion-tables.
16053         (pcomplete-std-complete): New command.
16054         (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
16055         (pcomplete--here): Use a function for `form' rather than an expression,
16056         so it can be byte-compiled.
16057         (pcomplete-here, pcomplete-here*): Adjust accordingly.
16058         Add edebug declaration.
16059         (pcomplete-show-completions): Remove unused var `curbuf'.
16060         (pcomplete-do-complete, pcomplete-stub):
16061         Don't assume `completions' is a list of strings any more.
16063 2009-10-22  Juanma Barranquero  <lekktu@gmail.com>
16065         * find-dired.el (find-name-arg): Fix typo in docstring.
16067 2009-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
16069         * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
16070         (pcmpl-linux-fs-types): Same, and update to new modules layout.
16072         * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
16073         pcomplete-entries.
16075         * comint.el (comint-read-input-ring, comint-write-input-ring)
16076         (comint-substitute-in-file-name)
16077         (comint-dynamic-complete-as-filename)
16078         (comint-dynamic-simple-complete)
16079         (comint-dynamic-list-filename-completions)
16080         (comint-dynamic-list-completions)
16081         (comint-redirect-results-list-from-process): Minor simplifications.
16083 2009-10-21  Kevin Ryde  <user42@zip.com.au>
16085         * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
16086         When inserting ";;; Code" put it before any ";;;###autoload" cookie on
16087         the first form.  And insert a blank line after ";;; Code" since
16088         that's usual style.  (Bug#4612)
16090         * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
16092 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16094         * minibuffer.el (completion-table-with-terminator): Properly implement
16095         boundaries, in case `terminator' appears in the suffix.
16096         (completion--embedded-envvar-table): Don't return boundaries if
16097         there's no valid completion.  Simplify.
16098         (completion-file-name-table): New completion table extracted from
16099         completion--file-name-table.
16100         (completion--file-name-table): Use it.
16101         (read-file-name-predicate): Declare obsolete.
16102         (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
16103         * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
16104         completion-file-name-table, and use the `pred' argument.
16105         * files.el (locate-file-completion-table): Use the `pred' arg rather
16106         than read-file-name-predicate.
16107         (abbreviate-file-name): Use \` rather than ^ for BOS.
16109 2009-10-21  Dan Nicolaescu  <dann@ics.uci.edu>
16111         * vc.el (vc-deduce-fileset): Undo previous change, do not tell
16112         vc-responsible-backend to register, it causes problems.
16114 2009-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
16116         * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
16118 2009-10-21  Michael Albinus  <michael.albinus@gmx.de>
16120         * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
16121         (tramp-smb-handle-file-attributes): Use it.
16122         (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
16123         (tramp-smb-handle-insert-directory): Use `mapc' rather than
16124         `mapcar'.  Use `tramp-smb-get-stat-capability'.
16125         Add `dired-filename' text properties.
16126         (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
16127         (tramp-smb-maybe-open-connection): Simplify check for smbclient
16128         version.
16130 2009-10-20  Stefan Monnier  <monnier@iro.umontreal.ca>
16132         * subr.el (read-key-delay): Reduce to 0.01.
16133         (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
16134         (bug#4751).
16136 2009-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
16138         * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
16140         * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
16141         (Info-menu): Remove unused vars `last' and `completions'.
16142         (Info-index-nodes): Remove unused var `node'.
16144         * info.el (Info-complete-menu-item): Use complete-with-action.
16146 2009-10-19  Dan Nicolaescu  <dann@ics.uci.edu>
16148         Make vc-annotate work through copies and renames.
16149         * vc-annotate.el (vc-annotate-extract-revision-at-line):
16150         Return the file name too.
16151         (vc-annotate-revision-at-line)
16152         (vc-annotate-find-revision-at-line)
16153         (vc-annotate-revision-previous-to-line)
16154         (vc-annotate-show-log-revision-at-line): Update to get the file
16155         name from vc-annotate-extract-revision-at-line.
16156         (vc-annotate-show-diff-revision-at-line-internal): Change the
16157         argument to mean whether to show a file diff or not.  Get the file
16158         name from vc-annotate-extract-revision-at-line.
16159         (vc-annotate-show-diff-revision-at-line):
16160         Update vc-annotate-show-diff-revision-at-line call.
16161         (vc-annotate-warp-revision): Add an optional file argument.
16163         * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
16164         (vc-git-annotate-extract-revision-at-line): Also return the file
16165         name if found.
16167         * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
16168         command.  Remove unused code.
16169         (vc-hg-annotate-re): Update to match --follow output.
16170         (vc-hg-annotate-extract-revision-at-line): Also return the file
16171         name if found.
16173         * vc.el: Update annotate-extract-revision-at-line documentation.
16175 2009-10-18  Kevin Ryde  <user42@zip.com.au>
16177         * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
16178         re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
16180         * net/browse-url.el (browse-url): Identify alist with "consp and
16181         not functionp" and let all other things go down the `apply' leg,
16182         as suggested by Stefan.  (Further to bug#4531.)
16184 2009-10-18  Chong Yidong  <cyd@stupidchicken.com>
16186         * minibuffer.el (read-file-name): Check for repeat before putting
16187         a default argument in file-name-history (Bug#4657).
16189         * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
16190         read syntax (Bug#4737).
16192         * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
16194 2009-10-18  Aaron S. Hawley  <aaron.s.hawley@gmail.com>
16196         * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
16197         (html-tag-alist, html-tag-help): Add descriptions for undocumented
16198         entries and make note of obsolete tags.
16200 2009-10-18  Stefan Monnier  <monnier@iro.umontreal.ca>
16202         * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
16204 2009-10-18  Glenn Morris  <rgm@gnu.org>
16206         * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
16207         grep, so that binary files (eg international/uni-bidi.el) can match.
16208         Remove test for "UnicodeData" files, since it is hopefully unnecessary
16209         now, and in any case the file header format has changed.
16211 2009-10-17  Glenn Morris  <rgm@gnu.org>
16213         * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
16214         (flyspell-get-word, flyspell-large-region)
16215         (flyspell-auto-correct-previous-word): Doc/error message fixes.
16217 2009-10-17  Chong Yidong  <cyd@stupidchicken.com>
16219         * Makefile.in (ELCFILES): Add ede/shell.
16221 2009-10-17  Dan Nicolaescu  <dann@ics.uci.edu>
16223         * term/common-win.el (x-colors): Purecopy it.
16225 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16227         * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
16228         permissive for when the buffer is empty.
16229         (tar-header-block-tokenize): Decode the username and groupname.
16230         (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
16232 2009-10-17  Eric Ludlam  <zappo@gnu.org>
16234         * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
16235         contains multibyte characters, choose first applicable coding
16236         system automatically.
16238 2009-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
16240         * international/mule-cmds.el (select-safe-coding-system): If the file
16241         has a coding cookie, use it regardless of any other setting (bug#4712).
16243 2009-10-17  Glenn Morris  <rgm@gnu.org>
16245         * foldout.el (foldout-mouse-swallow-events):
16246         * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
16248         * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
16249         (dired-keep-marker-copy, dired-keep-marker-hardlink)
16250         (dired-keep-marker-symlink, dired-dwim-target)
16251         (dired-copy-preserve-time): Do not autoload these defcustoms.
16253         * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
16254         messages from messing up the file coding.  (Bug#4623)
16256 2009-10-17  Jari Aalto  <jari.aalto@cante.net>
16258         * textmodes/ispell.el (ispell-get-decoded-string): Give an error
16259         if no match is found for the current dictionary.  (Bug#4578)
16261         * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
16262         optional, since that is how it is documented, and this is often called
16263         with a nil argument.  (Bug#4577)
16264         (flyspell-external-point-words, flyspell-auto-correct-word)
16265         (flyspell-correct-word-before-point, flyspell-word-search-forward)
16266         (flyspell-word-search-backward): Remove nil argument in calls to
16267         flyspell-get-word, since it is not needed now.
16269 2009-10-17  Ulrich Mueller  <ulm@gentoo.org>
16271         * play/doctor.el (doctor-adverbp): Exclude some nouns.  (Bug#4565)
16273 2009-10-16  Glenn Morris  <rgm@gnu.org>
16275         * net/rcirc.el (rcirc-authenticate): Simplify previous change.
16277 2009-10-16  Toru TSUNEYOSHI  <t_tuneyosi@hotmail.com>
16279         * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
16280         (ange-ftp-file-size): New function.
16281         (ange-ftp-file-attributes): Use it.
16283 2009-10-16  Michael Albinus  <michael.albinus@gmx.de>
16285         * net/tramp-smb.el (tramp-smb-version): New defvar.
16286         (tramp-smb-maybe-open-connection): Use it, in order to avoid
16287         repeated checks.
16289 2009-10-16  Glenn Morris  <rgm@gnu.org>
16291         * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
16292         Maybe copy some custom properties from old to new name.  (Bug#4706)
16294 2009-10-16  Juanma Barranquero  <lekktu@gmail.com>
16296         * subr.el (error, sit-for, start-process-shell-command)
16297         (start-file-process-shell-command): Set the calling convention
16298         after the function definition.
16300 2009-10-16  Stefan Monnier  <monnier@iro.umontreal.ca>
16302         * subr.el (error, sit-for, start-process-shell-command)
16303         (start-file-process-shell-command): Use the new
16304         set-advertised-calling-convention feature.
16306 2009-10-16  Taichi Kawabata  <kawabata.taichi@gmail.com>
16308         * international/ucs-normalize.el (ucs-normalize-version):
16309         Change to 1.2.
16310         (check-range): Adjust for Unicode 5.2.
16312 2009-10-15  Juri Linkov  <juri@jurta.org>
16314         * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
16315         to the `menu-item' format.
16317 2009-10-15  Michael Albinus  <michael.albinus@gmx.de>
16319         * net/tramp.el (tramp-replace-environment-variables): Do not fail
16320         if the environment variable does not exist.
16322         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16323         (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
16324         parameter.
16325         (tramp-smb-handle-add-name-to-file)
16326         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16327         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16328         (tramp-smb-handle-file-attributes)
16329         (tramp-smb-do-file-attributes-with-stat)
16330         (tramp-smb-handle-file-local-copy)
16331         (tramp-smb-handle-insert-directory)
16332         (tramp-smb-handle-make-directory)
16333         (tramp-smb-handle-make-directory-internal)
16334         (tramp-smb-handle-make-symbolic-link)
16335         (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
16336         (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
16337         (tramp-smb-maybe-open-connection): Apply the changed parameters.
16338         (tramp-smb-read-file-entry): Read Disk names in compressed format.
16339         Handle long file names.
16340         (tramp-smb-get-cifs-capabilities): Check, whether the connection
16341         process is running.
16342         (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
16343         Read share names with "-g" option.
16345 2009-10-15  Ryan Yeske  <rcyeske@gmail.com>
16347         * net/rcirc.el (rcirc-view-log-file): New command.
16348         (rcirc-track-minor-mode-map): Remove C-c ` binding.
16349         (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
16350         specified.
16352 2009-10-15  Glenn Morris  <rgm@gnu.org>
16354         * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
16355         from the second command-line argument.
16356         * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
16357         ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
16358         ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
16359         w32-batch-update-autoloads.
16360         * emacs-lisp/autoload.el (autoload-make-program): New variable.
16361         (batch-update-autoloads): Handle autoload-excludes on windows-nt.
16363         * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
16364         the headers cannot be located.  Simplify, subtracting superflous
16365         save-excursions.
16367 2009-10-15  Stefan Monnier  <monnier@iro.umontreal.ca>
16369         Replace completion-base-size by completion-base-position to fix bugs
16370         such as (bug#4699).
16371         * simple.el (completion-base-position): New var.
16372         (completion-base-size): Mark as obsolete.
16373         (choose-completion): Make it work for mouse events as well.
16374         Pass the new base-position to choose-completion-string.
16375         (choose-completion-guess-base-position): New function, extracted from
16376         choose-completion-delete-max-match.
16377         (choose-completion-delete-max-match): Use it.  Make obsolete.
16378         (choose-completion-string): Use the new base-position info.
16379         (completion-root-regexp): Delete.
16380         (completion-setup-function): Preserve completion-base-position.
16381         Eliminate obsolete base-size manipulation.
16382         * minibuffer.el (display-completion-list): Don't mess with base-size.
16383         (minibuffer-completion-help): Set completion-base-position instead.
16384         * mouse.el (mouse-choose-completion): Redefine as a mere alias to
16385         choose-completion.
16386         * textmodes/bibtex.el (bibtex-complete):
16387         * emacs-lisp/crm.el (crm--choose-completion-string):
16388         Adjust to new calling convention.
16389         * complete.el (partial-completion-mode): Use minibufferp to avoid
16390         bumping into incompatible change to choose-completion-string-functions.
16391         * ido.el (ido-choose-completion-string): Make its calling convention
16392         more permissive.
16393         * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
16394         base-size manipulation.
16395         (comint-dynamic-list-input-ring): Use dotimes and push.
16396         * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
16397         fundamental-mode.  Use `or'.
16399 2009-10-14  Juri Linkov  <juri@jurta.org>
16401         * misearch.el (multi-isearch-next-buffer-from-list)
16402         (multi-isearch-next-file-buffer-from-list): Doc fix.  (Bug#4723)
16404 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16406         * Makefile.in (compile-onefile): Load `bytecomp' rather than
16407         `bytecomp.el'.
16409         * minibuffer.el (completion-pcm--merge-completions): Make sure the
16410         string we return is all made up of text from the completions rather
16411         than part from the completions and part from the input (bug#4219).
16413         * ido.el (ido-everywhere): Use define-minor-mode.
16415         * buff-menu.el (list-buffers, ctl-x-map):
16416         Mark the entry points with ;;;###autoload cookies.
16418 2009-10-14  Dan Nicolaescu  <dann@ics.uci.edu>
16420         * vc-git.el (vc-git-dir-extra-headers): Set the branch name
16421         correctly in the detached head case.
16422         (vc-git-print-log): Remove unused binding.
16424         * vc.el (vc-responsible-backend): When a directory is passed for
16425         for registration create a VC repository if no backend is
16426         responsible for the directory argument.
16427         (vc-deduce-fileset): Tell vc-responsible-backend to register.
16429         * vc.el: Move comments about RCS and SCCS ...
16430         * vc-rcs.el:
16431         * vc-sccs.el: ... here, respectively.
16433 2009-10-14  Stefan Monnier  <monnier@iro.umontreal.ca>
16435         * minibuffer.el (completion--file-name-table): Return nil if there's
16436         no file completion, even if substitute-in-file-name changed
16437         the string (bug#4708).
16439 2009-10-13  Juri Linkov  <juri@jurta.org>
16441         * files-x.el (read-file-local-variable-value): Don't filter out
16442         minor modes from mode name completion (bug#4664).
16444 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
16446         * international/mule-cmds.el (ucs-names): Remove exclusion of
16447         "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
16449 2009-10-13  Kenichi Handa  <handa@m17n.org>
16451         * international/uni-name.el: Regenerated.
16453 2009-10-13  Juanma Barranquero  <lekktu@gmail.com>
16455         * bs.el (bs-mode): Fix last change.  (`revert-buffer-function'
16456         should be automatically buffer-local, but isn't.)
16458 2009-10-12  Sam Steingold  <sds@gnu.org>
16460         * progmodes/compile.el (compilation-next-error-function): Fix the
16461         timestamps if the buffer has been visited before.
16462         (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
16463         non-anchored patterns, like the perl one (bug#3928).
16465 2009-10-12  Glenn Morris  <rgm@gnu.org>
16467         * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
16468         Let-bind `size'.
16470 2009-10-12  Juanma Barranquero  <lekktu@gmail.com>
16472         * proced.el (proced-unload-function): New function.
16474         * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
16475         (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
16476         Doc fix.
16478         * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
16480 2009-10-11  Juri Linkov  <juri@jurta.org>
16482         * files-x.el (read-file-local-variable-value):
16483         Provide default value only for bound variables (bug#4664).
16485 2009-10-11  Michael Albinus  <michael.albinus@gmx.de>
16487         * net/tramp.el (tramp-local-host-p): Function shall return nil for
16488         connection methods like smb.
16490         * net/tramp-cache.el (tramp-flush-connection-property): The hash
16491         can be empty.
16493         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16494         (tramp-smb-file-name-handler-alist): Add handlers for
16495         `add-name-to-file', `make-symbolic-link'.
16496         (tramp-smb-handle-add-name-to-file)
16497         (tramp-smb-do-file-attributes-with-stat)
16498         (tramp-smb-handle-make-symbolic-link)
16499         (tramp-smb-get-cifs-capabilities): New defuns.
16500         (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
16501         (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
16502         (tramp-smb-handle-file-local-copy)
16503         (tramp-smb-handle-make-directory-internal)
16504         (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
16505         The file name syntax depends on cifs capabilities.
16506         (tramp-smb-handle-file-attributes):
16507         Call `tramp-smb-do-file-attributes-with-stat' if possible.
16508         (tramp-smb-handle-insert-directory): Use posix attributes if possible.
16509         (tramp-smb-handle-set-file-modes): It is applicable for posix only.
16511 2009-10-11  Chong Yidong  <cyd@stupidchicken.com>
16513         * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
16514         (eieio-defclass): Apply deftype handler and setf-method properties
16515         directly.
16516         (eieio-add-new-slot): Avoid union function from cl library.
16517         (eieio--typep): New function.
16518         (eieio-perform-slot-validation): Use it.
16520 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
16522         * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
16523         Update documentation to refer to the variables documented in r1.135.
16524         (Bug#4188)
16526 2009-10-10  Karl Fogel  <kfogel@red-bean.com>
16528         * bookmark.el (Info-suffix-list): Remove this unused variable.
16529         (bookmark-current-point): Remove this obsolete variable.
16530         (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
16531         Adjust for removal of bookmark-current-point.
16533         (bookmarks-already-loaded, bookmark-current-buffer)
16534         (bookmark-yank-point): Document.  (Bug#4188)
16536 2009-10-10  Glenn Morris  <rgm@gnu.org>
16538         * frame.el (frame-height): Doc fix.
16540         * calendar/calendar.el (calendar-split-width-threshold): New option.
16541         (calendar-basic-setup): Use calendar-split-width-threshold.
16543 2009-10-09  Juanma Barranquero  <lekktu@gmail.com>
16545         * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
16546         Ideographic Supplement" range (U+1F200..U+1F2FF).
16548 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
16550         * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
16551         since the list will have been rebuilt anyway.  (Bug#4349)
16553 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
16555         * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
16556         (bookmark-bmenu-execute-deletions): Don't save here, as
16557         bookmark-delete will now do so if necessary.
16558         Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
16559         (Bug#4348)
16561 2009-10-09  Glenn Morris  <rgm@gnu.org>
16563         * mail/emacsbug.el (report-emacs-bug): Also print `features'.
16565 2009-10-09  Karl Fogel  <kfogel@red-bean.com>
16567         * bookmark.el (bookmark-jump): Add new `display-func' parameter.
16568         (bookmark-jump-other-window): Just invoke bookmark-jump with new
16569         argument now, so the two function's behaviors will match.  (Bug#3645)
16571 2009-10-08  Michael Albinus  <michael.albinus@gmx.de>
16573         * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
16574         (tramp-file-name-real-host, tramp-file-name-port):
16575         Apply `save-match-data'.
16577         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
16578         case both directories are remote.
16579         (tramp-smb-handle-expand-file-name): Implement "~" expansion.
16580         (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
16582 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
16584         * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
16586 2009-10-07  Glenn Morris  <rgm@gnu.org>
16588         * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
16589         of concat.
16591 2009-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
16593         * files-x.el (read-file-local-variable): Include some
16594         non-user-variables in the completion table (bug#4664).
16596 2009-10-07  Michael Albinus  <michael.albinus@gmx.de>
16598         * net/tramp-cache.el (tramp-flush-connection-property): Add trace
16599         message.
16601         * net/tramp-smb.el (tramp-smb-errors): Add error messages.
16602         (tramp-smb-file-name-handler-alist): Add handler for
16603         `copy-directory', `expand-file-name', `set-file-modes'.
16604         (tramp-smb-handle-copy-directory)
16605         (tramp-smb-handle-expand-file-name)
16606         (tramp-smb-handle-set-file-modes): New defuns.
16607         (tramp-smb-handle-copy-file): Handle KEEP-DATE.
16608         (tramp-smb-handle-file-attributes): Simplify check for retrieving
16609         entry.
16610         (tramp-smb-handle-insert-directory): Don't flush the cache.
16611         (tramp-smb-maybe-open-connection): Check for samba client and
16612         server versions.
16614 2009-10-07  Eli Zaretskii  <eliz@gnu.org>
16616         * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
16617         to not error out of search for "^lisp=" fails.
16619 2009-10-07  Juanma Barranquero  <lekktu@gmail.com>
16621         * makefile.w32-in (WINS_UPDATES): New macro.
16622         (custom-deps, finder-data, autoloads): Use it.
16624 2009-10-07  Glenn Morris  <rgm@gnu.org>
16626         * Makefile.in (autoloads): Revert previous change.
16627         * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
16628         the list of preloaded files passed on the command-line, get
16629         it from src/Makefile.
16631         * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
16632         show the original buffer rather than a random one.
16634 2009-10-07  Markus Rost  <rost@math.uni-bielefeld.de>
16636         * help.el (describe-no-warranty): Place point in a slightly better
16637         position in the GPLv3 text.
16639 2009-10-06  Sam Steingold  <sds@gnu.org>
16641         * net/tramp-compat.el (tramp-compat-process-running-p): Check that
16642         the comm attribute is present before calling regexp-quote.
16644 2009-10-06  Juanma Barranquero  <lekktu@gmail.com>
16646         * play/animate.el (animate-string): For good effect, make sure
16647         `indent-tabs-mode' and `show-trailing-whitespace' are nil.
16649         * play/animate.el (animate-sequence, animate-birthday-present):
16650         * misc.el (butterfly): Don't set `indent-tabs-mode'.
16652 2009-10-06  Glenn Morris  <rgm@gnu.org>
16654         * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
16656         * emacs-lisp/autoload.el (autoload-excludes): New variable.
16657         (autoload-generate-file-autoloads): Skip files in autoload-excludes.
16658         (batch-update-autoloads): Process a string value of autoload-excludes,
16659         set during the build process.
16660         * Makefile.in (autoloads): Skip preloaded files.  (Bug#4446)
16662         * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
16663         inside with-parsed...  macro so that `v' is defined.
16665         * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
16666         * progmodes/fortran.el (fortran-end-of-block)
16667         (fortran-beginning-of-block):
16668         Also push mark in the macro case.
16670         * emerge.el (emerge-show-file-name):
16671         * calc/calc.el (calc-quit):
16672         * calc/calc-misc.el (calc-big-or-small):
16673         * calc/calc-graph.el (calc-graph-view):
16674         * calc/calc-ext.el (calc-reset):
16675         * calendar/calendar.el (calendar-basic-setup):
16676         Use window-full-height-p.
16678         * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
16679         header we don't understand, don't insert another.  (Bug#4624)
16680         If changing mime charset, insert the new one in the right place.
16682 2009-10-06  Matthew Junker  <matthew.junker@sbcglobal.net>  (tiny change)
16684         * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
16685         (cal-tex-cursor-month): Correctly increment the end date for diary and
16686         holiday listing.  (Bug#4626)
16688 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16690         * help-fns.el (describe-function-1): Don't burp if the function is not
16691         a symbol.
16693 2009-10-05  Juanma Barranquero  <lekktu@gmail.com>
16695         * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
16696         (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
16697         (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
16698         (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
16700         * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
16701         (eieio-default-superclass): Reflow docstrings.
16702         (this, class-option-assoc, defclass, eieio-class-un-autoload)
16703         (eieio-unbind-method-implementations, defmethod)
16704         (eieio-validate-slot-value, eieio-validate-class-slot-value)
16705         (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
16706         (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
16707         (eieio-slot-originating-class-p, eieio-slot-name-index)
16708         (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
16709         (constructor, initialize-instance, no-next-method, object-print)
16710         (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
16711         Fix typos in docstrings.
16712         (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
16713         (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
16714         (next-method-p): Doc fixes.
16715         (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
16716         Fix typos in error messages.
16717         (eieio-defmethod): Fix typo in description of generic method.
16719         * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
16720         (eieio-persistent-save-interactive, slot-missing):
16721         Fix typos in docstrings.
16722         (eieio-instance-inheritor-slot-boundp): Doc fix.
16724         * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
16725         (byte-compile-defmethod-param-convert): Fix typos in docstrings.
16727         * emacs-lisp/eieio-custom.el (eieio-done-customizing)
16728         (eieio-custom-object-apply-reset):
16729         Fix typos in docstrings and error messages.
16731         * emacs-lisp/eieio-datadebug.el (data-debug-show):
16732         Fix typo in docstring.
16734         * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
16735         (eieio-browse-tree): Doc fix.
16736         (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
16737         (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
16738         Fix typos in docstrings.
16740         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
16741         (eieio-speedbar-key-map, eieio-speedbar-create-engine)
16742         (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
16743         (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
16744         Reflow docstrings.
16746 2009-10-05  Dan Nicolaescu  <dann@ics.uci.edu>
16748         * vc-hg.el (log-view-vc-backend): Declare for compiler.
16749         (vc-hg-outgoing-mode, vc-hg-incoming-mode):
16750         Set log-view-vc-backend so that diff can work.
16752         * log-view.el (log-view-diff): Use vc-diff-internal instead of
16753         vc-version-diff.
16754         (vc-diff-internal): Autoload this instead of vc-version-diff.
16756 2009-10-05  Eli Zaretskii  <eliz@gnu.org>
16758         * simple.el (eval-expression): Doc fix.
16760         * progmodes/cwarn.el (cwarn-mode): Doc fix.
16762 2009-10-05  Michael Albinus  <michael.albinus@gmx.de>
16764         * files.el (directory-files-no-dot-files-regexp): New defconst.
16765         (delete-directory): Use it.
16766         (copy-directory): Use it.  Remove parameter PRESERVE-UID-GID.
16768         * net/tramp.el (tramp-verbose): Fix docstring.
16769         (tramp-methods): Add recursive option to `tramp-copy-args'.
16770         Add `tramp-copy-recursive'.  Valid for "rcp", "scp", "scp1", "scp2",
16771         "scp1_old", "scp2_old", "rsync", "rsyncc".
16772         (tramp-default-method): Check also for `auth-source-user-or-password'.
16773         (tramp-file-name-handler-alist, tramp-file-name-for-operation):
16774         Add handler for `copy-directory'.
16775         (tramp-handle-copy-directory): New defun.
16776         (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
16777         (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
16778         Optimize sent command.
16780 2009-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
16782         * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
16783         window if necessary.
16785         * calendar/calendar.el (calendar-basic-setup): Don't call
16786         switch-to-buffer in a dedicated window.
16788 2009-10-05  Karl Fogel  <kfogel@red-bean.com>
16790         * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
16791         don't do anything related to relocating, just return nil.
16792         (bookmark-error-no-filename): New error.
16793         (bookmark-default-handler): Signal `bookmark-error-no-filename' if
16794         bookmark has no file.  Don't even attempt to handle things that
16795         are not files; the whole point of custom handlers is to keep that
16796         knowledge elsewhere anyway.  Tighten some comments.
16797         (bookmark-file-or-variation-thereof): Remove now-unused function.
16798         (bookmark-location): Doc string fix.
16799         (Bug#4250)
16801 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16803         * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
16804         don't use a file dialog, because they usually don't know how to read
16805         a directory target from the user.  (Bug#4230)
16806         Also, make sure the prompt can display directories as well as files.
16808 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16810         * bookmark.el (bookmark-set, bookmark-buffer-name):
16811         Improve doc strings.  (Bug#1193)
16813 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16815         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
16816         (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
16817         (bookmark-get-annotation, bookmark-set-annotation)
16818         (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
16819         (bookmark-set-position, bookmark-get-front-context-string)
16820         (bookmark-set-front-context-string, bookmark-get-rear-context-string)
16821         (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
16822         (bookmark-jump-other-window, bookmark-handle-bookmark)
16823         (bookmark-relocate, bookmark-insert-location, bookmark-rename)
16824         (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
16825         (bookmark-edit-annotation-mode, bookmark-edit-annotation):
16826         Improve doc strings to say whether bookmark can be a string or
16827         a record or both, and make other consistency and clarity fixes.
16828         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
16829         (bookmark-default-annotation-text, bookmark-yank-word)
16830         (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
16831         (bookmark-import-new-list, bookmark-maybe-rename)
16832         (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
16833         (bookmark-bmenu-bookmark): Give these doc strings.
16834         (bookmark-bmenu-check-position): Give this a doc string, but also
16835         add a FIXME comment about how the function may be pointless.
16836         (bookmark-default-handler): Rework doc string and change a
16837         parameter name, to clarify that this takes a bookmark record
16838         not a bookmark name.
16839         (bookmark-set): Change a parameter name to indicate its meaning,
16840         and improve the doc string a bit.
16841         (Bug#4188)
16843 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16845         * bookmark.el (bookmark-alist): Document the new `handler' element
16846         in the param alist.
16847         (bookmark-make-record-function): Adjust documentation for above.
16848         (Bug#4193)
16850 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
16852         * info.el (Info-bookmark-make-record): Document this function.
16853         (Info-bookmark-jump): Document with a doc string, not just a comment.
16854         (Bug#4203)
16856 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
16858         * files.el (copy-directory): New defun.
16860         * dired-aux.el (dired-copy-file-recursive): Use it.
16862 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
16864         * files-x.el (modify-dir-local-variable)
16865         (copy-dir-locals-to-file-locals-prop-line): Fix typos in
16866         docstrings.
16868         * recentf.el (recentf-unload-function): New function.
16870 2009-10-04  Glenn Morris  <rgm@gnu.org>
16872         * window.el (window-full-height-p): Add doc string.
16874 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
16876         * window.el (window-full-height-p): New function.  (Bug#4543)
16878 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
16880         * vc.el: Remove commented out code.
16881         (vc-derived-from-dir-mode): Remove, unused.
16882         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
16884 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
16886         * net/tramp-ftp.el (tramp-ftp-file-name-handler):
16887         Disable `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
16888         there could be recursive loading when `default-directory' is a
16889         remote file name.  (Bug#4614)
16891 2009-10-03  Glenn Morris  <rgm@gnu.org>
16893         * calendar/calendar.el (calendar-basic-setup): Handle the case where
16894         the frame is wide.
16895         (calendar-generate-window): Test for shrinkability rather than width.
16897         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
16898         reusing existing buffers, in case we happen to visit two files with the
16899         same basename.  (Bug#4593)
16901 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
16903         * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
16904         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
16905         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
16906         subdirs of cedet as well.
16907         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
16909 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
16911         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
16912         Obey advertised-signature-table.
16914         * help-fns.el (help-function-arglist): Don't check
16915         advertised-signature-table.
16916         (describe-function-1): Do it here instead so it also applies to subrs.
16918 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
16920         * simple.el (start-file-process): Say in the doc-string, that file
16921         handlers might not support pty association, if PROGRAM is nil.
16923         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
16924         HOST and USER are strings.  They are nil, when there are
16925         incomplete entries in ~/.netrc, for example.
16926         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
16927         root directory ("device busy" error otherwise).
16929         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
16930         Flush file properties of created directory.
16932 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
16934         * makefile.w32-in (WINS_BASIC): Remove cedet.
16935         (WINS_CEDET): Add cedet.
16936         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
16938 2009-10-02  Kevin Ryde  <user42@zip.com.au>
16940         * net/browse-url.el (browse-url): Pass any symbol in
16941         browse-url-browser-function to `apply', since if you've mistakenly put
16942         an unbound symbol then the error is clearer.  (Bug#4531)
16944 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
16946         * allout.el (allout-init, allout-back-to-current-heading)
16947         (allout-beginning-of-current-entry, allout-ascend-to-depth)
16948         (allout-ascend, allout-up-current-level, allout-end-of-level)
16949         (allout-previous-visible-heading, allout-forward-current-level)
16950         (allout-backward-current-level, allout-show-children):
16951         * apropos.el (apropos-describe-plist):
16952         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
16953         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
16954         * completion.el (add-completion, add-permanent-completion):
16955         * descr-text.el (describe-text-category, describe-char):
16956         * desktop.el (desktop-lazy-abort):
16957         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
16958         * dired.el (dired-build-subdir-alist):
16959         * ediff.el (ediff-version):
16960         * elide-head.el (elide-head, elide-head-show):
16961         * emerge.el (emerge-version):
16962         * env.el (getenv):
16963         * face-remap.el (variable-pitch-mode):
16964         * faces.el (describe-face):
16965         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
16966         (dired-at-point):
16967         * files.el (find-file-existing, auto-save-mode):
16968         * font-lock.el (font-lock-fontify-buffer):
16969         * help-fns.el (describe-function, describe-variable)
16970         (describe-syntax, describe-categories):
16971         * help.el (view-lossage, describe-bindings, describe-key)
16972         (describe-mode):
16973         * hexl.el (hexl-current-address):
16974         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
16975         * info.el (Info-goto-emacs-key-command-node):
16976         * log-edit.el (log-edit-insert-cvs-template)
16977         (log-edit-insert-cvs-rcstemplate):
16978         * menu-bar.el (menu-bar-mode):
16979         * mouse.el (mouse-appearance-menu):
16980         * newcomment.el (comment-indent-new-line):
16981         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
16982         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
16983         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
16984         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
16985         * recentf.el (recentf-mode):
16986         * savehist.el (savehist-mode, savehist-save):
16987         * shadowfile.el (shadow-copy-files):
16988         * simple.el (kill-ring-save, next-line, previous-line)
16989         (normal-erase-is-backspace-mode):
16990         * strokes.el (strokes-update-window-configuration)
16991         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
16992         (strokes-xpm-for-stroke):
16993         * time.el (emacs-uptime, emacs-init-time):
16994         * tutorial.el (tutorial--describe-nonstandard-key)
16995         (tutorial--detailed-help):
16996         * type-break.el (type-break-mode)
16997         (type-break-mode-line-message-mode, type-break-query-mode)
16998         (type-break-guesstimate-keystroke-threshold):
16999         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
17000         * version.el (emacs-version):
17001         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
17002         * winner.el (winner-mode):
17003         * calendar/timeclock.el (timeclock-in, timeclock-out)
17004         (timeclock-status-string, timeclock-change)
17005         (timeclock-workday-remaining-string)
17006         (timeclock-workday-elapsed-string)
17007         (timeclock-when-to-leave-string):
17008         * calendar/todo-mode.el (todo-add-category):
17009         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
17010         * emacs-lisp/autoload.el (update-file-autoloads):
17011         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
17012         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
17013         (checkdoc-message-text, checkdoc-defun):
17014         * emacs-lisp/debug.el (debugger-list-functions):
17015         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
17016         * emacs-lisp/eieio-opt.el (eieio-describe-class)
17017         (eieio-describe-generic):
17018         * emacs-lisp/lisp-mnt.el (lm-synopsis):
17019         * emacs-lisp/shadow.el (list-load-path-shadows):
17020         * emulation/cua-base.el (cua-mode):
17021         * emulation/edt.el (edt-set-scroll-margins):
17022         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
17023         (tpu-toggle-regexp, tpu-toggle-search-direction)
17024         (tpu-toggle-rectangle, tpu-toggle-control-keys):
17025         * emulation/tpu-extras.el (tpu-set-scroll-margins):
17026         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
17027         (viper-set-parsing-style-toggling-macro)
17028         (viper-set-emacs-state-searchstyle-macros):
17029         * emulation/viper.el (viper-set-hooks):
17030         * eshell/esh-mode.el (eshell-truncate-buffer):
17031         * international/mule-cmds.el (prefer-coding-system)
17032         (describe-input-method, describe-language-environment):
17033         * international/mule-diag.el (list-character-sets)
17034         (describe-character-set, describe-coding-system)
17035         (describe-fontset, list-fontsets, list-input-methods):
17036         * mail/sendmail.el (mail-signature):
17037         * net/ange-ftp.el (ange-ftp-copy-file):
17038         * net/browse-url.el (browse-url):
17039         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
17040         * net/quickurl.el (quickurl-add-url):
17041         * net/rcirc.el (names, topic):
17042         * net/xesam.el (xesam-mode):
17043         * play/5x5.el (5x5-new-game):
17044         * play/yow.el (apropos-zippy):
17045         * progmodes/ada-mode.el (ada-mode-version):
17046         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
17047         (f90-end-of-block)
17048         (f90-beginning-of-block):
17049         * progmodes/fortran.el (fortran-end-of-block)
17050         (fortran-beginning-of-block):
17051         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
17052         * progmodes/python.el (python-describe-symbol, python-shell):
17053         * term/ns-win.el (ns-print-buffer):
17054         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
17055         * textmodes/flyspell.el (flyspell-mode-on):
17056         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
17057         (pages-directory-for-addresses):
17058         * textmodes/table.el (table-recognize-cell)
17059         (table-query-dimension, table-generate-source)
17060         (table-insert-sequence, table--warn-incompatibility):
17061         * textmodes/tex-mode.el (tex-validate-buffer):
17062         * textmodes/texinfmt.el (texinfmt-version)
17063         (texinfo-format-buffer):
17064         Use `called-interactively-p' instead of `interactive-p'.
17066 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
17068         * image-mode.el (image-toggle-display):
17069         * emacs-lisp/elp.el (elp-instrument-function):
17070         * emacs-lisp/advice.el (ad-make-advised-definition):
17071         * emacs-lisp/easy-mmode.el (define-minor-mode):
17072         * net/browse-url.el (browse-url-maybe-new-window):
17073         * progmodes/sh-script.el (sh-learn-buffer-indent):
17074         Pass new argument 'any to `called-interactively-p'.
17076 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
17078         * international/uni-bidi.el:
17079         * international/uni-category.el:
17080         * international/uni-combining.el:
17081         * international/uni-comment.el:
17082         * international/uni-decimal.el:
17083         * international/uni-decomposition.el:
17084         * international/uni-digit.el:
17085         * international/uni-lowercase.el:
17086         * international/uni-mirrored.el:
17087         * international/uni-name.el:
17088         * international/uni-numeric.el:
17089         * international/uni-old-name.el:
17090         * international/uni-titlecase.el:
17091         * international/uni-uppercase.el:
17092         Regenerate from Unicode 5.2.0 data.
17094 2009-10-01  Glenn Morris  <rgm@gnu.org>
17096         * Makefile.in (ELCFILES): Regenerate.
17098 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17100         * subr.el (interactive-p): Mark obsolete.
17101         (called-interactively-p): Make the optional-ness of `kind' obsolete.
17102         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
17103         advertised-signature-table for subroutines as well.
17105         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
17106         (set-advertised-calling-convention): New function.
17107         (make-obsolete, define-obsolete-function-alias)
17108         (make-obsolete-variable, define-obsolete-variable-alias):
17109         Make the optional-ness of `when' obsolete.
17110         (define-obsolete-face-alias): Make `when' non-optional.
17111         * help-fns.el (help-function-arglist):
17112         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
17113         Use advertised-signature-table.
17115 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
17117         * files.el (delete-directory): New defun.  The original function
17118         in fileio.c has been renamed to `delete-directory-internal'.
17120         * dired.el (dired-delete-file): Call `delete-directory' with
17121         RECURSIVE parameter.
17123         * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
17124         parameter RECURSIVE.  Implementation is missing.
17126         * net/tramp.el (tramp-handle-make-directory): Flush upper
17127         directory's file properties.
17128         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
17129         (tramp-handle-dired-recursive-delete-directory): Flush directory
17130         properties after the remove command only.
17132         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
17133         Handle optional parameter RECURSIVE.
17135         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
17136         Handle optional parameter RECURSIVE.
17138         * net/tramp-smb.el (tramp-smb-errors): Add error message for
17139         connection timeout.
17140         (tramp-smb-handle-delete-directory): Handle optional parameter
17141         RECURSIVE.
17143 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
17145         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
17146         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
17147         (byte-compile-defmacro): Use backquotes.
17149         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
17151         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
17152         has no associated file.
17153         (vc-resynch-buffer): Use vc-dir-buffers.
17155 2009-10-01  Glenn Morris  <rgm@gnu.org>
17157         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
17158         (chart-file-count):
17159         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
17160         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
17161         * emacs-lisp/eieio-opt.el (eieio-describe-class):
17162         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
17163         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
17164         (eieio-copy-parents-into-subclass, make-instance, class-children)
17165         (eieio-generic-form):
17167         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
17168         match-data.  (Bug#4555).
17170         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
17171         rather than parsing it as a regexp.  This relaxes the layout
17172         requirements and makes errors easier to detect.
17173         (check-declare-verify): Check file is regular.
17174         (check-declare-directory): Doc fix.
17175         * subr.el (declare-function): Doc fix.
17177         * ibuffer.el (ibuffer-format-qualifier):
17178         * isearch.el (hi-lock-regexp-okay):
17179         * calc/calc.el (math-zerop):
17180         * mail/uce.el (rmail-msgbeg, rmail-msgend):
17181         * term/w32-win.el (setup-default-fontset, set-fontset-font):
17182         Remove unused declarations.
17184 2009-09-30  Eric Ludlam  <zappo@gnu.org>
17186         * emacs-lisp/eieio.el (boolean-p): Delete.
17188 2009-09-30  Glenn Morris  <rgm@gnu.org>
17190         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
17192         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
17193         filename is not a string.
17195 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
17197         * files.el (safe-local-eval-forms): Fix typo.
17199 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
17201         * vc-hooks.el (vc-dir-buffers): New var.
17202         (vc-state-refresh): New function.
17203         (vc-state): Use it.
17204         (vc-after-save): Always ask the backend to recompute the new state.
17205         Always call vc-dir if necessary, using vc-dir-buffers.
17206         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
17207         Use vc-dir-buffers.
17208         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
17209         (vc-dir-prepare-status-buffer, vc-dir-update)
17210         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
17211         Don't call expand-file-name on default-directory.
17213 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
17215         * speedbar.el (speedbar-item-delete):
17216         * calc/calc-prog.el (calc-kbd-if):
17217         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
17219         * epa.el (epa-key-list-mode-map):
17220         * hi-lock.el (hi-lock-menu): Fix typos in menus.
17222         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
17223         (hs-show-hook): Fix typo in docstring.
17225 2009-09-29  Glenn Morris  <rgm@gnu.org>
17227         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
17228         file-name-nondirectory call preventing location of cedet files.
17229         (check-declare-verify): Use literal search rather than re-search.
17230         Add basic defmethod and defclass, and define-overloadable-function.
17232         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17233         Use tramp-compat-file-attributes rather than nonexistent
17234         tramp-compat-handle-file-attributes.
17236         * Makefile.in (lisptagsfiles4): New.
17237         (AUTOGENEL): Add cedet loaddefs files.
17238         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
17239         (update-elclist, compile-always, backup-compiled-files)
17240         (bootstrap-clean): Add yet another directory level.
17241         (update-elclist): Use LC_COLLATE rather than COLLATE.
17242         (ELCFILES): Update, via `make update-elclist'.
17244 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
17246         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
17247         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
17248         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
17250 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
17252         * Makefile.in (lisptagsfiles3): Define.
17253         (TAGS, TAGS-LISP): Use it.
17254         (update-elclist): Add third directory level to look for elc files.
17255         (compile-always): Likewise.
17256         (backup-compiled-files): Likewise.
17257         (bootstrap-clean): Likewise.
17258         (ELCFILES): Update.
17260 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
17262         * Makefile.in (ELCFILES): Add CEDET files.
17264 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
17266         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
17268         * net/tramp.el (top): Require tramp-imap.
17270         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
17271         Use `tramp-compat-handle-file-attributes'.
17273 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
17275         * net/tramp-imap.el: New package.
17277 2009-09-28  Eric Ludlam  <zappo@gnu.org>
17279         * emacs-lisp/chart.el:
17280         * emacs-lisp/eieio-base.el:
17281         * emacs-lisp/eieio-comp.el:
17282         * emacs-lisp/eieio-custom.el:
17283         * emacs-lisp/eieio-datadebug.el:
17284         * emacs-lisp/eieio-opt.el:
17285         * emacs-lisp/eieio-speedbar.el:
17286         * emacs-lisp/eieio.el: New files.
17288 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
17290         * whitespace.el (whitespace-trailing-regexp)
17291         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
17292         Fix doc string.
17294 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
17296         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
17297         menu.
17299         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
17300         menu-bar-ediff-menu.
17302         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
17303         define-overloadable-function.
17305         * progmodes/autoconf.el: Provide autoconf as well, so that this
17306         file can be `require'd.
17308         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
17310         * emacs-lisp/autoload.el (generated-autoload-feature)
17311         (generated-autoload-load-name): New vars.
17312         (autoload-rubric, autoload-generate-file-autoloads): Use them.
17313         (make-autoload): Recognize define-overloadable-function and
17314         defclass forms (for EIEIO).
17316         * Makefile.in (update-subdirs): Exclude cedet directory.
17318 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
17320         * term/ns-win.el: Don't set the region face background.  (Bug#4381)
17322         * faces.el: Default light-background background for region face to
17323         ns_selection_color under NS.
17325 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
17327         * net/imap-hash.el: New library, see NEWS.
17329         * Makefile.in (ELCFILES): Add imap-hash.el.
17331 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
17333         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
17334         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
17335         * help-macro.el (make-help-screen): Avoid using an ambiguous function
17336         definition where the docstring could be taken for the return value.
17338 2009-09-26  Glenn Morris  <rgm@gnu.org>
17340         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
17341         Add option to only show images below a certain size.
17342         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
17343         save-excursion calls.
17345 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
17347         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
17348         subdirectories) and eieio.
17350 2009-09-26  Alan Mackenzie  <acm@muc.de>
17352         * progmodes/cc-engine.el (c-beginning-of-statement-1):
17353         Correct buggy bracketing.  (Bug#4289)
17355         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
17356         character constants (as case labels).  (Bug#4289)
17358 2009-09-25  Juri Linkov  <juri@jurta.org>
17360         * files.el (safe-local-eval-forms): Allow time-stamp in
17361         before-save-hook (Bug#4554).
17363 2009-09-25  Drew Adams  <drew.adams@oracle.com>
17365         * menu-bar.el (list-buffers-directory): Doc fix.
17367 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
17369         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
17370         Try and avoid copying twice the same paragraph.
17371         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
17372         Remove save-excursion.
17373         (log-edit-changelog-entry): Do it here instead.
17375 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
17377         * bs.el (bs--get-file-name): Use `list-buffers-directory'
17378         when available, instead of hardcoding mode names.  Doc fix.
17380         * menu-bar.el (list-buffers-directory): Add docstring.
17381         Make automatically buffer-local.
17383         * dired.el (dired-mode):
17384         * files.el (cd-absolute):
17385         * pcvs.el (cvs-temp-buffer):
17386         * pcvs-util.el (cvs-get-buffer-create):
17387         * shell.el (shell-mode):
17388         * vc-dir.el (vc-dir-mode):
17389         Don't make `list-buffers-directory' buffer local.
17391 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
17393         * comint.el (comint-exec, comint-run, make-comint):
17394         Doc fixes (Bug#4542).
17396 2009-09-25  Glenn Morris  <rgm@gnu.org>
17398         * mail/rmailmm.el (rmail-mime): New custom group.
17399         Move all defcustoms in this file into this group.
17400         (rmail-mime-media-type-handlers-alist): Revert previous change.
17401         (rmail-mime-show-images): New option.
17402         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
17403         references to it, since it wasn't actually used for anything.
17404         (rmail-mime-insert-image): New function.
17405         (rmail-mime-image): Use rmail-mime-insert-image.
17406         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
17407         obey the value of `rmail-mime-show-images' option.  Print the size of
17408         attachments.
17410 2009-09-25  David Engster  <deng@randomsample.de>
17412         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
17414 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
17416         * whitespace.el: Does not highlight trailing spaces While point is
17417         at end of line.  Does not highligt spaces at beginning of buffer
17418         while point is at beginning of buffer.  Does not highlight spaces
17419         at end of buffer while point is at end of buffer.  (Bug#4177)
17420         New version 12.0.
17421         (whitespace-display-mappings): Adjust initialization.
17422         (whitespace-point, whitespace-font-lock-refontify): New vars.
17423         (whitespace-color-on, whitespace-color-off): Adjust code.
17424         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
17425         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
17426         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
17428 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
17430         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
17432         * textmodes/sgml-mode.el: Remove xml-mode alias.
17434         * files.el (auto-mode-alist, conf-mode-maybe)
17435         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
17437 2009-09-24  Alan Mackenzie  <acm@muc.de>
17439         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
17440         c-forward-conditionals, but it doesn't move point and doesn't set
17441         the mark.
17442         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
17443         (c-down-conditional-with-else, c-backward-conditional)
17444         (c-forward-conditional): Refactor to use c-scan-conditionals.
17446 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
17448         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
17449         (help-default-arg-highlight): Remove.
17450         (help-highlight-arg): New function.
17451         (help-do-arg-highlight): Use it.
17452         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
17454 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17456         * term.el (term-set-scroll-region, term-handle-ansi-escape):
17457         Undo last change, which didn't fix the problem and introduced others.
17459 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
17461         * progmodes/gdb-mi.el: Don't require speedbar.
17462         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
17464 2009-09-24  Glenn Morris  <rgm@gnu.org>
17466         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
17468         * term/ns-win.el (ns-reg-to-script): Define for compiler.
17470         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
17471         there is no newline after the final mime boundary.  (Bug#4539)
17472         Move markers on insertion so that any buttons inserted don't end up in
17473         the next part of a multipart message.
17474         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
17475         (rmail-mime-bulk-handler): Optionally handle images.
17476         (rmail-mime-image): New button action.
17477         (rmail-mime-image-handler): New function.
17478         (rmail-mime-mode): New mode.
17479         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
17481 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
17483         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
17484         than just dropping elements from it (bug#4504).
17486         * term.el (term-set-scroll-region): Don't move cursor any more.
17487         (term-handle-ansi-escape): Call term-goto here instead.
17488         Suggested by Ivan Kanis <apple@kanis.eu>.
17490         * term.el: Require CL.
17491         (term-ansi-reset): New function.
17492         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
17493         (term-handle-colors-array): Simplify.
17495 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
17497         * allout.el (allout-overlay-interior-modification-handler)
17498         (allout-obtain-passphrase):
17499         * epa-file.el (epa-file-write-region):
17500         * ps-print.el (ps-begin-job):
17501         * vc-hooks.el (vc-toggle-read-only):
17502         * vc-rcs.el (vc-rcs-rollback):
17503         * vc-sccs.el (vc-sccs-rollback):
17504         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
17505         (vc-version-diff, vc-revert, vc-rollback):
17506         * wdired.el (wdired-check-kill-buffer):
17507         * emacs-lisp/authors.el (authors):
17508         * net/socks.el (socks-open-connection):
17509         * net/zeroconf.el (zeroconf-service-add-hook):
17510         * obsolete/vc-mcvs.el (vc-mcvs-register):
17511         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
17512         (gdb-select-frame):
17513         * progmodes/grep.el (lgrep, rgrep):
17514         * progmodes/idlw-help.el (idlwave-help-check-locations)
17515         (idlwave-help-html-link, idlwave-help-assistant-open-link):
17516         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
17517         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
17518         (reftex-toc-rename-label): Fix typos in error messages.
17520         * dired-aux.el (dired-do-shell-command): Reflow docstring.
17521         (dired-copy-how-to-fn): Doc fix.
17522         (dired-files-attributes, dired-read-shell-command):
17523         Fix typos in docstrings.
17525         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
17526         (dired-x-find-file-other-window): Reflow docstrings.
17527         (dired-omit-marker-char, dired-read-shell-command)
17528         (dired-x-submit-report): Fix typos in docstrings.
17530         * shell.el (shell-mode-hook):
17531         * view.el (View-scroll-line-forward):
17532         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
17533         Fix typos in docstrings.
17535         * net/dig.el (dig-invoke): Fix typo in docstring.
17536         (query-dig): Reflow docstring.
17538         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
17539         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
17540         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
17541         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
17542         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
17543         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
17544         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
17545         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
17546         (idlwave-completion-map, idlwave-current-indent)
17547         (idlwave-custom-ampersand-surround, idlwave-customize)
17548         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
17549         (idlwave-define-abbrev, idlwave-determine-class-special)
17550         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
17551         (idlwave-end-block-reg, idlwave-end-of-statement)
17552         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
17553         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
17554         (idlwave-explicit-class-listed, idlwave-file-header)
17555         (idlwave-fill-paragraph, idlwave-find-class-definition)
17556         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
17557         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
17558         (idlwave-in-quote, idlwave-indent-action-table)
17559         (idlwave-indent-expand-table, idlwave-indent-line)
17560         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
17561         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
17562         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
17563         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
17564         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
17565         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
17566         (idlwave-outlawed-buffers, idlwave-popup-select)
17567         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
17568         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
17569         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
17570         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
17571         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
17572         (idlwave-statement-type, idlwave-struct-skip)
17573         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
17574         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
17575         (idlwave-what-module-find-class): Fix typos in docstrings.
17576         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
17577         (idlwave-calculate-cont-indent, idlwave-expand-equal)
17578         (idlwave-find-module, idlwave-find-structure-definition)
17579         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
17580         (idlwave-list-load-path-shadows, idlwave-next-statement)
17581         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
17582         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
17583         (idlwave-template): Reflow docstrings.
17585         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
17586         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
17587         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
17588         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
17589         (idlwave-shell-display-line, idlwave-shell-display-wframe)
17590         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
17591         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
17592         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
17593         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
17594         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
17595         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
17596         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
17597         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
17598         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
17599         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
17600         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
17601         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
17602         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
17603         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
17604         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
17605         Fix typos in docstrings.
17606         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
17607         (idlwave-shell-hide-output, idlwave-shell-mode)
17608         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
17609         Reflow docstrings.
17611         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
17613 2009-09-24  Ivan Kanis  <apple@kanis.eu>
17615         * term.el (term-bold-attribute): New var.
17616         (term-handle-colors-array): Use it.
17618 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
17620         * progmodes/gdb-mi.el (gdb-version): New variable.
17621         (gdb-non-stop-handler): Set gdb-version.
17622         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
17623         Condition "--thread" option on gdb-version.
17624         (gdb-invalidate-threads): Remove unused argument.
17626 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
17628         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
17629         to looking-back to avoid ridiculous slow down in large files (bug#4511).
17631 2009-09-23  Glenn Morris  <rgm@gnu.org>
17633         * mail/rmail.el (rmail-reply): Don't try to add a References header when
17634         replying to mail without References or Message-Id.  (Bug#4525)
17636 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
17638         * term/ns-win.el (ns-reg-to-script): New variable.
17640 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
17642         * epg.el (epg-wait-for-status): Preserve existing 'error results.
17644 2009-09-22  Sam Steingold  <sds@gnu.org>
17646         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
17647         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
17648         to 1 because hg returns status 1 when nothing is found.
17649         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
17651 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
17653         * textmodes/fill.el: Convert to utf-8 encoding.
17654         (fill-french-nobreak-p): Remove redundant » and « inherited from our
17655         pre-Unicode days.
17657         * add-log.el (change-log-fill-forward-paragraph): New function.
17658         (change-log-mode): Use it so fill-region DTRT.
17659         Set fill-indent-according-to-mode here rather than in
17660         change-log-fill-paragraph.
17661         (change-log-fill-paragraph): Remove.
17663 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
17665         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
17666         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
17668 2009-09-22  Glenn Morris  <rgm@gnu.org>
17670         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
17671         the scroll-bar scroll the calendar window rather than the buffer.
17673         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
17674         commands that move point (as opposed to scrolling).
17676         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
17678         * emacs-lisp/elint.el (elint): New custom group.
17679         (elint-log-buffer): Make it a defcustom.
17680         (elint-scan-preloaded, elint-ignored-warnings)
17681         (elint-directory-skip-re): New options.
17682         (elint-builtin-variables): Doc fix.
17683         (elint-preloaded-env): New variable.
17684         (elint-unknown-builtin-args): Add an entry for encode-time.
17685         (elint-extra-errors): Make it a variable rather than a constant.
17686         (elint-preloaded-skip-re): New constant.
17687         (elint-directory): Skip files matching elint-directory-skip-re.
17688         (elint-features): New variable, local to linted buffers.
17689         (elint-update-env): Initialize elint-features.  Possibly add
17690         elint-preloaded-env to the buffer's environment.
17691         (elint-get-top-forms): Bind elint-current-pos, for log messages.
17692         Skip quoted forms.
17693         (elint-init-form): New function, extracted from elint-init-env.
17694         Make non-list forms a warning rather than an error.
17695         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
17696         easy-menu-define, put that adds an error-condition, and provide.
17697         When requiring cl, also require cl-macs.  Really require cl, to handle
17698         some cl macros.  Store required libraries in the list elint-features,
17699         so as not to re-load them.  Treat cc-require like require.
17700         (elint-init-env): Call elint-init-form to do the work.
17701         Handle eval-and-compile and such like.
17702         (elint-add-required-env): Do not clear messages.
17703         (elint-special-forms): Add handlers for function, defalias, if, when,
17704         unless, and, or.
17705         (elint-form): Add optional argument to ignore elint-special-forms,
17706         useful to prevent recursive calls from handlers.  Doc fix.
17707         Respect elint-ignored-warnings.
17708         (elint-form): Respect elint-ignored-warnings.
17709         (elint-bound-variable, elint-bound-function): New variables.
17710         (elint-unbound-variable): Respect elint-bound-variable.
17711         (elint-get-args): Respect elint-bound-function.
17712         (elint-check-cond-form): Add some simple handling for (f)boundp and
17713         featurep tests.
17714         (elint-check-defalias-form): New handler.
17715         (elint-check-let-form): Make an empty let a warning rather than an
17716         error.
17717         (elint-check-setq-form): Make an empty setq a warning rather than an
17718         error.  Respect elint-ignored-warnings.
17719         (elint-check-defvar-form): Accept null doc-strings.
17720         (elint-check-conditional-form): New handler.  Does some simple-minded
17721         checking of featurep and (f)boundp tests.
17722         (elint-put-function-args): New function.
17723         (elint-initialize): Use elint-scan-doc-file rather than
17724         elint-find-builtin-variables.  Use elint-put-function-args.
17725         Possibly scan preloaded-file-list.
17726         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
17727         extend to handle functions as well.
17729 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
17731         * linum.el (linum-delete-overlays, linum-update-window):
17732         Do not modify the right margin.  (Bug#3971)
17734 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
17736         * files.el (conf-mode-maybe, magic-fallback-mode-alist):
17737         Use nxml-mode instead of xml-mode.
17739 2009-09-21  Kevin Ryde  <user42@zip.com.au>
17741         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
17743 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
17745         * net/dig.el (dig-mode): Use define-derived-mode.
17747 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
17749         * vc-dispatcher.el (vc-do-command): Return the process object in
17750         the asynchronous case.  Use when instead of if.  Do not run
17751         vc-exec-after to display a message if not enabled.  (Bug#4463)
17753         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
17754         properties to the stash strings.
17755         (vc-git-stash-list): Return a list of strings.
17756         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
17757         (vc-git-stash-show-at-point): New functions.
17758         (vc-git-stash-map): New keymap.
17760         * register.el (ctl-x-r-map): Define the keys here instead of
17761         using autoload.
17763 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
17765         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
17766         list, to workaround performance problem (bug#4485).
17768 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
17770         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
17772 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
17774         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
17775         Document that this option is not recommended to use.
17777 2009-09-19  Glenn Morris  <rgm@gnu.org>
17779         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
17780         variable `var'.
17782         * calc/calc-alg.el (var):
17783         * calc/calcalg2.el (var): Define for compiler.
17785 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
17787         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
17788         Doc fix (Bug#3932).
17790         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
17792         * time-stamp.el (time-stamp-month-dd-yyyy)
17793         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
17794         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
17795         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
17796         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
17797         Remove functions that have been obsolete since 1995 (Bug#4436).
17799         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
17800         indent buffer only if called interactively (Bug#4452).
17802 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
17803             Eli Zaretskii  <eliz@gnu.org>
17805         This fixes bug#4197 (merged to bug#865, though not identical).
17806         * server.el (server-auth-dir): Add docstring note about FAT32.
17807         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
17808         but warn against using them.
17810 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
17812         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
17813         older GDB where there is no has_more field.
17815 2009-09-19  Glenn Morris  <rgm@gnu.org>
17817         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
17819 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
17821         * files.el (auto-mode-alist): Change default for XML files to nXML
17822         mode (Bug#4169).
17824 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
17826         * server.el (server-ensure-safe-dir): Pass 'integer
17827         to `file-attributes', as suggested.
17829 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
17831         * dired-aux.el (dired-query-alist): Remove spurious backslash.
17832         (dired-query): Use read-key.
17834 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
17836         * cus-start.el (ns-use-qd-smoothing): Remove.
17838 2009-09-18  Glenn Morris  <rgm@gnu.org>
17840         * allout.el (top-level): Remove unnecessary progn.
17842         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
17844         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
17845         definition of abbrev table.
17847         * speedbar.el (speedbar-track-mouse):
17848         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
17849         * net/eudc.el (eudc-expand-inline):
17850         * net/newst-backend.el (newsticker--cache-read-feed):
17851         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
17852         condition-case handlers.
17854 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
17856         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
17857         (gdb-var-list): Add an element for has_more field.
17858         (gdb-non-stop-handler): Enable pretty printing for STL containers.
17859         (gdb-var-create-handler, gdb-var-list-children-handler-1)
17860         (gdb-var-update-handler-1): Parse output of dynamic variable
17861         objects (STL containers).
17862         (gdb-var-delete-1): Pass var1 as an explicit second argument.
17863         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
17865         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
17866         gdb-var-list.
17867         (gud-speedbar-buttons): Make node expandable if expression "has more"
17868         children.
17870 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
17872         * startup.el (emacs-quick-startup): Remove variable and all uses.
17873         (command-line): Set `inhibit-x-resources' instead.
17874         (command-line-1): Use `inhibit-x-resources' instead.
17876 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
17878         * subr.el: Fix last change to avoid using the `unless' macro,
17879         which breaks bootstrapping.
17881 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17883         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
17884         extended definitions, in case we reload subr.el after having
17885         loaded CL.
17886         (eval-next-after-load): Mark as obsolete.
17888 2009-09-17  Juri Linkov  <juri@jurta.org>
17890         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
17891         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
17892         (menu-bar-showhide-menu, menu-bar-tools-menu)
17893         (menu-bar-describe-menu, menu-bar-help-menu)
17894         (minibuffer-local-completion-map, minibuffer-local-map):
17895         Fix list quoting.
17897 2009-09-17  Glenn Morris  <rgm@gnu.org>
17899         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
17900         arguments, whether or not it has a handler.
17902         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
17904         * simple.el (hard-newline): Give it a doc-string.
17906         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
17907         (lisp-mode-syntax-table): Give them doc-strings.
17909 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
17911         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
17912         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
17913         (menu-bar-options-menu, menu-bar-showhide-menu)
17914         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
17915         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
17916         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
17917         (menu-bar-options-menu, menu-bar-tools-menu)
17918         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
17919         (menu-bar-help-menu):
17920         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
17921         string arguments.
17923         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
17924         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
17925         calls for the menu names and :help.
17927 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
17929         * mouse.el (minor-mode-menu-from-indicator): Pay attention
17930         to :minor-mode-function (bug#4455).
17932 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
17934         * startup.el (command-line): Initialize the window-system after
17935         processing the command-line.
17937         * textmodes/page.el (what-page): Make sure we don't inf-loop if
17938         page-delimiter matches the empty string.
17940 2009-09-16  Glenn Morris  <rgm@gnu.org>
17942         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
17943         byte-compile-not-obsolete-var.  It's a list now.
17944         (byte-compile-not-obsolete-funcs): New variable.
17945         (byte-compile-warn-obsolete): Don't warn about functions if they are in
17946         byte-compile-not-obsolete-funcs.
17947         (byte-compile-variable-ref, byte-compile-defvar): Update for
17948         byte-compile-not-obsolete-vars name-change and list nature.
17949         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
17950         and variables behind (f)boundp tests.
17951         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
17953 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
17955         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
17957 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17959         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
17960         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
17961         Don't autoload.
17963 2009-09-15  Stephen Eglen  <stephen@gnu.org>
17965         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
17966         the virtual-buffers, use the name of the buffer specified by
17967         find-file-noselect, as the match may be a symlink.  (This was a
17968         problem if the target and the symlink had different names.)
17970 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
17972         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
17974         * desktop.el (desktop-path): Check user-emacs-directory.
17976         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
17978         * loadup.el: Use after-load-functions to GC after loading each file.
17979         Remove the explicit GC calls that used to be sprinkled around.
17981         * subr.el (after-load-functions): New hook.
17982         (do-after-load-evaluation): Run it.  Use string-match-p to detect
17983         `obsolete' packages, rather than painfully extracting the relevant
17984         directory name.
17986 2009-09-15  Glenn Morris  <rgm@gnu.org>
17988         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
17989         free variable `doc'.
17991         * dired.el (dired-mode-map): Add menu entry for async shell command.
17993         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
17994         variables, also consider the .elc files, since the .el files are
17995         normally gzipped (subsequent code locates the .el.gz from the .elc).
17997         * calc/calc-prog.el (arglist): Define for compiler.
17999         * calendar/diary-lib.el (diary-display-function): Change the default to
18000         fancy display.
18001         (body): Define for compiler.
18003         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
18004         (byte-compile-file-form, byte-compile-lambda)
18005         (byte-compile-top-level-body, byte-compile-form)
18006         (byte-compile-variable-ref, byte-compile-setq)
18007         (byte-compile-setq-default, byte-compile-body)
18008         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
18009         (batch-byte-compile): Give some more local variables with common names
18010         a "bytecomp-" prefix to avoid masking warnings about free variables.
18012         * startup.el (command-line-1): Give local variables with common names a
18013         distinguishing prefix, so as not to hide free variable warnings during
18014         bootstrap.
18016         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
18017         clever and add a suffix to make a unique name, just let the user decide
18018         whether or not to overwrite it.  If the input is a directory, write the
18019         default filename to that directory.  (Bug#4388)
18020         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
18021         is a filename-as-a-directory.
18023 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
18025         * textmodes/page.el (what-page): Don't move to beginning of line.
18026         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
18028 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
18030         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
18032 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
18034         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
18035         * help.el (help-for-help-internal): Add purecopy calls for text.
18037         * vc.el (top): print-log method now takes an optional SHORTLOG
18038         argument.  Add a new method: root.
18039         (vc-root-diff, vc-print-root-log): New functions.
18040         (vc-log-short-style): New variable.
18041         (vc-print-log-internal): Add support for showing short logs.
18043         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
18044         vc-print-root-log and vc-print-root-diff.
18046         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
18047         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
18048         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
18049         short logs.
18051         * vc-cvs.el (vc-cvs-print-log):
18052         * vc-mtn.el (vc-mtn-print-log):
18053         * vc-rcs.el (vc-rcs-print-log):
18054         * vc-sccs.el (vc-sccs-print-log):
18055         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
18056         that is ignored for now.
18058         * vc-mtn.el (vc-mtn-annotate-command):
18059         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
18061 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
18063         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
18064         to function-key-map, and give them ascii-character property.
18065         * term/x-win.el (x-alternatives-map):
18066         * term/ns-win.el (ns-alternatives-map):
18067         * term/internal.el (msdos-key-remapping-map):
18068         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
18070 2009-09-14  Glenn Morris  <rgm@gnu.org>
18072         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
18073         temp-buffers (2009-09-12).
18075 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
18077         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
18078         the new read-key function.
18080 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
18082         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
18083         is defined (Bug#4405).
18085 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
18087         * recentf.el (recentf-cleanup): Use a hash table to find
18088         duplicates (Bug#4407).
18090 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
18092         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
18093         kp-0 to ascii equivalents (Bug#4325).
18095 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
18097         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
18099         * eshell/em-hist.el:
18100         * eshell/em-dirs.el (eshell-complete-user-reference):
18101         Declare pcomplete functions and variables to avoid compiler warnings.
18103 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
18105         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
18106         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
18107         * eshell/em-alias.el (eshell-aliases-file):
18108         * eshell/em-hist.el (eshell-history-file-name):
18109         Use expand-file-name instead of concat to make file names (Bug#4308).
18111 2009-09-13  Glenn Morris  <rgm@gnu.org>
18113         * ediff-merg.el (ediff-do-merge):
18114         * filesets.el (filesets-run-cmd):
18115         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
18116         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
18117         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
18118         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
18119         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
18120         Replace empty `let's with `progn'.
18122 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
18124         * mail/sendmail.el (send-mail-function):
18125         * tooltip.el (tooltip-mode):
18126         * simple.el (transient-mark-mode):
18127         * rfn-eshadow.el (file-name-shadow-mode):
18128         * frame.el (blink-cursor-mode):
18129         * font-core.el (global-font-lock-mode):
18130         * files.el (temporary-file-directory)
18131         (small-temporary-file-directory, auto-save-file-name-transforms):
18132         * epa-hook.el (auto-encryption-mode):
18133         * composite.el (global-auto-composition-mode):
18134         Use custom-initialize-delay.
18135         * startup.el (command-line): Don't explicitly call
18136         custom-reevaluate-setting for all the above vars.
18137         * custom.el (custom-initialize-safe-set)
18138         (custom-initialize-safe-default): Delete.
18140 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18142         * term/x-win.el (x-initialize-window-system):
18143         * term/w32-win.el (w32-initialize-window-system):
18144         * term/ns-win.el (ns-initialize-window-system): Don't call
18145         mouse-wheel-mode since it's enabled globally by default already.
18147         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
18148         actually define the variable, but only silences the byte-compiler.
18149         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
18150         before looking it up.
18151         (mouse-wheel-scroll-amount): Also reset the bindings if this value
18152         is changed.
18154 2009-09-12  Glenn Morris  <rgm@gnu.org>
18156         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
18157         1000.
18158         (elint-add-required-env): Don't beep on error.
18159         (elint-forms): In case of error, return ENV unchanged.
18160         (elint-init-env): Skip non-list forms.
18161         (elint-log): Handle unknown file positions.
18163 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
18165         * epg.el (epg-make-context): Add autoload cookie.
18166         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
18167         (epg-decrypt-string, epg-start-verify, epg-verify-file)
18168         (epg-verify-string, epg-start-sign, epg-sign-file)
18169         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
18170         (epg-encrypt-string, epg-start-export-keys)
18171         (epg-export-keys-to-file, epg-export-keys-to-string)
18172         (epg-start-import-keys, epg-import-keys-from-file)
18173         (epg-import-keys-from-string, epg-start-receive-keys)
18174         (epg-receive-keys, epg-import-keys-from-server)
18175         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
18176         (epg-sign-keys, epg-start-generate-key)
18177         (epg-generate-key-from-file, epg-generate-key-from-string):
18178         Remove autoload cookie.
18180 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
18182         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
18183         reevaluation of trash-directory.
18185         * mwheel.el: Fix last change.
18186         (mouse-wheel-mode): New defvar.
18187         (mouse-wheel-mode): Remove autoload cookie.
18189 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
18191         * mwheel.el (mwheel-installed-bindings): New var.
18192         (mouse-wheel-mode): Use it, so as to make sure we really remove all
18193         the bindings we set last time.  Use custom-initialize-delay.
18194         * loadup.el: Load mwheel after term/*-win.el.
18195         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
18196         and mouse-wheel-up-event now that their first evaluation is done
18197         sufficiently late to be correct.
18199         * startup.el (tutorial-directory): Make it a defcustom.
18200         Use custom-initialize-delay rather than eval-at-startup to set it.
18201         * image.el (image-load-path): Make it a defcustom.
18202         Use custom-initialize-delay rather than eval-at-startup to set it.
18203         * subr.el (eval-at-startup): Remove.
18204         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
18206         * subr.el (do-after-load-evaluation): Warn the user after loading an
18207         obsolete package.
18209 2009-09-12  Glenn Morris  <rgm@gnu.org>
18211         * proced.el (proced-mark-alt): Remove alias.
18212         (proced-mode-map): Remove proced-mark-alt.
18214         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
18215         Elint file and directory.  Remove initialization entry.
18217         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
18218         commands.
18219         (elint-current-buffer): Set mode-line-process.
18220         (elint-init-env): Handle define-derived-mode.
18221         Fix declare-function with unspecified arglist.  Guard against odd
18222         defalias statements (eg iso-insert's 8859-1-map).
18223         (elint-add-required-env): Use a temp buffer.
18224         (elint-form): Just print the function/macro name, not the whole form.
18225         Return env unchanged if we fail to parse a macro.
18226         (elint-forms): Guard against parse errors.
18227         (elint-output): New function, to handle batch mode.
18228         (elint-log-message): Add optional argument.  Use elint-output.
18229         (elint-set-mode-line): New function.
18231 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
18233         * emacs-lisp/elp.el (elp-not-profilable): Add more
18234         functions (Bug#4233).
18236 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
18238         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
18239         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
18241 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
18243         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
18244         (gdb-var-list-children): Use json parsing.
18246 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
18248         * progmodes/js.el (js--proper-indentation): Handle the case where
18249         char-before is null.  Reported by Deniz Dogan.
18251 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
18253         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
18255 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
18257         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
18258         (epg-digest-algorithm-alist): Add SHA224.
18259         (epg-context-set-passphrase-callback)
18260         (epg-context-set-progress-callback): Add description about
18261         callback function.
18263 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
18265         * custom.el (custom-delayed-init-variables): New var.
18266         (custom-initialize-delay): New function.
18267         * startup.el (command-line): "Re"evaluate all vars in
18268         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
18269         explicitly any more.
18270         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
18271         to avoid creating a ~/.emacs.d at build-time (bug#4347).
18273         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
18275 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
18277         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
18278         (gdb-var-update-handler): Use json parsing.
18280 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
18282         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
18283         decode annotated text, regardless of language environment.  (Bug#2741)
18285 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
18287         * Makefile.in (autoloads): Make rmail.el writable as well.
18289 2009-09-11  Glenn Morris  <rgm@gnu.org>
18291         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
18292         loaddefs.el.
18293         * dired.el: Regenerate with extracted autoloads.
18294         * Makefile.in (autoloads): Make dired.el writable.
18296         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
18297         * ibuffer.el: Regenerate with extracted autoloads.
18298         * Makefile.in (autoloads): Make ibuffer.el writable.
18300         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
18301         * version.el (emacs-copyright, emacs-major-version)
18302         (emacs-minor-version): Reformat doc-strings for make-docfile.
18304         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
18305         functions and variables, since they must be stuff specific to some other
18306         platform.
18307         (apropos-print): Make mouse-click message less specific about button.
18309         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
18310         that records where a macro was defined.
18311         * help-fns.el (describe-function-1): Mention if a function has a
18312         compiler-macro.
18313         * help-mode.el (help-function-cmacro): New button.
18315         * locate.el (top-level): Always require dired.
18316         (locate-mode-map): Initialize inside the defvar.
18318         * net/ange-ftp.el (dired-compress-file): Declare.
18319         (ange-ftp-dired-compress-file): Add doc string.
18321         * term/ns-win.el (x-display-name, x-setup-function-keys):
18322         Unify doc-strings with X versions.
18324 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
18326         * emulation/crisp.el (crisp-mode-map): Move initialization
18327         into declaration.
18328         (crisp-mode): Use define-minor-mode.
18330         * progmodes/xscheme.el (xscheme-evaluation-commands):
18331         Put a :advertised-binding property rather than using
18332         advertised-xscheme-send-previous-expression.
18333         (advertised-xscheme-send-previous-expression): Declare obsolete.
18334         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
18335         `advertised-undo'.
18336         (crisp-mode): Add corresponding bindings to
18337         undo's :advertised-binding instead.
18338         * dired.el (dired-mode-map): Put a :advertised-binding property rather
18339         than using dired-advertised-find-file.
18340         (dired-advertised-find-file):
18341         * simple.el (advertised-undo):
18342         * wid-edit.el (advertised-widget-backward): Declare obsolete.
18343         (widget-keymap): Put a :advertised-binding property rather
18344         than using advertised-widget-backward.
18345         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
18346         than using advertised-undo.
18347         * tutorial.el (tutorial--default-keys): Adjust accordingly.
18349 2009-09-10  Simon South  <ssouth@slowcomputing.org>
18351         * progmodes/delphi.el (delphi-tab): Indent region when Transient
18352         Mark mode is enabled and region is active; otherwise indent or
18353         insert TAB as usual.
18354         (delphi-mode): Update description of TAB-key binding.
18356 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
18358         * subr.el (define-key-rebound-commands): Mark obsolete.
18359         * startup.el (precompute-menubar-bindings): Remove.
18360         (normal-top-level): Remove obsolete code that tried to precompute
18361         menubar bindings.
18362         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
18363         define-key-rebound-commands and precompute-menubar-bindings.
18365 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
18367         * net/imap.el (imap-interactive-login): Better messages.
18368         (imap-open): Fix bug with renamed buffer on reconnect.
18369         (imap-authenticate): Add buffer-local imap-last-authenticator variable
18370         for easier debugging and cleaner code.  On successful (guessed based on
18371         server capabilities) secondary authentication, set imap-state
18372         correctly.
18373         (imap-last-authenticator): Define imap-last-authenticator as a variable
18374         to avoid warnings.
18376 2009-09-10  Glenn Morris  <rgm@gnu.org>
18378         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
18380         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
18381         (byte-compile-file-form-autoload): Don't warn about unknown functions
18382         where the autoload statement comes after the use.
18383         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
18384         that any handlers inside the body (eg require) are in turn respected.
18386         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
18387         effects.
18389         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
18390         and syntax and abbrev tables basic docs, if they don't have any.
18392         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
18394         * international/mule-cmds.el (top-level): Require cl when compiling.
18395         (view-hello-file): Use default-value rather than
18396         default-enable-multibyte-characters.
18398         * progmodes/fortran.el: Move all safe and risky properties into the
18399         defcustoms.
18401         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
18402         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
18403         * mail/undigest.el:
18404         Put autoloads in rmail.el rather than loaddefs.el.
18405         * mail/rmail.el: Regenerate with extracted autoloads.
18407         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
18408         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
18410 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
18412         Reported in thread for Bug#4375.
18413         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
18414         "-data-evaluate-expression" instead of print.
18415         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
18416         (gdb-tooltip-print): Parse output from above MI command.
18417         (gdb): Revert 2009-08-11 change.  User should detach inferior
18418         manually.
18420         Remove the word "separate" from IO functions as inferior
18421         output is now never displayed in the GUD buffer.
18423 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
18425         * startup.el (command-line-normalize-file-name): On Windows and
18426         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
18428 2009-09-10  Juri Linkov  <juri@jurta.org>
18430         * isearch.el (isearch-text-char-description): Propertize escape
18431         character sequences with the `escape-glyph' face.  (Bug#4344)
18433         * simple.el (shell-command): Set asynchronous process filter to
18434         `comint-output-filter'.  (Bug#4343)
18436         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
18437         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
18438         the list.  Move "asm" to the bottom.
18439         (grep-find-ignored-directories): Add `choice' with nil value
18440         to empty the list easily.
18441         (grep-find-ignored-files): New option.
18442         (grep-files-history): Set to nil by default instead of '("ch" "el").
18443         (grep-compute-defaults): Add "<X>" to `grep-template'.
18444         (grep-read-files): Bind new local variables `default-alias' and
18445         `default-extension'.  Use a list of default values for the file prompt.
18446         (lgrep): Add `--exclude=' command line options composed from
18447         `grep-find-ignored-files'.
18448         (rgrep): Add `-name' command line options composed from
18449         `grep-find-ignored-files'.  (Bug#4301)
18451 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
18453         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
18454         (bug#4368).
18456 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
18458         * calendar/time-date.el (autoload):
18459         Expand define-obsolete-function-alias into defalias and make-obsolete
18460         for old Emacsen that Gnus supports.
18461         (with-no-warnings): Define it for old Emacsen.
18462         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
18463         is available.
18464         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
18465         float-time is available; suppress compile warning for time-to-seconds.
18467 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
18469         * net/imap.el (imap-message-map): Docstring fix.
18471 2009-09-09  Glenn Morris  <rgm@gnu.org>
18473         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
18474         line numbers too.  (Bug#4374)
18476 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
18478         * smerge-mode.el (smerge-remove-props, smerge-refine):
18479         Use with-silent-modifications (bug#4342).
18481         * subr.el (with-silent-modifications): New macro.
18483 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
18485         * files.el (top-level): Require `cl' when compiling.
18487 2009-09-07  Glenn Morris  <rgm@gnu.org>
18489         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
18491         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
18492         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
18494 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
18496         * vc-git.el (vc-git-annotate-command): Use separator to parse
18497         arguments correctly.
18499 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
18501         * proced.el (proced-mode): Doc fix.
18503 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
18505         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
18506         lstat fails.
18507         (tramp-do-file-attributes-with-ls): Check for file existence at
18508         remote end.
18509         (tramp-do-file-attributes-with-stat): Likewise.
18510         (tramp-convert-file-attributes): Return nil when attr is nil.
18512 2009-09-05  Glenn Morris  <rgm@gnu.org>
18514         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
18515         properties to this button.
18516         (diary-fancy-display): Don't extend the button to the final newline.
18517         (diary-fancy-display-mode): Continue to define "q" as a local key.
18519         * calendar/cal-china.el (holiday-chinese): Make it slightly more
18520         efficient.
18522         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
18524         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
18525         (byte-compile-dest-file-function): New option.
18526         (byte-compile-dest-file): Doc fix.
18527         Obey byte-compile-dest-file-function.
18528         (byte-compile-cl-file-p): New function.
18529         (byte-compile-eval): Only suppress noruntime warnings about cl functions
18530         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
18531         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
18532         than for file being previously loaded.
18533         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
18534         (byte-compile-file-form-require): Handle the case where requiring a file
18535         indirectly causes CL to be loaded.
18537 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
18539         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
18540         before killing the old buffer, since by the time `kill-buffer' is
18541         run so many buffer variables have been set to nil that it may not
18542         behave as expected.  (Bug#4061)
18544 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
18546         * files.el (find-alternate-file): If the old buffer is modified
18547         and visiting a file, behave similarly to `kill-buffer' when
18548         killing it, thus reverting to the pre-1.878 behavior; see
18549         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
18550         for discussion.  Also, consult `buffer-file-name' as a variable
18551         not as a function, for consistency with the rest of the code.
18553 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
18555         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
18556         also when adding a new directory.
18558         * net/tramp-compat.el (tramp-compat-line-beginning-position):
18559         New defun.
18561 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
18563         * files.el (locate-file-completion-table): Make it provide boundary
18564         information, so partial-completion works better.
18566 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
18568         * mail/footnote.el (Footnote-text-under-cursor):
18569         Check footnote-text-marker-alist before using it (bug#4324).
18571 2009-09-04  Glenn Morris  <rgm@gnu.org>
18573         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
18574         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
18575         * play/solitaire.el, play/tetris.el:
18576         Remove leading * from defcustom and defface docs.
18578         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
18579         necessary.
18580         (diary-fancy-overriding-map): New variable.
18581         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
18582         Use view-mode.
18584         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
18585         goto-line.
18587 2009-09-03  Glenn Morris  <rgm@gnu.org>
18589         * arc-mode.el (archive-mode):
18590         * dos-fns.el (set-default-process-coding-system):
18591         * man.el (Man-getpage-in-background):
18592         * menu-bar.el (menu-bar-describe-menu):
18593         * server.el (server-process-filter):
18594         * startup.el (command-line):
18595         * tar-mode.el (tar-header-block-tokenize, tar-extract):
18596         * w32-fns.el (set-default-process-coding-system):
18597         * x-dnd.el (x-dnd-handle-file-name):
18598         * international/mule-cmds.el (mule-menu-keymap)
18599         (set-default-coding-systems, language-info-alist, set-language-info)
18600         (set-language-environment, standard-display-european-internal)
18601         (set-locale-environment):
18602         * international/mule-diag.el (mule-diag):
18603         * mail/emacsbug.el (report-emacs-bug):
18604         * mail/rmail.el (rmail-mode):
18605         * mail/sendmail.el (mail-setup):
18606         Use default-value rather than default-enable-multibyte-characters.
18608         * progmodes/f90.el: Move all safe properties into the defcustoms.
18609         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
18611         * calendar/appt.el (appt-check):
18612         * calendar/diary-lib.el (diary-set-header, diary-live-p)
18613         (diary-check-diary-file, diary-list-entries)
18614         (diary-include-other-diary-files, diary-simple-display)
18615         (diary-fancy-display, diary-print-entries)
18616         (diary-mark-included-diary-files, diary-make-entry):
18617         Don't call substitute-in-file-name on diary-file.
18619 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
18620             Stefan Monnier  <monnier@iro.umontreal.ca>
18622         * mail/footnote.el (footnote-prefix): Make it a defcustom.
18623         (footnote-mode-map): Move initialization into the declaration.
18624         (footnote-minor-mode-map): Define it rather than changing global-map.
18625         (footnote-mode): Use define-minor-mode.
18627 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
18629         * net/tramp.el (tramp-handle-file-attributes-with-ls)
18630         (tramp-do-file-attributes-with-perl)
18631         (tramp-do-file-attributes-with-stat): Rename from
18632         `tramp-handle-file-attributes-with-*'.
18633         (tramp-handle-file-attributes): Use them.
18634         (tramp-do-directory-files-and-attributes-with-perl)
18635         (tramp-do-directory-files-and-attributes-with-stat): Rename from
18636         `tramp-handle-directory-files-and-attributes-with-*'.
18637         (tramp-handle-directory-files-and-attributes): Use them.
18638         (tramp-method-out-of-band-p): Additional parameter SIZE.
18639         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
18640         (tramp-handle-write-region): Use it.
18641         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
18642         (tramp-handle-vc-registered): Check, whether the first run did
18643         return files to be tested.
18644         (tramp-advice-make-auto-save-file-name): Do not call directly
18645         `tramp-handle-make-auto-save-file-name', because this would bypass
18646         the locking mechanism.
18648         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
18649         (file-remote-p, process-file, start-file-process, set-file-times)
18650         (tramp-compat-file-attributes): Compatibility functions shall not
18651         call directly `tramp-handle-*', because this would bypass the
18652         locking mechanism.
18653         (tramp-compat-number-sequence): New defun.
18655 2009-09-02  Glenn Morris  <rgm@gnu.org>
18657         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
18658         alias for float-time.
18659         (time-to-number-of-days): In Emacs, use float-time.
18660         * net/newst-backend.el (time-add): Suppress warnings from compat
18661         function.
18662         * time.el (emacs-uptime, emacs-init-time):
18663         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
18664         Use float-time rather than time-to-seconds.
18666         * minibuffer.el (completion-initials-expand): Fix typo.
18668         * faces.el (modeline, modeline-inactive, modeline-highlight)
18669         (modeline-buffer-id):
18670         * info.el (info-menu-5): Mark these face aliases as obsolete.
18672 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
18674         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
18675         space ...
18676         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
18677         no "--thread" option.
18678         (gdb-stopped): Don't print "Switched to thread" message when it is
18679         unchanged.
18681 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
18683         * minibuffer.el (completion-try-completion)
18684         (completion-all-completions): Remove ill-defined (and
18685         mistakenly installed and luckily never used nor documented)
18686         `completion-styles' property.
18687         (completion-initials-expand, completion-initials-all-completions)
18688         (completion-initials-try-completion): New functions.
18689         (completion-styles-alist): Add doc to each entry.
18690         Add new `initials' entry.
18692 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
18694         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
18695         MI command -var-evaluate-expression.
18696         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
18697         and tweak for case of string child.
18698         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
18700 2009-09-01  Glenn Morris  <rgm@gnu.org>
18702         * add-log.el (change-log-date-face, change-log-name-face)
18703         (change-log-email-face, change-log-file-face, change-log-list-face)
18704         (change-log-conditionals-face, change-log-function-face)
18705         (change-log-acknowledgement-face):
18706         * cus-edit.el (custom-invalid-face, custom-rogue-face)
18707         (custom-modified-face, custom-set-face, custom-changed-face)
18708         (custom-saved-face, custom-button-face, custom-button-pressed-face)
18709         (custom-documentation-face, custom-state-face, custom-comment-face)
18710         (custom-comment-tag-face, custom-variable-tag-face)
18711         (custom-variable-button-face, custom-face-tag-face)
18712         (custom-group-tag-face-1, custom-group-tag-face):
18713         * diff-mode.el (diff-header-face, diff-file-header-face)
18714         (diff-index-face, diff-hunk-header-face, diff-removed-face)
18715         (diff-added-face, diff-changed-face, diff-function-face)
18716         (diff-context-face, diff-nonexistent-face):
18717         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
18718         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
18719         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
18720         (Info-title-4-face):
18721         * isearch.el (isearch-lazy-highlight-face):
18722         * log-view.el (log-view-file-face, log-view-message-face):
18723         * paren.el (show-paren-match-face, show-paren-mismatch-face):
18724         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
18725         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
18726         (cvs-msg-face):
18727         * smerge-mode.el (smerge-mine-face, smerge-other-face)
18728         (smerge-base-face, smerge-markers-face):
18729         * wid-edit.el (widget-documentation-face, widget-button-face)
18730         (widget-field-face, widget-single-line-field-face)
18731         (widget-inactive-face, widget-button-pressed-face):
18732         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
18733         (woman-addition-face):
18734         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
18735         (eshell-ls-executable-face, eshell-ls-readonly-face)
18736         (eshell-ls-unreadable-face, eshell-ls-special-face)
18737         (eshell-ls-missing-face, eshell-ls-archive-face)
18738         (eshell-ls-backup-face, eshell-ls-product-face)
18739         (eshell-ls-clutter-face):
18740         * eshell/em-prompt.el (eshell-prompt-face):
18741         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
18742         * obsolete/old-whitespace.el (whitespace-highlight-face):
18743         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
18744         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
18745         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
18746         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
18747         (antlr-font-lock-literal-face):
18748         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
18749         (ebrowse-root-class-face, ebrowse-file-name-face)
18750         (ebrowse-default-face, ebrowse-member-attribute-face)
18751         (ebrowse-member-class-face, ebrowse-progress-face):
18752         * progmodes/make-mode.el (makefile-space-face):
18753         * progmodes/sh-script.el (sh-heredoc-face):
18754         * textmodes/flyspell.el (flyspell-incorrect-face)
18755         (flyspell-duplicate-face):
18756         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
18757         * textmodes/texinfo.el (texinfo-heading-face):
18758         Mark face aliases with "-face" suffix as obsolete.
18760         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
18761         compiler.
18763         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
18764         (eudc-bob-sound-menu): Use defvar rather than defconst, since
18765         easy-menu-define wants to modify these.
18767         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
18769         * net/browse-url.el (browse-url-file-url):
18770         * term/internal.el (dos-codepage-setup):
18771         Use default-value rather than default-enable-multibyte-characters.
18773         * progmodes/etags.el (etags-goto-tag-location):
18774         * progmodes/flymake.el (flymake-highlight-line)
18775         (flymake-goto-file-and-line, flymake-goto-line):
18776         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
18777         (gdb-goto-breakpoint):
18778         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
18779         * progmodes/python.el (python-find-function)
18780         (python-pdbtrack-track-stack-file):
18781         * progmodes/verilog-mode.el (verilog-surelint-off):
18782         * term/ns-win.el (ns-open-file-select-line):
18783         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
18784         Use forward-line rather than goto-line.
18786         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
18787         * textmodes/reftex-index.el (reftex-display-index):
18788         * textmodes/reftex-ref.el (reftex-offer-label-menu):
18789         * textmodes/reftex-toc.el (reftex-toc):
18790         Remove unnecessary bindings of default-major-mode (all are followed by
18791         major-mode check and possible mode switch).
18793 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
18795         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
18796         Handle watchpoints (bug#4282).
18797         (def-gdb-thread-buffer-command): Enable thread to be selected by
18798         clicking without selecting threads buffer first.
18799         (gdb-current-context-command): Use selected frame so that "up",
18800         "down" etc work in the GUD buffer.
18801         (gdb-update): Find selected frame before rendering stack buffer.
18802         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
18804 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
18806         * progmodes/sym-comp.el (displayed-completions): Remove.
18807         (symbol-complete): Use minibuffer-complete.
18809 2009-08-31  Glenn Morris  <rgm@gnu.org>
18811         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
18813         * apropos.el (apropos-symbols-internal):
18814         Handle (obsolete) face aliases.
18816         * faces.el (describe-face): Adjust the output format to be more like
18817         describe-variable, and to mention (obsolete) face aliases.
18818         Adjust the whitespace so that help-setup-xref works.
18820         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
18821         * calendar/diary-lib.el (diary-button-face):
18822         Mark these face aliases as obsolete.
18824         * calendar/calendar.el (calendar-today): Doc fix.
18826 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
18828         * progmodes/gdb-mi.el (gdb-control-all-threads)
18829         (gdb-control-current-thread): Force tool bar update.
18830         (gdb-non-stop-handler): New function.
18831         (gdb-init-1): Use it to test if non-stop mode is supported.
18832         Remove unused gdbmi buffer type.
18834 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
18836         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
18837         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
18839 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
18841         * comint.el (comint-exec-1): Check command is non-null first.
18842         Part of gdb-mi.el change (2009-08-28).
18844 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
18846         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
18848 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
18850         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
18851         instead of `dolist' to avoid a recursive require when bootstrapping.
18853 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
18855         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
18857         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
18859         * net/imap.el (imap-send-command): Simplify.
18860         (imap-wait-for-tag): point-max -> buffer-size.
18862         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
18864         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
18865         with constant argument.
18867         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
18869         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
18871         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
18872         Change default, since most of our files don't have a history.
18873         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
18874         the user.
18876         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
18877         Add comint-run.
18879         * calc/calc.el: Improve commenting convention.
18880         (calc-digit-map, toplevel): Simplify.
18882         * comint.el (comint-insert-input): Be careful to only set point if we
18883         don't delegate to some other command.
18885         * proced.el (proced-signal-list): Make it an alist.
18886         (proced-grammar-alist): Capitalize names.
18887         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
18888         Disable undo manually and make it read-only.
18889         Use completion-annotate-function.
18891         * minibuffer.el (minibuffer-message): If the current buffer is not
18892         a minibuffer, insert the message in the echo area rather than at the
18893         end of the buffer.
18894         (completion-annotate-function): New variable.
18895         (minibuffer-completion-help): Use it.
18896         (completion--embedded-envvar-table): Environment vars are
18897         always case-sensitive.
18899 2009-08-30  Glenn Morris  <rgm@gnu.org>
18901         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
18902         from fortran-current-defun.
18903         (fortran-beginning-of-subprogram): Be more precise about finding the
18904         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
18905         (fortran-end-of-subprogram): Simplify.
18906         (fortran-current-defun): Use fortran-start-prog-re.
18908 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
18910         * subr.el (do-after-load-evaluation): Simplify.
18912 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
18914         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
18916         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
18917         (vc-rcs-print-log): Use it.
18919         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
18921 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
18923         * paths.el (abbrev-file-name): Move to abbrev.el.
18924         * abbrev.el (abbrev-file-name): Move from paths.el.
18925         Obey user-emacs-directory.
18926         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
18927         user-emacs-directory.
18928         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
18929         abbrev-file-name and calc-settings-file any more.
18930         * startup.el (command-line): Recompute abbrev-file-name and
18931         abbreviated-home-dir.
18932         (normal-no-mouse-startup-screen): Improve the generic code and get rid
18933         of the special code for when C-h bindings haven't been changed.
18934         (display-startup-echo-area-message): Use with-current-buffer.
18935         (command-line-1): Use a list of strings, rather than a list of lists
18936         of strings for longopts.
18938         * files.el (get-free-disk-space): Use / for default-directory.
18940         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
18941         Use with-current-buffer.
18943         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
18944         Recognize immutable variables like most-positive-fixnum.
18945         (byte-compile-setq-default): Check and warn if trying to assign
18946         to an immutable variable, or a non-variable.
18948         * progmodes/cc-vars.el (c-comment-continuation-stars):
18949         * progmodes/cc-engine.el (c-looking-at-bos):
18950         * progmodes/cc-cmds.el (c-toggle-auto-state)
18951         (c-forward-into-nomenclature, c-backward-into-nomenclature)
18952         (c-comment-line-break-function): Add version of obsolescence.
18954 2009-08-28  Juri Linkov  <juri@jurta.org>
18956         * files.el (magic-fallback-mode-alist): Add ZIP magic number
18957         associated with `archive-mode'.
18959         * image.el (image-type-header-regexps): Use only JPEG magic number
18960         to determine JPEG images, and don't use `image-jpeg-p' because
18961         Emacs can display non-JFIF non-Exif JPEG images.
18963 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
18965         * arc-mode.el (archive-mode):
18966         * emacs-lisp/re-builder.el (re-builder-unload-function):
18967         Protect against the default value of `major-mode' being nil.
18969 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
18971         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
18972         Fix typos in docstrings.
18974         * progmodes/js.el (js--macro-decl-re): Doc fix.
18975         (js--plain-method-re, js--split-name): Refloc docstring.
18976         (js--class-styles, js--make-merged-item, js--splice-into-items):
18977         Fix typos in docstrings; reflow docstrings.
18978         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
18979         (js--variable-decl-matcher, js--inside-pitem-p)
18980         (js--parse-state-at-point, js--get-all-known-symbols)
18981         (js--symbol-history, js-find-symbol, js--js-references)
18982         (js--moz-interactor, js--js-encode-value, js--read-tab):
18983         Fix typos in docstrings.
18985 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
18987         * textmodes/reftex.el (reftex-get-file-buffer-force):
18988         * progmodes/verilog-mode.el (verilog-batch-execute-func):
18989         * emulation/viper.el (viper-go-away, viper-set-hooks):
18990         * emacs-lisp/re-builder.el (re-builder-unload-function):
18991         * emacs-lisp/bytecomp.el (byte-compile-file):
18992         * ses.el (ses-unload-function):
18993         * hexl.el (hexl-find-file):
18994         * files.el (normal-mode):
18995         * ehelp.el (with-electric-help):
18996         * autoinsert.el (auto-insert-alist):
18997         * arc-mode.el (archive-mode):
18998         Use (default-value 'major-mode) instead of default-major-mode.
19000         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
19001         * international/mule.el (load-with-code-conversion):
19002         * emacs-lisp/debug.el (debug):
19003         * ediff-vers.el (ediff-rcs-get-output-buffer):
19004         * dired.el (dired-internal-noselect): Don't let-bind
19005         default-major-mode around code that doesn't use it.
19006         E.g. buffer creation via get-buffer-create doesn't use it.
19008 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
19010         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
19011         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
19012         when writing the temp file.  Otherwise, epa-file gets confused.
19013         (tramp-register-file-name-handlers): Make it a defun.  Move also
19014         `epa-file-handler' to the front of `file-name-handler-alist'.
19016 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19018         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
19019         start right after a ^M.
19020         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
19021         (tramp-completion-file-name-regexp-separate)
19022         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
19023         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
19024         Don't modify last-coding-system-used by accident.
19025         (tramp-completion-file-name-handler): Apply the checks here,
19026         instead during registration.
19027         (tramp-register-file-name-handlers): Rename from
19028         `tramp-register-file-name-handler'.  Register both
19029         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
19030         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
19032 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
19034         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
19035         Remove variable ...
19036         (gdb-init-1, gdb-display-separate-io-buffer)
19037         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
19038         references to it.
19039         (gdb-inferior-io-mode): Use make-comint-in-buffer.
19040         (gdb-inferior-filter): Use comint-output-filter to stop
19041         echoing and remove ^M characters.
19043 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
19045         * emulation/viper-init.el (viper-restore-cursor-type):
19046         * emulation/cua-base.el (cua--update-indications):
19047         Replace default-cursor-type with (default-value 'cursor-type).
19049         * mail/sendmail.el (mail-recover-1):
19050         * international/mule-diag.el (describe-current-coding-system-briefly)
19051         (describe-current-coding-system):
19052         * international/mule-cmds.el (select-safe-coding-system)
19053         (select-message-coding-system)
19054         (set-language-environment-coding-systems, set-locale-environment):
19055         * hexl.el (hexl-insert-multibyte-char):
19056         * dos-w32.el (find-buffer-file-type-coding-system):
19057         * simple.el (what-cursor-position):
19058         Replace uses of default-buffer-file-coding-system
19059         with (default-value 'buffer-file-coding-system).
19061         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
19062         Replace uses of default-cursor-in-non-selected-windows
19063         with (default-value 'cursor-in-non-selected-windows).
19064         Use with-current-buffer.
19066         * mail/feedmail.el: Use CL macros.
19067         (feedmail-run-the-queue, feedmail-send-it-immediately):
19068         * dos-w32.el (find-buffer-file-type): Replace uses of
19069         default-buffer-file-type with (default-value 'buffer-file-type).
19071 2009-08-28  Glenn Morris  <rgm@gnu.org>
19073         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
19074         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
19075         Use default-value of major-mode rather than default-major-mode.
19077 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
19079         * Makefile.in (update-elcfiles): Report left over elc files.
19081         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
19082         expand-file-name and with-current-buffer.
19083         (mail-get-names, mail-directory): Use with-current-buffer.
19085         * vc.el (vc-read-revision): New function.
19086         (vc-version-diff, vc-merge): Use it.
19088 2009-08-27  Sam Steingold  <sds@gnu.org>
19090         * simple.el (kill-do-not-save-duplicates): New user option.
19091         (kill-new): When it is non-nil, and the new string is the same as
19092         the latest kill, set replace to t to avoid duplicates in kill-ring.
19094 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
19096         * net/tramp.el (tramp-handle-process-file): Do not flush all
19097         caches when `process-file-side-effects' is set.
19098         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
19099         instead of `tramp-find-file-exists-command'.
19100         Unset `process-file-side-effects'.
19102 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
19104         * net/tramp.el (tramp-methods): New method "rsyncc".
19105         (top): Add completion function for "rsyncc".
19106         (tramp-message-show-message): New defvar.
19107         (tramp-message, tramp-error): Use it.
19108         (tramp-do-copy-or-rename-file-directly): Extend check for direct
19109         remote copying.
19110         (tramp-do-copy-or-rename-file-out-of-band): Handle new
19111         `tramp-methods' entry `copy-env' of "rsyncc".
19112         (tramp-vc-registered-read-file-names): New defconst.
19113         (tramp-vc-registered-file-names): New defvar.
19114         (tramp-handle-vc-registered): Implement optimization strategy.
19115         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
19116         (tramp-vc-file-name-handler): New defun.
19117         (tramp-get-ls-command, tramp-get-test-command)
19118         (tramp-get-file-exists-command, tramp-get-remote-ln)
19119         (tramp-get-remote-perl, tramp-get-remote-stat)
19120         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
19122         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
19123         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
19124         timestamps.
19125         (tramp-get-file-property): Check for timestamps in
19126         `tramp-cache-inhibit-cache'.
19127         (tramp-set-file-property): Write timestamp.
19129 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
19131         * language/japan-util.el (japanese-symbol-table): Add entries for
19132         cp932-2-byte.
19134         * international/characters.el: Add category `j' to cp932-2-byte.
19136 2009-08-27  Kenichi Handa  <handa@m17n.org>
19138         * international/fontset.el (build-default-fontset-data): New macro.
19139         (setup-default-fontset): Use build-default-fontset-data for CJK,
19140         tibetan, ethiopic, and ipa.
19142 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
19144         * cus-start.el (default-major-mode): Customize `major-mode' instead.
19145         (enable-multibyte-characters): Not customizable any more.
19147         * subr.el (default-mode-line-format, default-header-line-format)
19148         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
19149         (default-direction-reversed, default-truncate-lines)
19150         (default-left-margin, default-tab-width, default-case-fold-search)
19151         (default-left-margin-width, default-right-margin-width)
19152         (default-left-fringe-width, default-right-fringe-width)
19153         (default-fringes-outside-margins, default-scroll-bar-width)
19154         (default-vertical-scroll-bar, default-indicate-empty-lines)
19155         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
19156         (default-fringe-cursor-alist, default-scroll-up-aggressively)
19157         (default-scroll-down-aggressively, default-fill-column)
19158         (default-cursor-type, default-buffer-file-type)
19159         (default-cursor-in-non-selected-windows)
19160         (default-buffer-file-coding-system, default-major-mode)
19161         (default-enable-multibyte-characters): Mark as obsolete.
19163 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
19165         * vc-dir.el (vc-dir-update): Remove debug helper.
19167         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
19169 2009-08-26  Sam Steingold  <sds@gnu.org>
19171         * simple.el (save-interprogram-paste-before-kill): New user option.
19172         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
19173         save the interprogram-paste into kill-ring before overriding it
19174         with the Emacs kill.
19176 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
19178         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
19179         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
19180         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
19181         and move to vc-rcs.el.
19182         (vc-default-next-revision): Rename to vc-rcs-next-revision and
19183         move to vc-rcs.el.
19184         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
19185         (vc-rcs-update-changelog): Remove.
19186         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
19187         and move to vc-rcs.el.
19189         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
19190         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
19191         renaming.
19192         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
19193         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
19194         vc.el, renamed to be RCS specific.
19196         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
19197         New functions.
19198         (vc-cvs-update-changelog): Move here from vc.el.
19200         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
19201         New functions.
19203 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
19205         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
19207 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
19209         * vc-git.el (vc-git-register): Use "git add" for directories.
19210         (vc-git-stash, vc-git-stash-show): New functions.
19211         (vc-git-extra-menu-map): Bind them.
19213         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
19214         directory correctly in case the item is a directory itself.
19216         * vc.el: Document the desired behavior for reverted files in the
19217         `added' state.
19218         (vc-default-prettify-state-info): Remove function, unused.
19220         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
19222 2009-08-26  Glenn Morris  <rgm@gnu.org>
19224         * bindings.el (standard-mode-line-format): Reposition dashes in
19225         which-func entry.  (Bug#4217)
19227         * files.el (enable-local-variables, enable-local-eval)
19228         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
19229         the defcustoms.
19230         (auto-mode-alist, ignored-local-variables)
19231         (save-some-buffers-action-alist): Move risky declarations to the
19232         definitions.
19233         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
19234         (font-lock-defaults, format-alist, imenu--index-alist)
19235         (imenu-generic-expression, input-method-alist, minor-mode-alist)
19236         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
19237         (mode-line-modified, mode-line-mule-info, mode-line-position)
19238         (mode-line-process, mode-line-remote, outline-level)
19239         (parse-time-rules, rmail-output-file-alist)
19240         (special-display-buffer-names, vc-mode):
19241         Move risky declarations to the relevant files.
19242         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
19243         (mode-line-modified, mode-line-process, mode-line-position)
19244         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
19245         * font-core.el (font-lock-defaults):
19246         * format.el (format-alist):
19247         * vc-hooks.el (vc-mode):
19248         * window.el (special-display-buffer-names):
19249         * international/mule-cmds.el (input-method-alist):
19250         Define riskiness here (dumped file) rather than in files.el.
19251         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
19252         * imenu.el (imenu-generic-expression, imenu--index-alist):
19253         * outline.el (outline-level):
19254         * time.el (display-time-string):
19255         * calendar/parse-time.el (parse-time-rules):
19256         * mail/rmailout.el (rmail-output-file-alist):
19257         Autoload riskiness here, rather than placing in files.el.
19259 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
19261         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
19263 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
19265         * simple.el (process-file-side-effects): New defvar.
19267         * dired-aux.el (dired-show-file-type):
19268         * vc.el (vc-diff-internal):
19269         * vc-arch.el (vc-arch-diff):
19270         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
19271         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
19272         * vc-git.el (vc-git-registered, vc-git-working-revision)
19273         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
19274         (vc-git--empty-db-p):
19275         * vc-hooks.el (vc-user-login-name):
19276         * vc-svn.el (vc-svn-registered, vc-svn-state)
19277         (vc-svn-dir-extra-headers, vc-svn-find-revision):
19278         * progmodes/grep.el (grep-probe): Let-bind
19279         `process-file-side-effects' with nil.
19281         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
19283         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
19284         daemon.  Replace ping by checking for running service for bluez
19285         and zeroconf.  (Bug#4239)
19287 2009-08-25  Kevin Ryde  <user42@zip.com.au>
19289         * net/dig.el (dig): Add autoload cookie.
19291 2009-08-25  Glenn Morris  <rgm@gnu.org>
19293         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
19294         load-history for absolute file-names.
19295         (byte-compile-file-form-require): Warn about use of the cl package.
19297         * format.el (format-alist): Doc fix.
19299         * play/bubbles.el (top-level): Don't require cl at run-time.
19301         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
19302         run-time cl).
19304 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
19306         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
19307         from cl package.
19308         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
19310 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
19312         * calc/calc-alg.el (math-trig-rewrite)
19313         (math-hyperbolic-trig-rewrite): New functions.
19314         (calc-simplify): Simplify trig functions when asked.
19316 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
19318         * diff-mode.el (diff-find-source-location): Avoid goto-line.
19320 2009-08-24  Kenichi Handa  <handa@m17n.org>
19322         * language/ind-util.el (mapthread): Delete it.
19323         (combinatorial): New function.
19324         (indian--puthash-cv): Use combinatorial instead of mapthread.
19326 2009-08-22  Kevin Ryde  <user42@zip.com.au>
19328         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
19329         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
19330         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
19331         Clarify docstring that the value is strings not symbols.
19332         (checkdoc-list-of-strings-p): New function.
19334 2009-08-22  Glenn Morris  <rgm@gnu.org>
19336         * files.el (auto-mode-alist):
19337         * hippie-exp.el (he-concat-directory-file-name):
19338         * lpr.el (lpr-windows-system, printer-name):
19339         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
19340         * ps-print.el (ps-windows-system):
19341         * startup.el (command-line):
19342         * emulation/viper-ex.el (viper-glob-function):
19343         * international/mule-cmds.el (set-language-environment-coding-systems):
19344         * net/ange-ftp.el (ange-ftp-write-region):
19345         * obsolete/fast-lock.el (fast-lock-cache-name):
19346         Remove code for defunct system-types emx, macos, mswindows, next-mach,
19347         unisoft-unix, vax-vms, win32, w32.
19349         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
19350         given name if the pattern is not more specific.
19352         * calendar/lunar.el (lunar-phase-names): New option.
19353         (lunar-phase): Doc fix.
19354         (lunar-cycles-per-year): New constant.
19355         (lunar-index): New function.
19356         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
19357         (lunar-phase-name): Use lunar-phase-names.
19358         (calendar-lunar-phases): Use format.
19359         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
19361         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
19362         Copy imenu-example--name-and-position function here for own use.
19363         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
19365         * bs.el (bs--redisplay):
19366         * cus-edit.el (custom-redraw):
19367         * ibuffer.el (ibuffer-bury-buffer):
19368         * server.el (server-goto-line-column):
19369         * startup.el (command-line-1):
19370         * strokes.el (strokes-xpm-for-stroke):
19371         * term.el (term-display-buffer-line):
19372         * view.el (View-goto-line):
19373         * calc/calc.el (calc-do, calc-trail-buffer):
19374         * play/gamegrid.el (gamegrid-add-score-insecure):
19375         * progmodes/ada-mode.el (ada-compile-goto-error):
19376         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
19377         (ebrowse-select-1st-to-9nth):
19378         * progmodes/cperl-mode.el (cperl-time-fontification):
19379         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
19380         * progmodes/gud.el (gud-display-line):
19381         (idlwave-shell-display-line):
19382         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
19383         * progmodes/make-mode.el (makefile-browser-toggle):
19384         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
19385         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
19386         * textmodes/picture.el (picture-draw-rectangle):
19387         * textmodes/reftex-index.el (reftex-index-goto-letter):
19388         (reftex-select-jump-to-previous):
19389         * textmodes/reftex-sel.el (reftex-find-start-point)
19390         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
19391         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
19392         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
19393         * textmodes/tex-mode.el (tex-compilation-parse-errors):
19394         * textmodes/two-column.el (2C-associated-buffer):
19395         Use forward-line rather than goto-line.
19397         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
19398         goto-line.
19400         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
19401         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
19402         (quick-check-list-to-regexp): Declare.
19404         * progmodes/make-mode.el (makefile-browser-insert-selection):
19405         Use goto-char rather than goto-line.
19407         * progmodes/prolog.el (compilation-error-regexp-alist)
19408         (compilation-forget-errors): Declare.
19410 2009-08-22  Juri Linkov  <juri@jurta.org>
19412         * progmodes/grep.el (lgrep, rgrep): At the beginning
19413         set `dir' to `default-directory' unless `dir' is a non-nil
19414         readable directory.  (Bug#4052)
19415         (lgrep, rgrep): Change a weird way to report an error
19416         from using `read-string' to using `error'.
19417         Instead of using interactive arguments in the function body,
19418         add new argument `confirm'.
19420 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
19422         * textmodes/remember.el (remember-buffer):
19423         * progmodes/cperl-mode.el (cperl-vc-header-alist):
19424         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
19425         (icalendar-extract-ical-from-buffer):
19426         * net/newst-treeview.el (newsticker-groups-filename):
19427         * net/newst-backend.el (newsticker-cache-filename):
19428         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
19429         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
19430         (speedbar-add-ignored-path-regexp, speedbar-line-path)
19431         (speedbar-buffers-line-path, speedbar-path-line)
19432         (speedbar-buffers-line-path):
19433         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
19434         (epg-sign-keys):
19435         * epa.el (epa-display-verify-result):
19436         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
19438 2009-08-21  Glenn Morris  <rgm@gnu.org>
19440         * progmodes/js.el (inferior-moz-process): Fix declaration.
19442         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
19444         * obsolete/rnewspost.el (news-mail-reply):
19445         Use goto-char rather than goto-line.
19447         * term/ns-win.el (ns-open-file-select-line):
19448         Use line-beginning-position rather than goto-line.
19450         * apropos.el (apropos-command):
19451         * ehelp.el (electric-helpify):
19452         * printing.el (pr-show-setup):
19453         * strokes.el (strokes-help):
19454         * tutorial.el (tutorial--describe-nonstandard-key)
19455         (tutorial--detailed-help):
19456         * woman.el (woman-mini-help, woman-display-extended-fonts):
19457         * calc/calc-help.el (calc-describe-key):
19458         * emulation/edt.el (edt-electric-helpify):
19459         * international/mule-diag.el (mule-diag):
19460         * play/yow.el (apropos-zippy):
19461         * progmodes/python.el (python-describe-symbol):
19462         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
19463         * textmodes/table.el (*table--cell-describe-mode)
19464         (*table--cell-describe-bindings):
19465         Use help-print-return-message rather than the now obsolete alias.
19467         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
19468         (calendar-cursor-to-visible-date):
19469         * play/5x5.el (5x5-position-cursor):
19470         * play/decipher.el (decipher):
19471         * play/gomoku.el (gomoku-goto-xy):
19472         * play/landmark.el (lm-goto-xy):
19473         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
19474         (mpuz-paint-digit):
19475         Use forward-line, not goto-line.
19477         * mail/rmail.el (rmail-obsolete): Delete custom group.
19478         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
19479         (rmail-remote-password, rmail-remote-password-required):
19480         Remove unneeded :set-after and :set properties.
19482 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
19484         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
19486 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
19488         * loadup.el: Remove leftover macos code.
19490         * vc-git.el (vc-git-annotate-command): Run asynchronously.
19491         Explicitly pass the date format to git blame so that user local
19492         so that the output format can be parsed.
19494 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
19496         * net/dbus.el (top): Don't check for (getenv
19497         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
19499 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
19501         * log-edit.el (log-edit-strip-single-file-name): New var.
19502         (log-edit-insert-changelog): Use it.  Bug#3571
19504 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
19506         * subr.el (read-passwd): Use read-key so keypad keys work as well.
19507         Bug#3287
19509         * help.el (help-print-return-message): Rename from
19510         print-help-return-message.
19512         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
19513         cvs-mode-map parent hack.
19514         (log-view-mode): Derive from special-mode.
19516         * linum.el (linum-mode): window-size-change-functions is redundant.
19517         Adapt to new window-configuration-change-hook behavior.
19518         (linum-after-size, linum-after-config): Remove.
19520         * imenu.el (imenu-example--name-and-position)
19521         (imenu-example--lisp-extract-index-name)
19522         (imenu-example--create-lisp-index, imenu-example--create-c-index):
19523         Mark as obsolete.
19525         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
19526         (inferior-prolog-mode): Use it.
19527         (inferior-prolog-load-file): Reset list of errors.
19529 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
19531         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
19533         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
19535 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
19537         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
19538         is running already.
19540 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
19542         * subr.el (listify-key-sequence-1): Use normal syntax since those
19543         integers are nowadays always represented by the same (positive) number
19544         on all platforms.
19545         (read-key-empty-map): New const.
19546         (read-key-delay): New var.
19547         (read-key): New function.
19548         (force-mode-line-update): Use with-current-buffer.
19549         (locate-user-emacs-file): Don't forget to abbreviate the file name.
19550         (start-process-shell-command, start-file-process-shell-command):
19551         Discourage the use of command-args.
19553 2009-08-19  Glenn Morris  <rgm@gnu.org>
19555         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
19557 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
19559         * simple.el (choose-completion-string): Don't rely on
19560         minibuffer-completing-file-name and ad-hoc checks to decide whether
19561         to continue completion or not.
19563         * minibuffer.el (minibuffer-hide-completions): New function.
19564         (completion--do-completion): Use it.
19565         (completions-annotations): New face.
19566         (completion--insert-strings): Use it.
19567         (completion-pcm--delim-wild-regex): Add docstring.
19568         (completion-pcm--string->pattern): Add support for 0-width delimiters
19569         in completion-pcm--delim-wild-regex.
19571 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
19573         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
19574         Remove unused var `buffer-modified-p'.
19576         * minibuffer.el (completion--do-completion): Move point for the #b001
19577         case as well (bug#4176).
19578         (minibuffer-complete, minibuffer-complete-word): Don't move point.
19580 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
19582         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
19583         and :session buses.
19585 2009-08-18  Kenichi Handa  <handa@m17n.org>
19587         * international/ucs-normalize.el (ucs-normalize-version):
19588         Change to 1.1.
19589         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
19590         (utf-8-hfs): Make it perform normalization on encoding too.
19592         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
19593         (sentence-end-without-space): Delete duplicated chars.
19594         (sentence-end-base): Likewise.
19596         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
19597         (html-mode): Delete duplicated chars from sentence-end-base.
19599         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
19600         (texinfo-mode): Delete duplicated chars from sentence-end-base.
19602 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
19604         * files.el (hack-one-local-variable): If the mode function is for
19605         a minor mode, pass it an argument (Bug#4148).
19607 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
19609         * net/tramp.el (tramp-register-completion-file-name-handler):
19610         Check also for (member 'partial-completion completion-styles).
19612 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
19614         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
19615         abbrev (Bug#3943).
19617 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
19619         * progmodes/cperl-mode.el: Merge upstream 6.2.
19620         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
19621         (cperl-forward-re): Check cperl-brace-recursing.
19622         (cperl-highlight-charclass): New function.
19623         (cperl-find-pods-heres): Use it.
19624         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
19625         (cperl-beautify-regexp-piece): Fix column calculation.
19626         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
19627         (cperl-beautify-level): Don't process entire regexp.
19628         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
19629         calling man.
19630         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
19631         (cperl-init-faces): Build a list in the normal way.
19633 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
19635         * calendar/parse-time.el (parse-time-string-chars): Save match
19636         data.
19638 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
19640         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
19641         (sql-product): Use it.
19642         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
19643         (sql-set-product): Add completion.
19644         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
19645         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
19646         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
19647         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
19648         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
19649         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
19650         (sql-highlight-db2-keywords): Remove.
19651         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
19652         (sql-highlight-product): Use derived-mode-p.
19653         (sql-set-sqli-buffer): Use with-current-buffer.
19654         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
19655         Simplify.
19657         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
19659         * term.el: Fix commenting convention, turn comments into docstrings.
19661 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
19663         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
19665 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
19667         * calendar/parse-time.el (parse-time-string-chars): Compute using
19668         character classes, to handle non-ascii characters (Bug#3190).
19670 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
19672         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
19673         another heredoc if the user adds another < (Bug#3226).
19675         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
19676         Don't initialize based on window-system (Bug#4124).
19678         * facemenu.el (facemenu-read-color): Use a completion function
19679         that accepts any defined color, such as RGB triplets (Bug#3677).
19681         * files.el (get-free-disk-space): Change fallback default
19682         directory to /.  Expand DIR argument before switching to fallback.
19683         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
19685 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
19687         * files.el (load-library): Doc fix.
19689 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
19691         * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
19692         (viper-if-string): Redefine C-s in the minibuffer to insert the last
19693         incremental search string.
19695         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
19696         XEmacs.
19698         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
19699         (ediff-merge-region-is-non-clash)
19700         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
19701         Also check if the job is really a merge job.
19703         * ediff.el (ediff-current-file): New function.
19705 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
19707         * progmodes/js.el: Edit docstrings throughout to follow Emacs
19708         conventions.
19709         (js-insert-and-indent): Delete function.
19710         (js-mode-map): Don't bind keys to js-insert-and-indent.
19711         (js-beginning-of-defun): Rename from js--beginning-of-defun.
19712         (js-end-of-defun): Rename from js--end-of-defun.
19713         (js-auto-indent-flag): Delete variable.
19715 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
19717         * progmodes/js.el: Remove proclaim statement.
19718         Defvar which-func-imenu-joiner-function to silence compiler.
19720         * files.el (auto-mode-alist): Use js-mode for .js files.
19722         * progmodes/js2-mode.el: Remove file.
19724         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
19726         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
19728         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
19730 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
19731             Karl Landstrom  <karl.landstrom@brgeight.se>
19733         * progmodes/js.el: New file.
19735 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
19737         * timezone.el (timezone-parse-date): Add ability to understand ISO
19738         basic format (minimal separators) dates in addition to the
19739         already-supported extended format dates.
19741 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
19743         * international/ucs-normalize.el: Add a `coding' file variable.
19745         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
19747 2009-08-14  Sam Steingold  <sds@gnu.org>
19749         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
19751 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
19753         * faces.el (help-argument-name): Define it here instead of
19754         help-fns.el, because in daemon mode help-fns.el may be loaded when
19755         faces are still uninitialized (Bug#1078).
19757         * help-fns.el (help-argument-name): Move defface to faces.el.
19759 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
19761         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
19762         create buffer with a pty but no process so that GDB can make the
19763         inferior the controlling process.
19765 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
19767         * international/ucs-normalize.el: New file.
19769 2009-08-13  Richard Stallman  <rms@gnu.org>
19771         * mail/rmail.el (rmail-get-attr-names):
19772         Accept an attribute header that is too short.
19774         * mail/rmail.el (rmail-forget-messages):
19775         Ignore nil elt in rmail-message-vector.  Use dotimes.
19777         * progmodes/compile.el (compilation-goto-locus):
19778         Use next-error-move-function.
19780         * simple.el (next-error-move-function): New variable.
19782 2009-08-12  Juri Linkov  <juri@jurta.org>
19784         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
19785         always non-nil.  (Bug#4052)
19787         * replace.el (read-regexp): Return empty string when
19788         `default-value' is nil.
19789         (keep-lines-read-args): Don't use empty string as the
19790         default value for `read-regexp'.  (Bug#2495)
19792 2009-08-12  Juri Linkov  <juri@jurta.org>
19794         * international/mule-cmds.el (ucs-insert): Change arguments
19795         from `arg' to `character', `count', `inherit' to be the same
19796         as in `insert-char'.  Doc fix.  (Bug#4039)
19798         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
19800 2009-08-12  Juri Linkov  <juri@jurta.org>
19802         * files-x.el: New file.
19804         * files.el: Move code that deals with adding/deleting
19805         file/directory-local variables to files-x.el.
19807         * Makefile.in (ELCFILES): Add files-x.elc.
19809 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
19811         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
19812         to use `goto-line'.
19813         (gdb-place-breakpoints, gdb-get-location): Rewritten without
19814         `goto-line'.
19815         (gdb-invalidate-disassembly): Do not refresh upon receiving
19816         'update signal.  Instead, update all disassembly buffers only after
19817         threads list.
19818         (gdb): Send -target-detach when buffer is killed (Bug#3794).
19819         (gdb-starting): Move -data-list-register-names...
19820         (gdb-stopped): ...here so it's sent when first thread stops.
19821         (gdb-registers-handler-custom): Do nothing if register names are
19822         unknown yet.
19824         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
19825         from `gdb-mi.el' to avoid extra tangling.
19827         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
19828         change which breaks `gud-def' definitions used in `gdb'.
19829         (gdb-update-gud-running): No extra fuss for updating frame number.
19831 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
19833         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
19834         (describe-language-environment-map, setup-language-environment-map)
19835         (set-coding-system-map): Move initialization into declaration.
19836         (set-language-info-alist): Last arg to define-key-after can be skipped.
19838         * international/quail.el (quail-completion-1): Simplify.
19839         (quail-define-rules): Use slightly more compact code.
19840         (quail-insert-decode-map): Propertize keys, compact columns.
19842         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
19843         Add goto-line.
19845 2009-08-10  Miles Bader  <miles@gnu.org>
19847         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
19848         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
19849         (js2-instance-member, js2-private-member, js2-private-function-call)
19850         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
19851         (js2-magic-paren, js2-external-variable):
19852         Remove "-face" suffix from face names.
19853         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
19854         (js2-highlight-undeclared-vars, js2-peek-token)
19855         (js2-parse-function-params, js2-mode-show-errors)
19856         (js2-mode-show-warnings, js2-make-magic-delimiter)
19857         (js2-mode-highlight-magic-parens): Update to use new face names.
19859 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
19861         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
19862         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
19864 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
19866         * subr.el: Provide hashtable-print-readable.
19868         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
19869         hs-c-like-adjust-block-beginning.
19870         (hs-hide-block-at-point): Stop hiding at the beginning of
19871         hs-block-end-regexp (Bug#700).
19873 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
19875         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
19876         a macro.
19877         (gdb-registers-handler-custom): Do not fail when register names
19878         are unavailable.
19880 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
19882         * progmodes/gdb-mi.el (gdb-control-all-threads)
19883         (gdb-control-current-thread): Interactive setters for
19884         `gdb-gud-control-all-threads' to use in menu.
19885         (gdb-show-run-p): Show «Go» when process is not active.
19886         (gud-tool-bar-map): Add non-stop/A,T indicator.
19887         Uses gud/thread.xpm and gud/all.xpm.
19889 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
19891         * net/net-utils.el (net-utils-font-lock-keywords): New var.
19892         (nslookup-font-lock-keywords): Make it a variable.
19893         (net-utils-mode): New mode for viewing diagnostic network output.
19894         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
19895         (net-utils-run-simple): New function.
19896         (ifconfig, iwconfig, netstat, arp, route): Use it.
19898 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
19900         * progmodes/gdb-mi.el (gdb-read-memory-custom)
19901         (gdb-memory-set-address, def-gdb-set-positive-number)
19902         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
19903         after changing settings.
19904         (gdb-invalidate-disassembly): Update when first shown.
19905         (gdb-edit-locals-value): Fixed.
19906         (gdb-registers-handler-custom): Print registers in right order and
19907         allow changing register values (only for current thread yet).
19908         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
19909         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
19910         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
19911         (gdb-locals-handler-custom, gdb-registers-handler-custom):
19912         Thread info in mode name.
19913         (gdb-registers-mode-map): TAB to switch to locals.
19915 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
19917         * mail/rmail.el (rmail-add-mbox-headers)
19918         (rmail-set-message-counters-counter): Search for
19919         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
19921 2009-08-08  Glenn Morris  <rgm@gnu.org>
19923         * Makefile.in (ELCFILES): Update.
19925 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
19927         * mail/sendmail.el (mail-yank-original):
19928         Set buffer-file-coding-system from the one used by the message whose
19929         text is yanked.
19931         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
19932         to "windows" when "pgnuplot" is used.
19933         (calc-graph-command, calc-gnuplot-command, calc-graph-init):
19934         Don't call accept-process-output if "pgnuplot" is used.
19935         (calc-graph-init): Don't send -display and -geometry to
19936         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
19937         running "pgnuplot -V" with shell-command-to-string.
19939         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
19940         the default.
19942 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
19944         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
19945         org/org-latex.elc.
19947 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
19949         * vc-dispatcher.el (vc-resynch-window): Update comment.
19951         * term.el (term-handle-ansi-escape): Add comments with the
19952         terminfo capabilities implemented.
19954 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
19956         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
19957         (gdb-var-create-handler): Rewritten using JSON parser.
19958         (gdb-propertize-header): Move earlier.
19959         (gdb-set-header): Remove to avoid duplication.
19960         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
19961         Refresh disassembly buffers only after threads list have been
19962         update.
19963         (gdb-threads-header, gdb-registers-header): Per-buffer header line
19964         variables.
19966 2009-08-04  Juri Linkov  <juri@jurta.org>
19968         * files.el: Commands to add/delete file/directory-local variables.
19969         (read-file-local-variable, read-file-local-variable-value)
19970         (read-file-local-variable-mode, modify-file-local-variable)
19971         (modify-file-local-variable-prop-line)
19972         (modify-dir-local-variable): New functions.
19973         (add-file-local-variable, delete-file-local-variable)
19974         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
19975         (add-dir-local-variable, delete-dir-local-variable)
19976         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
19977         (copy-dir-locals-to-file-locals-prop-line): New commands.
19979 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
19981         * abbrev.el (insert-abbrev-table-description): Prettify output.
19982         Suggested by Karl Chen.
19984 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
19986         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
19987         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
19988         (gdb-overlay-arrow-position, gdb-thread-position)
19989         (gdb-disassembly-position): Declare variables.
19990         (gdb-wait-for-pending): Function now.
19991         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
19992         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
19993         compilation goes smoothly.
19994         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
19995         (gdb-non-stop-setting): New customization setting which replaces
19996         `gdb-non-stop' so changing it doesn't break active GDB session.
19997         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
19998         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
19999         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
20000         (gdb-show-threads-by-default): New customization options.
20001         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
20002         routines.
20003         (gdb-get-buffer-create): Send buffers update signal when they are
20004         created.
20005         (gdb-invalidate-locals, gdb-invalidate-registers)
20006         (gdb-invalidate-breakpoints)
20007         (gdb-invalidate-threads, gdb-invalidate-disassembly)
20008         (gdb-invalidate-memory): Accept update signal.
20009         (gdb-current-context-command): Use --frame option.
20010         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
20011         Implement `gdb-frame-number' selection logic.
20012         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
20013         whether to show GUD toolbar buttons.
20014         (gdb-thread-exited): Unselect current thread when it exits.
20015         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
20016         (gdb-mark-line): Routine which sets overlay arrow or inverses
20017         video on fringeless displays.
20018         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
20019         to build aligned columns of data in GDB buffers and set text
20020         properties line-by-line.
20021         (gdb-invalidate-breakpoints)
20022         (gdb-breakpoints-list-handler-custom)
20023         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
20024         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
20025         (gdb-registers-handler-custom): Align data columns.
20026         (gdb-locals-handler-custom): Now prints data like in variable
20027         declarations.
20028         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
20029         Remove confusing buttons.
20030         (gdb-invalidate-threads): Append --frame.
20031         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
20032         between breakpoints/threads buffers.
20033         (gdb-set-window-buffer): Now can ignore dedicated windows.
20034         (gdb-propertize-header): Use `gdb-set-window-buffer'.
20035         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
20036         (def-gdb-thread-buffer-gud-command): Replaces
20037         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
20038         for fine thread control.
20039         (gdb-preempt-existing-or-display-buffer): New function used to
20040         display bound buffers without breaking window layout.
20041         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
20042         (gdb-select-frame): New version of `gdb-frames-select' which now
20043         sets `gdb-frame-number' so commands may use --frame option instead
20044         of inner debugger state.
20045         (gdb-frame-handler): Do not set `gdb-frame-number'.
20046         (gdb-threads-mode-map): Select threads with mouse.
20048         * progmodes/gud.el (gdb-gud-context-call): Declare function to
20049         avoid compilation warning.
20050         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
20051         `gdb-show-stop-p`.
20053         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
20054         Argument `key' renamed to `buffer-type'.
20055         (gdb-current-context-buffer-name): Do not add thread info to
20056         buffer name when no thread is selected.
20057         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
20058         command (bug 3794).
20059         (gdb-thread-selected): Handle `=thread-selected' notification.
20060         (gdb-wait-for-pending): New macro to deal with congestion problems.
20061         (gdb-breakpoints-list-handler-custom): Don't fail on pending
20062         breakpoints.
20063         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
20064         This fixes problem similar to one described in bug 3947.
20065         (gud-menu-map): More menu items.
20066         (gdb-init-1): Reset `gdb-thread-number' to nil.
20068         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
20069         non-stop settings.
20071         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
20072         (gdb-current-context-command): Do not append --thread if
20073         `gdb-thread-number' is nil.
20074         (gdb-running-threads-count, gdb-stopped-threads-count):
20075         New variables.
20076         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
20077         (gdb-stopped-hooks, gdb-switch-when-another-stopped):
20078         New customization options.
20079         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
20080         GUD commands.
20081         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
20082         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
20083         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
20084         set `gdb-thread-number' and update `gud-running' properly.
20085         (gdb-running): Update threads list when new threads appear.
20086         (gdb-stopped): Support non-stop operation and new thread switching
20087         logic.
20088         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
20089         (gdb-json-partial-output): New set of JSON routines.
20090         (def-gdb-auto-update-trigger): New `signal-list' optional
20091         argument.
20092         (gdb-thread-list-handler-custom): Update `gud-running',
20093         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
20094         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
20095         (gdb-continue-thread, gdb-step-thread): New commands for fine
20096         thread execution control.
20097         (gud-menu-map): New menu items to switch non-stop options.
20098         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
20099         (gdb-send): Mimic RET properly (bug 3794).
20101         * progmodes/gdb-mi.el (gdb-rules-name-maker)
20102         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
20103         gdb-buffer-rules.
20104         (def-gdb-auto-update-handler): New nopreserve optional argument.
20105         (gdb-stack-list-frames-custom): Print stack from top to bottom.
20107         * progmodes/gdb-mi.el (gdb-pc-address): Remove unused variable.
20108         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
20109         (gdb-parent-mode): New mode to derive other GDB modes from.
20110         (gdb-display-disassembly-for-thread)
20111         (gdb-frame-disassembly-for-thread): New commands for threads
20112         buffer.
20114         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
20115         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
20116         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
20117         (gdb-update): We now store all GDB buffers in a list so that they
20118         can be updated by traversing a list instead of calling invalidate
20119         triggers explicitly.
20120         (def-gdb-trigger-and-handler): New macro to define trigger-handler
20121         pair for GDB buffer.
20122         (gdb-stack-buffer-name): Add thread information.
20123         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
20124         handle pending triggers.
20125         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
20126         (def-gdb-thread-buffer-simple-command)
20127         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
20128         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
20129         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
20130         New commands which show buffers bound to thread.
20131         (gdb-stack-list-locals-regexp): Remove unused regexp.
20133         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
20134         (gdb-locals-buffer-name, gdb-registers-buffer-name)
20135         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
20136         to (gud-comint-buffer) in *-buffer-name functions
20137         because (gdb-get-target-string) already does that.
20138         (gdb-locals-handler-custom, gdb-registers-handler-custom)
20139         (gdb-changed-registers-handler): Rewritten without regexps.
20141         * progmodes/gdb-mi.el: Basic thread selection support.
20142         (gdb-thread-number): New variable.
20143         (gdb-current-context-command): New macro which adds --thread
20144         option to command.
20145         (gdb-threads-mode-map): Select thread with SPC.
20146         (gdb-thread-list-handler-custom): Mark current thread with overlay
20147         arrow.  Synchronize GDB thread and Emacs thread.
20148         (gdb-select-thread): New command which selects current thread.
20149         (gdb-invalidate-frames, gdb-invalidate-locals)
20150         (gdb-invalidate-registers): Use --thread option.
20152 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
20154         * net/tramp.el (top): Make check for tramp-gvfs loading more
20155         robust.  (Bug#3977)
20156         (tramp-handle-insert-file-contents): `unwind-protect' must be
20157         inside `with-parsed-tramp-file-name'.
20159         * net/tramp-gvfs.el (top): Remove superfluous message when loading
20160         fails.
20162 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
20164         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
20165         directory if CLASSPATH is not set.
20167 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
20169         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
20170         New defconst.
20171         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
20173 2009-08-02  Kevin Ryde  <user42@zip.com.au>
20175         * net/newst-backend.el (newsticker--raw-url-list-defaults):
20176         Update freshmeat link.  Delete newsforge.com as it seems gone.
20178 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
20180         * select.el (x-set-selection): Doc fix (Bug#4021).
20182         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
20184         * help-fns.el (describe-variable): Treat list return values from
20185         dir-locals-find-file properly (Bug#4005).
20187 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
20189         * net/tramp.el (tramp-debug-message): Print also microseconds.
20191 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
20193         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
20194         or END is non-nil.
20195         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
20196         (tramp-get-debug-buffer): Change `outline-regexp' according to new
20197         format.
20199         * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
20200         (tramp-get-file-property): Use it.
20202         * autorevert.el (auto-revert-handler):
20203         Allow `auto-revert-tail-mode' for remote files.
20205 2009-08-02  Jason Rumney  <jasonr@gnu.org>
20207         * minibuffer.el (read-file-name): Treat confirm options to
20208         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
20210 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
20212         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
20213         (font-lock-variable-name-face, font-lock-constant-face):
20214         Darken the colors for light backgrounds.
20216 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
20218         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
20219         month names.  (Bug#3987)
20221 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
20223         * simple.el (line-move-finish): Pass whole number to
20224         line-move-to-column.
20225         (line-move-visual): Perform hscroll to the recorded position.
20227 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
20229         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
20231 2009-07-29  Alan Mackenzie  <acm@muc.de>
20233         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
20235 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
20237         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
20238         (gdb-place-breakpoints): Use full path when setting breakpoints.
20240 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
20242         * calc/calc.el (calc-mode-map): Add keybinding for
20243         `calc-transpose-lines'.
20245 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
20247         * calc/calc-misc.el (calc-transpose-lines): New function.
20249 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
20251         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
20252         Simplify check for out-of-band methods.
20253         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
20254         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
20256 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
20258         * vc-git.el (vc-git-checkin): Fix typo.
20260 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
20262         * progmodes/js2-mode.el: New file.
20264 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
20266         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
20267         (gud-menu-map): Adjust tooltip accordingly.
20269 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
20271         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
20272         (vc-bzr-log-view-mode): Adjust log-view-file-re.
20274         * add-log.el (change-log-mode-map): Add a menu.
20276 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
20278         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
20279         function returns nil.
20280         (dbus-handle-event): Handle special return value :ignore.
20281         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
20283 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
20285         * view.el (view-mode-enable): Don't define Helper-return-blurb if
20286         it's not needed.
20288 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
20290         Fix Bug#3888:
20292         * w32-vars.el (x-select-enable-clipboard): Doc fix.
20294         * term/pc-win.el (x-display-name, x-colors)
20295         (x-select-enable-clipboard, x-select-text): Doc fix.
20297         * term/common-win.el (x-display-name, x-colors): Doc fix.
20299         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
20300         (xw-defined-colors): Doc fix.
20302         * w32-fns.el (x-select-text, x-setup-function-keys)
20303         (x-get-selection, x-set-selection): Doc fix.
20305         * term/x-win.el (x-select-text, x-setup-function-keys)
20306         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
20308         * select.el (x-set-selection): Doc fix.
20310 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
20312         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
20313         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
20314         "IsNSSSupportAvailable" method is not available.
20315         Reported by Steve Youngs <steve@sxemacs.org>.
20317 2009-07-24  Kenichi Handa  <handa@m17n.org>
20319         * international/characters.el: Fix setting of category ?C, ?|, ?K,
20320         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
20321         (build-unicode-category-table): Fix range checks.
20323 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
20325         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
20326         the buffer we try to sync is current when calling
20327         vc-resynch-buffer.
20329         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
20330         not show up to date files.
20332 2009-07-24  Glenn Morris  <rgm@gnu.org>
20334         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
20335         Add autoload cookies.  If necessary, initialize.
20336         (elint-log): Handle non-file buffers.
20337         (elint-initialize): Add optional argument to reinitialize.
20338         (elint-find-builtin-variables): Save excursion.
20340 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
20342         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
20343         for Lint.
20345 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
20347         * vc.el (vc-print-log-internal): New function, split out from ...
20348         (vc-print-log): ... here.
20349         (vc-dir-move-to-goal-column): Declare.
20351         * vc-git.el (vc-git-add-signoff): New variable.
20352         (vc-git-checkin): Use it.
20353         (vc-git-toggle-signoff): New function.
20354         (vc-git-extra-menu-map): Bind it to menu.
20355         (vc-git--run-command-string): Accept a nil FILE argument.
20356         (vc-git-stash-list): New function.
20357         (vc-git-dir-extra-headers): Use it.
20359 2009-07-23  Glenn Morris  <rgm@gnu.org>
20361         * help-fns.el (describe-variable): Describe ignored and risky local
20362         variables in a similar way to that in which we describe safe ones.
20364         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
20365         (byte-compile-output-file-form, byte-compile-output-docform)
20366         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
20367         Give some more local variables with common names a "bytecomp-" prefix,
20368         so as not to shadow things during compilation.
20369         * emacs-lisp/cl-macs.el (load-time-value)
20370         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
20371         `outbuffer' to `bytecomp-outbuffer'.
20373         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
20374         since the next two variables cover them automatically now.
20375         (elint-builtin-variables, elint-autoloaded-variables): New.
20376         (elint-unknown-builtin-args): Remove all members, since they can be
20377         parsed automatically now.
20378         (elint-extra-errors): New.
20379         (elint-env-add-env, elint-env-add-macro): Use cadr.
20380         (elint-current-buffer): Use or.  Change final message.
20381         (elint-get-top-forms): Use line-end-position.
20382         (elint-init-env): Use cadr.  Handle autoload, declare-function,
20383         and defalias.
20384         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
20385         (regexp-assoc): Remove unused function.
20386         (elint-top-form): Set elint-current-pos, to record the start of the
20387         top-level form, for compilation-mode.
20388         (elint-form): Trap errors in macro expansion.  Use dolist.
20389         (elint-unbound-variable): Use elint-builtin-variables and
20390         elint-autoloaded-variables.
20391         (elint-get-args): Use cadr, or.
20392         (elint-check-cond-form): Use dolist, cadr.
20393         (elint-check-condition-case-form): Doc fix.  Use cadr.
20394         Use elint-extra-errors.
20395         (elint-log): New function.
20396         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
20397         Distinguish errors and warnings.
20398         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
20399         Use a bytecomp-style format.
20400         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
20401         (elint-get-log-buffer): Use compilation mode.  Disable undo.
20402         Don't truncate lines.
20403         (elint-initialize): Set builtin and autoloaded variable lists.
20404         Only process elint-unknown-builtin-args if non-nil.
20405         (elint-find-builtin-variables, elint-find-autoloaded-variables):
20406         New functions.
20407         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
20409 2009-07-22  Kevin Ryde  <user42@zip.com.au>
20411         * net/newst-backend.el (newsticker--parse-atom-1.0)
20412         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
20413         (newsticker--parse-rss-1.0):
20414         * progmodes/idlwave.el (idlwave-mode):
20415         * progmodes/idlw-shell.el (idlwave-shell-mode):
20416         * progmodes/vera-mode.el (vera-mode):
20417         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
20418         * progmodes/vhdl-mode.el (vhdl-mode):
20419         * textmodes/table.el (table-generate-source)
20420         (table--warn-incompatibility):
20421         Hyperlink urls in docstrings with URL `...'.
20423 2009-07-22  Glenn Morris  <rgm@gnu.org>
20425         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
20426         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
20427         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
20428         Remove leading * from defcustom docs.
20430         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
20432         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
20433         defcustom doc.
20434         (list-load-path-shadows): Optionally, just return shadows as a string.
20436         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
20438 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
20440         * mail/rmailedit.el (rmail-edit-mode):
20441         Use auto-save-include-big-deletions.
20443         * mail/rmail.el (rmail-variables):
20444         Use auto-save-include-big-deletions.
20446         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
20447         changes.
20449 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
20451         * calc/calc.el (calc-undo-length): New variable.
20452         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
20454 2009-07-21  Richard Stallman  <rms@gnu.org>
20456         * files.el (auto-save-mode): Handle buffer-save-size = -2
20457         for toggling mode.
20459 2009-07-21  Glenn Morris  <rgm@gnu.org>
20461         * textmodes/ispell.el (ispell-looking-back): Update declaration.
20463         * calendar/todo-mode.el (calendar-current-date): Update declaration.
20465         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
20466         silence compiler.  Instead...
20467         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
20468         (ps-print-ensure-fontified): Update for above function name changes.
20470         * printing.el (pr-mh-get-msg-num, pr-mh-show)
20471         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
20472         silence compiler.  Instead...
20473         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
20474         (mh-show-buffer): Only define for compiler.
20475         (pr-mh-current-message): Update for above function name changes.
20477         * files.el (abort-if-file-too-large): Explicitly pass `filename'
20478         as an argument.
20479         (find-file-noselect, insert-file-1): Update for above change.
20481         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
20483         * mail/mailclient.el (mailclient-send-it): Fix message.
20485         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
20486         (edebug-eval): Check cl-debug-env is bound.
20487         (print-level, print-circle): Don't redefine built-in variables.
20489         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
20490         (custom-print-vectors): Remove old comments from doc.
20492         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
20493         (emerge-version): Make the variable an obsolete alias for the
20494         emacs-version variable.  Make the function obsolete.
20495         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
20496         Emerge options, rather than merging in into the main Options menu.
20497         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
20498         and auto advance modes.  Disable edit/fast items when not relevant.
20500 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
20502         * term/vt420.el (terminal-init-vt420): Fix typo.
20504 2009-07-20  Sam Steingold  <sds@gnu.org>
20506         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
20507         variable (removed from compile.el on 2004-03-11).
20509 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
20511         * files.el (hack-local-variables-filter): Fix last change.
20513 2009-07-19  Juri Linkov  <juri@jurta.org>
20515         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
20516         (dir-local-variables-alist): New buffer-local variable.
20517         (hack-local-variables-filter): If variable is not dir-local,
20518         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
20519         because file-local overrides dir-local.
20520         (c-postprocess-file-styles) <declare-function>:
20521         Remove obsolete declaration.
20522         (hack-dir-local-variables): Add dir-local variable/value pair to
20523         `dir-local-variables-alist' and remove duplicates.  Doc fix.
20525         * help-fns.el (describe-variable): Add information about
20526         file-local and dir-local variables.
20528 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
20530         * files.el (hack-local-variables-filter): Rewrite.
20532 2009-07-19  Glenn Morris  <rgm@gnu.org>
20534         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
20535         Silence compiler by only defining on XEmacs.
20537         * international/mule.el (auto-coding-regexp-alist): Only match
20538         BABYL... at the start of buffer, not of lines.  (Bug#3790)
20540         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
20541         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
20542         (cal-menu-context-mouse-menu): Doc fix.
20544         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
20546         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
20548 2009-07-18  Juri Linkov  <juri@jurta.org>
20550         * info.el: Virtual Info keyword finder.
20551         (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
20552         (Info-finder-file): New variable.
20553         (Info-finder-find-file): New function.
20554         (finder-known-keywords, finder-package-info)
20555         (find-library-name, lm-commentary): Use defvar and
20556         declare-function to silence compiler warnings.
20557         (Info-finder-find-node): New function.
20558         (info-finder): New command.
20560         * subr.el (process-kill-buffer-query-function): New function.
20561         (add-hook)<kill-buffer-query-functions>: Add hook
20562         `process-kill-buffer-query-function'.
20564 2009-07-18  Alan Mackenzie  <acm@muc.de>
20566         * progmodes/cc-mode.el (c-before-hack-hook)
20567         (c-postprocess-file-styles): Give invocation of `c-set-style'
20568         DONT-OVERRIDE parameter of t.  Already set style variables will
20569         thus not be overridden by style settings given by `c-file-syle'.
20571         * files.el (hack-local-variables-filter): Remove entries with
20572         duplicate keys from `file-local-variables-alist'.
20574 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
20576         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
20577         x-set-selection if display-selections-p returns nil for the
20578         current frame.
20580 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
20582         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
20584 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
20586         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
20587         Accept nil in addition to a regexp.
20588         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
20589         Accept nil in addition to a regexp.
20590         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
20591         buffers that have an associated file.  Handle nil values of
20592         desktop-buffers-not-to-save and desktop-files-not-to-save.
20593         (Bug#3833)
20595         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
20596         (x-disown-selection-internal): New functions.
20598 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
20600         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
20601         warning.
20602         (gdb-breakpoints-header): Move forward to avoid compiler warning.
20603         (gdb-make-header-line-mouse-map): Remove duplicate definition.
20605 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
20607         * simple.el (set-mark): Revert last change.
20609 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
20611         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
20612         rendering of pngs is not possible instead of messaging a long
20613         description.
20615 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
20617         * w32-fns.el (x-selection-owner-p): New function.
20619         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
20620         (mouse-yank-at-click, mouse-yank-primary):
20621         If select-active-regions is non-nil, deactivate the mark before
20622         insertion.
20624         * simple.el (deactivate-mark, set-mark): Only save selection if we
20625         own it.
20627 2009-07-17  Kenichi Handa  <handa@m17n.org>
20629         * case-table.el (describe-buffer-case-table): Fix for the case
20630         that KEY is a cons.
20632 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
20634         * vc-rcs.el (vc-rcs-find-file-hook):
20635         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
20637 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
20639         * net/tramp.el (tramp-wait-for-output): Handle the case when
20640         commands do not return a newline but a null byte before the shell
20641         prompt.  (Bug#3858)
20643 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
20645         * term/ns-win.el (ns-set-alpha): Don't declare.
20646         (ns-set-background-alpha): Remove function.
20648 2009-07-16  Kevin Ryde  <user42@zip.com.au>
20650         * emacs-lisp/copyright.el (copyright-update): Save match-data across
20651         y-or-n-p, for safety.
20653 2009-07-16  Richard Stallman  <rms@gnu.org>
20655         * files.el (auto-save-mode): If buffer-saved-size is -2,
20656         don't clobber it.
20658         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
20659         (rmail-retry-ignored-headers): Add more uninteresting fields.
20661 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
20663         * net/rcirc.el (rcirc): Use history variables.
20664         (rcirc-server-name-history, rcirc-nick-name-history)
20665         (rcirc-server-port-history): New variables.
20667 2009-07-15  Kenichi Handa  <handa@m17n.org>
20669         * international/mule-cmds.el (set-language-environment-charset):
20670         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
20671         ignore them.
20673         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
20674         Delete unibyte-display.
20676 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
20678         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
20680 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
20682         * simple.el (deactivate-mark): Optional argument FORCE.
20683         (set-mark): Use deactivate-mark.
20685         * info.el (Info-search): No need to check transient-mark-mode
20686         before calling deactivate-mark.
20688         * select.el (x-set-selection): Doc fix.
20689         (x-valid-simple-selection-p): Allow buffer values.
20690         (xselect--selection-bounds): Handle buffer values.
20691         Suggested by David De La Harpe Golden.
20693         * mouse.el (mouse-set-region, mouse-drag-track):
20694         Call copy-region-as-kill before setting the mark, to let
20695         select-active-regions work.
20697 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
20699         * simple.el (deactivate-mark): If select-active-regions is
20700         non-nil, copy the selection data into a string.
20701         (activate-mark): If select-active-regions is non-nil, set the
20702         selection to the current buffer.
20703         (set-mark): Update selection if select-active-regions is non-nil.
20705         * select.el (x-valid-simple-selection-p): Allow buffer values.
20707 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
20709         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
20710         and more featureful message-mode.
20712 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
20714         * select.el (x-set-selection): Doc fix.
20715         (x-valid-simple-selection-p): Disallow selection data consisting
20716         of a list or cons of integers, since that is not used.
20717         (xselect--selection-bounds, xselect--int-to-cons): New functions.
20718         (xselect-convert-to-string, xselect-convert-to-length)
20719         (xselect-convert-to-filename, xselect-convert-to-charpos)
20720         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
20722 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
20724         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
20725         output in -break-info command (Emacs bug #3794).
20727 2009-07-14  Glenn Morris  <rgm@gnu.org>
20729         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
20730         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
20731         (edebug-print-length, edebug-print-level, edebug-print-circle)
20732         (edebug-sit-for-seconds, edebug-view-outside)
20733         (edebug-bounce-point, edebug-set-global-break-condition)
20734         (edebug-Go-nonstop-mode, edebug-trace-mode)
20735         (edebug-Trace-fast-mode, edebug-continue-mode)
20736         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
20737         (edebug-visit-eval-list): Doc fixes.
20739         * subr.el (def-edebug-spec): Doc fix.
20741 2009-07-14  Kenichi Handa  <handa@m17n.org>
20743         * international/characters.el: Fix setting of category ?C.
20745 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
20747         * term/ns-win.el (x-select-font): defalias x-select-font to
20748         ns-popup-font-panel instead of generate-fontset-menu.
20750 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
20752         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
20754 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
20756         * arc-mode.el (archive-find-type): Allow for a PK00 string before
20757         the PK\003\004 header (Bug#3770).
20759 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
20761         * pcomplete.el (pcomplete-comint-setup): Check for
20762         shell-dynamic-complete-filename too.
20764 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
20766         * simple.el (temporary-goal-column): Change the value for
20767         line-move-visual to a cons cell.
20768         (line-move-visual): Record or set the window hscroll, if
20769         necessary (Bug#3494).
20770         (line-move-1): Handle cons value of temporary-goal-column.
20772 2009-07-11  Kenichi Handa  <handa@m17n.org>
20774         * international/mule-diag.el (describe-character-set): Don't show
20775         width.
20777 2009-07-10  Sam Steingold  <sds@gnu.org>
20779         * progmodes/compile.el (compilation-mode-font-lock-keywords):
20780         Omake sometimes indents the errors it prints, so allow all
20781         regexps to start with spaces.
20783 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
20785         * cus-edit.el (customize-changed-options-previous-release):
20786         Bump value to 22.1.  (Bug#3804)
20788 2009-07-08  Sam Steingold  <sds@gnu.org>
20790         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
20791         to be a cons cell (test . ignored-directory) to selectively ignore
20792         some directories depending on the location of the search.
20794 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
20796         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
20797         remote user is root, on the local host.
20798         (tramp-local-host-p): Either the local user or the remote user
20799         must be root.  (Bug#3771)
20801 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
20803         * progmodes/gdb-mi.el (gdb): Remove description of
20804         gdb-use-separate-io-buffer.
20805         (menu): Don't allow toggling of or enable
20806         gdb-use-separate-io-buffer from menubar.
20808 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
20810         * mail/unrmail.el (unrmail): Make sure the message ends with two
20811         newlines (Bug#3769).
20813 2009-07-08  Glenn Morris  <rgm@gnu.org>
20815         * calendar/calendar.el (calendar-current-date): Rework previous change.
20817 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
20819         * calendar/calendar.el (calendar-current-date):
20820         Add an optional argument giving an offset from today.
20822 2009-07-08  Glenn Morris  <rgm@gnu.org>
20824         * tutorial.el (tutorial--describe-nonstandard-key):
20825         Adjust the message for when a key has been unbound.
20826         (help-with-tutorial): Hide the arch-tag.
20828 2009-07-08  Kenichi Handa  <handa@m17n.org>
20830         * international/fontset.el (setup-default-fontset): For each
20831         script, append (not set) font-specs.
20833         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
20834         docstring.
20836 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
20838         * progmodes/gdb-mi.el (gdb-init-1): Move sending
20839         -data-list-register-names to ...
20840         (gdb-starting): ... here because GDB 7.0 requires execution to
20841         have started when using this MI command.
20842         (gdb-set-header): New function to distinguish select and
20843         unselected tabs in gdb buffers.
20844         (gdb-propertize-header): New macro that uses gdb-set-header.
20845         (gdb-breakpoints-header, gdb-locals-header): Use it.
20846         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
20848 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
20850         * Makefile.in (ELCFILES): Remove fadr.elc.
20852 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
20854         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
20855         may contain frame information, so `string-match' should be used.
20856         (gdb-update): Disassembly is invalidated through
20857         `gdb-get-selected-frame'.
20858         (gdb-pad-string): New function to pad string with spaces.
20859         (gdb-invalidate-disassembly): Invalidate only if the buffer
20860         exists.
20861         (gdb-disassembly-handler-custom): Column alignment.
20862         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
20863         placing new ones.
20864         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
20865         end of line, too.
20866         (gdb-frame-handler): Match convention to for disassembly buffer
20867         mode name.
20868         (gdb-stack-list-frames-handler): Rewritten without regexps.
20869         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
20870         not highlight breakpoints without line information.
20871         (gdb-input): Add trailing newline to command.
20873         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
20874         buffer properly.
20875         (gdb-breakpoints-list-handler-custom): Replacement for
20876         `gdb-break-list-handler'.  Using real parser instead of regexps
20877         now.
20878         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
20879         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
20880         to place breakpoints.
20881         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
20882         functions.
20883         (gdb-disassembly-handler-custom): Show overlay arrow.
20884         (gdb-disassembly-place-breakpoints): Show breakpoints in
20885         disassembly buffer.
20886         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
20887         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
20888         instead of parsing breakpoints buffer.  Fixed old menu references
20889         in `gud-menu-map'.
20891         * fadr.el: Remove.
20893         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
20894         (gdb-memory-address): New variable which holds top address of
20895         memory page shown in memory buffer.
20896         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit):
20897         New customization variables.
20898         New functions:
20899         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
20900         display the memory buffer.
20901         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
20902         buffer display parameters.
20903         (def-gdb-memory-format, gdb-memory-format-binary)
20904         (gdb-memory-format-octal, gdb-memory-format-unsigned)
20905         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
20906         Functions for setting memory buffer format.
20907         (gdb-memory-unit-word, gdb-memory-unit-halfword)
20908         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
20909         unit size used in memory buffer.
20910         (gdb-memory-show-next-page, gdb-memory-show-previous-page):
20911         Switch to next/previous page of memory buffer.
20912         Now using (bindat-get-field) instead of fadr functions.
20914 2009-07-07  Sam Steingold  <sds@gnu.org>
20916         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
20917         non-top-level files.
20919 2009-07-07  Kenichi Handa  <handa@m17n.org>
20921         * international/mule-cmds.el (reset-language-environment):
20922         Put the highset priority to the charset iso-8859-1.
20924 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
20926         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
20927         to the end of the line when locating the block (Bug#700).
20929 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
20931         * net/tramp.el (tramp-handle-write-region): Flush file properties
20932         in case of short track.
20934 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
20936         * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
20937         Coded custom representation of verilog error regular expressions
20938         to work with Emacs-22's new format.
20939         (verilog-error-regexp-xemacs-alist): Coded custom representation
20940         of verilog error regular expressions to work with XEmacs format.
20941         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
20942         error recognition into XEmacs.
20943         (verilog-error-regexp-add-emacs): Hook routine to install verilog
20944         error recognition into Emacs-22.
20946 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
20948         * woman.el: Remove stand-alone closing parentheses.
20949         (woman-file-name, woman2-format-paragraphs)
20950         (woman-leave-blank-lines): Code cleanup.
20951         (woman-use-own-frame): Change default to nil.
20952         (woman-italic, woman-bold, woman-unknown, woman-addition):
20953         Change defaults to inherit from default faces.
20954         (woman2-process-escapes): Consume the newline after a stand-alone
20955         filler character (Bug#3651).
20957 2009-07-06  Glenn Morris  <rgm@gnu.org>
20959         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
20960         (top-level): Move provide to the end.
20961         (ffap): Remove defunct URL from custom group.
20963         * subr.el (eval-after-load): Doc fix.
20965 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
20967         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
20968         `calc-embedded-word' is called twice.
20970 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
20972         * files.el (find-alternate-file-other-window, find-alternate-file):
20973         Obey confirm-nonexistent-file-or-buffer.
20975 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
20977         * dired-aux.el (dired-show-file-type): Handle remote files.
20979 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
20981         * desktop.el (desktop-globals-to-save):
20982         Add file-name-history (Bug#2750).
20984 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
20986         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
20988 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
20990         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
20991         property on entire argument since this is what eshell-lisp-command
20992         expects.
20994 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
20996         * net/tramp-gvfs.el (tramp-gvfs-methods)
20997         (tramp-gvfs-zeroconf-domain)
20998         (tramp-bluez-discover-devices-timeout): Add version flag.
20999         (tramp-gvfs-handler-mounted-unmounted)
21000         (tramp-gvfs-connection-mounted-p): Polish handling of
21001         incompatibilities between GVFS 0.2 and 1.0.
21003 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
21005         * cus-start.el (all): Add make-pointer-invisible.
21007 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
21009         * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
21010         formatted correctly.
21012 2009-07-02  Juri Linkov  <juri@jurta.org>
21014         * info.el: Virtual Info files and nodes.
21015         (Info-virtual-files, Info-virtual-nodes): New variables.
21016         (Info-current-node-virtual): New variable.
21017         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
21018         New functions.
21019         (Info-file-supports-index-cookies): Use Info-virtual-file-p
21020         to check for a virtual file instead of checking a fixed list
21021         of node names.
21022         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
21023         instead of ad-hoc processing of "dir" and (apropos history toc).
21024         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
21025         instead of ad-hoc processing of "dir" and (apropos history toc).
21026         Reread a file when moving from a virtual node.
21027         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
21028         (Info-directory-toc-nodes, Info-directory-find-file)
21029         (Info-directory-find-node): New functions.
21030         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
21031         (Info-history): Move part of code to
21032         `Info-history-find-node'.
21033         (Info-history-toc-nodes, Info-history-find-file)
21034         (Info-history-find-node): New functions.
21035         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
21036         (Info-toc): Move part of code to `Info-toc-find-node'.
21037         (Info-toc-find-node): New function.
21038         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
21039         the current Info file name to references because now the node
21040         "*TOC*" belongs to the same Info manual.
21041         (Info-toc-build): Rename from `Info-build-toc'.
21042         (Info-toc-nodes): Rename input argument `file' to `filename'.
21043         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
21044         instead of ad-hoc processing of ("dir" apropos history toc).
21045         (Info-index-nodes): Use Info-virtual-file-p
21046         to check for a virtual file instead of checking a fixed list
21047         of node names.
21048         (Info-index-node): Add check for `Info-current-node-virtual'.
21049         Raise `save-match-data' higher up the tree to contain
21050         `search-forward' too (bug fix).
21051         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
21052         (Info-virtual-index-nodes): New variable.
21053         (Info-virtual-index-find-node, Info-virtual-index): New functions.
21054         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
21055         (Info-apropos-file, Info-apropos-nodes): New variables.
21056         (Info-apropos-toc-nodes, Info-apropos-find-file)
21057         (Info-apropos-find-node, Info-apropos-matches): New functions.
21058         (info-apropos): Move part of code to `Info-apropos-find-node' and
21059         `Info-apropos-matches'.
21060         (Info-mode-map): Bind "I" to `Info-virtual-index'.
21061         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
21062         for a virtual file instead of checking a fixed list of node names.
21064         * simple.el (async-shell-command): New command.
21066         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
21068         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
21069         instead of `mount-info'.
21071 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
21073         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
21074         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
21076 2009-07-02  Kenichi Handa  <handa@m17n.org>
21078         * international/mule.el (set-keyboard-coding-system): Force *-unix
21079         coding-system to avoid eol conversion.
21081 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
21083         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
21084         Add handler for `process-file', `shell-command' and
21085         `start-file-process'.
21086         (tramp-gvfs-handle-shell-command)
21087         (tramp-gvfs-handle-start-file-process)
21088         (tramp-gvfs-handle-process-file): New defuns.
21089         (tramp-synce-list-devices): Simplify check for existence of property.
21091 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
21093         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
21095 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
21097         * language/korean.el (set-language-info-alist): Add korean-cp949,
21098         cp949 to spec.
21100 2009-07-01  Kenichi Handa  <handa@m17n.org>
21102         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
21104         * international/encoded-kb.el: Deleted.
21106         * international/mule.el (set-keyboard-coding-system): Perform the
21107         necessary setup here instead of calling encoded-kbd-setup-display.
21109 2009-07-01  Glenn Morris  <rgm@gnu.org>
21111         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
21113 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
21115         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
21117 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
21119         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
21120         Handle also the 'rename case, when setting file modes.  (Bug#3712)
21121         (tramp-default-file-modes): Remove execute permissions.
21123         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
21124         (top): Add a default for "synce" in `tramp-default-user-alist'.
21125         Add completion function for "synce" method.
21126         (tramp-hal-service, tramp-hal-path-manager)
21127         (tramp-hal-interface-manager, tramp-hal-interface-device):
21128         New defconst.
21129         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
21130         (tramp-synce-list-devices, tramp-synce-parse-device-names):
21131         New defuns.
21133         * net/trampver.el: Update release number.
21135 2009-06-30  Kenichi Handa  <handa@m17n.org>
21137         * international/fontset.el (setup-default-fontset): Add CJK fonts
21138         for symbols and the other miscellaneous characters.
21140         * language/korea-util.el (setup-korean-environment-internal):
21141         Make char-width-table suitable for Korean environments.
21142         (exit-korean-environment): Cancel above.
21144         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
21145         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
21146         setup-function to make char-width-table suitable for respective
21147         environments, and an exit-function to cancel that.
21149         * language/japan-util.el (setup-japanese-environment-internal):
21150         Call use-cjk-char-width-table with arg `ja_JP'.
21152         * international/characters.el (cjk-char-width-table): Delete it.
21153         (cjk-char-width-table-list): New variable.
21154         (use-cjk-char-width-table): New arg local-name.
21155         (use-default-char-width-table): Fix for the case that Emacs is
21156         already using the default char-width-table.
21158 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
21160         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
21161         modes mandatory.  (Bug#3712)
21163 2009-06-29  Alan Mackenzie  <acm@muc.de>
21165         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
21166         correction between the visible width of TABs and their number of bytes.
21168 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
21170         * server.el (server-buffer-done): Prevent kill-buffer from
21171         prompting by clearing the buffer modification flag (Bug#3696).
21173 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
21175         * progmodes/verilog-mode.el (verilog-beg-of-statement)
21176         (verilog-endcomment-reason-re): Support unique case and priority case.
21177         (verilog-basic-complete-re): Support localparam lineup.
21178         (verilog-beg-of-statement-1): Fix for robustness, unique case.
21179         (verilog-set-auto-endcomments): Fix for unique case, always_comb
21180         commenting.
21181         (verilog-leap-to-case-head): Now support *nested* unique &
21182         priority case statements.
21183         (verilog-auto-lineup): Make just declarations the default (as it
21184         had been).
21185         (verilog-leap-to-case-head): Support priority/unique case statements.
21186         (verilog-auto-lineup): Rework to give users radio buttons to
21187         select the various styles of automatic lineup.
21188         (verilog-error-regexp-alist): Rework to support the XEmacs style
21189         of error regular expressions from compilers, lint tools &
21190         simulators.  Note that GNU Emacs has made it impossible for a mode
21191         to load such things.
21192         (electric-verilog-terminate-line, verilog-indent-declaration)
21193         (verilog-auto-wiure): Rework for radio button selection of
21194         auto-lineup selection of specification of auto lineup.
21195         (verilog-beg-of-statement-1): Redesign to support proper operation
21196         in additional code, based on testing with auto-lineup.
21197         (verilog-calculate-indent, assignments & declarations)
21198         (verilog-backward-token): Enhance to support auto-lineup of
21199         assignments & declarations.
21200         (verilog-in-directive-p, verilog-at-struct-p): New function for
21201         easy test of whether we are.
21202         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
21203         to support safe execution at almost anyline.
21204         (verilog-calc-1): Properly support indenting deep inside generate
21205         blocks.
21206         (verilog-init-font): Remove definition & use of verilog-init-font,
21207         as it is redundant with font-lock-defaults.
21208         (verilog-mode): Alter the definition of verilog-font-lock-defaults
21209         to avoid circular calls if syntax-ppss is a function (as is the
21210         case now in 22.x GNU Emacs) as that function would sometimes call
21211         itself, leading to (nearly) infinite recursion.
21212         (verilog-ovm-begin-re, verilog-ovm-end-re)
21213         (verilog-ovm-statement-re, verilog-leap-to-head)
21214         (verilog-backward-token): Add support for OVM macros.  Some are
21215         complete statements, and others open and close scopes like begin
21216         and end.
21217         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
21218         (verilog-defun-level-generate-only-re): Really fix the defun-list
21219         compilation issue.
21220         (verilog-calc-1, verilog-beg-of-statement): Enhance support for
21221         coverpoint, constraint and cross statements.
21222         (verilog-defun-level-list, verilog-generate-defun-level-list)
21223         (verilog-all-defun-level-list): Redo these specifications - it is
21224         too hard to support eval-when compile aggregation of lists also
21225         built at when-compile time.
21226         (verilog-defun-level-list): Place defconsts of variables used in
21227         building regular expressions which are built in eval-when-compile
21228         bodies in the same eval-when-compile body to facilitate compile
21229         without load.
21230         (verilog-beg-block-re-ordered): Support indenting
21231         virtual/protected tasks and functions.
21232         (verilog-defun-level-list, verilog-in-generate-region-p)
21233         (verilog-backward-ws&directives, verilog-calc-1): Speed up
21234         indentation of some module items (generate items).
21235         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
21236         across virtual/protected tasks and functions.
21238 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
21240         * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
21241         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
21242         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
21243         in concatenations.  Reported by Yishay Belkind.
21244         (verilog-auto-ascii-enum): Support one-hot state machines in
21245         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
21246         (verilog-auto-inst, verilog-auto-inst-port): Include interface
21247         modport in AUTOINST and add vl-modport for users.
21248         Reported by David Rogoff.
21249         (verilog-auto-inout-module, verilog-auto-inst)
21250         (verilog-decls-get-interfaces, verilog-insert-definition)
21251         (verilog-insert-one-definition, verilog-read-decls)
21252         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
21253         (verilog-sig-modport, verilog-signals-combine-bus)
21254         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
21255         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
21256         Suggested by David Rogoff.
21257         (verilog-repair-open-comma): Fix non-insertion of comma when
21258         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
21259         (verilog-make-width-expression): Simplify [A-1:0] expression
21260         widths to just {A{1'b0}}.
21261         (verilog-mode): Cleanup checkdoc warnings.
21262         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
21263         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
21264         inputs/outputs or data type.  Suggested by Vasu Kandadi.
21265         (next-error-last-buffer): Fix byte-compiler warning.
21266         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
21267         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
21268         or shell command text during AUTO expansion.  Suggested by Tad Truex.
21269         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
21270         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
21271         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
21272         in AUTOINOUT.  Reported by Matthew Lovell.
21273         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
21274         causing use of <= assignments.  Reported by Alex Reed.
21275         (verilog-read-decls): Fix triand, trior, wand, wor to be
21276         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
21277         (verilog-extended-complete-re): Support import "DPI-C" functions.
21278         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
21279         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
21280         (verilog-insert-date, verilog-insert-year)
21281         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
21282         Windows systems.  Reported by Michael Potts.
21283         (verilog-read-module-name): Fix AUTOINST when the child module
21284         declaration's name is a tick define.  Reported by Elliot Mednick.
21285         (verilog-read-decls): Fix V2K parameter bit subscripts getting
21286         passed to next parameter's definition.  Reported by Bruce T.
21287         (verilog-read-decls): Fix detecting "parameter int" when using
21288         AUTOINSTPARAM.  Reported by Bruce T.
21289         (verilog-goto-defun): Fix goto not finding modules unless first
21290         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
21291         (verilog-mode): Expand -f flag arguments on entry to mode so
21292         verilog-goto-defun will work.  Reported by Lawrence Butcher.
21293         (verilog-getopt): Expand environment variables in -f file
21294         arguments.  Suggested by Lawrence Butcher.
21295         (verilog-set-define): Fix "Symbol's value as variable is void"
21296         when reading enumerations.
21297         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
21298         Suggested by Stephen Peltan.
21299         (verilog-read-defines): Fix reading of enumerations in include
21300         files.  Reported by Steve Peltan.
21302 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
21304         * files.el (trash-directory): Fix defcustom type.
21306 2009-06-28  Juri Linkov  <juri@jurta.org>
21308         * help-fns.el (describe-function-1): Correctly locate adviced
21309         functions in hyperlink (Bug#2438).
21311 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
21313         * files.el (trash-directory): Change default to nil.
21314         (move-file-to-trash): If trash-directory is nil and
21315         system-move-file-to-trash is unbound, perform freedesktop-style
21316         trashing.
21318 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
21320         * files.el (move-file-to-trash): Add freedesktop trash
21321         support (Bug#973).
21323 2009-06-28  Glenn Morris  <rgm@gnu.org>
21325         * autorevert.el (global-auto-revert-non-file-buffers)
21326         (global-auto-revert-mode): Doc fixes.
21328 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
21330         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
21332 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
21334         * faces.el (x-handle-named-frame-geometry): Ensure that we have
21335         opened an X connection before calling x-get-resource (Bug#3194).
21337         * play/doctor.el: Remove reference to obsolete website.
21338         (make-doctor-variables): Correct grammar mistake (Bug#2633).
21340 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
21342         Remove find-file-not-found-hook VC method.  (Bug#2757)
21343         * vc-hooks.el (vc-file-not-found-hook)
21344         (vc-default-find-file-not-found-hook): Remove functions.
21345         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
21346         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
21347         * vc.el:
21348         * vc-hg.el:
21349         * vc-git.el: Do not mention find-file-not-found-hook VC method.
21351 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
21353         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
21354         compatibility function for `looking-back'.
21356         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
21357         Use `ispell-looking-back'.
21359 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
21361         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
21362         rather than `filename'.
21364 2009-06-23  Miles Bader  <miles@gnu.org>
21366         * face-remap.el (text-scale-set): New function.
21368 2009-06-23  Glenn Morris  <rgm@gnu.org>
21370         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
21372         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
21374         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
21376         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
21378         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
21379         Simplify Persian conditionals.
21381         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
21382         variable `filename'.
21384         * comint.el (comint-insert-input): Doc fix.
21386         * Makefile.in (ELCFILES): Fix typo in previous change.
21388 2009-06-23  Miles Bader  <miles@gnu.org>
21390         * cus-start.el: Add entry for `recenter-redisplay'.
21392 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
21394         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
21395         Add an optional argument for the backend, use it instead of
21396         calling vc-backend.
21397         (vc-mode-line): Add an optional argument for the backend.
21398         Pass the backend to vc-state and vc-working-revision.  Move code for
21399         special handling for vc-state being a buffer to ...
21401         * vc-rcs.el (vc-rcs-find-file-hook):
21402         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
21404         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
21405         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
21406         vc-stay-local-p and vc-mode-line calls.
21408         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
21409         (vc-cvs-diff, vc-cvs-annotate-command)
21410         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
21411         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
21412         vc-mode-line calls.
21414         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
21415         direct comparison.
21416         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
21417         backend when calling vc-mode-line.
21418         (vc-register): Do not create a closure for calling the vc register
21419         function, call it directly.
21421 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
21423         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
21424         to make it obvious item can be clicked.
21426         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
21428 2009-06-23  Kenichi Handa  <handa@m17n.org>
21430         * language/korea-util.el (korean-key-bindings): Change the binding
21431         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
21432         same command.
21434 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
21436         Sync with Tramp 2.1.16.
21438         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
21440         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
21441         when a loading of a package fails.  Completion function for rsync
21442         is `tramp-completion-function-alist-ssh'.
21443         (all): Replace all calls of `split-string' and
21444         `tramp-split-string' by `tramp-compat-split-string'.
21445         (tramp-default-method): Use `tramp-compat-process-running-p'.
21446         (tramp-default-proxies-alist): Allow also Lisp forms.
21447         (tramp-remote-path): Add choice "Private Directories".
21448         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
21449         (tramp-domain-regexp): Allow also "-", "_" and ".".
21450         (tramp-end-of-output): Remove newlines, and add "$" at the end.
21451         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
21452         (tramp-debug-message): Insert header line in debug buffer.
21453         (tramp-handle-directory-files-and-attributes-with-stat):
21454         Care about filenames with spaces, or starting with "-".
21455         (tramp-handle-dired-uncache): New defun.
21456         (tramp-handle-insert-directory): Don't flush the directory from
21457         cache, this is handled by `dired-uncache' now.
21458         (tramp-handle-insert-file-contents): Improve error handling.
21459         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21460         Quote `tramp-end-of-output'.
21461         (tramp-action-password): Improve trace message.
21462         (tramp-check-for-regexp): Both echoes must be present, before removing.
21463         (tramp-open-connection-setup-interactive-shell): Trace coding system.
21464         (tramp-compute-multi-hops): Eval cons cells of
21465         `tramp-default-proxies-alist'.
21466         (tramp-maybe-open-connection): Use the same command pattern for
21467         first hop and further hops.
21468         (tramp-wait-for-output): Remove handling of newlines.
21469         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
21470         (tramp-split-string): Remove function.  It is handled in
21471         tramp-compat now.
21473         * net/tramp-cmds.el (tramp-bug):
21474         Recommend `tramp-cleanup-all-connections' in the bug mail.
21476         * net/tramp-compat.el (tramp-compat-split-string)
21477         (tramp-compat-process-running-p): New defuns.
21479         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
21480         for `dired-uncache'.
21482         * net/tramp-gvfs.el: New package.
21484         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
21485         Add handler for `dired-uncache'.
21486         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
21488         * net/trampver.el: Update release number.  Make version check fit
21489         for SXEmacs 22.
21491 2009-06-22  Jim Meyering  <meyering@redhat.com>
21493         Automatically handle .xz suffix (XZ-compressed files), too.
21494         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
21495         XZ is the successor to LZMA: <http://tukaani.org/xz/>
21497 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
21498             Nick Roberts  <nickrob@snap.net.nz>
21500         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
21501         repository (http://sphinx.net.ru/hg/gdb-mi/).
21503 2009-06-22  Glenn Morris  <rgm@gnu.org>
21505         * files.el (dir-locals-collect-mode-variables): Allow for any number of
21506         `mode' and `eval' entries.  (Bug#3430)
21508         * Makefile.in (ELCFILES): Add fadr.elc.
21510         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
21511         differing behavior of \n and ^ in strings.  (Bug#3385)
21513         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
21515         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
21516         property.
21517         (lisp-indent-function): Make it a defcustom.
21519 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
21521         * progmodes/gdb-ui.el: Replace with ...
21522         * progmodes/gdb-mi.el: ... this file.
21523         * progmodes/gud.el: Modify for gdb-mi.el.
21525 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
21527         * fadr.el: New file.
21529 See ChangeLog.14 for earlier changes.
21531 ;; Local Variables:
21532 ;; coding: utf-8
21533 ;; End:
21535   Copyright (C) 2009-2011  Free Software Foundation, Inc.
21537   This file is part of GNU Emacs.
21539   GNU Emacs is free software: you can redistribute it and/or modify
21540   it under the terms of the GNU General Public License as published by
21541   the Free Software Foundation, either version 3 of the License, or
21542   (at your option) any later version.
21544   GNU Emacs is distributed in the hope that it will be useful,
21545   but WITHOUT ANY WARRANTY; without even the implied warranty of
21546   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21547   GNU General Public License for more details.
21549   You should have received a copy of the GNU General Public License
21550   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.