* bookmark.el
[emacs.git] / lisp / ChangeLog
blob68f827b215a56d1a2649353252ebe94dd3f6a387
1 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
3         * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record,
4          bookmark-set-name, bookmark-prop-get, bookmark-prop-set,
5          bookmark-get-annotation, bookmark-set-annotation,
6          bookmark-get-filename, bookmark-set-filename, bookmark-get-position,
7          bookmark-set-position, bookmark-get-front-context-string,
8          bookmark-set-front-context-string, bookmark-get-rear-context-string,
9          bookmark-set-rear-context-string, bookmark-location, bookmark-jump,
10          bookmark-jump-other-window, bookmark-handle-bookmark,
11          bookmark-relocate, bookmark-insert-location, bookmark-rename,
12          bookmark-insert, bookmark-delete, bookmark-time-to-save-p,
13          bookmark-edit-annotation-mode, bookmark-edit-annotation): Improve
14            doc strings to say whether bookmark can be a string or a record
15            or both, and make other consistency and clarity fixes.
16         (bookmark-get-handler, bookmark--jump-via, bookmark-write-file
17          bookmark-default-annotation-text, bookmark-yank-word,
18          bookmark-maybe-load-default-file, bookmark-maybe-sort-alist,
19          bookmark-import-new-list, bookmark-maybe-rename,
20          bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames,
21          bookmark-bmenu-bookmark): Give these doc strings.
22         (bookmark-bmenu-check-position): Give this a doc string, but also
23            add a FIXME comment about how the function may be pointless.
24         (bookmark-default-handler): Rework doc string and change a
25            parameter name, to clarify that this takes a bookmark record
26            not a bookmark name.
27         (bookmark-set): Change a parameter name to indicate its meaning,
28            and improve the doc string a bit.
29         (Bug#4188)
31 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
33         * bookmark.el (bookmark-alist): Document the new `handler' element
34         in the param alist.
35         (bookmark-make-record-function): Adjust documentation for above.
36         (Bug#4193)
38 2009-10-04  Karl Fogel  <kfogel@red-bean.com>
40         * info.el (Info-bookmark-make-record): Document this function.
41         (Info-bookmark-jump): Document with a doc string, not just a comment.
42         (Bug#4203)
44 2009-10-04  Chong Yidong  <cyd@stupidchicken.com>
46         * cedet/semantic.el (semantic-new-buffer-setup-functions): New
47         option.
48         (semantic-new-buffer-fcn): Call parser setup functions here.
49         (semantic-mode): Don't call parser setup functions here, it's done
50         in semantic-new-buffer-fcn now.
51         (semantic-mode): Parse all existing buffers when enabled.
53         * cedet/srecode/compile.el (srecode-compile-file): Call
54         semantic-new-buffer-fcn if the buffer has not been parsed.
56 2009-10-04  Chong Yidong  <cyd@stupidchicken.com>
58         * cedet/ede/pmake.el (ede-pmake-insert-variable-once): Delete.
60         * cedet/ede/proj-comp.el: Don't require ede/pmake at toplevel.
61         (proj-comp-insert-variable-once): New macro, renamed from
62         ede-pmake-insert-variable-once in ede/pmake.edl.
63         (ede-proj-makefile-insert-variables): Use it.
65 2009-10-04  Michael Albinus  <michael.albinus@gmx.de>
67         * files.el (copy-directory): New defun.
69         * dired-aux.el (dired-copy-file-recursive): Use it.
71 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
73         * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
74         (makefile-end-of-command):
75         * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
76         (semantic-end-of-context): Fix previous change.  Doc fixes.
78 2009-10-04  Juanma Barranquero  <lekktu@gmail.com>
80         * files-x.el (modify-dir-local-variable)
81         (copy-dir-locals-to-file-locals-prop-line):
82         * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
83         (makefile-end-of-command):
84         * cedet/semantic/lex.el (semantic-lex-token):
85         * cedet/semantic/analyze/fcn.el
86         (semantic-analyze-dereference-metatype-1):
87         * cedet/semantic/bovine/c.el (semantic-lex-cpp-define)
88         (semantic-lex-cpp-undef):
89         * cedet/semantic/wisent/wisent.el (wisent-skip-block):
90         * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
91         (semantic-end-of-context): Fix typos in docstrings.
93         * recentf.el (recentf-unload-function): New function.
95 2009-10-04  Chong Yidong  <cyd@stupidchicken.com>
97         * cedet/ede.el (ede-project-placeholder-cache-file):
98         * cedet/semantic/db-file.el (semanticdb-default-save-directory):
99         * cedet/srecode/map.el (srecode-map-save-file):
100         Use locate-user-emacs-file.  Suggested by Juanma Barranquero.
102 2009-10-04  Glenn Morris  <rgm@gnu.org>
104         * window.el (window-full-height-p): Add doc string.
106 2009-10-04  Martin Rudalics  <rudalics@gmx.at>
108         * window.el (window-full-height-p): New function.  (Bug#4543)
110 2009-10-03  Chong Yidong  <cyd@stupidchicken.com>
112         * cedet/srecode/insert.el: Require srecode/args.
114         * cedet/srecode/args.el: Require srecode/dictionary instead of
115         srecode/insert.
117         * cedet/srecode/srt-mode.el (srecode-template-mode): Doc fix.
119         * files.el (auto-mode-alist): Add .srt and Project.ede.
121         * cedet/semantic.el (semantic-mode): Handle
122         srecode-template-mode-hook as well.
123         (semantic-mode): Use js-mode-hook for Javascript hook.
125         * cedet/srecode/template.el: Remove hook variable.
127         * cedet/ede/proj-comp.el: Require ede/pmake when compiling.
129         * cedet/ede.el (ede-target-forms-menu): Don't enable if no
130         projects exist.
131         (ede-project-placeholder-cache-file): Default to a file in
132         user-emacs-directory.
134         * cedet/srecode/map.el (srecode-map-base-template-dir): Look for
135         templates in data-directory.
136         (srecode-map-save-file): Default to a file in
137         user-emacs-directory.
139         * cedet/ede/srecode.el (ede-srecode-setup): Use default templates
140         directory.
142 2009-09-30  Eric Ludlam  <zappo@gnu.org>
144         * cedet/semantic/util-modes.el (semantic-highlight-func-mode):
145         Doc fix.
147         * cedet/ede/proj-comp.el (ede-proj-makefile-insert-variables):
148         Only insert each variable once.
150         * cedet/ede/pmake.el (ede-pmake-insert-variable-once): New macro.
151         (ede-pmake-insert-variable-shared): Use it.
153         * cedet/ede/cpp-root.el (ede-preprocessor-map): Do not deref table
154         for lexical table iff table is nil.
156 2009-10-03  Dan Nicolaescu  <dann@ics.uci.edu>
158         * vc.el: Remove commented out code.
159         (vc-derived-from-dir-mode): Remove, unused.
160         (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
162 2009-10-03  Michael Albinus  <michael.albinus@gmx.de>
164         * net/tramp-ftp.el (tramp-ftp-file-name-handler): Disable
165         `file-name-handler-alist' when loading 'ange-ftp.  Otherwise,
166         there could be recursive loading when `default-directory' is a
167         remote file name.  (Bug#4614)
169 2009-10-03  Glenn Morris  <rgm@gnu.org>
171         * calendar/calendar.el (calendar-basic-setup): Handle the case where
172         the frame is wide.
173         (calendar-generate-window): Test for shrinkability rather than width.
175         * cedet/semantic/db-find.el (data-debug-insert-tag-list): Comment out
176         declaration, currently false.
178         * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
179         reusing existing buffers, in case we happen to visit two files with the
180         same basename.  (Bug#4593)
182 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
184         * makefile.w32-in (update-subdirs-CMD): Add cedet to
185         $(WINS_SUBDIR).
186         (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
187         (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
188         subdirs of cedet as well.
189         (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
191 2009-10-02  Stefan Monnier  <monnier@iro.umontreal.ca>
193         * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
194         Obey advertised-signature-table.
196         * help-fns.el (help-function-arglist): Don't check
197         advertised-signature-table.
198         (describe-function-1): Do it here instead so it also applies to subrs.
200 2009-10-02  Michael Albinus  <michael.albinus@gmx.de>
202         * simple.el (start-file-process): Say in the doc-string, that file
203         handlers might not support pty association, if PROGRAM is nil.
205         * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
206         HOST and USER are strings.  They are nil, when there are
207         incomplete entries in ~/.netrc, for example.
208         (ange-ftp-delete-directory): Implement RECURSIVE case.  Change to
209         root directory ("device busy" error otherwise).
211         * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
212         Flush file properties of created directory.
214 2009-10-02  Eli Zaretskii  <eliz@gnu.org>
216         * makefile.w32-in (WINS_BASIC): Remove cedet.
217         (WINS_CEDET): Add cedet.
218         (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
220 2009-10-02  Kevin Ryde  <user42@zip.com.au>
222         * net/browse-url.el (browse-url): Pass any symbol in
223         browse-url-browser-function to `apply', since if you've mistakenly put
224         an unbound symbol then the error is clearer.  (Bug#4531)
226 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
228         * allout.el (allout-init, allout-back-to-current-heading)
229         (allout-beginning-of-current-entry, allout-ascend-to-depth)
230         (allout-ascend, allout-up-current-level, allout-end-of-level)
231         (allout-previous-visible-heading, allout-forward-current-level)
232         (allout-backward-current-level, allout-show-children):
233         * apropos.el (apropos-describe-plist):
234         * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
235         * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
236         * completion.el (add-completion, add-permanent-completion):
237         * descr-text.el (describe-text-category, describe-char):
238         * desktop.el (desktop-lazy-abort):
239         * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
240         * dired.el (dired-build-subdir-alist):
241         * ediff.el (ediff-version):
242         * elide-head.el (elide-head, elide-head-show):
243         * emerge.el (emerge-version):
244         * env.el (getenv):
245         * face-remap.el (variable-pitch-mode):
246         * faces.el (describe-face):
247         * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
248         (dired-at-point):
249         * files.el (find-file-existing, auto-save-mode):
250         * font-lock.el (font-lock-fontify-buffer):
251         * help-fns.el (describe-function, describe-variable)
252         (describe-syntax, describe-categories):
253         * help.el (view-lossage, describe-bindings, describe-key)
254         (describe-mode):
255         * hexl.el (hexl-current-address):
256         * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
257         * info.el (Info-goto-emacs-key-command-node):
258         * log-edit.el (log-edit-insert-cvs-template)
259         (log-edit-insert-cvs-rcstemplate):
260         * menu-bar.el (menu-bar-mode):
261         * mouse.el (mouse-appearance-menu):
262         * newcomment.el (comment-indent-new-line):
263         * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
264         (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
265         (pgg-encrypt, pgg-decrypt-region, pgg-decrypt, )
266         (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
267         * recentf.el (recentf-mode):
268         * savehist.el (savehist-mode, savehist-save):
269         * shadowfile.el (shadow-copy-files):
270         * simple.el (kill-ring-save, next-line, previous-line)
271         (normal-erase-is-backspace-mode):
272         * strokes.el (strokes-update-window-configuration)
273         (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
274         (strokes-xpm-for-stroke):
275         * time.el (emacs-uptime, emacs-init-time):
276         * tutorial.el (tutorial--describe-nonstandard-key)
277         (tutorial--detailed-help):
278         * type-break.el (type-break-mode)
279         (type-break-mode-line-message-mode, type-break-query-mode)
280         (type-break-guesstimate-keystroke-threshold):
281         * vc.el (vc-version-diff, vc-diff, vc-root-diff):
282         * version.el (emacs-version):
283         * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
284         * winner.el (winner-mode):
285         * calendar/timeclock.el (timeclock-in, timeclock-out)
286         (timeclock-status-string, timeclock-change)
287         (timeclock-workday-remaining-string)
288         (timeclock-workday-elapsed-string)
289         (timeclock-when-to-leave-string):
290         * calendar/todo-mode.el (todo-add-category):
291         * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
292         * emacs-lisp/autoload.el (update-file-autoloads):
293         * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
294         (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
295         (checkdoc-message-text, checkdoc-defun):
296         * emacs-lisp/debug.el (debugger-list-functions):
297         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
298         * emacs-lisp/eieio-opt.el (eieio-describe-class)
299         (eieio-describe-generic):
300         * emacs-lisp/lisp-mnt.el (lm-synopsis):
301         * emacs-lisp/shadow.el (list-load-path-shadows):
302         * emulation/cua-base.el (cua-mode):
303         * emulation/edt.el (edt-set-scroll-margins):
304         * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
305         (tpu-toggle-regexp, tpu-toggle-search-direction)
306         (tpu-toggle-rectangle, tpu-toggle-control-keys):
307         * emulation/tpu-extras.el (tpu-set-scroll-margins):
308         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
309         (viper-set-parsing-style-toggling-macro)
310         (viper-set-emacs-state-searchstyle-macros):
311         * emulation/viper.el (viper-set-hooks):
312         * eshell/esh-mode.el (eshell-truncate-buffer):
313         * international/mule-cmds.el (prefer-coding-system)
314         (describe-input-method, describe-language-environment):
315         * international/mule-diag.el (list-character-sets)
316         (describe-character-set, describe-coding-system)
317         (describe-fontset, list-fontsets, list-input-methods):
318         * mail/sendmail.el (mail-signature):
319         * net/ange-ftp.el (ange-ftp-copy-file):
320         * net/browse-url.el (browse-url):
321         * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
322         * net/quickurl.el (quickurl-add-url):
323         * net/rcirc.el (names, topic):
324         * net/xesam.el (xesam-mode):
325         * play/5x5.el (5x5-new-game):
326         * play/yow.el (apropos-zippy):
327         * progmodes/ada-mode.el (ada-mode-version):
328         * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
329         (f90-end-of-block)
330         (f90-beginning-of-block):
331         * progmodes/fortran.el (fortran-end-of-block)
332         (fortran-beginning-of-block):
333         * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
334         * progmodes/python.el (python-describe-symbol, python-shell):
335         * term/ns-win.el (ns-print-buffer):
336         * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
337         * textmodes/flyspell.el (flyspell-mode-on):
338         * textmodes/page-ext.el (set-page-delimiter, pages-directory)
339         (pages-directory-for-addresses):
340         * textmodes/table.el (table-recognize-cell)
341         (table-query-dimension, table-generate-source)
342         (table-insert-sequence, table--warn-incompatibility):
343         * textmodes/tex-mode.el (tex-validate-buffer):
344         * textmodes/texinfmt.el (texinfmt-version)
345         (texinfo-format-buffer):
346         Use `called-interactively-p' instead of `interactive-p'.
348 2009-10-02  Juanma Barranquero  <lekktu@gmail.com>
350         * image-mode.el (image-toggle-display):
351         * emacs-lisp/elp.el (elp-instrument-function):
352         * emacs-lisp/advice.el (ad-make-advised-definition):
353         * emacs-lisp/easy-mmode.el (define-minor-mode):
354         * net/browse-url.el (browse-url-maybe-new-window):
355         * progmodes/sh-script.el (sh-learn-buffer-indent):
356         Pass new argument 'any to `called-interactively-p'.
358 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
360         * international/uni-bidi.el:
361         * international/uni-category.el:
362         * international/uni-combining.el:
363         * international/uni-comment.el:
364         * international/uni-decimal.el:
365         * international/uni-decomposition.el:
366         * international/uni-digit.el:
367         * international/uni-lowercase.el:
368         * international/uni-mirrored.el:
369         * international/uni-name.el:
370         * international/uni-numeric.el:
371         * international/uni-old-name.el:
372         * international/uni-titlecase.el:
373         * international/uni-uppercase.el:
374         Regenerate from Unicode 5.2.0 data.
376 2009-10-01  Glenn Morris  <rgm@gnu.org>
378         * Makefile.in (ELCFILES): Regenerate.
380 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
382         * subr.el (interactive-p): Mark obsolete.
383         (called-interactively-p): Make the optional-ness of `kind' obsolete.
384         * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
385         advertised-signature-table for subroutines as well.
387         * emacs-lisp/byte-run.el (advertised-signature-table): New var.
388         (set-advertised-calling-convention): New function.
389         (make-obsolete, define-obsolete-function-alias)
390         (make-obsolete-variable, define-obsolete-variable-alias):
391         Make the optional-ness of `when' obsolete.
392         (define-obsolete-face-alias): Make `when' non-optional.
393         * help-fns.el (help-function-arglist):
394         * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
395         Use advertised-signature-table.
397 2009-10-01  Michael Albinus  <michael.albinus@gmx.de>
399         * files.el (delete-directory): New defun.  The original function
400         in fileio.c has been renamed to `delete-directory-internal'.
402         * dired.el (dired-delete-file): Call `delete-directory' with
403         RECURSIVE parameter.
405         * net/ange-ftp.el (ange-ftp-delete-directory ): Add optional
406         parameter RECURSIVE.  Implementation is missing.
408         * net/tramp.el (tramp-handle-make-directory): Flush upper
409         directory's file properties.
410         (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
411         (tramp-handle-dired-recursive-delete-directory): Flush directory
412         properties after the remove command only.
414         * net/tramp-fish.el (tramp-fish-handle-delete-directory):
415         Handle optional parameter RECURSIVE.
417         * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
418         Handle optional parameter RECURSIVE.
420         * net/tramp-smb.el (tramp-smb-errors): Add error message for
421         connection timeout.
422         (tramp-smb-handle-delete-directory): Handle optional parameter
423         RECURSIVE.
425 2009-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
427         * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
428         (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
429         (byte-compile-defmacro): Use backquotes.
431         * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
433         * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
434         has no associated file.
435         (vc-resynch-buffer): Use vc-dir-buffers.
437 2009-10-01  Glenn Morris  <rgm@gnu.org>
439         * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
440         (chart-file-count):
441         * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
442         * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
443         * emacs-lisp/eieio-opt.el (eieio-describe-class):
444         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
445         * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
446         (eieio-copy-parents-into-subclass, make-instance, class-children)
447         (eieio-generic-form):
448         * cedet/cedet-files.el (cedet-directory-name-to-file-name):
449         * cedet/cedet-idutils.el (cedet-idutils-search)
450         (cedet-idutils-expand-filename, cedet-idutils-support-for-directory)
451         (cedet-idutils-version-check):
452         * cedet/cedet.el (cedet-version):
453         * cedet/data-debug.el (data-debug-insert-overlay-button)
454         (data-debug-insert-overlay-list-button)
455         (data-debug-insert-buffer-button)
456         (data-debug-insert-buffer-list-button)
457         (data-debug-insert-process-button, data-debug-insert-ring-button)
458         (data-debug-insert-widget, data-debug-insert-stuff-list-button)
459         (data-debug-insert-stuff-vector-button)
460         (data-debug-insert-symbol-button, data-debug-insert-string)
461         (data-debug-insert-number, data-debug-insert-lambda-expression)
462         (data-debug-insert-nil, data-debug-insert-simple-thing)
463         (data-debug-insert-custom, data-debug-edebug-expr):
464         * cedet/ede.el (ede-auto-add-method, ede-project-class-files)
465         (global-ede-mode-map, ede-new, ede-debug-target)
466         (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set):
467         * cedet/semantic.el (semantic-minimum-working-buffer-size)
468         (semantic-fetch-tags, semantic-submode-list)
469         (semantic-default-submodes):
470         * cedet/ede/source.el (ede-source-match):
471         * cedet/ede/project-am.el (project-am-type-alist, project-add-file)
472         (project-am-package-info):
473         * cedet/ede/proj.el (ede-proj-target, project-new-target):
474         * cedet/ede/proj-elisp.el (ede-proj-tweak-autoconf):
475         * cedet/ede/proj-comp.el (ede-current-build-list):
476         * cedet/ede/makefile-edit.el (makefile-move-to-macro):
477         * cedet/ede/files.el (ede-toplevel-project-or-nil):
478         * cedet/ede/cpp-root.el (initialize-instance):
479         * cedet/ede/autoconf-edit.el (autoconf-find-last-macro)
480         (autoconf-parameter-strip, autoconf-insert-new-macro):
481         * cedet/semantic/wisent.el (wisent-lex-eoi):
482         * cedet/semantic/util-modes.el (global-semantic-show-parser-state-mode)
483         (semantic-show-parser-state-mode):
484         * cedet/semantic/texi.el (semantic-texi-environment-regexp):
485         * cedet/semantic/tag.el (semantic-tag-new-variable)
486         (semantic-tag-class, semantic-tag-new-variable, semantic-tag-copy)
487         (semantic--tag-deep-copy-attributes, semantic--tag-deep-copy-value)
488         (semantic--tag-deep-copy-tag-list)
489         (semantic-tag-components-with-overlays-default):
490         * cedet/semantic/symref.el (semantic-symref-find-text):
491         * cedet/semantic/senator.el (senator-yank-tag)
492         (senator-transpose-tags-up):
493         * cedet/semantic/scope.el (semantic-analyze-scoped-tags-default)
494         (semantic-analyze-scoped-inherited-tags, semantic-scope-find):
495         * cedet/semantic/sb.el (semantic-sb-autoexpand-length):
496         * cedet/semantic/lex.el (semantic-lex-comment-regex)
497         (semantic-lex-maximum-depth, define-lex, semantic-lex-token)
498         (semantic-lex-unterminated-syntax-protection, define-lex-analyzer):
499         * cedet/semantic/lex-spp.el
500         (semantic-lex-spp-dynamic-macro-symbol-obarray-stack)
501         (semantic-lex-spp-symbol, semantic-lex-spp-one-token-to-txt):
502         * cedet/semantic/idle.el
503         (semantic-idle-summary-current-symbol-info-brutish)
504         (semantic-idle-summary-current-symbol-info-default):
505         * cedet/semantic/grammar.el (semantic-grammar-recreate-package)
506         (semantic--grammar-macro-compl-dict):
507         * cedet/semantic/grammar-wy.el (semantic-grammar-wy--parse-table):
508         * cedet/semantic/format.el (semantic-format-tag-custom-list)
509         (semantic-format-tag-canonical-name-default):
510         * cedet/semantic/find.el (semantic-find-tag-by-overlay-in-region)
511         (semantic-find-tags-for-completion)
512         (semantic-find-tags-by-scope-protection-default)
513         (semantic-deep-find-tags-for-completion):
514         * cedet/semantic/edit.el
515         (semantic-edits-incremental-reparse-failed-hook)
516         (semantic-edits-verbose-flag, semantic-edits-assert-valid-region)
517         (semantic-edits-splice-remove, semantic-edits-splice-replace):
518         * cedet/semantic/doc.el (semantic-documentation-comment-preceeding-tag):
519         * cedet/semantic/dep.el (semantic-dependency-include-path):
520         * cedet/semantic/db.el (semanticdb-default-find-index-class)
521         (semanticdb-match-any-mode, semanticdb-with-match-any-mode)
522         (semanticdb-project-roots):
523         * cedet/semantic/db-find.el (semanticdb-implied-include-tags)
524         (semanticdb-find-adebug-insert-scanned-tag-cons)
525         (semanticdb-find-log-buffer-name, semanticdb-find-result-mapc)
526         (semanticdb-brute-deep-find-tags-for-completion):
527         * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-add-tree-to-table):
528         * cedet/semantic/ctxt.el (semantic-beginning-of-context-default)
529         (semantic-end-of-context-default)
530         (semantic-ctxt-current-function-default)
531         (semantic-ctxt-scoped-types-default):
532         * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
533         (semantic-complete-inline-tag-engine)
534         (semantic-complete-inline-custom-type)
535         (semantic-complete-read-tag-analyzer):
536         * cedet/semantic/chart.el (semantic-chart-tags-by-class)
537         (semantic-chart-database-size):
538         * cedet/semantic/analyze.el (semantic-analyze-current-symbol)
539         (semantic-analyze-current-context):
540         * cedet/semantic/symref/list.el (semantic-symref)
541         (semantic-symref-hide-buffer, semantic-symref-symbol):
542         * cedet/semantic/symref/grep.el (semantic-symref-grep-use-template):
543         * cedet/semantic/symref/filter.el (semantic-symref-hits-in-region):
544         * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string):
545         * cedet/semantic/bovine/c.el (semantic-lex-c-preprocessor-symbol-map)
546         (semantic-c-parse-token-hack-depth, semantic-c--template-name-1)
547         (semantic-c-dereference-template):
548         * cedet/semantic/analyze/refs.el (semantic--analyze-refs-full-lookup)
549         (semantic--analyze-refs-full-lookup-with-parents)
550         (semantic--analyze-refs-full-lookup-simple):
551         * cedet/semantic/analyze/complete.el
552         (semantic-analyze-possible-completions):
553         * cedet/srecode/table.el (srecode-mode-table-new):
554         * cedet/srecode/srt.el (srecode-read-variable-name):
555         * cedet/srecode/srt-mode.el (srecode-macro-help, srecode-in-macro-p):
556         * cedet/srecode/semantic.el (srecode-semantic-handle-:tag)
557         (srecode-semantic-handle-:tagtype, srecode-semantic-insert-tag):
558         * cedet/srecode/map.el (srecode-current-map):
559         * cedet/srecode/insert.el (srecode-insert)
560         (srecode-insert-variable-secondname-handler, srecode-insert-method)
561         (srecode-template-inserter-point-override)
562         (srecode-insert-include-lookup):
563         * cedet/srecode/getset.el (srecode-auto-choose-class):
564         * cedet/srecode/extract.el (srecode-inserter-extract):
565         * cedet/srecode/document.el
566         (srecode-document-autocomment-return-last-alist)
567         (srecode-document-autocomment-param-type-alist)
568         (srecode-document-insert-function-comment)
569         (srecode-document-insert-variable-one-line-comment)
570         (srecode-document-function-name-comment):
571         * cedet/srecode/dictionary.el (srecode-create-dictionary)
572         (srecode-compound-toString):
573         * cedet/srecode/compile.el (srecode-flush-active-templates):
574         * cedet/srecode/args.el (srecode-semantic-handle-:blank):
575         Doc/message fixes.
577         * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
578         match-data.  (Bug#4555).
580         * cedet/semantic/bovine/gcc.el
581         (semantic-c-reset-preprocessor-symbol-map): Fix declaration.
582         (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes.
584         * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
585         rather than parsing it as a regexp.  This relaxes the layout
586         requirements and makes errors easier to detect.
587         (check-declare-verify): Check file is regular.
588         (check-declare-directory): Doc fix.
589         * subr.el (declare-function): Doc fix.
591         * ibuffer.el (ibuffer-format-qualifier):
592         * isearch.el (hi-lock-regexp-okay):
593         * calc/calc.el (math-zerop):
594         * mail/uce.el (rmail-msgbeg, rmail-msgend):
595         * term/w32-win.el (setup-default-fontset, set-fontset-font):
596         Remove unused declarations.
598 2009-10-01  Juanma Barranquero  <lekktu@gmail.com>
600         * cedet/semantic/wisent/javat-wy.el
601         (wisent-java-tags-wy--keyword-table): Use \000 instead of literal ^@.
603 2009-09-30  Juanma Barranquero  <lekktu@gmail.com>
605         * cedet/srecode/expandproto.el: Fix provide statement.
607 2009-09-30  Eric Ludlam  <zappo@gnu.org>
609         * emacs-lisp/eieio.el (boolean-p): Delete.
611 2009-09-30  Sascha Wilde  <wilde@sha-bang.de>
613         * cedet/ede/srecode.el: Fix provide statement.
615 2009-09-30  Glenn Morris  <rgm@gnu.org>
617         * cedet/ede/proj.el (ede-proj-target-makefile-miscelaneous):
618         * cedet/ede/proj-aux.el (ede-aux-source):
619         * cedet/ede/proj-misc.el (ede-proj-target-makefile-miscelaneous)
620         (ede-misc-source):
621         * cedet/semantic/mru-bookmark.el (semantic-mrub-completing-read)
622         (semantic-mrub-switch-tags): Fix doc typos.
624         * cedet/semantic/db-global.el (data-debug-new-buffer)
625         (data-debug-insert-thing): Remove unneeded declarations (one broken).
626         (semanticdb-enable-gnu-global-databases): Fix prompt typo.
628         * cedet/semantic/analyze/fcn.el (semantic-scope-find): Fix declaration.
630         * cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime
631         use of CL function `remove-if-not'.
633         * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
635         * emacs-lisp/elint.el (elint-init-form): Report declarations where the
636         filename is not a string.
638 2009-09-29  Chong Yidong  <cyd@stupidchicken.com>
640         * files.el (safe-local-eval-forms): Fix typo.
642 2009-09-29  Stefan Monnier  <monnier@iro.umontreal.ca>
644         * vc-hooks.el (vc-dir-buffers): New var.
645         (vc-state-refresh): New function.
646         (vc-state): Use it.
647         (vc-after-save): Always ask the backend to recompute the new state.
648         Always call vc-dir if necessary, using vc-dir-buffers.
649         * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
650         Use vc-dir-buffers.
651         (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
652         (vc-dir-prepare-status-buffer, vc-dir-update)
653         (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
654         Don't call expand-file-name on default-directory.
656 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
658         * speedbar.el (speedbar-item-delete):
659         * calc/calc-prog.el (calc-kbd-if):
660         * language/hanja-util.el (hanja-init-load): Fix typos in messages.
662         * epa.el (epa-key-list-mode-map):
663         * hi-lock.el (hi-lock-menu): Fix typos in menus.
665         * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
666         (hs-show-hook): Fix typo in docstring.
668 2009-09-29  Glenn Morris  <rgm@gnu.org>
670         * cedet/semantic/symref/idutils.el:
671         * cedet/semantic/symref/list.el: Relicense under GPLv3+.
673         * cedet/ede/srecode.el (srecode-resolve-arguments): Fix declaration.
675         * cedet/semantic/complete.el (semantic-displayor-focus-abstract-child-p):
676         * cedet/semantic/tag-file.el (semanticdb-table-child-p):
677         * cedet/srecode/compile.el (srecode-template-inserter-newline-child-p):
678         Mark declarations not understood by check-declare.
680         * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
681         file-name-nondirectory call preventing location of cedet files.
682         (check-declare-verify): Use literal search rather than re-search.
683         Add basic defmethod and defclass, and define-overloadable-function.
685         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
686         Use tramp-compat-file-attributes rather than nonexistent
687         tramp-compat-handle-file-attributes.
689         * Makefile.in (lisptagsfiles4): New.
690         (AUTOGENEL): Add cedet loaddefs files.
691         (TAGS, TAGS-LISP): Use $lisptagsfiles4.
692         (update-elclist, compile-always, backup-compiled-files)
693         (bootstrap-clean): Add yet another directory level.
694         (update-elclist): Use LC_COLLATE rather than COLLATE.
695         (ELCFILES): Update, via `make update-elclist'.
697 2009-09-29  Juanma Barranquero  <lekktu@gmail.com>
699         * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
700         (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
701         (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
703 2009-09-28  Andreas Schwab  <schwab@linux-m68k.org>
705         * Makefile.in (lisptagsfiles3): Define.
706         (TAGS, TAGS-LISP): Use it.
707         (update-elclist): Add third directory level to look for elc files.
708         (compile-always): Likewise.
709         (backup-compiled-files): Likewise.
710         (bootstrap-clean): Likewise.
711         (ELCFILES): Update.
713 2009-09-28  Chong Yidong  <cyd@stupidchicken.com>
715         * Makefile.in (ELCFILES): Add CEDET files.
717 2009-09-28  Eric Ludlam  <zappo@gnu.org>
719         CEDET (development tools) package merged.
721         * cedet/*.el:
722         * cedet/ede/*.el:
723         * cedet/semantic/*.el:
724         * cedet/srecode/*.el: New files.
726 2009-09-28  Michael Albinus  <michael.albinus@gmx.de>
728         * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
730         * net/tramp.el (top): Require tramp-imap.
732         * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
733         Use `tramp-compat-handle-file-attributes'.
735 2009-09-28  Teodor Zlatanov  <tzz@lifelogs.com>
737         * net/tramp-imap.el: New package.
739 2009-09-28  Eric Ludlam  <zappo@gnu.org>
741         * emacs-lisp/chart.el:
742         * emacs-lisp/eieio-base.el:
743         * emacs-lisp/eieio-comp.el:
744         * emacs-lisp/eieio-custom.el:
745         * emacs-lisp/eieio-datadebug.el:
746         * emacs-lisp/eieio-opt.el:
747         * emacs-lisp/eieio-speedbar.el:
748         * emacs-lisp/eieio.el: New files.
750         * cedet/cedet-cscope.el:
751         * cedet/cedet-files.el:
752         * cedet/cedet-global.el:
753         * cedet/cedet-idutils.el:
754         * cedet/data-debug.el:
755         * cedet/inversion.el:
756         * cedet/mode-local.el:
757         * cedet/pulse.el: New files.
759 2009-09-27  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
761         * whitespace.el (whitespace-trailing-regexp)
762         (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
763         Fix doc string.
765 2009-09-27  Chong Yidong  <cyd@stupidchicken.com>
767         * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
768         menu.
770         * ediff-hook.el: Move menu-bar-ediff-misc-menu into
771         menu-bar-ediff-menu.
773         * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
774         define-overloadable-function.
776         * progmodes/autoconf.el: Provide autoconf as well, so that this
777         file can be `require'd.
779         * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
781         * emacs-lisp/autoload.el (generated-autoload-feature)
782         (generated-autoload-load-name): New vars.
783         (autoload-rubric, autoload-generate-file-autoloads): Use them.
784         (make-autoload): Recognize define-overloadable-function and
785         defclass forms (for EIEIO).
787         * Makefile.in (update-subdirs): Exclude cedet directory.
789 2009-09-27  Adrian Robert  <Adrian.B.Robert@gmail.com>
791         * term/ns-win.el: Don't set the region face background. (Bug#4381)
793         * faces.el: Default light-background background for region face to
794         ns_selection_color under NS.
796 2009-09-27  Teodor Zlatanov  <tzz@lifelogs.com>
798         * net/imap-hash.el: New library, see NEWS.
800         * Makefile.in (ELCFILES): Add imap-hash.el.
802 2009-09-27  Stefan Monnier  <monnier@iro.umontreal.ca>
804         * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
805         * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
806         * help-macro.el (make-help-screen): Avoid using an ambiguous function
807         definition where the docstring could be taken for the return value.
809 2009-09-26  Glenn Morris  <rgm@gnu.org>
811         * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
812         Add option to only show images below a certain size.
813         (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
814         save-excursion calls.
816 2009-09-26  Eli Zaretskii  <eliz@gnu.org>
818         * makefile.w32-in (WINS_ALMOST): Add cedet (with its
819         subdirectories) and eieio.
821 2009-09-26  Alan Mackenzie  <acm@muc.de>
823         * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
824         buggy bracketing.
826         * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
827         character constants (as case labels).
829 2009-09-25  Juri Linkov  <juri@jurta.org>
831         * files.el (safe-local-eval-forms): Allow time-stamp in
832         before-save-hook (Bug#4554).
834 2009-09-25  Drew Adams  <drew.adams@oracle.com>
836         * menu-bar.el (list-buffers-directory): Doc fix.
838 2009-09-25  Stefan Monnier  <monnier@iro.umontreal.ca>
840         * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
841         Try and avoid copying twice the same paragraph.
842         (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
843         Remove save-excursion.
844         (log-edit-changelog-entry): Do it here instead.
846 2009-09-25  Juanma Barranquero  <lekktu@gmail.com>
848         * bs.el (bs--get-file-name): Use `list-buffers-directory'
849         when available, instead of hardcoding mode names.  Doc fix.
851         * menu-bar.el (list-buffers-directory): Add docstring.
852         Make automatically buffer-local.
854         * dired.el (dired-mode):
855         * files.el (cd-absolute):
856         * pcvs.el (cvs-temp-buffer):
857         * pcvs-util.el (cvs-get-buffer-create):
858         * shell.el (shell-mode):
859         * vc-dir.el (vc-dir-mode):
860         Don't make `list-buffers-directory' buffer local.
862 2009-09-25  Devon Sean McCullough  <emacs-hacker@Jovi.Net>
864         * comint.el (comint-exec, comint-run, make-comint):
865         Doc fixes (Bug#4542).
867 2009-09-25  Glenn Morris  <rgm@gnu.org>
869         * mail/rmailmm.el (rmail-mime): New custom group.
870         Move all defcustoms in this file into this group.
871         (rmail-mime-media-type-handlers-alist): Revert previous change.
872         (rmail-mime-show-images): New option.
873         (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
874         references to it, since it wasn't actually used for anything.
875         (rmail-mime-insert-image): New function.
876         (rmail-mime-image): Use rmail-mime-insert-image.
877         (rmail-mime-bulk-handler): Remove optional `image' argument, instead
878         obey the value of `rmail-mime-show-images' option.  Print the size of
879         attachments.
881 2009-09-25  David Engster  <deng@randomsample.de>
883         * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'.  (Bug#4548)
885 2009-09-24  Vinicius Jose Latorre  <viniciusjl@ig.com.br>
887         * whitespace.el: Does not highlight trailing spaces While point is
888         at end of line.  Does not highligt spaces at beginning of buffer
889         while point is at beginning of buffer.  Does not highlight spaces
890         at end of buffer while point is at end of buffer.  (Bug#4177)
891         New version 12.0.
892         (whitespace-display-mappings): Adjust initialization.
893         (whitespace-point, whitespace-font-lock-refontify): New vars.
894         (whitespace-color-on, whitespace-color-off): Adjust code.
895         (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
896         (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
897         (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
899 2009-09-24  Chong Yidong  <cyd@stupidchicken.com>
901         * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
903         * textmodes/sgml-mode.el: Remove xml-mode alias.
905         * files.el (auto-mode-alist, conf-mode-maybe)
906         (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
908 2009-09-24  Alan Mackenzie  <acm@muc.de>
910         * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
911         c-forward-conditionals, but it doesn't move point and doesn't set
912         the mark.
913         (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
914         (c-down-conditional-with-else, c-backward-conditional)
915         (c-forward-conditional): Refactor to use c-scan-conditionals.
917 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
919         * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
920         (help-default-arg-highlight): Remove.
921         (help-highlight-arg): New function.
922         (help-do-arg-highlight): Use it.
923         Suggested by Drew Adams <drew.adams@oracle.com>.  (Bug#4510, bug#4520)
925 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
927         * term.el (term-set-scroll-region, term-handle-ansi-escape):
928         Undo last change, which didn't fix the problem and introduced others.
930 2009-09-24  Nick Roberts  <nickrob@snap.net.nz>
932         * progmodes/gdb-mi.el: Don't require speedbar.
933         (gdb-jsonify-buffer): Handle case where "=" is part of value string.
935 2009-09-24  Glenn Morris  <rgm@gnu.org>
937         * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
939         * term/ns-win.el (ns-reg-to-script): Define for compiler.
941         * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
942         there is no newline after the final mime boundary.  (Bug#4539)
943         Move markers on insertion so that any buttons inserted don't end up in
944         the next part of a multipart message.
945         (rmail-mime-media-type-handlers-alist): Doc fix.  Add image handler.
946         (rmail-mime-bulk-handler): Optionally handle images.
947         (rmail-mime-image): New button action.
948         (rmail-mime-image-handler): New function.
949         (rmail-mime-mode): New mode.
950         (rmail-mime): Doc fix.  Use rmail-mime-mode (for font-lock).
952 2009-09-24  Stefan Monnier  <monnier@iro.umontreal.ca>
954         * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
955         than just dropping elements from it (bug#4504).
957         * term.el (term-set-scroll-region): Don't move cursor any more.
958         (term-handle-ansi-escape): Call term-goto here instead.
959         Suggested by Ivan Kanis <apple@kanis.eu>.
961         * term.el: Require CL.
962         (term-ansi-reset): New function.
963         (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
964         (term-handle-colors-array): Simplify.
966 2009-09-24  Juanma Barranquero  <lekktu@gmail.com>
968         * allout.el (allout-overlay-interior-modification-handler)
969         (allout-obtain-passphrase):
970         * epa-file.el (epa-file-write-region):
971         * ps-print.el (ps-begin-job):
972         * vc-hooks.el (vc-toggle-read-only):
973         * vc-rcs.el (vc-rcs-rollback):
974         * vc-sccs.el (vc-sccs-rollback):
975         * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
976         (vc-version-diff, vc-revert, vc-rollback):
977         * wdired.el (wdired-check-kill-buffer):
978         * emacs-lisp/authors.el (authors):
979         * net/socks.el (socks-open-connection):
980         * net/zeroconf.el (zeroconf-service-add-hook):
981         * obsolete/vc-mcvs.el (vc-mcvs-register):
982         * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
983         (gdb-select-frame):
984         * progmodes/grep.el (lgrep, rgrep):
985         * progmodes/idlw-help.el (idlwave-help-check-locations)
986         (idlwave-help-html-link, idlwave-help-assistant-open-link):
987         * textmodes/ispell.el (ispell-find-aspell-dictionaries):
988         * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
989         (reftex-toc-rename-label): Fix typos in error messages.
991         * dired-aux.el (dired-do-shell-command): Reflow docstring.
992         (dired-copy-how-to-fn): Doc fix.
993         (dired-files-attributes, dired-read-shell-command):
994         Fix typos in docstrings.
996         * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
997         (dired-x-find-file-other-window): Reflow docstrings.
998         (dired-omit-marker-char, dired-read-shell-command)
999         (dired-x-submit-report): Fix typos in docstrings.
1001         * shell.el (shell-mode-hook):
1002         * view.el (View-scroll-line-forward):
1003         * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
1004         Fix typos in docstrings.
1006         * net/dig.el (dig-invoke): Fix typo in docstring.
1007         (query-dig): Reflow docstring.
1009         * progmodes/idlwave.el (idlwave-create-user-catalog-file)
1010         (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
1011         (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
1012         (idlwave-begin-block-reg, idlwave-begin-unit-reg)
1013         (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
1014         (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
1015         (idlwave-check-abbrev, idlwave-class-file-or-buffer)
1016         (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
1017         (idlwave-completion-map, idlwave-current-indent)
1018         (idlwave-custom-ampersand-surround, idlwave-customize)
1019         (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
1020         (idlwave-define-abbrev, idlwave-determine-class-special)
1021         (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
1022         (idlwave-end-block-reg, idlwave-end-of-statement)
1023         (idlwave-end-of-statement0, idlwave-end-of-subprogram)
1024         (idlwave-end-unit-reg, idlwave-entry-find-keyword)
1025         (idlwave-explicit-class-listed, idlwave-file-header)
1026         (idlwave-fill-paragraph, idlwave-find-class-definition)
1027         (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
1028         (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
1029         (idlwave-in-quote, idlwave-indent-action-table)
1030         (idlwave-indent-expand-table, idlwave-indent-line)
1031         (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
1032         (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
1033         (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
1034         (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
1035         (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
1036         (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
1037         (idlwave-outlawed-buffers, idlwave-popup-select)
1038         (idlwave-previous-statement, idlwave-rescan-catalog-directories)
1039         (idlwave-routine-entry-compare, idlwave-routine-info.pro)
1040         (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
1041         (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
1042         (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
1043         (idlwave-statement-type, idlwave-struct-skip)
1044         (idlwave-substitute-link-target, idlwave-toggle-comment-region)
1045         (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
1046         (idlwave-what-module-find-class): Fix typos in docstrings.
1047         (idlwave-all-method-classes, idlwave-calc-hanging-indent)
1048         (idlwave-calculate-cont-indent, idlwave-expand-equal)
1049         (idlwave-find-module, idlwave-find-structure-definition)
1050         (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
1051         (idlwave-list-load-path-shadows, idlwave-next-statement)
1052         (idlwave-routine-entry-compare-twins, idlwave-routine-info)
1053         (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
1054         (idlwave-template): Reflow docstrings.
1056         * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
1057         (idlwave-shell-batch-command, idlwave-shell-bp-alist)
1058         (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
1059         (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
1060         (idlwave-shell-display-line, idlwave-shell-display-wframe)
1061         (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
1062         (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
1063         (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
1064         (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
1065         (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
1066         (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
1067         (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
1068         (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
1069         (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
1070         (idlwave-shell-scan-for-state, idlwave-shell-send-command)
1071         (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
1072         (idlwave-shell-shell-command, idlwave-shell-sources-alist)
1073         (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
1074         (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
1075         (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
1076         Fix typos in docstrings.
1077         (idlwave-shell-bp, idlwave-shell-clear-current-bp)
1078         (idlwave-shell-hide-output, idlwave-shell-mode)
1079         (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
1080         Reflow docstrings.
1082         * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
1084 2009-09-24  Ivan Kanis  <apple@kanis.eu>
1086         * term.el (term-bold-attribute): New var.
1087         (term-handle-colors-array): Use it.
1089 2009-09-23  Nick Roberts  <nickrob@snap.net.nz>
1091         * progmodes/gdb-mi.el (gdb-version): New variable.
1092         (gdb-non-stop-handler): Set gdb-version.
1093         (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
1094         Condition "--thread" option on gdb-version.
1095         (gdb-invalidate-threads): Remove unused argument.
1097 2009-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1099         * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
1100         to looking-back to avoid ridiculous slow down in large files (bug#4511).
1102 2009-09-23  Glenn Morris  <rgm@gnu.org>
1104         * mail/rmail.el (rmail-reply): Don't try to add a References header when
1105         replying to mail without References or Message-Id.  (Bug#4525)
1107 2009-09-23  Adrian Robert  <Adrian.B.Robert@gmail.com>
1109         * term/ns-win.el (ns-reg-to-script): New variable.
1111 2009-09-23  Daiki Ueno  <ueno@unixuser.org>
1113         * epg.el (epg-wait-for-status): Preserve existing 'error results.
1115 2009-09-22  Sam Steingold  <sds@gnu.org>
1117         * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
1118         (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
1119         to 1 because hg returns status 1 when nothing is found.
1120         Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
1122 2009-09-22  Stefan Monnier  <monnier@iro.umontreal.ca>
1124         * textmodes/fill.el: Convert to utf-8 encoding.
1125         (fill-french-nobreak-p): Remove redundant » and « inherited from our
1126         pre-unicode days.
1128         * add-log.el (change-log-fill-forward-paragraph): New function.
1129         (change-log-mode): Use it so fill-region DTRT.
1130         Set fill-indent-according-to-mode here rather than in
1131         change-log-fill-paragraph.
1132         (change-log-fill-paragraph): Remove.
1134 2009-09-22  Juanma Barranquero  <lekktu@gmail.com>
1136         * info.el (Info-try-follow-nearest-node): Use the URL extracted by
1137         `Info-get-token', instead of `browse-url-url-at-point'.  (Bug#4508)
1139 2009-09-22  Glenn Morris  <rgm@gnu.org>
1141         * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
1142         the scroll-bar scroll the calendar window rather than the buffer.
1144         * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
1145         commands that move point (as opposed to scrolling).
1147         * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
1149         * emacs-lisp/elint.el (elint): New custom group.
1150         (elint-log-buffer): Make it a defcustom.
1151         (elint-scan-preloaded, elint-ignored-warnings)
1152         (elint-directory-skip-re): New options.
1153         (elint-builtin-variables): Doc fix.
1154         (elint-preloaded-env): New variable.
1155         (elint-unknown-builtin-args): Add an entry for encode-time.
1156         (elint-extra-errors): Make it a variable rather than a constant.
1157         (elint-preloaded-skip-re): New constant.
1158         (elint-directory): Skip files matching elint-directory-skip-re.
1159         (elint-features): New variable, local to linted buffers.
1160         (elint-update-env): Initialize elint-features.  Possibly add
1161         elint-preloaded-env to the buffer's environment.
1162         (elint-get-top-forms): Bind elint-current-pos, for log messages.
1163         Skip quoted forms.
1164         (elint-init-form): New function, extracted from elint-init-env.
1165         Make non-list forms a warning rather than an error.
1166         Add the mode-map for define-derived-mode.  Handle define-minor-mode,
1167         easy-menu-define, put that adds an error-condition, and provide.
1168         When requiring cl, also require cl-macs.  Really require cl, to handle
1169         some cl macros.  Store required libraries in the list elint-features,
1170         so as not to re-load them.  Treat cc-require like require.
1171         (elint-init-env): Call elint-init-form to do the work.
1172         Handle eval-and-compile and such like.
1173         (elint-add-required-env): Do not clear messages.
1174         (elint-special-forms): Add handlers for function, defalias, if, when,
1175         unless, and, or.
1176         (elint-form): Add optional argument to ignore elint-special-forms,
1177         useful to prevent recursive calls from handlers.  Doc fix.
1178         Respect elint-ignored-warnings.
1179         (elint-form): Respect elint-ignored-warnings.
1180         (elint-bound-variable, elint-bound-function): New variables.
1181         (elint-unbound-variable): Respect elint-bound-variable.
1182         (elint-get-args): Respect elint-bound-function.
1183         (elint-check-cond-form): Add some simple handling for (f)boundp and
1184         featurep tests.
1185         (elint-check-defalias-form): New handler.
1186         (elint-check-let-form): Make an empty let a warning rather than an
1187         error.
1188         (elint-check-setq-form): Make an empty setq a warning rather than an
1189         error.  Respect elint-ignored-warnings.
1190         (elint-check-defvar-form): Accept null doc-strings.
1191         (elint-check-conditional-form): New handler.  Does some simple-minded
1192         checking of featurep and (f)boundp tests.
1193         (elint-put-function-args): New function.
1194         (elint-initialize): Use elint-scan-doc-file rather than
1195         elint-find-builtin-variables.  Use elint-put-function-args.
1196         Possibly scan preloaded-file-list.
1197         (elint-scan-doc-file): Rename from elint-find-builtin-variables and
1198         extend to handle functions as well.
1200 2009-09-22  Lennart Borgman  <lennart.borgman@gmail.com>
1202         * linum.el (linum-delete-overlays, linum-update-window):
1203         Do not modify the right margin.  (Bug#3971)
1205 2009-09-21  Chong Yidong  <cyd@stupidchicken.com>
1207         * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
1208         nxml-mode instead of xml-mode.
1210 2009-09-21  Kevin Ryde  <user42@zip.com.au>
1212         * net/dig.el: Add "Keywords: comm", as per net-utils.el.  (Bug#4501)
1214 2009-09-21  Stefan Monnier  <monnier@iro.umontreal.ca>
1216         * net/dig.el (dig-mode): Use define-derived-mode.
1218 2009-09-20  Dan Nicolaescu  <dann@ics.uci.edu>
1220         * vc-dispatcher.el (vc-do-command): Return the process object in
1221         the asynchronous case.  Use when instead of if.  Do not run
1222         vc-exec-after to display a message if not enabled.
1224         * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
1225         properties to the stash strings.
1226         (vc-git-stash-list): Return a list of strings.
1227         (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
1228         (vc-git-stash-show-at-point): New functions.
1229         (vc-git-stash-map): New keymap.
1231         * register.el (ctl-x-r-map): Define the keys here instead of
1232         using autoload.
1234 2009-09-20  Thierry Volpiatto  <thierry.volpiatto@gmail.com>  (tiny change)
1236         * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
1237         list, to workaround performance problem (bug#4485).
1239 2009-09-20  Nick Roberts  <nickrob@snap.net.nz>
1241         * progmodes/gud.el (gud-sentinel): Revert indavertant change.
1243 2009-09-20  Daiki Ueno  <ueno@unixuser.org>
1245         * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
1246         Document that this option is not recommended to use.
1248 2009-09-19  Glenn Morris  <rgm@gnu.org>
1250         * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
1251         variable `var'.
1253         * calc/calc-alg.el (var):
1254         * calc/calcalg2.el (var): Define for compiler.
1256 2009-09-19  Chong Yidong  <cyd@stupidchicken.com>
1258         * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
1259         Doc fix (Bug#3932).
1261         * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
1263         * time-stamp.el (time-stamp-month-dd-yyyy)
1264         (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
1265         (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
1266         (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
1267         (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
1268         Remove functions that have been obsolete since 1995 (Bug#4436).
1270         * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
1271         indent buffer only if called interactively (Bug#4452).
1273 2009-09-19  Juanma Barranquero  <lekktu@gmail.com>
1274             Eli Zaretskii  <eliz@gnu.org>
1276         This fixes bug#4197 (merged to bug#865, though not identical).
1277         * server.el (server-auth-dir): Add docstring note about FAT32.
1278         (server-ensure-safe-dir): Accept FAT32 directories as "safe",
1279         but warn against using them.
1281 2009-09-19  Nick Roberts  <nickrob@snap.net.nz>
1283         * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
1284         older GDB where there is no has_more field.
1286 2009-09-19  Glenn Morris  <rgm@gnu.org>
1288         * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
1290 2009-09-18  Chong Yidong  <cyd@stupidchicken.com>
1292         * files.el (auto-mode-alist): Change default for XML files to nXML
1293         mode (Bug#4169).
1295 2009-09-18  Juanma Barranquero  <lekktu@gmail.com>
1297         * server.el (server-ensure-safe-dir): Pass 'integer
1298         to `file-attributes', as suggested.
1300 2009-09-18  Stefan Monnier  <monnier@iro.umontreal.ca>
1302         * dired-aux.el (dired-query-alist): Remove spurious backslash.
1303         (dired-query): Use read-key.
1305 2009-09-18  Adrian Robert  <Adrian.B.Robert@gmail.com>
1307         * cus-start.el (ns-use-qd-smoothing): Remove.
1309 2009-09-18  Glenn Morris  <rgm@gnu.org>
1311         * allout.el (top-level): Remove unnecessary progn.
1313         * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
1315         * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
1316         definition of abbrev table.
1318         * speedbar.el (speedbar-track-mouse):
1319         * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
1320         * net/eudc.el (eudc-expand-inline):
1321         * net/newst-backend.el (newsticker--cache-read-feed):
1322         * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
1323         condition-case handlers.
1325 2009-09-18  Nick Roberts  <nickrob@snap.net.nz>
1327         * progmodes/gdb-mi.el (gdb-frame-address): New variable.
1328         (gdb-var-list): Add an element for has_more field.
1329         (gdb-non-stop-handler): Enable pretty printing for STL containers.
1330         (gdb-var-create-handler, gdb-var-list-children-handler-1)
1331         (gdb-var-update-handler-1): Parse output of dynamic variable
1332         objects (STL containers).
1333         (gdb-var-delete-1): Pass var1 as an explicit second argument.
1334         (gdb-get-field): Delete alias.  Use bindat-get-field directly.
1336         * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
1337         gdb-var-list.
1338         (gud-speedbar-buttons): Make node expandable if expression "has more"
1339         children.
1341 2009-09-17  Juanma Barranquero  <lekktu@gmail.com>
1343         * startup.el (emacs-quick-startup): Remove variable and all uses.
1344         (command-line): Set `inhibit-x-resources' instead.
1345         (command-line-1): Use `inhibit-x-resources' instead.
1347 2009-09-17  Chong Yidong  <cyd@stupidchicken.com>
1349         * subr.el: Fix last change to avoid using the `unless' macro,
1350         which breaks bootstrapping.
1352 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1354         * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
1355         extended definitions, in case we reload subr.el after having
1356         loaded CL.
1357         (eval-next-after-load): Mark as obsolete.
1359 2009-09-17  Juri Linkov  <juri@jurta.org>
1361         * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
1362         (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
1363         (menu-bar-showhide-menu, menu-bar-tools-menu)
1364         (menu-bar-describe-menu, menu-bar-help-menu)
1365         (minibuffer-local-completion-map, minibuffer-local-map):
1366         Fix list quoting.
1368 2009-09-17  Glenn Morris  <rgm@gnu.org>
1370         * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
1371         arguments, whether or not it has a handler.
1373         * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
1375         * simple.el (hard-newline): Give it a doc-string.
1377         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1378         (lisp-mode-syntax-table): Give them doc-strings.
1380 2009-09-17  Dan Nicolaescu  <dann@ics.uci.edu>
1382         * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
1383         (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
1384         (menu-bar-options-menu, menu-bar-showhide-menu)
1385         (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1386         (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1387         (menu-bar-options-menu, menu-bar-line-wrapping-menu)
1388         (menu-bar-options-menu, menu-bar-tools-menu)
1389         (menu-bar-describe-menu, menu-bar-search-documentation-menu)
1390         (menu-bar-help-menu):
1391         (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
1392         string arguments.
1394         * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
1395         (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
1396         calls for the menu names and :help.
1398 2009-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1400         * mouse.el (minor-mode-menu-from-indicator): Pay attention
1401         to :minor-mode-function (bug#4455).
1403 2009-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1405         * startup.el (command-line): Initialize the window-system after
1406         processing the command-line.
1408         * textmodes/page.el (what-page): Make sure we don't inf-loop if
1409         page-delimiter matches the empty string.
1411 2009-09-16  Glenn Morris  <rgm@gnu.org>
1413         * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
1414         byte-compile-not-obsolete-var.  It's a list now.
1415         (byte-compile-not-obsolete-funcs): New variable.
1416         (byte-compile-warn-obsolete): Don't warn about functions if they are in
1417         byte-compile-not-obsolete-funcs.
1418         (byte-compile-variable-ref, byte-compile-defvar): Update for
1419         byte-compile-not-obsolete-vars name-change and list nature.
1420         (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
1421         and variables behind (f)boundp tests.
1422         * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
1424 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
1426         * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
1428 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1430         * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
1431         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
1432         Don't autoload.
1434 2009-09-15  Stephen Eglen  <stephen@gnu.org>
1436         * iswitchb.el (iswitchb-read-buffer): When selecting a match from
1437         the virtual-buffers, use the name of the buffer specified by
1438         find-file-noselect, as the match may be a symlink.  (This was a
1439         problem if the target and the symlink had different names.)
1441 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1443         * custom.el (custom-initialize-default, custom-initialize-set): CSE.
1445         * desktop.el (desktop-path): Check user-emacs-directory.
1447         * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
1449         * loadup.el: Use after-load-functions to GC after loading each file.
1450         Remove the explicit GC calls that used to be sprinkled around.
1452         * subr.el (after-load-functions): New hook.
1453         (do-after-load-evaluation): Run it.  Use string-match-p to detect
1454         `obsolete' packages, rather than painfully extracting the relevant
1455         directory name.
1457 2009-09-15  Glenn Morris  <rgm@gnu.org>
1459         * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
1460         free variable `doc'.
1462         * dired.el (dired-mode-map): Add menu entry for async shell command.
1464         * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
1465         variables, also consider the .elc files, since the .el files are
1466         normally gzipped (subsequent code locates the .el.gz from the .elc).
1468         * calc/calc-prog.el (arglist): Define for compiler.
1470         * calendar/diary-lib.el (diary-display-function): Change the default to
1471         fancy display.
1472         (body): Define for compiler.
1474         * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
1475         (byte-compile-file-form, byte-compile-lambda)
1476         (byte-compile-top-level-body, byte-compile-form)
1477         (byte-compile-variable-ref, byte-compile-setq)
1478         (byte-compile-setq-default, byte-compile-body)
1479         (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
1480         (batch-byte-compile): Give some more local variables with common names
1481         a "bytecomp-" prefix to avoid masking warnings about free variables.
1483         * startup.el (command-line-1): Give local variables with common names a
1484         distinguishing prefix, so as not to hide free variable warnings during
1485         bootstrap.
1487         * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
1488         clever and add a suffix to make a unique name, just let the user decide
1489         whether or not to overwrite it.  If the input is a directory, write the
1490         default filename to that directory.  (Bug#4388)
1491         (rmail-mime-bulk-handler): Ensure the save button's 'directory property
1492         is a filename-as-a-directory.
1494 2009-09-15  Stefan Monnier  <monnier@iro.umontreal.ca>
1496         * textmodes/page.el (what-page): Don't move to beginning of line.
1497         See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
1499 2009-09-15  Dan Nicolaescu  <dann@ics.uci.edu>
1501         * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
1503 2009-09-14  Dan Nicolaescu  <dann@ics.uci.edu>
1505         * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
1506         * help.el (help-for-help-internal): Add purecopy calls for text.
1508         * vc.el (top): print-log method now takes an optional SHORTLOG
1509         argument.  Add a new method: root.
1510         (vc-root-diff, vc-print-root-log): New functions.
1511         (vc-log-short-style): New variable.
1512         (vc-print-log-internal): Add support for showing short logs.
1514         * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
1515         vc-print-root-log and vc-print-root-diff.
1517         * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
1518         * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
1519         * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
1520         short logs.
1522         * vc-cvs.el (vc-cvs-print-log):
1523         * vc-mtn.el (vc-mtn-print-log):
1524         * vc-rcs.el (vc-rcs-print-log):
1525         * vc-sccs.el (vc-sccs-print-log):
1526         * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
1527         that is ignored for now.
1529         * vc-mtn.el (vc-mtn-annotate-command):
1530         * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
1532 2009-09-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1534         * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
1535         to function-key-map, and give them ascii-character property.
1536         * term/x-win.el (x-alternatives-map):
1537         * term/ns-win.el (ns-alternatives-map):
1538         * term/internal.el (msdos-key-remapping-map):
1539         * w32-fns.el (x-alternatives-map): Remove redundant mappings.
1541 2009-09-14  Glenn Morris  <rgm@gnu.org>
1543         * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
1544         temp-buffers (2009-09-12).
1546 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1548         * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
1549         the new read-key function.
1551 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
1553         * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
1554         is defined (Bug#4405).
1556 2009-09-13  Vincent Belaïche  <vincent.belaiche@gmail.com>
1558         * recentf.el (recentf-cleanup): Use a hash table to find
1559         duplicates (Bug#4407).
1561 2009-09-13  Per Starbäck  <per@starback.se>  (tiny change)
1563         * textmodes/ispell.el (ispell-command-loop): Convert keys such as
1564         kp-0 to ascii equivalents (Bug#4325).
1566 2009-09-13  Chong Yidong  <cyd@stupidchicken.com>
1568         * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
1570         * eshell/em-hist.el:
1571         * eshell/em-dirs.el (eshell-complete-user-reference):
1572         Declare pcomplete functions and variables to avoid compiler warnings.
1574 2009-09-13  Leo  <sdl.web@gmail.com>  (tiny change)
1576         * eshell/em-script.el (eshell-login-script, eshell-rc-script):
1577         * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
1578         * eshell/em-alias.el (eshell-aliases-file):
1579         * eshell/em-hist.el (eshell-history-file-name):
1580         Use expand-file-name instead of concat to make file names (Bug#4308).
1582 2009-09-13  Glenn Morris  <rgm@gnu.org>
1584         * ediff-merg.el (ediff-do-merge):
1585         * filesets.el (filesets-run-cmd):
1586         * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
1587         (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
1588         (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
1589         (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
1590         (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
1591         Replace empty `let's with `progn'.
1593 2009-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
1595         * mail/sendmail.el (send-mail-function):
1596         * tooltip.el (tooltip-mode):
1597         * simple.el (transient-mark-mode):
1598         * rfn-eshadow.el (file-name-shadow-mode):
1599         * frame.el (blink-cursor-mode):
1600         * font-core.el (global-font-lock-mode):
1601         * files.el (temporary-file-directory)
1602         (small-temporary-file-directory, auto-save-file-name-transforms):
1603         * epa-hook.el (auto-encryption-mode):
1604         * composite.el (global-auto-composition-mode):
1605         Use custom-initialize-delay.
1606         * startup.el (command-line): Don't explicitly call
1607         custom-reevaluate-setting for all the above vars.
1608         * custom.el (custom-initialize-safe-set)
1609         (custom-initialize-safe-default): Delete.
1611 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1613         * term/x-win.el (x-initialize-window-system):
1614         * term/w32-win.el (w32-initialize-window-system):
1615         * term/ns-win.el (ns-initialize-window-system): Don't call
1616         mouse-wheel-mode since it's enabled globally by default already.
1618         * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
1619         actually define the variable, but only silences the byte-compiler.
1620         (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
1621         before looking it up.
1622         (mouse-wheel-scroll-amount): Also reset the bindings if this value
1623         is changed.
1625 2009-09-12  Glenn Morris  <rgm@gnu.org>
1627         * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
1628         1000.
1629         (elint-add-required-env): Don't beep on error.
1630         (elint-forms): In case of error, return ENV unchanged.
1631         (elint-init-env): Skip non-list forms.
1632         (elint-log): Handle unknown file positions.
1634 2009-09-12  Daiki Ueno  <ueno@unixuser.org>
1636         * epg.el (epg-make-context): Add autoload cookie.
1637         (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
1638         (epg-decrypt-string, epg-start-verify, epg-verify-file)
1639         (epg-verify-string, epg-start-sign, epg-sign-file)
1640         (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
1641         (epg-encrypt-string, epg-start-export-keys)
1642         (epg-export-keys-to-file, epg-export-keys-to-string)
1643         (epg-start-import-keys, epg-import-keys-from-file)
1644         (epg-import-keys-from-string, epg-start-receive-keys)
1645         (epg-receive-keys, epg-import-keys-from-server)
1646         (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
1647         (epg-sign-keys, epg-start-generate-key)
1648         (epg-generate-key-from-file, epg-generate-key-from-string):
1649         Remove autoload cookie.
1651 2009-09-12  Eli Zaretskii  <eliz@gnu.org>
1653         * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
1654         reevaluation of trash-directory.
1656         * mwheel.el: Fix last change.
1657         (mouse-wheel-mode): New defvar.
1658         (mouse-wheel-mode): Remove autoload cookie.
1660 2009-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1662         * mwheel.el (mwheel-installed-bindings): New var.
1663         (mouse-wheel-mode): Use it, so as to make sure we really remove all
1664         the bindings we set last time.  Use custom-initialize-delay.
1665         * loadup.el: Load mwheel after term/*-win.el.
1666         * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
1667         and mouse-wheel-up-event now that their first evaluation is done
1668         sufficiently late to be correct.
1670         * startup.el (tutorial-directory): Make it a defcustom.
1671         Use custom-initialize-delay rather than eval-at-startup to set it.
1672         * image.el (image-load-path): Make it a defcustom.
1673         Use custom-initialize-delay rather than eval-at-startup to set it.
1674         * subr.el (eval-at-startup): Remove.
1675         * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
1677         * subr.el (do-after-load-evaluation): Warn the user after loading an
1678         obsolete package.
1680 2009-09-12  Glenn Morris  <rgm@gnu.org>
1682         * proced.el (proced-mark-alt): Remove alias.
1683         (proced-mode-map): Remove proced-mark-alt.
1685         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
1686         Elint file and directory.  Remove initialization entry.
1688         * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
1689         commands.
1690         (elint-current-buffer): Set mode-line-process.
1691         (elint-init-env): Handle define-derived-mode.
1692         Fix declare-function with unspecified arglist.  Guard against odd
1693         defalias statements (eg iso-insert's 8859-1-map).
1694         (elint-add-required-env): Use a temp buffer.
1695         (elint-form): Just print the function/macro name, not the whole form.
1696         Return env unchanged if we fail to parse a macro.
1697         (elint-forms): Guard against parse errors.
1698         (elint-output): New function, to handle batch mode.
1699         (elint-log-message): Add optional argument.  Use elint-output.
1700         (elint-set-mode-line): New function.
1702 2009-09-12  Andreas Politz  <politza@fh-trier.de>  (tiny change)
1704         * emacs-lisp/elp.el (elp-not-profilable): Add more
1705         functions (Bug#4233).
1707 2009-09-12  Chong Yidong  <cyd@stupidchicken.com>
1709         * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
1710         (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
1712 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
1714         * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
1715         (gdb-var-list-children): Use json parsing.
1717 2009-09-11  Daniel Colascione  <dan.colascione@gmail.com>
1719         * progmodes/js.el (js--proper-indentation): Handle the case where
1720         char-before is null.  Reported by Deniz Dogan.
1722 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
1724         * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
1726 2009-09-11  Daiki Ueno  <ueno@unixuser.org>
1728         * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
1729         (epg-digest-algorithm-alist): Add SHA224.
1730         (epg-context-set-passphrase-callback)
1731         (epg-context-set-progress-callback): Add description about
1732         callback function.
1734 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1736         * custom.el (custom-delayed-init-variables): New var.
1737         (custom-initialize-delay): New function.
1738         * startup.el (command-line): "Re"evaluate all vars in
1739         custom-delayed-init-variables.  Don't reevaluate abbrev-file-name
1740         explicitly any more.
1741         * abbrev.el (abbrev-file-name): Use custom-initialize-delay
1742         to avoid creating a ~/.emacs.d at build-time (bug#4347).
1744         * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
1746 2009-09-11  Nick Roberts  <nickrob@snap.net.nz>
1748         * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
1749         (gdb-var-update-handler): Use json parsing.
1751 2009-09-11  Juanma Barranquero  <lekktu@gmail.com>
1753         * vc-annotate.el (vc-annotate): Use the main file's coding-system to
1754         decode annotated text, regardless of language environment.  (Bug#2741)
1756 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1758         * Makefile.in (autoloads): Make rmail.el writable as well.
1760 2009-09-11  Glenn Morris  <rgm@gnu.org>
1762         * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
1763         loaddefs.el.
1764         * dired.el: Regenerate with extracted autoloads.
1765         * Makefile.in (autoloads): Make dired.el writable.
1767         * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
1768         * ibuffer.el: Regenerate with extracted autoloads.
1769         * Makefile.in (autoloads): Make ibuffer.el writable.
1771         * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
1772         * version.el (emacs-copyright, emacs-major-version)
1773         (emacs-minor-version): Reformat doc-strings for make-docfile.
1775         * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
1776         functions and variables, since they must be stuff specific to some other
1777         platform.
1778         (apropos-print): Make mouse-click message less specific about button.
1780         * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
1781         that records where a macro was defined.
1782         * help-fns.el (describe-function-1): Mention if a function has a
1783         compiler-macro.
1784         * help-mode.el (help-function-cmacro): New button.
1786         * locate.el (top-level): Always require dired.
1787         (locate-mode-map): Initialize inside the defvar.
1789         * net/ange-ftp.el (dired-compress-file): Declare.
1790         (ange-ftp-dired-compress-file): Add doc string.
1792         * term/ns-win.el (x-display-name, x-setup-function-keys):
1793         Unify doc-strings with X versions.
1795 2009-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1797         * emulation/crisp.el (crisp-mode-map): Move initialization
1798         into declaration.
1799         (crisp-mode): Use define-minor-mode.
1801         * progmodes/xscheme.el (xscheme-evaluation-commands):
1802         Put a :advertised-binding property rather than using
1803         advertised-xscheme-send-previous-expression.
1804         (advertised-xscheme-send-previous-expression): Declare obsolete.
1805         * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
1806         `advertised-undo'.
1807         (crisp-mode): Add corresponding bindings to
1808         undo's :advertised-binding instead.
1809         * dired.el (dired-mode-map): Put a :advertised-binding property rather
1810         than using dired-advertised-find-file.
1811         (dired-advertised-find-file):
1812         * simple.el (advertised-undo):
1813         * wid-edit.el (advertised-widget-backward): Declare obsolete.
1814         (widget-keymap): Put a :advertised-binding property rather
1815         than using advertised-widget-backward.
1816         * bindings.el (ctl-x-map): Put a :advertised-binding property rather
1817         than using advertised-undo.
1818         * tutorial.el (tutorial--default-keys): Adjust accordingly.
1820 2009-09-10  Simon South  <ssouth@slowcomputing.org>
1822         * progmodes/delphi.el (delphi-tab): Indent region when Transient
1823         Mark mode is enabled and region is active; otherwise indent or
1824         insert TAB as usual.
1825         (delphi-mode): Update description of TAB-key binding.
1827 2009-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1829         * subr.el (define-key-rebound-commands): Mark obsolete.
1830         * startup.el (precompute-menubar-bindings): Remove.
1831         (normal-top-level): Remove obsolete code that tried to precompute
1832         menubar bindings.
1833         * loadup.el (define-key-rebound-commands): Don't bother fiddling with
1834         define-key-rebound-commands and precompute-menubar-bindings.
1836 2009-09-10  Teodor Zlatanov  <tzz@lifelogs.com>
1838         * net/imap.el (imap-interactive-login): Better messages.
1839         (imap-open): Fix bug with renamed buffer on reconnect.
1840         (imap-authenticate): Add buffer-local imap-last-authenticator variable
1841         for easier debugging and cleaner code.  On successful (guessed based on
1842         server capabilities) secondary authentication, set imap-state
1843         correctly.
1844         (imap-last-authenticator): Define imap-last-authenticator as a variable
1845         to avoid warnings.
1847 2009-09-10  Glenn Morris  <rgm@gnu.org>
1849         * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
1851         * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
1852         (byte-compile-file-form-autoload): Don't warn about unknown functions
1853         where the autoload statement comes after the use.
1854         (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
1855         that any handlers inside the body (eg require) are in turn respected.
1857         * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
1858         effects.
1860         * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
1861         and syntax and abbrev tables basic docs, if they don't have any.
1863         * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
1865         * international/mule-cmds.el (top-level): Require cl when compiling.
1866         (view-hello-file): Use default-value rather than
1867         default-enable-multibyte-characters.
1869         * progmodes/fortran.el: Move all safe and risky properties into the
1870         defcustoms.
1872         * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
1873         * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
1874         * mail/undigest.el:
1875         Put autoloads in rmail.el rather than loaddefs.el.
1876         * mail/rmail.el: Regenerate with extracted autoloads.
1878         * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
1879         * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
1881 2009-09-10  Nick Roberts  <nickrob@snap.net.nz>
1883         Reported in thread for Bug#4375.
1884         * progmodes/gud.el (gud-tooltip-print-command): Use MI command
1885         "-data-evaluate-expression" instead of print.
1886         * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
1887         (gdb-tooltip-print): Parse output from above MI command.
1888         (gdb): Revert 2009-08-11 change.  User should detach inferior
1889         manually.
1891         Remove the word "separate" from IO functions as inferior
1892         output is now never displayed in the GUD buffer.
1894 2009-09-10  Juanma Barranquero  <lekktu@gmail.com>
1896         * startup.el (command-line-normalize-file-name): On Windows and
1897         MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
1899 2009-09-10  Juri Linkov  <juri@jurta.org>
1901         * isearch.el (isearch-text-char-description): Propertize escape
1902         character sequences with the `escape-glyph' face.  (Bug#4344)
1904         * simple.el (shell-command): Set asynchronous process filter to
1905         `comint-output-filter'.  (Bug#4343)
1907         * progmodes/grep.el (grep-template): Add "<X>" to docstring.
1908         (grep-files-aliases): Add "all".  Move "el" and "ch" to the top of
1909         the list.  Move "asm" to the bottom.
1910         (grep-find-ignored-directories): Add `choice' with nil value
1911         to empty the list easily.
1912         (grep-find-ignored-files): New option.
1913         (grep-files-history): Set to nil by default instead of '("ch" "el").
1914         (grep-compute-defaults): Add "<X>" to `grep-template'.
1915         (grep-read-files): Bind new local variables `default-alias' and
1916         `default-extension'.  Use a list of default values for the file prompt.
1917         (lgrep): Add `--exclude=' command line options composed from
1918         `grep-find-ignored-files'.
1919         (rgrep): Add `-name' command line options composed from
1920         `grep-find-ignored-files'.  (Bug#4301)
1922 2009-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1924         * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
1925         (bug#4368).
1927 2009-09-09  Katsumi Yamaoka  <yamaoka@jpl.org>
1929         * calendar/time-date.el (autoload):
1930         Expand define-obsolete-function-alias into defalias and make-obsolete
1931         for old Emacsen that Gnus supports.
1932         (with-no-warnings): Define it for old Emacsen.
1933         (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
1934         is available.
1935         (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
1936         float-time is available; suppress compile warning for time-to-seconds.
1938 2009-09-09  Teodor Zlatanov  <tzz@lifelogs.com>
1940         * net/imap.el (imap-message-map): Docstring fix.
1942 2009-09-09  Glenn Morris  <rgm@gnu.org>
1944         * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
1945         line numbers too.  (Bug#4374)
1947 2009-09-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1949         * smerge-mode.el (smerge-remove-props, smerge-refine):
1950         Use with-silent-modifications (bug#4342).
1952         * subr.el (with-silent-modifications): New macro.
1954 2009-09-07  Juanma Barranquero  <lekktu@gmail.com>
1956         * files.el (top-level): Require `cl' when compiling.
1958 2009-09-07  Glenn Morris  <rgm@gnu.org>
1960         * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
1962         * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
1963         (proced-mark-alt): New alias, to control the advertised key.  (Bug#4362)
1965 2009-09-06  Nick Roberts  <nickrob@snap.net.nz>
1967         * vc-git.el (vc-git-annotate-command): Use separator to parse
1968         arguments correctly.
1970 2009-09-06  Eli Zaretskii  <eliz@gnu.org>
1972         * proced.el (proced-mode): Doc fix.
1974 2009-09-06  Julian Scheid  <julians37@gmail.com>  (tiny change)
1976         * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
1977         lstat fails.
1978         (tramp-do-file-attributes-with-ls): Check for file existence at
1979         remote end.
1980         (tramp-do-file-attributes-with-stat): Likewise.
1981         (tramp-convert-file-attributes): Return nil when attr is nil.
1983 2009-09-05  Glenn Morris  <rgm@gnu.org>
1985         * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
1986         properties to this button.
1987         (diary-fancy-display): Don't extend the button to the final newline.
1988         (diary-fancy-display-mode): Continue to define "q" as a local key.
1990         * calendar/cal-china.el (holiday-chinese): Make it slightly more
1991         efficient.
1993         * font-lock.el (lisp-font-lock-keywords-2): Add letf.
1995         * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
1996         (byte-compile-dest-file-function): New option.
1997         (byte-compile-dest-file): Doc fix.
1998         Obey byte-compile-dest-file-function.
1999         (byte-compile-cl-file-p): New function.
2000         (byte-compile-eval): Only suppress noruntime warnings about cl functions
2001         if the cl-functions warning is enabled.  Use byte-compile-cl-file-p.
2002         (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
2003         than for file being previously loaded.
2004         (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
2005         (byte-compile-file-form-require): Handle the case where requiring a file
2006         indirectly causes CL to be loaded.
2008 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
2010         * files.el (find-alternate-file): Run `kill-buffer-hook' manually
2011         before killing the old buffer, since by the time `kill-buffer' is
2012         run so many buffer variables have been set to nil that it may not
2013         behave as expected.  (Bug#4061)
2015 2009-09-05  Karl Fogel  <kfogel@red-bean.com>
2017         * files.el (find-alternate-file): If the old buffer is modified
2018         and visiting a file, behave similarly to `kill-buffer' when
2019         killing it, thus reverting to the pre-1.878 behavior; see
2020         http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
2021         for discussion.  Also, consult `buffer-file-name' as a variable
2022         not as a function, for consistency with the rest of the code.
2024 2009-09-04  Michael Albinus  <michael.albinus@gmx.de>
2026         * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
2027         also when adding a new directory.
2029         * net/tramp-compat.el (tramp-compat-line-beginning-position): New
2030         defun.
2032 2009-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2034         * files.el (locate-file-completion-table): Make it provide boundary
2035         information, so partial-completion works better.
2037 2009-09-04  Leo  <sdl.web@gmail.com>  (tiny change)
2039         * mail/footnote.el (Footnote-text-under-cursor):
2040         Check footnote-text-marker-alist before using it (bug#4324).
2042 2009-09-04  Glenn Morris  <rgm@gnu.org>
2044         * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
2045         * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
2046         * play/solitaire.el, play/tetris.el:
2047         Remove leading * from defcustom and defface docs.
2049         * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
2050         necessary.
2051         (diary-fancy-overriding-map): New variable.
2052         (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
2053         Use view-mode.
2055         * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
2056         goto-line.
2058 2009-09-03  Glenn Morris  <rgm@gnu.org>
2060         * arc-mode.el (archive-mode):
2061         * dos-fns.el (set-default-process-coding-system):
2062         * man.el (Man-getpage-in-background):
2063         * menu-bar.el (menu-bar-describe-menu):
2064         * server.el (server-process-filter):
2065         * startup.el (command-line):
2066         * tar-mode.el (tar-header-block-tokenize, tar-extract):
2067         * w32-fns.el (set-default-process-coding-system):
2068         * x-dnd.el (x-dnd-handle-file-name):
2069         * international/mule-cmds.el (mule-menu-keymap)
2070         (set-default-coding-systems, language-info-alist, set-language-info)
2071         (set-language-environment, standard-display-european-internal)
2072         (set-locale-environment):
2073         * international/mule-diag.el (mule-diag):
2074         * mail/emacsbug.el (report-emacs-bug):
2075         * mail/rmail.el (rmail-mode):
2076         * mail/sendmail.el (mail-setup):
2077         Use default-value rather than default-enable-multibyte-characters.
2079         * progmodes/f90.el: Move all safe properties into the defcustoms.
2080         (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
2082         * calendar/appt.el (appt-check):
2083         * calendar/diary-lib.el (diary-set-header, diary-live-p)
2084         (diary-check-diary-file, diary-list-entries)
2085         (diary-include-other-diary-files, diary-simple-display)
2086         (diary-fancy-display, diary-print-entries)
2087         (diary-mark-included-diary-files, diary-make-entry):
2088         Don't call substitute-in-file-name on diary-file.
2090 2009-09-03  Eduard Wiebe  <usenet@pusto.de>
2091             Stefan Monnier  <monnier@iro.umontreal.ca>
2093         * mail/footnote.el (footnote-prefix): Make it a defcustom.
2094         (footnote-mode-map): Move initialization into the declaration.
2095         (footnote-minor-mode-map): Define it rather than changing global-map.
2096         (footnote-mode): Use define-minor-mode.
2098 2009-09-02  Michael Albinus  <michael.albinus@gmx.de>
2100         * net/tramp.el (tramp-handle-file-attributes-with-ls)
2101         (tramp-do-file-attributes-with-perl)
2102         (tramp-do-file-attributes-with-stat): Rename from
2103         `tramp-handle-file-attributes-with-*'.
2104         (tramp-handle-file-attributes): Use them.
2105         (tramp-do-directory-files-and-attributes-with-perl)
2106         (tramp-do-directory-files-and-attributes-with-stat): Rename from
2107         `tramp-handle-directory-files-and-attributes-with-*'.
2108         (tramp-handle-directory-files-and-attributes): Use them.
2109         (tramp-method-out-of-band-p): Additional parameter SIZE.
2110         (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
2111         (tramp-handle-write-region): Use it.
2112         (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
2113         (tramp-handle-vc-registered): Check, whether the first run did
2114         return files to be tested.
2115         (tramp-advice-make-auto-save-file-name): Do not call directly
2116         `tramp-handle-make-auto-save-file-name', because this would bypass
2117         the locking mechanism.
2119         * net/tramp-compat.el (top): Autoload used functions from tramp.el.
2120         (file-remote-p, process-file, start-file-process, set-file-times)
2121         (tramp-compat-file-attributes): Compatibility functions shall not
2122         call directly `tramp-handle-*', because this would bypass the
2123         locking mechanism.
2124         (tramp-compat-number-sequence): New defun.
2126 2009-09-02  Glenn Morris  <rgm@gnu.org>
2128         * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
2129         alias for float-time.
2130         (time-to-number-of-days): In Emacs, use float-time.
2131         * net/newst-backend.el (time-add): Suppress warnings from compat
2132         function.
2133         * time.el (emacs-uptime, emacs-init-time):
2134         * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
2135         Use float-time rather than time-to-seconds.
2137         * minibuffer.el (completion-initials-expand): Fix typo.
2139         * faces.el (modeline, modeline-inactive, modeline-highlight)
2140         (modeline-buffer-id):
2141         * info.el (info-menu-5): Mark these face aliases as obsolete.
2143 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
2145         * progmodes/gdb-mi.el (gdb-current-context-command): Move the
2146         space ...
2147         (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
2148         no "--thread" option.
2149         (gdb-stopped): Don't print "Switched to thread" message when it is
2150         unchanged.
2152 2009-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2154         * minibuffer.el (completion-try-completion)
2155         (completion-all-completions): Remove ill-defined (and
2156         mistakenly installed and luckily never used nor documented)
2157         `completion-styles' property.
2158         (completion-initials-expand, completion-initials-all-completions)
2159         (completion-initials-try-completion): New functions.
2160         (completion-styles-alist): Add doc to each entry.
2161         Add new `initials' entry.
2163 2009-09-01  Nick Roberts  <nickrob@snap.net.nz>
2165         * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
2166         MI command -var-evaluate-expression.
2167         (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
2168         and tweak for case of string child.
2169         (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
2171 2009-09-01  Glenn Morris  <rgm@gnu.org>
2173         * add-log.el (change-log-date-face, change-log-name-face)
2174         (change-log-email-face, change-log-file-face, change-log-list-face)
2175         (change-log-conditionals-face, change-log-function-face)
2176         (change-log-acknowledgement-face):
2177         * cus-edit.el (custom-invalid-face, custom-rogue-face)
2178         (custom-modified-face, custom-set-face, custom-changed-face)
2179         (custom-saved-face, custom-button-face, custom-button-pressed-face)
2180         (custom-documentation-face, custom-state-face, custom-comment-face)
2181         (custom-comment-tag-face, custom-variable-tag-face)
2182         (custom-variable-button-face, custom-face-tag-face)
2183         (custom-group-tag-face-1, custom-group-tag-face):
2184         * diff-mode.el (diff-header-face, diff-file-header-face)
2185         (diff-index-face, diff-hunk-header-face, diff-removed-face)
2186         (diff-added-face, diff-changed-face, diff-function-face)
2187         (diff-context-face, diff-nonexistent-face):
2188         * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
2189         * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
2190         * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
2191         (Info-title-4-face):
2192         * isearch.el (isearch-lazy-highlight-face):
2193         * log-view.el (log-view-file-face, log-view-message-face):
2194         * paren.el (show-paren-match-face, show-paren-mismatch-face):
2195         * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
2196         (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
2197         (cvs-msg-face):
2198         * smerge-mode.el (smerge-mine-face, smerge-other-face)
2199         (smerge-base-face, smerge-markers-face):
2200         * wid-edit.el (widget-documentation-face, widget-button-face)
2201         (widget-field-face, widget-single-line-field-face)
2202         (widget-inactive-face, widget-button-pressed-face):
2203         * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
2204         (woman-addition-face):
2205         * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
2206         (eshell-ls-executable-face, eshell-ls-readonly-face)
2207         (eshell-ls-unreadable-face, eshell-ls-special-face)
2208         (eshell-ls-missing-face, eshell-ls-archive-face)
2209         (eshell-ls-backup-face, eshell-ls-product-face)
2210         (eshell-ls-clutter-face):
2211         * eshell/em-prompt.el (eshell-prompt-face):
2212         * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
2213         * obsolete/old-whitespace.el (whitespace-highlight-face):
2214         * progmodes/antlr-mode.el (antlr-font-lock-default-face)
2215         (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
2216         (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
2217         (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
2218         (antlr-font-lock-literal-face):
2219         * progmodes/ebrowse.el (ebrowse-tree-mark-face)
2220         (ebrowse-root-class-face, ebrowse-file-name-face)
2221         (ebrowse-default-face, ebrowse-member-attribute-face)
2222         (ebrowse-member-class-face, ebrowse-progress-face):
2223         * progmodes/make-mode.el (makefile-space-face):
2224         * progmodes/sh-script.el (sh-heredoc-face):
2225         * textmodes/flyspell.el (flyspell-incorrect-face)
2226         (flyspell-duplicate-face):
2227         * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
2228         * textmodes/texinfo.el (texinfo-heading-face):
2229         Mark face aliases with "-face" suffix as obsolete.
2231         * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
2232         compiler.
2234         * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
2235         (eudc-bob-sound-menu): Use defvar rather than defconst, since
2236         easy-menu-define wants to modify these.
2238         * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
2240         * net/browse-url.el (browse-url-file-url):
2241         * term/internal.el (dos-codepage-setup):
2242         Use default-value rather than default-enable-multibyte-characters.
2244         * progmodes/etags.el (etags-goto-tag-location):
2245         * progmodes/flymake.el (flymake-highlight-line)
2246         (flymake-goto-file-and-line, flymake-goto-line):
2247         * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
2248         (gdb-goto-breakpoint):
2249         * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
2250         * progmodes/python.el (python-find-function)
2251         (python-pdbtrack-track-stack-file):
2252         * progmodes/verilog-mode.el (verilog-surelint-off):
2253         * term/ns-win.el (ns-open-file-select-line):
2254         * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
2255         Use forward-line rather than goto-line.
2257         * textmodes/reftex-cite.el (reftex-offer-bib-menu):
2258         * textmodes/reftex-index.el (reftex-display-index):
2259         * textmodes/reftex-ref.el (reftex-offer-label-menu):
2260         * textmodes/reftex-toc.el (reftex-toc):
2261         Remove unnecessary bindings of default-major-mode (all are followed by
2262         major-mode check and possible mode switch).
2264 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
2266         * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
2267         Handle watchpoints (bug#4282).
2268         (def-gdb-thread-buffer-command): Enable thread to be selected by
2269         clicking without selecting threads buffer first.
2270         (gdb-current-context-command): Use selected frame so that "up",
2271         "down" etc work in the GUD buffer.
2272         (gdb-update): Find selected frame before rendering stack buffer.
2273         (gdb-frame-handler): Set gdb-frame-number for stack buffer.
2275 2009-08-31  Stefan Monnier  <monnier@iro.umontreal.ca>
2277         * progmodes/sym-comp.el (displayed-completions): Remove.
2278         (symbol-complete): Use minibuffer-complete.
2280 2009-08-31  Glenn Morris  <rgm@gnu.org>
2282         * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
2284         * apropos.el (apropos-symbols-internal):
2285         Handle (obsolete) face aliases.
2287         * faces.el (describe-face): Adjust the output format to be more like
2288         describe-variable, and to mention (obsolete) face aliases.
2289         Adjust the whitespace so that help-setup-xref works.
2291         * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
2292         * calendar/diary-lib.el (diary-button-face):
2293         Mark these face aliases as obsolete.
2295         * calendar/calendar.el (calendar-today): Doc fix.
2297 2009-08-31  Nick Roberts  <nickrob@snap.net.nz>
2299         * progmodes/gdb-mi.el (gdb-control-all-threads)
2300         (gdb-control-current-thread): Force tool bar update.
2301         (gdb-non-stop-handler): New function.
2302         (gdb-init-1): Use it to test if non-stop mode is supported.
2303         Remove unused gdbmi buffer type.
2305 2009-08-30  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
2307         * progmodes/grep.el (grep-read-files): Strip trailing <N> from
2308         buffer names not visiting a file (e.g. cloned buffers).  (Bug#4210)
2310 2009-08-30  Nick Roberts  <nickrob@snap.net.nz>
2312         * comint.el (comint-exec-1): Check command is non-null first.
2313         Part of gdb-mi.el change (2009-08-28).
2315 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2317         * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
2319 2009-08-30  Juanma Barranquero  <lekktu@gmail.com>
2321         * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
2322         instead of `dolist' to avoid a recursive require when bootstrapping.
2324 2009-08-30  Stefan Monnier  <monnier@iro.umontreal.ca>
2326         * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
2328         * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
2330         * net/imap.el (imap-send-command): Simplify.
2331         (imap-wait-for-tag): point-max -> buffer-size.
2333         * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
2335         * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
2336         with constant argument.
2338         * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
2340         * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
2342         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
2343         Change default, since most of our files don't have a history.
2344         (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
2345         the user.
2347         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2348         Add comint-run.
2350         * calc/calc.el: Improve commenting convention.
2351         (calc-digit-map, toplevel): Simplify.
2353         * comint.el (comint-insert-input): Be careful to only set point if we
2354         don't delegate to some other command.
2356         * proced.el (proced-signal-list): Make it an alist.
2357         (proced-grammar-alist): Capitalize names.
2358         (proced-send-signal): Use a non-hidden buffer (since it's displayed).
2359         Disable undo manually and make it read-only.
2360         Use completion-annotate-function.
2362         * minibuffer.el (minibuffer-message): If the current buffer is not
2363         a minibuffer, insert the message in the echo area rather than at the
2364         end of the buffer.
2365         (completion-annotate-function): New variable.
2366         (minibuffer-completion-help): Use it.
2367         (completion--embedded-envvar-table): Environment vars are
2368         always case-sensitive.
2370 2009-08-30  Glenn Morris  <rgm@gnu.org>
2372         * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
2373         from fortran-current-defun.
2374         (fortran-beginning-of-subprogram): Be more precise about finding the
2375         start, to avoid an infinite loop in end-of-defun.  (Bug#4259)
2376         (fortran-end-of-subprogram): Simplify.
2377         (fortran-current-defun): Use fortran-start-prog-re.
2379 2009-08-29  Juanma Barranquero  <lekktu@gmail.com>
2381         * subr.el (do-after-load-evaluation): Simplify.
2383 2009-08-29  Dan Nicolaescu  <dann@ics.uci.edu>
2385         * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
2387         * vc-rcs.el (vc-rcs-print-log-cleanup): ... here.  New function.
2388         (vc-rcs-print-log): Use it.
2390         * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
2392 2009-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2394         * paths.el (abbrev-file-name): Move to abbrev.el.
2395         * abbrev.el (abbrev-file-name): Move from paths.el.
2396         Obey user-emacs-directory.
2397         * calc/calc.el (calc-settings-file): Don't autoload and instead obey
2398         user-emacs-directory.
2399         * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
2400         abbrev-file-name and calc-settings-file any more.
2401         * startup.el (command-line): Recompute abbrev-file-name and
2402         abbreviated-home-dir.
2403         (normal-no-mouse-startup-screen): Improve the generic code and get rid
2404         of the special code for when C-h bindings haven't been changed.
2405         (display-startup-echo-area-message): Use with-current-buffer.
2406         (command-line-1): Use a list of strings, rather than a list of lists
2407         of strings for longopts.
2409         * files.el (get-free-disk-space): Use / for default-directory.
2411         * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
2412         Use with-current-buffer.
2414         * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
2415         Recognize immutable variables like most-positive-fixnum.
2416         (byte-compile-setq-default): Check and warn if trying to assign
2417         to an immutable variable, or a non-variable.
2419         * progmodes/cc-vars.el (c-comment-continuation-stars):
2420         * progmodes/cc-engine.el (c-looking-at-bos):
2421         * progmodes/cc-cmds.el (c-toggle-auto-state)
2422         (c-forward-into-nomenclature, c-backward-into-nomenclature)
2423         (c-comment-line-break-function): Add version of obsolescence.
2425 2009-08-28  Juri Linkov  <juri@jurta.org>
2427         * files.el (magic-fallback-mode-alist): Add ZIP magic number
2428         associated with `archive-mode'.
2430         * image.el (image-type-header-regexps): Use only JPEG magic number
2431         to determine JPEG images, and don't use `image-jpeg-p' because
2432         Emacs can display non-JFIF non-Exif JPEG images.
2434 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
2436         * arc-mode.el (archive-mode):
2437         * emacs-lisp/re-builder.el (re-builder-unload-function):
2438         Protect against the default value of `major-mode' being nil.
2440 2009-08-28  Juanma Barranquero  <lekktu@gmail.com>
2442         * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
2443         Fix typos in docstrings.
2445         * progmodes/js.el (js--macro-decl-re): Doc fix.
2446         (js--plain-method-re, js--split-name): Refloc docstring.
2447         (js--class-styles, js--make-merged-item, js--splice-into-items):
2448         Fix typos in docstrings; reflow docstrings.
2449         (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
2450         (js--variable-decl-matcher, js--inside-pitem-p)
2451         (js--parse-state-at-point, js--get-all-known-symbols)
2452         (js--symbol-history, js-find-symbol, js--js-references)
2453         (js--moz-interactor, js--js-encode-value, js--read-tab):
2454         Fix typos in docstrings.
2456 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2458         * textmodes/reftex.el (reftex-get-file-buffer-force):
2459         * progmodes/verilog-mode.el (verilog-batch-execute-func):
2460         * emulation/viper.el (viper-go-away, viper-set-hooks):
2461         * emacs-lisp/re-builder.el (re-builder-unload-function):
2462         * emacs-lisp/bytecomp.el (byte-compile-file):
2463         * ses.el (ses-unload-function):
2464         * hexl.el (hexl-find-file):
2465         * files.el (normal-mode):
2466         * ehelp.el (with-electric-help):
2467         * autoinsert.el (auto-insert-alist):
2468         * arc-mode.el (archive-mode):
2469         Use (default-value 'major-mode) instead of default-major-mode.
2471         * textmodes/ispell.el (ispell-check-version, ispell-send-string):
2472         * international/mule.el (load-with-code-conversion):
2473         * emacs-lisp/debug.el (debug):
2474         * ediff-vers.el (ediff-rcs-get-output-buffer):
2475         * dired.el (dired-internal-noselect): Don't let-bind
2476         default-major-mode around code that doesn't use it.
2477         E.g. buffer creation via get-buffer-create doesn't use it.
2479 2009-08-28  Michael Albinus  <michael.albinus@gmx.de>
2481         * net/tramp.el (all): Replace "'(lambda" by "(lambda".
2482         (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
2483         when writing the temp file.  Otherwise, epa-file gets confused.
2484         (tramp-register-file-name-handlers): Make it a defun.  Move also
2485         `epa-file-handler' to the front of `file-name-handler-alist'.
2487 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2489         * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
2490         start right after a ^M.
2491         (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
2492         (tramp-completion-file-name-regexp-separate)
2493         (tramp-completion-file-name-regexp-url): Use \\` and \\'.
2494         (tramp-handle-file-attributes, tramp-set-file-uid-gid):
2495         Don't modify last-coding-system-used by accident.
2496         (tramp-completion-file-name-handler): Apply the checks here,
2497         instead during registration.
2498         (tramp-register-file-name-handlers) Renamed from
2499         `tramp-register-file-name-handler'.  Register both
2500         `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
2501         (tramp-register-completion-file-name-handler): Remove.  (Bug#4260)
2503 2009-08-28  Nick Roberts  <nickrob@snap.net.nz>
2505         * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
2506         Remove variable ...
2507         (gdb-init-1, gdb-display-separate-io-buffer)
2508         (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
2509         references to it.
2510         (gdb-inferior-io-mode): Use make-comint-in-buffer.
2511         (gdb-inferior-filter): Use comint-output-filter to stop
2512         echoing and remove ^M characters.
2514 2009-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2516         * emulation/viper-init.el (viper-restore-cursor-type):
2517         * emulation/cua-base.el (cua--update-indications):
2518         Replace default-cursor-type with (default-value 'cursor-type).
2520         * mail/sendmail.el (mail-recover-1):
2521         * international/mule-diag.el (describe-current-coding-system-briefly)
2522         (describe-current-coding-system):
2523         * international/mule-cmds.el (select-safe-coding-system)
2524         (select-message-coding-system)
2525         (set-language-environment-coding-systems, set-locale-environment):
2526         * hexl.el (hexl-insert-multibyte-char):
2527         * dos-w32.el (find-buffer-file-type-coding-system):
2528         * simple.el (what-cursor-position):
2529         Replace uses of default-buffer-file-coding-system
2530         with (default-value 'buffer-file-coding-system).
2532         * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
2533         Replace uses of default-cursor-in-non-selected-windows
2534         with (default-value 'cursor-in-non-selected-windows).
2535         Use with-current-buffer.
2537         * mail/feedmail.el: Use CL macros.
2538         (feedmail-run-the-queue, feedmail-send-it-immediately):
2539         * dos-w32.el (find-buffer-file-type): Replace uses of
2540         default-buffer-file-type with (default-value 'buffer-file-type).
2542 2009-08-28  Glenn Morris  <rgm@gnu.org>
2544         * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
2545         (diary-show-all-entries, diary-mark-entries, diary-make-entry):
2546         Use default-value of major-mode rather than default-major-mode.
2548 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2550         * Makefile.in (update-elcfiles): Report left over elc files.
2552         * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
2553         expand-file-name and with-current-buffer.
2554         (mail-get-names, mail-directory): Use with-current-buffer.
2556         * vc.el (vc-read-revision): New function.
2557         (vc-version-diff, vc-merge): Use it.
2559 2009-08-27  Sam Steingold  <sds@gnu.org>
2561         * simple.el (kill-do-not-save-duplicates): New user option.
2562         (kill-new): When it is non-nil, and the new string is the same as
2563         the latest kill, set replace to t to avoid duplicates in kill-ring.
2565 2009-08-27  Julian Scheid  <julians37@gmail.com>  (tiny change)
2567         * net/tramp.el (tramp-handle-process-file): Do not flush all
2568         caches when `process-file-side-effects' is set.
2569         (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
2570         instead of `tramp-find-file-exists-command'.
2571         Unset `process-file-side-effects'.
2573 2009-08-27  Michael Albinus  <michael.albinus@gmx.de>
2575         * net/tramp.el (tramp-methods): New method "rsyncc".
2576         (top): Add completion function for "rsyncc".
2577         (tramp-message-show-message): New defvar.
2578         (tramp-message, tramp-error): Use it.
2579         (tramp-do-copy-or-rename-file-directly): Extend check for direct
2580         remote copying.
2581         (tramp-do-copy-or-rename-file-out-of-band): Handle new
2582         `tramp-methods' entry `copy-env' of "rsyncc".
2583         (tramp-vc-registered-read-file-names): New defconst.
2584         (tramp-vc-registered-file-names): New defvar.
2585         (tramp-handle-vc-registered): Implement optimization strategy.
2586         (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
2587         (tramp-vc-file-name-handler): New defun.
2588         (tramp-get-ls-command, tramp-get-test-command)
2589         (tramp-get-file-exists-command, tramp-get-remote-ln)
2590         (tramp-get-remote-perl, tramp-get-remote-stat)
2591         (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
2593         * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
2594         (tramp-cache-inhibit-cache): Extend doc string.  It allows also
2595         timestamps.
2596         (tramp-get-file-property): Check for timestamps in
2597         `tramp-cache-inhibit-cache'.
2598         (tramp-set-file-property): Write timestamp.
2600 2009-08-27  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
2602         * language/japan-util.el (japanese-symbol-table): Add entries for
2603         cp932-2-byte.
2605         * international/characters.el: Add category `j' to cp932-2-byte.
2607 2009-08-27  Kenichi Handa  <handa@m17n.org>
2609         * international/fontset.el (build-default-fontset-data): New macro.
2610         (setup-default-fontset): Use build-default-fontset-data for CJK,
2611         tibetan, ethiopic, and ipa.
2613 2009-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2615         * cus-start.el (default-major-mode): Customize `major-mode' instead.
2616         (enable-multibyte-characters): Not customizable any more.
2618         * subr.el (default-mode-line-format, default-header-line-format)
2619         (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
2620         (default-direction-reversed, default-truncate-lines)
2621         (default-left-margin, default-tab-width, default-case-fold-search)
2622         (default-left-margin-width, default-right-margin-width)
2623         (default-left-fringe-width, default-right-fringe-width)
2624         (default-fringes-outside-margins, default-scroll-bar-width)
2625         (default-vertical-scroll-bar, default-indicate-empty-lines)
2626         (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
2627         (default-fringe-cursor-alist, default-scroll-up-aggressively)
2628         (default-scroll-down-aggressively, default-fill-column)
2629         (default-cursor-type, default-buffer-file-type)
2630         (default-cursor-in-non-selected-windows)
2631         (default-buffer-file-coding-system, default-major-mode)
2632         (default-enable-multibyte-characters): Mark as obsolete.
2634 2009-08-27  Dan Nicolaescu  <dann@ics.uci.edu>
2636         * vc-dir.el (vc-dir-update): Remove debug helper.
2638         * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
2640 2009-08-26  Sam Steingold  <sds@gnu.org>
2642         * simple.el (save-interprogram-paste-before-kill): New user option.
2643         (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
2644         save the interprogram-paste into kill-ring before overriding it
2645         with the Emacs kill.
2647 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
2649         * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
2650         (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
2651         (vc-default-previous-revision): Rename to vc-rcs-previous-revision
2652         and move to vc-rcs.el.
2653         (vc-default-next-revision): Rename to vc-rcs-next-revision and
2654         move to vc-rcs.el.
2655         (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
2656         (vc-rcs-update-changelog): Remove.
2657         (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
2658         and move to vc-rcs.el.
2660         * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
2661         (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
2662         renaming.
2663         (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
2664         (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
2665         vc.el, renamed to be RCS specific.
2667         * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
2668         New functions.
2669         (vc-cvs-update-changelog): Move here from vc.el.
2671         * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
2672         New functions.
2674 2009-08-26  Stefan Monnier  <monnier@iro.umontreal.ca>
2676         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
2678 2009-08-26  Dan Nicolaescu  <dann@ics.uci.edu>
2680         * vc-git.el (vc-git-register): Use "git add" for directories.
2681         (vc-git-stash, vc-git-stash-show): New functions.
2682         (vc-git-extra-menu-map): Bind them.
2684         * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
2685         directory correctly in case the item is a directory itself.
2687         * vc.el: Document the desired behavior for reverted files in the
2688         `added' state.
2689         (vc-default-prettify-state-info): Remove function, unused.
2691         * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
2693 2009-08-26  Glenn Morris  <rgm@gnu.org>
2695         * bindings.el (standard-mode-line-format): Reposition dashes in
2696         which-func entry.  (Bug#4217)
2698         * files.el (enable-local-variables, enable-local-eval)
2699         (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
2700         the defcustoms.
2701         (auto-mode-alist, ignored-local-variables)
2702         (save-some-buffers-action-alist): Move risky declarations to the
2703         definitions.
2704         (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
2705         (font-lock-defaults, format-alist, imenu--index-alist)
2706         (imenu-generic-expression, input-method-alist, minor-mode-alist)
2707         (mode-line-buffer-identification, mode-line-client, mode-line-modes)
2708         (mode-line-modified, mode-line-mule-info, mode-line-position)
2709         (mode-line-process, mode-line-remote, outline-level)
2710         (parse-time-rules, rmail-output-file-alist)
2711         (special-display-buffer-names, vc-mode):
2712         Move risky declarations to the relevant files.
2713         * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
2714         (mode-line-modified, mode-line-process, mode-line-position)
2715         (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
2716         * font-core.el (font-lock-defaults):
2717         * format.el (format-alist):
2718         * vc-hooks.el (vc-mode):
2719         * window.el (special-display-buffer-names):
2720         * international/mule-cmds.el (input-method-alist):
2721         Define riskiness here (dumped file) rather than in files.el.
2722         * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
2723         * imenu.el (imenu-generic-expression, imenu--index-alist):
2724         * outline.el (outline-level):
2725         * time.el (display-time-string):
2726         * calendar/parse-time.el (parse-time-rules):
2727         * mail/rmailout.el (rmail-output-file-alist):
2728         Autoload riskiness here, rather than placing in files.el.
2730 2009-08-26  Andreas Schwab  <schwab@linux-m68k.org>
2732         * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
2734 2009-08-25  Michael Albinus  <michael.albinus@gmx.de>
2736         * simple.el (process-file-side-effects): New defvar.
2738         * dired-aux.el (dired-show-file-type):
2739         * vc.el (vc-diff-internal):
2740         * vc-arch.el (vc-arch-diff):
2741         * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
2742         * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
2743         * vc-git.el (vc-git-registered, vc-git-working-revision)
2744         (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
2745         (vc-git--empty-db-p):
2746         * vc-hooks.el (vc-user-login-name):
2747         * vc-svn.el (vc-svn-registered, vc-svn-state)
2748         (vc-svn-dir-extra-headers, vc-svn-find-revision):
2749         * progmodes/grep.el (grep-probe): Let-bind
2750         `process-file-side-effects' with nil.
2752         * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
2754         * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
2755         daemon.  Replace ping by checking for running service for bluez
2756         and zeroconf.  (Bug#4239)
2758 2009-08-25  Kevin Ryde  <user42@zip.com.au>
2760         * net/dig.el (dig): Add autoload cookie.
2762 2009-08-25  Glenn Morris  <rgm@gnu.org>
2764         * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
2765         load-history for absolute file-names.
2766         (byte-compile-file-form-require): Warn about use of the cl package.
2768         * format.el (format-alist): Doc fix.
2770         * play/bubbles.el (top-level): Don't require cl at run-time.
2772         * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
2773         run-time cl).
2775 2009-08-24  Dmitry Dzhus  <dima@sphinx.net.ru>
2777         * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
2778         from cl package.
2779         (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
2781 2009-08-24  Jay Belanger  <jay.p.belanger@gmail.com>
2783         * calc/calc-alg.el (math-trig-rewrite)
2784         (math-hyperbolic-trig-rewrite): New functions.
2785         (calc-simplify): Simplify trig functions when asked.
2787 2009-08-24  Stefan Monnier  <monnier@iro.umontreal.ca>
2789         * diff-mode.el (diff-find-source-location): Avoid goto-line.
2791 2009-08-24  Kenichi Handa  <handa@m17n.org>
2793         * language/ind-util.el (mapthread): Delete it.
2794         (combinatorial): New function.
2795         (indian--puthash-cv): Use combinatorial instead of mapthread.
2797 2009-08-22  Kevin Ryde  <user42@zip.com.au>
2799         * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
2800         (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
2801         (checkdoc-symbol-words): Add safe-local-variable for list of strings.
2802         Clarify docstring that the value is strings not symbols.
2803         (checkdoc-list-of-strings-p): New function.
2805 2009-08-22  Glenn Morris  <rgm@gnu.org>
2807         * files.el (auto-mode-alist):
2808         * hippie-exp.el (he-concat-directory-file-name):
2809         * lpr.el (lpr-windows-system, printer-name):
2810         * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
2811         * ps-print.el (ps-windows-system):
2812         * startup.el (command-line):
2813         * emulation/viper-ex.el (viper-glob-function):
2814         * international/mule-cmds.el (set-language-environment-coding-systems):
2815         * net/ange-ftp.el (ange-ftp-write-region):
2816         * obsolete/fast-lock.el (fast-lock-cache-name):
2817         Remove code for defunct system-types emx, macos, mswindows, next-mach,
2818         unisoft-unix, vax-vms, win32, w32.
2820         * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
2821         given name if the pattern is not more specific.
2823         * calendar/lunar.el (lunar-phase-names): New option.
2824         (lunar-phase): Doc fix.
2825         (lunar-cycles-per-year): New constant.
2826         (lunar-index): New function.
2827         (lunar-phase-list, diary-lunar-phases): Use lunar-index.
2828         (lunar-phase-name): Use lunar-phase-names.
2829         (calendar-lunar-phases): Use format.
2830         (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
2832         * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
2833         Copy imenu-example--name-and-position function here for own use.
2834         (cperl-xsub-scan): Use cperl-imenu-name-and-position.
2836         * bs.el (bs--redisplay):
2837         * cus-edit.el (custom-redraw):
2838         * ibuffer.el (ibuffer-bury-buffer):
2839         * server.el (server-goto-line-column):
2840         * startup.el (command-line-1):
2841         * strokes.el (strokes-xpm-for-stroke):
2842         * term.el (term-display-buffer-line):
2843         * view.el (View-goto-line):
2844         * calc/calc.el (calc-do, calc-trail-buffer):
2845         * play/gamegrid.el (gamegrid-add-score-insecure):
2846         * progmodes/ada-mode.el (ada-compile-goto-error):
2847         * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
2848         (ebrowse-select-1st-to-9nth):
2849         * progmodes/cperl-mode.el (cperl-time-fontification):
2850         * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
2851         * progmodes/gud.el (gud-display-line):
2852         (idlwave-shell-display-line):
2853         * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
2854         * progmodes/make-mode.el (makefile-browser-toggle):
2855         (vhdl-speedbar-port-copy, vhdl-compose-components-package):
2856         * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
2857         * textmodes/picture.el (picture-draw-rectangle):
2858         * textmodes/reftex-index.el (reftex-index-goto-letter):
2859         (reftex-select-jump-to-previous):
2860         * textmodes/reftex-sel.el (reftex-find-start-point)
2861         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
2862         (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
2863         * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
2864         * textmodes/tex-mode.el (tex-compilation-parse-errors):
2865         * textmodes/two-column.el (2C-associated-buffer):
2866         Use forward-line rather than goto-line.
2868         * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
2869         goto-line.
2871         * international/ucs-normalize.el (nfd, decomposition-translation-alist)
2872         (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
2873         (quick-check-list-to-regexp): Declare.
2875         * progmodes/make-mode.el (makefile-browser-insert-selection):
2876         Use goto-char rather than goto-line.
2878         * progmodes/prolog.el (compilation-error-regexp-alist)
2879         (compilation-forget-errors): Declare.
2881 2009-08-22  Juri Linkov  <juri@jurta.org>
2883         * progmodes/grep.el (lgrep, rgrep): At the beginning
2884         set `dir' to `default-directory' unless `dir' is a non-nil
2885         readable directory.  (Bug#4052)
2886         (lgrep, rgrep): Change a weird way to report an error
2887         from using `read-string' to using `error'.
2888         Instead of using interactive arguments in the function body,
2889         add new argument `confirm'.
2891 2009-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2893         * textmodes/remember.el (remember-buffer):
2894         * progmodes/cperl-mode.el (cperl-vc-header-alist):
2895         * calendar/icalendar.el (icalendar-convert-diary-to-ical)
2896         (icalendar-extract-ical-from-buffer):
2897         * net/newst-treeview.el (newsticker-groups-filename):
2898         * net/newst-backend.el (newsticker-cache-filename):
2899         * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
2900         (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
2901         (speedbar-add-ignored-path-regexp, speedbar-line-path)
2902         (speedbar-buffers-line-path, speedbar-path-line)
2903         (speedbar-buffers-line-path):
2904         * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
2905         (epg-sign-keys):
2906         * epa.el (epa-display-verify-result):
2907         * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
2909 2009-08-21  Glenn Morris  <rgm@gnu.org>
2911         * progmodes/js.el (inferior-moz-process): Fix declaration.
2913         * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
2915         * obsolete/rnewspost.el (news-mail-reply):
2916         Use goto-char rather than goto-line.
2918         * term/ns-win.el (ns-open-file-select-line):
2919         Use line-beginning-position rather than goto-line.
2921         * apropos.el (apropos-command):
2922         * ehelp.el (electric-helpify):
2923         * printing.el (pr-show-setup):
2924         * strokes.el (strokes-help):
2925         * tutorial.el (tutorial--describe-nonstandard-key)
2926         (tutorial--detailed-help):
2927         * woman.el (woman-mini-help, woman-display-extended-fonts):
2928         * calc/calc-help.el (calc-describe-key):
2929         * emulation/edt.el (edt-electric-helpify):
2930         * international/mule-diag.el (mule-diag):
2931         * play/yow.el (apropos-zippy):
2932         * progmodes/python.el (python-describe-symbol):
2933         * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
2934         * textmodes/table.el (*table--cell-describe-mode)
2935         (*table--cell-describe-bindings):
2936         Use help-print-return-message rather than the now obsolete alias.
2938         * calendar/cal-move.el (calendar-cursor-to-nearest-date)
2939         (calendar-cursor-to-visible-date):
2940         * play/5x5.el (5x5-position-cursor):
2941         * play/decipher.el (decipher):
2942         * play/gomoku.el (gomoku-goto-xy):
2943         * play/landmark.el (lm-goto-xy):
2944         * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
2945         (mpuz-paint-digit):
2946         Use forward-line, not goto-line.
2948         * mail/rmail.el (rmail-obsolete): Delete custom group.
2949         (rmail-pop-password, rmail-pop-password-required): Make into aliases.
2950         (rmail-remote-password, rmail-remote-password-required):
2951         Remove unneeded :set-after and :set properties.
2953 2009-08-21  Michael Albinus  <michael.albinus@gmx.de>
2955         * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
2957 2009-08-21  Dan Nicolaescu  <dann@ics.uci.edu>
2959         * loadup.el: Remove leftover macos code.
2961         * vc-git.el (vc-git-annotate-command): Run asynchronously.
2962         Explicitly pass the date format to git blame so that user local
2963         so that the output format can be parsed.
2965 2009-08-20  Michael Albinus  <michael.albinus@gmx.de>
2967         * net/dbus.el (top): Don't check for (getenv
2968         "DBUS_SESSION_BUS_ADDRESS").  It's done in dbusbind.c now.
2970 2009-08-19  Magnus Henoch  <magnus.henoch@gmail.com>
2972         * log-edit.el (log-edit-strip-single-file-name): New var.
2973         (log-edit-insert-changelog): Use it.  Bug#3571
2975 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
2977         * subr.el (read-passwd): Use read-key so keypad keys work as well.
2978         Bug#3287
2980         * help.el (help-print-return-message): Rename from
2981         print-help-return-message.
2983         * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
2984         cvs-mode-map parent hack.
2985         (log-view-mode): Derive from special-mode.
2987         * linum.el (linum-mode): window-size-change-functions is redundant.
2988         Adapt to new window-configuration-change-hook behavior.
2989         (linum-after-size, linum-after-config): Remove.
2991         * imenu.el (imenu-example--name-and-position)
2992         (imenu-example--lisp-extract-index-name)
2993         (imenu-example--create-lisp-index, imenu-example--create-c-index):
2994         Mark as obsolete.
2996         * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
2997         (inferior-prolog-mode): Use it.
2998         (inferior-prolog-load-file): Reset list of errors.
3000 2009-08-19  ARISAWA Akihiro  <ari@mbf.ocn.ne.jp>  (tiny change)
3002         * language/tibetan.el ("Tibetan"): Fix sample-text entry.
3004         * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
3006 2009-08-19  Michael Albinus  <michael.albinus@gmx.de>
3008         * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
3009         is running already.
3011 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3013         * subr.el (listify-key-sequence-1): Use normal syntax since those
3014         integers are nowadays always represented by the same (positive) number
3015         on all platforms.
3016         (read-key-empty-map): New const.
3017         (read-key-delay): New var.
3018         (read-key): New function.
3019         (force-mode-line-update): Use with-current-buffer.
3020         (locate-user-emacs-file): Don't forget to abbreviate the file name.
3021         (start-process-shell-command, start-file-process-shell-command):
3022         Discourage the use of command-args.
3024 2009-08-19  Glenn Morris  <rgm@gnu.org>
3026         * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
3028 2009-08-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3030         * simple.el (choose-completion-string): Don't rely on
3031         minibuffer-completing-file-name and ad-hoc checks to decide whether
3032         to continue completion or not.
3034         * minibuffer.el (minibuffer-hide-completions): New function.
3035         (completion--do-completion): Use it.
3036         (completions-annotations): New face.
3037         (completion--insert-strings): Use it.
3038         (completion-pcm--delim-wild-regex): Add docstring.
3039         (completion-pcm--string->pattern): Add support for 0-width delimiters
3040         in completion-pcm--delim-wild-regex.
3042 2009-08-18  Stefan Monnier  <monnier@iro.umontreal.ca>
3044         * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
3045         Remove unused var `buffer-modified-p'.
3047         * minibuffer.el (completion--do-completion): Move point for the #b001
3048         case as well (bug#4176).
3049         (minibuffer-complete, minibuffer-complete-word): Don't move point.
3051 2009-08-18  Michael Albinus  <michael.albinus@gmx.de>
3053         * net/dbus.el (dbus-init-bus): Declare.  Apply it for the :system
3054         and :session buses.
3056 2009-08-18  Kenichi Handa  <handa@m17n.org>
3058         * international/ucs-normalize.el (ucs-normalize-version):
3059         Change to 1.1.
3060         (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
3061         (utf-8-hfs): Make it perform normalization on encoding too.
3063         * textmodes/paragraphs.el: Change to utf-8.  Adjust coding cookie.
3064         (sentence-end-without-space): Delete duplicated chars.
3065         (sentence-end-base): Likewise.
3067         * textmodes/sgml-mode.el: Change to utf-8.  Adjust coding cookie.
3068         (html-mode): Delete duplicated chars from sentence-end-base.
3070         * textmodes/texinfo.el: Change to utf-8.  Adjust coding cookie.
3071         (texinfo-mode): Delete duplicated chars from sentence-end-base.
3073 2009-08-17  Chong Yidong  <cyd@stupidchicken.com>
3075         * files.el (hack-one-local-variable): If the mode function is for
3076         a minor mode, pass it an argument (Bug#4148).
3078 2009-08-17  Michael Albinus  <michael.albinus@gmx.de>
3080         * net/tramp.el (tramp-register-completion-file-name-handler):
3081         Check also for (member 'partial-completion completion-styles).
3083 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
3085         * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
3086         abbrev (Bug#3943).
3088 2009-08-16  Ilya Zakharevich  <ilyaz@cpan.org>
3090         * progmodes/cperl-mode.el: Merge upstream 6.2.
3091         (cperl-mode-syntax-table): Modify syntax entry for ["'`].
3092         (cperl-forward-re): Check cperl-brace-recursing.
3093         (cperl-highlight-charclass): New function.
3094         (cperl-find-pods-heres): Use it.
3095         (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
3096         (cperl-beautify-regexp-piece): Fix column calculation.
3097         (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
3098         (cperl-beautify-level): Don't process entire regexp.
3099         (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
3100         calling man.
3101         (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
3102         (cperl-init-faces): Build a list in the normal way.
3104 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
3106         * calendar/parse-time.el (parse-time-string-chars): Save match
3107         data.
3109 2009-08-16  Stefan Monnier  <monnier@iro.umontreal.ca>
3111         * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
3112         (sql-product): Use it.
3113         (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
3114         (sql-set-product): Add completion.
3115         (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
3116         (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
3117         (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
3118         (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
3119         (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
3120         (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
3121         (sql-highlight-db2-keywords): Remove.
3122         (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
3123         (sql-highlight-product): Use derived-mode-p.
3124         (sql-set-sqli-buffer): Use with-current-buffer.
3125         (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
3126         Simplify.
3128         * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
3130         * term.el: Fix commenting convention, turn comments into docstrings.
3132 2009-08-16  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
3134         * whitespace.el (whitespace-style): Doc fix (Bug#3661).
3136 2009-08-16  Jan Seeger  <jan.seeger@thenybble.de>  (tiny change)
3138         * calendar/parse-time.el (parse-time-string-chars): Compute using
3139         character classes, to handle non-ascii characters (Bug#3190).
3141 2009-08-16  Chong Yidong  <cyd@stupidchicken.com>
3143         * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
3144         another heredoc if the user adds another < (Bug#3226).
3146         * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
3147         Don't initialize based on window-system (Bug#4124).
3149         * facemenu.el (facemenu-read-color): Use a completion function
3150         that accepts any defined color, such as RGB triplets (Bug#3677).
3152         * files.el (get-free-disk-space): Change fallback default
3153         directory to /.  Expand DIR argument before switching to fallback.
3154         Suggested by Kevin Ryde (Bug#2631, Bug#3911).
3156 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
3158         * files.el (load-library): Doc fix.
3160 2009-08-15  Michael Kifer  <kifer@cs.stonybrook.edu>
3162         * viper-cmd.el (viper-insert-isearch-string): New function.
3163         (viper-if-string): Redefine C-s in the minibuffer to insert the last
3164         incremental search string.
3166         * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
3167         XEmacs.
3169         * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
3170         (ediff-merge-region-is-non-clash)
3171         (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
3172         Also check if the job is really a merge job.
3174         * ediff.el (ediff-current-file): New function.
3176 2009-08-15  Chong Yidong  <cyd@stupidchicken.com>
3178         * progmodes/js.el: Edit docstrings throughout to follow Emacs
3179         conventions.
3180         (js-insert-and-indent): Delete function.
3181         (js-mode-map): Don't bind keys to js-insert-and-indent.
3182         (js-beginning-of-defun): Rename from js--beginning-of-defun.
3183         (js-end-of-defun): Rename from js--end-of-defun.
3184         (js-auto-indent-flag): Delete variable.
3186 2009-08-14  Chong Yidong  <cyd@stupidchicken.com>
3188         * progmodes/js.el: Remove proclaim statement.
3189         Defvar which-func-imenu-joiner-function to silence compiler.
3191         * files.el (auto-mode-alist): Use js-mode for .js files.
3193         * progmodes/js2-mode.el: Remove file.
3195         * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
3197         * speedbar.el (speedbar-supported-extension-expressions): Add .js.
3199         * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
3201 2009-08-14  Daniel Colascione  <dan.colascione@gmail.com>
3202             Karl Landstrom  <karl.landstrom@brgeight.se>
3204         * progmodes/js.el: New file.
3206 2009-08-14  Mark A. Hershberger  <mah@everybody.org>
3208         * timezone.el (timezone-parse-date): Add ability to understand ISO
3209         basic format (minimal separators) dates in addition to the
3210         already-supported extended format dates.
3212 2009-08-14  Eli Zaretskii  <eliz@gnu.org>
3214         * international/ucs-normalize.el: Add a `coding' file variable.
3216         * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
3218 2009-08-14  Sam Steingold  <sds@gnu.org>
3220         * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
3222 2009-08-13  Chong Yidong  <cyd@stupidchicken.com>
3224         * faces.el (help-argument-name): Define it here instead of
3225         help-fns.el, because in daemon mode help-fns.el may be loaded when
3226         faces are still uninitialized (Bug#1078).
3228         * help-fns.el (help-argument-name): Move defface to faces.el.
3230 2009-08-13  Nick Roberts  <nickrob@snap.net.nz>
3232         * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
3233         create buffer with a pty but no process so that GDB can make the
3234         inferior the controlling process.
3236 2009-08-13  Taichi Kawabata  <kawabata.taichi@gmail.com>
3238         * international/ucs-normalize.el: New file.
3240 2009-08-13  Richard Stallman  <rms@gnu.org>
3242         * mail/rmail.el (rmail-get-attr-names):
3243         Accept an attribute header that is too short.
3245         * mail/rmail.el (rmail-forget-messages):
3246         Ignore nil elt in rmail-message-vector.  Use dotimes.
3248         * progmodes/compile.el (compilation-goto-locus):
3249         Use next-error-move-function.
3251         * simple.el (next-error-move-function): New variable.
3253 2009-08-12  Juri Linkov  <juri@jurta.org>
3255         * progmodes/grep.el (lgrep): Ensure that `default-directory' is
3256         always non-nil.  (Bug#4052)
3258         * replace.el (read-regexp): Return empty string when
3259         `default-value' is nil.
3260         (keep-lines-read-args): Don't use empty string as the
3261         default value for `read-regexp'.  (Bug#2495)
3263 2009-08-12  Juri Linkov  <juri@jurta.org>
3265         * international/mule-cmds.el (ucs-insert): Change arguments
3266         from `arg' to `character', `count', `inherit' to be the same
3267         as in `insert-char'.  Doc fix.  (Bug#4039)
3269         * international/mule-conf.el (utf-16be-with-signature): Doc fix.
3271 2009-08-12  Juri Linkov  <juri@jurta.org>
3273         * files-x.el: New file.
3275         * files.el: Move code that deals with adding/deleting
3276         file/directory-local variables to files-x.el.
3278         * Makefile.in (ELCFILES): Add files-x.elc.
3280 2009-08-11  Dmitry Dzhus  <dima@sphinx.net.ru>
3282         * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
3283         to use `goto-line'.
3284         (gdb-place-breakpoints, gdb-get-location): Rewritten without
3285         `goto-line'.
3286         (gdb-invalidate-disassembly): Do not refresh upon receiving
3287         'update signal.  Instead, update all disassembly buffers only after
3288         threads list.
3289         (gdb): Send -target-detach when buffer is killed (Bug#3794).
3290         (gdb-starting): Moved -data-list-register-names...
3291         (gdb-stopped): ...here so it's sent when first thread stops.
3292         (gdb-registers-handler-custom): Do nothing if register names are
3293         unknown yet.
3295         * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
3296         from `gdb-mi.el' to avoid extra tangling.
3298         * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
3299         change which breaks `gud-def' definitions used in `gdb'.
3300         (gdb-update-gud-running): No extra fuss for updating frame number.
3302 2009-08-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3304         * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
3305         (describe-language-environment-map, setup-language-environment-map)
3306         (set-coding-system-map): Move initialization into declaration.
3307         (set-language-info-alist): Last arg to define-key-after can be skipped.
3309         * international/quail.el (quail-completion-1): Simplify.
3310         (quail-define-rules): Use slightly more compact code.
3311         (quail-insert-decode-map): Propertize keys, compact columns.
3313         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3314         Add goto-line.
3316 2009-08-10  Miles Bader  <miles@gnu.org>
3318         * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
3319         (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
3320         (js2-instance-member, js2-private-member, js2-private-function-call)
3321         (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
3322         (js2-magic-paren, js2-external-variable):
3323         Remove "-face" suffix from face names.
3324         (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
3325         (js2-highlight-undeclared-vars, js2-peek-token)
3326         (js2-parse-function-params, js2-mode-show-errors)
3327         (js2-mode-show-warnings, js2-make-magic-delimiter)
3328         (js2-mode-highlight-magic-parens): Update to use new face names.
3330 2009-08-09  Michael Albinus  <michael.albinus@gmx.de>
3332         * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
3333         (tramp-handle-insert-directory): Handle "--dired".  (Bug#4075)
3335 2009-08-09  Chong Yidong  <cyd@stupidchicken.com>
3337         * subr.el: Provide hashtable-print-readable.
3339         * progmodes/hideshow.el (hs-special-modes-alist): Don't use
3340         hs-c-like-adjust-block-beginning.
3341         (hs-hide-block-at-point): Stop hiding at the beginning of
3342         hs-block-end-regexp (Bug#700).
3344 2009-08-09  Dmitry Dzhus  <dima@sphinx.net.ru>
3346         * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
3347         a macro.
3348         (gdb-registers-handler-custom): Do not fail when register names
3349         are unavailable.
3351 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
3353         * progmodes/gdb-mi.el (gdb-control-all-threads)
3354         (gdb-control-current-thread): Interactive setters for
3355         `gdb-gud-control-all-threads' to use in menu.
3356         (gdb-show-run-p): Show «Go» when process is not active.
3357         (gud-tool-bar-map): Add non-stop/A,T indicator.  Uses
3358         gud/thread.xpm and gud/all.xpm.
3360 2009-08-08  Yoni Rabkin  <yoni@rabkins.net>
3362         * net/net-utils.el (net-utils-font-lock-keywords): New var.
3363         (nslookup-font-lock-keywords): Make it a variable.
3364         (net-utils-mode): New mode for viewing diagnostic network output.
3365         (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
3366         (net-utils-run-simple): New function.
3367         (ifconfig, iwconfig, netstat, arp, route): Use it.
3369 2009-08-08  Dmitry Dzhus  <dima@sphinx.net.ru>
3371         * progmodes/gdb-mi.el (gdb-read-memory-custom)
3372         (gdb-memory-set-address, def-gdb-set-positive-number)
3373         (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
3374         after changing settings.
3375         (gdb-invalidate-disassembly): Update when first shown.
3376         (gdb-edit-locals-value): Fixed.
3377         (gdb-registers-handler-custom): Print registers in right order and
3378         allow changing register values (only for current thread yet).
3379         (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
3380         (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
3381         (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
3382         (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
3383         info in mode name.
3384         (gdb-registers-mode-map): TAB to switch to locals.
3386 2009-08-08  Eli Zaretskii  <eliz@gnu.org>
3388         * mail/rmail.el (rmail-add-mbox-headers)
3389         (rmail-set-message-counters-counter): Search for
3390         rmail-unix-mail-delimiter instead of just "From ".  (Bug#4076)
3392 2009-08-08  Glenn Morris  <rgm@gnu.org>
3394         * Makefile.in (ELCFILES): Update.
3396 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
3398         * mail/sendmail.el (mail-yank-original): Set
3399         buffer-file-coding-system from the one used by the message whose
3400         text is yanked.
3402         * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
3403         to "windows" when "pgnuplot" is used.
3404         (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
3405         call accept-process-output if "pgnuplot" is used.
3406         (calc-graph-init): Don't send -display and -geometry to
3407         "pgnuplot".  If "pgnuplot" is used, glean gnuplot version by
3408         running "pgnuplot -V" with shell-command-to-string.
3410         * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
3411         the default.
3413 2009-08-07  Eli Zaretskii  <eliz@gnu.org>
3415         * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
3416         org/org-latex.elc.
3418 2009-08-07  Dan Nicolaescu  <dann@ics.uci.edu>
3420         * vc-dispatcher.el (vc-resynch-window): Update comment.
3422         * term.el (term-handle-ansi-escape): Add comments with the
3423         terminfo capabilities implemented.
3425 2009-08-06  Dmitry Dzhus  <dima@sphinx.net.ru>
3427         * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
3428         (gdb-var-create-handler): Rewritten using JSON parser.
3429         (gdb-propertize-header): Moved earlier.
3430         (gdb-set-header): Removed to avoid duplication.
3431         (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
3432         Refresh disassembly buffers only after threads list have been
3433         update.
3434         (gdb-threads-header, gdb-registers-header): Per-buffer header line
3435         variables.
3437 2009-08-04  Juri Linkov  <juri@jurta.org>
3439         * files.el: Commands to add/delete file/directory-local variables.
3440         (read-file-local-variable, read-file-local-variable-value)
3441         (read-file-local-variable-mode, modify-file-local-variable)
3442         (modify-file-local-variable-prop-line)
3443         (modify-dir-local-variable): New functions.
3444         (add-file-local-variable, delete-file-local-variable)
3445         (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
3446         (add-dir-local-variable, delete-dir-local-variable)
3447         (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
3448         (copy-dir-locals-to-file-locals-prop-line): New commands.
3450 2009-08-04  Chong Yidong  <cyd@stupidchicken.com>
3452         * abbrev.el (insert-abbrev-table-description): Prettify output.
3453         Suggested by Karl Chen.
3455 2009-08-04  Dmitry Dzhus  <dima@sphinx.net.ru>
3457         * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
3458         (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
3459         (gdb-overlay-arrow-position, gdb-thread-position)
3460         (gdb-disassembly-position): Declare variables.
3461         (gdb-wait-for-pending): Function now.
3462         (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
3463         (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
3464         compilation goes smoothly.
3465         (gdb, gdb-non-stop, gdb-buffers): New customization groups.
3466         (gdb-non-stop-setting): New customization setting which replaces
3467         `gdb-non-stop' so changing it doesn't break active GDB session.
3468         (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
3469         (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
3470         (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
3471         (gdb-show-threads-by-default): New customization options.
3472         (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
3473         routines.
3474         (gdb-get-buffer-create): Send buffers update signal when they are
3475         created.
3476         (gdb-invalidate-locals, gdb-invalidate-registers)
3477         (gdb-invalidate-breakpoints)
3478         (gdb-invalidate-threads, gdb-invalidate-disassembly)
3479         (gdb-invalidate-memory): Accept update signal.
3480         (gdb-current-context-command): Use --frame option.
3481         (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
3482         Implement `gdb-frame-number' selection logic.
3483         (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
3484         whether to show GUD toolbar buttons.
3485         (gdb-thread-exited): Unselect current thread when it exits.
3486         (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
3487         (gdb-mark-line): Routine which sets overlay arrow or inverses
3488         video on fringeless displays.
3489         (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
3490         to build aligned columns of data in GDB buffers and set text
3491         properties line-by-line.
3492         (gdb-invalidate-breakpoints)
3493         (gdb-breakpoints-list-handler-custom)
3494         (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
3495         (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
3496         (gdb-registers-handler-custom): Align data columns.
3497         (gdb-locals-handler-custom): Now prints data like in variable
3498         declarations.
3499         (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
3500         Removed confusing buttons.
3501         (gdb-invalidate-threads): Append --frame.
3502         (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
3503         between breakpoints/threads buffers.
3504         (gdb-set-window-buffer): Now can ignore dedicated windows.
3505         (gdb-propertize-header): Use `gdb-set-window-buffer'.
3506         (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
3507         (def-gdb-thread-buffer-gud-command): Replaces
3508         `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
3509         for fine thread control.
3510         (gdb-preempt-existing-or-display-buffer): New function used to
3511         display bound buffers without breaking window layout.
3512         (gdb-frame-location): Replaces `gdb-insert-frame-location'.
3513         (gdb-select-frame): New version of `gdb-frames-select' which now
3514         sets `gdb-frame-number' so commands may use --frame option instead
3515         of inner debugger state.
3516         (gdb-frame-handler): Do not set `gdb-frame-number'.
3517         (gdb-threads-mode-map): Select threads with mouse.
3519         * progmodes/gud.el (gdb-gud-context-call): Declare function to
3520         avoid compilation warning.
3521         (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
3522         `gdb-show-stop-p`.
3524         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
3525         Argument `key' renamed to `buffer-type'.
3526         (gdb-current-context-buffer-name): Do not add thread info to
3527         buffer name when no thread is selected.
3528         (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
3529         command (bug 3794).
3530         (gdb-thread-selected): Handle `=thread-selected' notification.
3531         (gdb-wait-for-pending): New macro to deal with congestion problems.
3532         (gdb-breakpoints-list-handler-custom): Don't fail on pending
3533         breakpoints.
3534         (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
3535         This fixes problem similar to one described in bug 3947.
3536         (gud-menu-map): More menu items.
3537         (gdb-init-1): Reset `gdb-thread-number' to nil.
3539         * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
3540         non-stop settings.
3542         * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
3543         (gdb-current-context-command): Do not append --thread if
3544         `gdb-thread-number' is nil.
3545         (gdb-running-threads-count, gdb-stopped-threads-count): New
3546         variables.
3547         (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
3548         (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
3549         customization options.
3550         (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
3551         GUD commands.
3552         (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
3553         (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
3554         (gdb-setq-thread-number, gdb-update-gud-running): New functions to
3555         set `gdb-thread-number' and update `gud-running' properly.
3556         (gdb-running): Update threads list when new threads appear.
3557         (gdb-stopped): Support non-stop operation and new thread switching
3558         logic.
3559         (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
3560         (gdb-json-partial-output): New set of JSON routines.
3561         (def-gdb-auto-update-trigger): New `signal-list' optional
3562         argument.
3563         (gdb-thread-list-handler-custom): Update `gud-running',
3564         `gdb-stopped-threads-count' and `gdb-running-threads-count'.
3565         (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
3566         (gdb-continue-thread, gdb-step-thread): New commands for fine
3567         thread execution control.
3568         (gud-menu-map): New menu items to switch non-stop options.
3569         (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
3570         (gdb-send): Mimic RET properly (bug 3794).
3572         * progmodes/gdb-mi.el (gdb-rules-name-maker)
3573         (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
3574         gdb-buffer-rules.
3575         (def-gdb-auto-update-handler): New nopreserve optional argument.
3576         (gdb-stack-list-frames-custom): Print stack from top to bottom.
3578         * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
3579         (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
3580         (gdb-parent-mode): New mode to derive other GDB modes from.
3581         (gdb-display-disassembly-for-thread)
3582         (gdb-frame-disassembly-for-thread): New commands for threads
3583         buffer.
3585         * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
3586         (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
3587         (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
3588         (gdb-update): We now store all GDB buffers in a list so that they
3589         can be updated by traversing a list instead of calling invalidate
3590         triggers explicitly.
3591         (def-gdb-trigger-and-handler): New macro to define trigger-handler
3592         pair for GDB buffer.
3593         (gdb-stack-buffer-name): Add thread information.
3594         (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
3595         handle pending triggers.
3596         (gdb-threads-mode-map, def-gdb-thread-buffer-command)
3597         (def-gdb-thread-buffer-simple-command)
3598         (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
3599         (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
3600         (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
3601         New commands which show buffers bound to thread.
3602         (gdb-stack-list-locals-regexp): Removed unused regexp.
3604         * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
3605         (gdb-locals-buffer-name, gdb-registers-buffer-name)
3606         (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
3607         to (gud-comint-buffer) in *-buffer-name functions
3608         because (gdb-get-target-string) already does that.
3609         (gdb-locals-handler-custom, gdb-registers-handler-custom)
3610         (gdb-changed-registers-handler): Rewritten without regexps.
3612         * progmodes/gdb-mi.el Basic thread selection support.
3613         (gdb-thread-number): New variable.
3614         (gdb-current-context-command): New macro which adds --thread
3615         option to command.
3616         (gdb-threads-mode-map): Select thread with SPC.
3617         (gdb-thread-list-handler-custom): Mark current thread with overlay
3618         arrow.  Synchronize GDB thread and Emacs thread.
3619         (gdb-select-thread): New command which selects current thread.
3620         (gdb-invalidate-frames, gdb-invalidate-locals)
3621         (gdb-invalidate-registers): Use --thread option.
3623 2009-08-04  Michael Albinus  <michael.albinus@gmx.de>
3625         * net/tramp.el (top): Make check for tramp-gvfs loading more
3626         robust.  (Bug#3977)
3627         (tramp-handle-insert-file-contents): `unwind-protect' must be
3628         inside `with-parsed-tramp-file-name'.
3630         * net/tramp-gvfs.el (top): Remove superfluous message when loading
3631         fails.
3633 2009-08-03  Nick Roberts  <nickrob@snap.net.nz>
3635         * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
3636         directory if CLASSPATH is not set.
3638 2009-08-03  Michael Albinus  <michael.albinus@gmx.de>
3640         * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
3641         New defconst.
3642         (tramp-rfn-eshadow-update-overlay): Use it.  (Bug#4004)
3644 2009-08-02  Kevin Ryde  <user42@zip.com.au>
3646         * net/newst-backend.el (newsticker--raw-url-list-defaults):
3647         Update freshmeat link.  Delete newsforge.com as it seems gone.
3649 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
3651         * select.el (x-set-selection): Doc fix (Bug#4021).
3653         * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
3655         * help-fns.el (describe-variable): Treat list return values from
3656         dir-locals-find-file properly (Bug#4005).
3658 2009-08-02  Julian Scheid  <julians37@googlemail.com>  (tiny change)
3660         * net/tramp.el (tramp-debug-message): Print also microseconds.
3662 2009-08-02  Michael Albinus  <michael.albinus@gmx.de>
3664         * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
3665         or END is non-nil.
3666         (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
3667         (tramp-get-debug-buffer): Change `outline-regexp' according to new
3668         format.
3670         * net/tramp-cache.el (tramp-cache-inhibit-cache ): New defvar.
3671         (tramp-get-file-property): Use it.
3673         * autorevert.el (auto-revert-handler): Allow
3674         `auto-revert-tail-mode' for remote files.
3676 2009-08-02  Jason Rumney  <jasonr@gnu.org>
3678         * minibuffer.el (read-file-name): Treat confirm options to
3679         MUSTMATCH as nil when invoking x-file-dialog.  (Bug#3969)
3681 2009-08-02  Chong Yidong  <cyd@stupidchicken.com>
3683         * font-lock.el (font-lock-string-face, font-lock-builtin-face)
3684         (font-lock-variable-name-face, font-lock-constant-face): Darken
3685         the colors for light backgrounds.
3687 2009-08-01  Eli Zaretskii  <eliz@gnu.org>
3689         * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
3690         month names.  (Bug#3987)
3692 2009-07-31  Chong Yidong  <cyd@stupidchicken.com>
3694         * simple.el (line-move-finish): Pass whole number to
3695         line-move-to-column.
3696         (line-move-visual): Perform hscroll to the recorded position.
3698 2009-07-30  Jay Belanger  <jay.p.belanger@gmail.com>
3700         * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
3702 2009-07-29  Alan Mackenzie  <acm@muc.de>
3704         * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
3706 2009-07-29  Dmitry Dzhus  <dima@sphinx.net.ru>
3708         * progmodes/gdb-mi.el (gdb-goto-breakpoint)
3709         (gdb-place-breakpoints): Use full path when setting breakpoints.
3711 2009-07-29  Jay Belanger  <jay.p.belanger@gmail.com>
3713         * calc/calc.el (calc-mode-map): Add keybinding for
3714         `calc-transpose-lines'.
3716 2009-07-29  Vincent Belaïche  <vincent.belaiche@gmail.com>
3718         * calc/calc-misc.el (calc-transpose-lines): New function.
3720 2009-07-28  Michael Albinus  <michael.albinus@gmx.de>
3722         * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
3723         Simplify check for out-of-band methods.
3724         (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
3725         remote.  Remove messages which are in `tramp-do-copy-or-rename-file'.
3727 2009-07-28  Dan Nicolaescu  <dann@ics.uci.edu>
3729         * vc-git.el (vc-git-checkin): Fix typo.
3731 2009-07-28  Steve Yegge  <steve.yegge@gmail.com>
3733         * progmodes/js2-mode.el: New file.
3735 2009-07-28  Nick Roberts  <nickrob@snap.net.nz>
3737         * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
3738         (gud-menu-map): Adjust tooltip accordingly.
3740 2009-07-27  Dan Nicolaescu  <dann@ics.uci.edu>
3742         * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
3743         (vc-bzr-log-view-mode): Adjust log-view-file-re.
3745         * add-log.el (change-log-mode-map): Add a menu.
3747 2009-07-27  Michael Albinus  <michael.albinus@gmx.de>
3749         * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
3750         function returns nil.
3751         (dbus-handle-event): Handle special return value :ignore.
3752         Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
3754 2009-07-26  Chong Yidong  <cyd@stupidchicken.com>
3756         * view.el (view-mode-enable): Don't define Helper-return-blurb if
3757         it's not needed.
3759 2009-07-25  Eli Zaretskii  <eliz@gnu.org>
3761         Fix Bug#3888:
3763         * w32-vars.el (x-select-enable-clipboard): Doc fix.
3765         * term/pc-win.el (x-display-name, x-colors)
3766         (x-select-enable-clipboard, x-select-text): Doc fix.
3768         * term/common-win.el (x-display-name, x-colors): Doc fix.
3770         * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
3771         (xw-defined-colors): Doc fix.
3773         * w32-fns.el (x-select-text, x-setup-function-keys)
3774         (x-get-selection, x-set-selection): Doc fix.
3776         * term/x-win.el (x-select-text, x-setup-function-keys)
3777         (x-select-enable-clipboard, xw-defined-colors): Doc fix.
3779         * select.el (x-set-selection): Doc fix.
3781 2009-07-25  Michael Albinus  <michael.albinus@gmx.de>
3783         * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
3784         instead of "IsNSSSupportAvailable".  Avahi ought to work also when
3785         "IsNSSSupportAvailable" method is not available.  Reported by
3786         Steve Youngs <steve@sxemacs.org>.
3788 2009-07-24  Kenichi Handa  <handa@m17n.org>
3790         * international/characters.el: Fix setting of category ?C, ?|, ?K,
3791         and ?H.  Fix setting of case for Latin Extended and Greek Extended.
3792         (build-unicode-category-table): Fix range checks.
3794 2009-07-24  Dan Nicolaescu  <dann@ics.uci.edu>
3796         * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
3797         the buffer we try to sync is current when calling
3798         vc-resynch-buffer.
3800         * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
3801         not show up to date files.
3803 2009-07-24  Glenn Morris  <rgm@gnu.org>
3805         * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
3806         Add autoload cookies.  If necessary, initialize.
3807         (elint-log): Handle non-file buffers.
3808         (elint-initialize): Add optional argument to reinitialize.
3809         (elint-find-builtin-variables): Save excursion.
3811 2009-07-23  Dan Nicolaescu  <dann@ics.uci.edu>
3813         * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
3814         for Lint.
3816 2009-07-22  Dan Nicolaescu  <dann@ics.uci.edu>
3818         * vc.el (vc-print-log-internal): New function, split out from ...
3819         (vc-print-log): ... here.
3820         (vc-dir-move-to-goal-column): Declare.
3822         * vc-git.el (vc-git-add-signoff): New variable.
3823         (vc-git-checkin): Use it.
3824         (vc-git-toggle-signoff): New function.
3825         (vc-git-extra-menu-map): Bind it to menu.
3826         (vc-git--run-command-string): Accept a nil FILE argument.
3827         (vc-git-stash-list): New function.
3828         (vc-git-dir-extra-headers): Use it.
3830 2009-07-23  Glenn Morris  <rgm@gnu.org>
3832         * help-fns.el (describe-variable): Describe ignored and risky local
3833         variables in a similar way to that in which we describe safe ones.
3835         * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
3836         (byte-compile-output-file-form, byte-compile-output-docform)
3837         (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
3838         Give some more local variables with common names a "bytecomp-" prefix,
3839         so as not to shadow things during compilation.
3840         * emacs-lisp/cl-macs.el (load-time-value)
3841         * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
3842         `outbuffer' to `bytecomp-outbuffer'.
3844         * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
3845         since the next two variables cover them automatically now.
3846         (elint-builtin-variables, elint-autoloaded-variables): New.
3847         (elint-unknown-builtin-args): Remove all members, since they can be
3848         parsed automatically now.
3849         (elint-extra-errors): New.
3850         (elint-env-add-env, elint-env-add-macro): Use cadr.
3851         (elint-current-buffer): Use or.  Change final message.
3852         (elint-get-top-forms): Use line-end-position.
3853         (elint-init-env): Use cadr.  Handle autoload, declare-function,
3854         and defalias.
3855         (elint-add-required-env): Doc fix.  Use or.  Standardize error.
3856         (regexp-assoc): Remove unused function.
3857         (elint-top-form): Set elint-current-pos, to record the start of the
3858         top-level form, for compilation-mode.
3859         (elint-form): Trap errors in macro expansion.  Use dolist.
3860         (elint-unbound-variable): Use elint-builtin-variables and
3861         elint-autoloaded-variables.
3862         (elint-get-args): Use cadr, or.
3863         (elint-check-cond-form): Use dolist, cadr.
3864         (elint-check-condition-case-form): Doc fix.  Use cadr.
3865         Use elint-extra-errors.
3866         (elint-log): New function.
3867         (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
3868         Distinguish errors and warnings.
3869         (elint-log-message): Use with-current-buffer.  Inhibit read-only.
3870         Use a bytecomp-style format.
3871         (elint-clear-log): Preserve default-directory.  Inhibit read-only.
3872         (elint-get-log-buffer): Use compilation mode.  Disable undo.
3873         Don't truncate lines.
3874         (elint-initialize): Set builtin and autoloaded variable lists.
3875         Only process elint-unknown-builtin-args if non-nil.
3876         (elint-find-builtin-variables, elint-find-autoloaded-variables):
3877         New functions.
3878         (elint-find-builtin-args): Doc fix.  Handle "BODY...)".
3880 2009-07-22  Kevin Ryde  <user42@zip.com.au>
3882         * net/newst-backend.el (newsticker--parse-atom-1.0)
3883         (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
3884         (newsticker--parse-rss-1.0):
3885         * progmodes/idlwave.el (idlwave-mode):
3886         * progmodes/idlw-shell.el (idlwave-shell-mode):
3887         * progmodes/vera-mode.el (vera-mode):
3888         * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
3889         * progmodes/vhdl-mode.el (vhdl-mode):
3890         * textmodes/table.el (table-generate-source)
3891         (table--warn-incompatibility):
3892         Hyperlink urls in docstrings with URL `...'.
3894 2009-07-22  Glenn Morris  <rgm@gnu.org>
3896         * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
3897         * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
3898         * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
3899         Remove leading * from defcustom docs.
3901         * simple.el (blink-matching-paren-distance): Bump to 100k.  (Bug#3889)
3903         * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
3904         defcustom doc.
3905         (list-load-path-shadows): Optionally, just return shadows as a string.
3907         * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
3909 2009-07-21  Chong Yidong  <cyd@stupidchicken.com>
3911         * mail/rmailedit.el (rmail-edit-mode): Use
3912         auto-save-include-big-deletions.
3914         * mail/rmail.el (rmail-variables): Use
3915         auto-save-include-big-deletions.
3917         * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
3918         changes.
3920 2009-07-21  Jay Belanger  <jay.p.belanger@gmail.com>
3922         * calc/calc.el (calc-undo-length): New variable.
3923         (calc-quit): Truncate rather than eliminate `calc-undo-list'.
3925 2009-07-21  Richard Stallman  <rms@gnu.org>
3927         * files.el (auto-save-mode): Handle buffer-save-size = -2
3928         for toggling mode.
3930 2009-07-21  Glenn Morris  <rgm@gnu.org>
3932         * textmodes/ispell.el (ispell-looking-back): Update declaration.
3934         * calendar/todo-mode.el (calendar-current-date): Update declaration.
3936         * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
3937         silence compiler.  Instead...
3938         (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
3939         (ps-print-ensure-fontified): Update for above function name changes.
3941         * printing.el (pr-mh-get-msg-num, pr-mh-show)
3942         (pr-mh-start-of-uncleaned-message): Remove aliases only used to
3943         silence compiler.  Instead...
3944         (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
3945         (mh-show-buffer): Only define for compiler.
3946         (pr-mh-current-message): Update for above function name changes.
3948         * files.el (abort-if-file-too-large): Explicitly pass `filename'
3949         as an argument.
3950         (find-file-noselect, insert-file-1): Update for above change.
3952         * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
3954         * mail/mailclient.el (mailclient-send-it): Fix message.
3956         * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
3957         (edebug-eval): Check cl-debug-env is bound.
3958         (print-level, print-circle): Don't redefine built-in variables.
3960         * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
3961         (custom-print-vectors): Remove old comments from doc.
3963         * emerge.el (menu-bar-emerge-menu): Remove unused variable.
3964         (emerge-version): Make the variable an obsolete alias for the
3965         emacs-version variable.  Make the function obsolete.
3966         (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
3967         Emerge options, rather than merging in into the main Options menu.
3968         (emerge-options-menu): Adjust menu text.  Use buttons for skip prefers
3969         and auto advance modes.  Disable edit/fast items when not relevant.
3971 2009-07-20  Dan Nicolaescu  <dann@ics.uci.edu>
3973         * term/vt420.el (terminal-init-vt420): Fix typo.
3975 2009-07-20  Sam Steingold  <sds@gnu.org>
3977         * progmodes/ada-mode.el (compile-auto-highlight): Remove the
3978         variable (removed from compile.el on 2004-03-11).
3980 2009-07-20  Chong Yidong  <cyd@stupidchicken.com>
3982         * files.el (hack-local-variables-filter): Fix last change.
3984 2009-07-19  Juri Linkov  <juri@jurta.org>
3986         * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
3987         (dir-local-variables-alist): New buffer-local variable.
3988         (hack-local-variables-filter): If variable is not dir-local,
3989         i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
3990         because file-local overrides dir-local.
3991         (c-postprocess-file-styles)<declare-function>:
3992         Remove obsolete declaration.
3993         (hack-dir-local-variables): Add dir-local variable/value pair to
3994         `dir-local-variables-alist' and remove duplicates.  Doc fix.
3996         * help-fns.el (describe-variable): Add information about
3997         file-local and dir-local variables.
3999 2009-07-19  Chong Yidong  <cyd@stupidchicken.com>
4001         * files.el (hack-local-variables-filter): Rewrite.
4003 2009-07-19  Glenn Morris  <rgm@gnu.org>
4005         * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
4006         Silence compiler by only defining on XEmacs.
4008         * international/mule.el (auto-coding-regexp-alist): Only match
4009         BABYL... at the start of buffer, not of lines.  (Bug#3790)
4011         * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
4012         non-calendar buffers (Bug#3862).  Restore "not on a date" message.
4013         (cal-menu-context-mouse-menu): Doc fix.
4015         * desktop.el (desktop-buffers-not-to-save): Set :version tag.
4017         * simple.el (mail-user-agent): Doc fix.  Set :version tag.
4019 2009-07-18  Juri Linkov  <juri@jurta.org>
4021         * info.el: Virtual Info keyword finder.
4022         (add-to-list)<Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
4023         (Info-finder-file): New variable.
4024         (Info-finder-find-file): New function.
4025         (finder-known-keywords, finder-package-info)
4026         (find-library-name, lm-commentary): Use defvar and
4027         declare-function to silence compiler warnings.
4028         (Info-finder-find-node): New function.
4029         (info-finder): New command.
4031         * subr.el (process-kill-buffer-query-function): New function.
4032         (add-hook)<kill-buffer-query-functions>: Add hook
4033         `process-kill-buffer-query-function'.
4035 2009-07-18  Alan Mackenzie  <acm@muc.de>
4037         * progmodes/cc-mode.el (c-before-hack-hook)
4038         (c-postprocess-file-styles): Give invocation of `c-set-style'
4039         DONT-OVERRIDE parameter of t.  Already set style variables will
4040         thus not be overridden by style settings given by `c-file-syle'.
4042         * files.el (hack-local-variables-filter): Remove entries with
4043         duplicate keys from `file-local-variables-alist'.
4045 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
4047         * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
4048         x-set-selection if display-selections-p returns nil for the
4049         current frame.
4051 2009-07-18  Chong Yidong  <cyd@stupidchicken.com>
4053         * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
4055 2009-07-18  Eli Zaretskii  <eliz@gnu.org>
4057         * desktop.el (desktop-buffers-not-to-save): Default value is nil.
4058         Accept nil in addition to a regexp.
4059         (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
4060         Accept nil in addition to a regexp.
4061         (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
4062         buffers that have an associated file.  Handle nil values of
4063         desktop-buffers-not-to-save and desktop-files-not-to-save.
4064         (Bug#3833)
4066         * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
4067         (x-disown-selection-internal): New functions.
4069 2009-07-18  Nick Roberts  <nickrob@snap.net.nz>
4071         * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
4072         warning.
4073         (gdb-breakpoints-header): Move forward to avoid compiler warning.
4074         (gdb-make-header-line-mouse-map): Remove duplicate definition.
4076 2009-07-18  David De La Harpe Golden  <david@harpegolden.net>
4078         * simple.el (set-mark): Revert last change.
4080 2009-07-17  Tassilo Horn  <tassilo@member.fsf.org>
4082         * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
4083         rendering of pngs is not possible instead of messaging a long
4084         description.
4086 2009-07-17  David De La Harpe Golden  <david@harpegolden.net>
4088         * w32-fns.el (x-selection-owner-p): New function.
4090         * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
4091         (mouse-yank-at-click, mouse-yank-primary): If
4092         select-active-regions is non-nil, deactivate the mark before
4093         insertion.
4095         * simple.el (deactivate-mark, set-mark): Only save selection if we
4096         own it.
4098 2009-07-17  Kenichi Handa  <handa@m17n.org>
4100         * case-table.el (describe-buffer-case-table): Fix for the case
4101         that KEY is a cons.
4103 2009-07-16  Dan Nicolaescu  <dann@ics.uci.edu>
4105         * vc-rcs.el (vc-rcs-find-file-hook):
4106         * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
4108 2009-07-16  Michael Albinus  <michael.albinus@gmx.de>
4110         * net/tramp.el (tramp-wait-for-output): Handle the case when
4111         commands do not return a newline but a null byte before the shell
4112         prompt.  (Bug#3858)
4114 2009-07-16  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
4116         * term/ns-win.el (ns-set-alpha): Don't declare.
4117         (ns-set-background-alpha): Remove function.
4119 2009-07-16  Kevin Ryde  <user42@zip.com.au>
4121         * emacs-lisp/copyright.el (copyright-update): Save match-data across
4122         y-or-n-p, for safety.
4124 2009-07-16  Richard Stallman  <rms@gnu.org>
4126         * files.el (auto-save-mode): If buffer-saved-size is -2,
4127         don't clobber it.
4129         * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
4130         (rmail-retry-ignored-headers): Add more uninteresting fields.
4132 2009-07-15  Jari Aalto  <jari.aalto@cante.net>
4134         * net/rcirc.el (rcirc): Use history variables.
4135         (rcirc-server-name-history, rcirc-nick-name-history)
4136         (rcirc-server-port-history): New variables.
4138 2009-07-15  Kenichi Handa  <handa@m17n.org>
4140         * international/mule-cmds.el (set-language-environment-charset):
4141         If coding-system-charset-list returns `iso-2022' or `emacs-mule',
4142         ignore them.
4144         * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
4145         Delete unibyte-display.
4147 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
4149         * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
4151 2009-07-15  Chong Yidong  <cyd@stupidchicken.com>
4153         * simple.el (deactivate-mark): Optional argument FORCE.
4154         (set-mark): Use deactivate-mark.
4156         * info.el (Info-search): No need to check transient-mark-mode
4157         before calling deactivate-mark.
4159         * select.el (x-set-selection): Doc fix.
4160         (x-valid-simple-selection-p): Allow buffer values.
4161         (xselect--selection-bounds): Handle buffer values.  Suggested by
4162         David De La Harpe Golden.
4164         * mouse.el (mouse-set-region, mouse-drag-track): Call
4165         copy-region-as-kill before setting the mark, to let
4166         select-active-regions work.
4168 2009-07-15  David De La Harpe Golden  <david@harpegolden.net>
4170         * simple.el (deactivate-mark): If select-active-regions is
4171         non-nil, copy the selection data into a string.
4172         (activate-mark): If select-active-regions is non-nil, set the
4173         selection to the current buffer.
4174         (set-mark): Update selection if select-active-regions is non-nil.
4176         * select.el (x-valid-simple-selection-p): Allow buffer values.
4178 2009-07-14  Stefan Monnier  <monnier@iro.umontreal.ca>
4180         * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
4181         and more featureful message-mode.
4183 2009-07-14  Chong Yidong  <cyd@stupidchicken.com>
4185         * select.el (x-set-selection): Doc fix.
4186         (x-valid-simple-selection-p): Disallow selection data consisting
4187         of a list or cons of integers, since that is not used.
4188         (xselect--selection-bounds, xselect--int-to-cons): New functions.
4189         (xselect-convert-to-string, xselect-convert-to-length)
4190         (xselect-convert-to-filename, xselect-convert-to-charpos)
4191         (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
4193 2009-07-14  Dmitry Dzhus  <dima@sphinx.net.ru>
4195         * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
4196         output in -break-info command (Emacs bug #3794).
4198 2009-07-14  Glenn Morris  <rgm@gnu.org>
4200         * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
4201         (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
4202         (edebug-print-length, edebug-print-level, edebug-print-circle)
4203         (edebug-sit-for-seconds, edebug-view-outside)
4204         (edebug-bounce-point, edebug-set-global-break-condition)
4205         (edebug-Go-nonstop-mode, edebug-trace-mode)
4206         (edebug-Trace-fast-mode, edebug-continue-mode)
4207         (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
4208         (edebug-visit-eval-list): Doc fixes.
4210         * subr.el (def-edebug-spec): Doc fix.
4212 2009-07-14  Kenichi Handa  <handa@m17n.org>
4214         * international/characters.el: Fix setting of category ?C.
4216 2009-07-13  Jan Djärv  <jan.h.d@swipnet.se>
4218         * term/ns-win.el (x-select-font): defalias x-select-font to
4219         ns-popup-font-panel instead of generate-fontset-menu.
4221 2009-07-12  Eli Zaretskii  <eliz@gnu.org>
4223         * desktop.el (desktop-buffers-not-to-save): Remove ".log".  (Bug#3833)
4225 2009-07-12  Peter Jolly  <peter@jollys.org>  (tiny change)
4227         * arc-mode.el (archive-find-type): Allow for a PK00 string before
4228         the PK\003\004 header (Bug#3770).
4230 2009-07-12  Guanpeng Xu  <herberteuler@hotmail.com>
4232         * pcomplete.el (pcomplete-comint-setup): Check for
4233         shell-dynamic-complete-filename too.
4235 2009-07-11  Chong Yidong  <cyd@stupidchicken.com>
4237         * simple.el (temporary-goal-column): Change the value for
4238         line-move-visual to a cons cell.
4239         (line-move-visual): Record or set the window hscroll, if
4240         necessary (Bug#3494).
4241         (line-move-1): Handle cons value of temporary-goal-column.
4243 2009-07-11  Kenichi Handa  <handa@m17n.org>
4245         * international/mule-diag.el (describe-character-set): Don't show
4246         width.
4248 2009-07-10  Sam Steingold  <sds@gnu.org>
4250         * progmodes/compile.el (compilation-mode-font-lock-keywords):
4251         Omake sometimes indents the errors it prints, so allow all
4252         regexps to start with spaces.
4254 2009-07-10  Eli Zaretskii  <eliz@gnu.org>
4256         * cus-edit.el (customize-changed-options-previous-release):
4257         Bump value to 22.1.  (Bug#3804)
4259 2009-07-08  Sam Steingold  <sds@gnu.org>
4261         * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
4262         to be a cons cell (test . ignored-directory) to selectively ignore
4263         some directories depending on the location of the search.
4265 2009-07-08  Michael Albinus  <michael.albinus@gmx.de>
4267         * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
4268         remote user is root, on the local host.
4269         (tramp-local-host-p): Either the local user or the remote user
4270         must be root.  (Bug#3771)
4272 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
4274         * progmodes/gdb-mi.el (gdb): Remove description of
4275         gdb-use-separate-io-buffer.
4276         (menu): Don't allow toggling of or enable
4277         gdb-use-separate-io-buffer from menubar.
4279 2009-07-08  E. Jay Berkenbilt  <ejb@ql.org>  (tiny change)
4281         * mail/unrmail.el (unrmail): Make sure the message ends with two
4282         newlines (Bug#3769).
4284 2009-07-08  Glenn Morris  <rgm@gnu.org>
4286         * calendar/calendar.el (calendar-current-date): Rework previous change.
4288 2009-07-08  Ed Reingold  <reingold@emr.cs.iit.edu>
4290         * calendar/calendar.el (calendar-current-date):
4291         Add an optional argument giving an offset from today.
4293 2009-07-08  Glenn Morris  <rgm@gnu.org>
4295         * tutorial.el (tutorial--describe-nonstandard-key):
4296         Adjust the message for when a key has been unbound.
4297         (help-with-tutorial): Hide the arch-tag.
4299 2009-07-08  Kenichi Handa  <handa@m17n.org>
4301         * international/fontset.el (setup-default-fontset): For each
4302         script, append (not set) font-specs.
4304         * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
4305         docstring.
4307 2009-07-08  Nick Roberts  <nickrob@snap.net.nz>
4309         * progmodes/gdb-mi.el (gdb-init-1): Move sending
4310         -data-list-register-names to ...
4311         (gdb-starting): ... here because GDB 7.0 requires execution to
4312         have started when using this MI command.
4313         (gdb-set-header): New function to distinguish select and
4314         unselected tabs in gdb buffers.
4315         (gdb-propertize-header): New macro that uses gdb-set-header.
4316         (gdb-breakpoints-header, gdb-locals-header): Use it.
4317         (gdb-disassembly-mode-map): Add keybinding to kill buffer.
4319 2009-07-07  Chong Yidong  <cyd@stupidchicken.com>
4321         * Makefile.in (ELCFILES): Remove fadr.elc.
4323 2009-07-07  Dmitry Dzhus  <dima@sphinx.net.ru>
4325         * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
4326         may contain frame information, so `string-match' should be used.
4327         (gdb-update): Disassembly is invalidated through
4328         `gdb-get-selected-frame'.
4329         (gdb-pad-string): New function to pad string with spaces.
4330         (gdb-invalidate-disassembly): Invalidate only if the buffer
4331         exists.
4332         (gdb-disassembly-handler-custom): Column alignment.
4333         (gdb-disassembly-place-breakpoints): Clear old breakpoints before
4334         placing new ones.
4335         (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
4336         end of line, too.
4337         (gdb-frame-handler): Match convention to for disassembly buffer
4338         mode name.
4339         (gdb-stack-list-frames-handler): Rewritten without regexps.
4340         (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
4341         not highlight breakpoints without line information.
4342         (gdb-input): Add trailing newline to command.
4344         * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
4345         buffer properly.
4346         (gdb-breakpoints-list-handler-custom): Replacement for
4347         `gdb-break-list-handler'.  Using real parser instead of regexps
4348         now.
4349         (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
4350         Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
4351         to place breakpoints.
4352         (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
4353         functions.
4354         (gdb-disassembly-handler-custom): Show overlay arrow.
4355         (gdb-disassembly-place-breakpoints): Show breakpoints in
4356         disassembly buffer.
4357         (gdb-toggle-breakpoint, gdb-delete-breakpoint)
4358         (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
4359         instead of parsing breakpoints buffer.  Fixed old menu references
4360         in `gud-menu-map'.
4362         * fadr.el: Remove.
4364         * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
4365         (gdb-memory-address): New variable which holds top address of
4366         memory page shown in memory buffer.
4367         (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
4368         customization variables.
4369         New functions:
4370         (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
4371         display the memory buffer.
4372         (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
4373         buffer display parameters.
4374         (def-gdb-memory-format, gdb-memory-format-binary)
4375         (gdb-memory-format-octal, gdb-memory-format-unsigned)
4376         (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
4377         Functions for setting memory buffer format.
4378         (gdb-memory-unit-word, gdb-memory-unit-halfword)
4379         (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
4380         unit size used in memory buffer.
4381         (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
4382         to next/previous page of memory buffer.
4383         Now using (bindat-get-field) instead of fadr functions.
4385 2009-07-07  Sam Steingold  <sds@gnu.org>
4387         * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
4388         non-top-level files.
4390 2009-07-07  Kenichi Handa  <handa@m17n.org>
4392         * international/mule-cmds.el (reset-language-environment): Put
4393         the highset priority to the charset iso-8859-1.
4395 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
4397         * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
4398         to the end of the line when locating the block (Bug#700).
4400 2009-07-06  Michael Albinus  <michael.albinus@gmx.de>
4402         * net/tramp.el (tramp-handle-write-region): Flush file properties
4403         in case of short track.
4405 2009-07-06  Michael McNamara  <mac@mail.brushroad.com>
4407         * verilog-mode.el (verilog-error-regexp-emacs-alist): Coded custom
4408         representation of verilog error regular expressions to work with
4409         Emacs-22's new format.
4410         (verilog-error-regexp-xemacs-alist): Coded custom representation
4411         of verilog error regular expressions to work with XEmacs format.
4412         (verilog-error-regexp-add-xemacs): Hook routine to install verilog
4413         error recognition into XEmacs.
4414         (verilog-error-regexp-add-emacs): Hook routine to install verilog
4415         error recognition into Emacs-22.
4417 2009-07-06  Chong Yidong  <cyd@stupidchicken.com>
4419         * woman.el: Remove stand-alone closing parentheses.
4420         (woman-file-name, woman2-format-paragraphs)
4421         (woman-leave-blank-lines): Code cleanup.
4422         (woman-use-own-frame): Change default to nil.
4423         (woman-italic, woman-bold, woman-unknown, woman-addition): Change
4424         defaults to inherit from default faces.
4425         (woman2-process-escapes): Consume the newline after a stand-alone
4426         filler character (Bug#3651).
4428 2009-07-06  Glenn Morris  <rgm@gnu.org>
4430         * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
4431         (top-level): Move provide to the end.
4432         (ffap): Remove defunct URL from custom group.
4434         * subr.el (eval-after-load): Doc fix.
4436 2009-07-06  Vincent Belaïche  <vincent.belaiche@gmail.com>
4438         * calc/calc-embed.el (calc-embedded-make-info): Don't force when
4439         `calc-embedded-word' is called twice.
4441 2009-07-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4443         * files.el (find-alternate-file-other-window, find-alternate-file):
4444         Obey confirm-nonexistent-file-or-buffer.
4446 2009-07-05  Michael Albinus  <michael.albinus@gmx.de>
4448         * dired-aux.el (dired-show-file-type): Handle remote files.
4450 2009-07-05  Jari Aalto  <jari.aalto@cante.net>
4452         * desktop.el (desktop-globals-to-save):
4453         Add file-name-history (Bug#2750).
4455 2009-07-05  Chong Yidong  <cyd@stupidchicken.com>
4457         * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
4459 2009-07-04  Johan Bockgård  <bojohan@gnu.org>
4461         * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
4462         property on entire argument since this is what eshell-lisp-command
4463         expects.
4465 2009-07-03  Michael Albinus  <michael.albinus@gmx.de>
4467         * net/tramp-gvfs.el (tramp-gvfs-methods)
4468         (tramp-gvfs-zeroconf-domain)
4469         (tramp-bluez-discover-devices-timeout): Add version flag.
4470         (tramp-gvfs-handler-mounted-unmounted)
4471         (tramp-gvfs-connection-mounted-p): Polish handling of
4472         incompatibilities between GVFS 0.2 and 1.0.
4474 2009-07-03  Jan Djärv  <jan.h.d@swipnet.se>
4476         * cus-start.el (all): Add make-pointer-invisible.
4478 2009-07-03  Jay Belanger  <jay.p.belanger@gmail.com>
4480         * calc-math.el (math-use-emacs-fn): Make sure that the number is
4481         formatted correctly.
4483 2009-07-02  Juri Linkov  <juri@jurta.org>
4485         * info.el: Virtual Info files and nodes.
4486         (Info-virtual-files, Info-virtual-nodes): New variables.
4487         (Info-current-node-virtual): New variable.
4488         (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
4489         New functions.
4490         (Info-file-supports-index-cookies): Use Info-virtual-file-p
4491         to check for a virtual file instead of checking a fixed list
4492         of node names.
4493         (Info-find-file): Use Info-virtual-fun and Info-virtual-call
4494         instead of ad-hoc processing of "dir" and (apropos history toc).
4495         (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
4496         instead of ad-hoc processing of "dir" and (apropos history toc).
4497         Reread a file when moving from a virtual node.
4498         (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
4499         (Info-directory-toc-nodes, Info-directory-find-file)
4500         (Info-directory-find-node): New functions.
4501         (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
4502         (Info-history): Move part of code to
4503         `Info-history-find-node'.
4504         (Info-history-toc-nodes, Info-history-find-file)
4505         (Info-history-find-node): New functions.
4506         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
4507         (Info-toc): Move part of code to `Info-toc-find-node'.
4508         (Info-toc-find-node): New function.
4509         (Info-toc-insert): Rename from `Info-insert-toc'.  Don't insert
4510         the current Info file name to references because now the node
4511         "*TOC*" belongs to the same Info manual.
4512         (Info-toc-build): Rename from `Info-build-toc'.
4513         (Info-toc-nodes): Rename input argument `file' to `filename'.
4514         Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
4515         instead of ad-hoc processing of ("dir" apropos history toc).
4516         (Info-index-nodes): Use Info-virtual-file-p
4517         to check for a virtual file instead of checking a fixed list
4518         of node names.
4519         (Info-index-node): Add check for `Info-current-node-virtual'.
4520         Raise `save-match-data' higher up the tree to contain
4521         `search-forward' too (bug fix).
4522         (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
4523         (Info-virtual-index-nodes): New variable.
4524         (Info-virtual-index-find-node, Info-virtual-index): New functions.
4525         (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
4526         (Info-apropos-file, Info-apropos-nodes): New variables.
4527         (Info-apropos-toc-nodes, Info-apropos-find-file)
4528         (Info-apropos-find-node, Info-apropos-matches): New functions.
4529         (info-apropos): Move part of code to `Info-apropos-find-node' and
4530         `Info-apropos-matches'.
4531         (Info-mode-map): Bind "I" to `Info-virtual-index'.
4532         (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
4533         for a virtual file instead of checking a fixed list of node names.
4535         * simple.el (async-shell-command): New command.
4537         * bindings.el (esc-map): Bind "&" to `async-shell-command'.
4539         * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
4540         instead of `mount-info'.
4542 2009-07-02  Michael Albinus  <michael.albinus@gmx.de>
4544         * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
4545         (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
4547 2009-07-02  Kenichi Handa  <handa@m17n.org>
4549         * international/mule.el (set-keyboard-coding-system): Force *-unix
4550         coding-system to avoid eol conversion.
4552 2009-07-01  Michael Albinus  <michael.albinus@gmx.de>
4554         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4555         Add handler for `process-file', `shell-command' and
4556         `start-file-process'.
4557         (tramp-gvfs-handle-shell-command)
4558         (tramp-gvfs-handle-start-file-process)
4559         (tramp-gvfs-handle-process-file): New defuns.
4560         (tramp-synce-list-devices): Simplify check for existence of property.
4562 2009-07-01  Jan Djärv  <jan.h.d@swipnet.se>
4564         * startup.el (command-line-x-option-alist): Add -mm and --maximized.
4566 2009-07-01  Eduard Wiebe  <usenet@pusto.de>  (tiny change)
4568         * language/korean.el (set-language-info-alist): Add korean-cp949,
4569         cp949 to spec.
4571 2009-07-01  Kenichi Handa  <handa@m17n.org>
4573         * Makefile.in (ELCFILES): Delete encoded-kb.elc.
4575         * international/encoded-kb.el: Deleted.
4577         * international/mule.el (set-keyboard-coding-system): Perform the
4578         necessary setup here instead of calling encoded-kbd-setup-display.
4580 2009-07-01  Glenn Morris  <rgm@gnu.org>
4582         * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
4584 2009-07-01  Evangelos Evangelou  <vangelis@email.unc.edu>  (tiny change)
4586         * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)".  (Bug#3730)
4588 2009-06-30  Michael Albinus  <michael.albinus@gmx.de>
4590         * net/tramp.el (tramp-do-copy-or-rename-file-directly):
4591         Handle also the 'rename case, when setting file modes.  (Bug#3712)
4592         (tramp-default-file-modes) Remove execute permissions.
4594         * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
4595         (top): Add a default for "synce" in `tramp-default-user-alist'.
4596         Add completion function for "synce" method.
4597         (tramp-hal-service, tramp-hal-path-manager)
4598         (tramp-hal-interface-manager, tramp-hal-interface-device):
4599         New defconst.
4600         (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
4601         (tramp-synce-list-devices, tramp-synce-parse-device-names):
4602         New defuns.
4604         * net/trampver.el: Update release number.
4606 2009-06-30  Kenichi Handa  <handa@m17n.org>
4608         * international/fontset.el (setup-default-fontset): Add CJK fonts
4609         for symbols and the other miscellaneous characters.
4611         * language/korea-util.el (setup-korean-environment-internal):
4612         Make char-width-table suitable for Korean environments.
4613         (exit-korean-environment): Cancel above.
4615         * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
4616         ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
4617         setup-funcion to make char-widht-table suitable for respective
4618         environments, and an exit-function to cancel that.
4620         * language/japan-util.el (setup-japanese-environment-internal):
4621         Call use-cjk-char-width-table with arg `ja_JP'.
4623         * international/characters.el (cjk-char-width-table): Delete it.
4624         (cjk-char-width-table-list): New variable.
4625         (use-cjk-char-width-table): New arg local-name.
4626         (use-default-char-width-table): Fix for the case that Emacs is
4627         already using the default char-width-table.
4629 2009-06-29  Michael Albinus  <michael.albinus@gmx.de>
4631         * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
4632         modes mandatory.  (Bug#3712)
4634 2009-06-29  Alan Mackenzie  <acm@muc.de>
4636         * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
4637         correction between the visible width of TABs and their number of bytes.
4639 2009-06-29  Chong Yidong  <cyd@stupidchicken.com>
4641         * server.el (server-buffer-done): Prevent kill-buffer from
4642         prompting by clearing the buffer modification flag (Bug#3696).
4644 2009-06-28  Michael McNamara  <mac@mail.brushroad.com>
4646         * verilog-mode.el (verilog-beg-of-statement)
4647         (verilog-endcomment-reason-re): Support unique case and priority case.
4648         (verilog-basic-complete-re): Support localparam lineup.
4649         (verilog-beg-of-statement-1): Fix for robustness, unique case.
4650         (verilog-set-auto-endcomments): Fix for unique case, always_comb
4651         commenting.
4652         (verilog-leap-to-case-head): Now support *nested* unique &
4653         priority case statements.
4654         (verilog-auto-lineup): Make just declarations the default (as it
4655         had been).
4656         (verilog-leap-to-case-head): Support priority/unique case statements.
4657         (verilog-auto-lineup): Rework to give users radio buttons to
4658         select the various styles of automatic lineup.
4659         (verilog-error-regexp-alist): Rework to support the XEmacs style
4660         of error regular expressions from compilers, lint tools &
4661         simulators.  Note that GNU Emacs has made it impossible for a mode
4662         to load such things.
4663         (electric-verilog-terminate-line, verilog-indent-declaration)
4664         (verilog-auto-wiure): Rework for radio button selection of
4665         auto-lineup selection of specification of auto lineup.
4666         (verilog-beg-of-statement-1): Redesign to support proper operation
4667         in additional code, based on testing with auto-lineup.
4668         (verilog-calculate-indent, assignments & declarations)
4669         (verilog-backward-token): Enhance to support auto-lineup of
4670         assignments & declarations.
4671         (verilog-in-directive-p, verilog-at-struct-p): New function for
4672         easy test of whether we are.
4673         (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
4674         to support safe execution at almost anyline.
4675         (verilog-calc-1): Properly support indenting deep inside generate
4676         blocks.
4677         (verilog-init-font) Remove definition & use of verilog-init-font,
4678         as it is redundant with font-lock-defaults.
4679         (verilog-mode): Alter the definition of verilog-font-lock-defualts
4680         to avoid circular calls if syntax-ppss is a function (as is the
4681         case now in 22.x GNU Emacs) as that function would sometimes call
4682         itself, leading to (nearly) infinite recursion.
4683         (verilog-ovm-begin-re, verilog-ovm-end-re)
4684         (verilog-ovm-statement-re, verilog-leap-to-head)
4685         (verilog-backward-token): Add support for OVM macros.  Some are
4686         complete statements, and others open and close scopes like begin
4687         and end.
4688         (verilog-defun-level-not-generate-re, verilog-defun-level-re)
4689         (verilog-defun-level-generate-only-re): Really fix the defun-list
4690         compilation issue.
4691         (verilog-calc-1) (verilog-beg-of-statement): Enhance support for
4692         coverpoint, constraint and cross statements.
4693         (verilog-defun-level-list, verilog-generate-defun-level-list)
4694         (verilog-all-defun-level-list): Redo these specifications - it is
4695         too hard to support eval-when compile aggregation of lists also
4696         built at when-compile time.
4697         (verilog-defun-level-list): Place defconsts of variables used in
4698         building regular expressions which are built in eval-when-compile
4699         bodies in the same eval-when-compile body to facilitate compile
4700         without load.
4701         (verilog-beg-block-re-ordered): Support indenting
4702         virtual/protected tasks and functions.
4703         (verilog-defun-level-list, verilog-in-generate-region-p)
4704         (verilog-backward-ws&directives, verilog-calc-1): Speed up
4705         indentation of some module items (generate items).
4706         (verilog-forward-sexp, verilog-leap-to-head): Support stepping
4707         across virtual/protected tasks and functions.
4709 2009-06-28  Wilson Snyder  <wsnyder@wsnyder.org>
4711         * verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
4712         Allow sorting AUTOARG lists.  Suggested by Andrea Fedeli.
4713         (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
4714         in concatenations.  Reported by Yishay Belkind.
4715         (verilog-auto-ascii-enum): Support one-hot state machines in
4716         AUTOASCIIENUM.  Suggested by Lloyd Gomez.
4717         (verilog-auto-inst, verilog-auto-inst-port): Include interface
4718         modport in AUTOINST and add vl-modport for users.  Reported by
4719         David Rogoff.
4720         (verilog-auto-inout-module, verilog-auto-inst)
4721         (verilog-decls-get-interfaces, verilog-insert-definition)
4722         (verilog-insert-one-definition, verilog-read-decls)
4723         (verilog-read-sub-decls, verilog-read-sub-decls-sig)
4724         (verilog-sig-modport, verilog-signals-combine-bus)
4725         (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
4726         interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
4727         Suggested by David Rogoff.
4728         (verilog-repair-open-comma): Fix non-insertion of comma when
4729         `DEFINE occurs in V2K argument list.  Reported by Lane Brooks.
4730         (verilog-make-width-expression): Simplify [A-1:0] expression
4731         widths to just {A{1'b0}}.
4732         (verilog-mode): Cleanup checkdoc warnings.
4733         (verilog-auto-inout-module, verilog-signals-matching-dir-re):
4734         Add third optional regexp to AUTOINOUTMODULE to allow selecting only
4735         inputs/outputs or data type.  Suggested by Vasu Kandadi.
4736         (next-error-last-buffer): Fix byte-compiler warning.
4737         (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
4738         (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
4739         or shell command text during AUTO expansion.  Suggested by Tad Truex.
4740         (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
4741         (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
4742         Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
4743         in AUTOINOUT.  Reported by Matthew Lovell.
4744         (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
4745         causing use of <= assignments.  Reported by Alex Reed.
4746         (verilog-read-decls): Fix triand, trior, wand, wor to be
4747         recognized by AUTOWIRE.  Reported by Spencer Isaacson.
4748         (verilog-extended-complete-re): Support import "DPI-C" functions.
4749         (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
4750         y[a+1:a+1]" to not include a in reset list.  Reported by Dan Dever.
4751         (verilog-insert-date, verilog-insert-year)
4752         (verilog-sk-header-tmpl): Fix verilog-header inserting error on
4753         Windows systems.  Reported by Michael Potts.
4754         (verilog-read-module-name): Fix AUTOINST when the child module
4755         declaration's name is a tick define.  Reported by Elliot Mednick.
4756         (verilog-read-decls): Fix V2K parameter bit subscripts getting
4757         passed to next parameter's definition.  Reported by Bruce T.
4758         (verilog-read-decls): Fix detecting "parameter int" when using
4759         AUTOINSTPARAM.  Reported by Bruce T.
4760         (verilog-goto-defun): Fix goto not finding modules unless first
4761         perform a verilog-auto expansion.  Suggested by Lawrence Butcher.
4762         (verilog-mode): Expand -f flag arguments on entry to mode so
4763         verilog-goto-defun will work.  Reported by Lawrence Butcher.
4764         (verilog-getopt): Expand environment variables in -f file
4765         arguments.  Suggested by Lawrence Butcher.
4766         (verilog-set-define): Fix "Symbol's value as variable is void"
4767         when reading enumerations.
4768         (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
4769         Suggested by Stephen Peltan.
4770         (verilog-read-defines): Fix reading of enumerations in include
4771         files.  Reported by Steve Peltan.
4773 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
4775         * files.el (trash-directory): Fix defcustom type.
4777 2009-06-28  Juri Linkov  <juri@jurta.org>
4779         * help-fns.el (describe-function-1): Correctly locate adviced
4780         functions in hyperlink (Bug#2438).
4782 2009-06-28  Chong Yidong  <cyd@stupidchicken.com>
4784         * files.el (trash-directory): Change default to nil.
4785         (move-file-to-trash): If trash-directory is nil and
4786         system-move-file-to-trash is unbound, perform freedesktop-style
4787         trashing.
4789 2009-06-28  David De La Harpe Golden  <david@harpegolden.net>
4791         * files.el (move-file-to-trash): Add freedesktop trash
4792         support (Bug#973).
4794 2009-06-28  Glenn Morris  <rgm@gnu.org>
4796         * autorevert.el (global-auto-revert-non-file-buffers)
4797         (global-auto-revert-mode): Doc fixes.
4799 2009-06-27  Johan Bockgård  <bojohan@gnu.org>
4801         * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
4803 2009-06-27  Chong Yidong  <cyd@stupidchicken.com>
4805         * faces.el (x-handle-named-frame-geometry): Ensure that we have
4806         opened an X connection before calling x-get-resource (Bug#3194).
4808         * play/doctor.el: Remove reference to obsolete website.
4809         (make-doctor-variables): Correct grammar mistake (Bug#2633).
4811 2009-06-26  Dan Nicolaescu  <dann@ics.uci.edu>
4813         Remove find-file-not-found-hook VC method.  (Bug#2757)
4814         * vc-hooks.el (vc-file-not-found-hook)
4815         (vc-default-find-file-not-found-hook): Remove functions.
4816         (find-file-not-found-functions): Do not add vc-file-not-found-hook.
4817         * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
4818         * vc.el:
4819         * vc-hg.el:
4820         * vc-git.el: Do not mention find-file-not-found-hook VC method.
4822 2009-06-25  Agustín Martín  <agustin.martin@hispalinux.es>
4824         * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
4825           compatibility function for `looking-back'.
4827         * textmodes/flyspell.el (sgml-mode-flyspell-verify):
4828         Use `ispell-looking-back'.
4830 2009-06-24  Michael Albinus  <michael.albinus@gmx.de>
4832         * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
4833         rather than `filename'.
4835 2009-06-23  Miles Bader  <miles@gnu.org>
4837         * face-remap.el (text-scale-set): New function.
4839 2009-06-23  Glenn Morris  <rgm@gnu.org>
4841         * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
4843         * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
4845         * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
4847         * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
4849         * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
4850         Simplify Persian conditionals.
4852         * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
4853         variable `filename'.
4855         * comint.el (comint-insert-input): Doc fix.
4857         * Makefile.in (ELCFILES): Fix typo in previous change.
4859 2009-06-23  Miles Bader  <miles@gnu.org>
4861         * cus-start.el: Add entry for `recenter-redisplay'.
4863 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
4865         * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
4866         Add an optional argument for the backend, use it instead of
4867         calling vc-backend.
4868         (vc-mode-line): Add an optional argument for the backend.
4869         Pass the backend to vc-state and vc-working-revision.  Move code for
4870         special handling for vc-state being a buffer to ...
4872         * vc-rcs.el (vc-rcs-find-file-hook):
4873         * vc-sccs.el (vc-sccs-find-file-hook): ... here.  New functions.
4875         * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
4876         (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
4877         vc-stay-local-p and vc-mode-line calls.
4879         * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
4880         (vc-cvs-diff, vc-cvs-annotate-command)
4881         (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
4882         (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
4883         vc-mode-line calls.
4885         * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
4886         direct comparison.
4887         (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
4888         backend when calling vc-mode-line.
4889         (vc-register): Do not create a closure for calling the vc register
4890         function, call it directly.
4892 2009-06-23  Dan Nicolaescu  <dann@ics.uci.edu>
4894         * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
4895         to make it obvious item can be clicked.
4897         * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
4899 2009-06-23  Kenichi Handa  <handa@m17n.org>
4901         * language/korea-util.el (korean-key-bindings): Change the binding
4902         of F9 to hangul-to-hanja-conversion.  Bind Hangul_Hanja to the
4903         same command.
4905 2009-06-22  Michael Albinus  <michael.albinus@gmx.de>
4907         Sync with Tramp 2.1.16.
4909         * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
4911         * net/tramp.el (top): Require tramp-gvfs.  Catch `tramp-loading',
4912         when a loading of a package fails.  Completion function for rsync
4913         is `tramp-completion-function-alist-ssh'.
4914         (all): Replace all calls of `split-string' and
4915         `tramp-split-string' by `tramp-compat-split-string'.
4916         (tramp-default-method): Use `tramp-compat-process-running-p'.
4917         (tramp-default-proxies-alist): Allow also Lisp forms.
4918         (tramp-remote-path): Add choice "Private Directories".
4919         (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
4920         (tramp-domain-regexp): Allow also "-", "_" and ".".
4921         (tramp-end-of-output): Remove newlines, and add "$" at the end.
4922         (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
4923         (tramp-debug-message): Insert header line in debug buffer.
4924         (tramp-handle-directory-files-and-attributes-with-stat):
4925         Care about filenames with spaces, or starting with "-".
4926         (tramp-handle-dired-uncache): New defun.
4927         (tramp-handle-insert-directory): Don't flush the directory from
4928         cache, this is handled by `dired-uncache' now.
4929         (tramp-handle-insert-file-contents): Improve error handling.
4930         (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4931         Quote `tramp-end-of-output'.
4932         (tramp-action-password): Improve trace message.
4933         (tramp-check-for-regexp): Both echoes must be present, before removing.
4934         (tramp-open-connection-setup-interactive-shell): Trace coding system.
4935         (tramp-compute-multi-hops): Eval cons cells of
4936         `tramp-default-proxies-alist'.
4937         (tramp-maybe-open-connection): Use the same command pattern for
4938         first hop and further hops.
4939         (tramp-wait-for-output): Remove handling of newlines.
4940         (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
4941         (tramp-split-string): Remove function.  It is handled in
4942         tramp-compat now.
4944         * net/tramp-cmds.el (tramp-bug):
4945         Recommend `tramp-cleanup-all-connections' in the bug mail.
4947         * net/tramp-compat.el (tramp-compat-split-string)
4948         (tramp-compat-process-running-p): New defuns.
4950         * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
4951         for `dired-uncache'.
4953         * net/tramp-gvfs.el: New package.
4955         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4956         Add handler for `dired-uncache'.
4957         (tramp-smb-handle-file-local-copy): Cleanup in case of error.
4959         * net/trampver.el: Update release number.  Make version check fit
4960         for SXEmacs 22.
4962 2009-06-22  Jim Meyering  <meyering@redhat.com>
4964         Automatically handle .xz suffix (XZ-compressed files), too.
4965         * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
4966         XZ is the successor to LZMA: <http://tukaani.org/xz/>
4968 2009-06-22  Dmitry Dzhus  <dima@sphinx.net.ru>
4969             Nick Roberts  <nickrob@snap.net.nz>
4971         * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
4972         repository (http://sphinx.net.ru/hg/gdb-mi/).
4974 2009-06-22  Glenn Morris  <rgm@gnu.org>
4976         * files.el (dir-locals-collect-mode-variables): Allow for any number of
4977         `mode' and `eval' entries.  (Bug#3430)
4979         * Makefile.in (ELCFILES): Add fadr.elc.
4981         * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
4982         differing behavior of \n and ^ in strings.  (Bug#3385)
4984         * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
4986         * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
4987         property.
4988         (lisp-indent-function): Make it a defcustom.
4990 2009-06-21  Nick Roberts  <nickrob@snap.net.nz>
4992         * progmodes/gdb-ui.el: Replace with ...
4993         * progmodes/gdb-mi.el: ... this file.
4994         * progmodes/gud.el: Modify for gdb-mi.el.
4996 2009-06-21  Dmitry Dzhus  <dima@sphinx.net.ru>
4998         * fadr.el: New file.
5000 See ChangeLog.14 for earlier changes.
5002 ;; Local Variables:
5003 ;; coding: utf-8
5004 ;; End:
5006     Copyright (C) 2009  Free Software Foundation, Inc.
5008   This file is part of GNU Emacs.
5010   GNU Emacs is free software: you can redistribute it and/or modify
5011   it under the terms of the GNU General Public License as published by
5012   the Free Software Foundation, either version 3 of the License, or
5013   (at your option) any later version.
5015   GNU Emacs is distributed in the hope that it will be useful,
5016   but WITHOUT ANY WARRANTY; without even the implied warranty of
5017   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
5018   GNU General Public License for more details.
5020   You should have received a copy of the GNU General Public License
5021   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.
5023 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1