(command-line): Initialize the window-system after
[emacs.git] / lisp / ChangeLog
blobdf2c734a3413414c62f76dc50aab5f168c0a146d
1 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3         * startup.el (command-line): Initialize the window-system after
4         processing the command-line.
6         * textmodes/page.el (what-page): Make sure we don't inf-loop if
7         page-delimiter matches the empty string.
9 2009-09-16  Glenn Morris  <rgm@gnu.org>
11         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
12         byte-compile-not-obsolete-var.  It's a list now.
13         (byte-compile-not-obsolete-funcs): New variable.
14         (byte-compile-warn-obsolete): Don't warn about functions if they are in
15         byte-compile-not-obsolete-funcs.
16         (byte-compile-variable-ref, byte-compile-defvar): Update for
17         byte-compile-not-obsolete-vars name-change and list nature.
18         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
19         and variables behind (f)boundp tests.
20         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
22 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
24         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
26 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
28         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
29         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
30         Don't autoload.
32 2009-09-15  Stephen Eglen  <stephen@gnu.org>
34         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
35         the  virtual-buffers, use the name of the buffer specified by
36         find-file-noselect, as the match may be a symlink.  (This was a
37         problem if the target and the symlink had differet names.)
39 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
41         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
43         * desktop.el (desktop-path): Check user-emacs-directory.
45         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
47         * loadup.el: Use after-load-functions to GC after loading each file.
48         Remove the explicit GC calls that used to be sprinkled around.
50         * subr.el (after-load-functions): New hook.
51         (do-after-load-evaluation): Run it.  Use string-match-p to detect
52         `obsolete' packages, rather than painfully extracting the relevant
53         directory name.
55 2009-09-15  Glenn Morris  <rgm@gnu.org>
57         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
58         free variable `doc'.
60         * dired.el (dired-mode-map): Add menu entry for async shell command.
62         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
63         variables, also consider the .elc files, since the .el files are
64         normally gzipped (subsequent code locates the .el.gz from the .elc).
66         * calc/calc-prog.el (arglist): Define for compiler.
68         * calendar/diary-lib.el (diary-display-function): Change the default to
69         fancy display.
70         (body): Define for compiler.
72         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
73         (byte-compile-file-form, byte-compile-lambda)
74         (byte-compile-top-level-body, byte-compile-form)
75         (byte-compile-variable-ref, byte-compile-setq)
76         (byte-compile-setq-default, byte-compile-body)
77         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
78         (batch-byte-compile): Give some more local variables with common names
79         a "bytecomp-" prefix to avoid masking warnings about free variables.
81         * startup.el (command-line-1): Give local variables with common names a
82         distinguishing prefix, so as not to hide free variable warnings during
83         bootstrap.
85         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
86         clever and add a suffix to make a unique name, just let the user decide
87         whether or not to overwrite it.  If the input is a directory, write the
88         default filename to that directory.  (Bug#4388)
89         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
90         is a filename-as-a-directory.
92 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
94         * textmodes/page.el (what-page): Don't move to beginning of line.
95         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
97 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
99         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
101 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
103         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
104         * help.el (help-for-help-internal): Add purecopy calls for text.
106         * vc.el (top): print-log method now takes an optional SHORTLOG
107         argument.  Add a new method: root.
108         (vc-root-diff, vc-print-root-log): New functions.
109         (vc-log-short-style): New variable.
110         (vc-print-log-internal): Add support for showing short logs.
112         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
113         vc-print-root-log and vc-print-root-diff.
115         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
116         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
117         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
118         short logs.
120         * vc-cvs.el (vc-cvs-print-log):
121         * vc-mtn.el (vc-mtn-print-log):
122         * vc-rcs.el (vc-rcs-print-log):
123         * vc-sccs.el (vc-sccs-print-log):
124         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
125         that is ignored for now.
127         * vc-mtn.el (vc-mtn-annotate-command):
128         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
130 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
132         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
133         to function-key-map, and give them ascii-character property.
134         * term/x-win.el (x-alternatives-map):
135         * term/ns-win.el (ns-alternatives-map):
136         * term/internal.el (msdos-key-remapping-map):
137         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
139 2009-09-14  Glenn Morris  <rgm@gnu.org>
141         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
142         temp-buffers (2009-09-12).
144 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
146         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
147         the new read-key function.
149 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
151         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
152         is defined (Bug#4405).
154 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
156         * recentf.el (recentf-cleanup): Use a hash table to find
157         duplicates (Bug#4407).
159 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
161         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
162         kp-0 to ascii equivalents (Bug#4325).
164 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
166         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
168         * eshell/em-hist.el:
169         * eshell/em-dirs.el (eshell-complete-user-reference):
170         Declare pcomplete functions and variables to avoid compiler warnings.
172 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
174         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
175         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
176         * eshell/em-alias.el (eshell-aliases-file):
177         * eshell/em-hist.el (eshell-history-file-name):
178         Use expand-file-name instead of concat to make file names (Bug#4308).
180 2009-09-13  Glenn Morris  <rgm@gnu.org>
182         * ediff-merg.el (ediff-do-merge):
183         * filesets.el (filesets-run-cmd):
184         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
185         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
186         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
187         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
188         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
189         Replace empty `let's with `progn'.
191 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
193         * mail/sendmail.el (send-mail-function):
194         * tooltip.el (tooltip-mode):
195         * simple.el (transient-mark-mode):
196         * rfn-eshadow.el (file-name-shadow-mode):
197         * frame.el (blink-cursor-mode):
198         * font-core.el (global-font-lock-mode):
199         * files.el (temporary-file-directory)
200         (small-temporary-file-directory, auto-save-file-name-transforms):
201         * epa-hook.el (auto-encryption-mode):
202         * composite.el (global-auto-composition-mode):
203         Use custom-initialize-delay.
204         * startup.el (command-line): Don't explicitly call
205         custom-reevaluate-setting for all the above vars.
206         * custom.el (custom-initialize-safe-set)
207         (custom-initialize-safe-default): Delete.
209 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
211         * term/x-win.el (x-initialize-window-system):
212         * term/w32-win.el (w32-initialize-window-system):
213         * term/ns-win.el (ns-initialize-window-system): Don't call
214         mouse-wheel-mode since it's enabled globally by default already.
216         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
217         actually define the variable, but only silences the byte-compiler.
218         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
219         before looking it up.
220         (mouse-wheel-scroll-amount): Also reset the bindings if this value
221         is changed.
223 2009-09-12  Glenn Morris  <rgm@gnu.org>
225         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
226         1000.
227         (elint-add-required-env): Don't beep on error.
228         (elint-forms): In case of error, return ENV unchanged.
229         (elint-init-env): Skip non-list forms.
230         (elint-log): Handle unknown file positions.
232 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
234         * epg.el (epg-make-context): Add autoload cookie.
235         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
236         (epg-decrypt-string, epg-start-verify, epg-verify-file)
237         (epg-verify-string, epg-start-sign, epg-sign-file)
238         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
239         (epg-encrypt-string, epg-start-export-keys)
240         (epg-export-keys-to-file, epg-export-keys-to-string)
241         (epg-start-import-keys, epg-import-keys-from-file)
242         (epg-import-keys-from-string, epg-start-receive-keys)
243         (epg-receive-keys, epg-import-keys-from-server)
244         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
245         (epg-sign-keys, epg-start-generate-key)
246         (epg-generate-key-from-file, epg-generate-key-from-string):
247         Remove autoload cookie.
249 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
251         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
252         reevaluation of trash-directory.
254         * mwheel.el: Fix last change.
255         (mouse-wheel-mode): New defvar.
256         (mouse-wheel-mode): Remove autoload cookie.
258 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
260         * mwheel.el (mwheel-installed-bindings): New var.
261         (mouse-wheel-mode): Use it, so as to make sure we really remove all
262         the bindings we set last time.  Use custom-initialize-delay.
263         * loadup.el: Load mwheel after term/*-win.el.
264         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
265         and mouse-wheel-up-event now that their first evaluation is done
266         sufficiently late to be correct.
268         * startup.el (tutorial-directory): Make it a defcustom.
269         Use custom-initialize-delay rather than eval-at-startup to set it.
270         * image.el (image-load-path): Make it a defcustom.
271         Use custom-initialize-delay rather than eval-at-startup to set it.
272         * subr.el (eval-at-startup): Remove.
273         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
275         * subr.el (do-after-load-evaluation): Warn the user after loading an
276         obsolete package.
278 2009-09-12  Glenn Morris  <rgm@gnu.org>
280         * proced.el (proced-mark-alt): Remove alias.
281         (proced-mode-map): Remove proced-mark-alt.
283         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
284         Elint file and directory.  Remove initialization entry.
286         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
287         commands.
288         (elint-current-buffer): Set mode-line-process.
289         (elint-init-env): Handle define-derived-mode.
290         Fix declare-function with unspecified arglist.  Guard against odd
291         defalias statements (eg iso-insert's 8859-1-map).
292         (elint-add-required-env): Use a temp buffer.
293         (elint-form): Just print the function/macro name, not the whole form.
294         Return env unchanged if we fail to parse a macro.
295         (elint-forms): Guard against parse errors.
296         (elint-output): New function, to handle batch mode.
297         (elint-log-message): Add optional argument.  Use elint-output.
298         (elint-set-mode-line): New function.
300 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
302         * emacs-lisp/elp.el (elp-not-profilable): Add more
303         functions (Bug#4233).
305 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
307         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
308         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
310 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
312         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
313         (gdb-var-list-children): Use json parsing.
315 2009-09-11  Daniel Colascione <dan.colascione@gmail.com>
317         * progmodes/js.el (js--proper-indentation): Handle the case where
318         char-before is null.  Reported by Deniz Dogan.
320 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
322         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
324 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
326         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
327         (epg-digest-algorithm-alist): Add SHA224.
328         (epg-context-set-passphrase-callback)
329         (epg-context-set-progress-callback): Add description about
330         callback function.
332 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
334         * custom.el (custom-delayed-init-variables): New var.
335         (custom-initialize-delay): New function.
336         * startup.el (command-line): "Re"evaluate all vars in
337         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
338         explicitly any more.
339         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
340         to avoid creating a ~/.emacs.d at build-time (bug#4347).
342         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
344 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
346         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
347         (gdb-var-update-handler): Use json parsing.
349 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
351         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
352         decode annotated text, regardless of language environment.  (Bug#2741)
354 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
356         * Makefile.in (autoloads): Make rmail.el writable as well.
358 2009-09-11  Glenn Morris  <rgm@gnu.org>
360         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
361         loaddefs.el.
362         * dired.el: Regenerate with extracted autoloads.
363         * Makefile.in (autoloads): Make dired.el writable.
365         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
366         * ibuffer.el: Regenerate with extracted autoloads.
367         * Makefile.in (autoloads): Make ibuffer.el writable.
369         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
370         * version.el (emacs-copyright, emacs-major-version)
371         (emacs-minor-version): Reformat doc-strings for make-docfile.
373         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
374         functions and variables, since they must be stuff specific to some other
375         platform.
376         (apropos-print): Make mouse-click message less specific about button.
378         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
379         that records where a macro was defined.
380         * help-fns.el (describe-function-1): Mention if a function has a
381         compiler-macro.
382         * help-mode.el (help-function-cmacro): New button.
384         * locate.el (top-level): Always require dired.
385         (locate-mode-map): Initialize inside the defvar.
387         * net/ange-ftp.el (dired-compress-file): Declare.
388         (ange-ftp-dired-compress-file): Add doc string.
390         * term/ns-win.el (x-display-name, x-setup-function-keys):
391         Unify doc-strings with X versions.
393 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
395         * emulation/crisp.el (crisp-mode-map): Move initialization
396         into declaration.
397         (crisp-mode): Use define-minor-mode.
399         * progmodes/xscheme.el (xscheme-evaluation-commands):
400         Put a :advertised-binding property rather than using
401         advertised-xscheme-send-previous-expression.
402         (advertised-xscheme-send-previous-expression): Declare obsolete.
403         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
404         `advertised-undo'.
405         (crisp-mode): Add corresponding bindings to
406         undo's :advertised-binding instead.
407         * dired.el (dired-mode-map): Put a :advertised-binding property rather
408         than using dired-advertised-find-file.
409         (dired-advertised-find-file):
410         * simple.el (advertised-undo):
411         * wid-edit.el (advertised-widget-backward): Declare obsolete.
412         (widget-keymap): Put a :advertised-binding property rather
413         than using advertised-widget-backward.
414         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
415         than using advertised-undo.
416         * tutorial.el (tutorial--default-keys): Adjust accordingly.
418 2009-09-10  Simon South  <ssouth@slowcomputing.org>
420         * progmodes/delphi.el (delphi-tab): Indent region when Transient
421         Mark mode is enabled and region is active; otherwise indent or
422         insert TAB as usual.
423         (delphi-mode): Update description of TAB-key binding.
425 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
427         * subr.el (define-key-rebound-commands): Mark obsolete.
428         * startup.el (precompute-menubar-bindings): Remove.
429         (normal-top-level): Remove obsolete code that tried to precompute
430         menubar bindings.
431         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
432         define-key-rebound-commands and precompute-menubar-bindings.
434 2009-09-10  Glenn Morris  <rgm@gnu.org>
436         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
438         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
439         (byte-compile-file-form-autoload): Don't warn about unknown functions
440         where the autoload statement comes after the use.
441         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
442         that any handlers inside the body (eg require) are in turn respected.
444         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
445         effects.
447         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
448         and syntax and abbrev tables basic docs, if they don't have any.
450         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
452         * international/mule-cmds.el (top-level): Require cl when compiling.
453         (view-hello-file): Use default-value rather than
454         default-enable-multibyte-characters.
456         * progmodes/fortran.el: Move all safe and risky properties into the
457         defcustoms.
459         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
460         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
461         * mail/undigest.el:
462         Put autoloads in rmail.el rather than loaddefs.el.
463         * mail/rmail.el: Regenerate with extracted autoloads.
465         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
466         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
468 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
470         Reported in thread for Bug#4375.
471         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
472         "-data-evaluate-expression" instead of print.
473         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
474         (gdb-tooltip-print): Parse output from above MI command.
475         (gdb): Revert 2009-08-11 change.  User should detach inferior
476         manually.
478         Remove the word "separate" from IO functions as inferior
479         output is now never displayed in the GUD buffer.
481 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
483         * startup.el (command-line-normalize-file-name): On Windows and
484         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
486 2009-09-10  Juri Linkov  <juri@jurta.org>
488         * isearch.el (isearch-text-char-description): Propertize escape
489         character sequences with the `escape-glyph' face.  (Bug#4344)
491         * simple.el (shell-command): Set asynchronous process filter to
492         `comint-output-filter'.  (Bug#4343)
494         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
495         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
496         the list.  Move "asm" to the bottom.
497         (grep-find-ignored-directories): Add `choice' with nil value
498         to empty the list easily.
499         (grep-find-ignored-files): New option.
500         (grep-files-history): Set to nil by default instead of '("ch" "el").
501         (grep-compute-defaults): Add "<X>" to `grep-template'.
502         (grep-read-files): Bind new local variables `default-alias' and
503         `default-extension'.  Use a list of default values for the file prompt.
504         (lgrep): Add `--exclude=' command line options composed from
505         `grep-find-ignored-files'.
506         (rgrep): Add `-name' command line options composed from
507         `grep-find-ignored-files'.  (Bug#4301)
509 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
511         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
512         (bug#4368).
514 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
516         * calendar/time-date.el (autoload):
517         Expand define-obsolete-function-alias into defalias and make-obsolete
518         for old Emacsen that Gnus supports.
519         (with-no-warnings): Define it for old Emacsen.
520         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
521         is available.
522         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
523         float-time is available; suppress compile warning for time-to-seconds.
525 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
527         * net/imap.el (imap-message-map): Docstring fix.
529 2009-09-09  Glenn Morris  <rgm@gnu.org>
531         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
532         line numbers too.  (Bug#4374)
534 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
536         * smerge-mode.el (smerge-remove-props, smerge-refine):
537         Use with-silent-modifications (bug#4342).
539         * subr.el (with-silent-modifications): New macro.
541 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
543         * files.el (top-level): Require `cl' when compiling.
545 2009-09-07  Glenn Morris  <rgm@gnu.org>
547         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
549         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
550         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
552 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
554         * vc-git.el (vc-git-annotate-command): Use separator to parse
555         arguments correctly.
557 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
559         * proced.el (proced-mode): Doc fix.
561 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
563         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
564         lstat fails.
565         (tramp-do-file-attributes-with-ls): Check for file existence at
566         remote end.
567         (tramp-do-file-attributes-with-stat): Likewise.
568         (tramp-convert-file-attributes): Return nil when attr is nil.
570 2009-09-05  Glenn Morris  <rgm@gnu.org>
572         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
573         properties to this button.
574         (diary-fancy-display): Don't extend the button to the final newline.
575         (diary-fancy-display-mode): Continue to define "q" as a local key.
577         * calendar/cal-china.el (holiday-chinese): Make it slightly more
578         efficient.
580         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
582         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
583         (byte-compile-dest-file-function): New option.
584         (byte-compile-dest-file): Doc fix.
585         Obey byte-compile-dest-file-function.
586         (byte-compile-cl-file-p): New function.
587         (byte-compile-eval): Only suppress noruntime warnings about cl functions
588         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
589         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
590         than for file being previously loaded.
591         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
592         (byte-compile-file-form-require): Handle the case where requiring a file
593         indirectly causes CL to be loaded.
595 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
597         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
598         before killing the old buffer, since by the time `kill-buffer' is
599         run so many buffer variables have been set to nil that it may not
600         behave as expected.  (Bug#4061)
602 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
604         * files.el (find-alternate-file): If the old buffer is modified
605         and visiting a file, behave similarly to `kill-buffer' when
606         killing it, thus reverting to the pre-1.878 behavior; see
607         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
608         for discussion.  Also, consult `buffer-file-name' as a variable
609         not as a function, for consistency with the rest of the code.
611 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
613         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
614         also when adding a new directory.
616         * net/tramp-compat.el (tramp-compat-line-beginning-position): New
617         defun.
619 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
621         * files.el (locate-file-completion-table): Make it provide boundary
622         information, so partial-completion works better.
624 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
626         * mail/footnote.el (Footnote-text-under-cursor):
627         Check footnote-text-marker-alist before using it (bug#4324).
629 2009-09-04  Glenn Morris  <rgm@gnu.org>
631         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
632         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
633         * play/solitaire.el, play/tetris.el:
634         Remove leading * from defcustom and defface docs.
636         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
637         necessary.
638         (diary-fancy-overriding-map): New variable.
639         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
640         Use view-mode.
642         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
643         goto-line.
645 2009-09-03  Glenn Morris  <rgm@gnu.org>
647         * arc-mode.el (archive-mode):
648         * dos-fns.el (set-default-process-coding-system):
649         * man.el (Man-getpage-in-background):
650         * menu-bar.el (menu-bar-describe-menu):
651         * server.el (server-process-filter):
652         * startup.el (command-line):
653         * tar-mode.el (tar-header-block-tokenize, tar-extract):
654         * w32-fns.el (set-default-process-coding-system):
655         * x-dnd.el (x-dnd-handle-file-name):
656         * international/mule-cmds.el (mule-menu-keymap)
657         (set-default-coding-systems, language-info-alist, set-language-info)
658         (set-language-environment, standard-display-european-internal)
659         (set-locale-environment):
660         * international/mule-diag.el (mule-diag):
661         * mail/emacsbug.el (report-emacs-bug):
662         * mail/rmail.el (rmail-mode):
663         * mail/sendmail.el (mail-setup):
664         Use default-value rather than default-enable-multibyte-characters.
666         * progmodes/f90.el: Move all safe properties into the defcustoms.
667         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
669         * calendar/appt.el (appt-check):
670         * calendar/diary-lib.el (diary-set-header, diary-live-p)
671         (diary-check-diary-file, diary-list-entries)
672         (diary-include-other-diary-files, diary-simple-display)
673         (diary-fancy-display, diary-print-entries)
674         (diary-mark-included-diary-files, diary-make-entry):
675         Don't call substitute-in-file-name on diary-file.
677 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
678             Stefan Monnier  <monnier@iro.umontreal.ca>
680         * mail/footnote.el (footnote-prefix): Make it a defcustom.
681         (footnote-mode-map): Move initialization into the declaration.
682         (footnote-minor-mode-map): Define it rather than changing global-map.
683         (footnote-mode): Use define-minor-mode.
685 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
687         * net/tramp.el (tramp-handle-file-attributes-with-ls)
688         (tramp-do-file-attributes-with-perl)
689         (tramp-do-file-attributes-with-stat): Rename from
690         `tramp-handle-file-attributes-with-*'.
691         (tramp-handle-file-attributes): Use them.
692         (tramp-do-directory-files-and-attributes-with-perl)
693         (tramp-do-directory-files-and-attributes-with-stat): Rename from
694         `tramp-handle-directory-files-and-attributes-with-*'.
695         (tramp-handle-directory-files-and-attributes): Use them.
696         (tramp-method-out-of-band-p): Additional parameter SIZE.
697         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
698         (tramp-handle-write-region): Use it.
699         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
700         (tramp-handle-vc-registered): Check, whether the first run did
701         return files to be tested.
702         (tramp-advice-make-auto-save-file-name): Do not call directly
703         `tramp-handle-make-auto-save-file-name', because this would bypass
704         the locking mechanism.
706         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
707         (file-remote-p, process-file, start-file-process, set-file-times)
708         (tramp-compat-file-attributes): Compatibility functions shall not
709         call directly `tramp-handle-*', because this would bypass the
710         locking mechanism.
711         (tramp-compat-number-sequence): New defun.
713 2009-09-02  Glenn Morris  <rgm@gnu.org>
715         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
716         alias for float-time.
717         (time-to-number-of-days): In Emacs, use float-time.
718         * net/newst-backend.el (time-add): Suppress warnings from compat
719         function.
720         * time.el (emacs-uptime, emacs-init-time):
721         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
722         Use float-time rather than time-to-seconds.
724         * minibuffer.el (completion-initials-expand): Fix typo.
726         * faces.el (modeline, modeline-inactive, modeline-highlight)
727         (modeline-buffer-id):
728         * info.el (info-menu-5): Mark these face aliases as obsolete.
730 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
732         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
733         space ...
734         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
735         no "--thread" option.
736         (gdb-stopped): Don't print "Switched to thread" message when it is
737         unchanged.
739 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
741         * minibuffer.el (completion-try-completion)
742         (completion-all-completions): Remove ill-defined (and
743         mistakenly installed and luckily never used nor documented)
744         `completion-styles' property.
745         (completion-initials-expand, completion-initials-all-completions)
746         (completion-initials-try-completion): New functions.
747         (completion-styles-alist): Add doc to each entry.
748         Add new `initials' entry.
750 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
752         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
753         MI command -var-evaluate-expression.
754         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
755         and tweak for case of string child.
756         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
758 2009-09-01  Glenn Morris  <rgm@gnu.org>
760         * add-log.el (change-log-date-face, change-log-name-face)
761         (change-log-email-face, change-log-file-face, change-log-list-face)
762         (change-log-conditionals-face, change-log-function-face)
763         (change-log-acknowledgement-face):
764         * cus-edit.el (custom-invalid-face, custom-rogue-face)
765         (custom-modified-face, custom-set-face, custom-changed-face)
766         (custom-saved-face, custom-button-face, custom-button-pressed-face)
767         (custom-documentation-face, custom-state-face, custom-comment-face)
768         (custom-comment-tag-face, custom-variable-tag-face)
769         (custom-variable-button-face, custom-face-tag-face)
770         (custom-group-tag-face-1, custom-group-tag-face):
771         * diff-mode.el (diff-header-face, diff-file-header-face)
772         (diff-index-face, diff-hunk-header-face, diff-removed-face)
773         (diff-added-face, diff-changed-face, diff-function-face)
774         (diff-context-face, diff-nonexistent-face):
775         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
776         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
777         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
778         (Info-title-4-face):
779         * isearch.el (isearch-lazy-highlight-face):
780         * log-view.el (log-view-file-face, log-view-message-face):
781         * paren.el (show-paren-match-face, show-paren-mismatch-face):
782         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
783         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
784         (cvs-msg-face):
785         * smerge-mode.el (smerge-mine-face, smerge-other-face)
786         (smerge-base-face, smerge-markers-face):
787         * wid-edit.el (widget-documentation-face, widget-button-face)
788         (widget-field-face, widget-single-line-field-face)
789         (widget-inactive-face, widget-button-pressed-face):
790         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
791         (woman-addition-face):
792         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
793         (eshell-ls-executable-face, eshell-ls-readonly-face)
794         (eshell-ls-unreadable-face, eshell-ls-special-face)
795         (eshell-ls-missing-face, eshell-ls-archive-face)
796         (eshell-ls-backup-face, eshell-ls-product-face)
797         (eshell-ls-clutter-face):
798         * eshell/em-prompt.el (eshell-prompt-face):
799         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
800         * obsolete/old-whitespace.el (whitespace-highlight-face):
801         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
802         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
803         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
804         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
805         (antlr-font-lock-literal-face):
806         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
807         (ebrowse-root-class-face, ebrowse-file-name-face)
808         (ebrowse-default-face, ebrowse-member-attribute-face)
809         (ebrowse-member-class-face, ebrowse-progress-face):
810         * progmodes/make-mode.el (makefile-space-face):
811         * progmodes/sh-script.el (sh-heredoc-face):
812         * textmodes/flyspell.el (flyspell-incorrect-face)
813         (flyspell-duplicate-face):
814         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
815         * textmodes/texinfo.el (texinfo-heading-face):
816         Mark face aliases with "-face" suffix as obsolete.
818         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
819         compiler.
821         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
822         (eudc-bob-sound-menu): Use defvar rather than defconst, since
823         easy-menu-define wants to modify these.
825         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
827         * net/browse-url.el (browse-url-file-url):
828         * term/internal.el (dos-codepage-setup):
829         Use default-value rather than default-enable-multibyte-characters.
831         * progmodes/etags.el (etags-goto-tag-location):
832         * progmodes/flymake.el (flymake-highlight-line)
833         (flymake-goto-file-and-line, flymake-goto-line):
834         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
835         (gdb-goto-breakpoint):
836         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
837         * progmodes/python.el (python-find-function)
838         (python-pdbtrack-track-stack-file):
839         * progmodes/verilog-mode.el (verilog-surelint-off):
840         * term/ns-win.el (ns-open-file-select-line):
841         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
842         Use forward-line rather than goto-line.
844         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
845         * textmodes/reftex-index.el (reftex-display-index):
846         * textmodes/reftex-ref.el (reftex-offer-label-menu):
847         * textmodes/reftex-toc.el (reftex-toc):
848         Remove unnecessary bindings of default-major-mode (all are followed by
849         major-mode check and possible mode switch).
851 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
853         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
854         Handle watchpoints (bug#4282).
855         (def-gdb-thread-buffer-command): Enable thread to be selected by
856         clicking without selecting threads buffer first.
857         (gdb-current-context-command): Use selected frame so that "up",
858         "down" etc work in the GUD buffer.
859         (gdb-update): Find selected frame before rendering stack buffer.
860         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
862 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
864         * progmodes/sym-comp.el (displayed-completions): Remove.
865         (symbol-complete): Use minibuffer-complete.
867 2009-08-31  Glenn Morris  <rgm@gnu.org>
869         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
871         * apropos.el (apropos-symbols-internal):
872         Handle (obsolete) face aliases.
874         * faces.el (describe-face): Adjust the output format to be more like
875         describe-variable, and to mention (obsolete) face aliases.
876         Adjust the whitespace so that help-setup-xref works.
878         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
879         * calendar/diary-lib.el (diary-button-face):
880         Mark these face aliases as obsolete.
882         * calendar/calendar.el (calendar-today): Doc fix.
884 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
886         * progmodes/gdb-mi.el (gdb-control-all-threads)
887         (gdb-control-current-thread): Force tool bar update.
888         (gdb-non-stop-handler): New function.
889         (gdb-init-1): Use it to test if non-stop mode is supported.
890         Remove unused gdbmi buffer type.
892 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
894         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
895         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
897 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
899         * comint.el (comint-exec-1): Check command is non-null first.
900         Part of gdb-mi.el change (2009-08-28).
902 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
904         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
906 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
908         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
909         instead of `dolist' to avoid a recursive require when bootstrapping.
911 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
913         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
915         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
917         * net/imap.el (imap-send-command): Simplify.
918         (imap-wait-for-tag): point-max -> buffer-size.
920         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
922         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
923         with constant argument.
925         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
927         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
929         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
930         Change default, since most of our files don't have a history.
931         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
932         the user.
934         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
935         Add comint-run.
937         * calc/calc.el: Improve commenting convention.
938         (calc-digit-map, toplevel): Simplify.
940         * comint.el (comint-insert-input): Be careful to only set point if we
941         don't delegate to some other command.
943         * proced.el (proced-signal-list): Make it an alist.
944         (proced-grammar-alist): Capitalize names.
945         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
946         Disable undo manually and make it read-only.
947         Use completion-annotate-function.
949         * minibuffer.el (minibuffer-message): If the current buffer is not
950         a minibuffer, insert the message in the echo area rather than at the
951         end of the buffer.
952         (completion-annotate-function): New variable.
953         (minibuffer-completion-help): Use it.
954         (completion--embedded-envvar-table): Environment vars are
955         always case-sensitive.
957 2009-08-30  Glenn Morris  <rgm@gnu.org>
959         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
960         from fortran-current-defun.
961         (fortran-beginning-of-subprogram): Be more precise about finding the
962         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
963         (fortran-end-of-subprogram): Simplify.
964         (fortran-current-defun): Use fortran-start-prog-re.
966 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
968         * subr.el (do-after-load-evaluation): Simplify.
970 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
972         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
974         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
975         (vc-rcs-print-log): Use it.
977         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
979 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
981         * paths.el (abbrev-file-name): Move to abbrev.el.
982         * abbrev.el (abbrev-file-name): Move from paths.el.
983         Obey user-emacs-directory.
984         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
985         user-emacs-directory.
986         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
987         abbrev-file-name and calc-settings-file any more.
988         * startup.el (command-line): Recompute abbrev-file-name and
989         abbreviated-home-dir.
990         (normal-no-mouse-startup-screen): Improve the generic code and get rid
991         of the special code for when C-h bindings haven't been changed.
992         (display-startup-echo-area-message): Use with-current-buffer.
993         (command-line-1): Use a list of strings, rather than a list of lists
994         of strings for longopts.
996         * files.el (get-free-disk-space): Use / for default-directory.
998         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
999         Use with-current-buffer.
1001         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
1002         Recognize immutable variables like most-positive-fixnum.
1003         (byte-compile-setq-default): Check and warn if trying to assign
1004         to an immutable variable, or a non-variable.
1006         * progmodes/cc-vars.el (c-comment-continuation-stars):
1007         * progmodes/cc-engine.el (c-looking-at-bos):
1008         * progmodes/cc-cmds.el (c-toggle-auto-state)
1009         (c-forward-into-nomenclature, c-backward-into-nomenclature)
1010         (c-comment-line-break-function): Add version of obsolescence.
1012 2009-08-28  Juri Linkov  <juri@jurta.org>
1014         * files.el (magic-fallback-mode-alist): Add ZIP magic number
1015         associated with `archive-mode'.
1017         * image.el (image-type-header-regexps): Use only JPEG magic number
1018         to determine JPEG images, and don't use `image-jpeg-p' because
1019         Emacs can display non-JFIF non-Exif JPEG images.
1021 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
1023         * arc-mode.el (archive-mode):
1024         * emacs-lisp/re-builder.el (re-builder-unload-function):
1025         Protect against the default value of `major-mode' being nil.
1027 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
1029         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
1030         Fix typos in docstrings.
1032         * progmodes/js.el (js--macro-decl-re): Doc fix.
1033         (js--plain-method-re, js--split-name): Refloc docstring.
1034         (js--class-styles, js--make-merged-item, js--splice-into-items):
1035         Fix typos in docstrings; reflow docstrings.
1036         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
1037         (js--variable-decl-matcher, js--inside-pitem-p)
1038         (js--parse-state-at-point, js--get-all-known-symbols)
1039         (js--symbol-history, js-find-symbol, js--js-references)
1040         (js--moz-interactor, js--js-encode-value, js--read-tab):
1041         Fix typos in docstrings.
1043 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1045         * textmodes/reftex.el (reftex-get-file-buffer-force):
1046         * progmodes/verilog-mode.el (verilog-batch-execute-func):
1047         * emulation/viper.el (viper-go-away, viper-set-hooks):
1048         * emacs-lisp/re-builder.el (re-builder-unload-function):
1049         * emacs-lisp/bytecomp.el (byte-compile-file):
1050         * ses.el (ses-unload-function):
1051         * hexl.el (hexl-find-file):
1052         * files.el (normal-mode):
1053         * ehelp.el (with-electric-help):
1054         * autoinsert.el (auto-insert-alist):
1055         * arc-mode.el (archive-mode):
1056         Use (default-value 'major-mode) instead of default-major-mode.
1058         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
1059         * international/mule.el (load-with-code-conversion):
1060         * emacs-lisp/debug.el (debug):
1061         * ediff-vers.el (ediff-rcs-get-output-buffer):
1062         * dired.el (dired-internal-noselect): Don't let-bind
1063         default-major-mode around code that doesn't use it.
1064         E.g. buffer creation via get-buffer-create doesn't use it.
1066 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
1068         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
1069         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
1070         when writing the temp file.  Otherwise, epa-file gets confused.
1071         (tramp-register-file-name-handlers): Make it a defun.  Move also
1072         `epa-file-handler' to the front of `file-name-handler-alist'.
1074 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1076         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
1077         start right after a ^M.
1078         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
1079         (tramp-completion-file-name-regexp-separate)
1080         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
1081         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
1082         Don't modify last-coding-system-used by accident.
1083         (tramp-completion-file-name-handler): Apply the checks here,
1084         instead during registration.
1085         (tramp-register-file-name-handlers) Renamed from
1086         `tramp-register-file-name-handler'.  Register both
1087         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
1088         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
1090 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
1092         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
1093         Remove variable ...
1094         (gdb-init-1, gdb-display-separate-io-buffer)
1095         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
1096         references to it.
1097         (gdb-inferior-io-mode): Use make-comint-in-buffer.
1098         (gdb-inferior-filter): Use comint-output-filter to stop
1099         echoing and remove ^M characters.
1101 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1103         * emulation/viper-init.el (viper-restore-cursor-type):
1104         * emulation/cua-base.el (cua--update-indications):
1105         Replace default-cursor-type with (default-value 'cursor-type).
1107         * mail/sendmail.el (mail-recover-1):
1108         * international/mule-diag.el (describe-current-coding-system-briefly)
1109         (describe-current-coding-system):
1110         * international/mule-cmds.el (select-safe-coding-system)
1111         (select-message-coding-system)
1112         (set-language-environment-coding-systems, set-locale-environment):
1113         * hexl.el (hexl-insert-multibyte-char):
1114         * dos-w32.el (find-buffer-file-type-coding-system):
1115         * simple.el (what-cursor-position):
1116         Replace uses of default-buffer-file-coding-system
1117         with (default-value 'buffer-file-coding-system).
1119         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
1120         Replace uses of default-cursor-in-non-selected-windows
1121         with (default-value 'cursor-in-non-selected-windows).
1122         Use with-current-buffer.
1124         * mail/feedmail.el: Use CL macros.
1125         (feedmail-run-the-queue, feedmail-send-it-immediately):
1126         * dos-w32.el (find-buffer-file-type): Replace uses of
1127         default-buffer-file-type with (default-value 'buffer-file-type).
1129 2009-08-28  Glenn Morris  <rgm@gnu.org>
1131         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
1132         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
1133         Use default-value of major-mode rather than default-major-mode.
1135 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1137         * Makefile.in (update-elcfiles): Report left over elc files.
1139         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
1140         expand-file-name and with-current-buffer.
1141         (mail-get-names, mail-directory): Use with-current-buffer.
1143         * vc.el (vc-read-revision): New function.
1144         (vc-version-diff, vc-merge): Use it.
1146 2009-08-27  Sam Steingold  <sds@gnu.org>
1148         * simple.el (kill-do-not-save-duplicates): New user option.
1149         (kill-new): When it is non-nil, and the new string is the same as
1150         the latest kill, set replace to t to avoid duplicates in kill-ring.
1152 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
1154         * net/tramp.el (tramp-handle-process-file): Do not flush all
1155         caches when `process-file-side-effects' is set.
1156         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
1157         instead of `tramp-find-file-exists-command'.
1158         Unset `process-file-side-effects'.
1160 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
1162         * net/tramp.el (tramp-methods): New method "rsyncc".
1163         (top): Add completion function for "rsyncc".
1164         (tramp-message-show-message): New defvar.
1165         (tramp-message, tramp-error): Use it.
1166         (tramp-do-copy-or-rename-file-directly): Extend check for direct
1167         remote copying.
1168         (tramp-do-copy-or-rename-file-out-of-band): Handle new
1169         `tramp-methods' entry `copy-env' of "rsyncc".
1170         (tramp-vc-registered-read-file-names): New defconst.
1171         (tramp-vc-registered-file-names): New defvar.
1172         (tramp-handle-vc-registered): Implement optimization strategy.
1173         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
1174         (tramp-vc-file-name-handler): New defun.
1175         (tramp-get-ls-command, tramp-get-test-command)
1176         (tramp-get-file-exists-command, tramp-get-remote-ln)
1177         (tramp-get-remote-perl, tramp-get-remote-stat)
1178         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
1180         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
1181         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
1182         timestamps.
1183         (tramp-get-file-property): Check for timestamps in
1184         `tramp-cache-inhibit-cache'.
1185         (tramp-set-file-property): Write timestamp.
1187 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
1189         * language/japan-util.el (japanese-symbol-table): Add entries for
1190         cp932-2-byte.
1192         * international/characters.el: Add category `j' to cp932-2-byte.
1194 2009-08-27  Kenichi Handa  <handa@m17n.org>
1196         * international/fontset.el (build-default-fontset-data): New macro.
1197         (setup-default-fontset): Use build-default-fontset-data for CJK,
1198         tibetan, ethiopic, and ipa.
1200 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1202         * cus-start.el (default-major-mode): Customize `major-mode' instead.
1203         (enable-multibyte-characters): Not customizable any more.
1205         * subr.el (default-mode-line-format, default-header-line-format)
1206         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
1207         (default-direction-reversed, default-truncate-lines)
1208         (default-left-margin, default-tab-width, default-case-fold-search)
1209         (default-left-margin-width, default-right-margin-width)
1210         (default-left-fringe-width, default-right-fringe-width)
1211         (default-fringes-outside-margins, default-scroll-bar-width)
1212         (default-vertical-scroll-bar, default-indicate-empty-lines)
1213         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
1214         (default-fringe-cursor-alist, default-scroll-up-aggressively)
1215         (default-scroll-down-aggressively, default-fill-column)
1216         (default-cursor-type, default-buffer-file-type)
1217         (default-cursor-in-non-selected-windows)
1218         (default-buffer-file-coding-system, default-major-mode)
1219         (default-enable-multibyte-characters): Mark as obsolete.
1221 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
1223         * vc-dir.el (vc-dir-update): Remove debug helper.
1225         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
1227 2009-08-26  Sam Steingold  <sds@gnu.org>
1229         * simple.el (save-interprogram-paste-before-kill): New user option.
1230         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
1231         save the interprogram-paste into kill-ring before overriding it
1232         with the Emacs kill.
1234 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
1236         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
1237         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
1238         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
1239         and move to vc-rcs.el.
1240         (vc-default-next-revision): Rename to vc-rcs-next-revision and
1241         move to vc-rcs.el.
1242         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
1243         (vc-rcs-update-changelog): Remove.
1244         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
1245         and move to vc-rcs.el.
1247         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
1248         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
1249         renaming.
1250         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
1251         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
1252         vc.el, renamed to be RCS specific.
1254         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
1255         New functions.
1256         (vc-cvs-update-changelog): Move here from vc.el.
1258         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
1259         New functions.
1261 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1263         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
1265 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
1267         * vc-git.el (vc-git-register): Use "git add" for directories.
1268         (vc-git-stash, vc-git-stash-show): New functions.
1269         (vc-git-extra-menu-map): Bind them.
1271         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
1272         directory correctly in case the item is a directory itself.
1274         * vc.el: Document the desired behavior for reverted files in the
1275         `added' state.
1276         (vc-default-prettify-state-info): Remove function, unused.
1278         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
1280 2009-08-26  Glenn Morris  <rgm@gnu.org>
1282         * bindings.el (standard-mode-line-format): Reposition dashes in
1283         which-func entry.  (Bug#4217)
1285         * files.el (enable-local-variables, enable-local-eval)
1286         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
1287         the defcustoms.
1288         (auto-mode-alist, ignored-local-variables)
1289         (save-some-buffers-action-alist): Move risky declarations to the
1290         definitions.
1291         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
1292         (font-lock-defaults, format-alist, imenu--index-alist)
1293         (imenu-generic-expression, input-method-alist, minor-mode-alist)
1294         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
1295         (mode-line-modified, mode-line-mule-info, mode-line-position)
1296         (mode-line-process, mode-line-remote, outline-level)
1297         (parse-time-rules, rmail-output-file-alist)
1298         (special-display-buffer-names, vc-mode):
1299         Move risky declarations to the relevant files.
1300         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
1301         (mode-line-modified, mode-line-process, mode-line-position)
1302         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
1303         * font-core.el (font-lock-defaults):
1304         * format.el (format-alist):
1305         * vc-hooks.el (vc-mode):
1306         * window.el (special-display-buffer-names):
1307         * international/mule-cmds.el (input-method-alist):
1308         Define riskiness here (dumped file) rather than in files.el.
1309         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
1310         * imenu.el (imenu-generic-expression, imenu--index-alist):
1311         * outline.el (outline-level):
1312         * time.el (display-time-string):
1313         * calendar/parse-time.el (parse-time-rules):
1314         * mail/rmailout.el (rmail-output-file-alist):
1315         Autoload riskiness here, rather than placing in files.el.
1317 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
1319         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
1321 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
1323         * simple.el (process-file-side-effects): New defvar.
1325         * dired-aux.el (dired-show-file-type):
1326         * vc.el (vc-diff-internal):
1327         * vc-arch.el (vc-arch-diff):
1328         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
1329         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
1330         * vc-git.el (vc-git-registered, vc-git-working-revision)
1331         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
1332         (vc-git--empty-db-p):
1333         * vc-hooks.el (vc-user-login-name):
1334         * vc-svn.el (vc-svn-registered, vc-svn-state)
1335         (vc-svn-dir-extra-headers, vc-svn-find-revision):
1336         * progmodes/grep.el (grep-probe): Let-bind
1337         `process-file-side-effects' with nil.
1339         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
1341         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
1342         daemon.  Replace ping by checking for running service for bluez
1343         and zeroconf.  (Bug#4239)
1345 2009-08-25  Kevin Ryde  <user42@zip.com.au>
1347         * net/dig.el (dig): Add autoload cookie.
1349 2009-08-25  Glenn Morris  <rgm@gnu.org>
1351         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
1352         load-history for absolute file-names.
1353         (byte-compile-file-form-require): Warn about use of the cl package.
1355         * format.el (format-alist): Doc fix.
1357         * play/bubbles.el (top-level): Don't require cl at run-time.
1359         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
1360         run-time cl).
1362 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
1364         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
1365         from cl package.
1366         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
1368 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
1370         * calc/calc-alg.el (math-trig-rewrite)
1371         (math-hyperbolic-trig-rewrite): New functions.
1372         (calc-simplify): Simplify trig functions when asked.
1374 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1376         * diff-mode.el (diff-find-source-location): Avoid goto-line.
1378 2009-08-24  Kenichi Handa  <handa@m17n.org>
1380         * language/ind-util.el (mapthread): Delete it.
1381         (combinatorial): New function.
1382         (indian--puthash-cv): Use combinatorial instead of mapthread.
1384 2009-08-22  Kevin Ryde  <user42@zip.com.au>
1386         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
1387         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
1388         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
1389         Clarify docstring that the value is strings not symbols.
1390         (checkdoc-list-of-strings-p): New function.
1392 2009-08-22  Glenn Morris  <rgm@gnu.org>
1394         * files.el (auto-mode-alist):
1395         * hippie-exp.el (he-concat-directory-file-name):
1396         * lpr.el (lpr-windows-system, printer-name):
1397         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
1398         * ps-print.el (ps-windows-system):
1399         * startup.el (command-line):
1400         * emulation/viper-ex.el (viper-glob-function):
1401         * international/mule-cmds.el (set-language-environment-coding-systems):
1402         * net/ange-ftp.el (ange-ftp-write-region):
1403         * obsolete/fast-lock.el (fast-lock-cache-name):
1404         Remove code for defunct system-types emx, macos, mswindows, next-mach,
1405         unisoft-unix, vax-vms, win32, w32.
1407         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
1408         given name if the pattern is not more specific.
1410         * calendar/lunar.el (lunar-phase-names): New option.
1411         (lunar-phase): Doc fix.
1412         (lunar-cycles-per-year): New constant.
1413         (lunar-index): New function.
1414         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
1415         (lunar-phase-name): Use lunar-phase-names.
1416         (calendar-lunar-phases): Use format.
1417         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
1419         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
1420         Copy imenu-example--name-and-position function here for own use.
1421         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
1423         * bs.el (bs--redisplay):
1424         * cus-edit.el (custom-redraw):
1425         * ibuffer.el (ibuffer-bury-buffer):
1426         * server.el (server-goto-line-column):
1427         * startup.el (command-line-1):
1428         * strokes.el (strokes-xpm-for-stroke):
1429         * term.el (term-display-buffer-line):
1430         * view.el (View-goto-line):
1431         * calc/calc.el (calc-do, calc-trail-buffer):
1432         * play/gamegrid.el (gamegrid-add-score-insecure):
1433         * progmodes/ada-mode.el (ada-compile-goto-error):
1434         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
1435         (ebrowse-select-1st-to-9nth):
1436         * progmodes/cperl-mode.el (cperl-time-fontification):
1437         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
1438         * progmodes/gud.el (gud-display-line):
1439         (idlwave-shell-display-line):
1440         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
1441         * progmodes/make-mode.el (makefile-browser-toggle):
1442         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
1443         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
1444         * textmodes/picture.el (picture-draw-rectangle):
1445         * textmodes/reftex-index.el (reftex-index-goto-letter):
1446         (reftex-select-jump-to-previous):
1447         * textmodes/reftex-sel.el (reftex-find-start-point)
1448         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
1449         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
1450         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
1451         * textmodes/tex-mode.el (tex-compilation-parse-errors):
1452         * textmodes/two-column.el (2C-associated-buffer):
1453         Use forward-line rather than goto-line.
1455         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
1456         goto-line.
1458         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
1459         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
1460         (quick-check-list-to-regexp): Declare.
1462         * progmodes/make-mode.el (makefile-browser-insert-selection):
1463         Use goto-char rather than goto-line.
1465         * progmodes/prolog.el (compilation-error-regexp-alist)
1466         (compilation-forget-errors): Declare.
1468 2009-08-22  Juri Linkov  <juri@jurta.org>
1470         * progmodes/grep.el (lgrep, rgrep): At the beginning
1471         set `dir' to `default-directory' unless `dir' is a non-nil
1472         readable directory.  (Bug#4052)
1473         (lgrep, rgrep): Change a weird way to report an error
1474         from using `read-string' to using `error'.
1475         Instead of using interactive arguments in the function body,
1476         add new argument `confirm'.
1478 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1480         * textmodes/remember.el (remember-buffer):
1481         * progmodes/cperl-mode.el (cperl-vc-header-alist):
1482         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
1483         (icalendar-extract-ical-from-buffer):
1484         * net/newst-treeview.el (newsticker-groups-filename):
1485         * net/newst-backend.el (newsticker-cache-filename):
1486         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
1487         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
1488         (speedbar-add-ignored-path-regexp, speedbar-line-path)
1489         (speedbar-buffers-line-path, speedbar-path-line)
1490         (speedbar-buffers-line-path):
1491         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
1492         (epg-sign-keys):
1493         * epa.el (epa-display-verify-result):
1494         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
1496 2009-08-21  Glenn Morris  <rgm@gnu.org>
1498         * progmodes/js.el (inferior-moz-process): Fix declaration.
1500         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
1502         * obsolete/rnewspost.el (news-mail-reply):
1503         Use goto-char rather than goto-line.
1505         * term/ns-win.el (ns-open-file-select-line):
1506         Use line-beginning-position rather than goto-line.
1508         * apropos.el (apropos-command):
1509         * ehelp.el (electric-helpify):
1510         * printing.el (pr-show-setup):
1511         * strokes.el (strokes-help):
1512         * tutorial.el (tutorial--describe-nonstandard-key)
1513         (tutorial--detailed-help):
1514         * woman.el (woman-mini-help, woman-display-extended-fonts):
1515         * calc/calc-help.el (calc-describe-key):
1516         * emulation/edt.el (edt-electric-helpify):
1517         * international/mule-diag.el (mule-diag):
1518         * play/yow.el (apropos-zippy):
1519         * progmodes/python.el (python-describe-symbol):
1520         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
1521         * textmodes/table.el (*table--cell-describe-mode)
1522         (*table--cell-describe-bindings):
1523         Use help-print-return-message rather than the now obsolete alias.
1525         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
1526         (calendar-cursor-to-visible-date):
1527         * play/5x5.el (5x5-position-cursor):
1528         * play/decipher.el (decipher):
1529         * play/gomoku.el (gomoku-goto-xy):
1530         * play/landmark.el (lm-goto-xy):
1531         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
1532         (mpuz-paint-digit):
1533         Use forward-line, not goto-line.
1535         * mail/rmail.el (rmail-obsolete): Delete custom group.
1536         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
1537         (rmail-remote-password, rmail-remote-password-required):
1538         Remove unneeded :set-after and :set properties.
1540 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
1542         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
1544 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
1546         * loadup.el: Remove leftover macos code.
1548         * vc-git.el (vc-git-annotate-command): Run asynchronously.
1549         Explicitly pass the date format to git blame so that user local
1550         so that the output format can be parsed.
1552 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
1554         * net/dbus.el (top): Don't check for (getenv
1555         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
1557 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
1559         * log-edit.el (log-edit-strip-single-file-name): New var.
1560         (log-edit-insert-changelog): Use it.  Bug#3571
1562 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1564         * subr.el (read-passwd): Use read-key so keypad keys work as well.
1565         Bug#3287
1567         * help.el (help-print-return-message): Rename from
1568         print-help-return-message.
1570         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
1571         cvs-mode-map parent hack.
1572         (log-view-mode): Derive from special-mode.
1574         * linum.el (linum-mode): window-size-change-functions is redundant.
1575         Adapt to new window-configuration-change-hook behavior.
1576         (linum-after-size, linum-after-config): Remove.
1578         * imenu.el (imenu-example--name-and-position)
1579         (imenu-example--lisp-extract-index-name)
1580         (imenu-example--create-lisp-index, imenu-example--create-c-index):
1581         Mark as obsolete.
1583         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
1584         (inferior-prolog-mode): Use it.
1585         (inferior-prolog-load-file): Reset list of errors.
1587 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
1589         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
1591         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
1593 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
1595         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
1596         is running already.
1598 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1600         * subr.el (listify-key-sequence-1): Use normal syntax since those
1601         integers are nowadays always represented by the same (positive) number
1602         on all platforms.
1603         (read-key-empty-map): New const.
1604         (read-key-delay): New var.
1605         (read-key): New function.
1606         (force-mode-line-update): Use with-current-buffer.
1607         (locate-user-emacs-file): Don't forget to abbreviate the file name.
1608         (start-process-shell-command, start-file-process-shell-command):
1609         Discourage the use of command-args.
1611 2009-08-19  Glenn Morris  <rgm@gnu.org>
1613         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
1615 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1617         * simple.el (choose-completion-string): Don't rely on
1618         minibuffer-completing-file-name and ad-hoc checks to decide whether
1619         to continue completion or not.
1621         * minibuffer.el (minibuffer-hide-completions): New function.
1622         (completion--do-completion): Use it.
1623         (completions-annotations): New face.
1624         (completion--insert-strings): Use it.
1625         (completion-pcm--delim-wild-regex): Add docstring.
1626         (completion-pcm--string->pattern): Add support for 0-width delimiters
1627         in completion-pcm--delim-wild-regex.
1629 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1631         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
1632         Remove unused var `buffer-modified-p'.
1634         * minibuffer.el (completion--do-completion): Move point for the #b001
1635         case as well (bug#4176).
1636         (minibuffer-complete, minibuffer-complete-word): Don't move point.
1638 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
1640         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
1641         and :session buses.
1643 2009-08-18  Kenichi Handa  <handa@m17n.org>
1645         * international/ucs-normalize.el (ucs-normalize-version):
1646         Change to 1.1.
1647         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
1648         (utf-8-hfs): Make it perform normalization on encoding too.
1650         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
1651         (sentence-end-without-space): Delete duplicated chars.
1652         (sentence-end-base): Likewise.
1654         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
1655         (html-mode): Delete duplicated chars from sentence-end-base.
1657         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
1658         (texinfo-mode): Delete duplicated chars from sentence-end-base.
1660 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
1662         * files.el (hack-one-local-variable): If the mode function is for
1663         a minor mode, pass it an argument (Bug#4148).
1665 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
1667         * net/tramp.el (tramp-register-completion-file-name-handler):
1668         Check also for (member 'partial-completion completion-styles).
1670 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
1672         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
1673         abbrev (Bug#3943).
1675 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
1677         * progmodes/cperl-mode.el: Merge upstream 6.2.
1678         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
1679         (cperl-forward-re): Check cperl-brace-recursing.
1680         (cperl-highlight-charclass): New function.
1681         (cperl-find-pods-heres): Use it.
1682         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
1683         (cperl-beautify-regexp-piece): Fix column calculation.
1684         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
1685         (cperl-beautify-level): Don't process entire regexp.
1686         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
1687         calling man.
1688         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
1689         (cperl-init-faces): Build a list in the normal way.
1691 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
1693         * calendar/parse-time.el (parse-time-string-chars): Save match
1694         data.
1696 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1698         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
1699         (sql-product): Use it.
1700         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
1701         (sql-set-product): Add completion.
1702         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
1703         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
1704         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
1705         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
1706         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
1707         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
1708         (sql-highlight-db2-keywords): Remove.
1709         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
1710         (sql-highlight-product): Use derived-mode-p.
1711         (sql-set-sqli-buffer): Use with-current-buffer.
1712         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
1713         Simplify.
1715         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
1717         * term.el: Fix commenting convention, turn comments into docstrings.
1719 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
1721         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
1723 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
1725         * calendar/parse-time.el (parse-time-string-chars): Compute using
1726         character classes, to handle non-ascii characters (Bug#3190).
1728 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
1730         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
1731         another heredoc if the user adds another < (Bug#3226).
1733         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
1734         Don't initialize based on window-system (Bug#4124).
1736         * facemenu.el (facemenu-read-color): Use a completion function
1737         that accepts any defined color, such as RGB triplets (Bug#3677).
1739         * files.el (get-free-disk-space): Change fallback default
1740         directory to /.  Expand DIR argument before switching to fallback.
1741         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
1743 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
1745         * files.el (load-library): Doc fix.
1747 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
1749         * viper-cmd.el (viper-insert-isearch-string): New function.
1750         (viper-if-string): Redefine C-s in the minibuffer to insert the last
1751         incremental search string.
1753         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
1754         XEmacs.
1756         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
1757         (ediff-merge-region-is-non-clash)
1758         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
1759         Also check if the job is really a merge job.
1761         * ediff.el (ediff-current-file): New function.
1763 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
1765         * progmodes/js.el: Edit docstrings throughout to follow Emacs
1766         conventions.
1767         (js-insert-and-indent): Delete function.
1768         (js-mode-map): Don't bind keys to js-insert-and-indent.
1769         (js-beginning-of-defun): Rename from js--beginning-of-defun.
1770         (js-end-of-defun): Rename from js--end-of-defun.
1771         (js-auto-indent-flag): Delete variable.
1773 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
1775         * progmodes/js.el: Remove proclaim statement.
1776         Defvar which-func-imenu-joiner-function to silence compiler.
1778         * files.el (auto-mode-alist): Use js-mode for .js files.
1780         * progmodes/js2-mode.el: Remove file.
1782         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
1784         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
1786         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
1788 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
1789             Karl Landstrom  <karl.landstrom@brgeight.se>
1791         * progmodes/js.el: New file.
1793 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
1795         * timezone.el (timezone-parse-date): Add ability to understand ISO
1796         basic format (minimal separators) dates in addition to the
1797         already-supported extended format dates.
1799 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
1801         * international/ucs-normalize.el: Add a `coding' file variable.
1803         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
1805 2009-08-14  Sam Steingold  <sds@gnu.org>
1807         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
1809 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
1811         * faces.el (help-argument-name): Define it here instead of
1812         help-fns.el, because in daemon mode help-fns.el may be loaded when
1813         faces are still uninitialized (Bug#1078).
1815         * help-fns.el (help-argument-name): Move defface to faces.el.
1817 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
1819         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
1820         create buffer with a pty but no process so that GDB can make the
1821         inferior the controlling process.
1823 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
1825         * international/ucs-normalize.el: New file.
1827 2009-08-13  Richard Stallman  <rms@gnu.org>
1829         * mail/rmail.el (rmail-get-attr-names):
1830         Accept an attribute header that is too short.
1832         * mail/rmail.el (rmail-forget-messages):
1833         Ignore nil elt in rmail-message-vector.  Use dotimes.
1835         * progmodes/compile.el (compilation-goto-locus):
1836         Use next-error-move-function.
1838         * simple.el (next-error-move-function): New variable.
1840 2009-08-12  Juri Linkov  <juri@jurta.org>
1842         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
1843         always non-nil.  (Bug#4052)
1845         * replace.el (read-regexp): Return empty string when
1846         `default-value' is nil.
1847         (keep-lines-read-args): Don't use empty string as the
1848         default value for `read-regexp'.  (Bug#2495)
1850 2009-08-12  Juri Linkov  <juri@jurta.org>
1852         * international/mule-cmds.el (ucs-insert): Change arguments
1853         from `arg' to `character', `count', `inherit' to be the same
1854         as in `insert-char'.  Doc fix.  (Bug#4039)
1856         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
1858 2009-08-12  Juri Linkov  <juri@jurta.org>
1860         * files-x.el: New file.
1862         * files.el: Move code that deals with adding/deleting
1863         file/directory-local variables to files-x.el.
1865         * Makefile.in (ELCFILES): Add files-x.elc.
1867 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
1869         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
1870         to use `goto-line'.
1871         (gdb-place-breakpoints, gdb-get-location): Rewritten without
1872         `goto-line'.
1873         (gdb-invalidate-disassembly): Do not refresh upon receiving
1874         'update signal.  Instead, update all disassembly buffers only after
1875         threads list.
1876         (gdb): Send -target-detach when buffer is killed (#3794).
1877         (gdb-starting): Moved -data-list-register-names...
1878         (gdb-stopped): ...here so it's sent when first thread stops.
1879         (gdb-registers-handler-custom): Do nothing if register names are
1880         unknown yet.
1882         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
1883         from `gdb-mi.el' to avoid extra tangling.
1885         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
1886         change which breaks `gud-def' definitions used in `gdb'.
1887         (gdb-update-gud-running): No extra fuss for updating frame number.
1889 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1891         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
1892         (describe-language-environment-map, setup-language-environment-map)
1893         (set-coding-system-map): Move initialization into declaration.
1894         (set-language-info-alist): Last arg to define-key-after can be skipped.
1896         * international/quail.el (quail-completion-1): Simplify.
1897         (quail-define-rules): Use slightly more compact code.
1898         (quail-insert-decode-map): Propertize keys, compact columns.
1900         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1901         Add goto-line.
1903 2009-08-10  Miles Bader  <miles@gnu.org>
1905         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
1906         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
1907         (js2-instance-member, js2-private-member, js2-private-function-call)
1908         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
1909         (js2-magic-paren, js2-external-variable):
1910         Remove "-face" suffix from face names.
1911         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
1912         (js2-highlight-undeclared-vars, js2-peek-token)
1913         (js2-parse-function-params, js2-mode-show-errors)
1914         (js2-mode-show-warnings, js2-make-magic-delimiter)
1915         (js2-mode-highlight-magic-parens): Update to use new face names.
1917 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
1919         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
1920         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
1922 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
1924         * subr.el: Provide hashtable-print-readable.
1926         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
1927         hs-c-like-adjust-block-beginning.
1928         (hs-hide-block-at-point): Stop hiding at the beginning of
1929         hs-block-end-regexp (Bug#700).
1931 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
1933         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
1934         a macro.
1935         (gdb-registers-handler-custom): Do not fail when register names
1936         are unavailable.
1938 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
1940         * progmodes/gdb-mi.el (gdb-control-all-threads)
1941         (gdb-control-current-thread): Interactive setters for
1942         `gdb-gud-control-all-threads' to use in menu.
1943         (gdb-show-run-p): Show «Go» when process is not active.
1944         (gud-tool-bar-map): Add non-stop/A,T indicator.  Uses
1945         gud/thread.xpm and gud/all.xpm.
1947 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
1949         * net/net-utils.el (net-utils-font-lock-keywords): New var.
1950         (nslookup-font-lock-keywords): Make it a variable.
1951         (net-utils-mode): New mode for viewing diagnostic network output.
1952         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
1953         (net-utils-run-simple): New function.
1954         (ifconfig, iwconfig, netstat, arp, route): Use it.
1956 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
1958         * progmodes/gdb-mi.el (gdb-read-memory-custom)
1959         (gdb-memory-set-address, def-gdb-set-positive-number)
1960         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
1961         after changing settings.
1962         (gdb-invalidate-disassembly): Update when first shown.
1963         (gdb-edit-locals-value): Fixed.
1964         (gdb-registers-handler-custom): Print registers in right order and
1965         allow changing register values (only for current thread yet).
1966         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
1967         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
1968         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
1969         (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
1970         info in mode name.
1971         (gdb-registers-mode-map): TAB to switch to locals.
1973 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
1975         * mail/rmail.el (rmail-add-mbox-headers)
1976         (rmail-set-message-counters-counter): Search for
1977         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
1979 2009-08-08  Glenn Morris  <rgm@gnu.org>
1981         * Makefile.in (ELCFILES): Update.
1983 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
1985         * mail/sendmail.el (mail-yank-original): Set
1986         buffer-file-coding-system from the one used by the message whose
1987         text is yanked.
1989         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
1990         to "windows" when "pgnuplot" is used.
1991         (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
1992         call accept-process-output if "pgnuplot" is used.
1993         (calc-graph-init): Don't send -display and -geometry to
1994         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
1995         running "pgnuplot -V" with shell-command-to-string.
1997         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
1998         the default.
2000 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
2002         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
2003         org/org-latex.elc.
2005 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
2007         * vc-dispatcher.el (vc-resynch-window): Update comment.
2009         * term.el (term-handle-ansi-escape): Add comments with the
2010         terminfo capabilities implemented.
2012 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
2014         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
2015         (gdb-var-create-handler): Rewritten using JSON parser.
2016         (gdb-propertize-header): Moved earlier.
2017         (gdb-set-header): Removed to avoid duplication.
2018         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
2019         Refresh disassembly buffers only after threads list have been
2020         update.
2021         (gdb-threads-header, gdb-registers-header): Per-buffer header line
2022         variables.
2024 2009-08-04  Juri Linkov  <juri@jurta.org>
2026         * files.el: Commands to add/delete file/directory-local variables.
2027         (read-file-local-variable, read-file-local-variable-value)
2028         (read-file-local-variable-mode, modify-file-local-variable)
2029         (modify-file-local-variable-prop-line)
2030         (modify-dir-local-variable): New functions.
2031         (add-file-local-variable, delete-file-local-variable)
2032         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
2033         (add-dir-local-variable, delete-dir-local-variable)
2034         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
2035         (copy-dir-locals-to-file-locals-prop-line): New commands.
2037 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
2039         * abbrev.el (insert-abbrev-table-description): Prettify output.
2040         Suggested by Karl Chen.
2042 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
2044         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
2045         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
2046         (gdb-overlay-arrow-position, gdb-thread-position)
2047         (gdb-disassembly-position): Declare variables.
2048         (gdb-wait-for-pending): Function now.
2049         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
2050         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
2051         compilation goes smoothly.
2052         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
2053         (gdb-non-stop-setting): New customization setting which replaces
2054         `gdb-non-stop' so changing it doesn't break active GDB session.
2055         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
2056         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
2057         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
2058         (gdb-show-threads-by-default): New customization options.
2059         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
2060         routines.
2061         (gdb-get-buffer-create): Send buffers update signal when they are
2062         created.
2063         (gdb-invalidate-locals, gdb-invalidate-registers)
2064         (gdb-invalidate-breakpoints)
2065         (gdb-invalidate-threads, gdb-invalidate-disassembly)
2066         (gdb-invalidate-memory): Accept update signal.
2067         (gdb-current-context-command): Use --frame option.
2068         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
2069         Implement `gdb-frame-number' selection logic.
2070         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
2071         whether to show GUD toolbar buttons.
2072         (gdb-thread-exited): Unselect current thread when it exits.
2073         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
2074         (gdb-mark-line): Routine which sets overlay arrow or inverses
2075         video on fringeless displays.
2076         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
2077         to build aligned columns of data in GDB buffers and set text
2078         properties line-by-line.
2079         (gdb-invalidate-breakpoints)
2080         (gdb-breakpoints-list-handler-custom)
2081         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
2082         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
2083         (gdb-registers-handler-custom): Align data columns.
2084         (gdb-locals-handler-custom): Now prints data like in variable
2085         declarations.
2086         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
2087         Removed confusing buttons.
2088         (gdb-invalidate-threads): Append --frame.
2089         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
2090         between breakpoints/threads buffers.
2091         (gdb-set-window-buffer): Now can ignore dedicated windows.
2092         (gdb-propertize-header): Use `gdb-set-window-buffer'.
2093         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
2094         (def-gdb-thread-buffer-gud-command): Replaces
2095         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
2096         for fine thread control.
2097         (gdb-preempt-existing-or-display-buffer): New function used to
2098         display bound buffers without breaking window layout.
2099         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
2100         (gdb-select-frame): New version of `gdb-frames-select' which now
2101         sets `gdb-frame-number' so commands may use --frame option instead
2102         of inner debugger state.
2103         (gdb-frame-handler): Do not set `gdb-frame-number'.
2104         (gdb-threads-mode-map): Select threads with mouse.
2106         * progmodes/gud.el (gdb-gud-context-call): Declare function to
2107         avoid compilation warning.
2108         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
2109         `gdb-show-stop-p`.
2111         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
2112         Argument `key' renamed to `buffer-type'.
2113         (gdb-current-context-buffer-name): Do not add thread info to
2114         buffer name when no thread is selected.
2115         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
2116         command (bug 3794).
2117         (gdb-thread-selected): Handle `=thread-selected' notification.
2118         (gdb-wait-for-pending): New macro to deal with congestion problems.
2119         (gdb-breakpoints-list-handler-custom): Don't fail on pending
2120         breakpoints.
2121         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
2122         This fixes problem similar to one described in bug 3947.
2123         (gud-menu-map): More menu items.
2124         (gdb-init-1): Reset `gdb-thread-number' to nil.
2126         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
2127         non-stop settings.
2129         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
2130         (gdb-current-context-command): Do not append --thread if
2131         `gdb-thread-number' is nil.
2132         (gdb-running-threads-count, gdb-stopped-threads-count): New
2133         variables.
2134         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
2135         (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
2136         customization options.
2137         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
2138         GUD commands.
2139         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
2140         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
2141         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
2142         set `gdb-thread-number' and update `gud-running' properly.
2143         (gdb-running): Update threads list when new threads appear.
2144         (gdb-stopped): Support non-stop operation and new thread switching
2145         logic.
2146         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
2147         (gdb-json-partial-output): New set of JSON routines.
2148         (def-gdb-auto-update-trigger): New `signal-list' optional
2149         argument.
2150         (gdb-thread-list-handler-custom): Update `gud-running',
2151         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
2152         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
2153         (gdb-continue-thread, gdb-step-thread): New commands for fine
2154         thread execution control.
2155         (gud-menu-map): New menu items to switch non-stop options.
2156         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
2157         (gdb-send): Mimic RET properly (bug 3794).
2159         * progmodes/gdb-mi.el (gdb-rules-name-maker)
2160         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
2161         gdb-buffer-rules.
2162         (def-gdb-auto-update-handler): New nopreserve optional argument.
2163         (gdb-stack-list-frames-custom): Print stack from top to bottom.
2165         * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
2166         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
2167         (gdb-parent-mode): New mode to derive other GDB modes from.
2168         (gdb-display-disassembly-for-thread)
2169         (gdb-frame-disassembly-for-thread): New commands for threads
2170         buffer.
2172         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
2173         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
2174         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
2175         (gdb-update): We now store all GDB buffers in a list so that they
2176         can be updated by traversing a list instead of calling invalidate
2177         triggers explicitly.
2178         (def-gdb-trigger-and-handler): New macro to define trigger-handler
2179         pair for GDB buffer.
2180         (gdb-stack-buffer-name): Add thread information.
2181         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
2182         handle pending triggers.
2183         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
2184         (def-gdb-thread-buffer-simple-command)
2185         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
2186         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
2187         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
2188         New commands which show buffers bound to thread.
2189         (gdb-stack-list-locals-regexp): Removed unused regexp.
2191         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
2192         (gdb-locals-buffer-name, gdb-registers-buffer-name)
2193         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
2194         to (gud-comint-buffer) in *-buffer-name functions
2195         because (gdb-get-target-string) already does that.
2196         (gdb-locals-handler-custom, gdb-registers-handler-custom)
2197         (gdb-changed-registers-handler): Rewritten without regexps.
2199         * progmodes/gdb-mi.el Basic thread selection support.
2200         (gdb-thread-number): New variable.
2201         (gdb-current-context-command): New macro which adds --thread
2202         option to command.
2203         (gdb-threads-mode-map): Select thread with SPC.
2204         (gdb-thread-list-handler-custom): Mark current thread with overlay
2205         arrow.  Synchronize GDB thread and Emacs thread.
2206         (gdb-select-thread): New command which selects current thread.
2207         (gdb-invalidate-frames, gdb-invalidate-locals)
2208         (gdb-invalidate-registers): Use --thread option.
2210 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
2212         * net/tramp.el (top): Make check for tramp-gvfs loading more
2213         robust.  (Bug#3977)
2214         (tramp-handle-insert-file-contents): `unwind-protect' must be
2215         inside `with-parsed-tramp-file-name'.
2217         * net/tramp-gvfs.el (top): Remove superfluous message when loading
2218         fails.
2220 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
2222         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
2223         directory if CLASSPATH is not set.
2225 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
2227         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
2228         New defconst.
2229         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
2231 2009-08-02  Kevin Ryde  <user42@zip.com.au>
2233         * net/newst-backend.el (newsticker--raw-url-list-defaults):
2234         Update freshmeat link.  Delete newsforge.com as it seems gone.
2236 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
2238         * select.el (x-set-selection): Doc fix (Bug#4021).
2240         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
2242         * help-fns.el (describe-variable): Treat list return values from
2243         dir-locals-find-file properly (Bug#4005).
2245 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
2247         * net/tramp.el (tramp-debug-message): Print also microseconds.
2249 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
2251         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
2252         or END is non-nil.
2253         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
2254         (tramp-get-debug-buffer): Change `outline-regexp' according to new
2255         format.
2257         * net/tramp-cache.el (tramp-cache-inhibit-cache ): New defvar.
2258         (tramp-get-file-property): Use it.
2260         * autorevert.el (auto-revert-handler): Allow
2261         `auto-revert-tail-mode' for remote files.
2263 2009-08-02  Jason Rumney  <jasonr@gnu.org>
2265         * minibuffer.el (read-file-name): Treat confirm options to
2266         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
2268 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
2270         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
2271         (font-lock-variable-name-face, font-lock-constant-face): Darken
2272         the colors for light backgrounds.
2274 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
2276         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
2277         month names.  (Bug#3987)
2279 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
2281         * simple.el (line-move-finish): Pass whole number to
2282         line-move-to-column.
2283         (line-move-visual): Perform hscroll to the recorded position.
2285 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
2287         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
2289 2009-07-29  Alan Mackenzie  <acm@muc.de>
2291         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
2293 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
2295         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
2296         (gdb-place-breakpoints): Use full path when setting breakpoints.
2298 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
2300         * calc/calc.el (calc-mode-map): Add keybinding for
2301         `calc-transpose-lines'.
2303 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
2305         * calc/calc-misc.el (calc-transpose-lines): New function.
2307 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
2309         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
2310         Simplify check for out-of-band methods.
2311         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
2312         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
2314 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
2316         * vc-git.el (vc-git-checkin): Fix typo.
2318 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
2320         * progmodes/js2-mode.el: New file.
2322 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
2324         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
2325         (gud-menu-map): Adjust tooltip accordingly.
2327 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
2329         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
2330         (vc-bzr-log-view-mode): Adjust log-view-file-re.
2332         * add-log.el (change-log-mode-map): Add a menu.
2334 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
2336         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
2337         function returns nil.
2338         (dbus-handle-event): Handle special return value :ignore.
2339         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
2341 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
2343         * view.el (view-mode-enable): Don't define Helper-return-blurb if
2344         it's not needed.
2346 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
2348         Fix Bug#3888:
2350         * w32-vars.el (x-select-enable-clipboard): Doc fix.
2352         * term/pc-win.el (x-display-name, x-colors)
2353         (x-select-enable-clipboard, x-select-text): Doc fix.
2355         * term/common-win.el (x-display-name, x-colors): Doc fix.
2357         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
2358         (xw-defined-colors): Doc fix.
2360         * w32-fns.el (x-select-text, x-setup-function-keys)
2361         (x-get-selection, x-set-selection): Doc fix.
2363         * term/x-win.el (x-select-text, x-setup-function-keys)
2364         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
2366         * select.el (x-set-selection): Doc fix.
2368 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
2370         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
2371         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
2372         "IsNSSSupportAvailable" method is not available.  Reported by
2373         Steve Youngs <steve@sxemacs.org>.
2375 2009-07-24  Kenichi Handa  <handa@m17n.org>
2377         * international/characters.el: Fix setting of category ?C, ?|, ?K,
2378         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
2379         (build-unicode-category-table): Fix range checks.
2381 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
2383         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
2384         the buffer we try to sync is current when calling
2385         vc-resynch-buffer.
2387         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
2388         not show up to date files.
2390 2009-07-24  Glenn Morris  <rgm@gnu.org>
2392         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
2393         Add autoload cookies.  If necessary, initialize.
2394         (elint-log): Handle non-file buffers.
2395         (elint-initialize): Add optional argument to reinitialize.
2396         (elint-find-builtin-variables): Save excursion.
2398 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
2400         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
2401         for Lint.
2403 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
2405         * vc.el (vc-print-log-internal): New function, split out from ...
2406         (vc-print-log): ... here.
2407         (vc-dir-move-to-goal-column): Declare.
2409         * vc-git.el (vc-git-add-signoff): New variable.
2410         (vc-git-checkin): Use it.
2411         (vc-git-toggle-signoff): New function.
2412         (vc-git-extra-menu-map): Bind it to menu.
2413         (vc-git--run-command-string): Accept a nil FILE argument.
2414         (vc-git-stash-list): New function.
2415         (vc-git-dir-extra-headers): Use it.
2417 2009-07-23  Glenn Morris  <rgm@gnu.org>
2419         * help-fns.el (describe-variable): Describe ignored and risky local
2420         variables in a similar way to that in which we describe safe ones.
2422         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
2423         (byte-compile-output-file-form, byte-compile-output-docform)
2424         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
2425         Give some more local variables with common names a "bytecomp-" prefix,
2426         so as not to shadow things during compilation.
2427         * emacs-lisp/cl-macs.el (load-time-value)
2428         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
2429         `outbuffer' to `bytecomp-outbuffer'.
2431         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
2432         since the next two variables cover them automatically now.
2433         (elint-builtin-variables, elint-autoloaded-variables): New.
2434         (elint-unknown-builtin-args): Remove all members, since they can be
2435         parsed automatically now.
2436         (elint-extra-errors): New.
2437         (elint-env-add-env, elint-env-add-macro): Use cadr.
2438         (elint-current-buffer): Use or.  Change final message.
2439         (elint-get-top-forms): Use line-end-position.
2440         (elint-init-env): Use cadr.  Handle autoload, declare-function,
2441         and defalias.
2442         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
2443         (regexp-assoc): Remove unused function.
2444         (elint-top-form): Set elint-current-pos, to record the start of the
2445         top-level form, for compilation-mode.
2446         (elint-form): Trap errors in macro expansion.  Use dolist.
2447         (elint-unbound-variable): Use elint-builtin-variables and
2448         elint-autoloaded-variables.
2449         (elint-get-args): Use cadr, or.
2450         (elint-check-cond-form): Use dolist, cadr.
2451         (elint-check-condition-case-form): Doc fix.  Use cadr.
2452         Use elint-extra-errors.
2453         (elint-log): New function.
2454         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
2455         Distinguish errors and warnings.
2456         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
2457         Use a bytecomp-style format.
2458         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
2459         (elint-get-log-buffer): Use compilation mode.  Disable undo.
2460         Don't truncate lines.
2461         (elint-initialize): Set builtin and autoloaded variable lists.
2462         Only process elint-unknown-builtin-args if non-nil.
2463         (elint-find-builtin-variables, elint-find-autoloaded-variables):
2464         New functions.
2465         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
2467 2009-07-22  Kevin Ryde  <user42@zip.com.au>
2469         * net/newst-backend.el (newsticker--parse-atom-1.0)
2470         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
2471         (newsticker--parse-rss-1.0):
2472         * progmodes/idlwave.el (idlwave-mode):
2473         * progmodes/idlw-shell.el (idlwave-shell-mode):
2474         * progmodes/vera-mode.el (vera-mode):
2475         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
2476         * progmodes/vhdl-mode.el (vhdl-mode):
2477         * textmodes/table.el (table-generate-source)
2478         (table--warn-incompatibility):
2479         Hyperlink urls in docstrings with URL `...'.
2481 2009-07-22  Glenn Morris  <rgm@gnu.org>
2483         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
2484         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
2485         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
2486         Remove leading * from defcustom docs.
2488         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
2490         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
2491         defcustom doc.
2492         (list-load-path-shadows): Optionally, just return shadows as a string.
2494         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
2496 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
2498         * mail/rmailedit.el (rmail-edit-mode): Use
2499         auto-save-include-big-deletions.
2501         * mail/rmail.el (rmail-variables): Use
2502         auto-save-include-big-deletions.
2504         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
2505         changes.
2507 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
2509         * calc/calc.el (calc-undo-length): New variable.
2510         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
2512 2009-07-21  Richard Stallman  <rms@gnu.org>
2514         * files.el (auto-save-mode): Handle buffer-save-size = -2
2515         for toggling mode.
2517 2009-07-21  Glenn Morris  <rgm@gnu.org>
2519         * textmodes/ispell.el (ispell-looking-back): Update declaration.
2521         * calendar/todo-mode.el (calendar-current-date): Update declaration.
2523         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
2524         silence compiler.  Instead...
2525         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
2526         (ps-print-ensure-fontified): Update for above function name changes.
2528         * printing.el (pr-mh-get-msg-num, pr-mh-show)
2529         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
2530         silence compiler.  Instead...
2531         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
2532         (mh-show-buffer): Only define for compiler.
2533         (pr-mh-current-message): Update for above function name changes.
2535         * files.el (abort-if-file-too-large): Explicitly pass `filename'
2536         as an argument.
2537         (find-file-noselect, insert-file-1): Update for above change.
2539         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
2541         * mail/mailclient.el (mailclient-send-it): Fix message.
2543         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
2544         (edebug-eval): Check cl-debug-env is bound.
2545         (print-level, print-circle): Don't redefine built-in variables.
2547         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
2548         (custom-print-vectors): Remove old comments from doc.
2550         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
2551         (emerge-version): Make the variable an obsolete alias for the
2552         emacs-version variable.  Make the function obsolete.
2553         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
2554         Emerge options, rather than merging in into the main Options menu.
2555         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
2556         and auto advance modes.  Disable edit/fast items when not relevant.
2558 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
2560         * term/vt420.el (terminal-init-vt420): Fix typo.
2562 2009-07-20  Sam Steingold  <sds@gnu.org>
2564         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
2565         variable (removed from compile.el on 2004-03-11).
2567 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
2569         * files.el (hack-local-variables-filter): Fix last change.
2571 2009-07-19  Juri Linkov  <juri@jurta.org>
2573         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
2574         (dir-local-variables-alist): New buffer-local variable.
2575         (hack-local-variables-filter): If variable is not dir-local,
2576         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
2577         because file-local overrides dir-local.
2578         (c-postprocess-file-styles)<declare-function>:
2579         Remove obsolete declaration.
2580         (hack-dir-local-variables): Add dir-local variable/value pair to
2581         `dir-local-variables-alist' and remove duplicates.  Doc fix.
2583         * help-fns.el (describe-variable): Add information about
2584         file-local and dir-local variables.
2586 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
2588         * files.el (hack-local-variables-filter): Rewrite.
2590 2009-07-19  Glenn Morris  <rgm@gnu.org>
2592         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
2593         Silence compiler by only defining on XEmacs.
2595         * international/mule.el (auto-coding-regexp-alist): Only match
2596         BABYL... at the start of buffer, not of lines.  (Bug#3790)
2598         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
2599         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
2600         (cal-menu-context-mouse-menu): Doc fix.
2602         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
2604         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
2606 2009-07-18  Juri Linkov  <juri@jurta.org>
2608         * info.el: Virtual Info keyword finder.
2609         (add-to-list)<Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
2610         (Info-finder-file): New variable.
2611         (Info-finder-find-file): New function.
2612         (finder-known-keywords, finder-package-info)
2613         (find-library-name, lm-commentary): Use defvar and
2614         declare-function to silence compiler warnings.
2615         (Info-finder-find-node): New function.
2616         (info-finder): New command.
2618         * subr.el (process-kill-buffer-query-function): New function.
2619         (add-hook)<kill-buffer-query-functions>: Add hook
2620         `process-kill-buffer-query-function'.
2622 2009-07-18  Alan Mackenzie  <acm@muc.de>
2624         * progmodes/cc-mode.el (c-before-hack-hook)
2625         (c-postprocess-file-styles): Give invocation of `c-set-style'
2626         DONT-OVERRIDE parameter of t.  Already set style variables will
2627         thus not be overridden by style settings given by `c-file-syle'.
2629         * files.el (hack-local-variables-filter): Remove entries with
2630         duplicate keys from `file-local-variables-alist'.
2632 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
2634         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
2635         x-set-selection if display-selections-p returns nil for the
2636         current frame.
2638 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
2640         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
2642 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
2644         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
2645         Accept nil in addition to a regexp.
2646         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
2647         Accept nil in addition to a regexp.
2648         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
2649         buffers that have an associated file.  Handle nil values of
2650         desktop-buffers-not-to-save and desktop-files-not-to-save.
2651         (Bug#3833)
2653         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2654         (x-disown-selection-internal): New functions.
2656 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
2658         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
2659         warning.
2660         (gdb-breakpoints-header): Move forward to avoid compiler warning.
2661         (gdb-make-header-line-mouse-map): Remove duplicate definition.
2663 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
2665         * simple.el (set-mark): Revert last change.
2667 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
2669         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
2670         rendering of pngs is not possible instead of messaging a long
2671         description.
2673 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
2675         * w32-fns.el (x-selection-owner-p): New function.
2677         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
2678         (mouse-yank-at-click, mouse-yank-primary): If
2679         select-active-regions is non-nil, deactivate the mark before
2680         insertion.
2682         * simple.el (deactivate-mark, set-mark): Only save selection if we
2683         own it.
2685 2009-07-17  Kenichi Handa  <handa@m17n.org>
2687         * case-table.el (describe-buffer-case-table): Fix for the case
2688         that KEY is a cons.
2690 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
2692         * vc-rcs.el (vc-rcs-find-file-hook):
2693         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
2695 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
2697         * net/tramp.el (tramp-wait-for-output): Handle the case when
2698         commands do not return a newline but a null byte before the shell
2699         prompt.  (Bug#3858)
2701 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
2703         * term/ns-win.el (ns-set-alpha): Don't declare.
2704         (ns-set-background-alpha): Remove function.
2706 2009-07-16  Kevin Ryde  <user42@zip.com.au>
2708         * emacs-lisp/copyright.el (copyright-update): Save match-data across
2709         y-or-n-p, for safety.
2711 2009-07-16  Richard Stallman  <rms@gnu.org>
2713         * files.el (auto-save-mode): If buffer-saved-size is -2,
2714         don't clobber it.
2716         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
2717         (rmail-retry-ignored-headers): Add more uninteresting fields.
2719 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
2721         * net/rcirc.el (rcirc): Use history variables.
2722         (rcirc-server-name-history, rcirc-nick-name-history)
2723         (rcirc-server-port-history): New variables.
2725 2009-07-15  Kenichi Handa  <handa@m17n.org>
2727         * international/mule-cmds.el (set-language-environment-charset):
2728         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
2729         ignore them.
2731         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
2732         Delete unibyte-display.
2734 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
2736         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
2738 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
2740         * simple.el (deactivate-mark): Optional argument FORCE.
2741         (set-mark): Use deactivate-mark.
2743         * info.el (Info-search): No need to check transient-mark-mode
2744         before calling deactivate-mark.
2746         * select.el (x-set-selection): Doc fix.
2747         (x-valid-simple-selection-p): Allow buffer values.
2748         (xselect--selection-bounds): Handle buffer values.  Suggested by
2749         David De La Harpe Golden.
2751         * mouse.el (mouse-set-region, mouse-drag-track): Call
2752         copy-region-as-kill before setting the mark, to let
2753         select-active-regions work.
2755 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
2757         * simple.el (deactivate-mark): If select-active-regions is
2758         non-nil, copy the selection data into a string.
2759         (activate-mark): If select-active-regions is non-nil, set the
2760         selection to the current buffer.
2761         (set-mark): Update selection if select-active-regions is non-nil.
2763         * select.el (x-valid-simple-selection-p): Allow buffer values.
2765 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2767         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
2768         and more featureful message-mode.
2770 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
2772         * select.el (x-set-selection): Doc fix.
2773         (x-valid-simple-selection-p): Disallow selection data consisting
2774         of a list or cons of integers, since that is not used.
2775         (xselect--selection-bounds, xselect--int-to-cons): New functions.
2776         (xselect-convert-to-string, xselect-convert-to-length)
2777         (xselect-convert-to-filename, xselect-convert-to-charpos)
2778         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
2780 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
2782         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
2783         output in -break-info command (Emacs bug #3794).
2785 2009-07-14  Glenn Morris  <rgm@gnu.org>
2787         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
2788         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
2789         (edebug-print-length, edebug-print-level, edebug-print-circle)
2790         (edebug-sit-for-seconds, edebug-view-outside)
2791         (edebug-bounce-point, edebug-set-global-break-condition)
2792         (edebug-Go-nonstop-mode, edebug-trace-mode)
2793         (edebug-Trace-fast-mode, edebug-continue-mode)
2794         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
2795         (edebug-visit-eval-list): Doc fixes.
2797         * subr.el (def-edebug-spec): Doc fix.
2799 2009-07-14  Kenichi Handa  <handa@m17n.org>
2801         * international/characters.el: Fix setting of category ?C.
2803 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
2805         * term/ns-win.el (x-select-font): defalias x-select-font to
2806         ns-popup-font-panel instead of generate-fontset-menu.
2808 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
2810         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
2812 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
2814         * arc-mode.el (archive-find-type): Allow for a PK00 string before
2815         the PK\003\004 header (Bug#3770).
2817 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
2819         * pcomplete.el (pcomplete-comint-setup): Check for
2820         shell-dynamic-complete-filename too.
2822 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
2824         * simple.el (temporary-goal-column): Change the value for
2825         line-move-visual to a cons cell.
2826         (line-move-visual): Record or set the window hscroll, if
2827         necessary (Bug#3494).
2828         (line-move-1): Handle cons value of temporary-goal-column.
2830 2009-07-11  Kenichi Handa  <handa@m17n.org>
2832         * international/mule-diag.el (describe-character-set): Don't show
2833         width.
2835 2009-07-10  Sam Steingold  <sds@gnu.org>
2837         * progmodes/compile.el (compilation-mode-font-lock-keywords):
2838         Omake sometimes indents the errors it prints, so allow all
2839         regexps to start with spaces.
2841 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
2843         * cus-edit.el (customize-changed-options-previous-release):
2844         Bump value to 22.1.  (Bug#3804)
2846 2009-07-08  Sam Steingold  <sds@gnu.org>
2848         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
2849         to be a cons cell (test . ignored-directory) to selectively ignore
2850         some directories depending on the location of the search.
2852 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
2854         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
2855         remote user is root, on the local host.
2856         (tramp-local-host-p): Either the local user or the remote user
2857         must be root.  (Bug#3771)
2859 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
2861         * progmodes/gdb-mi.el (gdb): Remove description of
2862         gdb-use-separate-io-buffer.
2863         (menu): Don't allow toggling of or enable
2864         gdb-use-separate-io-buffer from menubar.
2866 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
2868         * mail/unrmail.el (unrmail): Make sure the message ends with two
2869         newlines (Bug#3769).
2871 2009-07-08  Glenn Morris  <rgm@gnu.org>
2873         * calendar/calendar.el (calendar-current-date): Rework previous change.
2875 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
2877         * calendar/calendar.el (calendar-current-date):
2878         Add an optional argument giving an offset from today.
2880 2009-07-08  Glenn Morris  <rgm@gnu.org>
2882         * tutorial.el (tutorial--describe-nonstandard-key):
2883         Adjust the message for when a key has been unbound.
2884         (help-with-tutorial): Hide the arch-tag.
2886 2009-07-08  Kenichi Handa  <handa@m17n.org>
2888         * international/fontset.el (setup-default-fontset): For each
2889         script, append (not set) font-specs.
2891         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
2892         docstring.
2894 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
2896         * progmodes/gdb-mi.el (gdb-init-1): Move sending
2897         -data-list-register-names to ...
2898         (gdb-starting): ... here because GDB 7.0 requires execution to
2899         have started when using this MI command.
2900         (gdb-set-header): New function to distinguish select and
2901         unselected tabs in gdb buffers.
2902         (gdb-propertize-header): New macro that uses gdb-set-header.
2903         (gdb-breakpoints-header, gdb-locals-header): Use it.
2904         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
2906 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
2908         * Makefile.in (ELCFILES): Remove fadr.elc.
2910 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
2912         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
2913         may contain frame information, so `string-match' should be used.
2914         (gdb-update): Disassembly is invalidated through
2915         `gdb-get-selected-frame'.
2916         (gdb-pad-string): New function to pad string with spaces.
2917         (gdb-invalidate-disassembly): Invalidate only if the buffer
2918         exists.
2919         (gdb-disassembly-handler-custom): Column alignment.
2920         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
2921         placing new ones.
2922         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
2923         end of line, too.
2924         (gdb-frame-handler): Match convention to for disassembly buffer
2925         mode name.
2926         (gdb-stack-list-frames-handler): Rewritten without regexps.
2927         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
2928         not highlight breakpoints without line information.
2929         (gdb-input): Add trailing newline to command.
2931         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
2932         buffer properly.
2933         (gdb-breakpoints-list-handler-custom): Replacement for
2934         `gdb-break-list-handler'.  Using real parser instead of regexps
2935         now.
2936         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
2937         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
2938         to place breakpoints.
2939         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
2940         functions.
2941         (gdb-disassembly-handler-custom): Show overlay arrow.
2942         (gdb-disassembly-place-breakpoints): Show breakpoints in
2943         disassembly buffer.
2944         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
2945         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
2946         instead of parsing breakpoints buffer.  Fixed old menu references
2947         in `gud-menu-map'.
2949         * fadr.el: Remove.
2951         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
2952         (gdb-memory-address): New variable which holds top address of
2953         memory page shown in memory buffer.
2954         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
2955         customization variables.
2956         New functions:
2957         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
2958         display the memory buffer.
2959         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
2960         buffer display parameters.
2961         (def-gdb-memory-format, gdb-memory-format-binary)
2962         (gdb-memory-format-octal, gdb-memory-format-unsigned)
2963         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
2964         Functions for setting memory buffer format.
2965         (gdb-memory-unit-word, gdb-memory-unit-halfword)
2966         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
2967         unit size used in memory buffer.
2968         (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
2969         to next/previous page of memory buffer.
2970         Now using (bindat-get-field) instead of fadr functions.
2972 2009-07-07  Sam Steingold  <sds@gnu.org>
2974         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
2975         non-top-level files.
2977 2009-07-07  Kenichi Handa  <handa@m17n.org>
2979         * international/mule-cmds.el (reset-language-environment): Put
2980         the highset priority to the charset iso-8859-1.
2982 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
2984         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
2985         to the end of the line when locating the block (Bug#700).
2987 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
2989         * net/tramp.el (tramp-handle-write-region): Flush file properties
2990         in case of short track.
2992 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
2994         * verilog-mode.el (verilog-error-regexp-emacs-alist): Coded custom
2995         representation of verilog error regular expressions to work with
2996         Emacs-22's new format.
2997         (verilog-error-regexp-xemacs-alist): Coded custom representation
2998         of verilog error regular expressions to work with XEmacs format.
2999         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
3000         error recognition into XEmacs.
3001         (verilog-error-regexp-add-emacs): Hook routine to install verilog
3002         error recognition into Emacs-22.
3004 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
3006         * woman.el: Remove stand-alone closing parentheses.
3007         (woman-file-name, woman2-format-paragraphs)
3008         (woman-leave-blank-lines): Code cleanup.
3009         (woman-use-own-frame): Change default to nil.
3010         (woman-italic, woman-bold, woman-unknown, woman-addition): Change
3011         defaults to inherit from default faces.
3012         (woman2-process-escapes): Consume the newline after a stand-alone
3013         filler character (Bug#3651).
3015 2009-07-06  Glenn Morris  <rgm@gnu.org>
3017         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
3018         (top-level): Move provide to the end.
3019         (ffap): Remove defunct URL from custom group.
3021         * subr.el (eval-after-load): Doc fix.
3023 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
3025         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
3026         `calc-embedded-word' is called twice.
3028 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3030         * files.el (find-alternate-file-other-window, find-alternate-file):
3031         Obey confirm-nonexistent-file-or-buffer.
3033 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
3035         * dired-aux.el (dired-show-file-type): Handle remote files.
3037 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
3039         * desktop.el (desktop-globals-to-save):
3040         Add file-name-history (Bug#2750).
3042 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
3044         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
3046 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
3048         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
3049         property on entire argument since this is what eshell-lisp-command
3050         expects.
3052 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
3054         * net/tramp-gvfs.el (tramp-gvfs-methods)
3055         (tramp-gvfs-zeroconf-domain)
3056         (tramp-bluez-discover-devices-timeout): Add version flag.
3057         (tramp-gvfs-handler-mounted-unmounted)
3058         (tramp-gvfs-connection-mounted-p): Polish handling of
3059         incompatibilities between GVFS 0.2 and 1.0.
3061 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
3063         * cus-start.el (all): Add make-pointer-invisible.
3065 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
3067         * calc-math.el (math-use-emacs-fn): Make sure that the number is
3068         formatted correctly.
3070 2009-07-02  Juri Linkov  <juri@jurta.org>
3072         * info.el: Virtual Info files and nodes.
3073         (Info-virtual-files, Info-virtual-nodes): New variables.
3074         (Info-current-node-virtual): New variable.
3075         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
3076         New functions.
3077         (Info-file-supports-index-cookies): Use Info-virtual-file-p
3078         to check for a virtual file instead of checking a fixed list
3079         of node names.
3080         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
3081         instead of ad-hoc processing of "dir" and (apropos history toc).
3082         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
3083         instead of ad-hoc processing of "dir" and (apropos history toc).
3084         Reread a file when moving from a virtual node.
3085         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
3086         (Info-directory-toc-nodes, Info-directory-find-file)
3087         (Info-directory-find-node): New functions.
3088         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
3089         (Info-history): Move part of code to
3090         `Info-history-find-node'.
3091         (Info-history-toc-nodes, Info-history-find-file)
3092         (Info-history-find-node): New functions.
3093         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
3094         (Info-toc): Move part of code to `Info-toc-find-node'.
3095         (Info-toc-find-node): New function.
3096         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
3097         the current Info file name to references because now the node
3098         "*TOC*" belongs to the same Info manual.
3099         (Info-toc-build): Rename from `Info-build-toc'.
3100         (Info-toc-nodes): Rename input argument `file' to `filename'.
3101         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
3102         instead of ad-hoc processing of ("dir" apropos history toc).
3103         (Info-index-nodes): Use Info-virtual-file-p
3104         to check for a virtual file instead of checking a fixed list
3105         of node names.
3106         (Info-index-node): Add check for `Info-current-node-virtual'.
3107         Raise `save-match-data' higher up the tree to contain
3108         `search-forward' too (bug fix).
3109         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
3110         (Info-virtual-index-nodes): New variable.
3111         (Info-virtual-index-find-node, Info-virtual-index): New functions.
3112         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
3113         (Info-apropos-file, Info-apropos-nodes): New variables.
3114         (Info-apropos-toc-nodes, Info-apropos-find-file)
3115         (Info-apropos-find-node, Info-apropos-matches): New functions.
3116         (info-apropos): Move part of code to `Info-apropos-find-node' and
3117         `Info-apropos-matches'.
3118         (Info-mode-map): Bind "I" to `Info-virtual-index'.
3119         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
3120         for a virtual file instead of checking a fixed list of node names.
3122         * simple.el (async-shell-command): New command.
3124         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
3126         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
3127         instead of `mount-info'.
3129 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
3131         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
3132         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
3134 2009-07-02  Kenichi Handa  <handa@m17n.org>
3136         * international/mule.el (set-keyboard-coding-system): Force *-unix
3137         coding-system to avoid eol conversion.
3139 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
3141         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3142         Add handler for `process-file', `shell-command' and
3143         `start-file-process'.
3144         (tramp-gvfs-handle-shell-command)
3145         (tramp-gvfs-handle-start-file-process)
3146         (tramp-gvfs-handle-process-file): New defuns.
3147         (tramp-synce-list-devices): Simplify check for existence of property.
3149 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
3151         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
3153 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
3155         * language/korean.el (set-language-info-alist): Add korean-cp949,
3156         cp949 to spec.
3158 2009-07-01  Kenichi Handa  <handa@m17n.org>
3160         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
3162         * international/encoded-kb.el: Deleted.
3164         * international/mule.el (set-keyboard-coding-system): Perform the
3165         necessary setup here instead of calling encoded-kbd-setup-display.
3167 2009-07-01  Glenn Morris  <rgm@gnu.org>
3169         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
3171 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
3173         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
3175 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
3177         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
3178         Handle also the 'rename case, when setting file modes.  (Bug#3712)
3179         (tramp-default-file-modes) Remove execute permissions.
3181         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
3182         (top): Add a default for "synce" in `tramp-default-user-alist'.
3183         Add completion function for "synce" method.
3184         (tramp-hal-service, tramp-hal-path-manager)
3185         (tramp-hal-interface-manager, tramp-hal-interface-device):
3186         New defconst.
3187         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
3188         (tramp-synce-list-devices, tramp-synce-parse-device-names):
3189         New defuns.
3191         * net/trampver.el: Update release number.
3193 2009-06-30  Kenichi Handa  <handa@m17n.org>
3195         * international/fontset.el (setup-default-fontset): Add CJK fonts
3196         for symbols and the other miscellaneous characters.
3198         * language/korea-util.el (setup-korean-environment-internal):
3199         Make char-width-table suitable for Korean environments.
3200         (exit-korean-environment): Cancel above.
3202         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3203         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
3204         setup-funcion to make char-widht-table suitable for respective
3205         environments, and an exit-function to cancel that.
3207         * language/japan-util.el (setup-japanese-environment-internal):
3208         Call use-cjk-char-width-table with arg `ja_JP'.
3210         * international/characters.el (cjk-char-width-table): Delete it.
3211         (cjk-char-width-table-list): New variable.
3212         (use-cjk-char-width-table): New arg local-name.
3213         (use-default-char-width-table): Fix for the case that Emacs is
3214         already using the default char-width-table.
3216 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
3218         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
3219         modes mandatory.  (Bug#3712)
3221 2009-06-29  Alan Mackenzie  <acm@muc.de>
3223         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
3224         correction between the visible width of TABs and their number of bytes.
3226 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
3228         * server.el (server-buffer-done): Prevent kill-buffer from
3229         prompting by clearing the buffer modification flag (Bug#3696).
3231 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
3233         * verilog-mode.el (verilog-beg-of-statement)
3234         (verilog-endcomment-reason-re): Support unique case and priority case.
3235         (verilog-basic-complete-re): Support localparam lineup.
3236         (verilog-beg-of-statement-1): Fix for robustness, unique case.
3237         (verilog-set-auto-endcomments): Fix for unique case, always_comb
3238         commenting.
3239         (verilog-leap-to-case-head): Now support *nested* unique &
3240         priority case statements.
3241         (verilog-auto-lineup): Make just declarations the default (as it
3242         had been).
3243         (verilog-leap-to-case-head): Support priority/unique case statements.
3244         (verilog-auto-lineup): Rework to give users radio buttons to
3245         select the various styles of automatic lineup.
3246         (verilog-error-regexp-alist): Rework to support the XEmacs style
3247         of error regular expressions from compilers, lint tools &
3248         simulators.  Note that GNU Emacs has made it impossible for a mode
3249         to load such things.
3250         (electric-verilog-terminate-line, verilog-indent-declaration)
3251         (verilog-auto-wiure): Rework for radio button selection of
3252         auto-lineup selection of specification of auto lineup.
3253         (verilog-beg-of-statement-1): Redesign to support proper operation
3254         in additional code, based on testing with auto-lineup.
3255         (verilog-calculate-indent, assignments & declarations)
3256         (verilog-backward-token): Enhance to support auto-lineup of
3257         assignments & declarations.
3258         (verilog-in-directive-p, verilog-at-struct-p): New function for
3259         easy test of whether we are.
3260         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
3261         to support safe execution at almost anyline.
3262         (verilog-calc-1): Properly support indenting deep inside generate
3263         blocks.
3264         (verilog-init-font) Remove definition & use of verilog-init-font,
3265         as it is redundant with font-lock-defaults.
3266         (verilog-mode): Alter the definition of verilog-font-lock-defualts
3267         to avoid circular calls if syntax-ppss is a function (as is the
3268         case now in 22.x GNU Emacs) as that function would sometimes call
3269         itself, leading to (nearly) infinite recursion.
3270         (verilog-ovm-begin-re, verilog-ovm-end-re)
3271         (verilog-ovm-statement-re, verilog-leap-to-head)
3272         (verilog-backward-token): Add support for OVM macros.  Some are
3273         complete statements, and others open and close scopes like begin
3274         and end.
3275         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
3276         (verilog-defun-level-generate-only-re): Really fix the defun-list
3277         compilation issue.
3278         (verilog-calc-1) (verilog-beg-of-statement): Enhance support for
3279         coverpoint, constraint and cross statements.
3280         (verilog-defun-level-list, verilog-generate-defun-level-list)
3281         (verilog-all-defun-level-list): Redo these specifications - it is
3282         too hard to support eval-when compile aggregation of lists also
3283         built at when-compile time.
3284         (verilog-defun-level-list): Place defconsts of variables used in
3285         building regular expressions which are built in eval-when-compile
3286         bodies in the same eval-when-compile body to facilitate compile
3287         without load.
3288         (verilog-beg-block-re-ordered): Support indenting
3289         virtual/protected tasks and functions.
3290         (verilog-defun-level-list, verilog-in-generate-region-p)
3291         (verilog-backward-ws&directives, verilog-calc-1): Speed up
3292         indentation of some module items (generate items).
3293         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
3294         across virtual/protected tasks and functions.
3296 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
3298         * verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
3299         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
3300         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
3301         in concatenations.  Reported by Yishay Belkind.
3302         (verilog-auto-ascii-enum): Support one-hot state machines in
3303         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
3304         (verilog-auto-inst, verilog-auto-inst-port): Include interface
3305         modport in AUTOINST and add vl-modport for users.  Reported by
3306         David Rogoff.
3307         (verilog-auto-inout-module, verilog-auto-inst)
3308         (verilog-decls-get-interfaces, verilog-insert-definition)
3309         (verilog-insert-one-definition, verilog-read-decls)
3310         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
3311         (verilog-sig-modport, verilog-signals-combine-bus)
3312         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
3313         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
3314         Suggested by David Rogoff.
3315         (verilog-repair-open-comma): Fix non-insertion of comma when
3316         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
3317         (verilog-make-width-expression): Simplify [A-1:0] expression
3318         widths to just {A{1'b0}}.
3319         (verilog-mode): Cleanup checkdoc warnings.
3320         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
3321         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
3322         inputs/outputs or data type.  Suggested by Vasu Kandadi.
3323         (next-error-last-buffer): Fix byte-compiler warning.
3324         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
3325         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
3326         or shell command text during AUTO expansion.  Suggested by Tad Truex.
3327         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
3328         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
3329         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
3330         in AUTOINOUT.  Reported by Matthew Lovell.
3331         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
3332         causing use of <= assignments.  Reported by Alex Reed.
3333         (verilog-read-decls): Fix triand, trior, wand, wor to be
3334         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
3335         (verilog-extended-complete-re): Support import "DPI-C" functions.
3336         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
3337         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
3338         (verilog-insert-date, verilog-insert-year)
3339         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
3340         Windows systems.  Reported by Michael Potts.
3341         (verilog-read-module-name): Fix AUTOINST when the child module
3342         declaration's name is a tick define.  Reported by Elliot Mednick.
3343         (verilog-read-decls): Fix V2K parameter bit subscripts getting
3344         passed to next parameter's definition.  Reported by Bruce T.
3345         (verilog-read-decls): Fix detecting "parameter int" when using
3346         AUTOINSTPARAM.  Reported by Bruce T.
3347         (verilog-goto-defun): Fix goto not finding modules unless first
3348         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
3349         (verilog-mode): Expand -f flag arguments on entry to mode so
3350         verilog-goto-defun will work.  Reported by Lawrence Butcher.
3351         (verilog-getopt): Expand environment variables in -f file
3352         arguments.  Suggested by Lawrence Butcher.
3353         (verilog-set-define): Fix "Symbol's value as variable is void"
3354         when reading enumerations.
3355         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
3356         Suggested by Stephen Peltan.
3357         (verilog-read-defines): Fix reading of enumerations in include
3358         files.  Reported by Steve Peltan.
3360 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
3362         * files.el (trash-directory): Fix defcustom type.
3364 2009-06-28  Juri Linkov  <juri@jurta.org>
3366         * help-fns.el (describe-function-1): Correctly locate adviced
3367         functions in hyperlink (Bug#2438).
3369 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
3371         * files.el (trash-directory): Change default to nil.
3372         (move-file-to-trash): If trash-directory is nil and
3373         system-move-file-to-trash is unbound, perform freedesktop-style
3374         trashing.
3376 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
3378         * files.el (move-file-to-trash): Add freedesktop trash
3379         support (Bug#973).
3381 2009-06-28  Glenn Morris  <rgm@gnu.org>
3383         * autorevert.el (global-auto-revert-non-file-buffers)
3384         (global-auto-revert-mode): Doc fixes.
3386 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
3388         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
3390 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
3392         * faces.el (x-handle-named-frame-geometry): Ensure that we have
3393         opened an X connection before calling x-get-resource (Bug#3194).
3395         * play/doctor.el: Remove reference to obsolete website.
3396         (make-doctor-variables): Correct grammar mistake (Bug#2633).
3398 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
3400         Remove find-file-not-found-hook VC method.  (Bug#2757)
3401         * vc-hooks.el (vc-file-not-found-hook)
3402         (vc-default-find-file-not-found-hook): Remove functions.
3403         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
3404         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
3405         * vc.el:
3406         * vc-hg.el:
3407         * vc-git.el: Do not mention find-file-not-found-hook VC method.
3409 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
3411         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
3412           compatibility function for `looking-back'.
3414         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
3415         Use `ispell-looking-back'.
3417 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
3419         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
3420         rather than `filename'.
3422 2009-06-23  Miles Bader  <miles@gnu.org>
3424         * face-remap.el (text-scale-set): New function.
3426 2009-06-23  Glenn Morris  <rgm@gnu.org>
3428         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
3430         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
3432         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
3434         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
3436         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
3437         Simplify Persian conditionals.
3439         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
3440         variable `filename'.
3442         * comint.el (comint-insert-input): Doc fix.
3444         * Makefile.in (ELCFILES): Fix typo in previous change.
3446 2009-06-23  Miles Bader  <miles@gnu.org>
3448         * cus-start.el: Add entry for `recenter-redisplay'.
3450 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
3452         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
3453         Add an optional argument for the backend, use it instead of
3454         calling vc-backend.
3455         (vc-mode-line): Add an optional argument for the backend.
3456         Pass the backend to vc-state and vc-working-revision.  Move code for
3457         special handling for vc-state being a buffer to ...
3459         * vc-rcs.el (vc-rcs-find-file-hook):
3460         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
3462         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
3463         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
3464         vc-stay-local-p and vc-mode-line calls.
3466         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
3467         (vc-cvs-diff, vc-cvs-annotate-command)
3468         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
3469         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
3470         vc-mode-line calls.
3472         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
3473         direct comparison.
3474         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
3475         backend when calling vc-mode-line.
3476         (vc-register): Do not create a closure for calling the vc register
3477         function, call it directly.
3479 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
3481         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
3482         to make it obvious item can be clicked.
3484         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
3486 2009-06-23  Kenichi Handa  <handa@m17n.org>
3488         * language/korea-util.el (korean-key-bindings): Change the binding
3489         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
3490         same command.
3492 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
3494         Sync with Tramp 2.1.16.
3496         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
3498         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
3499         when a loading of a package fails.  Completion function for rsync
3500         is `tramp-completion-function-alist-ssh'.
3501         (all): Replace all calls of `split-string' and
3502         `tramp-split-string' by `tramp-compat-split-string'.
3503         (tramp-default-method): Use `tramp-compat-process-running-p'.
3504         (tramp-default-proxies-alist): Allow also Lisp forms.
3505         (tramp-remote-path): Add choice "Private Directories".
3506         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
3507         (tramp-domain-regexp): Allow also "-", "_" and ".".
3508         (tramp-end-of-output): Remove newlines, and add "$" at the end.
3509         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
3510         (tramp-debug-message): Insert header line in debug buffer.
3511         (tramp-handle-directory-files-and-attributes-with-stat):
3512         Care about filenames with spaces, or starting with "-".
3513         (tramp-handle-dired-uncache): New defun.
3514         (tramp-handle-insert-directory): Don't flush the directory from
3515         cache, this is handled by `dired-uncache' now.
3516         (tramp-handle-insert-file-contents): Improve error handling.
3517         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3518         Quote `tramp-end-of-output'.
3519         (tramp-action-password): Improve trace message.
3520         (tramp-check-for-regexp): Both echoes must be present, before removing.
3521         (tramp-open-connection-setup-interactive-shell): Trace coding system.
3522         (tramp-compute-multi-hops): Eval cons cells of
3523         `tramp-default-proxies-alist'.
3524         (tramp-maybe-open-connection): Use the same command pattern for
3525         first hop and further hops.
3526         (tramp-wait-for-output): Remove handling of newlines.
3527         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
3528         (tramp-split-string): Remove function.  It is handled in
3529         tramp-compat now.
3531         * net/tramp-cmds.el (tramp-bug):
3532         Recommend `tramp-cleanup-all-connections' in the bug mail.
3534         * net/tramp-compat.el (tramp-compat-split-string)
3535         (tramp-compat-process-running-p): New defuns.
3537         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
3538         for `dired-uncache'.
3540         * net/tramp-gvfs.el: New package.
3542         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3543         Add handler for `dired-uncache'.
3544         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
3546         * net/trampver.el: Update release number.  Make version check fit
3547         for SXEmacs 22.
3549 2009-06-22  Jim Meyering  <meyering@redhat.com>
3551         Automatically handle .xz suffix (XZ-compressed files), too.
3552         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
3553         XZ is the successor to LZMA: <http://tukaani.org/xz/>
3555 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
3556             Nick Roberts  <nickrob@snap.net.nz>
3558         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
3559         repository (http://sphinx.net.ru/hg/gdb-mi/).
3561 2009-06-22  Glenn Morris  <rgm@gnu.org>
3563         * files.el (dir-locals-collect-mode-variables): Allow for any number of
3564         `mode' and `eval' entries.  (Bug#3430)
3566         * Makefile.in (ELCFILES): Add fadr.elc.
3568         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
3569         differing behavior of \n and ^ in strings.  (Bug#3385)
3571         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
3573         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
3574         property.
3575         (lisp-indent-function): Make it a defcustom.
3577 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
3579         * progmodes/gdb-ui.el: Replace with ...
3580         * progmodes/gdb-mi.el: ... this file.
3581         * progmodes/gud.el: Modify for gdb-mi.el.
3583 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
3585         * fadr.el: New file.
3587 See ChangeLog.14 for earlier changes.
3589 ;; Local Variables:
3590 ;; coding: utf-8
3591 ;; End:
3593     Copyright (C) 2009  Free Software Foundation, Inc.
3595   This file is part of GNU Emacs.
3597   GNU Emacs is free software: you can redistribute it and/or modify
3598   it under the terms of the GNU General Public License as published by
3599   the Free Software Foundation, either version 3 of the License, or
3600   (at your option) any later version.
3602   GNU Emacs is distributed in the hope that it will be useful,
3603   but WITHOUT ANY WARRANTY; without even the implied warranty of
3604   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
3605   GNU General Public License for more details.
3607   You should have received a copy of the GNU General Public License
3608   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
3610 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1