1 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
3 * international/charprop.el:
4 * international/uni-bidi.el:
5 * international/uni-category.el:
6 * international/uni-combining.el:
7 * international/uni-comment.el:
8 * international/uni-decimal.el:
9 * international/uni-decomposition.e:
10 * international/uni-digit.el:
11 * international/uni-lowercase.el:
12 * international/uni-mirrored.el:
13 * international/uni-name.el:
14 * international/uni-numeric.el:
15 * international/uni-old-name.el:
16 * international/uni-titlecase.el:
17 * international/uni-uppercase.el:
18 Regenerate from Unicode 5.2.0 data.
20 2009-10-01 Glenn Morris <rgm@gnu.org>
22 * Makefile.in (ELCFILES): Regenerate.
24 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
26 * subr.el (interactive-p): Mark obsolete.
27 (called-interactively-p): Make the optional-ness of `kind' obsolete.
28 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
29 advertised-signature-table for subroutines as well.
31 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
32 (set-advertised-calling-convention): New function.
33 (make-obsolete, define-obsolete-function-alias)
34 (make-obsolete-variable, define-obsolete-variable-alias):
35 Make the optional-ness of `when' obsolete.
36 (define-obsolete-face-alias): Make `when' non-optional.
37 * help-fns.el (help-function-arglist):
38 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
39 Use advertised-signature-table.
41 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
43 * files.el (delete-directory): New defun. The original function
44 in fileio.c has been renamed to `delete-directory-internal'.
46 * dired.el (dired-delete-file): Call `delete-directory' with
49 * net/ange-ftp.el (ange-ftp-delete-directory ): Add optional
50 parameter RECURSIVE. Implementation is missing.
52 * net/tramp.el (tramp-handle-make-directory): Flush upper
53 directory's file properties.
54 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
55 (tramp-handle-dired-recursive-delete-directory): Flush directory
56 properties after the remove command only.
58 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
59 Handle optional parameter RECURSIVE.
61 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
62 Handle optional parameter RECURSIVE.
64 * net/tramp-smb.el (tramp-smb-errors): Add error message for
66 (tramp-smb-handle-delete-directory): Handle optional parameter
69 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
71 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
72 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
73 (byte-compile-defmacro): Use backquotes.
75 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
77 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
78 has no associated file.
79 (vc-resynch-buffer): Use vc-dir-buffers.
81 2009-10-01 Glenn Morris <rgm@gnu.org>
83 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
85 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
86 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
87 * emacs-lisp/eieio-opt.el (eieio-describe-class):
88 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
89 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
90 (eieio-copy-parents-into-subclass, make-instance, class-children)
92 * cedet/cedet-files.el (cedet-directory-name-to-file-name):
93 * cedet/cedet-idutils.el (cedet-idutils-search)
94 (cedet-idutils-expand-filename, cedet-idutils-support-for-directory)
95 (cedet-idutils-version-check):
96 * cedet/cedet.el (cedet-version):
97 * cedet/data-debug.el (data-debug-insert-overlay-button)
98 (data-debug-insert-overlay-list-button)
99 (data-debug-insert-buffer-button)
100 (data-debug-insert-buffer-list-button)
101 (data-debug-insert-process-button, data-debug-insert-ring-button)
102 (data-debug-insert-widget, data-debug-insert-stuff-list-button)
103 (data-debug-insert-stuff-vector-button)
104 (data-debug-insert-symbol-button, data-debug-insert-string)
105 (data-debug-insert-number, data-debug-insert-lambda-expression)
106 (data-debug-insert-nil, data-debug-insert-simple-thing)
107 (data-debug-insert-custom, data-debug-edebug-expr):
108 * cedet/ede.el (ede-auto-add-method, ede-project-class-files)
109 (global-ede-mode-map, ede-new, ede-debug-target)
110 (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set):
111 * cedet/semantic.el (semantic-minimum-working-buffer-size)
112 (semantic-fetch-tags, semantic-submode-list)
113 (semantic-default-submodes):
114 * cedet/ede/source.el (ede-source-match):
115 * cedet/ede/project-am.el (project-am-type-alist, project-add-file)
116 (project-am-package-info):
117 * cedet/ede/proj.el (ede-proj-target, project-new-target):
118 * cedet/ede/proj-elisp.el (ede-proj-tweak-autoconf):
119 * cedet/ede/proj-comp.el (ede-current-build-list):
120 * cedet/ede/makefile-edit.el (makefile-move-to-macro):
121 * cedet/ede/files.el (ede-toplevel-project-or-nil):
122 * cedet/ede/cpp-root.el (initialize-instance):
123 * cedet/ede/autoconf-edit.el (autoconf-find-last-macro)
124 (autoconf-parameter-strip, autoconf-insert-new-macro):
125 * cedet/semantic/wisent.el (wisent-lex-eoi):
126 * cedet/semantic/util-modes.el (global-semantic-show-parser-state-mode)
127 (semantic-show-parser-state-mode):
128 * cedet/semantic/texi.el (semantic-texi-environment-regexp):
129 * cedet/semantic/tag.el (semantic-tag-new-variable)
130 (semantic-tag-class, semantic-tag-new-variable, semantic-tag-copy)
131 (semantic--tag-deep-copy-attributes, semantic--tag-deep-copy-value)
132 (semantic--tag-deep-copy-tag-list)
133 (semantic-tag-components-with-overlays-default):
134 * cedet/semantic/symref.el (semantic-symref-find-text):
135 * cedet/semantic/senator.el (senator-yank-tag)
136 (senator-transpose-tags-up):
137 * cedet/semantic/scope.el (semantic-analyze-scoped-tags-default)
138 (semantic-analyze-scoped-inherited-tags, semantic-scope-find):
139 * cedet/semantic/sb.el (semantic-sb-autoexpand-length):
140 * cedet/semantic/lex.el (semantic-lex-comment-regex)
141 (semantic-lex-maximum-depth, define-lex, semantic-lex-token)
142 (semantic-lex-unterminated-syntax-protection, define-lex-analyzer):
143 * cedet/semantic/lex-spp.el
144 (semantic-lex-spp-dynamic-macro-symbol-obarray-stack)
145 (semantic-lex-spp-symbol, semantic-lex-spp-one-token-to-txt):
146 * cedet/semantic/idle.el
147 (semantic-idle-summary-current-symbol-info-brutish)
148 (semantic-idle-summary-current-symbol-info-default):
149 * cedet/semantic/grammar.el (semantic-grammar-recreate-package)
150 (semantic--grammar-macro-compl-dict):
151 * cedet/semantic/grammar-wy.el (semantic-grammar-wy--parse-table):
152 * cedet/semantic/format.el (semantic-format-tag-custom-list)
153 (semantic-format-tag-canonical-name-default):
154 * cedet/semantic/find.el (semantic-find-tag-by-overlay-in-region)
155 (semantic-find-tags-for-completion)
156 (semantic-find-tags-by-scope-protection-default)
157 (semantic-deep-find-tags-for-completion):
158 * cedet/semantic/edit.el
159 (semantic-edits-incremental-reparse-failed-hook)
160 (semantic-edits-verbose-flag, semantic-edits-assert-valid-region)
161 (semantic-edits-splice-remove, semantic-edits-splice-replace):
162 * cedet/semantic/doc.el (semantic-documentation-comment-preceeding-tag):
163 * cedet/semantic/dep.el (semantic-dependency-include-path):
164 * cedet/semantic/db.el (semanticdb-default-find-index-class)
165 (semanticdb-match-any-mode, semanticdb-with-match-any-mode)
166 (semanticdb-project-roots):
167 * cedet/semantic/db-find.el (semanticdb-implied-include-tags)
168 (semanticdb-find-adebug-insert-scanned-tag-cons)
169 (semanticdb-find-log-buffer-name, semanticdb-find-result-mapc)
170 (semanticdb-brute-deep-find-tags-for-completion):
171 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-add-tree-to-table):
172 * cedet/semantic/ctxt.el (semantic-beginning-of-context-default)
173 (semantic-end-of-context-default)
174 (semantic-ctxt-current-function-default)
175 (semantic-ctxt-scoped-types-default):
176 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
177 (semantic-complete-inline-tag-engine)
178 (semantic-complete-inline-custom-type)
179 (semantic-complete-read-tag-analyzer):
180 * cedet/semantic/chart.el (semantic-chart-tags-by-class)
181 (semantic-chart-database-size):
182 * cedet/semantic/analyze.el (semantic-analyze-current-symbol)
183 (semantic-analyze-current-context):
184 * cedet/semantic/symref/list.el (semantic-symref)
185 (semantic-symref-hide-buffer, semantic-symref-symbol):
186 * cedet/semantic/symref/grep.el (semantic-symref-grep-use-template):
187 * cedet/semantic/symref/filter.el (semantic-symref-hits-in-region):
188 * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string):
189 * cedet/semantic/bovine/c.el (semantic-lex-c-preprocessor-symbol-map)
190 (semantic-c-parse-token-hack-depth, semantic-c--template-name-1)
191 (semantic-c-dereference-template):
192 * cedet/semantic/analyze/refs.el (semantic--analyze-refs-full-lookup)
193 (semantic--analyze-refs-full-lookup-with-parents)
194 (semantic--analyze-refs-full-lookup-simple):
195 * cedet/semantic/analyze/complete.el
196 (semantic-analyze-possible-completions):
197 * cedet/srecode/table.el (srecode-mode-table-new):
198 * cedet/srecode/srt.el (srecode-read-variable-name):
199 * cedet/srecode/srt-mode.el (srecode-macro-help, srecode-in-macro-p):
200 * cedet/srecode/semantic.el (srecode-semantic-handle-:tag)
201 (srecode-semantic-handle-:tagtype, srecode-semantic-insert-tag):
202 * cedet/srecode/map.el (srecode-current-map):
203 * cedet/srecode/insert.el (srecode-insert)
204 (srecode-insert-variable-secondname-handler, srecode-insert-method)
205 (srecode-template-inserter-point-override)
206 (srecode-insert-include-lookup):
207 * cedet/srecode/getset.el (srecode-auto-choose-class):
208 * cedet/srecode/extract.el (srecode-inserter-extract):
209 * cedet/srecode/document.el
210 (srecode-document-autocomment-return-last-alist)
211 (srecode-document-autocomment-param-type-alist)
212 (srecode-document-insert-function-comment)
213 (srecode-document-insert-variable-one-line-comment)
214 (srecode-document-function-name-comment):
215 * cedet/srecode/dictionary.el (srecode-create-dictionary)
216 (srecode-compound-toString):
217 * cedet/srecode/compile.el (srecode-flush-active-templates):
218 * cedet/srecode/args.el (srecode-semantic-handle-:blank):
221 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
222 match-data. (Bug#4555).
224 * cedet/semantic/bovine/gcc.el
225 (semantic-c-reset-preprocessor-symbol-map): Fix declaration.
226 (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes.
228 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
229 rather than parsing it as a regexp. This relaxes the layout
230 requirements and makes errors easier to detect.
231 (check-declare-verify): Check file is regular.
232 (check-declare-directory): Doc fix.
233 * subr.el (declare-function): Doc fix.
235 * ibuffer.el (ibuffer-format-qualifier):
236 * isearch.el (hi-lock-regexp-okay):
237 * calc/calc.el (math-zerop):
238 * mail/uce.el (rmail-msgbeg, rmail-msgend):
239 * term/w32-win.el (setup-default-fontset, set-fontset-font):
240 Remove unused declarations.
242 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
244 * cedet/semantic/wisent/javat-wy.el
245 (wisent-java-tags-wy--keyword-table): Use \000 instead of literal ^@.
247 2009-09-30 Juanma Barranquero <lekktu@gmail.com>
249 * cedet/srecode/expandproto.el: Fix provide statement.
251 2009-09-30 Eric Ludlam <zappo@gnu.org>
253 * emacs-lisp/eieio.el (boolean-p): Delete.
255 2009-09-30 Sascha Wilde <wilde@sha-bang.de>
257 * cedet/ede/srecode.el: Fix provide statement.
259 2009-09-30 Glenn Morris <rgm@gnu.org>
261 * cedet/ede/proj.el (ede-proj-target-makefile-miscelaneous):
262 * cedet/ede/proj-aux.el (ede-aux-source):
263 * cedet/ede/proj-misc.el (ede-proj-target-makefile-miscelaneous)
265 * cedet/semantic/mru-bookmark.el (semantic-mrub-completing-read)
266 (semantic-mrub-switch-tags): Fix doc typos.
268 * cedet/semantic/db-global.el (data-debug-new-buffer)
269 (data-debug-insert-thing): Remove unneeded declarations (one broken).
270 (semanticdb-enable-gnu-global-databases): Fix prompt typo.
272 * cedet/semantic/analyze/fcn.el (semantic-scope-find): Fix declaration.
274 * cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime
275 use of CL function `remove-if-not'.
277 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
279 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
280 filename is not a string.
282 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
284 * files.el (safe-local-eval-forms): Fix typo.
286 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
288 * vc-hooks.el (vc-dir-buffers): New var.
289 (vc-state-refresh): New function.
291 (vc-after-save): Always ask the backend to recompute the new state.
292 Always call vc-dir if necessary, using vc-dir-buffers.
293 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
295 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
296 (vc-dir-prepare-status-buffer, vc-dir-update)
297 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
298 Don't call expand-file-name on default-directory.
300 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
302 * speedbar.el (speedbar-item-delete):
303 * calc/calc-prog.el (calc-kbd-if):
304 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
306 * epa.el (epa-key-list-mode-map):
307 * hi-lock.el (hi-lock-menu): Fix typos in menus.
309 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
310 (hs-show-hook): Fix typo in docstring.
312 2009-09-29 Glenn Morris <rgm@gnu.org>
314 * cedet/semantic/symref/idutils.el:
315 * cedet/semantic/symref/list.el: Relicense under GPLv3+.
317 * cedet/ede/srecode.el (srecode-resolve-arguments): Fix declaration.
319 * cedet/semantic/complete.el (semantic-displayor-focus-abstract-child-p):
320 * cedet/semantic/tag-file.el (semanticdb-table-child-p):
321 * cedet/srecode/compile.el (srecode-template-inserter-newline-child-p):
322 Mark declarations not understood by check-declare.
324 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
325 file-name-nondirectory call preventing location of cedet files.
326 (check-declare-verify): Use literal search rather than re-search.
327 Add basic defmethod and defclass, and define-overloadable-function.
329 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
330 Use tramp-compat-file-attributes rather than nonexistent
331 tramp-compat-handle-file-attributes.
333 * Makefile.in (lisptagsfiles4): New.
334 (AUTOGENEL): Add cedet loaddefs files.
335 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
336 (update-elclist, compile-always, backup-compiled-files)
337 (bootstrap-clean): Add yet another directory level.
338 (update-elclist): Use LC_COLLATE rather than COLLATE.
339 (ELCFILES): Update, via `make update-elclist'.
341 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
343 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
344 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
345 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
347 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
349 * Makefile.in (lisptagsfiles3): Define.
350 (TAGS, TAGS-LISP): Use it.
351 (update-elclist): Add third directory level to look for elc files.
352 (compile-always): Likewise.
353 (backup-compiled-files): Likewise.
354 (bootstrap-clean): Likewise.
357 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
359 * Makefile.in (ELCFILES): Add CEDET files.
361 2009-09-28 Eric Ludlam <zappo@gnu.org>
363 CEDET (development tools) package merged.
367 * cedet/semantic/*.el:
368 * cedet/srecode/*.el: New files.
370 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
372 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
374 * net/tramp.el (top): Require tramp-imap.
376 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
377 Use `tramp-compat-handle-file-attributes'.
379 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
381 * net/tramp-imap.el: New package.
383 2009-09-28 Eric Ludlam <zappo@gnu.org>
385 * emacs-lisp/chart.el:
386 * emacs-lisp/eieio-base.el:
387 * emacs-lisp/eieio-comp.el:
388 * emacs-lisp/eieio-custom.el:
389 * emacs-lisp/eieio-datadebug.el:
390 * emacs-lisp/eieio-opt.el:
391 * emacs-lisp/eieio-speedbar.el:
392 * emacs-lisp/eieio.el: New files.
394 * cedet/cedet-cscope.el:
395 * cedet/cedet-files.el:
396 * cedet/cedet-global.el:
397 * cedet/cedet-idutils.el:
398 * cedet/data-debug.el:
399 * cedet/inversion.el:
400 * cedet/mode-local.el:
401 * cedet/pulse.el: New files.
403 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
405 * whitespace.el (whitespace-trailing-regexp)
406 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
409 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
411 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
414 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
417 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
418 define-overloadable-function.
420 * progmodes/autoconf.el: Provide autoconf as well, so that this
421 file can be `require'd.
423 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
425 * emacs-lisp/autoload.el (generated-autoload-feature)
426 (generated-autoload-load-name): New vars.
427 (autoload-rubric, autoload-generate-file-autoloads): Use them.
428 (make-autoload): Recognize define-overloadable-function and
429 defclass forms (for EIEIO).
431 * Makefile.in (update-subdirs): Exclude cedet directory.
433 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
435 * term/ns-win.el: Don't set the region face background. (Bug#4381)
437 * faces.el: Default light-background background for region face to
438 ns_selection_color under NS.
440 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
442 * net/imap-hash.el: New library, see NEWS.
444 * Makefile.in (ELCFILES): Add imap-hash.el.
446 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
448 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
449 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
450 * help-macro.el (make-help-screen): Avoid using an ambiguous function
451 definition where the docstring could be taken for the return value.
453 2009-09-26 Glenn Morris <rgm@gnu.org>
455 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
456 Add option to only show images below a certain size.
457 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
458 save-excursion calls.
460 2009-09-26 Eli Zaretskii <eliz@gnu.org>
462 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
463 subdirectories) and eieio.
465 2009-09-26 Alan Mackenzie <acm@muc.de>
467 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
470 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
471 character constants (as case labels).
473 2009-09-25 Juri Linkov <juri@jurta.org>
475 * files.el (safe-local-eval-forms): Allow time-stamp in
476 before-save-hook (Bug#4554).
478 2009-09-25 Drew Adams <drew.adams@oracle.com>
480 * menu-bar.el (list-buffers-directory): Doc fix.
482 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
484 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
485 Try and avoid copying twice the same paragraph.
486 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
487 Remove save-excursion.
488 (log-edit-changelog-entry): Do it here instead.
490 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
492 * bs.el (bs--get-file-name): Use `list-buffers-directory'
493 when available, instead of hardcoding mode names. Doc fix.
495 * menu-bar.el (list-buffers-directory): Add docstring.
496 Make automatically buffer-local.
498 * dired.el (dired-mode):
499 * files.el (cd-absolute):
500 * pcvs.el (cvs-temp-buffer):
501 * pcvs-util.el (cvs-get-buffer-create):
502 * shell.el (shell-mode):
503 * vc-dir.el (vc-dir-mode):
504 Don't make `list-buffers-directory' buffer local.
506 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
508 * comint.el (comint-exec, comint-run, make-comint):
509 Doc fixes (Bug#4542).
511 2009-09-25 Glenn Morris <rgm@gnu.org>
513 * mail/rmailmm.el (rmail-mime): New custom group.
514 Move all defcustoms in this file into this group.
515 (rmail-mime-media-type-handlers-alist): Revert previous change.
516 (rmail-mime-show-images): New option.
517 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
518 references to it, since it wasn't actually used for anything.
519 (rmail-mime-insert-image): New function.
520 (rmail-mime-image): Use rmail-mime-insert-image.
521 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
522 obey the value of `rmail-mime-show-images' option. Print the size of
525 2009-09-25 David Engster <deng@randomsample.de>
527 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
529 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
531 * whitespace.el: Does not highlight trailing spaces While point is
532 at end of line. Does not highligt spaces at beginning of buffer
533 while point is at beginning of buffer. Does not highlight spaces
534 at end of buffer while point is at end of buffer. (Bug#4177)
536 (whitespace-display-mappings): Adjust initialization.
537 (whitespace-point, whitespace-font-lock-refontify): New vars.
538 (whitespace-color-on, whitespace-color-off): Adjust code.
539 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
540 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
541 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
543 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
545 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
547 * textmodes/sgml-mode.el: Remove xml-mode alias.
549 * files.el (auto-mode-alist, conf-mode-maybe)
550 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
552 2009-09-24 Alan Mackenzie <acm@muc.de>
554 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
555 c-forward-conditionals, but it doesn't move point and doesn't set
557 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
558 (c-down-conditional-with-else, c-backward-conditional)
559 (c-forward-conditional): Refactor to use c-scan-conditionals.
561 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
563 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
564 (help-default-arg-highlight): Remove.
565 (help-highlight-arg): New function.
566 (help-do-arg-highlight): Use it.
567 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
569 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
571 * term.el (term-set-scroll-region, term-handle-ansi-escape):
572 Undo last change, which didn't fix the problem and introduced others.
574 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
576 * progmodes/gdb-mi.el: Don't require speedbar.
577 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
579 2009-09-24 Glenn Morris <rgm@gnu.org>
581 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
583 * term/ns-win.el (ns-reg-to-script): Define for compiler.
585 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
586 there is no newline after the final mime boundary. (Bug#4539)
587 Move markers on insertion so that any buttons inserted don't end up in
588 the next part of a multipart message.
589 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
590 (rmail-mime-bulk-handler): Optionally handle images.
591 (rmail-mime-image): New button action.
592 (rmail-mime-image-handler): New function.
593 (rmail-mime-mode): New mode.
594 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
596 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
598 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
599 than just dropping elements from it (bug#4504).
601 * term.el (term-set-scroll-region): Don't move cursor any more.
602 (term-handle-ansi-escape): Call term-goto here instead.
603 Suggested by Ivan Kanis <apple@kanis.eu>.
605 * term.el: Require CL.
606 (term-ansi-reset): New function.
607 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
608 (term-handle-colors-array): Simplify.
610 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
612 * allout.el (allout-overlay-interior-modification-handler)
613 (allout-obtain-passphrase):
614 * epa-file.el (epa-file-write-region):
615 * ps-print.el (ps-begin-job):
616 * vc-hooks.el (vc-toggle-read-only):
617 * vc-rcs.el (vc-rcs-rollback):
618 * vc-sccs.el (vc-sccs-rollback):
619 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
620 (vc-version-diff, vc-revert, vc-rollback):
621 * wdired.el (wdired-check-kill-buffer):
622 * emacs-lisp/authors.el (authors):
623 * net/socks.el (socks-open-connection):
624 * net/zeroconf.el (zeroconf-service-add-hook):
625 * obsolete/vc-mcvs.el (vc-mcvs-register):
626 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
628 * progmodes/grep.el (lgrep, rgrep):
629 * progmodes/idlw-help.el (idlwave-help-check-locations)
630 (idlwave-help-html-link, idlwave-help-assistant-open-link):
631 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
632 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
633 (reftex-toc-rename-label): Fix typos in error messages.
635 * dired-aux.el (dired-do-shell-command): Reflow docstring.
636 (dired-copy-how-to-fn): Doc fix.
637 (dired-files-attributes, dired-read-shell-command):
638 Fix typos in docstrings.
640 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
641 (dired-x-find-file-other-window): Reflow docstrings.
642 (dired-omit-marker-char, dired-read-shell-command)
643 (dired-x-submit-report): Fix typos in docstrings.
645 * shell.el (shell-mode-hook):
646 * view.el (View-scroll-line-forward):
647 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
648 Fix typos in docstrings.
650 * net/dig.el (dig-invoke): Fix typo in docstring.
651 (query-dig): Reflow docstring.
653 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
654 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
655 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
656 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
657 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
658 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
659 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
660 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
661 (idlwave-completion-map, idlwave-current-indent)
662 (idlwave-custom-ampersand-surround, idlwave-customize)
663 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
664 (idlwave-define-abbrev, idlwave-determine-class-special)
665 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
666 (idlwave-end-block-reg, idlwave-end-of-statement)
667 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
668 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
669 (idlwave-explicit-class-listed, idlwave-file-header)
670 (idlwave-fill-paragraph, idlwave-find-class-definition)
671 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
672 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
673 (idlwave-in-quote, idlwave-indent-action-table)
674 (idlwave-indent-expand-table, idlwave-indent-line)
675 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
676 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
677 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
678 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
679 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
680 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
681 (idlwave-outlawed-buffers, idlwave-popup-select)
682 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
683 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
684 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
685 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
686 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
687 (idlwave-statement-type, idlwave-struct-skip)
688 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
689 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
690 (idlwave-what-module-find-class): Fix typos in docstrings.
691 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
692 (idlwave-calculate-cont-indent, idlwave-expand-equal)
693 (idlwave-find-module, idlwave-find-structure-definition)
694 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
695 (idlwave-list-load-path-shadows, idlwave-next-statement)
696 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
697 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
698 (idlwave-template): Reflow docstrings.
700 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
701 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
702 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
703 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
704 (idlwave-shell-display-line, idlwave-shell-display-wframe)
705 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
706 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
707 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
708 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
709 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
710 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
711 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
712 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
713 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
714 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
715 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
716 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
717 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
718 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
719 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
720 Fix typos in docstrings.
721 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
722 (idlwave-shell-hide-output, idlwave-shell-mode)
723 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
726 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
728 2009-09-24 Ivan Kanis <apple@kanis.eu>
730 * term.el (term-bold-attribute): New var.
731 (term-handle-colors-array): Use it.
733 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
735 * progmodes/gdb-mi.el (gdb-version): New variable.
736 (gdb-non-stop-handler): Set gdb-version.
737 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
738 Condition "--thread" option on gdb-version.
739 (gdb-invalidate-threads): Remove unused argument.
741 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
743 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
744 to looking-back to avoid ridiculous slow down in large files (bug#4511).
746 2009-09-23 Glenn Morris <rgm@gnu.org>
748 * mail/rmail.el (rmail-reply): Don't try to add a References header when
749 replying to mail without References or Message-Id. (Bug#4525)
751 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
753 * term/ns-win.el (ns-reg-to-script): New variable.
755 2009-09-23 Daiki Ueno <ueno@unixuser.org>
757 * epg.el (epg-wait-for-status): Preserve existing 'error results.
759 2009-09-22 Sam Steingold <sds@gnu.org>
761 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
762 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
763 to 1 because hg returns status 1 when nothing is found.
764 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
766 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
768 * textmodes/fill.el: Convert to utf-8 encoding.
769 (fill-french-nobreak-p): Remove redundant » and « inherited from our
772 * add-log.el (change-log-fill-forward-paragraph): New function.
773 (change-log-mode): Use it so fill-region DTRT.
774 Set fill-indent-according-to-mode here rather than in
775 change-log-fill-paragraph.
776 (change-log-fill-paragraph): Remove.
778 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
780 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
781 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
783 2009-09-22 Glenn Morris <rgm@gnu.org>
785 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
786 the scroll-bar scroll the calendar window rather than the buffer.
788 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
789 commands that move point (as opposed to scrolling).
791 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
793 * emacs-lisp/elint.el (elint): New custom group.
794 (elint-log-buffer): Make it a defcustom.
795 (elint-scan-preloaded, elint-ignored-warnings)
796 (elint-directory-skip-re): New options.
797 (elint-builtin-variables): Doc fix.
798 (elint-preloaded-env): New variable.
799 (elint-unknown-builtin-args): Add an entry for encode-time.
800 (elint-extra-errors): Make it a variable rather than a constant.
801 (elint-preloaded-skip-re): New constant.
802 (elint-directory): Skip files matching elint-directory-skip-re.
803 (elint-features): New variable, local to linted buffers.
804 (elint-update-env): Initialize elint-features. Possibly add
805 elint-preloaded-env to the buffer's environment.
806 (elint-get-top-forms): Bind elint-current-pos, for log messages.
808 (elint-init-form): New function, extracted from elint-init-env.
809 Make non-list forms a warning rather than an error.
810 Add the mode-map for define-derived-mode. Handle define-minor-mode,
811 easy-menu-define, put that adds an error-condition, and provide.
812 When requiring cl, also require cl-macs. Really require cl, to handle
813 some cl macros. Store required libraries in the list elint-features,
814 so as not to re-load them. Treat cc-require like require.
815 (elint-init-env): Call elint-init-form to do the work.
816 Handle eval-and-compile and such like.
817 (elint-add-required-env): Do not clear messages.
818 (elint-special-forms): Add handlers for function, defalias, if, when,
820 (elint-form): Add optional argument to ignore elint-special-forms,
821 useful to prevent recursive calls from handlers. Doc fix.
822 Respect elint-ignored-warnings.
823 (elint-form): Respect elint-ignored-warnings.
824 (elint-bound-variable, elint-bound-function): New variables.
825 (elint-unbound-variable): Respect elint-bound-variable.
826 (elint-get-args): Respect elint-bound-function.
827 (elint-check-cond-form): Add some simple handling for (f)boundp and
829 (elint-check-defalias-form): New handler.
830 (elint-check-let-form): Make an empty let a warning rather than an
832 (elint-check-setq-form): Make an empty setq a warning rather than an
833 error. Respect elint-ignored-warnings.
834 (elint-check-defvar-form): Accept null doc-strings.
835 (elint-check-conditional-form): New handler. Does some simple-minded
836 checking of featurep and (f)boundp tests.
837 (elint-put-function-args): New function.
838 (elint-initialize): Use elint-scan-doc-file rather than
839 elint-find-builtin-variables. Use elint-put-function-args.
840 Possibly scan preloaded-file-list.
841 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
842 extend to handle functions as well.
844 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
846 * linum.el (linum-delete-overlays, linum-update-window):
847 Do not modify the right margin. (Bug#3971)
849 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
851 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
852 nxml-mode instead of xml-mode.
854 2009-09-21 Kevin Ryde <user42@zip.com.au>
856 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
858 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
860 * net/dig.el (dig-mode): Use define-derived-mode.
862 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
864 * vc-dispatcher.el (vc-do-command): Return the process object in
865 the asynchronous case. Use when instead of if. Do not run
866 vc-exec-after to display a message if not enabled.
868 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
869 properties to the stash strings.
870 (vc-git-stash-list): Return a list of strings.
871 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
872 (vc-git-stash-show-at-point): New functions.
873 (vc-git-stash-map): New keymap.
875 * register.el (ctl-x-r-map): Define the keys here instead of
878 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
880 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
881 list, to workaround performance problem (bug#4485).
883 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
885 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
887 2009-09-20 Daiki Ueno <ueno@unixuser.org>
889 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
890 Document that this option is not recommended to use.
892 2009-09-19 Glenn Morris <rgm@gnu.org>
894 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
897 * calc/calc-alg.el (var):
898 * calc/calcalg2.el (var): Define for compiler.
900 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
902 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
905 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
907 * time-stamp.el (time-stamp-month-dd-yyyy)
908 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
909 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
910 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
911 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
912 Remove functions that have been obsolete since 1995 (Bug#4436).
914 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
915 indent buffer only if called interactively (Bug#4452).
917 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
918 Eli Zaretskii <eliz@gnu.org>
920 This fixes bug#4197 (merged to bug#865, though not identical).
921 * server.el (server-auth-dir): Add docstring note about FAT32.
922 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
923 but warn against using them.
925 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
927 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
928 older GDB where there is no has_more field.
930 2009-09-19 Glenn Morris <rgm@gnu.org>
932 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
934 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
936 * files.el (auto-mode-alist): Change default for XML files to nXML
939 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
941 * server.el (server-ensure-safe-dir): Pass 'integer
942 to `file-attributes', as suggested.
944 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
946 * dired-aux.el (dired-query-alist): Remove spurious backslash.
947 (dired-query): Use read-key.
949 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
951 * cus-start.el (ns-use-qd-smoothing): Remove.
953 2009-09-18 Glenn Morris <rgm@gnu.org>
955 * allout.el (top-level): Remove unnecessary progn.
957 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
959 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
960 definition of abbrev table.
962 * speedbar.el (speedbar-track-mouse):
963 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
964 * net/eudc.el (eudc-expand-inline):
965 * net/newst-backend.el (newsticker--cache-read-feed):
966 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
967 condition-case handlers.
969 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
971 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
972 (gdb-var-list): Add an element for has_more field.
973 (gdb-non-stop-handler): Enable pretty printing for STL containers.
974 (gdb-var-create-handler, gdb-var-list-children-handler-1)
975 (gdb-var-update-handler-1): Parse output of dynamic variable
976 objects (STL containers).
977 (gdb-var-delete-1): Pass var1 as an explicit second argument.
978 (gdb-get-field): Delete alias. Use bindat-get-field directly.
980 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
982 (gud-speedbar-buttons): Make node expandable if expression "has more"
985 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
987 * startup.el (emacs-quick-startup): Remove variable and all uses.
988 (command-line): Set `inhibit-x-resources' instead.
989 (command-line-1): Use `inhibit-x-resources' instead.
991 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
993 * subr.el: Fix last change to avoid using the `unless' macro,
994 which breaks bootstrapping.
996 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
998 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
999 extended definitions, in case we reload subr.el after having
1001 (eval-next-after-load): Mark as obsolete.
1003 2009-09-17 Juri Linkov <juri@jurta.org>
1005 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
1006 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
1007 (menu-bar-showhide-menu, menu-bar-tools-menu)
1008 (menu-bar-describe-menu, menu-bar-help-menu)
1009 (minibuffer-local-completion-map, minibuffer-local-map):
1012 2009-09-17 Glenn Morris <rgm@gnu.org>
1014 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
1015 arguments, whether or not it has a handler.
1017 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
1019 * simple.el (hard-newline): Give it a doc-string.
1021 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
1022 (lisp-mode-syntax-table): Give them doc-strings.
1024 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
1026 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
1027 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
1028 (menu-bar-options-menu, menu-bar-showhide-menu)
1029 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
1030 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
1031 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
1032 (menu-bar-options-menu, menu-bar-tools-menu)
1033 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
1034 (menu-bar-help-menu):
1035 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
1038 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
1039 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
1040 calls for the menu names and :help.
1042 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1044 * mouse.el (minor-mode-menu-from-indicator): Pay attention
1045 to :minor-mode-function (bug#4455).
1047 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1049 * startup.el (command-line): Initialize the window-system after
1050 processing the command-line.
1052 * textmodes/page.el (what-page): Make sure we don't inf-loop if
1053 page-delimiter matches the empty string.
1055 2009-09-16 Glenn Morris <rgm@gnu.org>
1057 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
1058 byte-compile-not-obsolete-var. It's a list now.
1059 (byte-compile-not-obsolete-funcs): New variable.
1060 (byte-compile-warn-obsolete): Don't warn about functions if they are in
1061 byte-compile-not-obsolete-funcs.
1062 (byte-compile-variable-ref, byte-compile-defvar): Update for
1063 byte-compile-not-obsolete-vars name-change and list nature.
1064 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
1065 and variables behind (f)boundp tests.
1066 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
1068 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
1070 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
1072 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
1074 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
1075 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
1078 2009-09-15 Stephen Eglen <stephen@gnu.org>
1080 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
1081 the virtual-buffers, use the name of the buffer specified by
1082 find-file-noselect, as the match may be a symlink. (This was a
1083 problem if the target and the symlink had different names.)
1085 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
1087 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
1089 * desktop.el (desktop-path): Check user-emacs-directory.
1091 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
1093 * loadup.el: Use after-load-functions to GC after loading each file.
1094 Remove the explicit GC calls that used to be sprinkled around.
1096 * subr.el (after-load-functions): New hook.
1097 (do-after-load-evaluation): Run it. Use string-match-p to detect
1098 `obsolete' packages, rather than painfully extracting the relevant
1101 2009-09-15 Glenn Morris <rgm@gnu.org>
1103 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
1104 free variable `doc'.
1106 * dired.el (dired-mode-map): Add menu entry for async shell command.
1108 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
1109 variables, also consider the .elc files, since the .el files are
1110 normally gzipped (subsequent code locates the .el.gz from the .elc).
1112 * calc/calc-prog.el (arglist): Define for compiler.
1114 * calendar/diary-lib.el (diary-display-function): Change the default to
1116 (body): Define for compiler.
1118 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
1119 (byte-compile-file-form, byte-compile-lambda)
1120 (byte-compile-top-level-body, byte-compile-form)
1121 (byte-compile-variable-ref, byte-compile-setq)
1122 (byte-compile-setq-default, byte-compile-body)
1123 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
1124 (batch-byte-compile): Give some more local variables with common names
1125 a "bytecomp-" prefix to avoid masking warnings about free variables.
1127 * startup.el (command-line-1): Give local variables with common names a
1128 distinguishing prefix, so as not to hide free variable warnings during
1131 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
1132 clever and add a suffix to make a unique name, just let the user decide
1133 whether or not to overwrite it. If the input is a directory, write the
1134 default filename to that directory. (Bug#4388)
1135 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
1136 is a filename-as-a-directory.
1138 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
1140 * textmodes/page.el (what-page): Don't move to beginning of line.
1141 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
1143 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
1145 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
1147 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
1149 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
1150 * help.el (help-for-help-internal): Add purecopy calls for text.
1152 * vc.el (top): print-log method now takes an optional SHORTLOG
1153 argument. Add a new method: root.
1154 (vc-root-diff, vc-print-root-log): New functions.
1155 (vc-log-short-style): New variable.
1156 (vc-print-log-internal): Add support for showing short logs.
1158 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
1159 vc-print-root-log and vc-print-root-diff.
1161 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
1162 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
1163 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
1166 * vc-cvs.el (vc-cvs-print-log):
1167 * vc-mtn.el (vc-mtn-print-log):
1168 * vc-rcs.el (vc-rcs-print-log):
1169 * vc-sccs.el (vc-sccs-print-log):
1170 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
1171 that is ignored for now.
1173 * vc-mtn.el (vc-mtn-annotate-command):
1174 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
1176 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
1178 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
1179 to function-key-map, and give them ascii-character property.
1180 * term/x-win.el (x-alternatives-map):
1181 * term/ns-win.el (ns-alternatives-map):
1182 * term/internal.el (msdos-key-remapping-map):
1183 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
1185 2009-09-14 Glenn Morris <rgm@gnu.org>
1187 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
1188 temp-buffers (2009-09-12).
1190 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1192 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
1193 the new read-key function.
1195 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
1197 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
1198 is defined (Bug#4405).
1200 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
1202 * recentf.el (recentf-cleanup): Use a hash table to find
1203 duplicates (Bug#4407).
1205 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
1207 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
1208 kp-0 to ascii equivalents (Bug#4325).
1210 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
1212 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
1214 * eshell/em-hist.el:
1215 * eshell/em-dirs.el (eshell-complete-user-reference):
1216 Declare pcomplete functions and variables to avoid compiler warnings.
1218 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
1220 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
1221 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
1222 * eshell/em-alias.el (eshell-aliases-file):
1223 * eshell/em-hist.el (eshell-history-file-name):
1224 Use expand-file-name instead of concat to make file names (Bug#4308).
1226 2009-09-13 Glenn Morris <rgm@gnu.org>
1228 * ediff-merg.el (ediff-do-merge):
1229 * filesets.el (filesets-run-cmd):
1230 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
1231 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
1232 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
1233 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
1234 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
1235 Replace empty `let's with `progn'.
1237 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1239 * mail/sendmail.el (send-mail-function):
1240 * tooltip.el (tooltip-mode):
1241 * simple.el (transient-mark-mode):
1242 * rfn-eshadow.el (file-name-shadow-mode):
1243 * frame.el (blink-cursor-mode):
1244 * font-core.el (global-font-lock-mode):
1245 * files.el (temporary-file-directory)
1246 (small-temporary-file-directory, auto-save-file-name-transforms):
1247 * epa-hook.el (auto-encryption-mode):
1248 * composite.el (global-auto-composition-mode):
1249 Use custom-initialize-delay.
1250 * startup.el (command-line): Don't explicitly call
1251 custom-reevaluate-setting for all the above vars.
1252 * custom.el (custom-initialize-safe-set)
1253 (custom-initialize-safe-default): Delete.
1255 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1257 * term/x-win.el (x-initialize-window-system):
1258 * term/w32-win.el (w32-initialize-window-system):
1259 * term/ns-win.el (ns-initialize-window-system): Don't call
1260 mouse-wheel-mode since it's enabled globally by default already.
1262 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
1263 actually define the variable, but only silences the byte-compiler.
1264 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
1265 before looking it up.
1266 (mouse-wheel-scroll-amount): Also reset the bindings if this value
1269 2009-09-12 Glenn Morris <rgm@gnu.org>
1271 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
1273 (elint-add-required-env): Don't beep on error.
1274 (elint-forms): In case of error, return ENV unchanged.
1275 (elint-init-env): Skip non-list forms.
1276 (elint-log): Handle unknown file positions.
1278 2009-09-12 Daiki Ueno <ueno@unixuser.org>
1280 * epg.el (epg-make-context): Add autoload cookie.
1281 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
1282 (epg-decrypt-string, epg-start-verify, epg-verify-file)
1283 (epg-verify-string, epg-start-sign, epg-sign-file)
1284 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
1285 (epg-encrypt-string, epg-start-export-keys)
1286 (epg-export-keys-to-file, epg-export-keys-to-string)
1287 (epg-start-import-keys, epg-import-keys-from-file)
1288 (epg-import-keys-from-string, epg-start-receive-keys)
1289 (epg-receive-keys, epg-import-keys-from-server)
1290 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
1291 (epg-sign-keys, epg-start-generate-key)
1292 (epg-generate-key-from-file, epg-generate-key-from-string):
1293 Remove autoload cookie.
1295 2009-09-12 Eli Zaretskii <eliz@gnu.org>
1297 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
1298 reevaluation of trash-directory.
1300 * mwheel.el: Fix last change.
1301 (mouse-wheel-mode): New defvar.
1302 (mouse-wheel-mode): Remove autoload cookie.
1304 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1306 * mwheel.el (mwheel-installed-bindings): New var.
1307 (mouse-wheel-mode): Use it, so as to make sure we really remove all
1308 the bindings we set last time. Use custom-initialize-delay.
1309 * loadup.el: Load mwheel after term/*-win.el.
1310 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
1311 and mouse-wheel-up-event now that their first evaluation is done
1312 sufficiently late to be correct.
1314 * startup.el (tutorial-directory): Make it a defcustom.
1315 Use custom-initialize-delay rather than eval-at-startup to set it.
1316 * image.el (image-load-path): Make it a defcustom.
1317 Use custom-initialize-delay rather than eval-at-startup to set it.
1318 * subr.el (eval-at-startup): Remove.
1319 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
1321 * subr.el (do-after-load-evaluation): Warn the user after loading an
1324 2009-09-12 Glenn Morris <rgm@gnu.org>
1326 * proced.el (proced-mark-alt): Remove alias.
1327 (proced-mode-map): Remove proced-mark-alt.
1329 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
1330 Elint file and directory. Remove initialization entry.
1332 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
1334 (elint-current-buffer): Set mode-line-process.
1335 (elint-init-env): Handle define-derived-mode.
1336 Fix declare-function with unspecified arglist. Guard against odd
1337 defalias statements (eg iso-insert's 8859-1-map).
1338 (elint-add-required-env): Use a temp buffer.
1339 (elint-form): Just print the function/macro name, not the whole form.
1340 Return env unchanged if we fail to parse a macro.
1341 (elint-forms): Guard against parse errors.
1342 (elint-output): New function, to handle batch mode.
1343 (elint-log-message): Add optional argument. Use elint-output.
1344 (elint-set-mode-line): New function.
1346 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
1348 * emacs-lisp/elp.el (elp-not-profilable): Add more
1349 functions (Bug#4233).
1351 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
1353 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
1354 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
1356 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
1358 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
1359 (gdb-var-list-children): Use json parsing.
1361 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
1363 * progmodes/js.el (js--proper-indentation): Handle the case where
1364 char-before is null. Reported by Deniz Dogan.
1366 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
1368 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
1370 2009-09-11 Daiki Ueno <ueno@unixuser.org>
1372 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
1373 (epg-digest-algorithm-alist): Add SHA224.
1374 (epg-context-set-passphrase-callback)
1375 (epg-context-set-progress-callback): Add description about
1378 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1380 * custom.el (custom-delayed-init-variables): New var.
1381 (custom-initialize-delay): New function.
1382 * startup.el (command-line): "Re"evaluate all vars in
1383 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
1384 explicitly any more.
1385 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
1386 to avoid creating a ~/.emacs.d at build-time (bug#4347).
1388 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
1390 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
1392 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
1393 (gdb-var-update-handler): Use json parsing.
1395 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
1397 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
1398 decode annotated text, regardless of language environment. (Bug#2741)
1400 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1402 * Makefile.in (autoloads): Make rmail.el writable as well.
1404 2009-09-11 Glenn Morris <rgm@gnu.org>
1406 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
1408 * dired.el: Regenerate with extracted autoloads.
1409 * Makefile.in (autoloads): Make dired.el writable.
1411 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
1412 * ibuffer.el: Regenerate with extracted autoloads.
1413 * Makefile.in (autoloads): Make ibuffer.el writable.
1415 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
1416 * version.el (emacs-copyright, emacs-major-version)
1417 (emacs-minor-version): Reformat doc-strings for make-docfile.
1419 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
1420 functions and variables, since they must be stuff specific to some other
1422 (apropos-print): Make mouse-click message less specific about button.
1424 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
1425 that records where a macro was defined.
1426 * help-fns.el (describe-function-1): Mention if a function has a
1428 * help-mode.el (help-function-cmacro): New button.
1430 * locate.el (top-level): Always require dired.
1431 (locate-mode-map): Initialize inside the defvar.
1433 * net/ange-ftp.el (dired-compress-file): Declare.
1434 (ange-ftp-dired-compress-file): Add doc string.
1436 * term/ns-win.el (x-display-name, x-setup-function-keys):
1437 Unify doc-strings with X versions.
1439 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1441 * emulation/crisp.el (crisp-mode-map): Move initialization
1443 (crisp-mode): Use define-minor-mode.
1445 * progmodes/xscheme.el (xscheme-evaluation-commands):
1446 Put a :advertised-binding property rather than using
1447 advertised-xscheme-send-previous-expression.
1448 (advertised-xscheme-send-previous-expression): Declare obsolete.
1449 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
1451 (crisp-mode): Add corresponding bindings to
1452 undo's :advertised-binding instead.
1453 * dired.el (dired-mode-map): Put a :advertised-binding property rather
1454 than using dired-advertised-find-file.
1455 (dired-advertised-find-file):
1456 * simple.el (advertised-undo):
1457 * wid-edit.el (advertised-widget-backward): Declare obsolete.
1458 (widget-keymap): Put a :advertised-binding property rather
1459 than using advertised-widget-backward.
1460 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
1461 than using advertised-undo.
1462 * tutorial.el (tutorial--default-keys): Adjust accordingly.
1464 2009-09-10 Simon South <ssouth@slowcomputing.org>
1466 * progmodes/delphi.el (delphi-tab): Indent region when Transient
1467 Mark mode is enabled and region is active; otherwise indent or
1468 insert TAB as usual.
1469 (delphi-mode): Update description of TAB-key binding.
1471 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1473 * subr.el (define-key-rebound-commands): Mark obsolete.
1474 * startup.el (precompute-menubar-bindings): Remove.
1475 (normal-top-level): Remove obsolete code that tried to precompute
1477 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
1478 define-key-rebound-commands and precompute-menubar-bindings.
1480 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
1482 * net/imap.el (imap-interactive-login): Better messages.
1483 (imap-open): Fix bug with renamed buffer on reconnect.
1484 (imap-authenticate): Add buffer-local imap-last-authenticator variable
1485 for easier debugging and cleaner code. On successful (guessed based on
1486 server capabilities) secondary authentication, set imap-state
1488 (imap-last-authenticator): Define imap-last-authenticator as a variable
1491 2009-09-10 Glenn Morris <rgm@gnu.org>
1493 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
1495 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
1496 (byte-compile-file-form-autoload): Don't warn about unknown functions
1497 where the autoload statement comes after the use.
1498 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
1499 that any handlers inside the body (eg require) are in turn respected.
1501 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
1504 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
1505 and syntax and abbrev tables basic docs, if they don't have any.
1507 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
1509 * international/mule-cmds.el (top-level): Require cl when compiling.
1510 (view-hello-file): Use default-value rather than
1511 default-enable-multibyte-characters.
1513 * progmodes/fortran.el: Move all safe and risky properties into the
1516 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
1517 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
1519 Put autoloads in rmail.el rather than loaddefs.el.
1520 * mail/rmail.el: Regenerate with extracted autoloads.
1522 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
1523 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
1525 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
1527 Reported in thread for Bug#4375.
1528 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
1529 "-data-evaluate-expression" instead of print.
1530 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
1531 (gdb-tooltip-print): Parse output from above MI command.
1532 (gdb): Revert 2009-08-11 change. User should detach inferior
1535 Remove the word "separate" from IO functions as inferior
1536 output is now never displayed in the GUD buffer.
1538 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
1540 * startup.el (command-line-normalize-file-name): On Windows and
1541 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
1543 2009-09-10 Juri Linkov <juri@jurta.org>
1545 * isearch.el (isearch-text-char-description): Propertize escape
1546 character sequences with the `escape-glyph' face. (Bug#4344)
1548 * simple.el (shell-command): Set asynchronous process filter to
1549 `comint-output-filter'. (Bug#4343)
1551 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
1552 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
1553 the list. Move "asm" to the bottom.
1554 (grep-find-ignored-directories): Add `choice' with nil value
1555 to empty the list easily.
1556 (grep-find-ignored-files): New option.
1557 (grep-files-history): Set to nil by default instead of '("ch" "el").
1558 (grep-compute-defaults): Add "<X>" to `grep-template'.
1559 (grep-read-files): Bind new local variables `default-alias' and
1560 `default-extension'. Use a list of default values for the file prompt.
1561 (lgrep): Add `--exclude=' command line options composed from
1562 `grep-find-ignored-files'.
1563 (rgrep): Add `-name' command line options composed from
1564 `grep-find-ignored-files'. (Bug#4301)
1566 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
1568 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
1571 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
1573 * calendar/time-date.el (autoload):
1574 Expand define-obsolete-function-alias into defalias and make-obsolete
1575 for old Emacsen that Gnus supports.
1576 (with-no-warnings): Define it for old Emacsen.
1577 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
1579 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
1580 float-time is available; suppress compile warning for time-to-seconds.
1582 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
1584 * net/imap.el (imap-message-map): Docstring fix.
1586 2009-09-09 Glenn Morris <rgm@gnu.org>
1588 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
1589 line numbers too. (Bug#4374)
1591 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
1593 * smerge-mode.el (smerge-remove-props, smerge-refine):
1594 Use with-silent-modifications (bug#4342).
1596 * subr.el (with-silent-modifications): New macro.
1598 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
1600 * files.el (top-level): Require `cl' when compiling.
1602 2009-09-07 Glenn Morris <rgm@gnu.org>
1604 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
1606 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
1607 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
1609 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
1611 * vc-git.el (vc-git-annotate-command): Use separator to parse
1612 arguments correctly.
1614 2009-09-06 Eli Zaretskii <eliz@gnu.org>
1616 * proced.el (proced-mode): Doc fix.
1618 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
1620 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
1622 (tramp-do-file-attributes-with-ls): Check for file existence at
1624 (tramp-do-file-attributes-with-stat): Likewise.
1625 (tramp-convert-file-attributes): Return nil when attr is nil.
1627 2009-09-05 Glenn Morris <rgm@gnu.org>
1629 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
1630 properties to this button.
1631 (diary-fancy-display): Don't extend the button to the final newline.
1632 (diary-fancy-display-mode): Continue to define "q" as a local key.
1634 * calendar/cal-china.el (holiday-chinese): Make it slightly more
1637 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
1639 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
1640 (byte-compile-dest-file-function): New option.
1641 (byte-compile-dest-file): Doc fix.
1642 Obey byte-compile-dest-file-function.
1643 (byte-compile-cl-file-p): New function.
1644 (byte-compile-eval): Only suppress noruntime warnings about cl functions
1645 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
1646 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
1647 than for file being previously loaded.
1648 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
1649 (byte-compile-file-form-require): Handle the case where requiring a file
1650 indirectly causes CL to be loaded.
1652 2009-09-05 Karl Fogel <kfogel@red-bean.com>
1654 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
1655 before killing the old buffer, since by the time `kill-buffer' is
1656 run so many buffer variables have been set to nil that it may not
1657 behave as expected. (Bug#4061)
1659 2009-09-05 Karl Fogel <kfogel@red-bean.com>
1661 * files.el (find-alternate-file): If the old buffer is modified
1662 and visiting a file, behave similarly to `kill-buffer' when
1663 killing it, thus reverting to the pre-1.878 behavior; see
1664 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
1665 for discussion. Also, consult `buffer-file-name' as a variable
1666 not as a function, for consistency with the rest of the code.
1668 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
1670 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
1671 also when adding a new directory.
1673 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
1676 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1678 * files.el (locate-file-completion-table): Make it provide boundary
1679 information, so partial-completion works better.
1681 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
1683 * mail/footnote.el (Footnote-text-under-cursor):
1684 Check footnote-text-marker-alist before using it (bug#4324).
1686 2009-09-04 Glenn Morris <rgm@gnu.org>
1688 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
1689 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
1690 * play/solitaire.el, play/tetris.el:
1691 Remove leading * from defcustom and defface docs.
1693 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
1695 (diary-fancy-overriding-map): New variable.
1696 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
1699 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
1702 2009-09-03 Glenn Morris <rgm@gnu.org>
1704 * arc-mode.el (archive-mode):
1705 * dos-fns.el (set-default-process-coding-system):
1706 * man.el (Man-getpage-in-background):
1707 * menu-bar.el (menu-bar-describe-menu):
1708 * server.el (server-process-filter):
1709 * startup.el (command-line):
1710 * tar-mode.el (tar-header-block-tokenize, tar-extract):
1711 * w32-fns.el (set-default-process-coding-system):
1712 * x-dnd.el (x-dnd-handle-file-name):
1713 * international/mule-cmds.el (mule-menu-keymap)
1714 (set-default-coding-systems, language-info-alist, set-language-info)
1715 (set-language-environment, standard-display-european-internal)
1716 (set-locale-environment):
1717 * international/mule-diag.el (mule-diag):
1718 * mail/emacsbug.el (report-emacs-bug):
1719 * mail/rmail.el (rmail-mode):
1720 * mail/sendmail.el (mail-setup):
1721 Use default-value rather than default-enable-multibyte-characters.
1723 * progmodes/f90.el: Move all safe properties into the defcustoms.
1724 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
1726 * calendar/appt.el (appt-check):
1727 * calendar/diary-lib.el (diary-set-header, diary-live-p)
1728 (diary-check-diary-file, diary-list-entries)
1729 (diary-include-other-diary-files, diary-simple-display)
1730 (diary-fancy-display, diary-print-entries)
1731 (diary-mark-included-diary-files, diary-make-entry):
1732 Don't call substitute-in-file-name on diary-file.
1734 2009-09-03 Eduard Wiebe <usenet@pusto.de>
1735 Stefan Monnier <monnier@iro.umontreal.ca>
1737 * mail/footnote.el (footnote-prefix): Make it a defcustom.
1738 (footnote-mode-map): Move initialization into the declaration.
1739 (footnote-minor-mode-map): Define it rather than changing global-map.
1740 (footnote-mode): Use define-minor-mode.
1742 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
1744 * net/tramp.el (tramp-handle-file-attributes-with-ls)
1745 (tramp-do-file-attributes-with-perl)
1746 (tramp-do-file-attributes-with-stat): Rename from
1747 `tramp-handle-file-attributes-with-*'.
1748 (tramp-handle-file-attributes): Use them.
1749 (tramp-do-directory-files-and-attributes-with-perl)
1750 (tramp-do-directory-files-and-attributes-with-stat): Rename from
1751 `tramp-handle-directory-files-and-attributes-with-*'.
1752 (tramp-handle-directory-files-and-attributes): Use them.
1753 (tramp-method-out-of-band-p): Additional parameter SIZE.
1754 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
1755 (tramp-handle-write-region): Use it.
1756 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
1757 (tramp-handle-vc-registered): Check, whether the first run did
1758 return files to be tested.
1759 (tramp-advice-make-auto-save-file-name): Do not call directly
1760 `tramp-handle-make-auto-save-file-name', because this would bypass
1761 the locking mechanism.
1763 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
1764 (file-remote-p, process-file, start-file-process, set-file-times)
1765 (tramp-compat-file-attributes): Compatibility functions shall not
1766 call directly `tramp-handle-*', because this would bypass the
1768 (tramp-compat-number-sequence): New defun.
1770 2009-09-02 Glenn Morris <rgm@gnu.org>
1772 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
1773 alias for float-time.
1774 (time-to-number-of-days): In Emacs, use float-time.
1775 * net/newst-backend.el (time-add): Suppress warnings from compat
1777 * time.el (emacs-uptime, emacs-init-time):
1778 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
1779 Use float-time rather than time-to-seconds.
1781 * minibuffer.el (completion-initials-expand): Fix typo.
1783 * faces.el (modeline, modeline-inactive, modeline-highlight)
1784 (modeline-buffer-id):
1785 * info.el (info-menu-5): Mark these face aliases as obsolete.
1787 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
1789 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
1791 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
1792 no "--thread" option.
1793 (gdb-stopped): Don't print "Switched to thread" message when it is
1796 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
1798 * minibuffer.el (completion-try-completion)
1799 (completion-all-completions): Remove ill-defined (and
1800 mistakenly installed and luckily never used nor documented)
1801 `completion-styles' property.
1802 (completion-initials-expand, completion-initials-all-completions)
1803 (completion-initials-try-completion): New functions.
1804 (completion-styles-alist): Add doc to each entry.
1805 Add new `initials' entry.
1807 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
1809 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
1810 MI command -var-evaluate-expression.
1811 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
1812 and tweak for case of string child.
1813 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
1815 2009-09-01 Glenn Morris <rgm@gnu.org>
1817 * add-log.el (change-log-date-face, change-log-name-face)
1818 (change-log-email-face, change-log-file-face, change-log-list-face)
1819 (change-log-conditionals-face, change-log-function-face)
1820 (change-log-acknowledgement-face):
1821 * cus-edit.el (custom-invalid-face, custom-rogue-face)
1822 (custom-modified-face, custom-set-face, custom-changed-face)
1823 (custom-saved-face, custom-button-face, custom-button-pressed-face)
1824 (custom-documentation-face, custom-state-face, custom-comment-face)
1825 (custom-comment-tag-face, custom-variable-tag-face)
1826 (custom-variable-button-face, custom-face-tag-face)
1827 (custom-group-tag-face-1, custom-group-tag-face):
1828 * diff-mode.el (diff-header-face, diff-file-header-face)
1829 (diff-index-face, diff-hunk-header-face, diff-removed-face)
1830 (diff-added-face, diff-changed-face, diff-function-face)
1831 (diff-context-face, diff-nonexistent-face):
1832 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
1833 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
1834 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
1835 (Info-title-4-face):
1836 * isearch.el (isearch-lazy-highlight-face):
1837 * log-view.el (log-view-file-face, log-view-message-face):
1838 * paren.el (show-paren-match-face, show-paren-mismatch-face):
1839 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
1840 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
1842 * smerge-mode.el (smerge-mine-face, smerge-other-face)
1843 (smerge-base-face, smerge-markers-face):
1844 * wid-edit.el (widget-documentation-face, widget-button-face)
1845 (widget-field-face, widget-single-line-field-face)
1846 (widget-inactive-face, widget-button-pressed-face):
1847 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
1848 (woman-addition-face):
1849 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
1850 (eshell-ls-executable-face, eshell-ls-readonly-face)
1851 (eshell-ls-unreadable-face, eshell-ls-special-face)
1852 (eshell-ls-missing-face, eshell-ls-archive-face)
1853 (eshell-ls-backup-face, eshell-ls-product-face)
1854 (eshell-ls-clutter-face):
1855 * eshell/em-prompt.el (eshell-prompt-face):
1856 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
1857 * obsolete/old-whitespace.el (whitespace-highlight-face):
1858 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
1859 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
1860 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
1861 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
1862 (antlr-font-lock-literal-face):
1863 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
1864 (ebrowse-root-class-face, ebrowse-file-name-face)
1865 (ebrowse-default-face, ebrowse-member-attribute-face)
1866 (ebrowse-member-class-face, ebrowse-progress-face):
1867 * progmodes/make-mode.el (makefile-space-face):
1868 * progmodes/sh-script.el (sh-heredoc-face):
1869 * textmodes/flyspell.el (flyspell-incorrect-face)
1870 (flyspell-duplicate-face):
1871 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
1872 * textmodes/texinfo.el (texinfo-heading-face):
1873 Mark face aliases with "-face" suffix as obsolete.
1875 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
1878 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
1879 (eudc-bob-sound-menu): Use defvar rather than defconst, since
1880 easy-menu-define wants to modify these.
1882 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
1884 * net/browse-url.el (browse-url-file-url):
1885 * term/internal.el (dos-codepage-setup):
1886 Use default-value rather than default-enable-multibyte-characters.
1888 * progmodes/etags.el (etags-goto-tag-location):
1889 * progmodes/flymake.el (flymake-highlight-line)
1890 (flymake-goto-file-and-line, flymake-goto-line):
1891 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
1892 (gdb-goto-breakpoint):
1893 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
1894 * progmodes/python.el (python-find-function)
1895 (python-pdbtrack-track-stack-file):
1896 * progmodes/verilog-mode.el (verilog-surelint-off):
1897 * term/ns-win.el (ns-open-file-select-line):
1898 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
1899 Use forward-line rather than goto-line.
1901 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
1902 * textmodes/reftex-index.el (reftex-display-index):
1903 * textmodes/reftex-ref.el (reftex-offer-label-menu):
1904 * textmodes/reftex-toc.el (reftex-toc):
1905 Remove unnecessary bindings of default-major-mode (all are followed by
1906 major-mode check and possible mode switch).
1908 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
1910 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
1911 Handle watchpoints (bug#4282).
1912 (def-gdb-thread-buffer-command): Enable thread to be selected by
1913 clicking without selecting threads buffer first.
1914 (gdb-current-context-command): Use selected frame so that "up",
1915 "down" etc work in the GUD buffer.
1916 (gdb-update): Find selected frame before rendering stack buffer.
1917 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
1919 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
1921 * progmodes/sym-comp.el (displayed-completions): Remove.
1922 (symbol-complete): Use minibuffer-complete.
1924 2009-08-31 Glenn Morris <rgm@gnu.org>
1926 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
1928 * apropos.el (apropos-symbols-internal):
1929 Handle (obsolete) face aliases.
1931 * faces.el (describe-face): Adjust the output format to be more like
1932 describe-variable, and to mention (obsolete) face aliases.
1933 Adjust the whitespace so that help-setup-xref works.
1935 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
1936 * calendar/diary-lib.el (diary-button-face):
1937 Mark these face aliases as obsolete.
1939 * calendar/calendar.el (calendar-today): Doc fix.
1941 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
1943 * progmodes/gdb-mi.el (gdb-control-all-threads)
1944 (gdb-control-current-thread): Force tool bar update.
1945 (gdb-non-stop-handler): New function.
1946 (gdb-init-1): Use it to test if non-stop mode is supported.
1947 Remove unused gdbmi buffer type.
1949 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1951 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
1952 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
1954 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
1956 * comint.el (comint-exec-1): Check command is non-null first.
1957 Part of gdb-mi.el change (2009-08-28).
1959 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
1961 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
1963 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
1965 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
1966 instead of `dolist' to avoid a recursive require when bootstrapping.
1968 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
1970 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
1972 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
1974 * net/imap.el (imap-send-command): Simplify.
1975 (imap-wait-for-tag): point-max -> buffer-size.
1977 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
1979 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
1980 with constant argument.
1982 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
1984 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
1986 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
1987 Change default, since most of our files don't have a history.
1988 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
1991 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1994 * calc/calc.el: Improve commenting convention.
1995 (calc-digit-map, toplevel): Simplify.
1997 * comint.el (comint-insert-input): Be careful to only set point if we
1998 don't delegate to some other command.
2000 * proced.el (proced-signal-list): Make it an alist.
2001 (proced-grammar-alist): Capitalize names.
2002 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
2003 Disable undo manually and make it read-only.
2004 Use completion-annotate-function.
2006 * minibuffer.el (minibuffer-message): If the current buffer is not
2007 a minibuffer, insert the message in the echo area rather than at the
2009 (completion-annotate-function): New variable.
2010 (minibuffer-completion-help): Use it.
2011 (completion--embedded-envvar-table): Environment vars are
2012 always case-sensitive.
2014 2009-08-30 Glenn Morris <rgm@gnu.org>
2016 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
2017 from fortran-current-defun.
2018 (fortran-beginning-of-subprogram): Be more precise about finding the
2019 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
2020 (fortran-end-of-subprogram): Simplify.
2021 (fortran-current-defun): Use fortran-start-prog-re.
2023 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
2025 * subr.el (do-after-load-evaluation): Simplify.
2027 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
2029 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
2031 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
2032 (vc-rcs-print-log): Use it.
2034 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
2036 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2038 * paths.el (abbrev-file-name): Move to abbrev.el.
2039 * abbrev.el (abbrev-file-name): Move from paths.el.
2040 Obey user-emacs-directory.
2041 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
2042 user-emacs-directory.
2043 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
2044 abbrev-file-name and calc-settings-file any more.
2045 * startup.el (command-line): Recompute abbrev-file-name and
2046 abbreviated-home-dir.
2047 (normal-no-mouse-startup-screen): Improve the generic code and get rid
2048 of the special code for when C-h bindings haven't been changed.
2049 (display-startup-echo-area-message): Use with-current-buffer.
2050 (command-line-1): Use a list of strings, rather than a list of lists
2051 of strings for longopts.
2053 * files.el (get-free-disk-space): Use / for default-directory.
2055 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
2056 Use with-current-buffer.
2058 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
2059 Recognize immutable variables like most-positive-fixnum.
2060 (byte-compile-setq-default): Check and warn if trying to assign
2061 to an immutable variable, or a non-variable.
2063 * progmodes/cc-vars.el (c-comment-continuation-stars):
2064 * progmodes/cc-engine.el (c-looking-at-bos):
2065 * progmodes/cc-cmds.el (c-toggle-auto-state)
2066 (c-forward-into-nomenclature, c-backward-into-nomenclature)
2067 (c-comment-line-break-function): Add version of obsolescence.
2069 2009-08-28 Juri Linkov <juri@jurta.org>
2071 * files.el (magic-fallback-mode-alist): Add ZIP magic number
2072 associated with `archive-mode'.
2074 * image.el (image-type-header-regexps): Use only JPEG magic number
2075 to determine JPEG images, and don't use `image-jpeg-p' because
2076 Emacs can display non-JFIF non-Exif JPEG images.
2078 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
2080 * arc-mode.el (archive-mode):
2081 * emacs-lisp/re-builder.el (re-builder-unload-function):
2082 Protect against the default value of `major-mode' being nil.
2084 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
2086 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
2087 Fix typos in docstrings.
2089 * progmodes/js.el (js--macro-decl-re): Doc fix.
2090 (js--plain-method-re, js--split-name): Refloc docstring.
2091 (js--class-styles, js--make-merged-item, js--splice-into-items):
2092 Fix typos in docstrings; reflow docstrings.
2093 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
2094 (js--variable-decl-matcher, js--inside-pitem-p)
2095 (js--parse-state-at-point, js--get-all-known-symbols)
2096 (js--symbol-history, js-find-symbol, js--js-references)
2097 (js--moz-interactor, js--js-encode-value, js--read-tab):
2098 Fix typos in docstrings.
2100 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2102 * textmodes/reftex.el (reftex-get-file-buffer-force):
2103 * progmodes/verilog-mode.el (verilog-batch-execute-func):
2104 * emulation/viper.el (viper-go-away, viper-set-hooks):
2105 * emacs-lisp/re-builder.el (re-builder-unload-function):
2106 * emacs-lisp/bytecomp.el (byte-compile-file):
2107 * ses.el (ses-unload-function):
2108 * hexl.el (hexl-find-file):
2109 * files.el (normal-mode):
2110 * ehelp.el (with-electric-help):
2111 * autoinsert.el (auto-insert-alist):
2112 * arc-mode.el (archive-mode):
2113 Use (default-value 'major-mode) instead of default-major-mode.
2115 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
2116 * international/mule.el (load-with-code-conversion):
2117 * emacs-lisp/debug.el (debug):
2118 * ediff-vers.el (ediff-rcs-get-output-buffer):
2119 * dired.el (dired-internal-noselect): Don't let-bind
2120 default-major-mode around code that doesn't use it.
2121 E.g. buffer creation via get-buffer-create doesn't use it.
2123 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
2125 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
2126 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
2127 when writing the temp file. Otherwise, epa-file gets confused.
2128 (tramp-register-file-name-handlers): Make it a defun. Move also
2129 `epa-file-handler' to the front of `file-name-handler-alist'.
2131 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2133 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
2134 start right after a ^M.
2135 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
2136 (tramp-completion-file-name-regexp-separate)
2137 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
2138 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
2139 Don't modify last-coding-system-used by accident.
2140 (tramp-completion-file-name-handler): Apply the checks here,
2141 instead during registration.
2142 (tramp-register-file-name-handlers) Renamed from
2143 `tramp-register-file-name-handler'. Register both
2144 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
2145 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
2147 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
2149 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
2151 (gdb-init-1, gdb-display-separate-io-buffer)
2152 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
2154 (gdb-inferior-io-mode): Use make-comint-in-buffer.
2155 (gdb-inferior-filter): Use comint-output-filter to stop
2156 echoing and remove ^M characters.
2158 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2160 * emulation/viper-init.el (viper-restore-cursor-type):
2161 * emulation/cua-base.el (cua--update-indications):
2162 Replace default-cursor-type with (default-value 'cursor-type).
2164 * mail/sendmail.el (mail-recover-1):
2165 * international/mule-diag.el (describe-current-coding-system-briefly)
2166 (describe-current-coding-system):
2167 * international/mule-cmds.el (select-safe-coding-system)
2168 (select-message-coding-system)
2169 (set-language-environment-coding-systems, set-locale-environment):
2170 * hexl.el (hexl-insert-multibyte-char):
2171 * dos-w32.el (find-buffer-file-type-coding-system):
2172 * simple.el (what-cursor-position):
2173 Replace uses of default-buffer-file-coding-system
2174 with (default-value 'buffer-file-coding-system).
2176 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
2177 Replace uses of default-cursor-in-non-selected-windows
2178 with (default-value 'cursor-in-non-selected-windows).
2179 Use with-current-buffer.
2181 * mail/feedmail.el: Use CL macros.
2182 (feedmail-run-the-queue, feedmail-send-it-immediately):
2183 * dos-w32.el (find-buffer-file-type): Replace uses of
2184 default-buffer-file-type with (default-value 'buffer-file-type).
2186 2009-08-28 Glenn Morris <rgm@gnu.org>
2188 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
2189 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
2190 Use default-value of major-mode rather than default-major-mode.
2192 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2194 * Makefile.in (update-elcfiles): Report left over elc files.
2196 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
2197 expand-file-name and with-current-buffer.
2198 (mail-get-names, mail-directory): Use with-current-buffer.
2200 * vc.el (vc-read-revision): New function.
2201 (vc-version-diff, vc-merge): Use it.
2203 2009-08-27 Sam Steingold <sds@gnu.org>
2205 * simple.el (kill-do-not-save-duplicates): New user option.
2206 (kill-new): When it is non-nil, and the new string is the same as
2207 the latest kill, set replace to t to avoid duplicates in kill-ring.
2209 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
2211 * net/tramp.el (tramp-handle-process-file): Do not flush all
2212 caches when `process-file-side-effects' is set.
2213 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
2214 instead of `tramp-find-file-exists-command'.
2215 Unset `process-file-side-effects'.
2217 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
2219 * net/tramp.el (tramp-methods): New method "rsyncc".
2220 (top): Add completion function for "rsyncc".
2221 (tramp-message-show-message): New defvar.
2222 (tramp-message, tramp-error): Use it.
2223 (tramp-do-copy-or-rename-file-directly): Extend check for direct
2225 (tramp-do-copy-or-rename-file-out-of-band): Handle new
2226 `tramp-methods' entry `copy-env' of "rsyncc".
2227 (tramp-vc-registered-read-file-names): New defconst.
2228 (tramp-vc-registered-file-names): New defvar.
2229 (tramp-handle-vc-registered): Implement optimization strategy.
2230 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
2231 (tramp-vc-file-name-handler): New defun.
2232 (tramp-get-ls-command, tramp-get-test-command)
2233 (tramp-get-file-exists-command, tramp-get-remote-ln)
2234 (tramp-get-remote-perl, tramp-get-remote-stat)
2235 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
2237 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
2238 (tramp-cache-inhibit-cache): Extend doc string. It allows also
2240 (tramp-get-file-property): Check for timestamps in
2241 `tramp-cache-inhibit-cache'.
2242 (tramp-set-file-property): Write timestamp.
2244 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
2246 * language/japan-util.el (japanese-symbol-table): Add entries for
2249 * international/characters.el: Add category `j' to cp932-2-byte.
2251 2009-08-27 Kenichi Handa <handa@m17n.org>
2253 * international/fontset.el (build-default-fontset-data): New macro.
2254 (setup-default-fontset): Use build-default-fontset-data for CJK,
2255 tibetan, ethiopic, and ipa.
2257 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2259 * cus-start.el (default-major-mode): Customize `major-mode' instead.
2260 (enable-multibyte-characters): Not customizable any more.
2262 * subr.el (default-mode-line-format, default-header-line-format)
2263 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
2264 (default-direction-reversed, default-truncate-lines)
2265 (default-left-margin, default-tab-width, default-case-fold-search)
2266 (default-left-margin-width, default-right-margin-width)
2267 (default-left-fringe-width, default-right-fringe-width)
2268 (default-fringes-outside-margins, default-scroll-bar-width)
2269 (default-vertical-scroll-bar, default-indicate-empty-lines)
2270 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
2271 (default-fringe-cursor-alist, default-scroll-up-aggressively)
2272 (default-scroll-down-aggressively, default-fill-column)
2273 (default-cursor-type, default-buffer-file-type)
2274 (default-cursor-in-non-selected-windows)
2275 (default-buffer-file-coding-system, default-major-mode)
2276 (default-enable-multibyte-characters): Mark as obsolete.
2278 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
2280 * vc-dir.el (vc-dir-update): Remove debug helper.
2282 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
2284 2009-08-26 Sam Steingold <sds@gnu.org>
2286 * simple.el (save-interprogram-paste-before-kill): New user option.
2287 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
2288 save the interprogram-paste into kill-ring before overriding it
2289 with the Emacs kill.
2291 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
2293 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
2294 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
2295 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
2296 and move to vc-rcs.el.
2297 (vc-default-next-revision): Rename to vc-rcs-next-revision and
2299 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
2300 (vc-rcs-update-changelog): Remove.
2301 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
2302 and move to vc-rcs.el.
2304 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
2305 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
2307 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
2308 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
2309 vc.el, renamed to be RCS specific.
2311 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
2313 (vc-cvs-update-changelog): Move here from vc.el.
2315 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
2318 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
2320 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
2322 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
2324 * vc-git.el (vc-git-register): Use "git add" for directories.
2325 (vc-git-stash, vc-git-stash-show): New functions.
2326 (vc-git-extra-menu-map): Bind them.
2328 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
2329 directory correctly in case the item is a directory itself.
2331 * vc.el: Document the desired behavior for reverted files in the
2333 (vc-default-prettify-state-info): Remove function, unused.
2335 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
2337 2009-08-26 Glenn Morris <rgm@gnu.org>
2339 * bindings.el (standard-mode-line-format): Reposition dashes in
2340 which-func entry. (Bug#4217)
2342 * files.el (enable-local-variables, enable-local-eval)
2343 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
2345 (auto-mode-alist, ignored-local-variables)
2346 (save-some-buffers-action-alist): Move risky declarations to the
2348 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
2349 (font-lock-defaults, format-alist, imenu--index-alist)
2350 (imenu-generic-expression, input-method-alist, minor-mode-alist)
2351 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
2352 (mode-line-modified, mode-line-mule-info, mode-line-position)
2353 (mode-line-process, mode-line-remote, outline-level)
2354 (parse-time-rules, rmail-output-file-alist)
2355 (special-display-buffer-names, vc-mode):
2356 Move risky declarations to the relevant files.
2357 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
2358 (mode-line-modified, mode-line-process, mode-line-position)
2359 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
2360 * font-core.el (font-lock-defaults):
2361 * format.el (format-alist):
2362 * vc-hooks.el (vc-mode):
2363 * window.el (special-display-buffer-names):
2364 * international/mule-cmds.el (input-method-alist):
2365 Define riskiness here (dumped file) rather than in files.el.
2366 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
2367 * imenu.el (imenu-generic-expression, imenu--index-alist):
2368 * outline.el (outline-level):
2369 * time.el (display-time-string):
2370 * calendar/parse-time.el (parse-time-rules):
2371 * mail/rmailout.el (rmail-output-file-alist):
2372 Autoload riskiness here, rather than placing in files.el.
2374 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
2376 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
2378 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
2380 * simple.el (process-file-side-effects): New defvar.
2382 * dired-aux.el (dired-show-file-type):
2383 * vc.el (vc-diff-internal):
2384 * vc-arch.el (vc-arch-diff):
2385 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
2386 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
2387 * vc-git.el (vc-git-registered, vc-git-working-revision)
2388 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
2389 (vc-git--empty-db-p):
2390 * vc-hooks.el (vc-user-login-name):
2391 * vc-svn.el (vc-svn-registered, vc-svn-state)
2392 (vc-svn-dir-extra-headers, vc-svn-find-revision):
2393 * progmodes/grep.el (grep-probe): Let-bind
2394 `process-file-side-effects' with nil.
2396 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
2398 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
2399 daemon. Replace ping by checking for running service for bluez
2400 and zeroconf. (Bug#4239)
2402 2009-08-25 Kevin Ryde <user42@zip.com.au>
2404 * net/dig.el (dig): Add autoload cookie.
2406 2009-08-25 Glenn Morris <rgm@gnu.org>
2408 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
2409 load-history for absolute file-names.
2410 (byte-compile-file-form-require): Warn about use of the cl package.
2412 * format.el (format-alist): Doc fix.
2414 * play/bubbles.el (top-level): Don't require cl at run-time.
2416 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
2419 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
2421 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
2423 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
2425 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
2427 * calc/calc-alg.el (math-trig-rewrite)
2428 (math-hyperbolic-trig-rewrite): New functions.
2429 (calc-simplify): Simplify trig functions when asked.
2431 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
2433 * diff-mode.el (diff-find-source-location): Avoid goto-line.
2435 2009-08-24 Kenichi Handa <handa@m17n.org>
2437 * language/ind-util.el (mapthread): Delete it.
2438 (combinatorial): New function.
2439 (indian--puthash-cv): Use combinatorial instead of mapthread.
2441 2009-08-22 Kevin Ryde <user42@zip.com.au>
2443 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
2444 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
2445 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
2446 Clarify docstring that the value is strings not symbols.
2447 (checkdoc-list-of-strings-p): New function.
2449 2009-08-22 Glenn Morris <rgm@gnu.org>
2451 * files.el (auto-mode-alist):
2452 * hippie-exp.el (he-concat-directory-file-name):
2453 * lpr.el (lpr-windows-system, printer-name):
2454 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
2455 * ps-print.el (ps-windows-system):
2456 * startup.el (command-line):
2457 * emulation/viper-ex.el (viper-glob-function):
2458 * international/mule-cmds.el (set-language-environment-coding-systems):
2459 * net/ange-ftp.el (ange-ftp-write-region):
2460 * obsolete/fast-lock.el (fast-lock-cache-name):
2461 Remove code for defunct system-types emx, macos, mswindows, next-mach,
2462 unisoft-unix, vax-vms, win32, w32.
2464 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
2465 given name if the pattern is not more specific.
2467 * calendar/lunar.el (lunar-phase-names): New option.
2468 (lunar-phase): Doc fix.
2469 (lunar-cycles-per-year): New constant.
2470 (lunar-index): New function.
2471 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
2472 (lunar-phase-name): Use lunar-phase-names.
2473 (calendar-lunar-phases): Use format.
2474 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
2476 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
2477 Copy imenu-example--name-and-position function here for own use.
2478 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
2480 * bs.el (bs--redisplay):
2481 * cus-edit.el (custom-redraw):
2482 * ibuffer.el (ibuffer-bury-buffer):
2483 * server.el (server-goto-line-column):
2484 * startup.el (command-line-1):
2485 * strokes.el (strokes-xpm-for-stroke):
2486 * term.el (term-display-buffer-line):
2487 * view.el (View-goto-line):
2488 * calc/calc.el (calc-do, calc-trail-buffer):
2489 * play/gamegrid.el (gamegrid-add-score-insecure):
2490 * progmodes/ada-mode.el (ada-compile-goto-error):
2491 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
2492 (ebrowse-select-1st-to-9nth):
2493 * progmodes/cperl-mode.el (cperl-time-fontification):
2494 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
2495 * progmodes/gud.el (gud-display-line):
2496 (idlwave-shell-display-line):
2497 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
2498 * progmodes/make-mode.el (makefile-browser-toggle):
2499 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
2500 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
2501 * textmodes/picture.el (picture-draw-rectangle):
2502 * textmodes/reftex-index.el (reftex-index-goto-letter):
2503 (reftex-select-jump-to-previous):
2504 * textmodes/reftex-sel.el (reftex-find-start-point)
2505 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
2506 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
2507 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
2508 * textmodes/tex-mode.el (tex-compilation-parse-errors):
2509 * textmodes/two-column.el (2C-associated-buffer):
2510 Use forward-line rather than goto-line.
2512 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
2515 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
2516 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
2517 (quick-check-list-to-regexp): Declare.
2519 * progmodes/make-mode.el (makefile-browser-insert-selection):
2520 Use goto-char rather than goto-line.
2522 * progmodes/prolog.el (compilation-error-regexp-alist)
2523 (compilation-forget-errors): Declare.
2525 2009-08-22 Juri Linkov <juri@jurta.org>
2527 * progmodes/grep.el (lgrep, rgrep): At the beginning
2528 set `dir' to `default-directory' unless `dir' is a non-nil
2529 readable directory. (Bug#4052)
2530 (lgrep, rgrep): Change a weird way to report an error
2531 from using `read-string' to using `error'.
2532 Instead of using interactive arguments in the function body,
2533 add new argument `confirm'.
2535 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2537 * textmodes/remember.el (remember-buffer):
2538 * progmodes/cperl-mode.el (cperl-vc-header-alist):
2539 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
2540 (icalendar-extract-ical-from-buffer):
2541 * net/newst-treeview.el (newsticker-groups-filename):
2542 * net/newst-backend.el (newsticker-cache-filename):
2543 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
2544 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
2545 (speedbar-add-ignored-path-regexp, speedbar-line-path)
2546 (speedbar-buffers-line-path, speedbar-path-line)
2547 (speedbar-buffers-line-path):
2548 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
2550 * epa.el (epa-display-verify-result):
2551 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
2553 2009-08-21 Glenn Morris <rgm@gnu.org>
2555 * progmodes/js.el (inferior-moz-process): Fix declaration.
2557 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
2559 * obsolete/rnewspost.el (news-mail-reply):
2560 Use goto-char rather than goto-line.
2562 * term/ns-win.el (ns-open-file-select-line):
2563 Use line-beginning-position rather than goto-line.
2565 * apropos.el (apropos-command):
2566 * ehelp.el (electric-helpify):
2567 * printing.el (pr-show-setup):
2568 * strokes.el (strokes-help):
2569 * tutorial.el (tutorial--describe-nonstandard-key)
2570 (tutorial--detailed-help):
2571 * woman.el (woman-mini-help, woman-display-extended-fonts):
2572 * calc/calc-help.el (calc-describe-key):
2573 * emulation/edt.el (edt-electric-helpify):
2574 * international/mule-diag.el (mule-diag):
2575 * play/yow.el (apropos-zippy):
2576 * progmodes/python.el (python-describe-symbol):
2577 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
2578 * textmodes/table.el (*table--cell-describe-mode)
2579 (*table--cell-describe-bindings):
2580 Use help-print-return-message rather than the now obsolete alias.
2582 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
2583 (calendar-cursor-to-visible-date):
2584 * play/5x5.el (5x5-position-cursor):
2585 * play/decipher.el (decipher):
2586 * play/gomoku.el (gomoku-goto-xy):
2587 * play/landmark.el (lm-goto-xy):
2588 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
2590 Use forward-line, not goto-line.
2592 * mail/rmail.el (rmail-obsolete): Delete custom group.
2593 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
2594 (rmail-remote-password, rmail-remote-password-required):
2595 Remove unneeded :set-after and :set properties.
2597 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
2599 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
2601 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
2603 * loadup.el: Remove leftover macos code.
2605 * vc-git.el (vc-git-annotate-command): Run asynchronously.
2606 Explicitly pass the date format to git blame so that user local
2607 so that the output format can be parsed.
2609 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
2611 * net/dbus.el (top): Don't check for (getenv
2612 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
2614 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
2616 * log-edit.el (log-edit-strip-single-file-name): New var.
2617 (log-edit-insert-changelog): Use it. Bug#3571
2619 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
2621 * subr.el (read-passwd): Use read-key so keypad keys work as well.
2624 * help.el (help-print-return-message): Rename from
2625 print-help-return-message.
2627 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
2628 cvs-mode-map parent hack.
2629 (log-view-mode): Derive from special-mode.
2631 * linum.el (linum-mode): window-size-change-functions is redundant.
2632 Adapt to new window-configuration-change-hook behavior.
2633 (linum-after-size, linum-after-config): Remove.
2635 * imenu.el (imenu-example--name-and-position)
2636 (imenu-example--lisp-extract-index-name)
2637 (imenu-example--create-lisp-index, imenu-example--create-c-index):
2640 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
2641 (inferior-prolog-mode): Use it.
2642 (inferior-prolog-load-file): Reset list of errors.
2644 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
2646 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
2648 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
2650 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
2652 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
2655 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
2657 * subr.el (listify-key-sequence-1): Use normal syntax since those
2658 integers are nowadays always represented by the same (positive) number
2660 (read-key-empty-map): New const.
2661 (read-key-delay): New var.
2662 (read-key): New function.
2663 (force-mode-line-update): Use with-current-buffer.
2664 (locate-user-emacs-file): Don't forget to abbreviate the file name.
2665 (start-process-shell-command, start-file-process-shell-command):
2666 Discourage the use of command-args.
2668 2009-08-19 Glenn Morris <rgm@gnu.org>
2670 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
2672 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
2674 * simple.el (choose-completion-string): Don't rely on
2675 minibuffer-completing-file-name and ad-hoc checks to decide whether
2676 to continue completion or not.
2678 * minibuffer.el (minibuffer-hide-completions): New function.
2679 (completion--do-completion): Use it.
2680 (completions-annotations): New face.
2681 (completion--insert-strings): Use it.
2682 (completion-pcm--delim-wild-regex): Add docstring.
2683 (completion-pcm--string->pattern): Add support for 0-width delimiters
2684 in completion-pcm--delim-wild-regex.
2686 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
2688 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
2689 Remove unused var `buffer-modified-p'.
2691 * minibuffer.el (completion--do-completion): Move point for the #b001
2692 case as well (bug#4176).
2693 (minibuffer-complete, minibuffer-complete-word): Don't move point.
2695 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
2697 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
2700 2009-08-18 Kenichi Handa <handa@m17n.org>
2702 * international/ucs-normalize.el (ucs-normalize-version):
2704 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
2705 (utf-8-hfs): Make it perform normalization on encoding too.
2707 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
2708 (sentence-end-without-space): Delete duplicated chars.
2709 (sentence-end-base): Likewise.
2711 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
2712 (html-mode): Delete duplicated chars from sentence-end-base.
2714 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
2715 (texinfo-mode): Delete duplicated chars from sentence-end-base.
2717 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
2719 * files.el (hack-one-local-variable): If the mode function is for
2720 a minor mode, pass it an argument (Bug#4148).
2722 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
2724 * net/tramp.el (tramp-register-completion-file-name-handler):
2725 Check also for (member 'partial-completion completion-styles).
2727 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
2729 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
2732 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
2734 * progmodes/cperl-mode.el: Merge upstream 6.2.
2735 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
2736 (cperl-forward-re): Check cperl-brace-recursing.
2737 (cperl-highlight-charclass): New function.
2738 (cperl-find-pods-heres): Use it.
2739 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
2740 (cperl-beautify-regexp-piece): Fix column calculation.
2741 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
2742 (cperl-beautify-level): Don't process entire regexp.
2743 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
2745 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
2746 (cperl-init-faces): Build a list in the normal way.
2748 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
2750 * calendar/parse-time.el (parse-time-string-chars): Save match
2753 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
2755 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
2756 (sql-product): Use it.
2757 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
2758 (sql-set-product): Add completion.
2759 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
2760 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
2761 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
2762 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
2763 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
2764 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
2765 (sql-highlight-db2-keywords): Remove.
2766 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
2767 (sql-highlight-product): Use derived-mode-p.
2768 (sql-set-sqli-buffer): Use with-current-buffer.
2769 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
2772 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
2774 * term.el: Fix commenting convention, turn comments into docstrings.
2776 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
2778 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
2780 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
2782 * calendar/parse-time.el (parse-time-string-chars): Compute using
2783 character classes, to handle non-ascii characters (Bug#3190).
2785 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
2787 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
2788 another heredoc if the user adds another < (Bug#3226).
2790 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
2791 Don't initialize based on window-system (Bug#4124).
2793 * facemenu.el (facemenu-read-color): Use a completion function
2794 that accepts any defined color, such as RGB triplets (Bug#3677).
2796 * files.el (get-free-disk-space): Change fallback default
2797 directory to /. Expand DIR argument before switching to fallback.
2798 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
2800 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
2802 * files.el (load-library): Doc fix.
2804 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
2806 * viper-cmd.el (viper-insert-isearch-string): New function.
2807 (viper-if-string): Redefine C-s in the minibuffer to insert the last
2808 incremental search string.
2810 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
2813 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
2814 (ediff-merge-region-is-non-clash)
2815 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
2816 Also check if the job is really a merge job.
2818 * ediff.el (ediff-current-file): New function.
2820 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
2822 * progmodes/js.el: Edit docstrings throughout to follow Emacs
2824 (js-insert-and-indent): Delete function.
2825 (js-mode-map): Don't bind keys to js-insert-and-indent.
2826 (js-beginning-of-defun): Rename from js--beginning-of-defun.
2827 (js-end-of-defun): Rename from js--end-of-defun.
2828 (js-auto-indent-flag): Delete variable.
2830 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
2832 * progmodes/js.el: Remove proclaim statement.
2833 Defvar which-func-imenu-joiner-function to silence compiler.
2835 * files.el (auto-mode-alist): Use js-mode for .js files.
2837 * progmodes/js2-mode.el: Remove file.
2839 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
2841 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
2843 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
2845 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
2846 Karl Landstrom <karl.landstrom@brgeight.se>
2848 * progmodes/js.el: New file.
2850 2009-08-14 Mark A. Hershberger <mah@everybody.org>
2852 * timezone.el (timezone-parse-date): Add ability to understand ISO
2853 basic format (minimal separators) dates in addition to the
2854 already-supported extended format dates.
2856 2009-08-14 Eli Zaretskii <eliz@gnu.org>
2858 * international/ucs-normalize.el: Add a `coding' file variable.
2860 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
2862 2009-08-14 Sam Steingold <sds@gnu.org>
2864 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
2866 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
2868 * faces.el (help-argument-name): Define it here instead of
2869 help-fns.el, because in daemon mode help-fns.el may be loaded when
2870 faces are still uninitialized (Bug#1078).
2872 * help-fns.el (help-argument-name): Move defface to faces.el.
2874 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
2876 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
2877 create buffer with a pty but no process so that GDB can make the
2878 inferior the controlling process.
2880 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
2882 * international/ucs-normalize.el: New file.
2884 2009-08-13 Richard Stallman <rms@gnu.org>
2886 * mail/rmail.el (rmail-get-attr-names):
2887 Accept an attribute header that is too short.
2889 * mail/rmail.el (rmail-forget-messages):
2890 Ignore nil elt in rmail-message-vector. Use dotimes.
2892 * progmodes/compile.el (compilation-goto-locus):
2893 Use next-error-move-function.
2895 * simple.el (next-error-move-function): New variable.
2897 2009-08-12 Juri Linkov <juri@jurta.org>
2899 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
2900 always non-nil. (Bug#4052)
2902 * replace.el (read-regexp): Return empty string when
2903 `default-value' is nil.
2904 (keep-lines-read-args): Don't use empty string as the
2905 default value for `read-regexp'. (Bug#2495)
2907 2009-08-12 Juri Linkov <juri@jurta.org>
2909 * international/mule-cmds.el (ucs-insert): Change arguments
2910 from `arg' to `character', `count', `inherit' to be the same
2911 as in `insert-char'. Doc fix. (Bug#4039)
2913 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
2915 2009-08-12 Juri Linkov <juri@jurta.org>
2917 * files-x.el: New file.
2919 * files.el: Move code that deals with adding/deleting
2920 file/directory-local variables to files-x.el.
2922 * Makefile.in (ELCFILES): Add files-x.elc.
2924 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
2926 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
2928 (gdb-place-breakpoints, gdb-get-location): Rewritten without
2930 (gdb-invalidate-disassembly): Do not refresh upon receiving
2931 'update signal. Instead, update all disassembly buffers only after
2933 (gdb): Send -target-detach when buffer is killed (Bug#3794).
2934 (gdb-starting): Moved -data-list-register-names...
2935 (gdb-stopped): ...here so it's sent when first thread stops.
2936 (gdb-registers-handler-custom): Do nothing if register names are
2939 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
2940 from `gdb-mi.el' to avoid extra tangling.
2942 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
2943 change which breaks `gud-def' definitions used in `gdb'.
2944 (gdb-update-gud-running): No extra fuss for updating frame number.
2946 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
2948 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
2949 (describe-language-environment-map, setup-language-environment-map)
2950 (set-coding-system-map): Move initialization into declaration.
2951 (set-language-info-alist): Last arg to define-key-after can be skipped.
2953 * international/quail.el (quail-completion-1): Simplify.
2954 (quail-define-rules): Use slightly more compact code.
2955 (quail-insert-decode-map): Propertize keys, compact columns.
2957 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2960 2009-08-10 Miles Bader <miles@gnu.org>
2962 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
2963 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
2964 (js2-instance-member, js2-private-member, js2-private-function-call)
2965 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
2966 (js2-magic-paren, js2-external-variable):
2967 Remove "-face" suffix from face names.
2968 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
2969 (js2-highlight-undeclared-vars, js2-peek-token)
2970 (js2-parse-function-params, js2-mode-show-errors)
2971 (js2-mode-show-warnings, js2-make-magic-delimiter)
2972 (js2-mode-highlight-magic-parens): Update to use new face names.
2974 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
2976 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
2977 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
2979 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
2981 * subr.el: Provide hashtable-print-readable.
2983 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
2984 hs-c-like-adjust-block-beginning.
2985 (hs-hide-block-at-point): Stop hiding at the beginning of
2986 hs-block-end-regexp (Bug#700).
2988 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
2990 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
2992 (gdb-registers-handler-custom): Do not fail when register names
2995 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
2997 * progmodes/gdb-mi.el (gdb-control-all-threads)
2998 (gdb-control-current-thread): Interactive setters for
2999 `gdb-gud-control-all-threads' to use in menu.
3000 (gdb-show-run-p): Show «Go» when process is not active.
3001 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
3002 gud/thread.xpm and gud/all.xpm.
3004 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
3006 * net/net-utils.el (net-utils-font-lock-keywords): New var.
3007 (nslookup-font-lock-keywords): Make it a variable.
3008 (net-utils-mode): New mode for viewing diagnostic network output.
3009 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
3010 (net-utils-run-simple): New function.
3011 (ifconfig, iwconfig, netstat, arp, route): Use it.
3013 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
3015 * progmodes/gdb-mi.el (gdb-read-memory-custom)
3016 (gdb-memory-set-address, def-gdb-set-positive-number)
3017 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
3018 after changing settings.
3019 (gdb-invalidate-disassembly): Update when first shown.
3020 (gdb-edit-locals-value): Fixed.
3021 (gdb-registers-handler-custom): Print registers in right order and
3022 allow changing register values (only for current thread yet).
3023 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
3024 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
3025 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
3026 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
3028 (gdb-registers-mode-map): TAB to switch to locals.
3030 2009-08-08 Eli Zaretskii <eliz@gnu.org>
3032 * mail/rmail.el (rmail-add-mbox-headers)
3033 (rmail-set-message-counters-counter): Search for
3034 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
3036 2009-08-08 Glenn Morris <rgm@gnu.org>
3038 * Makefile.in (ELCFILES): Update.
3040 2009-08-07 Eli Zaretskii <eliz@gnu.org>
3042 * mail/sendmail.el (mail-yank-original): Set
3043 buffer-file-coding-system from the one used by the message whose
3046 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
3047 to "windows" when "pgnuplot" is used.
3048 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
3049 call accept-process-output if "pgnuplot" is used.
3050 (calc-graph-init): Don't send -display and -geometry to
3051 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
3052 running "pgnuplot -V" with shell-command-to-string.
3054 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
3057 2009-08-07 Eli Zaretskii <eliz@gnu.org>
3059 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
3062 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
3064 * vc-dispatcher.el (vc-resynch-window): Update comment.
3066 * term.el (term-handle-ansi-escape): Add comments with the
3067 terminfo capabilities implemented.
3069 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
3071 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
3072 (gdb-var-create-handler): Rewritten using JSON parser.
3073 (gdb-propertize-header): Moved earlier.
3074 (gdb-set-header): Removed to avoid duplication.
3075 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
3076 Refresh disassembly buffers only after threads list have been
3078 (gdb-threads-header, gdb-registers-header): Per-buffer header line
3081 2009-08-04 Juri Linkov <juri@jurta.org>
3083 * files.el: Commands to add/delete file/directory-local variables.
3084 (read-file-local-variable, read-file-local-variable-value)
3085 (read-file-local-variable-mode, modify-file-local-variable)
3086 (modify-file-local-variable-prop-line)
3087 (modify-dir-local-variable): New functions.
3088 (add-file-local-variable, delete-file-local-variable)
3089 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
3090 (add-dir-local-variable, delete-dir-local-variable)
3091 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
3092 (copy-dir-locals-to-file-locals-prop-line): New commands.
3094 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
3096 * abbrev.el (insert-abbrev-table-description): Prettify output.
3097 Suggested by Karl Chen.
3099 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
3101 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
3102 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
3103 (gdb-overlay-arrow-position, gdb-thread-position)
3104 (gdb-disassembly-position): Declare variables.
3105 (gdb-wait-for-pending): Function now.
3106 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
3107 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
3108 compilation goes smoothly.
3109 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
3110 (gdb-non-stop-setting): New customization setting which replaces
3111 `gdb-non-stop' so changing it doesn't break active GDB session.
3112 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
3113 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
3114 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
3115 (gdb-show-threads-by-default): New customization options.
3116 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
3118 (gdb-get-buffer-create): Send buffers update signal when they are
3120 (gdb-invalidate-locals, gdb-invalidate-registers)
3121 (gdb-invalidate-breakpoints)
3122 (gdb-invalidate-threads, gdb-invalidate-disassembly)
3123 (gdb-invalidate-memory): Accept update signal.
3124 (gdb-current-context-command): Use --frame option.
3125 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
3126 Implement `gdb-frame-number' selection logic.
3127 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
3128 whether to show GUD toolbar buttons.
3129 (gdb-thread-exited): Unselect current thread when it exits.
3130 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
3131 (gdb-mark-line): Routine which sets overlay arrow or inverses
3132 video on fringeless displays.
3133 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
3134 to build aligned columns of data in GDB buffers and set text
3135 properties line-by-line.
3136 (gdb-invalidate-breakpoints)
3137 (gdb-breakpoints-list-handler-custom)
3138 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
3139 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
3140 (gdb-registers-handler-custom): Align data columns.
3141 (gdb-locals-handler-custom): Now prints data like in variable
3143 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
3144 Removed confusing buttons.
3145 (gdb-invalidate-threads): Append --frame.
3146 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
3147 between breakpoints/threads buffers.
3148 (gdb-set-window-buffer): Now can ignore dedicated windows.
3149 (gdb-propertize-header): Use `gdb-set-window-buffer'.
3150 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
3151 (def-gdb-thread-buffer-gud-command): Replaces
3152 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
3153 for fine thread control.
3154 (gdb-preempt-existing-or-display-buffer): New function used to
3155 display bound buffers without breaking window layout.
3156 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
3157 (gdb-select-frame): New version of `gdb-frames-select' which now
3158 sets `gdb-frame-number' so commands may use --frame option instead
3159 of inner debugger state.
3160 (gdb-frame-handler): Do not set `gdb-frame-number'.
3161 (gdb-threads-mode-map): Select threads with mouse.
3163 * progmodes/gud.el (gdb-gud-context-call): Declare function to
3164 avoid compilation warning.
3165 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
3168 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
3169 Argument `key' renamed to `buffer-type'.
3170 (gdb-current-context-buffer-name): Do not add thread info to
3171 buffer name when no thread is selected.
3172 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
3174 (gdb-thread-selected): Handle `=thread-selected' notification.
3175 (gdb-wait-for-pending): New macro to deal with congestion problems.
3176 (gdb-breakpoints-list-handler-custom): Don't fail on pending
3178 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
3179 This fixes problem similar to one described in bug 3947.
3180 (gud-menu-map): More menu items.
3181 (gdb-init-1): Reset `gdb-thread-number' to nil.
3183 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
3186 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
3187 (gdb-current-context-command): Do not append --thread if
3188 `gdb-thread-number' is nil.
3189 (gdb-running-threads-count, gdb-stopped-threads-count): New
3191 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
3192 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
3193 customization options.
3194 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
3196 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
3197 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
3198 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
3199 set `gdb-thread-number' and update `gud-running' properly.
3200 (gdb-running): Update threads list when new threads appear.
3201 (gdb-stopped): Support non-stop operation and new thread switching
3203 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
3204 (gdb-json-partial-output): New set of JSON routines.
3205 (def-gdb-auto-update-trigger): New `signal-list' optional
3207 (gdb-thread-list-handler-custom): Update `gud-running',
3208 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
3209 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
3210 (gdb-continue-thread, gdb-step-thread): New commands for fine
3211 thread execution control.
3212 (gud-menu-map): New menu items to switch non-stop options.
3213 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
3214 (gdb-send): Mimic RET properly (bug 3794).
3216 * progmodes/gdb-mi.el (gdb-rules-name-maker)
3217 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
3219 (def-gdb-auto-update-handler): New nopreserve optional argument.
3220 (gdb-stack-list-frames-custom): Print stack from top to bottom.
3222 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
3223 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
3224 (gdb-parent-mode): New mode to derive other GDB modes from.
3225 (gdb-display-disassembly-for-thread)
3226 (gdb-frame-disassembly-for-thread): New commands for threads
3229 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
3230 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
3231 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
3232 (gdb-update): We now store all GDB buffers in a list so that they
3233 can be updated by traversing a list instead of calling invalidate
3234 triggers explicitly.
3235 (def-gdb-trigger-and-handler): New macro to define trigger-handler
3236 pair for GDB buffer.
3237 (gdb-stack-buffer-name): Add thread information.
3238 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
3239 handle pending triggers.
3240 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
3241 (def-gdb-thread-buffer-simple-command)
3242 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
3243 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
3244 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
3245 New commands which show buffers bound to thread.
3246 (gdb-stack-list-locals-regexp): Removed unused regexp.
3248 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
3249 (gdb-locals-buffer-name, gdb-registers-buffer-name)
3250 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
3251 to (gud-comint-buffer) in *-buffer-name functions
3252 because (gdb-get-target-string) already does that.
3253 (gdb-locals-handler-custom, gdb-registers-handler-custom)
3254 (gdb-changed-registers-handler): Rewritten without regexps.
3256 * progmodes/gdb-mi.el Basic thread selection support.
3257 (gdb-thread-number): New variable.
3258 (gdb-current-context-command): New macro which adds --thread
3260 (gdb-threads-mode-map): Select thread with SPC.
3261 (gdb-thread-list-handler-custom): Mark current thread with overlay
3262 arrow. Synchronize GDB thread and Emacs thread.
3263 (gdb-select-thread): New command which selects current thread.
3264 (gdb-invalidate-frames, gdb-invalidate-locals)
3265 (gdb-invalidate-registers): Use --thread option.
3267 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
3269 * net/tramp.el (top): Make check for tramp-gvfs loading more
3271 (tramp-handle-insert-file-contents): `unwind-protect' must be
3272 inside `with-parsed-tramp-file-name'.
3274 * net/tramp-gvfs.el (top): Remove superfluous message when loading
3277 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
3279 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
3280 directory if CLASSPATH is not set.
3282 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
3284 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
3286 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
3288 2009-08-02 Kevin Ryde <user42@zip.com.au>
3290 * net/newst-backend.el (newsticker--raw-url-list-defaults):
3291 Update freshmeat link. Delete newsforge.com as it seems gone.
3293 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
3295 * select.el (x-set-selection): Doc fix (Bug#4021).
3297 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
3299 * help-fns.el (describe-variable): Treat list return values from
3300 dir-locals-find-file properly (Bug#4005).
3302 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
3304 * net/tramp.el (tramp-debug-message): Print also microseconds.
3306 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
3308 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
3310 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
3311 (tramp-get-debug-buffer): Change `outline-regexp' according to new
3314 * net/tramp-cache.el (tramp-cache-inhibit-cache ): New defvar.
3315 (tramp-get-file-property): Use it.
3317 * autorevert.el (auto-revert-handler): Allow
3318 `auto-revert-tail-mode' for remote files.
3320 2009-08-02 Jason Rumney <jasonr@gnu.org>
3322 * minibuffer.el (read-file-name): Treat confirm options to
3323 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
3325 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
3327 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
3328 (font-lock-variable-name-face, font-lock-constant-face): Darken
3329 the colors for light backgrounds.
3331 2009-08-01 Eli Zaretskii <eliz@gnu.org>
3333 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
3334 month names. (Bug#3987)
3336 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
3338 * simple.el (line-move-finish): Pass whole number to
3339 line-move-to-column.
3340 (line-move-visual): Perform hscroll to the recorded position.
3342 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
3344 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
3346 2009-07-29 Alan Mackenzie <acm@muc.de>
3348 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
3350 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
3352 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
3353 (gdb-place-breakpoints): Use full path when setting breakpoints.
3355 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
3357 * calc/calc.el (calc-mode-map): Add keybinding for
3358 `calc-transpose-lines'.
3360 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
3362 * calc/calc-misc.el (calc-transpose-lines): New function.
3364 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
3366 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
3367 Simplify check for out-of-band methods.
3368 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
3369 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
3371 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
3373 * vc-git.el (vc-git-checkin): Fix typo.
3375 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
3377 * progmodes/js2-mode.el: New file.
3379 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
3381 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
3382 (gud-menu-map): Adjust tooltip accordingly.
3384 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
3386 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
3387 (vc-bzr-log-view-mode): Adjust log-view-file-re.
3389 * add-log.el (change-log-mode-map): Add a menu.
3391 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
3393 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
3394 function returns nil.
3395 (dbus-handle-event): Handle special return value :ignore.
3396 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
3398 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
3400 * view.el (view-mode-enable): Don't define Helper-return-blurb if
3403 2009-07-25 Eli Zaretskii <eliz@gnu.org>
3407 * w32-vars.el (x-select-enable-clipboard): Doc fix.
3409 * term/pc-win.el (x-display-name, x-colors)
3410 (x-select-enable-clipboard, x-select-text): Doc fix.
3412 * term/common-win.el (x-display-name, x-colors): Doc fix.
3414 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
3415 (xw-defined-colors): Doc fix.
3417 * w32-fns.el (x-select-text, x-setup-function-keys)
3418 (x-get-selection, x-set-selection): Doc fix.
3420 * term/x-win.el (x-select-text, x-setup-function-keys)
3421 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
3423 * select.el (x-set-selection): Doc fix.
3425 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
3427 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
3428 instead of "IsNSSSupportAvailable". Avahi ought to work also when
3429 "IsNSSSupportAvailable" method is not available. Reported by
3430 Steve Youngs <steve@sxemacs.org>.
3432 2009-07-24 Kenichi Handa <handa@m17n.org>
3434 * international/characters.el: Fix setting of category ?C, ?|, ?K,
3435 and ?H. Fix setting of case for Latin Extended and Greek Extended.
3436 (build-unicode-category-table): Fix range checks.
3438 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
3440 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
3441 the buffer we try to sync is current when calling
3444 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
3445 not show up to date files.
3447 2009-07-24 Glenn Morris <rgm@gnu.org>
3449 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
3450 Add autoload cookies. If necessary, initialize.
3451 (elint-log): Handle non-file buffers.
3452 (elint-initialize): Add optional argument to reinitialize.
3453 (elint-find-builtin-variables): Save excursion.
3455 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
3457 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
3460 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
3462 * vc.el (vc-print-log-internal): New function, split out from ...
3463 (vc-print-log): ... here.
3464 (vc-dir-move-to-goal-column): Declare.
3466 * vc-git.el (vc-git-add-signoff): New variable.
3467 (vc-git-checkin): Use it.
3468 (vc-git-toggle-signoff): New function.
3469 (vc-git-extra-menu-map): Bind it to menu.
3470 (vc-git--run-command-string): Accept a nil FILE argument.
3471 (vc-git-stash-list): New function.
3472 (vc-git-dir-extra-headers): Use it.
3474 2009-07-23 Glenn Morris <rgm@gnu.org>
3476 * help-fns.el (describe-variable): Describe ignored and risky local
3477 variables in a similar way to that in which we describe safe ones.
3479 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
3480 (byte-compile-output-file-form, byte-compile-output-docform)
3481 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
3482 Give some more local variables with common names a "bytecomp-" prefix,
3483 so as not to shadow things during compilation.
3484 * emacs-lisp/cl-macs.el (load-time-value)
3485 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
3486 `outbuffer' to `bytecomp-outbuffer'.
3488 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
3489 since the next two variables cover them automatically now.
3490 (elint-builtin-variables, elint-autoloaded-variables): New.
3491 (elint-unknown-builtin-args): Remove all members, since they can be
3492 parsed automatically now.
3493 (elint-extra-errors): New.
3494 (elint-env-add-env, elint-env-add-macro): Use cadr.
3495 (elint-current-buffer): Use or. Change final message.
3496 (elint-get-top-forms): Use line-end-position.
3497 (elint-init-env): Use cadr. Handle autoload, declare-function,
3499 (elint-add-required-env): Doc fix. Use or. Standardize error.
3500 (regexp-assoc): Remove unused function.
3501 (elint-top-form): Set elint-current-pos, to record the start of the
3502 top-level form, for compilation-mode.
3503 (elint-form): Trap errors in macro expansion. Use dolist.
3504 (elint-unbound-variable): Use elint-builtin-variables and
3505 elint-autoloaded-variables.
3506 (elint-get-args): Use cadr, or.
3507 (elint-check-cond-form): Use dolist, cadr.
3508 (elint-check-condition-case-form): Doc fix. Use cadr.
3509 Use elint-extra-errors.
3510 (elint-log): New function.
3511 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
3512 Distinguish errors and warnings.
3513 (elint-log-message): Use with-current-buffer. Inhibit read-only.
3514 Use a bytecomp-style format.
3515 (elint-clear-log): Preserve default-directory. Inhibit read-only.
3516 (elint-get-log-buffer): Use compilation mode. Disable undo.
3517 Don't truncate lines.
3518 (elint-initialize): Set builtin and autoloaded variable lists.
3519 Only process elint-unknown-builtin-args if non-nil.
3520 (elint-find-builtin-variables, elint-find-autoloaded-variables):
3522 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
3524 2009-07-22 Kevin Ryde <user42@zip.com.au>
3526 * net/newst-backend.el (newsticker--parse-atom-1.0)
3527 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
3528 (newsticker--parse-rss-1.0):
3529 * progmodes/idlwave.el (idlwave-mode):
3530 * progmodes/idlw-shell.el (idlwave-shell-mode):
3531 * progmodes/vera-mode.el (vera-mode):
3532 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
3533 * progmodes/vhdl-mode.el (vhdl-mode):
3534 * textmodes/table.el (table-generate-source)
3535 (table--warn-incompatibility):
3536 Hyperlink urls in docstrings with URL `...'.
3538 2009-07-22 Glenn Morris <rgm@gnu.org>
3540 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
3541 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
3542 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
3543 Remove leading * from defcustom docs.
3545 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
3547 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
3549 (list-load-path-shadows): Optionally, just return shadows as a string.
3551 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
3553 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
3555 * mail/rmailedit.el (rmail-edit-mode): Use
3556 auto-save-include-big-deletions.
3558 * mail/rmail.el (rmail-variables): Use
3559 auto-save-include-big-deletions.
3561 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
3564 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
3566 * calc/calc.el (calc-undo-length): New variable.
3567 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
3569 2009-07-21 Richard Stallman <rms@gnu.org>
3571 * files.el (auto-save-mode): Handle buffer-save-size = -2
3574 2009-07-21 Glenn Morris <rgm@gnu.org>
3576 * textmodes/ispell.el (ispell-looking-back): Update declaration.
3578 * calendar/todo-mode.el (calendar-current-date): Update declaration.
3580 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
3581 silence compiler. Instead...
3582 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
3583 (ps-print-ensure-fontified): Update for above function name changes.
3585 * printing.el (pr-mh-get-msg-num, pr-mh-show)
3586 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
3587 silence compiler. Instead...
3588 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
3589 (mh-show-buffer): Only define for compiler.
3590 (pr-mh-current-message): Update for above function name changes.
3592 * files.el (abort-if-file-too-large): Explicitly pass `filename'
3594 (find-file-noselect, insert-file-1): Update for above change.
3596 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
3598 * mail/mailclient.el (mailclient-send-it): Fix message.
3600 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
3601 (edebug-eval): Check cl-debug-env is bound.
3602 (print-level, print-circle): Don't redefine built-in variables.
3604 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
3605 (custom-print-vectors): Remove old comments from doc.
3607 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
3608 (emerge-version): Make the variable an obsolete alias for the
3609 emacs-version variable. Make the function obsolete.
3610 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
3611 Emerge options, rather than merging in into the main Options menu.
3612 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
3613 and auto advance modes. Disable edit/fast items when not relevant.
3615 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
3617 * term/vt420.el (terminal-init-vt420): Fix typo.
3619 2009-07-20 Sam Steingold <sds@gnu.org>
3621 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
3622 variable (removed from compile.el on 2004-03-11).
3624 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
3626 * files.el (hack-local-variables-filter): Fix last change.
3628 2009-07-19 Juri Linkov <juri@jurta.org>
3630 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
3631 (dir-local-variables-alist): New buffer-local variable.
3632 (hack-local-variables-filter): If variable is not dir-local,
3633 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
3634 because file-local overrides dir-local.
3635 (c-postprocess-file-styles)<declare-function>:
3636 Remove obsolete declaration.
3637 (hack-dir-local-variables): Add dir-local variable/value pair to
3638 `dir-local-variables-alist' and remove duplicates. Doc fix.
3640 * help-fns.el (describe-variable): Add information about
3641 file-local and dir-local variables.
3643 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
3645 * files.el (hack-local-variables-filter): Rewrite.
3647 2009-07-19 Glenn Morris <rgm@gnu.org>
3649 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
3650 Silence compiler by only defining on XEmacs.
3652 * international/mule.el (auto-coding-regexp-alist): Only match
3653 BABYL... at the start of buffer, not of lines. (Bug#3790)
3655 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
3656 non-calendar buffers (Bug#3862). Restore "not on a date" message.
3657 (cal-menu-context-mouse-menu): Doc fix.
3659 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
3661 * simple.el (mail-user-agent): Doc fix. Set :version tag.
3663 2009-07-18 Juri Linkov <juri@jurta.org>
3665 * info.el: Virtual Info keyword finder.
3666 (add-to-list)<Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
3667 (Info-finder-file): New variable.
3668 (Info-finder-find-file): New function.
3669 (finder-known-keywords, finder-package-info)
3670 (find-library-name, lm-commentary): Use defvar and
3671 declare-function to silence compiler warnings.
3672 (Info-finder-find-node): New function.
3673 (info-finder): New command.
3675 * subr.el (process-kill-buffer-query-function): New function.
3676 (add-hook)<kill-buffer-query-functions>: Add hook
3677 `process-kill-buffer-query-function'.
3679 2009-07-18 Alan Mackenzie <acm@muc.de>
3681 * progmodes/cc-mode.el (c-before-hack-hook)
3682 (c-postprocess-file-styles): Give invocation of `c-set-style'
3683 DONT-OVERRIDE parameter of t. Already set style variables will
3684 thus not be overridden by style settings given by `c-file-syle'.
3686 * files.el (hack-local-variables-filter): Remove entries with
3687 duplicate keys from `file-local-variables-alist'.
3689 2009-07-18 Eli Zaretskii <eliz@gnu.org>
3691 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
3692 x-set-selection if display-selections-p returns nil for the
3695 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
3697 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
3699 2009-07-18 Eli Zaretskii <eliz@gnu.org>
3701 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
3702 Accept nil in addition to a regexp.
3703 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
3704 Accept nil in addition to a regexp.
3705 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
3706 buffers that have an associated file. Handle nil values of
3707 desktop-buffers-not-to-save and desktop-files-not-to-save.
3710 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
3711 (x-disown-selection-internal): New functions.
3713 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
3715 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
3717 (gdb-breakpoints-header): Move forward to avoid compiler warning.
3718 (gdb-make-header-line-mouse-map): Remove duplicate definition.
3720 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
3722 * simple.el (set-mark): Revert last change.
3724 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
3726 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
3727 rendering of pngs is not possible instead of messaging a long
3730 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
3732 * w32-fns.el (x-selection-owner-p): New function.
3734 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
3735 (mouse-yank-at-click, mouse-yank-primary): If
3736 select-active-regions is non-nil, deactivate the mark before
3739 * simple.el (deactivate-mark, set-mark): Only save selection if we
3742 2009-07-17 Kenichi Handa <handa@m17n.org>
3744 * case-table.el (describe-buffer-case-table): Fix for the case
3747 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
3749 * vc-rcs.el (vc-rcs-find-file-hook):
3750 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
3752 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
3754 * net/tramp.el (tramp-wait-for-output): Handle the case when
3755 commands do not return a newline but a null byte before the shell
3758 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
3760 * term/ns-win.el (ns-set-alpha): Don't declare.
3761 (ns-set-background-alpha): Remove function.
3763 2009-07-16 Kevin Ryde <user42@zip.com.au>
3765 * emacs-lisp/copyright.el (copyright-update): Save match-data across
3766 y-or-n-p, for safety.
3768 2009-07-16 Richard Stallman <rms@gnu.org>
3770 * files.el (auto-save-mode): If buffer-saved-size is -2,
3773 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
3774 (rmail-retry-ignored-headers): Add more uninteresting fields.
3776 2009-07-15 Jari Aalto <jari.aalto@cante.net>
3778 * net/rcirc.el (rcirc): Use history variables.
3779 (rcirc-server-name-history, rcirc-nick-name-history)
3780 (rcirc-server-port-history): New variables.
3782 2009-07-15 Kenichi Handa <handa@m17n.org>
3784 * international/mule-cmds.el (set-language-environment-charset):
3785 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
3788 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
3789 Delete unibyte-display.
3791 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
3793 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
3795 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
3797 * simple.el (deactivate-mark): Optional argument FORCE.
3798 (set-mark): Use deactivate-mark.
3800 * info.el (Info-search): No need to check transient-mark-mode
3801 before calling deactivate-mark.
3803 * select.el (x-set-selection): Doc fix.
3804 (x-valid-simple-selection-p): Allow buffer values.
3805 (xselect--selection-bounds): Handle buffer values. Suggested by
3806 David De La Harpe Golden.
3808 * mouse.el (mouse-set-region, mouse-drag-track): Call
3809 copy-region-as-kill before setting the mark, to let
3810 select-active-regions work.
3812 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
3814 * simple.el (deactivate-mark): If select-active-regions is
3815 non-nil, copy the selection data into a string.
3816 (activate-mark): If select-active-regions is non-nil, set the
3817 selection to the current buffer.
3818 (set-mark): Update selection if select-active-regions is non-nil.
3820 * select.el (x-valid-simple-selection-p): Allow buffer values.
3822 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
3824 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
3825 and more featureful message-mode.
3827 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
3829 * select.el (x-set-selection): Doc fix.
3830 (x-valid-simple-selection-p): Disallow selection data consisting
3831 of a list or cons of integers, since that is not used.
3832 (xselect--selection-bounds, xselect--int-to-cons): New functions.
3833 (xselect-convert-to-string, xselect-convert-to-length)
3834 (xselect-convert-to-filename, xselect-convert-to-charpos)
3835 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
3837 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
3839 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
3840 output in -break-info command (Emacs bug #3794).
3842 2009-07-14 Glenn Morris <rgm@gnu.org>
3844 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
3845 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
3846 (edebug-print-length, edebug-print-level, edebug-print-circle)
3847 (edebug-sit-for-seconds, edebug-view-outside)
3848 (edebug-bounce-point, edebug-set-global-break-condition)
3849 (edebug-Go-nonstop-mode, edebug-trace-mode)
3850 (edebug-Trace-fast-mode, edebug-continue-mode)
3851 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
3852 (edebug-visit-eval-list): Doc fixes.
3854 * subr.el (def-edebug-spec): Doc fix.
3856 2009-07-14 Kenichi Handa <handa@m17n.org>
3858 * international/characters.el: Fix setting of category ?C.
3860 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
3862 * term/ns-win.el (x-select-font): defalias x-select-font to
3863 ns-popup-font-panel instead of generate-fontset-menu.
3865 2009-07-12 Eli Zaretskii <eliz@gnu.org>
3867 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
3869 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
3871 * arc-mode.el (archive-find-type): Allow for a PK00 string before
3872 the PK\003\004 header (Bug#3770).
3874 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
3876 * pcomplete.el (pcomplete-comint-setup): Check for
3877 shell-dynamic-complete-filename too.
3879 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
3881 * simple.el (temporary-goal-column): Change the value for
3882 line-move-visual to a cons cell.
3883 (line-move-visual): Record or set the window hscroll, if
3884 necessary (Bug#3494).
3885 (line-move-1): Handle cons value of temporary-goal-column.
3887 2009-07-11 Kenichi Handa <handa@m17n.org>
3889 * international/mule-diag.el (describe-character-set): Don't show
3892 2009-07-10 Sam Steingold <sds@gnu.org>
3894 * progmodes/compile.el (compilation-mode-font-lock-keywords):
3895 Omake sometimes indents the errors it prints, so allow all
3896 regexps to start with spaces.
3898 2009-07-10 Eli Zaretskii <eliz@gnu.org>
3900 * cus-edit.el (customize-changed-options-previous-release):
3901 Bump value to 22.1. (Bug#3804)
3903 2009-07-08 Sam Steingold <sds@gnu.org>
3905 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
3906 to be a cons cell (test . ignored-directory) to selectively ignore
3907 some directories depending on the location of the search.
3909 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
3911 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
3912 remote user is root, on the local host.
3913 (tramp-local-host-p): Either the local user or the remote user
3914 must be root. (Bug#3771)
3916 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
3918 * progmodes/gdb-mi.el (gdb): Remove description of
3919 gdb-use-separate-io-buffer.
3920 (menu): Don't allow toggling of or enable
3921 gdb-use-separate-io-buffer from menubar.
3923 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
3925 * mail/unrmail.el (unrmail): Make sure the message ends with two
3926 newlines (Bug#3769).
3928 2009-07-08 Glenn Morris <rgm@gnu.org>
3930 * calendar/calendar.el (calendar-current-date): Rework previous change.
3932 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
3934 * calendar/calendar.el (calendar-current-date):
3935 Add an optional argument giving an offset from today.
3937 2009-07-08 Glenn Morris <rgm@gnu.org>
3939 * tutorial.el (tutorial--describe-nonstandard-key):
3940 Adjust the message for when a key has been unbound.
3941 (help-with-tutorial): Hide the arch-tag.
3943 2009-07-08 Kenichi Handa <handa@m17n.org>
3945 * international/fontset.el (setup-default-fontset): For each
3946 script, append (not set) font-specs.
3948 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
3951 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
3953 * progmodes/gdb-mi.el (gdb-init-1): Move sending
3954 -data-list-register-names to ...
3955 (gdb-starting): ... here because GDB 7.0 requires execution to
3956 have started when using this MI command.
3957 (gdb-set-header): New function to distinguish select and
3958 unselected tabs in gdb buffers.
3959 (gdb-propertize-header): New macro that uses gdb-set-header.
3960 (gdb-breakpoints-header, gdb-locals-header): Use it.
3961 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
3963 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
3965 * Makefile.in (ELCFILES): Remove fadr.elc.
3967 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
3969 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
3970 may contain frame information, so `string-match' should be used.
3971 (gdb-update): Disassembly is invalidated through
3972 `gdb-get-selected-frame'.
3973 (gdb-pad-string): New function to pad string with spaces.
3974 (gdb-invalidate-disassembly): Invalidate only if the buffer
3976 (gdb-disassembly-handler-custom): Column alignment.
3977 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
3979 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
3981 (gdb-frame-handler): Match convention to for disassembly buffer
3983 (gdb-stack-list-frames-handler): Rewritten without regexps.
3984 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
3985 not highlight breakpoints without line information.
3986 (gdb-input): Add trailing newline to command.
3988 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
3990 (gdb-breakpoints-list-handler-custom): Replacement for
3991 `gdb-break-list-handler'. Using real parser instead of regexps
3993 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
3994 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
3995 to place breakpoints.
3996 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
3998 (gdb-disassembly-handler-custom): Show overlay arrow.
3999 (gdb-disassembly-place-breakpoints): Show breakpoints in
4001 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
4002 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
4003 instead of parsing breakpoints buffer. Fixed old menu references
4008 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
4009 (gdb-memory-address): New variable which holds top address of
4010 memory page shown in memory buffer.
4011 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
4012 customization variables.
4014 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
4015 display the memory buffer.
4016 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
4017 buffer display parameters.
4018 (def-gdb-memory-format, gdb-memory-format-binary)
4019 (gdb-memory-format-octal, gdb-memory-format-unsigned)
4020 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
4021 Functions for setting memory buffer format.
4022 (gdb-memory-unit-word, gdb-memory-unit-halfword)
4023 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
4024 unit size used in memory buffer.
4025 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
4026 to next/previous page of memory buffer.
4027 Now using (bindat-get-field) instead of fadr functions.
4029 2009-07-07 Sam Steingold <sds@gnu.org>
4031 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
4032 non-top-level files.
4034 2009-07-07 Kenichi Handa <handa@m17n.org>
4036 * international/mule-cmds.el (reset-language-environment): Put
4037 the highset priority to the charset iso-8859-1.
4039 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
4041 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
4042 to the end of the line when locating the block (Bug#700).
4044 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
4046 * net/tramp.el (tramp-handle-write-region): Flush file properties
4047 in case of short track.
4049 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
4051 * verilog-mode.el (verilog-error-regexp-emacs-alist): Coded custom
4052 representation of verilog error regular expressions to work with
4053 Emacs-22's new format.
4054 (verilog-error-regexp-xemacs-alist): Coded custom representation
4055 of verilog error regular expressions to work with XEmacs format.
4056 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
4057 error recognition into XEmacs.
4058 (verilog-error-regexp-add-emacs): Hook routine to install verilog
4059 error recognition into Emacs-22.
4061 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
4063 * woman.el: Remove stand-alone closing parentheses.
4064 (woman-file-name, woman2-format-paragraphs)
4065 (woman-leave-blank-lines): Code cleanup.
4066 (woman-use-own-frame): Change default to nil.
4067 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
4068 defaults to inherit from default faces.
4069 (woman2-process-escapes): Consume the newline after a stand-alone
4070 filler character (Bug#3651).
4072 2009-07-06 Glenn Morris <rgm@gnu.org>
4074 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
4075 (top-level): Move provide to the end.
4076 (ffap): Remove defunct URL from custom group.
4078 * subr.el (eval-after-load): Doc fix.
4080 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
4082 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
4083 `calc-embedded-word' is called twice.
4085 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
4087 * files.el (find-alternate-file-other-window, find-alternate-file):
4088 Obey confirm-nonexistent-file-or-buffer.
4090 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
4092 * dired-aux.el (dired-show-file-type): Handle remote files.
4094 2009-07-05 Jari Aalto <jari.aalto@cante.net>
4096 * desktop.el (desktop-globals-to-save):
4097 Add file-name-history (Bug#2750).
4099 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
4101 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
4103 2009-07-04 Johan Bockgård <bojohan@gnu.org>
4105 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
4106 property on entire argument since this is what eshell-lisp-command
4109 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
4111 * net/tramp-gvfs.el (tramp-gvfs-methods)
4112 (tramp-gvfs-zeroconf-domain)
4113 (tramp-bluez-discover-devices-timeout): Add version flag.
4114 (tramp-gvfs-handler-mounted-unmounted)
4115 (tramp-gvfs-connection-mounted-p): Polish handling of
4116 incompatibilities between GVFS 0.2 and 1.0.
4118 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
4120 * cus-start.el (all): Add make-pointer-invisible.
4122 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
4124 * calc-math.el (math-use-emacs-fn): Make sure that the number is
4125 formatted correctly.
4127 2009-07-02 Juri Linkov <juri@jurta.org>
4129 * info.el: Virtual Info files and nodes.
4130 (Info-virtual-files, Info-virtual-nodes): New variables.
4131 (Info-current-node-virtual): New variable.
4132 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
4134 (Info-file-supports-index-cookies): Use Info-virtual-file-p
4135 to check for a virtual file instead of checking a fixed list
4137 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
4138 instead of ad-hoc processing of "dir" and (apropos history toc).
4139 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
4140 instead of ad-hoc processing of "dir" and (apropos history toc).
4141 Reread a file when moving from a virtual node.
4142 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
4143 (Info-directory-toc-nodes, Info-directory-find-file)
4144 (Info-directory-find-node): New functions.
4145 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
4146 (Info-history): Move part of code to
4147 `Info-history-find-node'.
4148 (Info-history-toc-nodes, Info-history-find-file)
4149 (Info-history-find-node): New functions.
4150 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
4151 (Info-toc): Move part of code to `Info-toc-find-node'.
4152 (Info-toc-find-node): New function.
4153 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
4154 the current Info file name to references because now the node
4155 "*TOC*" belongs to the same Info manual.
4156 (Info-toc-build): Rename from `Info-build-toc'.
4157 (Info-toc-nodes): Rename input argument `file' to `filename'.
4158 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
4159 instead of ad-hoc processing of ("dir" apropos history toc).
4160 (Info-index-nodes): Use Info-virtual-file-p
4161 to check for a virtual file instead of checking a fixed list
4163 (Info-index-node): Add check for `Info-current-node-virtual'.
4164 Raise `save-match-data' higher up the tree to contain
4165 `search-forward' too (bug fix).
4166 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
4167 (Info-virtual-index-nodes): New variable.
4168 (Info-virtual-index-find-node, Info-virtual-index): New functions.
4169 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
4170 (Info-apropos-file, Info-apropos-nodes): New variables.
4171 (Info-apropos-toc-nodes, Info-apropos-find-file)
4172 (Info-apropos-find-node, Info-apropos-matches): New functions.
4173 (info-apropos): Move part of code to `Info-apropos-find-node' and
4174 `Info-apropos-matches'.
4175 (Info-mode-map): Bind "I" to `Info-virtual-index'.
4176 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
4177 for a virtual file instead of checking a fixed list of node names.
4179 * simple.el (async-shell-command): New command.
4181 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
4183 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
4184 instead of `mount-info'.
4186 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
4188 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
4189 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
4191 2009-07-02 Kenichi Handa <handa@m17n.org>
4193 * international/mule.el (set-keyboard-coding-system): Force *-unix
4194 coding-system to avoid eol conversion.
4196 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
4198 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4199 Add handler for `process-file', `shell-command' and
4200 `start-file-process'.
4201 (tramp-gvfs-handle-shell-command)
4202 (tramp-gvfs-handle-start-file-process)
4203 (tramp-gvfs-handle-process-file): New defuns.
4204 (tramp-synce-list-devices): Simplify check for existence of property.
4206 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
4208 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
4210 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
4212 * language/korean.el (set-language-info-alist): Add korean-cp949,
4215 2009-07-01 Kenichi Handa <handa@m17n.org>
4217 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
4219 * international/encoded-kb.el: Deleted.
4221 * international/mule.el (set-keyboard-coding-system): Perform the
4222 necessary setup here instead of calling encoded-kbd-setup-display.
4224 2009-07-01 Glenn Morris <rgm@gnu.org>
4226 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
4228 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
4230 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
4232 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
4234 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
4235 Handle also the 'rename case, when setting file modes. (Bug#3712)
4236 (tramp-default-file-modes) Remove execute permissions.
4238 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
4239 (top): Add a default for "synce" in `tramp-default-user-alist'.
4240 Add completion function for "synce" method.
4241 (tramp-hal-service, tramp-hal-path-manager)
4242 (tramp-hal-interface-manager, tramp-hal-interface-device):
4244 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
4245 (tramp-synce-list-devices, tramp-synce-parse-device-names):
4248 * net/trampver.el: Update release number.
4250 2009-06-30 Kenichi Handa <handa@m17n.org>
4252 * international/fontset.el (setup-default-fontset): Add CJK fonts
4253 for symbols and the other miscellaneous characters.
4255 * language/korea-util.el (setup-korean-environment-internal):
4256 Make char-width-table suitable for Korean environments.
4257 (exit-korean-environment): Cancel above.
4259 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
4260 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
4261 setup-funcion to make char-widht-table suitable for respective
4262 environments, and an exit-function to cancel that.
4264 * language/japan-util.el (setup-japanese-environment-internal):
4265 Call use-cjk-char-width-table with arg `ja_JP'.
4267 * international/characters.el (cjk-char-width-table): Delete it.
4268 (cjk-char-width-table-list): New variable.
4269 (use-cjk-char-width-table): New arg local-name.
4270 (use-default-char-width-table): Fix for the case that Emacs is
4271 already using the default char-width-table.
4273 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
4275 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
4276 modes mandatory. (Bug#3712)
4278 2009-06-29 Alan Mackenzie <acm@muc.de>
4280 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
4281 correction between the visible width of TABs and their number of bytes.
4283 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
4285 * server.el (server-buffer-done): Prevent kill-buffer from
4286 prompting by clearing the buffer modification flag (Bug#3696).
4288 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
4290 * verilog-mode.el (verilog-beg-of-statement)
4291 (verilog-endcomment-reason-re): Support unique case and priority case.
4292 (verilog-basic-complete-re): Support localparam lineup.
4293 (verilog-beg-of-statement-1): Fix for robustness, unique case.
4294 (verilog-set-auto-endcomments): Fix for unique case, always_comb
4296 (verilog-leap-to-case-head): Now support *nested* unique &
4297 priority case statements.
4298 (verilog-auto-lineup): Make just declarations the default (as it
4300 (verilog-leap-to-case-head): Support priority/unique case statements.
4301 (verilog-auto-lineup): Rework to give users radio buttons to
4302 select the various styles of automatic lineup.
4303 (verilog-error-regexp-alist): Rework to support the XEmacs style
4304 of error regular expressions from compilers, lint tools &
4305 simulators. Note that GNU Emacs has made it impossible for a mode
4306 to load such things.
4307 (electric-verilog-terminate-line, verilog-indent-declaration)
4308 (verilog-auto-wiure): Rework for radio button selection of
4309 auto-lineup selection of specification of auto lineup.
4310 (verilog-beg-of-statement-1): Redesign to support proper operation
4311 in additional code, based on testing with auto-lineup.
4312 (verilog-calculate-indent, assignments & declarations)
4313 (verilog-backward-token): Enhance to support auto-lineup of
4314 assignments & declarations.
4315 (verilog-in-directive-p, verilog-at-struct-p): New function for
4316 easy test of whether we are.
4317 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
4318 to support safe execution at almost anyline.
4319 (verilog-calc-1): Properly support indenting deep inside generate
4321 (verilog-init-font) Remove definition & use of verilog-init-font,
4322 as it is redundant with font-lock-defaults.
4323 (verilog-mode): Alter the definition of verilog-font-lock-defualts
4324 to avoid circular calls if syntax-ppss is a function (as is the
4325 case now in 22.x GNU Emacs) as that function would sometimes call
4326 itself, leading to (nearly) infinite recursion.
4327 (verilog-ovm-begin-re, verilog-ovm-end-re)
4328 (verilog-ovm-statement-re, verilog-leap-to-head)
4329 (verilog-backward-token): Add support for OVM macros. Some are
4330 complete statements, and others open and close scopes like begin
4332 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
4333 (verilog-defun-level-generate-only-re): Really fix the defun-list
4335 (verilog-calc-1) (verilog-beg-of-statement): Enhance support for
4336 coverpoint, constraint and cross statements.
4337 (verilog-defun-level-list, verilog-generate-defun-level-list)
4338 (verilog-all-defun-level-list): Redo these specifications - it is
4339 too hard to support eval-when compile aggregation of lists also
4340 built at when-compile time.
4341 (verilog-defun-level-list): Place defconsts of variables used in
4342 building regular expressions which are built in eval-when-compile
4343 bodies in the same eval-when-compile body to facilitate compile
4345 (verilog-beg-block-re-ordered): Support indenting
4346 virtual/protected tasks and functions.
4347 (verilog-defun-level-list, verilog-in-generate-region-p)
4348 (verilog-backward-ws&directives, verilog-calc-1): Speed up
4349 indentation of some module items (generate items).
4350 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
4351 across virtual/protected tasks and functions.
4353 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
4355 * verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
4356 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
4357 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
4358 in concatenations. Reported by Yishay Belkind.
4359 (verilog-auto-ascii-enum): Support one-hot state machines in
4360 AUTOASCIIENUM. Suggested by Lloyd Gomez.
4361 (verilog-auto-inst, verilog-auto-inst-port): Include interface
4362 modport in AUTOINST and add vl-modport for users. Reported by
4364 (verilog-auto-inout-module, verilog-auto-inst)
4365 (verilog-decls-get-interfaces, verilog-insert-definition)
4366 (verilog-insert-one-definition, verilog-read-decls)
4367 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
4368 (verilog-sig-modport, verilog-signals-combine-bus)
4369 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
4370 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
4371 Suggested by David Rogoff.
4372 (verilog-repair-open-comma): Fix non-insertion of comma when
4373 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
4374 (verilog-make-width-expression): Simplify [A-1:0] expression
4375 widths to just {A{1'b0}}.
4376 (verilog-mode): Cleanup checkdoc warnings.
4377 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
4378 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
4379 inputs/outputs or data type. Suggested by Vasu Kandadi.
4380 (next-error-last-buffer): Fix byte-compiler warning.
4381 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
4382 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
4383 or shell command text during AUTO expansion. Suggested by Tad Truex.
4384 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
4385 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
4386 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
4387 in AUTOINOUT. Reported by Matthew Lovell.
4388 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
4389 causing use of <= assignments. Reported by Alex Reed.
4390 (verilog-read-decls): Fix triand, trior, wand, wor to be
4391 recognized by AUTOWIRE. Reported by Spencer Isaacson.
4392 (verilog-extended-complete-re): Support import "DPI-C" functions.
4393 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
4394 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
4395 (verilog-insert-date, verilog-insert-year)
4396 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
4397 Windows systems. Reported by Michael Potts.
4398 (verilog-read-module-name): Fix AUTOINST when the child module
4399 declaration's name is a tick define. Reported by Elliot Mednick.
4400 (verilog-read-decls): Fix V2K parameter bit subscripts getting
4401 passed to next parameter's definition. Reported by Bruce T.
4402 (verilog-read-decls): Fix detecting "parameter int" when using
4403 AUTOINSTPARAM. Reported by Bruce T.
4404 (verilog-goto-defun): Fix goto not finding modules unless first
4405 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
4406 (verilog-mode): Expand -f flag arguments on entry to mode so
4407 verilog-goto-defun will work. Reported by Lawrence Butcher.
4408 (verilog-getopt): Expand environment variables in -f file
4409 arguments. Suggested by Lawrence Butcher.
4410 (verilog-set-define): Fix "Symbol's value as variable is void"
4411 when reading enumerations.
4412 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
4413 Suggested by Stephen Peltan.
4414 (verilog-read-defines): Fix reading of enumerations in include
4415 files. Reported by Steve Peltan.
4417 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
4419 * files.el (trash-directory): Fix defcustom type.
4421 2009-06-28 Juri Linkov <juri@jurta.org>
4423 * help-fns.el (describe-function-1): Correctly locate adviced
4424 functions in hyperlink (Bug#2438).
4426 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
4428 * files.el (trash-directory): Change default to nil.
4429 (move-file-to-trash): If trash-directory is nil and
4430 system-move-file-to-trash is unbound, perform freedesktop-style
4433 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
4435 * files.el (move-file-to-trash): Add freedesktop trash
4438 2009-06-28 Glenn Morris <rgm@gnu.org>
4440 * autorevert.el (global-auto-revert-non-file-buffers)
4441 (global-auto-revert-mode): Doc fixes.
4443 2009-06-27 Johan Bockgård <bojohan@gnu.org>
4445 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
4447 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
4449 * faces.el (x-handle-named-frame-geometry): Ensure that we have
4450 opened an X connection before calling x-get-resource (Bug#3194).
4452 * play/doctor.el: Remove reference to obsolete website.
4453 (make-doctor-variables): Correct grammar mistake (Bug#2633).
4455 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
4457 Remove find-file-not-found-hook VC method. (Bug#2757)
4458 * vc-hooks.el (vc-file-not-found-hook)
4459 (vc-default-find-file-not-found-hook): Remove functions.
4460 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
4461 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
4464 * vc-git.el: Do not mention find-file-not-found-hook VC method.
4466 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
4468 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
4469 compatibility function for `looking-back'.
4471 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
4472 Use `ispell-looking-back'.
4474 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
4476 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
4477 rather than `filename'.
4479 2009-06-23 Miles Bader <miles@gnu.org>
4481 * face-remap.el (text-scale-set): New function.
4483 2009-06-23 Glenn Morris <rgm@gnu.org>
4485 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
4487 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
4489 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
4491 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
4493 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
4494 Simplify Persian conditionals.
4496 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
4497 variable `filename'.
4499 * comint.el (comint-insert-input): Doc fix.
4501 * Makefile.in (ELCFILES): Fix typo in previous change.
4503 2009-06-23 Miles Bader <miles@gnu.org>
4505 * cus-start.el: Add entry for `recenter-redisplay'.
4507 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
4509 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
4510 Add an optional argument for the backend, use it instead of
4512 (vc-mode-line): Add an optional argument for the backend.
4513 Pass the backend to vc-state and vc-working-revision. Move code for
4514 special handling for vc-state being a buffer to ...
4516 * vc-rcs.el (vc-rcs-find-file-hook):
4517 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
4519 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
4520 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
4521 vc-stay-local-p and vc-mode-line calls.
4523 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
4524 (vc-cvs-diff, vc-cvs-annotate-command)
4525 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
4526 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
4529 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
4531 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
4532 backend when calling vc-mode-line.
4533 (vc-register): Do not create a closure for calling the vc register
4534 function, call it directly.
4536 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
4538 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
4539 to make it obvious item can be clicked.
4541 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
4543 2009-06-23 Kenichi Handa <handa@m17n.org>
4545 * language/korea-util.el (korean-key-bindings): Change the binding
4546 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
4549 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
4551 Sync with Tramp 2.1.16.
4553 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
4555 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
4556 when a loading of a package fails. Completion function for rsync
4557 is `tramp-completion-function-alist-ssh'.
4558 (all): Replace all calls of `split-string' and
4559 `tramp-split-string' by `tramp-compat-split-string'.
4560 (tramp-default-method): Use `tramp-compat-process-running-p'.
4561 (tramp-default-proxies-alist): Allow also Lisp forms.
4562 (tramp-remote-path): Add choice "Private Directories".
4563 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
4564 (tramp-domain-regexp): Allow also "-", "_" and ".".
4565 (tramp-end-of-output): Remove newlines, and add "$" at the end.
4566 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
4567 (tramp-debug-message): Insert header line in debug buffer.
4568 (tramp-handle-directory-files-and-attributes-with-stat):
4569 Care about filenames with spaces, or starting with "-".
4570 (tramp-handle-dired-uncache): New defun.
4571 (tramp-handle-insert-directory): Don't flush the directory from
4572 cache, this is handled by `dired-uncache' now.
4573 (tramp-handle-insert-file-contents): Improve error handling.
4574 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
4575 Quote `tramp-end-of-output'.
4576 (tramp-action-password): Improve trace message.
4577 (tramp-check-for-regexp): Both echoes must be present, before removing.
4578 (tramp-open-connection-setup-interactive-shell): Trace coding system.
4579 (tramp-compute-multi-hops): Eval cons cells of
4580 `tramp-default-proxies-alist'.
4581 (tramp-maybe-open-connection): Use the same command pattern for
4582 first hop and further hops.
4583 (tramp-wait-for-output): Remove handling of newlines.
4584 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
4585 (tramp-split-string): Remove function. It is handled in
4588 * net/tramp-cmds.el (tramp-bug):
4589 Recommend `tramp-cleanup-all-connections' in the bug mail.
4591 * net/tramp-compat.el (tramp-compat-split-string)
4592 (tramp-compat-process-running-p): New defuns.
4594 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
4595 for `dired-uncache'.
4597 * net/tramp-gvfs.el: New package.
4599 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4600 Add handler for `dired-uncache'.
4601 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
4603 * net/trampver.el: Update release number. Make version check fit
4606 2009-06-22 Jim Meyering <meyering@redhat.com>
4608 Automatically handle .xz suffix (XZ-compressed files), too.
4609 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
4610 XZ is the successor to LZMA: <http://tukaani.org/xz/>
4612 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
4613 Nick Roberts <nickrob@snap.net.nz>
4615 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
4616 repository (http://sphinx.net.ru/hg/gdb-mi/).
4618 2009-06-22 Glenn Morris <rgm@gnu.org>
4620 * files.el (dir-locals-collect-mode-variables): Allow for any number of
4621 `mode' and `eval' entries. (Bug#3430)
4623 * Makefile.in (ELCFILES): Add fadr.elc.
4625 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
4626 differing behavior of \n and ^ in strings. (Bug#3385)
4628 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
4630 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
4632 (lisp-indent-function): Make it a defcustom.
4634 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
4636 * progmodes/gdb-ui.el: Replace with ...
4637 * progmodes/gdb-mi.el: ... this file.
4638 * progmodes/gud.el: Modify for gdb-mi.el.
4640 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
4642 * fadr.el: New file.
4644 See ChangeLog.14 for earlier changes.
4650 Copyright (C) 2009 Free Software Foundation, Inc.
4652 This file is part of GNU Emacs.
4654 GNU Emacs is free software: you can redistribute it and/or modify
4655 it under the terms of the GNU General Public License as published by
4656 the Free Software Foundation, either version 3 of the License, or
4657 (at your option) any later version.
4659 GNU Emacs is distributed in the hope that it will be useful,
4660 but WITHOUT ANY WARRANTY; without even the implied warranty of
4661 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4662 GNU General Public License for more details.
4664 You should have received a copy of the GNU General Public License
4665 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
4667 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1