(byte-compile-refresh-preloaded): New function.
[emacs.git] / lisp / ChangeLog
blob595f88462bf5f5d4b484e616c4aa21934e44a7f9
1 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
5         * loadup.el: Use after-load-functions to GC after loading each file.
6         Remove the explicit GC calls that used to be sprinkled around.
8         * subr.el (after-load-functions): New hook.
9         (do-after-load-evaluation): Run it.  Use string-match-p to detect
10         `obsolete' packages, rather than painfully extracting the relevant
11         directory name.
13 2009-09-15  Glenn Morris  <rgm@gnu.org>
15         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
16         free variable `doc'.
18         * dired.el (dired-mode-map): Add menu entry for async shell command.
20         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
21         variables, also consider the .elc files, since the .el files are
22         normally gzipped (subsequent code locates the .el.gz from the .elc).
24         * calc/calc-prog.el (arglist): Define for compiler.
26         * calendar/diary-lib.el (diary-display-function): Change the default to
27         fancy display.
28         (body): Define for compiler.
30         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
31         (byte-compile-file-form, byte-compile-lambda)
32         (byte-compile-top-level-body, byte-compile-form)
33         (byte-compile-variable-ref, byte-compile-setq)
34         (byte-compile-setq-default, byte-compile-body)
35         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
36         (batch-byte-compile): Give some more local variables with common names
37         a "bytecomp-" prefix to avoid masking warnings about free variables.
39         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
40         clever and add a suffix to make a unique name, just let the user decide
41         whether or not to overwrite it.  If the input is a directory, write the
42         default filename to that directory.  (Bug#4388)
43         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
44         is a filename-as-a-directory.
46 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
48         * textmodes/page.el (what-page): Don't move to beginning of line.
49         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
51 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
53         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
55 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
57         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
58         * help.el (help-for-help-internal): Add purecopy calls for text.
60         * vc.el (top): print-log method now takes an optional SHORTLOG
61         argument.  Add a new method: root.
62         (vc-root-diff, vc-print-root-log): New functions.
63         (vc-log-short-style): New variable.
64         (vc-print-log-internal): Add support for showing short logs.
66         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
67         vc-print-root-log and vc-print-root-diff.
69         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
70         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
71         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
72         short logs.
74         * vc-cvs.el (vc-cvs-print-log):
75         * vc-mtn.el (vc-mtn-print-log):
76         * vc-rcs.el (vc-rcs-print-log):
77         * vc-sccs.el (vc-sccs-print-log):
78         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
79         that is ignored for now.
81         * vc-mtn.el (vc-mtn-annotate-command):
82         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
84 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
86         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
87         to function-key-map, and give them ascii-character property.
88         * term/x-win.el (x-alternatives-map):
89         * term/ns-win.el (ns-alternatives-map):
90         * term/internal.el (msdos-key-remapping-map):
91         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
93 2009-09-14  Glenn Morris  <rgm@gnu.org>
95         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
96         temp-buffers (2009-09-12).
98 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
100         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
101         the new read-key function.
103 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
105         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
106         is defined (Bug#4405).
108 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
110         * recentf.el (recentf-cleanup): Use a hash table to find
111         duplicates (Bug#4407).
113 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
115         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
116         kp-0 to ascii equivalents (Bug#4325).
118 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
120         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
122         * eshell/em-hist.el:
123         * eshell/em-dirs.el (eshell-complete-user-reference):
124         Declare pcomplete functions and variables to avoid compiler warnings.
126 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
128         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
129         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
130         * eshell/em-alias.el (eshell-aliases-file):
131         * eshell/em-hist.el (eshell-history-file-name):
132         Use expand-file-name instead of concat to make file names (Bug#4308).
134 2009-09-13  Glenn Morris  <rgm@gnu.org>
136         * ediff-merg.el (ediff-do-merge):
137         * filesets.el (filesets-run-cmd):
138         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
139         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
140         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
141         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
142         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
143         Replace empty `let's with `progn'.
145 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
147         * mail/sendmail.el (send-mail-function):
148         * tooltip.el (tooltip-mode):
149         * simple.el (transient-mark-mode):
150         * rfn-eshadow.el (file-name-shadow-mode):
151         * frame.el (blink-cursor-mode):
152         * font-core.el (global-font-lock-mode):
153         * files.el (temporary-file-directory)
154         (small-temporary-file-directory, auto-save-file-name-transforms):
155         * epa-hook.el (auto-encryption-mode):
156         * composite.el (global-auto-composition-mode):
157         Use custom-initialize-delay.
158         * startup.el (command-line): Don't explicitly call
159         custom-reevaluate-setting for all the above vars.
160         * custom.el (custom-initialize-safe-set)
161         (custom-initialize-safe-default): Delete.
163 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
165         * term/x-win.el (x-initialize-window-system):
166         * term/w32-win.el (w32-initialize-window-system):
167         * term/ns-win.el (ns-initialize-window-system): Don't call
168         mouse-wheel-mode since it's enabled globally by default already.
170         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
171         actually define the variable, but only silences the byte-compiler.
172         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
173         before looking it up.
174         (mouse-wheel-scroll-amount): Also reset the bindings if this value
175         is changed.
177 2009-09-12  Glenn Morris  <rgm@gnu.org>
179         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
180         1000.
181         (elint-add-required-env): Don't beep on error.
182         (elint-forms): In case of error, return ENV unchanged.
183         (elint-init-env): Skip non-list forms.
184         (elint-log): Handle unknown file positions.
186 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
188         * epg.el (epg-make-context): Add autoload cookie.
189         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
190         (epg-decrypt-string, epg-start-verify, epg-verify-file)
191         (epg-verify-string, epg-start-sign, epg-sign-file)
192         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
193         (epg-encrypt-string, epg-start-export-keys)
194         (epg-export-keys-to-file, epg-export-keys-to-string)
195         (epg-start-import-keys, epg-import-keys-from-file)
196         (epg-import-keys-from-string, epg-start-receive-keys)
197         (epg-receive-keys, epg-import-keys-from-server)
198         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
199         (epg-sign-keys, epg-start-generate-key)
200         (epg-generate-key-from-file, epg-generate-key-from-string):
201         Remove autoload cookie.
203 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
205         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
206         reevaluation of trash-directory.
208         * mwheel.el: Fix last change.
209         (mouse-wheel-mode): New defvar.
210         (mouse-wheel-mode): Remove autoload cookie.
212 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
214         * mwheel.el (mwheel-installed-bindings): New var.
215         (mouse-wheel-mode): Use it, so as to make sure we really remove all
216         the bindings we set last time.  Use custom-initialize-delay.
217         * loadup.el: Load mwheel after term/*-win.el.
218         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
219         and mouse-wheel-up-event now that their first evaluation is done
220         sufficiently late to be correct.
222         * startup.el (tutorial-directory): Make it a defcustom.
223         Use custom-initialize-delay rather than eval-at-startup to set it.
224         * image.el (image-load-path): Make it a defcustom.
225         Use custom-initialize-delay rather than eval-at-startup to set it.
226         * subr.el (eval-at-startup): Remove.
227         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
229         * subr.el (do-after-load-evaluation): Warn the user after loading an
230         obsolete package.
232 2009-09-12  Glenn Morris  <rgm@gnu.org>
234         * proced.el (proced-mark-alt): Remove alias.
235         (proced-mode-map): Remove proced-mark-alt.
237         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
238         Elint file and directory.  Remove initialization entry.
240         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
241         commands.
242         (elint-current-buffer): Set mode-line-process.
243         (elint-init-env): Handle define-derived-mode.
244         Fix declare-function with unspecified arglist.  Guard against odd
245         defalias statements (eg iso-insert's 8859-1-map).
246         (elint-add-required-env): Use a temp buffer.
247         (elint-form): Just print the function/macro name, not the whole form.
248         Return env unchanged if we fail to parse a macro.
249         (elint-forms): Guard against parse errors.
250         (elint-output): New function, to handle batch mode.
251         (elint-log-message): Add optional argument.  Use elint-output.
252         (elint-set-mode-line): New function.
254 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
256         * emacs-lisp/elp.el (elp-not-profilable): Add more
257         functions (Bug#4233).
259 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
261         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
262         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
264 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
266         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
267         (gdb-var-list-children): Use json parsing.
269 2009-09-11  Daniel Colascione <dan.colascione@gmail.com>
271         * progmodes/js.el (js--proper-indentation): Handle the case where
272         char-before is null.  Reported by Deniz Dogan.
274 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
276         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
278 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
280         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
281         (epg-digest-algorithm-alist): Add SHA224.
282         (epg-context-set-passphrase-callback)
283         (epg-context-set-progress-callback): Add description about
284         callback function.
286 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
288         * custom.el (custom-delayed-init-variables): New var.
289         (custom-initialize-delay): New function.
290         * startup.el (command-line): "Re"evaluate all vars in
291         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
292         explicitly any more.
293         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
294         to avoid creating a ~/.emacs.d at build-time (bug#4347).
296         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
298 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
300         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
301         (gdb-var-update-handler): Use json parsing.
303 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
305         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
306         decode annotated text, regardless of language environment.  (Bug#2741)
308 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
310         * Makefile.in (autoloads): Make rmail.el writable as well.
312 2009-09-11  Glenn Morris  <rgm@gnu.org>
314         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
315         loaddefs.el.
316         * dired.el: Regenerate with extracted autoloads.
317         * Makefile.in (autoloads): Make dired.el writable.
319         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
320         * ibuffer.el: Regenerate with extracted autoloads.
321         * Makefile.in (autoloads): Make ibuffer.el writable.
323         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
324         * version.el (emacs-copyright, emacs-major-version)
325         (emacs-minor-version): Reformat doc-strings for make-docfile.
327         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
328         functions and variables, since they must be stuff specific to some other
329         platform.
330         (apropos-print): Make mouse-click message less specific about button.
332         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
333         that records where a macro was defined.
334         * help-fns.el (describe-function-1): Mention if a function has a
335         compiler-macro.
336         * help-mode.el (help-function-cmacro): New button.
338         * locate.el (top-level): Always require dired.
339         (locate-mode-map): Initialize inside the defvar.
341         * net/ange-ftp.el (dired-compress-file): Declare.
342         (ange-ftp-dired-compress-file): Add doc string.
344         * term/ns-win.el (x-display-name, x-setup-function-keys):
345         Unify doc-strings with X versions.
347 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
349         * emulation/crisp.el (crisp-mode-map): Move initialization
350         into declaration.
351         (crisp-mode): Use define-minor-mode.
353         * progmodes/xscheme.el (xscheme-evaluation-commands):
354         Put a :advertised-binding property rather than using
355         advertised-xscheme-send-previous-expression.
356         (advertised-xscheme-send-previous-expression): Declare obsolete.
357         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
358         `advertised-undo'.
359         (crisp-mode): Add corresponding bindings to
360         undo's :advertised-binding instead.
361         * dired.el (dired-mode-map): Put a :advertised-binding property rather
362         than using dired-advertised-find-file.
363         (dired-advertised-find-file):
364         * simple.el (advertised-undo):
365         * wid-edit.el (advertised-widget-backward): Declare obsolete.
366         (widget-keymap): Put a :advertised-binding property rather
367         than using advertised-widget-backward.
368         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
369         than using advertised-undo.
370         * tutorial.el (tutorial--default-keys): Adjust accordingly.
372 2009-09-10  Simon South  <ssouth@slowcomputing.org>
374         * progmodes/delphi.el (delphi-tab): Indent region when Transient
375         Mark mode is enabled and region is active; otherwise indent or
376         insert TAB as usual.
377         (delphi-mode): Update description of TAB-key binding.
379 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
381         * subr.el (define-key-rebound-commands): Mark obsolete.
382         * startup.el (precompute-menubar-bindings): Remove.
383         (normal-top-level): Remove obsolete code that tried to precompute
384         menubar bindings.
385         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
386         define-key-rebound-commands and precompute-menubar-bindings.
388 2009-09-10  Glenn Morris  <rgm@gnu.org>
390         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
392         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
393         (byte-compile-file-form-autoload): Don't warn about unknown functions
394         where the autoload statement comes after the use.
395         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
396         that any handlers inside the body (eg require) are in turn respected.
398         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
399         effects.
401         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
402         and syntax and abbrev tables basic docs, if they don't have any.
404         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
406         * international/mule-cmds.el (top-level): Require cl when compiling.
407         (view-hello-file): Use default-value rather than
408         default-enable-multibyte-characters.
410         * progmodes/fortran.el: Move all safe and risky properties into the
411         defcustoms.
413         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
414         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
415         * mail/undigest.el:
416         Put autoloads in rmail.el rather than loaddefs.el.
417         * mail/rmail.el: Regenerate with extracted autoloads.
419         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
420         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
422 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
424         Reported in thread for Bug#4375.
425         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
426         "-data-evaluate-expression" instead of print.
427         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
428         (gdb-tooltip-print): Parse output from above MI command.
429         (gdb): Revert 2009-08-11 change.  User should detach inferior
430         manually.
432         Remove the word "separate" from IO functions as inferior
433         output is now never displayed in the GUD buffer.
435 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
437         * startup.el (command-line-normalize-file-name): On Windows and
438         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
440 2009-09-10  Juri Linkov  <juri@jurta.org>
442         * isearch.el (isearch-text-char-description): Propertize escape
443         character sequences with the `escape-glyph' face.  (Bug#4344)
445         * simple.el (shell-command): Set asynchronous process filter to
446         `comint-output-filter'.  (Bug#4343)
448         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
449         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
450         the list.  Move "asm" to the bottom.
451         (grep-find-ignored-directories): Add `choice' with nil value
452         to empty the list easily.
453         (grep-find-ignored-files): New option.
454         (grep-files-history): Set to nil by default instead of '("ch" "el").
455         (grep-compute-defaults): Add "<X>" to `grep-template'.
456         (grep-read-files): Bind new local variables `default-alias' and
457         `default-extension'.  Use a list of default values for the file prompt.
458         (lgrep): Add `--exclude=' command line options composed from
459         `grep-find-ignored-files'.
460         (rgrep): Add `-name' command line options composed from
461         `grep-find-ignored-files'.  (Bug#4301)
463 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
465         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
466         (bug#4368).
468 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
470         * calendar/time-date.el (autoload):
471         Expand define-obsolete-function-alias into defalias and make-obsolete
472         for old Emacsen that Gnus supports.
473         (with-no-warnings): Define it for old Emacsen.
474         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
475         is available.
476         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
477         float-time is available; suppress compile warning for time-to-seconds.
479 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
481         * net/imap.el (imap-message-map): Docstring fix.
483 2009-09-09  Glenn Morris  <rgm@gnu.org>
485         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
486         line numbers too.  (Bug#4374)
488 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
490         * smerge-mode.el (smerge-remove-props, smerge-refine):
491         Use with-silent-modifications (bug#4342).
493         * subr.el (with-silent-modifications): New macro.
495 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
497         * files.el (top-level): Require `cl' when compiling.
499 2009-09-07  Glenn Morris  <rgm@gnu.org>
501         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
503         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
504         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
506 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
508         * vc-git.el (vc-git-annotate-command): Use separator to parse
509         arguments correctly.
511 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
513         * proced.el (proced-mode): Doc fix.
515 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
517         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
518         lstat fails.
519         (tramp-do-file-attributes-with-ls): Check for file existence at
520         remote end.
521         (tramp-do-file-attributes-with-stat): Likewise.
522         (tramp-convert-file-attributes): Return nil when attr is nil.
524 2009-09-05  Glenn Morris  <rgm@gnu.org>
526         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
527         properties to this button.
528         (diary-fancy-display): Don't extend the button to the final newline.
529         (diary-fancy-display-mode): Continue to define "q" as a local key.
531         * calendar/cal-china.el (holiday-chinese): Make it slightly more
532         efficient.
534         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
536         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
537         (byte-compile-dest-file-function): New option.
538         (byte-compile-dest-file): Doc fix.
539         Obey byte-compile-dest-file-function.
540         (byte-compile-cl-file-p): New function.
541         (byte-compile-eval): Only suppress noruntime warnings about cl functions
542         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
543         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
544         than for file being previously loaded.
545         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
546         (byte-compile-file-form-require): Handle the case where requiring a file
547         indirectly causes CL to be loaded.
549 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
551         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
552         before killing the old buffer, since by the time `kill-buffer' is
553         run so many buffer variables have been set to nil that it may not
554         behave as expected.  (Bug#4061)
556 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
558         * files.el (find-alternate-file): If the old buffer is modified
559         and visiting a file, behave similarly to `kill-buffer' when
560         killing it, thus reverting to the pre-1.878 behavior; see
561         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
562         for discussion.  Also, consult `buffer-file-name' as a variable
563         not as a function, for consistency with the rest of the code.
565 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
567         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
568         also when adding a new directory.
570         * net/tramp-compat.el (tramp-compat-line-beginning-position): New
571         defun.
573 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
575         * files.el (locate-file-completion-table): Make it provide boundary
576         information, so partial-completion works better.
578 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
580         * mail/footnote.el (Footnote-text-under-cursor):
581         Check footnote-text-marker-alist before using it (bug#4324).
583 2009-09-04  Glenn Morris  <rgm@gnu.org>
585         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
586         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
587         * play/solitaire.el, play/tetris.el:
588         Remove leading * from defcustom and defface docs.
590         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
591         necessary.
592         (diary-fancy-overriding-map): New variable.
593         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
594         Use view-mode.
596         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
597         goto-line.
599 2009-09-03  Glenn Morris  <rgm@gnu.org>
601         * arc-mode.el (archive-mode):
602         * dos-fns.el (set-default-process-coding-system):
603         * man.el (Man-getpage-in-background):
604         * menu-bar.el (menu-bar-describe-menu):
605         * server.el (server-process-filter):
606         * startup.el (command-line):
607         * tar-mode.el (tar-header-block-tokenize, tar-extract):
608         * w32-fns.el (set-default-process-coding-system):
609         * x-dnd.el (x-dnd-handle-file-name):
610         * international/mule-cmds.el (mule-menu-keymap)
611         (set-default-coding-systems, language-info-alist, set-language-info)
612         (set-language-environment, standard-display-european-internal)
613         (set-locale-environment):
614         * international/mule-diag.el (mule-diag):
615         * mail/emacsbug.el (report-emacs-bug):
616         * mail/rmail.el (rmail-mode):
617         * mail/sendmail.el (mail-setup):
618         Use default-value rather than default-enable-multibyte-characters.
620         * progmodes/f90.el: Move all safe properties into the defcustoms.
621         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
623         * calendar/appt.el (appt-check):
624         * calendar/diary-lib.el (diary-set-header, diary-live-p)
625         (diary-check-diary-file, diary-list-entries)
626         (diary-include-other-diary-files, diary-simple-display)
627         (diary-fancy-display, diary-print-entries)
628         (diary-mark-included-diary-files, diary-make-entry):
629         Don't call substitute-in-file-name on diary-file.
631 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
632             Stefan Monnier  <monnier@iro.umontreal.ca>
634         * mail/footnote.el (footnote-prefix): Make it a defcustom.
635         (footnote-mode-map): Move initialization into the declaration.
636         (footnote-minor-mode-map): Define it rather than changing global-map.
637         (footnote-mode): Use define-minor-mode.
639 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
641         * net/tramp.el (tramp-handle-file-attributes-with-ls)
642         (tramp-do-file-attributes-with-perl)
643         (tramp-do-file-attributes-with-stat): Rename from
644         `tramp-handle-file-attributes-with-*'.
645         (tramp-handle-file-attributes): Use them.
646         (tramp-do-directory-files-and-attributes-with-perl)
647         (tramp-do-directory-files-and-attributes-with-stat): Rename from
648         `tramp-handle-directory-files-and-attributes-with-*'.
649         (tramp-handle-directory-files-and-attributes): Use them.
650         (tramp-method-out-of-band-p): Additional parameter SIZE.
651         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
652         (tramp-handle-write-region): Use it.
653         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
654         (tramp-handle-vc-registered): Check, whether the first run did
655         return files to be tested.
656         (tramp-advice-make-auto-save-file-name): Do not call directly
657         `tramp-handle-make-auto-save-file-name', because this would bypass
658         the locking mechanism.
660         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
661         (file-remote-p, process-file, start-file-process, set-file-times)
662         (tramp-compat-file-attributes): Compatibility functions shall not
663         call directly `tramp-handle-*', because this would bypass the
664         locking mechanism.
665         (tramp-compat-number-sequence): New defun.
667 2009-09-02  Glenn Morris  <rgm@gnu.org>
669         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
670         alias for float-time.
671         (time-to-number-of-days): In Emacs, use float-time.
672         * net/newst-backend.el (time-add): Suppress warnings from compat
673         function.
674         * time.el (emacs-uptime, emacs-init-time):
675         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
676         Use float-time rather than time-to-seconds.
678         * minibuffer.el (completion-initials-expand): Fix typo.
680         * faces.el (modeline, modeline-inactive, modeline-highlight)
681         (modeline-buffer-id):
682         * info.el (info-menu-5): Mark these face aliases as obsolete.
684 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
686         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
687         space ...
688         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
689         no "--thread" option.
690         (gdb-stopped): Don't print "Switched to thread" message when it is
691         unchanged.
693 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
695         * minibuffer.el (completion-try-completion)
696         (completion-all-completions): Remove ill-defined (and
697         mistakenly installed and luckily never used nor documented)
698         `completion-styles' property.
699         (completion-initials-expand, completion-initials-all-completions)
700         (completion-initials-try-completion): New functions.
701         (completion-styles-alist): Add doc to each entry.
702         Add new `initials' entry.
704 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
706         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
707         MI command -var-evaluate-expression.
708         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
709         and tweak for case of string child.
710         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
712 2009-09-01  Glenn Morris  <rgm@gnu.org>
714         * add-log.el (change-log-date-face, change-log-name-face)
715         (change-log-email-face, change-log-file-face, change-log-list-face)
716         (change-log-conditionals-face, change-log-function-face)
717         (change-log-acknowledgement-face):
718         * cus-edit.el (custom-invalid-face, custom-rogue-face)
719         (custom-modified-face, custom-set-face, custom-changed-face)
720         (custom-saved-face, custom-button-face, custom-button-pressed-face)
721         (custom-documentation-face, custom-state-face, custom-comment-face)
722         (custom-comment-tag-face, custom-variable-tag-face)
723         (custom-variable-button-face, custom-face-tag-face)
724         (custom-group-tag-face-1, custom-group-tag-face):
725         * diff-mode.el (diff-header-face, diff-file-header-face)
726         (diff-index-face, diff-hunk-header-face, diff-removed-face)
727         (diff-added-face, diff-changed-face, diff-function-face)
728         (diff-context-face, diff-nonexistent-face):
729         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
730         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
731         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
732         (Info-title-4-face):
733         * isearch.el (isearch-lazy-highlight-face):
734         * log-view.el (log-view-file-face, log-view-message-face):
735         * paren.el (show-paren-match-face, show-paren-mismatch-face):
736         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
737         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
738         (cvs-msg-face):
739         * smerge-mode.el (smerge-mine-face, smerge-other-face)
740         (smerge-base-face, smerge-markers-face):
741         * wid-edit.el (widget-documentation-face, widget-button-face)
742         (widget-field-face, widget-single-line-field-face)
743         (widget-inactive-face, widget-button-pressed-face):
744         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
745         (woman-addition-face):
746         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
747         (eshell-ls-executable-face, eshell-ls-readonly-face)
748         (eshell-ls-unreadable-face, eshell-ls-special-face)
749         (eshell-ls-missing-face, eshell-ls-archive-face)
750         (eshell-ls-backup-face, eshell-ls-product-face)
751         (eshell-ls-clutter-face):
752         * eshell/em-prompt.el (eshell-prompt-face):
753         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
754         * obsolete/old-whitespace.el (whitespace-highlight-face):
755         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
756         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
757         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
758         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
759         (antlr-font-lock-literal-face):
760         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
761         (ebrowse-root-class-face, ebrowse-file-name-face)
762         (ebrowse-default-face, ebrowse-member-attribute-face)
763         (ebrowse-member-class-face, ebrowse-progress-face):
764         * progmodes/make-mode.el (makefile-space-face):
765         * progmodes/sh-script.el (sh-heredoc-face):
766         * textmodes/flyspell.el (flyspell-incorrect-face)
767         (flyspell-duplicate-face):
768         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
769         * textmodes/texinfo.el (texinfo-heading-face):
770         Mark face aliases with "-face" suffix as obsolete.
772         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
773         compiler.
775         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
776         (eudc-bob-sound-menu): Use defvar rather than defconst, since
777         easy-menu-define wants to modify these.
779         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
781         * net/browse-url.el (browse-url-file-url):
782         * term/internal.el (dos-codepage-setup):
783         Use default-value rather than default-enable-multibyte-characters.
785         * progmodes/etags.el (etags-goto-tag-location):
786         * progmodes/flymake.el (flymake-highlight-line)
787         (flymake-goto-file-and-line, flymake-goto-line):
788         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
789         (gdb-goto-breakpoint):
790         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
791         * progmodes/python.el (python-find-function)
792         (python-pdbtrack-track-stack-file):
793         * progmodes/verilog-mode.el (verilog-surelint-off):
794         * term/ns-win.el (ns-open-file-select-line):
795         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
796         Use forward-line rather than goto-line.
798         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
799         * textmodes/reftex-index.el (reftex-display-index):
800         * textmodes/reftex-ref.el (reftex-offer-label-menu):
801         * textmodes/reftex-toc.el (reftex-toc):
802         Remove unnecessary bindings of default-major-mode (all are followed by
803         major-mode check and possible mode switch).
805 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
807         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
808         Handle watchpoints (bug#4282).
809         (def-gdb-thread-buffer-command): Enable thread to be selected by
810         clicking without selecting threads buffer first.
811         (gdb-current-context-command): Use selected frame so that "up",
812         "down" etc work in the GUD buffer.
813         (gdb-update): Find selected frame before rendering stack buffer.
814         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
816 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
818         * progmodes/sym-comp.el (displayed-completions): Remove.
819         (symbol-complete): Use minibuffer-complete.
821 2009-08-31  Glenn Morris  <rgm@gnu.org>
823         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
825         * apropos.el (apropos-symbols-internal):
826         Handle (obsolete) face aliases.
828         * faces.el (describe-face): Adjust the output format to be more like
829         describe-variable, and to mention (obsolete) face aliases.
830         Adjust the whitespace so that help-setup-xref works.
832         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
833         * calendar/diary-lib.el (diary-button-face):
834         Mark these face aliases as obsolete.
836         * calendar/calendar.el (calendar-today): Doc fix.
838 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
840         * progmodes/gdb-mi.el (gdb-control-all-threads)
841         (gdb-control-current-thread): Force tool bar update.
842         (gdb-non-stop-handler): New function.
843         (gdb-init-1): Use it to test if non-stop mode is supported.
844         Remove unused gdbmi buffer type.
846 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
848         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
849         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
851 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
853         * comint.el (comint-exec-1): Check command is non-null first.
854         Part of gdb-mi.el change (2009-08-28).
856 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
858         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
860 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
862         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
863         instead of `dolist' to avoid a recursive require when bootstrapping.
865 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
867         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
869         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
871         * net/imap.el (imap-send-command): Simplify.
872         (imap-wait-for-tag): point-max -> buffer-size.
874         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
876         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
877         with constant argument.
879         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
881         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
883         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
884         Change default, since most of our files don't have a history.
885         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
886         the user.
888         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
889         Add comint-run.
891         * calc/calc.el: Improve commenting convention.
892         (calc-digit-map, toplevel): Simplify.
894         * comint.el (comint-insert-input): Be careful to only set point if we
895         don't delegate to some other command.
897         * proced.el (proced-signal-list): Make it an alist.
898         (proced-grammar-alist): Capitalize names.
899         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
900         Disable undo manually and make it read-only.
901         Use completion-annotate-function.
903         * minibuffer.el (minibuffer-message): If the current buffer is not
904         a minibuffer, insert the message in the echo area rather than at the
905         end of the buffer.
906         (completion-annotate-function): New variable.
907         (minibuffer-completion-help): Use it.
908         (completion--embedded-envvar-table): Environment vars are
909         always case-sensitive.
911 2009-08-30  Glenn Morris  <rgm@gnu.org>
913         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
914         from fortran-current-defun.
915         (fortran-beginning-of-subprogram): Be more precise about finding the
916         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
917         (fortran-end-of-subprogram): Simplify.
918         (fortran-current-defun): Use fortran-start-prog-re.
920 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
922         * subr.el (do-after-load-evaluation): Simplify.
924 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
926         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
928         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
929         (vc-rcs-print-log): Use it.
931         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
933 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
935         * paths.el (abbrev-file-name): Move to abbrev.el.
936         * abbrev.el (abbrev-file-name): Move from paths.el.
937         Obey user-emacs-directory.
938         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
939         user-emacs-directory.
940         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
941         abbrev-file-name and calc-settings-file any more.
942         * startup.el (command-line): Recompute abbrev-file-name and
943         abbreviated-home-dir.
944         (normal-no-mouse-startup-screen): Improve the generic code and get rid
945         of the special code for when C-h bindings haven't been changed.
946         (display-startup-echo-area-message): Use with-current-buffer.
947         (command-line-1): Use a list of strings, rather than a list of lists
948         of strings for longopts.
950         * files.el (get-free-disk-space): Use / for default-directory.
952         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
953         Use with-current-buffer.
955         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
956         Recognize immutable variables like most-positive-fixnum.
957         (byte-compile-setq-default): Check and warn if trying to assign
958         to an immutable variable, or a non-variable.
960         * progmodes/cc-vars.el (c-comment-continuation-stars):
961         * progmodes/cc-engine.el (c-looking-at-bos):
962         * progmodes/cc-cmds.el (c-toggle-auto-state)
963         (c-forward-into-nomenclature, c-backward-into-nomenclature)
964         (c-comment-line-break-function): Add version of obsolescence.
966 2009-08-28  Juri Linkov  <juri@jurta.org>
968         * files.el (magic-fallback-mode-alist): Add ZIP magic number
969         associated with `archive-mode'.
971         * image.el (image-type-header-regexps): Use only JPEG magic number
972         to determine JPEG images, and don't use `image-jpeg-p' because
973         Emacs can display non-JFIF non-Exif JPEG images.
975 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
977         * arc-mode.el (archive-mode):
978         * emacs-lisp/re-builder.el (re-builder-unload-function):
979         Protect against the default value of `major-mode' being nil.
981 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
983         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
984         Fix typos in docstrings.
986         * progmodes/js.el (js--macro-decl-re): Doc fix.
987         (js--plain-method-re, js--split-name): Refloc docstring.
988         (js--class-styles, js--make-merged-item, js--splice-into-items):
989         Fix typos in docstrings; reflow docstrings.
990         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
991         (js--variable-decl-matcher, js--inside-pitem-p)
992         (js--parse-state-at-point, js--get-all-known-symbols)
993         (js--symbol-history, js-find-symbol, js--js-references)
994         (js--moz-interactor, js--js-encode-value, js--read-tab):
995         Fix typos in docstrings.
997 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
999         * textmodes/reftex.el (reftex-get-file-buffer-force):
1000         * progmodes/verilog-mode.el (verilog-batch-execute-func):
1001         * emulation/viper.el (viper-go-away, viper-set-hooks):
1002         * emacs-lisp/re-builder.el (re-builder-unload-function):
1003         * emacs-lisp/bytecomp.el (byte-compile-file):
1004         * ses.el (ses-unload-function):
1005         * hexl.el (hexl-find-file):
1006         * files.el (normal-mode):
1007         * ehelp.el (with-electric-help):
1008         * autoinsert.el (auto-insert-alist):
1009         * arc-mode.el (archive-mode):
1010         Use (default-value 'major-mode) instead of default-major-mode.
1012         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
1013         * international/mule.el (load-with-code-conversion):
1014         * emacs-lisp/debug.el (debug):
1015         * ediff-vers.el (ediff-rcs-get-output-buffer):
1016         * dired.el (dired-internal-noselect): Don't let-bind
1017         default-major-mode around code that doesn't use it.
1018         E.g. buffer creation via get-buffer-create doesn't use it.
1020 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
1022         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
1023         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
1024         when writing the temp file.  Otherwise, epa-file gets confused.
1025         (tramp-register-file-name-handlers): Make it a defun.  Move also
1026         `epa-file-handler' to the front of `file-name-handler-alist'.
1028 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1030         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
1031         start right after a ^M.
1032         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
1033         (tramp-completion-file-name-regexp-separate)
1034         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
1035         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
1036         Don't modify last-coding-system-used by accident.
1037         (tramp-completion-file-name-handler): Apply the checks here,
1038         instead during registration.
1039         (tramp-register-file-name-handlers) Renamed from
1040         `tramp-register-file-name-handler'.  Register both
1041         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
1042         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
1044 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
1046         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
1047         Remove variable ...
1048         (gdb-init-1, gdb-display-separate-io-buffer)
1049         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
1050         references to it.
1051         (gdb-inferior-io-mode): Use make-comint-in-buffer.
1052         (gdb-inferior-filter): Use comint-output-filter to stop
1053         echoing and remove ^M characters.
1055 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1057         * emulation/viper-init.el (viper-restore-cursor-type):
1058         * emulation/cua-base.el (cua--update-indications):
1059         Replace default-cursor-type with (default-value 'cursor-type).
1061         * mail/sendmail.el (mail-recover-1):
1062         * international/mule-diag.el (describe-current-coding-system-briefly)
1063         (describe-current-coding-system):
1064         * international/mule-cmds.el (select-safe-coding-system)
1065         (select-message-coding-system)
1066         (set-language-environment-coding-systems, set-locale-environment):
1067         * hexl.el (hexl-insert-multibyte-char):
1068         * dos-w32.el (find-buffer-file-type-coding-system):
1069         * simple.el (what-cursor-position):
1070         Replace uses of default-buffer-file-coding-system
1071         with (default-value 'buffer-file-coding-system).
1073         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
1074         Replace uses of default-cursor-in-non-selected-windows
1075         with (default-value 'cursor-in-non-selected-windows).
1076         Use with-current-buffer.
1078         * mail/feedmail.el: Use CL macros.
1079         (feedmail-run-the-queue, feedmail-send-it-immediately):
1080         * dos-w32.el (find-buffer-file-type): Replace uses of
1081         default-buffer-file-type with (default-value 'buffer-file-type).
1083 2009-08-28  Glenn Morris  <rgm@gnu.org>
1085         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
1086         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
1087         Use default-value of major-mode rather than default-major-mode.
1089 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1091         * Makefile.in (update-elcfiles): Report left over elc files.
1093         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
1094         expand-file-name and with-current-buffer.
1095         (mail-get-names, mail-directory): Use with-current-buffer.
1097         * vc.el (vc-read-revision): New function.
1098         (vc-version-diff, vc-merge): Use it.
1100 2009-08-27  Sam Steingold  <sds@gnu.org>
1102         * simple.el (kill-do-not-save-duplicates): New user option.
1103         (kill-new): When it is non-nil, and the new string is the same as
1104         the latest kill, set replace to t to avoid duplicates in kill-ring.
1106 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
1108         * net/tramp.el (tramp-handle-process-file): Do not flush all
1109         caches when `process-file-side-effects' is set.
1110         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
1111         instead of `tramp-find-file-exists-command'.
1112         Unset `process-file-side-effects'.
1114 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
1116         * net/tramp.el (tramp-methods): New method "rsyncc".
1117         (top): Add completion function for "rsyncc".
1118         (tramp-message-show-message): New defvar.
1119         (tramp-message, tramp-error): Use it.
1120         (tramp-do-copy-or-rename-file-directly): Extend check for direct
1121         remote copying.
1122         (tramp-do-copy-or-rename-file-out-of-band): Handle new
1123         `tramp-methods' entry `copy-env' of "rsyncc".
1124         (tramp-vc-registered-read-file-names): New defconst.
1125         (tramp-vc-registered-file-names): New defvar.
1126         (tramp-handle-vc-registered): Implement optimization strategy.
1127         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
1128         (tramp-vc-file-name-handler): New defun.
1129         (tramp-get-ls-command, tramp-get-test-command)
1130         (tramp-get-file-exists-command, tramp-get-remote-ln)
1131         (tramp-get-remote-perl, tramp-get-remote-stat)
1132         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
1134         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
1135         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
1136         timestamps.
1137         (tramp-get-file-property): Check for timestamps in
1138         `tramp-cache-inhibit-cache'.
1139         (tramp-set-file-property): Write timestamp.
1141 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
1143         * language/japan-util.el (japanese-symbol-table): Add entries for
1144         cp932-2-byte.
1146         * international/characters.el: Add category `j' to cp932-2-byte.
1148 2009-08-27  Kenichi Handa  <handa@m17n.org>
1150         * international/fontset.el (build-default-fontset-data): New macro.
1151         (setup-default-fontset): Use build-default-fontset-data for CJK,
1152         tibetan, ethiopic, and ipa.
1154 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
1156         * cus-start.el (default-major-mode): Customize `major-mode' instead.
1157         (enable-multibyte-characters): Not customizable any more.
1159         * subr.el (default-mode-line-format, default-header-line-format)
1160         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
1161         (default-direction-reversed, default-truncate-lines)
1162         (default-left-margin, default-tab-width, default-case-fold-search)
1163         (default-left-margin-width, default-right-margin-width)
1164         (default-left-fringe-width, default-right-fringe-width)
1165         (default-fringes-outside-margins, default-scroll-bar-width)
1166         (default-vertical-scroll-bar, default-indicate-empty-lines)
1167         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
1168         (default-fringe-cursor-alist, default-scroll-up-aggressively)
1169         (default-scroll-down-aggressively, default-fill-column)
1170         (default-cursor-type, default-buffer-file-type)
1171         (default-cursor-in-non-selected-windows)
1172         (default-buffer-file-coding-system, default-major-mode)
1173         (default-enable-multibyte-characters): Mark as obsolete.
1175 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
1177         * vc-dir.el (vc-dir-update): Remove debug helper.
1179         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
1181 2009-08-26  Sam Steingold  <sds@gnu.org>
1183         * simple.el (save-interprogram-paste-before-kill): New user option.
1184         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
1185         save the interprogram-paste into kill-ring before overriding it
1186         with the Emacs kill.
1188 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
1190         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
1191         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
1192         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
1193         and move to vc-rcs.el.
1194         (vc-default-next-revision): Rename to vc-rcs-next-revision and
1195         move to vc-rcs.el.
1196         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
1197         (vc-rcs-update-changelog): Remove.
1198         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
1199         and move to vc-rcs.el.
1201         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
1202         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
1203         renaming.
1204         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
1205         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
1206         vc.el, renamed to be RCS specific.
1208         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
1209         New functions.
1210         (vc-cvs-update-changelog): Move here from vc.el.
1212         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
1213         New functions.
1215 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
1217         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
1219 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
1221         * vc-git.el (vc-git-register): Use "git add" for directories.
1222         (vc-git-stash, vc-git-stash-show): New functions.
1223         (vc-git-extra-menu-map): Bind them.
1225         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
1226         directory correctly in case the item is a directory itself.
1228         * vc.el: Document the desired behavior for reverted files in the
1229         `added' state.
1230         (vc-default-prettify-state-info): Remove function, unused.
1232         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
1234 2009-08-26  Glenn Morris  <rgm@gnu.org>
1236         * bindings.el (standard-mode-line-format): Reposition dashes in
1237         which-func entry.  (Bug#4217)
1239         * files.el (enable-local-variables, enable-local-eval)
1240         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
1241         the defcustoms.
1242         (auto-mode-alist, ignored-local-variables)
1243         (save-some-buffers-action-alist): Move risky declarations to the
1244         definitions.
1245         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
1246         (font-lock-defaults, format-alist, imenu--index-alist)
1247         (imenu-generic-expression, input-method-alist, minor-mode-alist)
1248         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
1249         (mode-line-modified, mode-line-mule-info, mode-line-position)
1250         (mode-line-process, mode-line-remote, outline-level)
1251         (parse-time-rules, rmail-output-file-alist)
1252         (special-display-buffer-names, vc-mode):
1253         Move risky declarations to the relevant files.
1254         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
1255         (mode-line-modified, mode-line-process, mode-line-position)
1256         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
1257         * font-core.el (font-lock-defaults):
1258         * format.el (format-alist):
1259         * vc-hooks.el (vc-mode):
1260         * window.el (special-display-buffer-names):
1261         * international/mule-cmds.el (input-method-alist):
1262         Define riskiness here (dumped file) rather than in files.el.
1263         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
1264         * imenu.el (imenu-generic-expression, imenu--index-alist):
1265         * outline.el (outline-level):
1266         * time.el (display-time-string):
1267         * calendar/parse-time.el (parse-time-rules):
1268         * mail/rmailout.el (rmail-output-file-alist):
1269         Autoload riskiness here, rather than placing in files.el.
1271 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
1273         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
1275 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
1277         * simple.el (process-file-side-effects): New defvar.
1279         * dired-aux.el (dired-show-file-type):
1280         * vc.el (vc-diff-internal):
1281         * vc-arch.el (vc-arch-diff):
1282         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
1283         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
1284         * vc-git.el (vc-git-registered, vc-git-working-revision)
1285         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
1286         (vc-git--empty-db-p):
1287         * vc-hooks.el (vc-user-login-name):
1288         * vc-svn.el (vc-svn-registered, vc-svn-state)
1289         (vc-svn-dir-extra-headers, vc-svn-find-revision):
1290         * progmodes/grep.el (grep-probe): Let-bind
1291         `process-file-side-effects' with nil.
1293         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
1295         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
1296         daemon.  Replace ping by checking for running service for bluez
1297         and zeroconf.  (Bug#4239)
1299 2009-08-25  Kevin Ryde  <user42@zip.com.au>
1301         * net/dig.el (dig): Add autoload cookie.
1303 2009-08-25  Glenn Morris  <rgm@gnu.org>
1305         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
1306         load-history for absolute file-names.
1307         (byte-compile-file-form-require): Warn about use of the cl package.
1309         * format.el (format-alist): Doc fix.
1311         * play/bubbles.el (top-level): Don't require cl at run-time.
1313         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
1314         run-time cl).
1316 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
1318         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
1319         from cl package.
1320         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
1322 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
1324         * calc/calc-alg.el (math-trig-rewrite)
1325         (math-hyperbolic-trig-rewrite): New functions.
1326         (calc-simplify): Simplify trig functions when asked.
1328 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
1330         * diff-mode.el (diff-find-source-location): Avoid goto-line.
1332 2009-08-24  Kenichi Handa  <handa@m17n.org>
1334         * language/ind-util.el (mapthread): Delete it.
1335         (combinatorial): New function.
1336         (indian--puthash-cv): Use combinatorial instead of mapthread.
1338 2009-08-22  Kevin Ryde  <user42@zip.com.au>
1340         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
1341         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
1342         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
1343         Clarify docstring that the value is strings not symbols.
1344         (checkdoc-list-of-strings-p): New function.
1346 2009-08-22  Glenn Morris  <rgm@gnu.org>
1348         * files.el (auto-mode-alist):
1349         * hippie-exp.el (he-concat-directory-file-name):
1350         * lpr.el (lpr-windows-system, printer-name):
1351         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
1352         * ps-print.el (ps-windows-system):
1353         * startup.el (command-line):
1354         * emulation/viper-ex.el (viper-glob-function):
1355         * international/mule-cmds.el (set-language-environment-coding-systems):
1356         * net/ange-ftp.el (ange-ftp-write-region):
1357         * obsolete/fast-lock.el (fast-lock-cache-name):
1358         Remove code for defunct system-types emx, macos, mswindows, next-mach,
1359         unisoft-unix, vax-vms, win32, w32.
1361         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
1362         given name if the pattern is not more specific.
1364         * calendar/lunar.el (lunar-phase-names): New option.
1365         (lunar-phase): Doc fix.
1366         (lunar-cycles-per-year): New constant.
1367         (lunar-index): New function.
1368         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
1369         (lunar-phase-name): Use lunar-phase-names.
1370         (calendar-lunar-phases): Use format.
1371         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
1373         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
1374         Copy imenu-example--name-and-position function here for own use.
1375         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
1377         * bs.el (bs--redisplay):
1378         * cus-edit.el (custom-redraw):
1379         * ibuffer.el (ibuffer-bury-buffer):
1380         * server.el (server-goto-line-column):
1381         * startup.el (command-line-1):
1382         * strokes.el (strokes-xpm-for-stroke):
1383         * term.el (term-display-buffer-line):
1384         * view.el (View-goto-line):
1385         * calc/calc.el (calc-do, calc-trail-buffer):
1386         * play/gamegrid.el (gamegrid-add-score-insecure):
1387         * progmodes/ada-mode.el (ada-compile-goto-error):
1388         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
1389         (ebrowse-select-1st-to-9nth):
1390         * progmodes/cperl-mode.el (cperl-time-fontification):
1391         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
1392         * progmodes/gud.el (gud-display-line):
1393         (idlwave-shell-display-line):
1394         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
1395         * progmodes/make-mode.el (makefile-browser-toggle):
1396         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
1397         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
1398         * textmodes/picture.el (picture-draw-rectangle):
1399         * textmodes/reftex-index.el (reftex-index-goto-letter):
1400         (reftex-select-jump-to-previous):
1401         * textmodes/reftex-sel.el (reftex-find-start-point)
1402         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
1403         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
1404         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
1405         * textmodes/tex-mode.el (tex-compilation-parse-errors):
1406         * textmodes/two-column.el (2C-associated-buffer):
1407         Use forward-line rather than goto-line.
1409         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
1410         goto-line.
1412         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
1413         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
1414         (quick-check-list-to-regexp): Declare.
1416         * progmodes/make-mode.el (makefile-browser-insert-selection):
1417         Use goto-char rather than goto-line.
1419         * progmodes/prolog.el (compilation-error-regexp-alist)
1420         (compilation-forget-errors): Declare.
1422 2009-08-22  Juri Linkov  <juri@jurta.org>
1424         * progmodes/grep.el (lgrep, rgrep): At the beginning
1425         set `dir' to `default-directory' unless `dir' is a non-nil
1426         readable directory.  (Bug#4052)
1427         (lgrep, rgrep): Change a weird way to report an error
1428         from using `read-string' to using `error'.
1429         Instead of using interactive arguments in the function body,
1430         add new argument `confirm'.
1432 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1434         * textmodes/remember.el (remember-buffer):
1435         * progmodes/cperl-mode.el (cperl-vc-header-alist):
1436         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
1437         (icalendar-extract-ical-from-buffer):
1438         * net/newst-treeview.el (newsticker-groups-filename):
1439         * net/newst-backend.el (newsticker-cache-filename):
1440         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
1441         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
1442         (speedbar-add-ignored-path-regexp, speedbar-line-path)
1443         (speedbar-buffers-line-path, speedbar-path-line)
1444         (speedbar-buffers-line-path):
1445         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
1446         (epg-sign-keys):
1447         * epa.el (epa-display-verify-result):
1448         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
1450 2009-08-21  Glenn Morris  <rgm@gnu.org>
1452         * progmodes/js.el (inferior-moz-process): Fix declaration.
1454         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
1456         * obsolete/rnewspost.el (news-mail-reply):
1457         Use goto-char rather than goto-line.
1459         * term/ns-win.el (ns-open-file-select-line):
1460         Use line-beginning-position rather than goto-line.
1462         * apropos.el (apropos-command):
1463         * ehelp.el (electric-helpify):
1464         * printing.el (pr-show-setup):
1465         * strokes.el (strokes-help):
1466         * tutorial.el (tutorial--describe-nonstandard-key)
1467         (tutorial--detailed-help):
1468         * woman.el (woman-mini-help, woman-display-extended-fonts):
1469         * calc/calc-help.el (calc-describe-key):
1470         * emulation/edt.el (edt-electric-helpify):
1471         * international/mule-diag.el (mule-diag):
1472         * play/yow.el (apropos-zippy):
1473         * progmodes/python.el (python-describe-symbol):
1474         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
1475         * textmodes/table.el (*table--cell-describe-mode)
1476         (*table--cell-describe-bindings):
1477         Use help-print-return-message rather than the now obsolete alias.
1479         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
1480         (calendar-cursor-to-visible-date):
1481         * play/5x5.el (5x5-position-cursor):
1482         * play/decipher.el (decipher):
1483         * play/gomoku.el (gomoku-goto-xy):
1484         * play/landmark.el (lm-goto-xy):
1485         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
1486         (mpuz-paint-digit):
1487         Use forward-line, not goto-line.
1489         * mail/rmail.el (rmail-obsolete): Delete custom group.
1490         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
1491         (rmail-remote-password, rmail-remote-password-required):
1492         Remove unneeded :set-after and :set properties.
1494 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
1496         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
1498 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
1500         * loadup.el: Remove leftover macos code.
1502         * vc-git.el (vc-git-annotate-command): Run asynchronously.
1503         Explicitly pass the date format to git blame so that user local
1504         so that the output format can be parsed.
1506 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
1508         * net/dbus.el (top): Don't check for (getenv
1509         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
1511 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
1513         * log-edit.el (log-edit-strip-single-file-name): New var.
1514         (log-edit-insert-changelog): Use it.  Bug#3571
1516 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1518         * subr.el (read-passwd): Use read-key so keypad keys work as well.
1519         Bug#3287
1521         * help.el (help-print-return-message): Rename from
1522         print-help-return-message.
1524         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
1525         cvs-mode-map parent hack.
1526         (log-view-mode): Derive from special-mode.
1528         * linum.el (linum-mode): window-size-change-functions is redundant.
1529         Adapt to new window-configuration-change-hook behavior.
1530         (linum-after-size, linum-after-config): Remove.
1532         * imenu.el (imenu-example--name-and-position)
1533         (imenu-example--lisp-extract-index-name)
1534         (imenu-example--create-lisp-index, imenu-example--create-c-index):
1535         Mark as obsolete.
1537         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
1538         (inferior-prolog-mode): Use it.
1539         (inferior-prolog-load-file): Reset list of errors.
1541 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
1543         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
1545         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
1547 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
1549         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
1550         is running already.
1552 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1554         * subr.el (listify-key-sequence-1): Use normal syntax since those
1555         integers are nowadays always represented by the same (positive) number
1556         on all platforms.
1557         (read-key-empty-map): New const.
1558         (read-key-delay): New var.
1559         (read-key): New function.
1560         (force-mode-line-update): Use with-current-buffer.
1561         (locate-user-emacs-file): Don't forget to abbreviate the file name.
1562         (start-process-shell-command, start-file-process-shell-command):
1563         Discourage the use of command-args.
1565 2009-08-19  Glenn Morris  <rgm@gnu.org>
1567         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
1569 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1571         * simple.el (choose-completion-string): Don't rely on
1572         minibuffer-completing-file-name and ad-hoc checks to decide whether
1573         to continue completion or not.
1575         * minibuffer.el (minibuffer-hide-completions): New function.
1576         (completion--do-completion): Use it.
1577         (completions-annotations): New face.
1578         (completion--insert-strings): Use it.
1579         (completion-pcm--delim-wild-regex): Add docstring.
1580         (completion-pcm--string->pattern): Add support for 0-width delimiters
1581         in completion-pcm--delim-wild-regex.
1583 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1585         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
1586         Remove unused var `buffer-modified-p'.
1588         * minibuffer.el (completion--do-completion): Move point for the #b001
1589         case as well (bug#4176).
1590         (minibuffer-complete, minibuffer-complete-word): Don't move point.
1592 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
1594         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
1595         and :session buses.
1597 2009-08-18  Kenichi Handa  <handa@m17n.org>
1599         * international/ucs-normalize.el (ucs-normalize-version):
1600         Change to 1.1.
1601         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
1602         (utf-8-hfs): Make it perform normalization on encoding too.
1604         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
1605         (sentence-end-without-space): Delete duplicated chars.
1606         (sentence-end-base): Likewise.
1608         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
1609         (html-mode): Delete duplicated chars from sentence-end-base.
1611         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
1612         (texinfo-mode): Delete duplicated chars from sentence-end-base.
1614 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
1616         * files.el (hack-one-local-variable): If the mode function is for
1617         a minor mode, pass it an argument (Bug#4148).
1619 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
1621         * net/tramp.el (tramp-register-completion-file-name-handler):
1622         Check also for (member 'partial-completion completion-styles).
1624 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
1626         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
1627         abbrev (Bug#3943).
1629 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
1631         * progmodes/cperl-mode.el: Merge upstream 6.2.
1632         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
1633         (cperl-forward-re): Check cperl-brace-recursing.
1634         (cperl-highlight-charclass): New function.
1635         (cperl-find-pods-heres): Use it.
1636         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
1637         (cperl-beautify-regexp-piece): Fix column calculation.
1638         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
1639         (cperl-beautify-level): Don't process entire regexp.
1640         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
1641         calling man.
1642         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
1643         (cperl-init-faces): Build a list in the normal way.
1645 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
1647         * calendar/parse-time.el (parse-time-string-chars): Save match
1648         data.
1650 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1652         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
1653         (sql-product): Use it.
1654         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
1655         (sql-set-product): Add completion.
1656         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
1657         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
1658         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
1659         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
1660         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
1661         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
1662         (sql-highlight-db2-keywords): Remove.
1663         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
1664         (sql-highlight-product): Use derived-mode-p.
1665         (sql-set-sqli-buffer): Use with-current-buffer.
1666         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
1667         Simplify.
1669         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
1671         * term.el: Fix commenting convention, turn comments into docstrings.
1673 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
1675         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
1677 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
1679         * calendar/parse-time.el (parse-time-string-chars): Compute using
1680         character classes, to handle non-ascii characters (Bug#3190).
1682 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
1684         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
1685         another heredoc if the user adds another < (Bug#3226).
1687         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
1688         Don't initialize based on window-system (Bug#4124).
1690         * facemenu.el (facemenu-read-color): Use a completion function
1691         that accepts any defined color, such as RGB triplets (Bug#3677).
1693         * files.el (get-free-disk-space): Change fallback default
1694         directory to /.  Expand DIR argument before switching to fallback.
1695         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
1697 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
1699         * files.el (load-library): Doc fix.
1701 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
1703         * viper-cmd.el (viper-insert-isearch-string): New function.
1704         (viper-if-string): Redefine C-s in the minibuffer to insert the last
1705         incremental search string.
1707         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
1708         XEmacs.
1710         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
1711         (ediff-merge-region-is-non-clash)
1712         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
1713         Also check if the job is really a merge job.
1715         * ediff.el (ediff-current-file): New function.
1717 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
1719         * progmodes/js.el: Edit docstrings throughout to follow Emacs
1720         conventions.
1721         (js-insert-and-indent): Delete function.
1722         (js-mode-map): Don't bind keys to js-insert-and-indent.
1723         (js-beginning-of-defun): Rename from js--beginning-of-defun.
1724         (js-end-of-defun): Rename from js--end-of-defun.
1725         (js-auto-indent-flag): Delete variable.
1727 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
1729         * progmodes/js.el: Remove proclaim statement.
1730         Defvar which-func-imenu-joiner-function to silence compiler.
1732         * files.el (auto-mode-alist): Use js-mode for .js files.
1734         * progmodes/js2-mode.el: Remove file.
1736         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
1738         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
1740         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
1742 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
1743             Karl Landstrom  <karl.landstrom@brgeight.se>
1745         * progmodes/js.el: New file.
1747 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
1749         * timezone.el (timezone-parse-date): Add ability to understand ISO
1750         basic format (minimal separators) dates in addition to the
1751         already-supported extended format dates.
1753 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
1755         * international/ucs-normalize.el: Add a `coding' file variable.
1757         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
1759 2009-08-14  Sam Steingold  <sds@gnu.org>
1761         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
1763 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
1765         * faces.el (help-argument-name): Define it here instead of
1766         help-fns.el, because in daemon mode help-fns.el may be loaded when
1767         faces are still uninitialized (Bug#1078).
1769         * help-fns.el (help-argument-name): Move defface to faces.el.
1771 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
1773         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
1774         create buffer with a pty but no process so that GDB can make the
1775         inferior the controlling process.
1777 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
1779         * international/ucs-normalize.el: New file.
1781 2009-08-13  Richard Stallman  <rms@gnu.org>
1783         * mail/rmail.el (rmail-get-attr-names):
1784         Accept an attribute header that is too short.
1786         * mail/rmail.el (rmail-forget-messages):
1787         Ignore nil elt in rmail-message-vector.  Use dotimes.
1789         * progmodes/compile.el (compilation-goto-locus):
1790         Use next-error-move-function.
1792         * simple.el (next-error-move-function): New variable.
1794 2009-08-12  Juri Linkov  <juri@jurta.org>
1796         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
1797         always non-nil.  (Bug#4052)
1799         * replace.el (read-regexp): Return empty string when
1800         `default-value' is nil.
1801         (keep-lines-read-args): Don't use empty string as the
1802         default value for `read-regexp'.  (Bug#2495)
1804 2009-08-12  Juri Linkov  <juri@jurta.org>
1806         * international/mule-cmds.el (ucs-insert): Change arguments
1807         from `arg' to `character', `count', `inherit' to be the same
1808         as in `insert-char'.  Doc fix.  (Bug#4039)
1810         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
1812 2009-08-12  Juri Linkov  <juri@jurta.org>
1814         * files-x.el: New file.
1816         * files.el: Move code that deals with adding/deleting
1817         file/directory-local variables to files-x.el.
1819         * Makefile.in (ELCFILES): Add files-x.elc.
1821 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
1823         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
1824         to use `goto-line'.
1825         (gdb-place-breakpoints, gdb-get-location): Rewritten without
1826         `goto-line'.
1827         (gdb-invalidate-disassembly): Do not refresh upon receiving
1828         'update signal.  Instead, update all disassembly buffers only after
1829         threads list.
1830         (gdb): Send -target-detach when buffer is killed (#3794).
1831         (gdb-starting): Moved -data-list-register-names...
1832         (gdb-stopped): ...here so it's sent when first thread stops.
1833         (gdb-registers-handler-custom): Do nothing if register names are
1834         unknown yet.
1836         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
1837         from `gdb-mi.el' to avoid extra tangling.
1839         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
1840         change which breaks `gud-def' definitions used in `gdb'.
1841         (gdb-update-gud-running): No extra fuss for updating frame number.
1843 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1845         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
1846         (describe-language-environment-map, setup-language-environment-map)
1847         (set-coding-system-map): Move initialization into declaration.
1848         (set-language-info-alist): Last arg to define-key-after can be skipped.
1850         * international/quail.el (quail-completion-1): Simplify.
1851         (quail-define-rules): Use slightly more compact code.
1852         (quail-insert-decode-map): Propertize keys, compact columns.
1854         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1855         Add goto-line.
1857 2009-08-10  Miles Bader  <miles@gnu.org>
1859         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
1860         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
1861         (js2-instance-member, js2-private-member, js2-private-function-call)
1862         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
1863         (js2-magic-paren, js2-external-variable):
1864         Remove "-face" suffix from face names.
1865         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
1866         (js2-highlight-undeclared-vars, js2-peek-token)
1867         (js2-parse-function-params, js2-mode-show-errors)
1868         (js2-mode-show-warnings, js2-make-magic-delimiter)
1869         (js2-mode-highlight-magic-parens): Update to use new face names.
1871 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
1873         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
1874         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
1876 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
1878         * subr.el: Provide hashtable-print-readable.
1880         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
1881         hs-c-like-adjust-block-beginning.
1882         (hs-hide-block-at-point): Stop hiding at the beginning of
1883         hs-block-end-regexp (Bug#700).
1885 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
1887         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
1888         a macro.
1889         (gdb-registers-handler-custom): Do not fail when register names
1890         are unavailable.
1892 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
1894         * progmodes/gdb-mi.el (gdb-control-all-threads)
1895         (gdb-control-current-thread): Interactive setters for
1896         `gdb-gud-control-all-threads' to use in menu.
1897         (gdb-show-run-p): Show «Go» when process is not active.
1898         (gud-tool-bar-map): Add non-stop/A,T indicator.  Uses
1899         gud/thread.xpm and gud/all.xpm.
1901 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
1903         * net/net-utils.el (net-utils-font-lock-keywords): New var.
1904         (nslookup-font-lock-keywords): Make it a variable.
1905         (net-utils-mode): New mode for viewing diagnostic network output.
1906         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
1907         (net-utils-run-simple): New function.
1908         (ifconfig, iwconfig, netstat, arp, route): Use it.
1910 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
1912         * progmodes/gdb-mi.el (gdb-read-memory-custom)
1913         (gdb-memory-set-address, def-gdb-set-positive-number)
1914         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
1915         after changing settings.
1916         (gdb-invalidate-disassembly): Update when first shown.
1917         (gdb-edit-locals-value): Fixed.
1918         (gdb-registers-handler-custom): Print registers in right order and
1919         allow changing register values (only for current thread yet).
1920         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
1921         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
1922         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
1923         (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
1924         info in mode name.
1925         (gdb-registers-mode-map): TAB to switch to locals.
1927 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
1929         * mail/rmail.el (rmail-add-mbox-headers)
1930         (rmail-set-message-counters-counter): Search for
1931         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
1933 2009-08-08  Glenn Morris  <rgm@gnu.org>
1935         * Makefile.in (ELCFILES): Update.
1937 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
1939         * mail/sendmail.el (mail-yank-original): Set
1940         buffer-file-coding-system from the one used by the message whose
1941         text is yanked.
1943         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
1944         to "windows" when "pgnuplot" is used.
1945         (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
1946         call accept-process-output if "pgnuplot" is used.
1947         (calc-graph-init): Don't send -display and -geometry to
1948         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
1949         running "pgnuplot -V" with shell-command-to-string.
1951         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
1952         the default.
1954 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
1956         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
1957         org/org-latex.elc.
1959 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
1961         * vc-dispatcher.el (vc-resynch-window): Update comment.
1963         * term.el (term-handle-ansi-escape): Add comments with the
1964         terminfo capabilities implemented.
1966 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
1968         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
1969         (gdb-var-create-handler): Rewritten using JSON parser.
1970         (gdb-propertize-header): Moved earlier.
1971         (gdb-set-header): Removed to avoid duplication.
1972         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
1973         Refresh disassembly buffers only after threads list have been
1974         update.
1975         (gdb-threads-header, gdb-registers-header): Per-buffer header line
1976         variables.
1978 2009-08-04  Juri Linkov  <juri@jurta.org>
1980         * files.el: Commands to add/delete file/directory-local variables.
1981         (read-file-local-variable, read-file-local-variable-value)
1982         (read-file-local-variable-mode, modify-file-local-variable)
1983         (modify-file-local-variable-prop-line)
1984         (modify-dir-local-variable): New functions.
1985         (add-file-local-variable, delete-file-local-variable)
1986         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
1987         (add-dir-local-variable, delete-dir-local-variable)
1988         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
1989         (copy-dir-locals-to-file-locals-prop-line): New commands.
1991 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
1993         * abbrev.el (insert-abbrev-table-description): Prettify output.
1994         Suggested by Karl Chen.
1996 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
1998         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
1999         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
2000         (gdb-overlay-arrow-position, gdb-thread-position)
2001         (gdb-disassembly-position): Declare variables.
2002         (gdb-wait-for-pending): Function now.
2003         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
2004         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
2005         compilation goes smoothly.
2006         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
2007         (gdb-non-stop-setting): New customization setting which replaces
2008         `gdb-non-stop' so changing it doesn't break active GDB session.
2009         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
2010         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
2011         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
2012         (gdb-show-threads-by-default): New customization options.
2013         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
2014         routines.
2015         (gdb-get-buffer-create): Send buffers update signal when they are
2016         created.
2017         (gdb-invalidate-locals, gdb-invalidate-registers)
2018         (gdb-invalidate-breakpoints)
2019         (gdb-invalidate-threads, gdb-invalidate-disassembly)
2020         (gdb-invalidate-memory): Accept update signal.
2021         (gdb-current-context-command): Use --frame option.
2022         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
2023         Implement `gdb-frame-number' selection logic.
2024         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
2025         whether to show GUD toolbar buttons.
2026         (gdb-thread-exited): Unselect current thread when it exits.
2027         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
2028         (gdb-mark-line): Routine which sets overlay arrow or inverses
2029         video on fringeless displays.
2030         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
2031         to build aligned columns of data in GDB buffers and set text
2032         properties line-by-line.
2033         (gdb-invalidate-breakpoints)
2034         (gdb-breakpoints-list-handler-custom)
2035         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
2036         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
2037         (gdb-registers-handler-custom): Align data columns.
2038         (gdb-locals-handler-custom): Now prints data like in variable
2039         declarations.
2040         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
2041         Removed confusing buttons.
2042         (gdb-invalidate-threads): Append --frame.
2043         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
2044         between breakpoints/threads buffers.
2045         (gdb-set-window-buffer): Now can ignore dedicated windows.
2046         (gdb-propertize-header): Use `gdb-set-window-buffer'.
2047         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
2048         (def-gdb-thread-buffer-gud-command): Replaces
2049         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
2050         for fine thread control.
2051         (gdb-preempt-existing-or-display-buffer): New function used to
2052         display bound buffers without breaking window layout.
2053         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
2054         (gdb-select-frame): New version of `gdb-frames-select' which now
2055         sets `gdb-frame-number' so commands may use --frame option instead
2056         of inner debugger state.
2057         (gdb-frame-handler): Do not set `gdb-frame-number'.
2058         (gdb-threads-mode-map): Select threads with mouse.
2060         * progmodes/gud.el (gdb-gud-context-call): Declare function to
2061         avoid compilation warning.
2062         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
2063         `gdb-show-stop-p`.
2065         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
2066         Argument `key' renamed to `buffer-type'.
2067         (gdb-current-context-buffer-name): Do not add thread info to
2068         buffer name when no thread is selected.
2069         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
2070         command (bug 3794).
2071         (gdb-thread-selected): Handle `=thread-selected' notification.
2072         (gdb-wait-for-pending): New macro to deal with congestion problems.
2073         (gdb-breakpoints-list-handler-custom): Don't fail on pending
2074         breakpoints.
2075         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
2076         This fixes problem similar to one described in bug 3947.
2077         (gud-menu-map): More menu items.
2078         (gdb-init-1): Reset `gdb-thread-number' to nil.
2080         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
2081         non-stop settings.
2083         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
2084         (gdb-current-context-command): Do not append --thread if
2085         `gdb-thread-number' is nil.
2086         (gdb-running-threads-count, gdb-stopped-threads-count): New
2087         variables.
2088         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
2089         (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
2090         customization options.
2091         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
2092         GUD commands.
2093         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
2094         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
2095         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
2096         set `gdb-thread-number' and update `gud-running' properly.
2097         (gdb-running): Update threads list when new threads appear.
2098         (gdb-stopped): Support non-stop operation and new thread switching
2099         logic.
2100         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
2101         (gdb-json-partial-output): New set of JSON routines.
2102         (def-gdb-auto-update-trigger): New `signal-list' optional
2103         argument.
2104         (gdb-thread-list-handler-custom): Update `gud-running',
2105         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
2106         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
2107         (gdb-continue-thread, gdb-step-thread): New commands for fine
2108         thread execution control.
2109         (gud-menu-map): New menu items to switch non-stop options.
2110         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
2111         (gdb-send): Mimic RET properly (bug 3794).
2113         * progmodes/gdb-mi.el (gdb-rules-name-maker)
2114         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
2115         gdb-buffer-rules.
2116         (def-gdb-auto-update-handler): New nopreserve optional argument.
2117         (gdb-stack-list-frames-custom): Print stack from top to bottom.
2119         * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
2120         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
2121         (gdb-parent-mode): New mode to derive other GDB modes from.
2122         (gdb-display-disassembly-for-thread)
2123         (gdb-frame-disassembly-for-thread): New commands for threads
2124         buffer.
2126         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
2127         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
2128         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
2129         (gdb-update): We now store all GDB buffers in a list so that they
2130         can be updated by traversing a list instead of calling invalidate
2131         triggers explicitly.
2132         (def-gdb-trigger-and-handler): New macro to define trigger-handler
2133         pair for GDB buffer.
2134         (gdb-stack-buffer-name): Add thread information.
2135         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
2136         handle pending triggers.
2137         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
2138         (def-gdb-thread-buffer-simple-command)
2139         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
2140         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
2141         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
2142         New commands which show buffers bound to thread.
2143         (gdb-stack-list-locals-regexp): Removed unused regexp.
2145         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
2146         (gdb-locals-buffer-name, gdb-registers-buffer-name)
2147         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
2148         to (gud-comint-buffer) in *-buffer-name functions
2149         because (gdb-get-target-string) already does that.
2150         (gdb-locals-handler-custom, gdb-registers-handler-custom)
2151         (gdb-changed-registers-handler): Rewritten without regexps.
2153         * progmodes/gdb-mi.el Basic thread selection support.
2154         (gdb-thread-number): New variable.
2155         (gdb-current-context-command): New macro which adds --thread
2156         option to command.
2157         (gdb-threads-mode-map): Select thread with SPC.
2158         (gdb-thread-list-handler-custom): Mark current thread with overlay
2159         arrow.  Synchronize GDB thread and Emacs thread.
2160         (gdb-select-thread): New command which selects current thread.
2161         (gdb-invalidate-frames, gdb-invalidate-locals)
2162         (gdb-invalidate-registers): Use --thread option.
2164 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
2166         * net/tramp.el (top): Make check for tramp-gvfs loading more
2167         robust.  (Bug#3977)
2168         (tramp-handle-insert-file-contents): `unwind-protect' must be
2169         inside `with-parsed-tramp-file-name'.
2171         * net/tramp-gvfs.el (top): Remove superfluous message when loading
2172         fails.
2174 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
2176         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
2177         directory if CLASSPATH is not set.
2179 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
2181         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
2182         New defconst.
2183         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
2185 2009-08-02  Kevin Ryde  <user42@zip.com.au>
2187         * net/newst-backend.el (newsticker--raw-url-list-defaults):
2188         Update freshmeat link.  Delete newsforge.com as it seems gone.
2190 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
2192         * select.el (x-set-selection): Doc fix (Bug#4021).
2194         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
2196         * help-fns.el (describe-variable): Treat list return values from
2197         dir-locals-find-file properly (Bug#4005).
2199 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
2201         * net/tramp.el (tramp-debug-message): Print also microseconds.
2203 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
2205         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
2206         or END is non-nil.
2207         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
2208         (tramp-get-debug-buffer): Change `outline-regexp' according to new
2209         format.
2211         * net/tramp-cache.el (tramp-cache-inhibit-cache ): New defvar.
2212         (tramp-get-file-property): Use it.
2214         * autorevert.el (auto-revert-handler): Allow
2215         `auto-revert-tail-mode' for remote files.
2217 2009-08-02  Jason Rumney  <jasonr@gnu.org>
2219         * minibuffer.el (read-file-name): Treat confirm options to
2220         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
2222 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
2224         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
2225         (font-lock-variable-name-face, font-lock-constant-face): Darken
2226         the colors for light backgrounds.
2228 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
2230         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
2231         month names.  (Bug#3987)
2233 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
2235         * simple.el (line-move-finish): Pass whole number to
2236         line-move-to-column.
2237         (line-move-visual): Perform hscroll to the recorded position.
2239 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
2241         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
2243 2009-07-29  Alan Mackenzie  <acm@muc.de>
2245         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
2247 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
2249         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
2250         (gdb-place-breakpoints): Use full path when setting breakpoints.
2252 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
2254         * calc/calc.el (calc-mode-map): Add keybinding for
2255         `calc-transpose-lines'.
2257 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
2259         * calc/calc-misc.el (calc-transpose-lines): New function.
2261 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
2263         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
2264         Simplify check for out-of-band methods.
2265         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
2266         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
2268 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
2270         * vc-git.el (vc-git-checkin): Fix typo.
2272 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
2274         * progmodes/js2-mode.el: New file.
2276 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
2278         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
2279         (gud-menu-map): Adjust tooltip accordingly.
2281 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
2283         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
2284         (vc-bzr-log-view-mode): Adjust log-view-file-re.
2286         * add-log.el (change-log-mode-map): Add a menu.
2288 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
2290         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
2291         function returns nil.
2292         (dbus-handle-event): Handle special return value :ignore.
2293         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
2295 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
2297         * view.el (view-mode-enable): Don't define Helper-return-blurb if
2298         it's not needed.
2300 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
2302         Fix Bug#3888:
2304         * w32-vars.el (x-select-enable-clipboard): Doc fix.
2306         * term/pc-win.el (x-display-name, x-colors)
2307         (x-select-enable-clipboard, x-select-text): Doc fix.
2309         * term/common-win.el (x-display-name, x-colors): Doc fix.
2311         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
2312         (xw-defined-colors): Doc fix.
2314         * w32-fns.el (x-select-text, x-setup-function-keys)
2315         (x-get-selection, x-set-selection): Doc fix.
2317         * term/x-win.el (x-select-text, x-setup-function-keys)
2318         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
2320         * select.el (x-set-selection): Doc fix.
2322 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
2324         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
2325         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
2326         "IsNSSSupportAvailable" method is not available.  Reported by
2327         Steve Youngs <steve@sxemacs.org>.
2329 2009-07-24  Kenichi Handa  <handa@m17n.org>
2331         * international/characters.el: Fix setting of category ?C, ?|, ?K,
2332         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
2333         (build-unicode-category-table): Fix range checks.
2335 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
2337         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
2338         the buffer we try to sync is current when calling
2339         vc-resynch-buffer.
2341         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
2342         not show up to date files.
2344 2009-07-24  Glenn Morris  <rgm@gnu.org>
2346         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
2347         Add autoload cookies.  If necessary, initialize.
2348         (elint-log): Handle non-file buffers.
2349         (elint-initialize): Add optional argument to reinitialize.
2350         (elint-find-builtin-variables): Save excursion.
2352 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
2354         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
2355         for Lint.
2357 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
2359         * vc.el (vc-print-log-internal): New function, split out from ...
2360         (vc-print-log): ... here.
2361         (vc-dir-move-to-goal-column): Declare.
2363         * vc-git.el (vc-git-add-signoff): New variable.
2364         (vc-git-checkin): Use it.
2365         (vc-git-toggle-signoff): New function.
2366         (vc-git-extra-menu-map): Bind it to menu.
2367         (vc-git--run-command-string): Accept a nil FILE argument.
2368         (vc-git-stash-list): New function.
2369         (vc-git-dir-extra-headers): Use it.
2371 2009-07-23  Glenn Morris  <rgm@gnu.org>
2373         * help-fns.el (describe-variable): Describe ignored and risky local
2374         variables in a similar way to that in which we describe safe ones.
2376         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
2377         (byte-compile-output-file-form, byte-compile-output-docform)
2378         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
2379         Give some more local variables with common names a "bytecomp-" prefix,
2380         so as not to shadow things during compilation.
2381         * emacs-lisp/cl-macs.el (load-time-value)
2382         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
2383         `outbuffer' to `bytecomp-outbuffer'.
2385         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
2386         since the next two variables cover them automatically now.
2387         (elint-builtin-variables, elint-autoloaded-variables): New.
2388         (elint-unknown-builtin-args): Remove all members, since they can be
2389         parsed automatically now.
2390         (elint-extra-errors): New.
2391         (elint-env-add-env, elint-env-add-macro): Use cadr.
2392         (elint-current-buffer): Use or.  Change final message.
2393         (elint-get-top-forms): Use line-end-position.
2394         (elint-init-env): Use cadr.  Handle autoload, declare-function,
2395         and defalias.
2396         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
2397         (regexp-assoc): Remove unused function.
2398         (elint-top-form): Set elint-current-pos, to record the start of the
2399         top-level form, for compilation-mode.
2400         (elint-form): Trap errors in macro expansion.  Use dolist.
2401         (elint-unbound-variable): Use elint-builtin-variables and
2402         elint-autoloaded-variables.
2403         (elint-get-args): Use cadr, or.
2404         (elint-check-cond-form): Use dolist, cadr.
2405         (elint-check-condition-case-form): Doc fix.  Use cadr.
2406         Use elint-extra-errors.
2407         (elint-log): New function.
2408         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
2409         Distinguish errors and warnings.
2410         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
2411         Use a bytecomp-style format.
2412         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
2413         (elint-get-log-buffer): Use compilation mode.  Disable undo.
2414         Don't truncate lines.
2415         (elint-initialize): Set builtin and autoloaded variable lists.
2416         Only process elint-unknown-builtin-args if non-nil.
2417         (elint-find-builtin-variables, elint-find-autoloaded-variables):
2418         New functions.
2419         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
2421 2009-07-22  Kevin Ryde  <user42@zip.com.au>
2423         * net/newst-backend.el (newsticker--parse-atom-1.0)
2424         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
2425         (newsticker--parse-rss-1.0):
2426         * progmodes/idlwave.el (idlwave-mode):
2427         * progmodes/idlw-shell.el (idlwave-shell-mode):
2428         * progmodes/vera-mode.el (vera-mode):
2429         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
2430         * progmodes/vhdl-mode.el (vhdl-mode):
2431         * textmodes/table.el (table-generate-source)
2432         (table--warn-incompatibility):
2433         Hyperlink urls in docstrings with URL `...'.
2435 2009-07-22  Glenn Morris  <rgm@gnu.org>
2437         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
2438         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
2439         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
2440         Remove leading * from defcustom docs.
2442         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
2444         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
2445         defcustom doc.
2446         (list-load-path-shadows): Optionally, just return shadows as a string.
2448         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
2450 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
2452         * mail/rmailedit.el (rmail-edit-mode): Use
2453         auto-save-include-big-deletions.
2455         * mail/rmail.el (rmail-variables): Use
2456         auto-save-include-big-deletions.
2458         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
2459         changes.
2461 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
2463         * calc/calc.el (calc-undo-length): New variable.
2464         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
2466 2009-07-21  Richard Stallman  <rms@gnu.org>
2468         * files.el (auto-save-mode): Handle buffer-save-size = -2
2469         for toggling mode.
2471 2009-07-21  Glenn Morris  <rgm@gnu.org>
2473         * textmodes/ispell.el (ispell-looking-back): Update declaration.
2475         * calendar/todo-mode.el (calendar-current-date): Update declaration.
2477         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
2478         silence compiler.  Instead...
2479         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
2480         (ps-print-ensure-fontified): Update for above function name changes.
2482         * printing.el (pr-mh-get-msg-num, pr-mh-show)
2483         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
2484         silence compiler.  Instead...
2485         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
2486         (mh-show-buffer): Only define for compiler.
2487         (pr-mh-current-message): Update for above function name changes.
2489         * files.el (abort-if-file-too-large): Explicitly pass `filename'
2490         as an argument.
2491         (find-file-noselect, insert-file-1): Update for above change.
2493         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
2495         * mail/mailclient.el (mailclient-send-it): Fix message.
2497         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
2498         (edebug-eval): Check cl-debug-env is bound.
2499         (print-level, print-circle): Don't redefine built-in variables.
2501         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
2502         (custom-print-vectors): Remove old comments from doc.
2504         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
2505         (emerge-version): Make the variable an obsolete alias for the
2506         emacs-version variable.  Make the function obsolete.
2507         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
2508         Emerge options, rather than merging in into the main Options menu.
2509         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
2510         and auto advance modes.  Disable edit/fast items when not relevant.
2512 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
2514         * term/vt420.el (terminal-init-vt420): Fix typo.
2516 2009-07-20  Sam Steingold  <sds@gnu.org>
2518         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
2519         variable (removed from compile.el on 2004-03-11).
2521 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
2523         * files.el (hack-local-variables-filter): Fix last change.
2525 2009-07-19  Juri Linkov  <juri@jurta.org>
2527         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
2528         (dir-local-variables-alist): New buffer-local variable.
2529         (hack-local-variables-filter): If variable is not dir-local,
2530         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
2531         because file-local overrides dir-local.
2532         (c-postprocess-file-styles)<declare-function>:
2533         Remove obsolete declaration.
2534         (hack-dir-local-variables): Add dir-local variable/value pair to
2535         `dir-local-variables-alist' and remove duplicates.  Doc fix.
2537         * help-fns.el (describe-variable): Add information about
2538         file-local and dir-local variables.
2540 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
2542         * files.el (hack-local-variables-filter): Rewrite.
2544 2009-07-19  Glenn Morris  <rgm@gnu.org>
2546         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
2547         Silence compiler by only defining on XEmacs.
2549         * international/mule.el (auto-coding-regexp-alist): Only match
2550         BABYL... at the start of buffer, not of lines.  (Bug#3790)
2552         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
2553         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
2554         (cal-menu-context-mouse-menu): Doc fix.
2556         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
2558         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
2560 2009-07-18  Juri Linkov  <juri@jurta.org>
2562         * info.el: Virtual Info keyword finder.
2563         (add-to-list)<Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
2564         (Info-finder-file): New variable.
2565         (Info-finder-find-file): New function.
2566         (finder-known-keywords, finder-package-info)
2567         (find-library-name, lm-commentary): Use defvar and
2568         declare-function to silence compiler warnings.
2569         (Info-finder-find-node): New function.
2570         (info-finder): New command.
2572         * subr.el (process-kill-buffer-query-function): New function.
2573         (add-hook)<kill-buffer-query-functions>: Add hook
2574         `process-kill-buffer-query-function'.
2576 2009-07-18  Alan Mackenzie  <acm@muc.de>
2578         * progmodes/cc-mode.el (c-before-hack-hook)
2579         (c-postprocess-file-styles): Give invocation of `c-set-style'
2580         DONT-OVERRIDE parameter of t.  Already set style variables will
2581         thus not be overridden by style settings given by `c-file-syle'.
2583         * files.el (hack-local-variables-filter): Remove entries with
2584         duplicate keys from `file-local-variables-alist'.
2586 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
2588         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
2589         x-set-selection if display-selections-p returns nil for the
2590         current frame.
2592 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
2594         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
2596 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
2598         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
2599         Accept nil in addition to a regexp.
2600         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
2601         Accept nil in addition to a regexp.
2602         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
2603         buffers that have an associated file.  Handle nil values of
2604         desktop-buffers-not-to-save and desktop-files-not-to-save.
2605         (Bug#3833)
2607         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
2608         (x-disown-selection-internal): New functions.
2610 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
2612         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
2613         warning.
2614         (gdb-breakpoints-header): Move forward to avoid compiler warning.
2615         (gdb-make-header-line-mouse-map): Remove duplicate definition.
2617 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
2619         * simple.el (set-mark): Revert last change.
2621 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
2623         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
2624         rendering of pngs is not possible instead of messaging a long
2625         description.
2627 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
2629         * w32-fns.el (x-selection-owner-p): New function.
2631         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
2632         (mouse-yank-at-click, mouse-yank-primary): If
2633         select-active-regions is non-nil, deactivate the mark before
2634         insertion.
2636         * simple.el (deactivate-mark, set-mark): Only save selection if we
2637         own it.
2639 2009-07-17  Kenichi Handa  <handa@m17n.org>
2641         * case-table.el (describe-buffer-case-table): Fix for the case
2642         that KEY is a cons.
2644 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
2646         * vc-rcs.el (vc-rcs-find-file-hook):
2647         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
2649 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
2651         * net/tramp.el (tramp-wait-for-output): Handle the case when
2652         commands do not return a newline but a null byte before the shell
2653         prompt.  (Bug#3858)
2655 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
2657         * term/ns-win.el (ns-set-alpha): Don't declare.
2658         (ns-set-background-alpha): Remove function.
2660 2009-07-16  Kevin Ryde  <user42@zip.com.au>
2662         * emacs-lisp/copyright.el (copyright-update): Save match-data across
2663         y-or-n-p, for safety.
2665 2009-07-16  Richard Stallman  <rms@gnu.org>
2667         * files.el (auto-save-mode): If buffer-saved-size is -2,
2668         don't clobber it.
2670         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
2671         (rmail-retry-ignored-headers): Add more uninteresting fields.
2673 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
2675         * net/rcirc.el (rcirc): Use history variables.
2676         (rcirc-server-name-history, rcirc-nick-name-history)
2677         (rcirc-server-port-history): New variables.
2679 2009-07-15  Kenichi Handa  <handa@m17n.org>
2681         * international/mule-cmds.el (set-language-environment-charset):
2682         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
2683         ignore them.
2685         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
2686         Delete unibyte-display.
2688 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
2690         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
2692 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
2694         * simple.el (deactivate-mark): Optional argument FORCE.
2695         (set-mark): Use deactivate-mark.
2697         * info.el (Info-search): No need to check transient-mark-mode
2698         before calling deactivate-mark.
2700         * select.el (x-set-selection): Doc fix.
2701         (x-valid-simple-selection-p): Allow buffer values.
2702         (xselect--selection-bounds): Handle buffer values.  Suggested by
2703         David De La Harpe Golden.
2705         * mouse.el (mouse-set-region, mouse-drag-track): Call
2706         copy-region-as-kill before setting the mark, to let
2707         select-active-regions work.
2709 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
2711         * simple.el (deactivate-mark): If select-active-regions is
2712         non-nil, copy the selection data into a string.
2713         (activate-mark): If select-active-regions is non-nil, set the
2714         selection to the current buffer.
2715         (set-mark): Update selection if select-active-regions is non-nil.
2717         * select.el (x-valid-simple-selection-p): Allow buffer values.
2719 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2721         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
2722         and more featureful message-mode.
2724 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
2726         * select.el (x-set-selection): Doc fix.
2727         (x-valid-simple-selection-p): Disallow selection data consisting
2728         of a list or cons of integers, since that is not used.
2729         (xselect--selection-bounds, xselect--int-to-cons): New functions.
2730         (xselect-convert-to-string, xselect-convert-to-length)
2731         (xselect-convert-to-filename, xselect-convert-to-charpos)
2732         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
2734 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
2736         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
2737         output in -break-info command (Emacs bug #3794).
2739 2009-07-14  Glenn Morris  <rgm@gnu.org>
2741         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
2742         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
2743         (edebug-print-length, edebug-print-level, edebug-print-circle)
2744         (edebug-sit-for-seconds, edebug-view-outside)
2745         (edebug-bounce-point, edebug-set-global-break-condition)
2746         (edebug-Go-nonstop-mode, edebug-trace-mode)
2747         (edebug-Trace-fast-mode, edebug-continue-mode)
2748         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
2749         (edebug-visit-eval-list): Doc fixes.
2751         * subr.el (def-edebug-spec): Doc fix.
2753 2009-07-14  Kenichi Handa  <handa@m17n.org>
2755         * international/characters.el: Fix setting of category ?C.
2757 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
2759         * term/ns-win.el (x-select-font): defalias x-select-font to
2760         ns-popup-font-panel instead of generate-fontset-menu.
2762 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
2764         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
2766 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
2768         * arc-mode.el (archive-find-type): Allow for a PK00 string before
2769         the PK\003\004 header (Bug#3770).
2771 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
2773         * pcomplete.el (pcomplete-comint-setup): Check for
2774         shell-dynamic-complete-filename too.
2776 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
2778         * simple.el (temporary-goal-column): Change the value for
2779         line-move-visual to a cons cell.
2780         (line-move-visual): Record or set the window hscroll, if
2781         necessary (Bug#3494).
2782         (line-move-1): Handle cons value of temporary-goal-column.
2784 2009-07-11  Kenichi Handa  <handa@m17n.org>
2786         * international/mule-diag.el (describe-character-set): Don't show
2787         width.
2789 2009-07-10  Sam Steingold  <sds@gnu.org>
2791         * progmodes/compile.el (compilation-mode-font-lock-keywords):
2792         Omake sometimes indents the errors it prints, so allow all
2793         regexps to start with spaces.
2795 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
2797         * cus-edit.el (customize-changed-options-previous-release):
2798         Bump value to 22.1.  (Bug#3804)
2800 2009-07-08  Sam Steingold  <sds@gnu.org>
2802         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
2803         to be a cons cell (test . ignored-directory) to selectively ignore
2804         some directories depending on the location of the search.
2806 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
2808         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
2809         remote user is root, on the local host.
2810         (tramp-local-host-p): Either the local user or the remote user
2811         must be root.  (Bug#3771)
2813 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
2815         * progmodes/gdb-mi.el (gdb): Remove description of
2816         gdb-use-separate-io-buffer.
2817         (menu): Don't allow toggling of or enable
2818         gdb-use-separate-io-buffer from menubar.
2820 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
2822         * mail/unrmail.el (unrmail): Make sure the message ends with two
2823         newlines (Bug#3769).
2825 2009-07-08  Glenn Morris  <rgm@gnu.org>
2827         * calendar/calendar.el (calendar-current-date): Rework previous change.
2829 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
2831         * calendar/calendar.el (calendar-current-date):
2832         Add an optional argument giving an offset from today.
2834 2009-07-08  Glenn Morris  <rgm@gnu.org>
2836         * tutorial.el (tutorial--describe-nonstandard-key):
2837         Adjust the message for when a key has been unbound.
2838         (help-with-tutorial): Hide the arch-tag.
2840 2009-07-08  Kenichi Handa  <handa@m17n.org>
2842         * international/fontset.el (setup-default-fontset): For each
2843         script, append (not set) font-specs.
2845         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
2846         docstring.
2848 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
2850         * progmodes/gdb-mi.el (gdb-init-1): Move sending
2851         -data-list-register-names to ...
2852         (gdb-starting): ... here because GDB 7.0 requires execution to
2853         have started when using this MI command.
2854         (gdb-set-header): New function to distinguish select and
2855         unselected tabs in gdb buffers.
2856         (gdb-propertize-header): New macro that uses gdb-set-header.
2857         (gdb-breakpoints-header, gdb-locals-header): Use it.
2858         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
2860 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
2862         * Makefile.in (ELCFILES): Remove fadr.elc.
2864 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
2866         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
2867         may contain frame information, so `string-match' should be used.
2868         (gdb-update): Disassembly is invalidated through
2869         `gdb-get-selected-frame'.
2870         (gdb-pad-string): New function to pad string with spaces.
2871         (gdb-invalidate-disassembly): Invalidate only if the buffer
2872         exists.
2873         (gdb-disassembly-handler-custom): Column alignment.
2874         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
2875         placing new ones.
2876         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
2877         end of line, too.
2878         (gdb-frame-handler): Match convention to for disassembly buffer
2879         mode name.
2880         (gdb-stack-list-frames-handler): Rewritten without regexps.
2881         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
2882         not highlight breakpoints without line information.
2883         (gdb-input): Add trailing newline to command.
2885         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
2886         buffer properly.
2887         (gdb-breakpoints-list-handler-custom): Replacement for
2888         `gdb-break-list-handler'.  Using real parser instead of regexps
2889         now.
2890         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
2891         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
2892         to place breakpoints.
2893         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
2894         functions.
2895         (gdb-disassembly-handler-custom): Show overlay arrow.
2896         (gdb-disassembly-place-breakpoints): Show breakpoints in
2897         disassembly buffer.
2898         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
2899         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
2900         instead of parsing breakpoints buffer.  Fixed old menu references
2901         in `gud-menu-map'.
2903         * fadr.el: Remove.
2905         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
2906         (gdb-memory-address): New variable which holds top address of
2907         memory page shown in memory buffer.
2908         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
2909         customization variables.
2910         New functions:
2911         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
2912         display the memory buffer.
2913         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
2914         buffer display parameters.
2915         (def-gdb-memory-format, gdb-memory-format-binary)
2916         (gdb-memory-format-octal, gdb-memory-format-unsigned)
2917         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
2918         Functions for setting memory buffer format.
2919         (gdb-memory-unit-word, gdb-memory-unit-halfword)
2920         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
2921         unit size used in memory buffer.
2922         (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
2923         to next/previous page of memory buffer.
2924         Now using (bindat-get-field) instead of fadr functions.
2926 2009-07-07  Sam Steingold  <sds@gnu.org>
2928         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
2929         non-top-level files.
2931 2009-07-07  Kenichi Handa  <handa@m17n.org>
2933         * international/mule-cmds.el (reset-language-environment): Put
2934         the highset priority to the charset iso-8859-1.
2936 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
2938         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
2939         to the end of the line when locating the block (Bug#700).
2941 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
2943         * net/tramp.el (tramp-handle-write-region): Flush file properties
2944         in case of short track.
2946 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
2948         * verilog-mode.el (verilog-error-regexp-emacs-alist): Coded custom
2949         representation of verilog error regular expressions to work with
2950         Emacs-22's new format.
2951         (verilog-error-regexp-xemacs-alist): Coded custom representation
2952         of verilog error regular expressions to work with XEmacs format.
2953         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
2954         error recognition into XEmacs.
2955         (verilog-error-regexp-add-emacs): Hook routine to install verilog
2956         error recognition into Emacs-22.
2958 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
2960         * woman.el: Remove stand-alone closing parentheses.
2961         (woman-file-name, woman2-format-paragraphs)
2962         (woman-leave-blank-lines): Code cleanup.
2963         (woman-use-own-frame): Change default to nil.
2964         (woman-italic, woman-bold, woman-unknown, woman-addition): Change
2965         defaults to inherit from default faces.
2966         (woman2-process-escapes): Consume the newline after a stand-alone
2967         filler character (Bug#3651).
2969 2009-07-06  Glenn Morris  <rgm@gnu.org>
2971         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
2972         (top-level): Move provide to the end.
2973         (ffap): Remove defunct URL from custom group.
2975         * subr.el (eval-after-load): Doc fix.
2977 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
2979         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
2980         `calc-embedded-word' is called twice.
2982 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2984         * files.el (find-alternate-file-other-window, find-alternate-file):
2985         Obey confirm-nonexistent-file-or-buffer.
2987 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
2989         * dired-aux.el (dired-show-file-type): Handle remote files.
2991 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
2993         * desktop.el (desktop-globals-to-save):
2994         Add file-name-history (Bug#2750).
2996 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
2998         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
3000 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
3002         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
3003         property on entire argument since this is what eshell-lisp-command
3004         expects.
3006 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
3008         * net/tramp-gvfs.el (tramp-gvfs-methods)
3009         (tramp-gvfs-zeroconf-domain)
3010         (tramp-bluez-discover-devices-timeout): Add version flag.
3011         (tramp-gvfs-handler-mounted-unmounted)
3012         (tramp-gvfs-connection-mounted-p): Polish handling of
3013         incompatibilities between GVFS 0.2 and 1.0.
3015 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
3017         * cus-start.el (all): Add make-pointer-invisible.
3019 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
3021         * calc-math.el (math-use-emacs-fn): Make sure that the number is
3022         formatted correctly.
3024 2009-07-02  Juri Linkov  <juri@jurta.org>
3026         * info.el: Virtual Info files and nodes.
3027         (Info-virtual-files, Info-virtual-nodes): New variables.
3028         (Info-current-node-virtual): New variable.
3029         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
3030         New functions.
3031         (Info-file-supports-index-cookies): Use Info-virtual-file-p
3032         to check for a virtual file instead of checking a fixed list
3033         of node names.
3034         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
3035         instead of ad-hoc processing of "dir" and (apropos history toc).
3036         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
3037         instead of ad-hoc processing of "dir" and (apropos history toc).
3038         Reread a file when moving from a virtual node.
3039         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
3040         (Info-directory-toc-nodes, Info-directory-find-file)
3041         (Info-directory-find-node): New functions.
3042         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
3043         (Info-history): Move part of code to
3044         `Info-history-find-node'.
3045         (Info-history-toc-nodes, Info-history-find-file)
3046         (Info-history-find-node): New functions.
3047         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
3048         (Info-toc): Move part of code to `Info-toc-find-node'.
3049         (Info-toc-find-node): New function.
3050         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
3051         the current Info file name to references because now the node
3052         "*TOC*" belongs to the same Info manual.
3053         (Info-toc-build): Rename from `Info-build-toc'.
3054         (Info-toc-nodes): Rename input argument `file' to `filename'.
3055         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
3056         instead of ad-hoc processing of ("dir" apropos history toc).
3057         (Info-index-nodes): Use Info-virtual-file-p
3058         to check for a virtual file instead of checking a fixed list
3059         of node names.
3060         (Info-index-node): Add check for `Info-current-node-virtual'.
3061         Raise `save-match-data' higher up the tree to contain
3062         `search-forward' too (bug fix).
3063         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
3064         (Info-virtual-index-nodes): New variable.
3065         (Info-virtual-index-find-node, Info-virtual-index): New functions.
3066         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
3067         (Info-apropos-file, Info-apropos-nodes): New variables.
3068         (Info-apropos-toc-nodes, Info-apropos-find-file)
3069         (Info-apropos-find-node, Info-apropos-matches): New functions.
3070         (info-apropos): Move part of code to `Info-apropos-find-node' and
3071         `Info-apropos-matches'.
3072         (Info-mode-map): Bind "I" to `Info-virtual-index'.
3073         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
3074         for a virtual file instead of checking a fixed list of node names.
3076         * simple.el (async-shell-command): New command.
3078         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
3080         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
3081         instead of `mount-info'.
3083 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
3085         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
3086         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
3088 2009-07-02  Kenichi Handa  <handa@m17n.org>
3090         * international/mule.el (set-keyboard-coding-system): Force *-unix
3091         coding-system to avoid eol conversion.
3093 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
3095         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3096         Add handler for `process-file', `shell-command' and
3097         `start-file-process'.
3098         (tramp-gvfs-handle-shell-command)
3099         (tramp-gvfs-handle-start-file-process)
3100         (tramp-gvfs-handle-process-file): New defuns.
3101         (tramp-synce-list-devices): Simplify check for existence of property.
3103 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
3105         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
3107 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
3109         * language/korean.el (set-language-info-alist): Add korean-cp949,
3110         cp949 to spec.
3112 2009-07-01  Kenichi Handa  <handa@m17n.org>
3114         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
3116         * international/encoded-kb.el: Deleted.
3118         * international/mule.el (set-keyboard-coding-system): Perform the
3119         necessary setup here instead of calling encoded-kbd-setup-display.
3121 2009-07-01  Glenn Morris  <rgm@gnu.org>
3123         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
3125 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
3127         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
3129 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
3131         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
3132         Handle also the 'rename case, when setting file modes.  (Bug#3712)
3133         (tramp-default-file-modes) Remove execute permissions.
3135         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
3136         (top): Add a default for "synce" in `tramp-default-user-alist'.
3137         Add completion function for "synce" method.
3138         (tramp-hal-service, tramp-hal-path-manager)
3139         (tramp-hal-interface-manager, tramp-hal-interface-device):
3140         New defconst.
3141         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
3142         (tramp-synce-list-devices, tramp-synce-parse-device-names):
3143         New defuns.
3145         * net/trampver.el: Update release number.
3147 2009-06-30  Kenichi Handa  <handa@m17n.org>
3149         * international/fontset.el (setup-default-fontset): Add CJK fonts
3150         for symbols and the other miscellaneous characters.
3152         * language/korea-util.el (setup-korean-environment-internal):
3153         Make char-width-table suitable for Korean environments.
3154         (exit-korean-environment): Cancel above.
3156         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
3157         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
3158         setup-funcion to make char-widht-table suitable for respective
3159         environments, and an exit-function to cancel that.
3161         * language/japan-util.el (setup-japanese-environment-internal):
3162         Call use-cjk-char-width-table with arg `ja_JP'.
3164         * international/characters.el (cjk-char-width-table): Delete it.
3165         (cjk-char-width-table-list): New variable.
3166         (use-cjk-char-width-table): New arg local-name.
3167         (use-default-char-width-table): Fix for the case that Emacs is
3168         already using the default char-width-table.
3170 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
3172         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
3173         modes mandatory.  (Bug#3712)
3175 2009-06-29  Alan Mackenzie  <acm@muc.de>
3177         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
3178         correction between the visible width of TABs and their number of bytes.
3180 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
3182         * server.el (server-buffer-done): Prevent kill-buffer from
3183         prompting by clearing the buffer modification flag (Bug#3696).
3185 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
3187         * verilog-mode.el (verilog-beg-of-statement)
3188         (verilog-endcomment-reason-re): Support unique case and priority case.
3189         (verilog-basic-complete-re): Support localparam lineup.
3190         (verilog-beg-of-statement-1): Fix for robustness, unique case.
3191         (verilog-set-auto-endcomments): Fix for unique case, always_comb
3192         commenting.
3193         (verilog-leap-to-case-head): Now support *nested* unique &
3194         priority case statements.
3195         (verilog-auto-lineup): Make just declarations the default (as it
3196         had been).
3197         (verilog-leap-to-case-head): Support priority/unique case statements.
3198         (verilog-auto-lineup): Rework to give users radio buttons to
3199         select the various styles of automatic lineup.
3200         (verilog-error-regexp-alist): Rework to support the XEmacs style
3201         of error regular expressions from compilers, lint tools &
3202         simulators.  Note that GNU Emacs has made it impossible for a mode
3203         to load such things.
3204         (electric-verilog-terminate-line, verilog-indent-declaration)
3205         (verilog-auto-wiure): Rework for radio button selection of
3206         auto-lineup selection of specification of auto lineup.
3207         (verilog-beg-of-statement-1): Redesign to support proper operation
3208         in additional code, based on testing with auto-lineup.
3209         (verilog-calculate-indent, assignments & declarations)
3210         (verilog-backward-token): Enhance to support auto-lineup of
3211         assignments & declarations.
3212         (verilog-in-directive-p, verilog-at-struct-p): New function for
3213         easy test of whether we are.
3214         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
3215         to support safe execution at almost anyline.
3216         (verilog-calc-1): Properly support indenting deep inside generate
3217         blocks.
3218         (verilog-init-font) Remove definition & use of verilog-init-font,
3219         as it is redundant with font-lock-defaults.
3220         (verilog-mode): Alter the definition of verilog-font-lock-defualts
3221         to avoid circular calls if syntax-ppss is a function (as is the
3222         case now in 22.x GNU Emacs) as that function would sometimes call
3223         itself, leading to (nearly) infinite recursion.
3224         (verilog-ovm-begin-re, verilog-ovm-end-re)
3225         (verilog-ovm-statement-re, verilog-leap-to-head)
3226         (verilog-backward-token): Add support for OVM macros.  Some are
3227         complete statements, and others open and close scopes like begin
3228         and end.
3229         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
3230         (verilog-defun-level-generate-only-re): Really fix the defun-list
3231         compilation issue.
3232         (verilog-calc-1) (verilog-beg-of-statement): Enhance support for
3233         coverpoint, constraint and cross statements.
3234         (verilog-defun-level-list, verilog-generate-defun-level-list)
3235         (verilog-all-defun-level-list): Redo these specifications - it is
3236         too hard to support eval-when compile aggregation of lists also
3237         built at when-compile time.
3238         (verilog-defun-level-list): Place defconsts of variables used in
3239         building regular expressions which are built in eval-when-compile
3240         bodies in the same eval-when-compile body to facilitate compile
3241         without load.
3242         (verilog-beg-block-re-ordered): Support indenting
3243         virtual/protected tasks and functions.
3244         (verilog-defun-level-list, verilog-in-generate-region-p)
3245         (verilog-backward-ws&directives, verilog-calc-1): Speed up
3246         indentation of some module items (generate items).
3247         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
3248         across virtual/protected tasks and functions.
3250 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
3252         * verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
3253         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
3254         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
3255         in concatenations.  Reported by Yishay Belkind.
3256         (verilog-auto-ascii-enum): Support one-hot state machines in
3257         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
3258         (verilog-auto-inst, verilog-auto-inst-port): Include interface
3259         modport in AUTOINST and add vl-modport for users.  Reported by
3260         David Rogoff.
3261         (verilog-auto-inout-module, verilog-auto-inst)
3262         (verilog-decls-get-interfaces, verilog-insert-definition)
3263         (verilog-insert-one-definition, verilog-read-decls)
3264         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
3265         (verilog-sig-modport, verilog-signals-combine-bus)
3266         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
3267         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
3268         Suggested by David Rogoff.
3269         (verilog-repair-open-comma): Fix non-insertion of comma when
3270         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
3271         (verilog-make-width-expression): Simplify [A-1:0] expression
3272         widths to just {A{1'b0}}.
3273         (verilog-mode): Cleanup checkdoc warnings.
3274         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
3275         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
3276         inputs/outputs or data type.  Suggested by Vasu Kandadi.
3277         (next-error-last-buffer): Fix byte-compiler warning.
3278         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
3279         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
3280         or shell command text during AUTO expansion.  Suggested by Tad Truex.
3281         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
3282         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
3283         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
3284         in AUTOINOUT.  Reported by Matthew Lovell.
3285         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
3286         causing use of <= assignments.  Reported by Alex Reed.
3287         (verilog-read-decls): Fix triand, trior, wand, wor to be
3288         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
3289         (verilog-extended-complete-re): Support import "DPI-C" functions.
3290         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
3291         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
3292         (verilog-insert-date, verilog-insert-year)
3293         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
3294         Windows systems.  Reported by Michael Potts.
3295         (verilog-read-module-name): Fix AUTOINST when the child module
3296         declaration's name is a tick define.  Reported by Elliot Mednick.
3297         (verilog-read-decls): Fix V2K parameter bit subscripts getting
3298         passed to next parameter's definition.  Reported by Bruce T.
3299         (verilog-read-decls): Fix detecting "parameter int" when using
3300         AUTOINSTPARAM.  Reported by Bruce T.
3301         (verilog-goto-defun): Fix goto not finding modules unless first
3302         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
3303         (verilog-mode): Expand -f flag arguments on entry to mode so
3304         verilog-goto-defun will work.  Reported by Lawrence Butcher.
3305         (verilog-getopt): Expand environment variables in -f file
3306         arguments.  Suggested by Lawrence Butcher.
3307         (verilog-set-define): Fix "Symbol's value as variable is void"
3308         when reading enumerations.
3309         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
3310         Suggested by Stephen Peltan.
3311         (verilog-read-defines): Fix reading of enumerations in include
3312         files.  Reported by Steve Peltan.
3314 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
3316         * files.el (trash-directory): Fix defcustom type.
3318 2009-06-28  Juri Linkov  <juri@jurta.org>
3320         * help-fns.el (describe-function-1): Correctly locate adviced
3321         functions in hyperlink (Bug#2438).
3323 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
3325         * files.el (trash-directory): Change default to nil.
3326         (move-file-to-trash): If trash-directory is nil and
3327         system-move-file-to-trash is unbound, perform freedesktop-style
3328         trashing.
3330 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
3332         * files.el (move-file-to-trash): Add freedesktop trash
3333         support (Bug#973).
3335 2009-06-28  Glenn Morris  <rgm@gnu.org>
3337         * autorevert.el (global-auto-revert-non-file-buffers)
3338         (global-auto-revert-mode): Doc fixes.
3340 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
3342         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
3344 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
3346         * faces.el (x-handle-named-frame-geometry): Ensure that we have
3347         opened an X connection before calling x-get-resource (Bug#3194).
3349         * play/doctor.el: Remove reference to obsolete website.
3350         (make-doctor-variables): Correct grammar mistake (Bug#2633).
3352 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
3354         Remove find-file-not-found-hook VC method.  (Bug#2757)
3355         * vc-hooks.el (vc-file-not-found-hook)
3356         (vc-default-find-file-not-found-hook): Remove functions.
3357         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
3358         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
3359         * vc.el:
3360         * vc-hg.el:
3361         * vc-git.el: Do not mention find-file-not-found-hook VC method.
3363 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
3365         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
3366           compatibility function for `looking-back'.
3368         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
3369         Use `ispell-looking-back'.
3371 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
3373         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
3374         rather than `filename'.
3376 2009-06-23  Miles Bader  <miles@gnu.org>
3378         * face-remap.el (text-scale-set): New function.
3380 2009-06-23  Glenn Morris  <rgm@gnu.org>
3382         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
3384         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
3386         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
3388         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
3390         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
3391         Simplify Persian conditionals.
3393         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
3394         variable `filename'.
3396         * comint.el (comint-insert-input): Doc fix.
3398         * Makefile.in (ELCFILES): Fix typo in previous change.
3400 2009-06-23  Miles Bader  <miles@gnu.org>
3402         * cus-start.el: Add entry for `recenter-redisplay'.
3404 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
3406         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
3407         Add an optional argument for the backend, use it instead of
3408         calling vc-backend.
3409         (vc-mode-line): Add an optional argument for the backend.
3410         Pass the backend to vc-state and vc-working-revision.  Move code for
3411         special handling for vc-state being a buffer to ...
3413         * vc-rcs.el (vc-rcs-find-file-hook):
3414         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
3416         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
3417         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
3418         vc-stay-local-p and vc-mode-line calls.
3420         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
3421         (vc-cvs-diff, vc-cvs-annotate-command)
3422         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
3423         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
3424         vc-mode-line calls.
3426         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
3427         direct comparison.
3428         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
3429         backend when calling vc-mode-line.
3430         (vc-register): Do not create a closure for calling the vc register
3431         function, call it directly.
3433 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
3435         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
3436         to make it obvious item can be clicked.
3438         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
3440 2009-06-23  Kenichi Handa  <handa@m17n.org>
3442         * language/korea-util.el (korean-key-bindings): Change the binding
3443         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
3444         same command.
3446 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
3448         Sync with Tramp 2.1.16.
3450         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
3452         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
3453         when a loading of a package fails.  Completion function for rsync
3454         is `tramp-completion-function-alist-ssh'.
3455         (all): Replace all calls of `split-string' and
3456         `tramp-split-string' by `tramp-compat-split-string'.
3457         (tramp-default-method): Use `tramp-compat-process-running-p'.
3458         (tramp-default-proxies-alist): Allow also Lisp forms.
3459         (tramp-remote-path): Add choice "Private Directories".
3460         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
3461         (tramp-domain-regexp): Allow also "-", "_" and ".".
3462         (tramp-end-of-output): Remove newlines, and add "$" at the end.
3463         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
3464         (tramp-debug-message): Insert header line in debug buffer.
3465         (tramp-handle-directory-files-and-attributes-with-stat):
3466         Care about filenames with spaces, or starting with "-".
3467         (tramp-handle-dired-uncache): New defun.
3468         (tramp-handle-insert-directory): Don't flush the directory from
3469         cache, this is handled by `dired-uncache' now.
3470         (tramp-handle-insert-file-contents): Improve error handling.
3471         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
3472         Quote `tramp-end-of-output'.
3473         (tramp-action-password): Improve trace message.
3474         (tramp-check-for-regexp): Both echoes must be present, before removing.
3475         (tramp-open-connection-setup-interactive-shell): Trace coding system.
3476         (tramp-compute-multi-hops): Eval cons cells of
3477         `tramp-default-proxies-alist'.
3478         (tramp-maybe-open-connection): Use the same command pattern for
3479         first hop and further hops.
3480         (tramp-wait-for-output): Remove handling of newlines.
3481         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
3482         (tramp-split-string): Remove function.  It is handled in
3483         tramp-compat now.
3485         * net/tramp-cmds.el (tramp-bug):
3486         Recommend `tramp-cleanup-all-connections' in the bug mail.
3488         * net/tramp-compat.el (tramp-compat-split-string)
3489         (tramp-compat-process-running-p): New defuns.
3491         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
3492         for `dired-uncache'.
3494         * net/tramp-gvfs.el: New package.
3496         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3497         Add handler for `dired-uncache'.
3498         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
3500         * net/trampver.el: Update release number.  Make version check fit
3501         for SXEmacs 22.
3503 2009-06-22  Jim Meyering  <meyering@redhat.com>
3505         Automatically handle .xz suffix (XZ-compressed files), too.
3506         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
3507         XZ is the successor to LZMA: <http://tukaani.org/xz/>
3509 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
3510             Nick Roberts  <nickrob@snap.net.nz>
3512         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
3513         repository (http://sphinx.net.ru/hg/gdb-mi/).
3515 2009-06-22  Glenn Morris  <rgm@gnu.org>
3517         * files.el (dir-locals-collect-mode-variables): Allow for any number of
3518         `mode' and `eval' entries.  (Bug#3430)
3520         * Makefile.in (ELCFILES): Add fadr.elc.
3522         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
3523         differing behavior of \n and ^ in strings.  (Bug#3385)
3525         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
3527         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
3528         property.
3529         (lisp-indent-function): Make it a defcustom.
3531 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
3533         * progmodes/gdb-ui.el: Replace with ...
3534         * progmodes/gdb-mi.el: ... this file.
3535         * progmodes/gud.el: Modify for gdb-mi.el.
3537 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
3539         * fadr.el: New file.
3541 See ChangeLog.14 for earlier changes.
3543 ;; Local Variables:
3544 ;; coding: utf-8
3545 ;; End:
3547     Copyright (C) 2009  Free Software Foundation, Inc.
3549   This file is part of GNU Emacs.
3551   GNU Emacs is free software: you can redistribute it and/or modify
3552   it under the terms of the GNU General Public License as published by
3553   the Free Software Foundation, either version 3 of the License, or
3554   (at your option) any later version.
3556   GNU Emacs is distributed in the hope that it will be useful,
3557   but WITHOUT ANY WARRANTY; without even the implied warranty of
3558   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
3559   GNU General Public License for more details.
3561   You should have received a copy of the GNU General Public License
3562   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
3564 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1