1 2010-01-20 Glenn Morris <rgm@gnu.org>
3 * indent.el (tab-always-indent): Fix custom-type.
5 2010-01-19 Alan Mackenzie <acm@muc.de>
7 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
8 buffer throws "args out of range".
9 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
10 playing the role of delimiter.
12 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
14 * lisp/progmodes/ada-mode.el: Fix bug#5400.
15 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
16 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
17 changed. Delete RECURSIVE parameter; never used. Improve doc string.
18 Improve comments in "is" portion. Handle null procedure declaration.
19 (ada-move-to-end): Improve doc string.
21 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
23 * ido.el (ido-cur-list): Initialize to nil.
24 Remove obsolete information from commentary.
25 (ido-choice-list): Initialize to nil.
26 (ido-get-bufname): Reject minibuffers.
27 (ido-make-buffer-list): If "default" is a nonexistent
28 buffer, ignore it, as per the function's comment.
29 (ido-kill-buffer-internal): New function.
30 (ido-kill-buffer-at-head): Use it.
31 (ido-visit-buffer): Likewise.
33 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
35 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
37 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
39 * cedet/ede/locate.el (ede-locate-file-in-project)
40 (ede-locate-file-in-project-impl): Fix typos in docstrings.
41 (ede-enable-locate-on-project): Fix typos in error messages.
43 * cedet/semantic/util-modes.el (semantic-unmatched-syntax-face)
44 (semantic-stickyfunc-old-hlf, semantic-stickyfunc-header-line-format)
45 (semantic-stickyfunc-sticky-classes, semantic-highlight-func-mode-setup)
46 (semantic-stickyfunc-fetch-stickyline): Fix typos in docstrings.
47 (semantic-stickyfunc-popup-menu, semantic-highlight-func-popup-menu):
48 Fix typos in menu help.
50 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
51 Fix typos in chart titles.
53 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
54 * cedet/semantic.el (semantic-require-version, semantic--buffer-cache)
55 (semantic-unmatched-syntax-cache-check, semantic-unmatched-syntax-hook)
56 (semantic--before-fetch-tags-hook, semantic-new-buffer-fcn-was-run)
57 (semantic--umatched-syntax-needs-refresh-p, semantic-elapsed-time)
58 (semantic-parse-stream, semantic-parse-region)
59 (semantic-parse-region-default, semantic--set-buffer-cache)
60 (semantic-minimum-working-buffer-size, semantic-refresh-tags-safe)
61 (semantic-bovinate-toplevel, semantic-load-system-cache-loaded)
62 (semantic-default-submodes):
63 * cedet/semantic/db-ebrowse.el (semanticdb-table-ebrowse)
64 (semanticdb-create-ebrowse-database)
65 (semanticdb-find-tags-for-completion-method)
66 (semanticdb-find-tags-by-class-method)
67 (semanticdb-deep-find-tags-by-name-method)
68 (semanticdb-deep-find-tags-for-completion-method):
69 * cedet/semantic/db-el.el (semanticdb-elisp-mapatom-collector)
70 (semanticdb-find-tags-by-name-method, emacs-lisp-mode)
71 (semanticdb-find-tags-for-completion-method)
72 (semanticdb-find-tags-by-class-method)
73 (semanticdb-deep-find-tags-for-completion-method):
74 * cedet/semantic/db-find.el (semanticdb-find-translate-path)
75 (semanticdb-find-need-cache-update-p, semanticdb-find-result-with-nil-p)
76 (semanticdb-find-scanned-include-tags, semanticdb-find-tags-collector)
77 (semanticdb-find-tags-by-name-method)
78 (semanticdb-find-tags-by-name-regexp-method)
79 (semanticdb-find-tags-for-completion-method)
80 (semanticdb-find-tags-by-class-method)
81 (semanticdb-find-tags-external-children-of-type-method)
82 (semanticdb-find-tags-subclasses-of-type-method)
83 (semanticdb-deep-find-tags-by-name-method)
84 (semanticdb-deep-find-tags-by-name-regexp-method)
85 (semanticdb-deep-find-tags-for-completion-method):
86 * cedet/semantic/db-global.el (semanticdb-enable-gnu-global-hook)
87 (semanticdb-enable-gnu-global-in-buffer)
88 (semanticdb-find-tags-for-completion-method)
89 (semanticdb-deep-find-tags-by-name-method)
90 (semanticdb-deep-find-tags-for-completion-method):
91 * cedet/semantic/db-javascript.el (semanticdb-javascript-tags)
92 (javascript-mode, semanticdb-find-translate-path)
93 (semanticdb-find-tags-for-completion-method)
94 (semanticdb-find-tags-by-class-method)
95 (semanticdb-deep-find-tags-by-name-method)
96 (semanticdb-deep-find-tags-for-completion-method)
97 (semanticdb-find-tags-external-children-of-type-method):
98 * cedet/semantic/idle.el (semantic-idle-work-core-handler)
99 (define-semantic-idle-service, semantic-idle-summary-useful-context-p)
100 (global-semantic-idle-scheduler-mode):
101 * cedet/srecode/dictionary.el (srecode-field-value)
102 (srecode-dictionary-add-section-dictionary):
103 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
104 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
105 (describe-class, eieio-describe-generic, describe-generic):
106 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
107 (eieio-speedbar-expand):
108 * emulation/viper-cmd.el (viper-exec-form-in-vi)
109 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
110 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
111 (viper-del-backward-char-in-replace, viper-backward-indent)
112 (viper-brac-function, viper-register-to-point, viper-submit-report):
113 * net/tramp.el (tramp-remote-coding-commands):
114 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
115 Fix typos in docstrings.
117 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
119 * mail/sendmail.el (mail-yank-original): Set the mark if the
120 specified function for yanking does not do it.
122 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
124 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
126 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
127 resyncing a directory.
129 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
131 * progmodes/ada-mode.el: Fix bug#1920.
132 (ada-ident-re): Delete ., allow multibyte characters.
133 (ada-goto-label-re): New; matches goto labels.
134 (ada-block-label-re): New; matches block labels.
135 (ada-label-re): New; matches both.
136 (ada-named-block-re): Deleted; callers changed to use
137 `ada-block-label-re' instead.
138 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
139 Use `ada-block-label-re'.
140 (ada-indent-on-previous-lines): Improve handling of goto labels.
141 (ada-get-indent-block-start): Special-case block label.
142 (ada-get-indent-label): Split into `ada-indent-block-label' and
143 `ada-indent-goto-label'.
144 (ada-goto-stmt-start, ada-goto-next-non-ws):
145 Optionally ignore goto labels.
146 (ada-goto-next-word): Simplify.
147 (ada-indent-newline-indent-conditional): Insert newline before
148 trying to fix indentation; doc fix.
150 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
152 * calc/calc.el (calc-command-flags): Give it an initial value.
154 2010-01-17 Glenn Morris <rgm@gnu.org>
156 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer): Doc fix.
158 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
160 * cedet/semantic.el (semantic-mode):
161 * files.el (minibuffer-with-setup-hook):
162 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
163 (artist-key-draw-continously, artist-key-do-continously-continously)
164 (artist-key-set-point-continously, artist-mouse-draw-continously):
165 Fix typos in docstrings.
167 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
169 * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
172 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
174 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
175 can parse the output of the external commands (Bug#5279).
177 2010-01-16 Jari Aalto <jari.aalto@cante.net>
179 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
181 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
183 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
185 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
187 * startup.el (command-line): Remove unused --icon-type arg.
188 Handle --display arg, passing it to command-line-1 (Bug#5392).
190 2010-01-16 Mario Lang <mlang@delysid.org>
192 * cedet/ede/cpp-root.el (ede-cpp-root-project):
193 * cedet/ede/files.el (ede-expand-filename):
194 * cedet/ede/simple.el (ede-simple-project):
195 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
196 (semantic-complete-inline-tag-engine):
197 * cedet/semantic/db-el.el (semanticdb-equivalent-mode):
198 * cedet/semantic/db-global.el (semanticdb-equivalent-mode):
199 * cedet/semantic/db-javascript.el (semanticdb-equivalent-mode):
200 * cedet/semantic/db.el (semanticdb-equivalent-mode):
201 * cedet/semantic/decorate/include.el (semantic-decoration-unknown-include-describe):
202 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer):
203 * emacs-lisp/chart.el (chart-translate-namezone):
204 * textmodes/artist.el (artist-compute-popup-menu-table):
205 Remove duplicated words in doc-strings.
207 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
209 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
210 to mairix-search to suppress threading (Bug#5342).
212 2010-01-15 Kenichi Handa <handa@m17n.org>
214 * international/mule-cmds.el (canonicalize-coding-system-name):
215 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
217 2010-01-15 Glenn Morris <rgm@gnu.org>
219 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
221 * wid-edit.el (widget-keymap): Doc fix.
223 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
224 former seems to be more widely accepted by various svn versions.
226 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
228 * find-cmd.el (find-constituents):
229 * vc-arch.el (vc-arch-root):
230 * window.el (window-body-height, pop-up-frames):
231 * cedet/semantic/edit.el (semantic-reparse-needed-change-hook)
232 (semantic-no-reparse-needed-change-hook):
233 * cedet/srecode/insert.el (srecode-resolve-argument-list)
234 (srecode-template-inserter-blank, srecode-template-inserter-variable)
235 (srecode-template-inserter-ask, srecode-template-inserter-width)
236 (srecode-template-inserter-section-start)
237 (srecode-template-inserter-section-end, srecode-insert-method):
238 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
239 * progmodes/ada-stmt.el (ada-if):
240 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
241 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
242 (ispell-encoding8-command, ispell-aspell-supports-utf8)
243 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
245 * progmodes/flymake.el (flymake-post-syntax-check):
246 Fix typo in error message.
248 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
250 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
251 which is always a string. (Bug#5313)
253 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
255 * progmodes/ada-xref.el (ada-default-prj-properties):
256 Simplify previous change.
258 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
260 * progmodes/ada-xref.el (ada-default-prj-properties):
261 Default ada_project_path to $ADA_PROJECT_PATH.
263 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
265 * progmodes/ada-mode.el (ada-create-keymap):
266 Override `narrow-to-defun' with `ada-narrow-to-defun'.
268 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
270 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
271 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
272 (ada-get-current-indent, ada-imenu-generic-expression)
273 (ada-which-function): Check for it.
275 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
277 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
278 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
280 2010-01-14 Glenn Morris <rgm@gnu.org>
282 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
284 2010-01-14 Kenichi Handa <handa@m17n.org>
286 * composite.el (auto-composition-mode): Make it a buffer local
287 variable (permanent-local).
288 (auto-composition-function): Set the default value to
290 (auto-composition-mode): Make it a simple function, not a minor mode.
291 (global-auto-composition-mode): Likewise.
292 (turn-on-auto-composition-if-enabled): Delete it.
294 2010-01-13 Karl Fogel <kfogel@red-bean.com>
296 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
298 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
300 * files.el (copy-directory): Compute target for recursive
301 directories with identical names. (Bug#5343)
303 2010-01-12 Glenn Morris <rgm@gnu.org>
305 * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
306 it to bug-gnu-emacs rather than emacs-pretest-bug.
308 2010-01-12 Juanma Barranquero <lekktu@gmail.com>
310 * cedet/data-debug.el (data-debug): Fix customization group reference.
312 2010-01-12 Juanma Barranquero <lekktu@gmail.com>
314 * cedet/semantic/analyze.el (semantic-analyze-push-error)
315 (semantic-analyze-context, semantic-analyze-context-assignment)
316 (semantic-analyze-find-tag-sequence, semantic-analyze-find-tag):
317 * cedet/semantic/java.el (java-mode, semantic-tag-include-filename)
318 (semantic-java-doc-keywords-map):
319 * cedet/semantic/bovine/c.el (c-mode, semantic-c-member-of-autocast)
320 (semantic-lex-c-nested-namespace-ignore-second, semantic-parse-region)
321 (semantic-c-parse-lexical-token, semantic-c-debug-mode-init-pch)
322 (semantic-c-classname, semantic-format-tag-uml-prototype)
323 (semantic-c-dereference-namespace, semantic-analyze-type-constants):
324 * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string)
325 (semantic-emacs-lisp-obsoleted-doc, semantic-up-context)
326 (semantic-get-local-variables, semantic-end-of-command)
327 (semantic-beginning-of-command, semantic-ctxt-current-class-list)
329 * cedet/semantic/bovine/make.el (makefile-mode):
330 * cedet/semantic/wisent/python.el (wisent-python-string-re)
331 (wisent-python-implicit-line-joining-p, wisent-python-forward-string)
332 (wisent-python-lex-beginning-of-line, wisent-python-lex-end-of-line)
333 (semantic-lex, semantic-get-local-variables, python-mode):
334 * cedet/semantic/wisent/python-wy.el (wisent-python-wy--keyword-table):
335 * cedet/srecode/extract.el (srecode-extract-state-set)
336 (srecode-extract-method): Fix typos in docstrings.
338 2010-01-11 Sam Steingold <sds@gnu.org>
340 * imenu.el (imenu-default-create-index-function): Detect infinite
341 loops caused by imenu-prev-index-position-function.
343 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
345 * htmlfontify.el (htmlfontify-load-rgb-file)
346 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
347 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
348 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
349 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
350 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
351 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
352 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
353 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
354 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
355 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
356 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
357 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
358 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
359 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
360 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
361 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
362 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
363 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
364 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
365 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
366 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
367 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
368 backslash-quoting from parentheses, etc.
370 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
372 * progmodes/js.el: Autoload javascript-mode alias.
374 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
376 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
377 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
378 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
379 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
380 Fix typos in docstrings.
381 (ffap-url-regexp): Doc fix.
382 (ffap-at-mouse): Fix typo in message.
384 2010-01-11 Glenn Morris <rgm@gnu.org>
386 * version.el (emacs-copyright): Set copyright year to 2010.
388 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
390 * format.el (format-annotate-function): Only set
391 write-region-post-annotation-function after running to-fn so as not to
392 affect nested write-region calls (bug#5273).
394 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
396 * cedet/semantic.el (semantic-new-buffer-setup-functions):
399 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
402 2010-01-10 Richard Kim <emacs18@gmail.com>
404 * cedet/semantic/wisent/python-wy.el:
405 * cedet/semantic/wisent/python.el: New files.
407 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
409 * man.el (Man-goto-section): Signal error if the section is not
412 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
414 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
415 URLs with a leading triple slash in the file: scheme. (Bug#5345)
417 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
419 * progmodes/compile.el: Don't treat compile-command as safe if
420 compilation-read-command might be nil (Bug#4218).
422 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
424 * startup.el (command-line-1): Use orig-argi to check for ignored X and
427 2010-01-08 Kenichi Handa <handa@m17n.org>
429 * international/fontset.el (build-default-fontset-data):
430 Exclude characters in scripts kana, hangul, han, or cjk-misc.
432 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
434 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
435 to `create-file-buffer' as it expects, not just a buffer name.
436 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
437 to help uniquify. (Bug#3224)
439 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
441 * font-setting.el (font-setting-change-default-font): Use user-spec
444 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
446 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
448 2010-01-05 Tom Tromey <tromey@redhat.com>
450 * progmodes/python.el (python-font-lock-keywords):
451 Handle qualified decorators (Bug#881).
453 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
455 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
456 in a lightweight checkout.
458 2010-01-05 Kenichi Handa <handa@m17n.org>
460 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
462 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
464 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
466 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
468 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
470 (vc-bzr-log-view-mode): Also highlight the author.
471 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
472 (vc-bzr-shelve-menu-map):
473 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
474 (vc-bzr-shelve-apply): Make prompt more explicit.
476 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
478 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
479 They are valid characters in URL paths (rfc3986), and at least
480 Firefox does not understand the encoded version (Bug#3166).
482 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
484 * progmodes/octave-mod.el (octave-end-keywords)
485 (octave-block-begin-or-end-regexp, octave-block-match-alist):
486 Add "end" keyword (Bug#3061).
487 (octave-end-as-array-index-p): New function.
488 (calculate-octave-indent): Use it.
490 2010-01-02 Karl Fogel <kfogel@red-bean.com>
492 * bookmark.el: Consistently put the text property on the bookmark name.
493 (bookmark-bmenu-marks-width): Bump back to 2, to include
495 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
496 property on the bookmark name, instead of not putting it at all.
497 (bookmark-bmenu-list): Fix where we put the text property.
499 2010-01-02 Karl Fogel <kfogel@red-bean.com>
501 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
502 for showing buffer modified state (as added in the previous change).
504 2010-01-02 Karl Fogel <kfogel@red-bean.com>
506 * bookmark.el: Show modified state of bookmark buffer more accurately.
507 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
508 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
509 (with-buffer-modified-unmodified): New macro.
510 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
511 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
512 Use new macro to preserve the buffer modified state.
514 2010-01-02 Karl Fogel <kfogel@red-bean.com>
516 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
517 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
518 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
519 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
520 (bookmark-bmenu-rename, bookmark-bmenu-locate)
521 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
522 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
524 2010-01-02 Eli Zaretskii <eliz@gnu.org>
526 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
527 Make the lines in the generated doc string shorter. (Bug#4668)
529 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
531 * net/rcirc.el: Add follow-link binding (Bug#4738).
533 2010-01-02 Eli Zaretskii <eliz@gnu.org>
535 * Makefile.in (bzr-update): Rename from cvs-update.
536 (cvs-update): New target for backward compatibility.
538 * makefile.w32-in (bzr-update): Rename from cvs-update.
539 (cvs-update): New target for backward compatibility.
541 2010-01-02 Karl Fogel <kfogel@red-bean.com>
543 * bookmark.el: Remove gratuitous gratitude.
545 2010-01-02 Karl Fogel <kfogel@red-bean.com>
547 * bookmark.el (bookmark-bmenu-any-marks): New function
548 (bookmark-bmenu-save): Clear buffer modification if no marks.
550 2010-01-02 Karl Fogel <kfogel@red-bean.com>
552 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
553 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
554 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
555 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
557 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
558 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
559 To: emacs-devel {_AT_} gnu.org
560 Subject: bookmark.el bug report
561 Date: Mon, 28 Dec 2009 14:19:16 +0800
562 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
564 2010-01-02 Karl Fogel <kfogel@red-bean.com>
566 * bookmark.el: Improvements suggested by Drew Adams:
567 (bookmark-bmenu-ensure-position): New name for
568 `bookmark-bmenu-check-position'. Just ensure the position,
569 don't return any meaningful value.
570 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
573 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
575 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
576 (bookmark-yank-point, bookmark-bmenu-check-position):
577 Fix typos in docstrings.
578 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
579 (bookmark-name-from-full-record, bookmark-get-position)
580 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
581 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
582 Remove useless quoting of parenthesis, etc. in docstrings.
584 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
585 (ediff-append-custom-diff): Fix typo in error message.
586 (ediff-meta-mark-equal-files): Fix typos in messages.
588 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
590 * cedet/semantic/db-typecache.el (semanticdb-typecache-find-default):
591 Fix typo in docstring.
593 * net/imap-hash.el (imap-hash-make): Doc fix.
594 (imap-hash-test): Fix typo in error message; reflow docstring.
595 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
596 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
597 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
598 Fix typos in docstrings.
599 (imap-hash-open-connection): Fix typo in error message.
601 * play/gomoku.el (gomoku): Fix typos in docstring.
603 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
604 (gdb-jsonify-buffer): Fix typos in docstring.
605 (gdb-goto-breakpoint): Fix typo in error message.
606 ("Display Other Windows"): Fix typo in help message.
607 (gdb-speedbar-expand-node): Fix typo in question.
609 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
610 (idlwave-html-system-help-location, idlwave-html-help-location)
611 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
612 (idlwave-help-browser-generic-args, idlwave-help-directory)
613 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
614 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
615 (idlwave-online-help, idlwave-help-html-link)
616 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
617 Fix typos in docstrings.
618 (idlwave-help-with-source, idlwave-help-find-routine-definition):
620 (idlwave-help-assistant-start): Fix typo in error message.
622 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
623 (octave-electric-space): Fix typos in docstrings.
625 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
627 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
629 2010-01-01 Juri Linkov <juri@jurta.org>
631 * comint.el (comint-input-ring-size): Make it a defcustom and
632 increase the default to 500 (Bug#5148).
634 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
636 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
637 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
638 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
640 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
642 Show working revision correctly for mercurial.
643 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
644 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
646 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
648 Declare some functions for the byte-compiler.
649 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
650 (speedbar-timer-fn, speedbar-change-expand-button-char)
651 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
653 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
655 This changeset reverts GDB Graphical Interface to use annotations.
656 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
658 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
660 Make vc-dir work on subdirectories of the bzr root.
661 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument. Return
662 file names relative to it.
663 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
664 relative directory to vc-bzr-after-dir-status.
666 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
668 * font-lock.el (font-lock-refresh-defaults): New function, which
669 can be used to let font-lock react to external changes in
670 variables like font-lock-defaults and keywords.
671 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
673 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
675 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
677 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
679 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
681 Supersede color.diff settings in git log (bug#5211).
683 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
684 escape chars in its output when the user has color.diff set to `always'.
685 This fix works on git 1.4.2 and newer (released on 2006-08-13).
687 2009-12-26 Kevin Ryde <user42@zip.com.au>
689 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
690 node. Keep previous "Index" name to work with past coreutils too.
692 * man.el (man): Revise docstring a bit to show -a and -l as
693 examples. Add -k description since support for it has otherwise
694 been a secret. (Further to bug#3717.)
695 (Man-bgproc-sentinel): When "-k foo" produces no output show error
696 "no matches" rather than "Can't find manpage", as the latter reads
697 like -k was interpreted as a page name, which is not so. (Bug#5431)
699 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
701 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
702 switches. Check also for //SUBDIRED// line.
704 2009-12-25 Kenichi Handa <handa@m17n.org>
706 * language/indian.el (devanagari-composable-pattern): Fixed to
707 handle ZWNJ and ZWJ. Use it in composition-function-table for
709 (malayalam-composable-pattern): Fix previous change.
711 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
713 * ps-print.el (ps-face-attributes): It was not returning the
714 attribute face for faces specified as string. Reported by harven
716 (ps-print-version): New version 7.3.5.
718 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
720 * calendar/icalendar.el (icalendar--convert-tz-offset): Fixed
722 (icalendar--convert-tz-offset): Fixed the "last-day-problem".
723 (icalendar--add-diary-entry): Remove the trailing blank that
724 diary-make-entry inserts.
726 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
728 Make `file-expand-wildcards' work for remote files.
730 * files.el (file-expand-wildcards): In case of remote files, check
731 only local file name part for wildcards. Provide feature 'files
732 and subfeature 'remote-wildcards. (Bug#5198)
734 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
735 if there is already an established connection.
736 (tramp-advice-file-expand-wildcards): Remove it.
738 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
739 (tramp-advice-file-expand-wildcards): Moved from tramp.el.
740 Activate advice for older GNU Emacs versions. (Bug#5237)
742 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
744 Some doc fixes (more needed).
746 * find-cmd.el (find-constituents): Reflow docstring.
747 (find-cmd, find-prune, find-command): Fix typos in docstrings.
748 (find-generic): Doc fix.
750 2009-12-17 Juri Linkov <juri@jurta.org>
752 Fix regression from 23.1 to allow multiple modes in Local Variables.
754 * files.el (hack-local-variables-filter): While ignoring duplicates,
755 don't take `mode' into account.
756 (hack-local-variables-filter, hack-dir-local-variables): Don't
757 remove duplicate `mode' from local-variables-alist (like `eval').
759 2009-12-17 Juri Linkov <juri@jurta.org>
761 Make `dired-diff' more safe. (Bug#5225)
763 * dired-aux.el (dired-diff): Signal an error when `file' equals to
764 `current' or when `file' is a directory of the `current' file.
766 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
768 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
769 unconditionally preloaded files.
771 2009-12-16 Juri Linkov <juri@jurta.org>
773 Revert to old 23.1 logic of using the file at the mark as default.
774 * dired-aux.el (dired-diff): Use the file at the mark as default
775 if it's not the same as the current file, and the target dir is
776 the current dir or the mark is active. Add the current file
777 as the arg of `dired-dwim-target-defaults'. Use the default file
778 in the prompt. (Bug#5225)
780 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
782 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
783 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
784 (tramp-check-for-regexp): Check also, when an echoing shell stops
785 to echo sent commands.
787 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
789 * Makefile.in: Revert last change (Bug#5191).
791 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
793 * vc-hg.el (vc-hg-print-log): Fix argument order.
794 (vc-hg-working-revision): Make sure the command is executed in a
795 known environment so that we can parse the output. (Bug#4417)
797 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
799 * progmodes/python.el (python-symbol-completions): Remove text
800 properties from symbol string before calling python-send-receive.
802 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
804 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
805 when there are values for both file and line. (Bug#5060)
807 2009-12-14 Juri Linkov <juri@jurta.org>
809 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
810 whitespace after the file name of the first line of unified format,
811 because git-diff doesn't output whitespace and file modification time
814 2009-12-14 David Kastrup <dak@gnu.org>
816 * info.el (Info-hide-cookies-node): Before hiding a cookie,
817 check if it already has the `display' property added by
818 `Info-display-images-node', and not put the `invisible' property
821 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
823 * cedet/semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
824 (semantic-mru-bookmark-mode): Doc fixes.
826 * cedet/semantic/db.el (semanticdb-cache-get): Use error instead
829 2009-12-13 Glenn Morris <rgm@gnu.org>
831 * mail/emacsbug.el (message-sort-headers): Define for compiler.
832 (report-emacs-bug): In message-mode, sort manually before storing
833 original report text. (Bug#5178)
834 Remove superfluous save-excursion.
836 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
838 * net/dbus.el (dbus-property-handler): Filter lambda forms out
839 when responding to "GetAll" properties.
841 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
843 * simple.el (compose-mail): Remove mail-setup-with-from from
844 customization checks.
846 2009-12-12 Eli Zaretskii <eliz@gnu.org>
848 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
849 RAR archives created on Unix systems.
851 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
853 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
854 the varalias that was accidentally removed by the 2009-11-19 change
857 2009-12-12 Kenichi Handa <handa@m17n.org>
859 * language/indian.el (indian-compose-regexp): New function.
860 (malayalam-composable-pattern): Fix the pattern.
861 (composition-function-table): Set malayalam-composable-pattern for
862 Malayalam characters.
864 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
866 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
867 rather than down-mouse-1, based on follow-link conventions.
869 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
872 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
874 * verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
875 (verilog-vmm-statement-re, verilog-ovm-statement-re)
876 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
877 (verilog-leap-to-head, verilog-backward-token):
878 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
880 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
882 * verilog-mode.el (verilog-auto-lineup, verilog-nameable-item-re):
883 Cleanup user-visible spelling and documentation errors.
884 One reported by Gary Delp.
885 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
886 (verilog-read-decls): Fix AUTOWIRE with types declared in a
887 package, bug195. Reported by Pierre-David Pfister.
889 2009-12-11 Glenn Morris <rgm@gnu.org>
891 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
893 * mail/emacsbug.el: No longer require sendmail.
894 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
895 (report-emacs-bug-orig-text): Doc fix.
896 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
897 New local variables, to adapt to different mail-user-agents.
898 (report-emacs-bug): Fix test for a gnu.org address.
899 Use overlays for emphasis, since font-lock defeats 'face property.
900 Pretest bugs also end up at the newsgroup these days.
901 Stop message-mode stripping text properties.
902 Set and use the new buffer-local variables.
903 (report-emacs-bug-hook): Add doc-string.
904 Remove some unnecessary save-excursions and simplify.
905 Use the appropriate hook and send-command.
907 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
908 capitalization of some menu entries.
910 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
912 * whitespace.el (whitespace-display-char-on): Ensure
913 `buffer-display-table' is unique when two or more windows are
914 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
917 2009-12-10 Eli Zaretskii <eliz@gnu.org>
919 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
920 characters in the Attribute field.
922 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
924 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
926 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
928 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
929 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
930 Disregard autoload-excludes.
931 (update-directory-autoloads): Obey autoload-excludes here instead.
932 But don't store its contents in no-autoloads and remove entries that
933 refer to excludes files.
935 2009-12-10 Glenn Morris <rgm@gnu.org>
937 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
938 (expand-mail-aliases): Define for compiler.
940 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
943 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
944 appropriate for the mail-user-agent in use.
946 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
948 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
950 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
952 Fix short log parsing and fontification.
953 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
954 Fix fontification for the [merge] label.
956 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
958 Drop some properties to avoid surprises.
959 * htmlfontify.el (hfy-ignored-properties): New defcustom.
960 (hfy-fontify-buffer): Use it.
962 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
965 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
967 (ffap-locate-file): Remove unused arg `dir-ok' and make other
968 args compulsory. Adjust callers.
969 (ffap-gopher-at-point): Remove unused var `name'.
971 Get rid of the ELCFILES abomination.
972 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
973 (compile-elcfiles): New phony target.
974 (compile-main): Compute ELCFILES dynamically.
975 (compile-clean): New target to remove left-over elc files.
976 (compile, all): Use it.
978 2009-12-09 Kenichi Handa <handa@etlken>
980 * international/mule-diag.el: Require help-mode instead of help-fns.
982 2009-12-09 Kenichi Handa <handa@m17n.org>
984 * international/mule-cmds.el (ucs-names): Supply sufficiently
985 fine ranges instead of pre-calculating accurate ranges.
986 Iterate with bigger gc-cons-threshold.
988 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
990 Add support for stashing a snapshot of the current tree.
991 * vc-git.el (vc-git-stash-snapshot): New function.
992 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
994 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
996 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
997 instead of `(beginning|end)-of-line'.
999 2009-12-08 Glenn Morris <rgm@gnu.org>
1001 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
1003 * Makefile.in (ELCFILES): Regenerate.
1005 2009-12-07 Juri Linkov <juri@jurta.org>
1007 Don't lazy-highlight the comint output in history Isearch mode.
1009 * comint.el (comint-history-isearch-search): Instead of
1010 `comint-line-beginning-position', use `comint-after-pmark-p'
1011 to check if point if before the process mark, and go to
1012 `process-mark' in this case.
1014 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1016 * textmodes/tex-mode.el (latex-complete)
1017 (latex-indent-or-complete): Remove.
1018 (latex-mode): Set completion-at-point-functions instead.
1020 Provide a standard completion command and hook it into TAB.
1021 * minibuffer.el (completion-at-point-functions): New var.
1022 (completion-at-point): New command.
1023 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
1024 * progmodes/python.el (python-mode-map): Use completion-at-point.
1025 (python-completion-at-point): Rename from python-partial-symbol and
1026 adjust for use in completion-at-point-functions.
1027 (python-mode): Setup completion-at-point for Python completion.
1028 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
1029 extracted from lisp-complete-symbol.
1030 (lisp-complete-symbol): Use it.
1031 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
1032 setup completion-at-point for Elisp completion.
1033 (emacs-lisp-mode-map, lisp-interaction-mode-map):
1034 Use completion-at-point.
1035 * ielm.el (ielm-map): Use completion-at-point.
1036 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
1037 * progmodes/sym-comp.el: Move to...
1038 * obsolete/sym-comp.el: Move from progmodes.
1040 2009-12-07 Eli Zaretskii <eliz@gnu.org>
1042 Prevent save-buffer in Rmail buffers from using the coding-system
1043 of the current message, and from clobbering the encoding mnemonics
1044 in the mode line (Bug#4623).
1046 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
1048 (rmail-message-encoding): New variable.
1049 (rmail-write-region-annotate): Record the encoding of the current
1050 message in rmail-message-encoding.
1051 (rmail-after-save-hook): New function, restores the encoding of
1052 the current message after the message collection is saved.
1054 2009-12-07 Juri Linkov <juri@jurta.org>
1056 * progmodes/grep.el (grep-read-files): Use `completing-read'
1057 instead of `read-string'. Set its `collection' arg to
1058 `read-file-name-internal'. (Bug#4301)
1060 2009-12-07 Juri Linkov <juri@jurta.org>
1062 Correctly restore original Isearch point. (Bug#4994)
1064 * isearch.el (isearch-mode): Move `isearch-push-state' after
1065 `(run-hooks 'isearch-mode-hook)'.
1066 (isearch-cancel): When `isearch-push-state-function' is defined,
1067 let-bind `isearch-cmds' to the first state (the last element of
1068 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
1069 function and restores the original point). Otherwise, move point
1070 to `isearch-opoint'.
1072 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1074 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
1075 chars that don't have names, so the table can be built much faster at
1078 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
1080 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
1081 change. Suggested by David Kastrup.
1083 * simple.el (compose-mail): Check for incompatibilities and warn.
1084 (compose-mail-user-agent-warnings): New option.
1086 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
1088 Support showing a single log entry from vc-annotate.
1089 * vc.el (print-log): Add a new argument: START-REVISION.
1090 (vc-print-log-internal): Add a new optional argument and
1091 pass it to the backend.
1092 (vc-print-log, vc-print-root-log): Adjust callers.
1093 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
1094 buffer already displays the requested log entry, use it.
1095 Otherwise display only the log entry in question.
1096 * vc-svn.el (vc-svn-print-log):
1097 * vc-mtn.el (vc-mtn-print-log):
1098 * vc-hg.el (vc-hg-state):
1099 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
1100 (vc-git-show-log-entry): Return t on success.
1101 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
1102 (vc-bzr-show-log-entry): Return t on success.
1103 * vc-rcs.el (vc-rcs-print-log):
1104 * vc-sccs.el (vc-sccs-print-log):
1105 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
1107 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
1109 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
1110 Add menus to the meta mode. (Bug#5043)
1112 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
1114 * ediff-init.el (ediff-event-key): Use event-to-character instead of
1117 * ediff.el (ediff-buffers-internal): Add unwind-protect.
1119 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
1121 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
1122 Berbain <raphael.berbain@gmail.com>.
1124 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
1126 (tramp-initial-end-of-output): New defconst.
1127 (tramp-methods, tramp-find-shell)
1128 (tramp-open-connection-setup-interactive-shell)
1129 (tramp-maybe-open-connection): Use it.
1130 (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
1131 existence of `#' and `$'.
1133 * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
1134 `tramp-initial-end-of-output'.
1136 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
1138 Get the background mode from the terminal for xterm, and set
1140 * term/xterm.el (xterm-set-background-mode): New function.
1141 (terminal-init-xterm): Use it in case xterm supports background
1142 color queries. Recompute faces after getting the background
1145 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
1147 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
1148 number comment back on its own line, for easier parsing.
1150 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
1152 Make it work for non-file buffers (bug#5102).
1153 * doc-view.el (doc-view-current-cache-dir):
1154 Use doc-view-buffer-file-name rather than buffer-file-name.
1155 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
1157 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
1159 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
1160 author field is too short.
1162 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
1164 * vc-git.el (vc-git-print-log): Handle a limit argument.
1165 Display the short log in graph form and with labels.
1166 (vc-git-log-view-mode): Handle labels.
1168 Make vc-revert change VC state from 'added to 'unregistered.
1169 * vc-git.el (vc-git-revert): Call git reset first.
1171 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
1173 * net/newst-backend.el, net/newst-plainview.el:
1174 * net/newst-reader.el, net/newst-ticker.el:
1175 * net/newst-treeview.el, net/newsticker.el:
1176 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
1178 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
1180 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
1182 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
1183 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
1184 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
1185 Update annotation regexp.
1187 * simple.el (beginning-of-visual-line): Constrain to field
1188 boundaries (Bug#5106).
1190 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
1192 * xml.el (xml-substitute-numeric-entities): Move
1193 newsticker--decode-numeric-entities in newst-backend.el to
1194 xml-substitute-numeric-entities in xml.el. (Bug#5008)
1195 * net/newst-backend.el (newsticker--parse-generic-feed)
1196 (newsticker--parse-generic-items)
1197 (newsticker--decode-numeric-entities): Move
1198 newsticker--decode-numeric-entities in newst-backend.el to
1199 xml-substitute-numeric-entities in xml.el. (Bug#5008)
1201 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
1203 * progmodes/js.el (js--js-not): Add null to the list of values.
1205 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
1207 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
1209 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
1211 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
1212 delimiter if it is at the end of the current line.
1213 (bibtex-generate-url-list): Fix docstring.
1215 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
1217 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
1218 minibuffer's content with itself.
1219 Fold the confirm-after-completion case into the `confirm' case.
1220 (completion-pcm-word-delimiters): Add : and / to the delimiters.
1222 2009-12-06 Kevin Ryde <user42@zip.com.au>
1224 * ffap.el (ffap-rfc-path): Make this a defcustom since
1225 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
1227 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
1228 manuals, similar to existing setup for help-mode. (Bug#3913.)
1230 2009-12-05 Juri Linkov <juri@jurta.org>
1232 Save and restore dired buffer's point positions too. (Bug#4880)
1234 * dired.el (dired-save-positions): Return in the first element
1235 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
1237 (dired-restore-positions): First restore buffer's position.
1238 While restoring window's positions, check if window still displays
1239 the original buffer.
1241 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
1243 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
1246 * cedet/semantic/ia.el (semantic-ia-complete-symbol):
1247 Make argument optional.
1249 * shell.el (shell): Require ansi-color (Bug#5113).
1251 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
1253 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
1255 2009-12-05 Alan Mackenzie <acm@muc.de>
1257 * progmodes/cc-mode.el (c-before-hack-hook)
1258 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
1259 `c-file-style' to work again. This reversion restores the current
1260 software to its state in Emacs 23.1. (Bug#4146)
1262 2009-12-05 Kevin Ryde <user42@zip.com.au>
1264 * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
1265 comment-start-skip to comment-end-skip as comment (Bug#4781).
1267 2009-12-05 Juri Linkov <juri@jurta.org>
1269 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
1270 for virtual nodes. (Bug#4147)
1271 (Info-find-node-2): Set `Info-current-node-virtual' to nil
1272 when moving from a virtual node.
1273 (Info-mode-menu): Add `Info-virtual-index' to the menu.
1274 (Info-mode): Add `Info-virtual-index' to the docstring.
1276 2009-12-05 Eric Ludlam <zappo@gnu.org>
1278 * cedet/semantic/bovine/c.el (semantic-c-describe-environment):
1279 Describe project macro symbols.
1281 * cedet/semantic/complete.el (semantic-complete-do-completion):
1282 Don't call semantic-collector-current-exact-match.
1284 * cedet/ede.el (ede-apply-preprocessor-map): Accept lists of
1285 ede-objects as targets.
1287 * cedet/ede/pmake.el (ede-proj-makefile-insert-variables): Output
1288 a target's object list even if compiler vars are already in the
1291 * cedet/ede/emacs.el (ede-preprocessor-map): Add config.h to the
1292 list of headers producing necessary macros.
1294 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
1296 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
1297 track of the buffer position of the end of a BibTeX entry as this
1298 position may change during reformatting.
1299 (bibtex-format-entry): Remove whitespace before processing
1300 numerical fields so that we recognize the latter properly.
1301 (bibtex-reformat): Do not use push which changes the global value
1302 of bibtex-entry-format.
1303 (bibtex-field-braces-alist, bibtex-field-strings-alist)
1304 (bibtex-field-re-init): Replace only space characters by regexp
1306 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
1307 (bibtex-initialize): Also update bibtex-strings.
1308 (bibtex-kill-field): Preserve white space at end of entry.
1309 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
1310 Update bibtex-reference-keys.
1312 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
1314 * minibuffer.el (completion-pcm--merge-try): Also consider placing
1315 point after a star, if that's the only place where modifications can
1318 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
1320 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
1323 2009-12-04 Juri Linkov <juri@jurta.org>
1325 * proced.el (proced): Call `(proced-update t)' to update process
1326 information instead of only running proced-post-display-hook.
1327 (proced-send-signal): Add a leading space to the buffer name
1328 " *Marked Processes*" to make this buffer ephemeral.
1330 2009-12-04 Juri Linkov <juri@jurta.org>
1332 * dired.el (dired-auto-revert-buffer): New defcustom.
1333 (dired-internal-noselect): Use it.
1335 2009-12-04 Juri Linkov <juri@jurta.org>
1337 Change roles of modes and functions in image-mode.el (Bug#5062).
1339 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
1340 in `auto-mode-alist'.
1341 (image-mode-previous-major-mode): New variable.
1342 (image-minor-mode-map): Rename from `image-mode-text-map'.
1343 (image-mode): Move graceful error-handling code from
1344 `image-minor-mode' to here. On errors call `image-mode-as-text'.
1345 (image-minor-mode): Remove all image-handling code.
1346 Replace `image-mode-text-map' with `image-minor-mode-map'.
1347 Check for `image-type' in mode-line format string.
1348 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
1349 (image-mode-as-text): New function with most code from
1351 (image-toggle-display-text): Move code that removes image
1352 properties from `image-toggle-display' to here.
1353 (image-toggle-display-image): New function with code that adds
1354 image properties copied from `image-toggle-display'.
1355 (image-toggle-display): Remove most code with leaving only code
1356 that toggles between `image-mode-as-text' and `image-mode'.
1358 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
1360 * net/newst-treeview.el
1361 (newsticker--treeview-list-highlight-start): Restored call to
1362 save-excursion: Selected item was stuck.
1363 (newsticker--treeview-list-select): New.
1364 (newsticker--treeview-item-show-text)
1365 (newsticker--treeview-item-show)
1366 (newsticker--treeview-item-update): Use new
1367 newsticker-treeview-item-mode.
1368 (newsticker-treeview-update): Keep current item.
1369 (newsticker-treeview-next-new-or-immortal-item): Doc change.
1370 (newsticker--treeview-first-feed): Doc change.
1371 (newsticker-treeview-list-menu)
1372 (newsticker-treeview-item-menu): Added menu entries.
1373 (newsticker-treeview-item-mode): New.
1375 * net/newst-backend.el (newsticker-customize): Delete other
1378 2009-12-04 Sam Steingold <sds@gnu.org>
1380 * log-view.el (log-view-mode-map): "q" calls quit-window,
1381 like in all the other non-self-insert buffers.
1383 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
1386 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
1387 key decoding rather than do it manually via last-input-event +
1389 (term-exec): Use delete-and-extract-region.
1390 (term-handle-ansi-terminal-messages): Remove unused var `end'.
1391 (term-process-pager): Remove unused var `i'.
1392 (term-dynamic-simple-complete): Make obsolete.
1393 (serial-update-config-menu): Remove unused vars `y' and `str'.
1394 (term-update-mode-line): Remove unused var `temp'.
1396 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
1398 Limit the number of log entries displayed by default.
1399 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
1400 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
1401 using a prefix argument.
1403 2009-12-03 Glenn Morris <rgm@gnu.org>
1405 * progmodes/idlwave.el (class): Restore still useful declaration.
1407 2009-12-03 Alan Mackenzie <acm@muc.de>
1409 Enhance `c-parse-state' to run efficiently in "brace deserts".
1411 * progmodes/cc-mode.el (c-basic-common-init):
1412 Call c-state-cache-init.
1413 (c-neutralize-syntax-in-and-mark-CPP): Rename from
1414 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
1415 placing `category' properties value 'c-cpp-delimiter at its boundaries.
1417 * progmodes/cc-langs.el (c-before-font-lock-function):
1418 c-extend-and-neutralize-syntax-in-CPP has been renamed
1419 c-neutralize-syntax-in-and-mark-CPP.
1421 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
1422 with `category' properties now, not `syntax-table' ones.
1424 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
1425 enhanced (but slower) version of c-end-of-macro that won't land
1426 inside a literal or on another awkward character.
1427 (c-state-cache-too-far, c-state-cache-start)
1428 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
1429 (c-state-nonlit-pos-cache-limit, c-state-point-min)
1430 (c-state-point-min-lit-type, c-state-point-min-lit-start)
1431 (c-state-min-scan-pos, c-state-brace-pair-desert)
1432 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
1433 buffer local variables.
1434 (c-state-literal-at, c-state-lit-beg)
1435 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
1436 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
1437 (c-state-cache-top-paren, c-state-cache-after-top-paren)
1438 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
1439 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
1440 (c-renarrow-state-cache)
1441 (c-append-lower-brace-pair-to-state-cache)
1442 (c-state-push-any-brace-pair, c-append-to-state-cache)
1443 (c-remove-stale-state-cache)
1444 (c-remove-stale-state-cache-backwards, c-state-cache-init)
1445 (c-invalidate-state-cache-1, c-parse-state-1)
1446 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
1447 (c-parse-state): Enhance and refactor.
1448 (c-debug-parse-state): Amend to deal with all the new variables.
1450 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
1451 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
1452 modify to use category text properties rather than syntax-table ones.
1453 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
1454 to switch off/on the syntactic paren property of C++ template
1455 delimiters using the category property.
1456 (c-with-<->-as-parens-suppressed): Macro to invoke code with
1457 template delims suppressed.
1458 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
1459 New constant/macros which apply category properties to the start
1460 and end of preprocessor constructs.
1461 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
1462 "comment out" the syntactic value of characters in preprocessor
1464 (c-with-cpps-commented-out)
1465 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
1466 with characters in all or all but one preprocessor constructs
1469 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
1471 * proced.el (proced-filter-alist): Use regexp-quote.
1473 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
1476 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
1477 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
1478 arguments. Expand `default-directory'.
1480 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
1481 the benefit of returning an expanded localname.
1482 (tramp-tramp-file-p): Handle the case NAME is not a string.
1484 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
1486 Add support for bzr shelve/unshelve.
1487 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
1488 (vc-bzr-extra-menu-map): New variables.
1489 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
1490 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
1491 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
1492 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
1493 (vc-bzr-dir-extra-headers): Display shelves.
1495 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
1497 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1499 * textmodes/bibtex.el (bibtex-complete-internal):
1500 Use completion-in-region.
1501 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
1503 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
1505 Support applying stashes. Improve UI.
1506 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
1507 (vc-git-stash-apply, vc-git-stash-pop)
1508 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
1509 (vc-git-stash-menu): New functions.
1510 (vc-git-stash-menu-map): New variable.
1511 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
1513 2009-12-03 Glenn Morris <rgm@gnu.org>
1515 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
1516 (vc-print-log-internal): Fix previous change.
1517 (vc-revert): Correct pluralization.
1519 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1521 * progmodes/make-mode.el (makefile-special-targets-list): No need for
1522 it to be an alist any more.
1523 (makefile-complete): Use completion-in-region.
1525 * progmodes/octave-mod.el (octave-complete-symbol):
1526 Use completion-in-region.
1529 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
1530 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
1531 (idlwave-complete-class): Don't quote lambda.
1532 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
1533 (idlwave-mode-map): Move initialization into declaration.
1534 (idlwave-action-and-binding): Use backquotes.
1535 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
1537 (idlwave-is-pointer-dereference): Remove unused var `pos'.
1538 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
1539 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
1540 `parts', and `all-parts'.
1541 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
1542 (idlwave-convert-xml-system-routine-info): Remove unused string
1544 (idlwave-display-user-catalog-widget): Use dolist.
1545 (idlwave-scanning-lib): Declare dynamically-scoped var.
1546 (idlwave-scan-library-catalogs): Remove unused var `flags'.
1547 (completion-highlight-first-word-only): Declare to silence bytecomp.
1548 (idlwave-popup-select): Tighten scope of `resp'.
1549 (idlwave-find-struct-tag): Remove unused var `beg'.
1550 (idlwave-after-load-rinfo-hook): Declare.
1551 (idlwave-sintern-class-info): Remove unused var `taglist'.
1552 (idlwave-find-class-definition): Remove unused var `list'.
1553 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
1554 (idlwave-what-module-find-class): Remove unused var `classes'.
1556 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
1558 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
1560 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1562 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
1563 buffers visited. Remove redundant current-buffer-saving.
1565 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1567 Use completion-in-buffer and remove uses of dynamic scoping.
1568 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
1569 (pascal-buffer-to-use, pascal-flag): Don't declare.
1570 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
1571 (pascal-get-completion-decl, pascal-keyword-completion):
1572 Add `pascal-str' argument, save-excursion,
1573 return the found completions, and don't filter with pascal-pred.
1574 (pascal-completion-cache): New var.
1575 (pascal-completion): Don't switch buffer any more (it was never
1576 necessary). Don't save-excursion any more (it's done by the called
1577 subroutines). Use a cache to avoid redundant computations.
1578 Use complete-with-action rather than pascal-completion-response and
1579 let it apply the predicate as well.
1580 (pascal-complete-word): Use completion-in-buffer when
1581 pascal-toggle-completions is nil.
1582 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
1584 (pascal-comp-defun): Don't change buffer any more.
1585 Use complete-with-action rather than pascal-completion-response and
1586 let it apply the predicate as well.
1587 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
1590 2009-12-02 Kenichi Handa <handa@m17n.org>
1592 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
1593 shape for all Indic scripts.
1595 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1597 Use completion-in-buffer.
1598 * wid-edit.el (widget-field-text-end): New function.
1599 (widget-field-value-get): Use it.
1600 (widget-string-complete, widget-file-complete)
1601 (widget-color-complete): Use it and completion-in-region.
1602 (widget-complete): Don't narrow the buffer.
1604 2009-12-02 Glenn Morris <rgm@gnu.org>
1606 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
1607 (rmail-select-summary): Use rmail-pop-to-buffer.
1608 * mail/rmailsum.el: Replace all pop-to-buffer calls with
1609 rmail-pop-to-buffer, to prevent horizontal splits.
1611 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
1612 save-excursion with save-current-buffer.
1613 Widen before searching. (Bug#5093)
1614 (diary-list-sexp-entries): Remove superfluous save-excursion.
1616 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
1618 * woman.el (woman-make-bufname): Handle man-pages with "." in the
1621 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
1623 * ido.el (ido-file-internal): Handle filenames at point that do
1624 not have a directory part. (Bug#5049)
1626 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
1628 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
1629 (mpc-songs-jump-to, mpc-resume): Doc fixes.
1631 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
1633 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
1634 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
1637 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1639 * comint.el (comint-insert-input): Ignore clicks to the right of
1640 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
1642 * vc.el (vc-print-log-internal): Don't wait for the process to
1643 terminate before setting up the major mode.
1645 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
1648 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
1651 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
1653 2009-12-01 Glenn Morris <rgm@gnu.org>
1655 * window.el (window--display-buffer-2): Fix previous changes.
1657 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
1659 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
1661 2009-12-01 Glenn Morris <rgm@gnu.org>
1663 * Makefile.in (ELCFILES): Add mpc.elc.
1665 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1669 2009-12-01 Glenn Morris <rgm@gnu.org>
1671 * window.el (window-to-use): Define for compiler.
1673 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
1674 consistent with others (no final period).
1676 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
1677 (rmail-mime-show): Downcase the encoding. (Bug#5070)
1679 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
1681 Make vc-print-log buttons work.
1682 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
1684 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
1686 * savehist.el (savehist-autosave-interval): Allow setting to nil
1687 through customize. (Bug#5056)
1689 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
1691 Fix references to jit-lock properties.
1692 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
1693 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
1694 (perl-font-lock-special-syntactic-constructs):
1695 Quote jit-lock-defer-multiline property.
1697 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
1699 * vc-git.el (vc-git-registered): Call vc-git-root only once.
1701 2009-11-30 Juri Linkov <juri@jurta.org>
1703 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
1704 value `buffer' of `multi-isearch-next-buffer-current-function'.
1705 Use `(current-buffer)' when `buffer' is nil.
1706 (multi-isearch-next-buffer-from-list): Don't fallback to
1707 `(current-buffer)' when `buffer' is nil. (Bug#4947)
1709 2009-11-30 Juri Linkov <juri@jurta.org>
1711 * misearch.el (multi-isearch-read-buffers): Move canonicalization
1712 of buffers with `get-buffer' to `multi-isearch-buffers'.
1713 (multi-isearch-buffers, multi-isearch-buffers-regexp):
1714 Canonicalize BUFFERS with `get-buffer'. Doc fix.
1715 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
1716 FILES with `expand-file-name' converting relative file names
1717 to absolute. Doc fix. (Bug#4727)
1719 2009-11-30 Juri Linkov <juri@jurta.org>
1721 * misearch.el (multi-isearch-read-buffers)
1722 (multi-isearch-read-matching-buffers): New functions.
1723 (multi-isearch-buffers, multi-isearch-buffers-regexp):
1724 Use them in the `interactive' spec. Doc fix.
1725 (multi-isearch-read-files, multi-isearch-read-matching-files):
1727 (multi-isearch-files, multi-isearch-files-regexp):
1728 Use them in the `interactive' spec. Doc fix. (Bug#4725)
1730 2009-11-30 Juri Linkov <juri@jurta.org>
1732 * doc-view.el (doc-view-continuous):
1733 Rename from `doc-view-continuous-mode'.
1734 (doc-view-menu): Move "Toggle display" to the top.
1735 Add submenu "Continuous" with radio buttons "Off"/"On"
1736 and "Save as Default".
1737 (doc-view-scroll-up-or-next-page)
1738 (doc-view-scroll-down-or-previous-page)
1739 (doc-view-next-line-or-next-page)
1740 (doc-view-previous-line-or-previous-page): Rename
1741 `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
1743 2009-11-30 Juri Linkov <juri@jurta.org>
1745 * comint.el (comint-mode-map): Rebind `M-r' from
1746 `comint-previous-matching-input' to
1747 `comint-history-isearch-backward-regexp'.
1748 Unbind `M-s' to allow global key binding `M-s'.
1749 Add menu items for `comint-history-isearch-backward' and
1750 `comint-history-isearch-backward-regexp'. (Bug#3746)
1752 2009-11-30 Juri Linkov <juri@jurta.org>
1754 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
1755 For def=recenter, replace `recenter' with `recenter-top-bottom'
1756 that is called with `this-command' and `last-command' let-bound
1757 to `recenter-top-bottom'. When the last `def' was not `recenter',
1758 set `recenter-last-op' to nil. (Bug#4981)
1760 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
1762 Minor cleanup and simplification.
1763 * filecache.el (file-cache-add-directory)
1764 (file-cache-add-directory-recursively)
1765 (file-cache-add-from-file-cache-buffer)
1766 (file-cache-delete-file-regexp, file-cache-delete-directory)
1767 (file-cache-files-matching-internal, file-cache-display): Use dolist.
1768 (file-cache-temp-minibuffer-message): Delete function.
1769 (file-cache-minibuffer-complete): Use minibuffer-message instead.
1771 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
1772 Don't signal an error when bumping into EOB in tr, s, or y.
1774 2009-11-29 Juri Linkov <juri@jurta.org>
1776 * startup.el (fancy-about-text): Fix wording of Guided Tour.
1779 * descr-text.el (describe-char-unidata-list): Use lowercase name
1780 for "Unicode name" like in other tags.
1782 2009-11-29 Juri Linkov <juri@jurta.org>
1784 * ediff-util.el (ediff-minibuffer-with-setup-hook):
1785 New compatibility macro.
1786 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
1788 2009-11-29 Juri Linkov <juri@jurta.org>
1790 Add defcustom to define the cycling order of `recenter-top-bottom'.
1793 * window.el (recenter-last-op): Doc fix.
1794 (recenter-positions): New defcustom.
1795 (recenter-top-bottom): Rewrite to use `recenter-positions'.
1796 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
1798 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
1800 Improve integration of Tramp and ange-ftp in eshell.
1802 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
1803 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
1804 (eshell/sudo): Flatten args. Let-bind `default-directory'.
1806 * eshell/esh-util.el (top): Require also Tramp when compiling.
1807 (eshell-directory-files-and-attributes): Check for FTP remote
1809 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
1810 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
1811 (eshell-file-attributes): Handle ".". Return `entry'.
1813 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
1814 (ange-ftp-directory-files-and-attributes)
1815 (ange-ftp-real-directory-files-and-attributes): New defuns.
1817 * net/tramp.el (tramp-maybe-open-connection): Open the remote
1818 shell with "exec" when possible. This prevents trailing prompts
1819 in `start-file-process'.
1821 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1823 Try and remove assumptions about point-min==1.
1824 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
1825 (rng-compute-mode-line-string): Show the validation percentage in
1826 terms of the narrowed text, not the widened text.
1827 (rng-do-some-validation): Don't catch internal errors when debugging.
1828 (rng-first-error): Simplify.
1829 (rng-after-change-function): Remove work around. AFAIK the bug has
1830 been fixed a while ago.
1832 * image-mode.el (image-minor-mode): Exit more gracefully when the image
1833 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
1835 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
1837 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
1838 `cd' doesn't always do it for us (bug#5067).
1840 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
1841 on 2009-10-25 as part of some other change (bug#5067).
1843 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1845 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
1847 (byte-compile-warnings): Use byte-compile-warning-types.
1848 (byte-compile-save-excursion): Warn about use of set-buffer right
1849 after save-excursion.
1851 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
1852 the excursion as well.
1854 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
1856 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
1857 providing a Tramp related implementation of "su" and "sudo".
1858 (eshell-unix-initialize): Add "su" and "sudo".
1860 2009-11-27 Daiki Ueno <ueno@unixuser.org>
1862 * net/socks.el (socks-send-command): Convert binary request to
1863 unibyte before sending. This fixes mishandling of some port
1864 numbers such as 129.
1866 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1868 * help.el (describe-bindings-internal): Remove `interactive'.
1870 * man.el (Man-completion-table): Trim a terminating "(".
1871 Remove the space between name page a section.
1872 Add the command's description on the `help-echo' property.
1873 Remove `process-connection-type' binding since it's unused by
1875 Provide completion for the "<section> <name>" format as well.
1876 (Man-default-man-entry): Remove spurious var shadowing the argument.
1878 2009-11-26 Kevin Ryde <user42@zip.com.au>
1880 * log-view.el: Add "Keywords: tools", since its other keywords
1881 aren't in finder-known-keywords, and following vc.el.
1883 * sha1.el (sha1-string-external): default-directory "/" in case
1884 otherwise non-existent. process-connection-type pipe for touch of
1885 efficiency recommended by elisp manual. (An aside in Bug#3911.)
1887 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
1889 Misc coding convention cleanups.
1890 * htmlfontify.el (hfy-init-kludge-hook): Rename from
1891 hfy-init-kludge-hooks.
1892 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
1893 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
1894 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
1896 (hfy-slant, hfy-weight): Use tables rather than code.
1897 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
1898 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
1899 (hfy-face-attr-for-class): Initialize `face-spec' directly.
1900 (hfy-face-to-css): Remove `nconc' with single arg.
1901 (hfy-p-to-face-lennart): Use `or'.
1902 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
1903 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
1904 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
1905 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
1906 (hfy-force-fontification): Use run-hooks.
1908 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
1910 Various minor fixes.
1911 * htmlfontify.el (hfy-default-header): Add toggle_invis since
1912 Javascript belongs in the header, not the body.
1913 (hfy-javascript): Remove.
1914 (hfy-fontify-buffer): Don't insert it any more.
1915 (hfy-face-at): Handle (face0 face1 face2) style face properties.
1916 Fix bug in invis handling when there were no invis props in a chunk.
1918 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
1920 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
1922 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
1924 * finder.el (finder-mode-map): Add a menu.
1926 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
1928 * verilog-mode.el (verilog-at-struct-p): Support "signed" and
1931 (verilog-leap-to-head, verilog-backward-token): Handle "disable
1932 fork" statement better.
1934 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
1936 * verilog-mode.el (verilog-auto-insert-lisp, verilog-delete-auto)
1937 (verilog-delete-empty-auto-pair, verilog-library-filenames):
1938 Fix AUTOINSERTLISP to support insert-file. Reported by Clay Douglass.
1940 (verilog-auto-inst, verilog-auto-star-safe)
1941 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
1942 Fix removing "// Interfaces" when saving .* expansions. Reported by
1943 Pierre-David Pfister.
1945 2009-11-26 Glenn Morris <rgm@gnu.org>
1947 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
1950 2009-11-25 Johan Bockgård <bojohan@gnu.org>
1952 * vc-annotate.el (vc-annotate-revision-previous-to-line):
1953 Really use previous revision.
1955 2009-11-25 Kevin Ryde <user42@zip.com.au>
1957 * man.el (Man-completion-table): default-directory "/" in case
1958 doesn't otherwise exist. process-environment COLUMNS=999 so as
1959 not to truncate long names. process-connection-type pipe to avoid
1960 any chance of hitting the pseudo-tty TIOCGWINSZ.
1961 (man): completion-ignore-case t for friendliness and since man
1962 itself is case-insensitive on the command line.
1963 Further to Bug#3717.
1965 * arc-mode.el: Add "Keywords: files", so the details in its
1966 commentary can be reached from finder-by-keyword.
1967 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
1968 editing mode, but it's comms related and sgml-mode.el has "comm"
1970 * textmodes/bibtex-style.el: Add "Keywords: tex".
1971 * international/isearch-x.el, international/ja-dic-cnv.el:
1972 * international/ja-dic-utl.el, international/kkc.el:
1973 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
1975 2009-11-25 Juri Linkov <juri@jurta.org>
1977 * man.el (Man-completion-table): Modify regexp to include
1978 section names to completion strings. (Bug#3717)
1980 2009-11-25 Juri Linkov <juri@jurta.org>
1982 Search recursively in gzipped files. (Bug#4982)
1984 * progmodes/grep.el (grep-highlight-matches): Add new options
1985 `always' and `auto'. Doc fix.
1986 (grep-process-setup): Check `grep-highlight-matches' for
1987 `auto-detect' to determine the need to compute grep defaults.
1988 Move Windows/DOS specific --colors settings handling
1989 to `grep-compute-defaults'. Check `grep-highlight-matches'
1990 to get the value of "--color=".
1991 (grep-compute-defaults): Compute `grep-highlight-matches' when it
1992 has the value `auto-detect'. Move Windows/DOS specific settings
1993 from `grep-process-setup'.
1994 (zrgrep): New command with alias `rzgrep'.
1996 2009-11-25 Juri Linkov <juri@jurta.org>
1998 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
1999 to nil instead of switching off view-mode. (Bug#4896)
2001 2009-11-25 Juri Linkov <juri@jurta.org>
2003 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
2005 * mwheel.el (mwheel-scroll-up-function)
2006 (mwheel-scroll-down-function): New defvars.
2007 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
2008 `scroll-up', and `mwheel-scroll-down-function' instead of
2011 * doc-view.el (doc-view-scroll-up-or-next-page)
2012 (doc-view-scroll-down-or-previous-page): Add optional ARG.
2013 Use this ARG in the call to image-scroll-up/image-scroll-down.
2014 Change `interactive' spec to "P". Goto next/previous page only
2015 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
2016 SPC/DEL case). Doc fix.
2017 (doc-view-next-line-or-next-page)
2018 (doc-view-previous-line-or-previous-page): Rename arg to ARG
2020 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
2021 `doc-view-scroll-up-or-next-page', and buffer-local
2022 `mwheel-scroll-down-function' to
2023 `doc-view-scroll-down-or-previous-page'.
2025 2009-11-25 Juri Linkov <juri@jurta.org>
2027 Provide additional default values (directories at other Dired
2028 windows) via M-n in the minibuffer of some Dired commands.
2030 * dired-aux.el (dired-diff, dired-compare-directories)
2031 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
2032 `minibuffer-default' in `minibuffer-with-setup-hook'.
2033 (dired-dwim-target-directory): Find a window that displays Dired
2034 buffer instead of failing when the next window is not Dired.
2035 Use `get-window-with-predicate' to find for the next Dired window.
2036 (dired-dwim-target-defaults): New function.
2038 * ediff-util.el (ediff-read-file-name):
2039 Use `dired-dwim-target-defaults' to set `minibuffer-default'
2040 in `minibuffer-with-setup-hook'.
2042 2009-11-25 Juri Linkov <juri@jurta.org>
2044 Provide additional default values (file name at point or at the
2045 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
2047 * minibuffer.el (read-file-name-defaults): New function.
2048 (read-file-name): Reset `minibuffer-default' to nil when
2049 it duplicates initial input `insdef'.
2050 Bind `minibuffer-default-add-function' to lambda that
2051 calls `read-file-name-defaults' in `minibuffer-selected-window'.
2052 (minibuffer-insert-file-name-at-point): New command.
2054 * files.el (file-name-at-point-functions): New defcustom.
2055 (find-file-default): Remove defvar.
2056 (find-file-read-args): Don't use `find-file-default'.
2057 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
2058 to `read-file-name'.
2059 (find-file-literally): Use `read-file-name' with
2060 `confirm-nonexistent-file-or-buffer'.
2062 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
2064 * dired.el (dired-read-dir-and-switches):
2065 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
2066 to `read-file-name'.
2067 (dired-file-name-at-point): New function.
2068 (dired-mode): Add hook `dired-file-name-at-point' to
2069 `file-name-at-point-functions'.
2071 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2073 Really make the *Completions* window soft-dedicated (bug#5030).
2074 * window.el (window--display-buffer-2): Add `dedicated' argument.
2075 (display-buffer): Pass it when needed so the dedicated flag is set
2076 after calling set-window-buffer, which would otherwise reset it.
2078 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2080 * progmodes/meta-mode.el (meta-complete-symbol):
2081 * progmodes/etags.el (complete-tag):
2082 * mail/mailabbrev.el (mail-abbrev-complete-alias):
2083 Use completion-in-region.
2085 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
2086 (dabbrev-completion): Use completion-in-region.
2087 (dabbrev--abbrev-at-point): Simplify regexp.
2089 * abbrev.el (abbrev--before-point): Use word-motion functions
2090 if :regexp is not specified (bug#5031).
2092 * subr.el (string-prefix-p): New function.
2094 * man.el (Man-completion-cache): New var.
2095 (Man-completion-table): Use it.
2097 * vc.el (vc-print-log-internal): Make `limit' optional for better
2098 compatibility (e.g. with vc-annotate.el).
2100 2009-11-24 Kevin Ryde <user42@zip.com.au>
2102 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
2103 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
2105 * emacs-lisp/elint.el (elint-add-required-env): Better error message
2106 when .el source file not found or other error.
2108 2009-11-24 Markus Triska <markus.triska@gmx.at>
2110 * linum.el (linum-update-window): Ignore intangible (bug#4996).
2112 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2114 Handle the [back] button properly (bug#4979).
2115 * descr-text.el (describe-text-properties): Add a `buffer' argument.
2116 Use help-setup-xref, help-buffer, and with-help-window.
2117 (describe-char): Add `buffer' argument.
2118 Pass proper command to help-setup-xref. Don't meddle with
2119 help-xref-stack-item directly.
2120 (describe-text-category): Use with-help-window and help-buffer.
2122 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
2123 for the displayed buffer (bug#4887).
2125 * man.el (Man-completion-table): New function.
2128 2009-11-24 David Reitter <david.reitter@gmail.com>
2130 * vc-git.el (vc-git-registered): Use checkout directory (where
2131 .git is) rather than the file's directory and a relative path spec
2132 to work around a bug in git.
2134 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
2136 Improve handling of processes on remote hosts.
2138 * eshell/esh-util.el (eshell-path-env): New defvar.
2139 (eshell-parse-colon-path): New defun.
2140 (eshell-file-attributes): Use `eshell-parse-colon-path'.
2142 * eshell/esh-ext.el (eshell-search-path):
2143 Use `eshell-parse-colon-path'.
2144 (eshell-remote-command): Remove argument HANDLER.
2145 (eshell-external-command): Check for FTP remote connection.
2147 * eshell/esh-proc.el (eshell-gather-process-output):
2148 Use `file-truename', in order to start also symlinked files.
2149 Apply `start-file-process' instead of `start-process'.
2150 Shorten `command' to the local file name part.
2152 * eshell/em-cmpl.el (eshell-complete-commands-list):
2153 Use `eshell-parse-colon-path'.
2155 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
2157 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
2158 to `eshell-directory-change-hook'.
2160 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
2162 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
2163 because it could be enabled automatically if view-read-only is non-nil.
2165 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
2167 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
2170 2009-11-24 Glenn Morris <rgm@gnu.org>
2172 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
2173 deleted variable bookmark-bmenu-bookmark-column.
2175 * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
2176 Move after definition of global-semantic-idle-tag-highlight-mode.
2178 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
2180 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
2182 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
2184 * net/browse-url.el (browse-url-filename-alist): On Windows, add
2185 two slashes to the "file:" prefix.
2186 (browse-url-file-url): De-munge Cygwin filenames before passing
2187 them to Windows browser.
2188 (browse-url-default-windows-browser): Use call-process.
2190 2009-11-23 Juri Linkov <juri@jurta.org>
2192 Implement DocView Continuous mode. (Bug#4896)
2193 * doc-view.el (doc-view-continuous-mode): New defcustom.
2194 (doc-view-mode-map): Bind C-n/<down> to
2195 `doc-view-next-line-or-next-page', C-p/<up> to
2196 `doc-view-previous-line-or-previous-page'.
2197 (doc-view-next-line-or-next-page)
2198 (doc-view-previous-line-or-previous-page): New commands.
2200 2009-11-23 Juri Linkov <juri@jurta.org>
2202 Implement Isearch in comint input history. (Bug#3746)
2203 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
2204 `isearch-mode-hook'.
2205 (comint-history-isearch): New defcustom.
2206 (comint-history-isearch-backward)
2207 (comint-history-isearch-backward-regexp): New commands.
2208 (comint-history-isearch-message-overlay): New buffer-local variable.
2209 (comint-history-isearch-setup, comint-history-isearch-end)
2210 (comint-goto-input, comint-history-isearch-search)
2211 (comint-history-isearch-message, comint-history-isearch-wrap)
2212 (comint-history-isearch-push-state)
2213 (comint-history-isearch-pop-state): New functions.
2215 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
2217 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
2219 (tramp-handle-make-symbolic-link)
2220 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
2222 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
2223 (tramp-handle-process-file): Use it.
2225 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
2227 * window.el (move-to-window-line-last-op): Remove.
2228 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
2230 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
2232 Make M-r mirror the new cycling behavior of C-l.
2233 * window.el (move-to-window-line-last-op): New var.
2234 (move-to-window-line-top-bottom): New command.
2235 (global-map): Bind M-r move-to-window-line-top-bottom.
2237 2009-11-23 Sven Joachim <svenjoac@gmx.de>
2239 * dired-x.el (dired-guess-shell-alist-default):
2240 Support xz format. (Bug#4953)
2242 2009-11-22 Chong Yidong <cyd@stupidchicken.com>
2244 * cedet/srecode/map.el (srecode-get-maps):
2245 * cedet/semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag):
2246 * cedet/semantic/wisent/comp.el (wisent-toggle-verbose-flag):
2247 * cedet/semantic/decorate/mode.el (semantic-decoration-mode)
2248 (semantic-toggle-decoration-style):
2249 * cedet/semantic/decorate/include.el
2250 (semantic-decoration-include-describe)
2251 (semantic-decoration-unknown-include-describe)
2252 (semantic-decoration-unparsed-include-describe)
2253 (semantic-decoration-all-include-summary):
2254 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init):
2255 * cedet/semantic/analyze/complete.el
2256 (semantic-analyze-possible-completions):
2257 * cedet/semantic/util-modes.el (semantic-highlight-edits-mode)
2258 (semantic-show-unmatched-syntax-mode)
2259 (semantic-show-parser-state-mode, semantic-stickyfunc-mode)
2260 (semantic-highlight-func-mode):
2261 * cedet/semantic/util.el (semantic-describe-buffer):
2262 * cedet/semantic/symref.el (semantic-symref-find-references-by-name)
2263 (semantic-symref-find-tags-by-name)
2264 (semantic-symref-find-tags-by-regexp)
2265 (semantic-symref-find-tags-by-completion)
2266 (semantic-symref-find-file-references-by-name)
2267 (semantic-symref-find-text):
2268 * cedet/semantic/senator.el (senator-copy-tag, senator-kill-tag)
2270 * cedet/semantic/scope.el (semantic-calculate-scope):
2271 * cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
2272 * cedet/semantic/idle.el (semantic-idle-scheduler-mode)
2273 (define-semantic-idle-service):
2274 * cedet/semantic/complete.el (semantic-complete-analyze-inline)
2275 (semantic-complete-analyze-inline-idle):
2276 * cedet/semantic/analyze.el (semantic-analyze-current-context):
2277 * cedet/mode-local.el (describe-mode-local-bindings)
2278 (describe-mode-local-bindings-in-mode):
2279 * cedet/ede/make.el (ede-make-check-version):
2280 * cedet/ede/locate.el (ede-enable-locate-on-project):
2281 * cedet/cedet-idutils.el (cedet-idutils-expand-filename)
2282 (cedet-idutils-version-check):
2283 * cedet/cedet-global.el (cedet-gnu-global-expand-filename)
2284 (cedet-gnu-global-version-check):
2285 * cedet/cedet-cscope.el (cedet-cscope-expand-filename)
2286 (cedet-cscope-version-check): Use called-interactively-p instead
2289 * cedet/semantic/ia.el (semantic-ia-completion-format-tag-function):
2290 Use semantic-format-tag-prototype.
2292 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
2294 * emulation/viper-cmd.el: Use viper-last-command-char instead of
2295 last-command-char/last-command-event.
2296 (viper-prefix-arg-value): Do correct conversion of event-char for
2299 * emulation/viper-util.el, emulation/viper.el:
2300 Use viper-last-command-char instead of
2301 last-command-char/last-command-event.
2303 * ediff-init.el, ediff-mult.el, ediff-util.el:
2304 Replace last-command-char and last-command-event
2305 with (ediff-last-command-char) everywhere.
2307 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
2308 created in fundamental mode.
2310 * ediff.el (ediff-version): Revert the change of interactive-p to
2311 called-interactively-p.
2313 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
2315 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
2316 generation from word-movement command names.
2318 2009-11-21 Chong Yidong <cyd@stupidchicken.com>
2320 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
2321 (semantic-complete-jump-local, semantic-complete-jump):
2322 Improve prompt string.
2324 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
2326 * cus-start.el (all): Add native condition for font-use-system-font.
2328 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
2330 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
2331 Correct the patch from 2009-11-18. (Bug#3910)
2333 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
2335 * progmodes/subword.el: Rename from lisp/subword.el.
2337 * subword.el: Rename to progmodes/subword.el.
2339 * Makefile.in (ELCFILES): Adapt to subword.el move.
2341 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2342 Stefan Monnier <monnier@iro.umontreal.ca>
2344 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
2345 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
2346 (bookmark-bmenu-show-filenames): Use push.
2347 (bookmark-bmenu-hide-filenames): Use local var instead of
2348 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
2349 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
2350 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
2351 filenames now that the bookmark names are always available.
2353 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2355 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
2356 (bookmark-search-pattern): Move and leave unbound.
2357 (bookmark-bmenu-mode-map): Change binding.
2358 (bookmark-read-search-input): Simplify.
2359 Don't use text-char-description. Don't error on non-char events.
2360 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
2361 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
2362 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
2363 Use a local var for the timer.
2364 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
2365 (i.e. bookmark-bmenu-search).
2367 2009-11-21 Glenn Morris <rgm@gnu.org>
2369 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
2371 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
2373 * net/browse-url.el (browse-url-default-windows-browser):
2374 Use cygstart for cygwin.
2376 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
2378 * bookmark.el: Formatting and doc fixes only:
2379 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
2380 (bookmark-bmenu-search): Wrap to fit within 80 columns.
2381 Minor grammar and punctuation fixes in doc string.
2382 (bookmark-read-search-input): Adjust to fit within 80 columns.
2384 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
2386 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
2387 (c-backward-into-nomenclature): Adapt to subword renaming.
2389 * subword.el (subword-forward, subword-backward, subword-mark)
2390 (subword-kill, subword-backward-kill, subword-transpose)
2391 (subword-downcase, subword-upcase, subword-capitalize)
2392 (subword-forward-internal, subword-backward-internal):
2393 Rename from forward-subword, backward-subword, mark-subword,
2394 kill-subword, backward-kill-subword, transpose-subwords,
2395 downcase-subword, upcase-subword, capitalize-subword,
2396 forward-subword-internal, backward-subword-internal.
2398 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2400 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
2402 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
2404 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
2405 (bookmark-bmenu-filter-alist-by-regexp)
2406 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
2407 (bookmark-bmenu-search): New command.
2408 (bookmark-bmenu-mode-map): Bind it.
2410 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
2412 * cedet/semantic/complete.el (semantic-complete-inline-map): Doc fix.
2414 * cedet/semantic/idle.el (define-semantic-idle-service)
2415 (semantic-idle-summary-mode, semantic-idle-completions): Doc fix.
2417 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
2419 * progmodes/cc-cmds.el: declare-functioned forward-subword and
2420 backward-subword to quit the byte-compiler.
2422 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
2424 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
2426 * progmodes/cc-cmds.el (c-update-modeline)
2427 (c-forward-into-nomenclature, c-backward-into-nomenclature):
2428 Refer to subword.el functions instead of cc-subword.el.
2430 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
2431 subword.el functions instead of cc-subword.el.
2433 * progmodes/cc-subword.el: Rename to subword.el.
2434 * subword.el: Rename from progmodes/cc-subword.el.
2435 (subword-mode-map): Rename from c-subword-mode-map.
2436 (subword-mode): Rename from c-subword-mode.
2437 (global-subword-mode): New global minor mode.
2438 (forward-subword): Rename from c-forward-subword.
2439 (backward-subword): Rename from c-backward-subword.
2440 (mark-subword): Rename from c-mark-subword.
2441 (kill-subword): Rename from c-kill-subword.
2442 (backward-kill-subword): Rename from c-backward-kill-subword.
2443 (transpose-subwords): Rename from c-tranpose-subword.
2444 (downcase-subword): Rename from c-downcase-subword.
2445 (capitalize-subword): Rename from c-capitalize-subword.
2446 (forward-subword-internal): Rename from c-forward-subword-internal.
2447 (backward-subword-internal): Rename from c-backward-subword-internal.
2449 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
2451 * vc.el (vc-deduce-fileset): Allow non-state changing operations
2452 from a dired buffer.
2453 (vc-dired-deduce-fileset): New function.
2454 (vc-root-diff, vc-print-root-log): Use it.
2456 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
2457 nil LIMIT argument to vc-print-log-internal.
2459 2009-11-20 Glenn Morris <rgm@gnu.org>
2461 * Makefile.in (ELCFILES): Regenerate.
2463 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
2465 * cedet/cedet.el (cedet-menu-map): Re-order menu items.
2467 * cedet/semantic.el: Enable idle-mode menu items only if
2468 global-semantic-idle-scheduler-mode is enabled.
2469 (semantic-default-submodes): Doc fix.
2471 * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
2472 When turning off, disable other idle modes.
2474 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
2476 * calc/calc.el (calc-set-mode-line):
2477 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
2478 (math-format-number): Rename `math-format-complement-signed' to
2479 `math-format-twos-complement'.
2481 * calc/calc-bin.el (math-format-twos-complement): Rename from
2482 math-format-complement-signed.
2483 (calc-radix): Rename `calc-complement-signed-mode' to
2484 `calc-twos-complement-mode'.
2485 (calc-octal-radix, calc-hex-radix): Add an argument for
2488 * calc/calc-embed.el (calc-embedded-mode-vars):
2489 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
2491 * calc/calc-ext.el (calc-init-extensions):
2492 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
2493 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
2495 * calc/calc-units.el (math-build-units-table-buffer):
2496 Let `calc-twos-complement-mode' be nil.
2498 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
2501 * calc/calc-vec.el (calcFunc-vunpack):
2502 * calc/calc-aent.el (calc-do-calc-eval):
2503 * calc/calc-forms.el (math-format-date):
2504 * calc/calc-graph.el (calc-graph-plot):
2505 * calc/calc-math.el (math-use-emacs-fn):
2506 * calc/calccomp.el (math-compose-expr):
2507 Let `calc-twos-complement-mode' be nil.
2509 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
2511 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
2512 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
2513 * minibuffer.el (completion-in-region-functions): New hook.
2514 (completion-in-region): New function.
2515 * emacs-lisp/lisp.el (lisp-complete-symbol):
2516 * pcomplete.el (pcomplete-std-complete): Use it.
2518 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
2520 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
2521 (latex-complete-alist): New vars.
2522 (latex-string-prefix-p, latex-complete-bibtex-keys)
2523 (latex-complete-envnames, latex-complete-refkeys)
2524 (latex-complete-data): New functions.
2525 (latex-complete, latex-indent-or-complete): New commands.
2527 * window.el (display-buffer-mark-dedicated): New var.
2528 (display-buffer): Obey it.
2529 * minibuffer.el (minibuffer-completion-help): Use it.
2531 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
2533 * filecache.el (file-cache-add-file): Use push and cons.
2534 (file-cache-delete-file-regexp): Use push.
2535 (file-cache-complete): Use completion-in-region.
2537 * simple.el (with-wrapper-hook): Fix thinko.
2539 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
2540 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
2541 Use with-current-buffer and string-to-number.
2542 (hfy-fallback-colour-values): Use assoc-string.
2543 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
2544 (hfy-face-at): Remove unused var `found-face'.
2545 (hfy-compile-stylesheet): Remove unused var `css'.
2546 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
2548 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
2549 Use with-current-buffer.
2550 (hfy-text-p): Use expand-file-name and fewer setq.
2552 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
2554 * htmlfontify.el, hfy-cmap.el: New files.
2556 2009-11-19 Juri Linkov <juri@jurta.org>
2558 * minibuffer.el (completions-format): New defcustom.
2559 (completion--insert-strings): Implement vertical format.
2561 * simple.el (switch-to-completions): Move point to the first
2562 completion when point was at the beginning of the buffer.
2564 2009-11-19 Juri Linkov <juri@jurta.org>
2566 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
2568 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
2570 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
2572 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
2573 (mail-signature): Change default to t.
2574 (mail-from-style): Deprecate `system-default' value.
2575 (mail-insert-from-field): For default value of mail-from-style,
2576 default to `angles' unless `angles' needs quoting and `parens'
2578 (mail-citation-prefix-regexp): Use citation regexp from
2581 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
2583 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
2584 Set variables for computing the prompt for reading password.
2586 2009-11-19 Glenn Morris <rgm@gnu.org>
2588 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
2590 * textmodes/flyspell.el (sgml-lexical-context): Declare.
2592 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
2593 (newsticker-treeview-listwindow-height): Fix custom type.
2595 2009-11-19 Kenichi Handa <handa@m17n.org>
2597 * descr-text.el (describe-char-padded-string): Compose with TAB
2598 only if there's a font for CH.
2599 (describe-char): Fix the condition for detecting a trivial composition.
2601 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
2603 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
2604 more accurate version of the regexp. (Bug#3910)
2606 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
2608 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
2610 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
2612 * font-setting.el (font-use-system-font): Declare for byte-compiler.
2613 (font-setting-change-default-font): Fix typo in docstring.
2615 2009-11-18 Alan Mackenzie <acm@muc.de>
2617 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
2619 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
2621 * font-setting.el (font-use-system-font): Move ...
2623 * cus-start.el (all): ... to here.
2625 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
2627 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
2628 Don't set `ad-return-value' if `ad-do-it' doesn't.
2630 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
2633 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
2635 * menu-bar.el: Put "Use system font" in Option-menu.
2636 (menu-bar-options-save): Add font-use-system-font.
2638 * loadup.el: If feature system-font-setting or font-render-setting is
2639 there, load font-setting.
2641 * Makefile.in (ELCFILES): Add font-settings.el.
2642 * font-setting.el: New file.
2644 2009-11-17 Glenn Morris <rgm@gnu.org>
2646 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
2648 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
2649 Preserve point in the list buffer. (Bug#4939)
2651 (newsticker--treeview-list-update-highlight)
2652 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
2654 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
2656 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
2659 * calc/calc-ext.el (calc-init-extensions): Remove references to
2662 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
2664 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
2665 * calc/calc-help.el (calc-b-prefix-help): Remove references to
2668 2009-11-16 Kevin Ryde <user42@zip.com.au>
2670 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
2671 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
2673 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
2674 (lm-keywords-list): Allow comma-only separator like "foo,bar".
2675 Ignore trailing spaces by omit-nulls to split-string (fixing
2676 regression from Emacs 21 due to the incompatible split-string
2677 change). (Bug #4928.)
2679 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
2681 * vc.el (vc-log-show-limit): Default to 2000.
2682 (vc-print-log-internal): Insert buttons to request more entries
2683 when limiting the output.
2685 * vc-sccs.el (vc-sccs-print-log):
2686 * vc-rcs.el (vc-rcs-print-log):
2687 * vc-cvs.el (vc-cvs-print-log):
2688 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
2691 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
2693 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
2694 error when `tramp-gvfs-dbus-event-vector' is set.
2695 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
2697 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2699 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
2701 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
2703 * net/dbus.el (dbus-unregister-service): New defun.
2704 (dbus-register-property): Register the handlers of
2705 "org.freedesktop.DBus.Properties" for SERVICE.
2706 (dbus-property-handler): Fix docstring.
2708 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2710 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
2711 Quote doc string reference in defvaralias as it is not in special form.
2712 (byte-compile-output-docform): Doc fix.
2714 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
2716 * calc/calc.el (math-2-word-size, math-half-2-word-size)
2717 (calc-complement-signed-mode): New variables.
2718 (calc-set-mode-line): Add indicator for twos-complements.
2719 (math-format-number): Format twos-complement notation.
2721 * calc/calc-bin.el (calc-word-size): Reset the variables
2722 `math-2-word-size' and `math-half-2-word-size'.
2723 (math-format-complement-signed, math-symclip, calcFunc-symclip)
2724 (calc-symclip): New functions.
2726 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
2728 * calc/calc-embed.el (calc-embedded-mode-vars):
2729 Add `calc-complement-signed-mode' to the list of modes.
2731 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
2732 (calc-b-oper-keys): Add `calc-symclip' to list.
2734 * calc/calc-ext.el (math-read-number-fancy): Read complement
2736 (calc-init-extensions): Add binding for `calc-symclip'.
2737 Add autoload for `calcFunc-symclip' and `calc-symclip'.
2739 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
2741 (calc-modes-menu): Add item for twos complement mode.
2743 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
2745 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
2747 * register.el (jump-to-register, insert-register): Handle Semantic
2748 tags. From commented-out advice in semantic/senator.el.
2750 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
2752 * vc.el (vc-log-show-limit): New variable.
2753 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
2754 when using a prefix argument.
2755 (vc-print-log-internal): Add new argument LIMIT.
2757 * vc-svn.el (vc-svn-print-log):
2758 * vc-mtn.el (vc-mtn-print-log):
2759 * vc-hg.el (vc-hg-print-log):
2760 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
2761 pass it to the log command when set. Make the BUFFER argument
2764 * vc-sccs.el (vc-sccs-print-log):
2765 * vc-rcs.el (vc-rcs-print-log):
2766 * vc-git.el (vc-git-print-log):
2767 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
2768 ignore it. Make the BUFFER argument non-optional
2770 * bindings.el (mode-line-buffer-identification): Do not purecopy.
2772 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
2774 * dired.el (dired-mode-map): Move encryption items to "Operate"
2777 * strokes.el (strokes-update-window-configuration): Make strokes
2778 buffer current before erasing (Bug#4906).
2780 * cedet/semantic/idle.el (semantic-idle-summary-mode)
2781 (semantic-idle-summary-mode): Define using define-minor-mode
2782 instead of define-semantic-idle-service.
2783 (semantic-idle-summary-mode): New function.
2784 (semantic-idle-summary-mode-setup): Use pre-command-hook to ensure
2785 that mouse motion does not reset the echo area.
2787 2009-11-15 Juri Linkov <juri@jurta.org>
2789 * simple.el (set-mark-default-inactive): Add :type, :group
2790 and :version. (Bug#4876)
2792 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
2794 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
2795 (archive-unique-fname): ... here. (Bug#4929)
2797 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2799 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
2802 * novice.el (disabled-command-function): Add useful args.
2803 Setup the help buffer so that [back] works.
2804 Remove redundant call to help-mode.
2805 (disabled-command-function): Use `case'.
2806 (en/disable-command): New function extracted from enable-command.
2807 (enable-command, disable-command): Use it.
2809 2009-11-14 Glenn Morris <rgm@gnu.org>
2811 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
2812 constants. (Bug#4913)
2814 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
2816 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
2818 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
2819 defined in C that have no doc-strings. (Bug#1063)
2821 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
2823 * cus-edit.el (data, files):
2824 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
2826 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
2828 * simple.el (shell-command): Doc fix (Bug#4891).
2830 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
2832 2009-11-14 Glenn Morris <rgm@gnu.org>
2834 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
2835 statements for vc-diff, emerge-quit, and rmail-cease-edit.
2836 If they are already loaded, eval-after-load will do the right thing.
2838 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
2841 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
2843 * simple.el (x-selection-owner-p): Declare.
2844 (read-mail-command): Use custom radio type rather than choice.
2845 (completion-no-auto-exit): Doc fix.
2847 * custom.el (defgroup):
2848 * epg-config.el (epg): Doc fixes.
2850 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
2852 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
2853 * international/ccl.el (define-ccl-program): Do not purecopy the
2854 docstring, defconst does it anyway.
2856 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2858 * add-log.el (add-change-log-entry): Avoid displaying the changelog
2861 * x-dnd.el (x-dnd-maybe-call-test-function):
2862 * window.el (split-window-vertically):
2863 * whitespace.el (whitespace-help-on):
2864 * vc-rcs.el (vc-rcs-consult-headers):
2865 * userlock.el (ask-user-about-lock-help)
2866 (ask-user-about-supersession-help):
2867 * type-break.el (type-break-force-mode-line-update):
2868 * time-stamp.el (time-stamp-conv-warn):
2869 * terminal.el (te-set-output-log, te-more-break, te-filter)
2870 (te-sentinel, terminal-emulator):
2871 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
2872 (term-write-input-ring, term-check-source, term-start-output-log):
2873 (term-display-buffer-line, term-dynamic-list-completions):
2874 (term-ansi-make-term, serial-term):
2875 * subr.el (selective-display):
2876 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
2877 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
2878 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
2879 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
2880 (speedbar-remove-localized-speedbar-support)
2881 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
2882 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
2883 (speedbar-buffers-line-directory):
2884 * simple.el (shell-command-on-region, append-to-buffer)
2885 (prepend-to-buffer):
2886 * shadowfile.el (shadow-save-todo-file):
2887 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
2888 (scroll-bar-maybe-set-window-start):
2889 * sb-image.el (speedbar-image-dump):
2890 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
2891 (load-save-place-alist-from-file):
2892 * ps-samp.el (ps-print-message-from-summary):
2893 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
2894 (ps-background-image, ps-begin-job, ps-do-despool):
2895 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
2896 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
2897 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
2898 (pr-call-process, pr-file-list, pr-interface-save):
2899 * novice.el (disabled-command-function)
2900 (enable-command, disable-command):
2901 * mouse.el (mouse-buffer-menu-alist):
2902 * mouse-copy.el (mouse-kill-preserving-secondary):
2903 * macros.el (kbd-macro-query):
2904 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
2905 * informat.el (batch-info-validate):
2906 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
2907 * hippie-exp.el (try-expand-dabbrev-visible):
2908 * help-mode.el (help-make-xrefs):
2909 * help-fns.el (describe-variable):
2910 * generic-x.el (bat-generic-mode-run-as-comint):
2911 * finder.el (finder-mouse-select):
2912 * find-dired.el (find-dired-sentinel):
2913 * filesets.el (filesets-file-close):
2914 * files.el (list-directory):
2915 * faces.el (list-faces-display, describe-face):
2916 * facemenu.el (list-colors-display):
2917 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
2918 * epg.el (epg--process-filter, epg-cancel):
2919 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
2920 (epa--read-signature-type):
2921 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
2922 (emerge-file-names):
2923 * ehelp.el (electric-helpify):
2924 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
2925 * ediff-vers.el (rcs-ediff-view-revision):
2926 * ediff-util.el (ediff-setup):
2927 * ediff-mult.el (ediff-append-custom-diff):
2928 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
2930 * echistory.el (Electric-command-history-redo-expression):
2931 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
2932 * disp-table.el (describe-display-table):
2933 * dired.el (dired-find-buffer-nocreate):
2934 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
2935 * dabbrev.el (dabbrev--same-major-mode-p):
2936 * chistory.el (list-command-history):
2937 * apropos.el (apropos-documentation):
2938 * allout.el (allout-obtain-passphrase):
2939 (allout-copy-exposed-to-buffer):
2940 (allout-verify-passphrase): Use with-current-buffer.
2942 2009-11-13 Glenn Morris <rgm@gnu.org>
2944 * Makefile.in (ELCFILES): Regenerate.
2946 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
2948 * net/dbus.el (dbus-registered-objects-table): Rename from
2949 `dbus-registered-functions-table', because it contains also properties.
2950 (dbus-unregister-object): Unregister also properties.
2951 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2952 Use a timeout of 500 msec, in order to not block.
2953 (dbus-register-property, dbus-property-handler): New defuns.
2955 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2957 * simple.el (minibuffer-default-add-completions): Drop deprecated
2960 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
2962 * textmodes/artist.el (artist-mouse-choose-operation):
2963 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
2964 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
2965 (artist-compute-up-event-key): New function.
2966 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
2968 2009-11-13 Kenichi Handa <handa@m17n.org>
2970 * language/japan-util.el: Make sure that the value of jisx0208
2971 property is jisx0208 character.
2973 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
2975 * international/mule.el (auto-coding-regexp-alist): Only purecopy
2976 car or each item, not the whole list.
2978 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2980 * minibuffer.el (minibuffer-completion-help):
2981 Use minibuffer-hide-completions.
2983 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
2985 * dired.el (dired-save-positions, dired-restore-positions): New funs.
2986 (dired-revert): Use them (bug#4880).
2988 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
2990 * tooltip.el (tooltip-frame-parameters): Undo previous change.
2992 2009-11-12 Juri Linkov <juri@jurta.org>
2994 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
2996 (find-file-literally-at-point): Alias of `ffap-literally'.
2998 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
3000 * textmodes/ispell.el (ispell-skip-region-alist):
3001 * textmodes/css-mode.el (auto-mode-alist):
3002 * progmodes/compile.el (auto-mode-alist):
3003 * international/mule.el (ctext-non-standard-encodings-alist)
3004 (ctext-non-standard-encodings-regexp):
3005 * simple.el (shell-command-switch, text-read-only):
3006 * replace.el (occur-mode-map):
3007 * paths.el (rmail-file-name):
3008 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
3009 * find-file.el (ff-special-constructs):
3010 * files.el (file-name-handler-alist):
3011 * composite.el: Purecopy strings.
3013 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
3015 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
3017 * widget.el (define-widget): Purecopy the docstring.
3018 * international/mule-cmds.el (charset): Do not purecopy the
3019 docstring here, define-widget does it.
3021 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
3022 * textmodes/bibtex-style.el (auto-mode-alist):
3023 * progmodes/inf-lisp.el (inferior-lisp-prompt):
3024 * progmodes/compile.el (compile-command):
3025 * language/korea-util.el (default-korean-keyboard):
3026 * international/mule-conf.el (file-coding-system-alist):
3027 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
3028 * tooltip.el (tooltip-frame-parameters):
3029 * newcomment.el (comment-end, comment-padding):
3030 * dired.el (dired-trivial-filenames):
3031 * comint.el (comint-file-name-prefix): Purecopy initial values.
3033 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
3035 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
3036 (tramp-advice-minibuffer-electric-tilde): Unload advices via
3038 (tramp-advice-make-auto-save-file-name)
3039 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
3040 after removing the advice.
3042 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
3044 * progmodes/grep.el (grep-regexp-alist):
3045 * international/mule-cmds.el (iso-2022-control-alist):
3046 * emacs-lisp/timer.el (timer-duration-words):
3047 * subr.el (version-separator, version-regexp-alist):
3048 * minibuffer.el (completion-styles-alist):
3049 * faces.el (face-attribute-name-alist, list-faces-sample-text):
3050 Change defvars to defconsts.
3052 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
3053 * loadup.el ("international/mule-conf"): Load the byte compiled version.
3054 * international/mule-conf.el: Allow to be byte compiled.
3056 * international/mule.el (define-charset): Purecopy props.
3057 (load-with-code-conversion): Purecopy doc string and file name.
3058 (put-charset-property): Purecopy strings.
3059 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
3061 * international/mule-cmds.el (register-input-method): Purecopy arguments.
3062 (define-char-code-property): Correctly purecopy the table.
3064 * international/ccl.el (define-ccl-program): Purecopy the docstring.
3066 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
3068 * subr.el (add-hook): Purecopy strings.
3069 (eval-after-load): Purecopy load-history-regexp and the form.
3071 * custom.el (custom-declare-group): Purecopy load-file-name.
3073 * subr.el (menu-bar-separator): New defconst.
3074 * net/eudc.el (eudc-tools-menu):
3075 * international/mule-cmds.el (set-coding-system-map)
3077 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
3078 * vc-hooks.el (vc-menu-map):
3079 * replace.el (occur-mode-map):
3080 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
3081 (menu-bar-edit-menu, menu-bar-goto-menu)
3082 (menu-bar-custom-menu, menu-bar-showhide-menu)
3083 (menu-bar-options-menu, menu-bar-tools-menu)
3084 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
3085 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
3086 (menu-bar-help-menu):
3087 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
3088 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
3090 * term/x-win.el (x-gtk-stock-map):
3091 * progmodes/vera-mode.el (auto-mode-alist):
3092 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
3093 (inferior-lisp-program, inferior-lisp-load-command):
3094 * progmodes/hideshow.el (hs-special-modes-alist):
3095 * progmodes/gud.el (same-window-regexps):
3096 * progmodes/grep.el (grep-program, find-program, xargs-program):
3097 * net/telnet.el (same-window-regexps):
3098 * net/rlogin.el (same-window-regexps):
3099 * language/ethiopic.el (font-ccl-encoder-alist):
3100 * vc-sccs.el (vc-sccs-master-templates):
3101 * vc-rcs.el (vc-rcs-master-templates):
3102 * subr.el (cl-assertion-failed):
3103 * simple.el (next-error-overlay-arrow-position):
3104 * lpr.el (lpr-command):
3105 * locate.el (locate-ls-subdir-switches):
3106 * info.el (same-window-regexps, info)
3107 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
3108 * image-mode.el (image-mode, auto-mode-alist):
3109 * hippie-exp.el (hippie-expand-ignore-buffers):
3110 * format.el (format-alist):
3111 * find-dired.el (find-ls-subdir-switches, find-grep-options)
3113 * facemenu.el (facemenu-keybindings):
3114 * dired.el (dired-listing-switches, dired-chown-program):
3115 * diff.el (diff-switches, diff-command):
3116 * cus-edit.el (same-window-regexps):
3117 * bindings.el (mode-line-mule-info)
3118 (mode-line-buffer-identification): Purecopy strings.
3120 2009-11-11 Juri Linkov <juri@jurta.org>
3122 * simple.el (dired-get-filename) <declare-function>:
3123 Tell the byte-compiler about dired-get-filename.
3124 (shell-command): In Dired mode, get filename from the current line
3125 as the default value.
3127 2009-11-10 Glenn Morris <rgm@gnu.org>
3129 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
3130 * calendar/holidays.el, progmodes/cperl-mode.el:
3131 Update x-popup-menu declarations.
3133 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
3134 (list-load-path-shadows): Use dolist.
3135 (list-load-path-shadows): Use with-current-buffer.
3137 2009-11-10 Juri Linkov <juri@jurta.org>
3139 * minibuffer.el (read-file-name): Support a list of default values
3140 in `default-filename'. Use the first file name where only one
3141 element is required. Doc fix.
3143 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
3145 * net/dbus.el (dbus-unregister-object): Release service, if no
3146 other method is registered for it.
3148 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
3150 * bookmark.el (bookmark-completing-read): Sort bookmark names if
3151 bookmark-sort-flag is non-nil (Bug#4653).
3153 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
3155 * cedet/semantic/ctxt.el (semantic-get-local-variables): Disable
3156 the progress reporter entirely.
3158 * emulation/cua-base.el: Add CUA property to some CC mode commands
3161 2009-11-08 Kevin Ryde <user42@zip.com.au>
3163 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
3164 at end of sentence (Bug#4818).
3166 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
3168 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3169 Handle "see declaration of" MSFT statements (Bug#4100).
3171 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
3173 * net/tramp.el (tramp-advice-make-auto-save-file-name)
3174 (tramp-advice-file-expand-wildcards): Unload via
3177 * net/trampver.el: Update release number.
3179 2009-11-08 Kevin Ryde <user42@zip.com.au>
3181 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
3184 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
3186 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
3187 in order to keep context in SELinux.
3189 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
3191 * dired-aux.el (dired-query): Place cursor in echo area and allow
3194 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
3195 menu item if not on a directory (Bug#4701).
3197 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
3199 Sync with Tramp 2.1.17.
3201 * net/tramp.el (tramp-handle-copy-directory): Don't use
3202 `file-remote-p' (due to compatibility).
3204 * net/tramp-compat.el (tramp-compat-copy-directory)
3205 (tramp-compat-delete-directory): New defuns.
3207 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
3208 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
3209 `tramp-compat-delete-directory'.
3211 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3212 (tramp-smb-handle-delete-directory): Use
3213 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
3215 * net/trampver.el: Update release number.
3217 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
3219 * tar-mode.el (tar-copy): Call write-region on the right buffer
3222 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
3223 by hand, if necessary (Bug#4878).
3225 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
3227 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
3228 align size column (Bug#4839).
3230 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
3233 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
3235 * progmodes/ld-script.el (auto-mode-alist):
3236 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
3238 * cus-face.el (custom-declare-face): Purecopy face spec.
3240 2009-11-06 Kenichi Handa <handa@m17n.org>
3242 * international/uni-bidi.el: Re-generated.
3243 * international/uni-category.el: Re-generated.
3244 * international/uni-combining.el: Re-generated.
3245 * international/uni-mirrored.el: Re-generated.
3247 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
3249 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
3250 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
3251 (tex-start-options, slitex-run-command, latex-run-command)
3252 (tex-run-command, tex-directory):
3253 * textmodes/ispell.el (ispell-html-skip-alists)
3254 (ispell-tex-skip-alists, ispell-tex-skip-alists):
3255 * textmodes/fill.el (adaptive-fill-first-line-regexp):
3256 (adaptive-fill-regexp):
3257 * textmodes/dns-mode.el (auto-mode-alist):
3258 * progmodes/python.el (interpreter-mode-alist):
3259 * progmodes/etags.el (tags-compression-info-list):
3260 * progmodes/etags.el (tags-file-name):
3261 * net/browse-url.el (browse-url-galeon-program)
3262 (browse-url-firefox-program):
3263 * mail/sendmail.el (mail-signature-file)
3264 (mail-citation-prefix-regexp):
3265 * international/mule-conf.el (eight-bit):
3266 * international/latexenc.el (latex-inputenc-coding-alist):
3267 * international/fontset.el (x-pixel-size-width-font-regexp):
3268 * emacs-lisp/warnings.el (warning-type-format):
3269 * emacs-lisp/trace.el (trace-buffer):
3270 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
3271 (emacs-lisp-mode-map):
3272 * calendar/holidays.el (holiday-solar-holidays)
3273 (holiday-bahai-holidays, holiday-islamic-holidays)
3274 (holiday-christian-holidays, holiday-hebrew-holidays)
3275 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
3276 (hebrew-holidays-1, holiday-oriental-holidays)
3277 (holiday-general-holidays):
3278 * x-dnd.el (x-dnd-known-types):
3279 * tool-bar.el (tool-bar):
3280 * startup.el (site-run-file):
3281 * shell.el (shell-dumb-shell-regexp):
3282 * rfn-eshadow.el (file-name-shadow-tty-properties)
3283 (file-name-shadow-properties):
3284 * paths.el (remote-shell-program, news-directory):
3285 * mouse.el ([C-down-mouse-3]):
3286 * menu-bar.el (menu-bar-tools-menu):
3287 * jka-cmpr-hook.el (jka-compr-load-suffixes)
3288 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
3289 (jka-compr-compression-info-list):
3290 * isearch.el (search-whitespace-regexp):
3291 * image-file.el (image-file-name-extensions):
3292 * find-dired.el (find-ls-option):
3293 * files.el (directory-listing-before-filename-regexp)
3294 (directory-free-space-args, insert-directory-program)
3295 (list-directory-brief-switches, magic-fallback-mode-alist)
3296 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
3297 (automount-dir-prefix):
3298 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
3299 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
3300 (face-font-registry-alternatives, face-font-registry-alternatives)
3301 (face-font-family-alternatives):
3302 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
3303 (facemenu-foreground-menu, facemenu-face-menu):
3304 * epa-hook.el (epa-file-name-regexp):
3305 * dnd.el (dnd-protocol-alist):
3306 * textmodes/rst.el (auto-mode-alist):
3307 * button.el (default-button): Purecopy strings.
3309 2009-11-06 Glenn Morris <rgm@gnu.org>
3311 * Makefile.in (ELCFILES): Update.
3313 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3315 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
3316 * emacs-lisp/levents.el: Move to obsolete/levents.el.
3318 * nxml/xsd-regexp.el (xsdre-gen-categories):
3319 * nxml/xmltok.el (xmltok-parse-entity):
3320 * nxml/rng-parse.el (rng-parse-validate-file):
3321 * nxml/rng-maint.el (rng-format-manual)
3322 (rng-manual-output-force-new-line):
3323 * nxml/rng-loc.el (rng-save-schema-location-1):
3324 * nxml/rng-cmpct.el (rng-c-parse-file):
3325 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
3326 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
3328 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
3330 * verilog-mode.el (verilog-getopt-file, verilog-set-define):
3331 Remove extra save-excursions and make-variable-buffer-local's.
3332 Suggested by Stefan Monnier.
3334 (verilog-getopt-file, verilog-module-inside-filename-p)
3335 (verilog-set-define): Merge GNU 1.35 and repair changes from
3336 switching to using with-current-buffer.
3338 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
3339 being treated as a number and confusing AUTORESET.
3340 Reported by Dan Dever.
3342 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
3343 Add verilog-auto-ignore-concat to fix backward compatibility with
3344 older verilog-modes. Reported by Dan Katz.
3346 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
3347 containing closing anchors "...$".
3349 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
3350 Reported by Wade Smith.
3352 (verilog-batch-execute-func) Comment on function usage.
3354 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
3356 * verilog-mode.el (verilog-label-re): Fix regular expression for
3359 (verilog-label-re, verilog-calc-1): Support proper indent of named
3362 (verilog-backward-token, verilog-basic-complete-re)
3363 (verilog-beg-of-statement, verilog-indent-re): Support proper
3364 indent of the assert statement at the beginning of a block of text.
3366 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
3367 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
3370 2009-11-05 Glenn Morris <rgm@gnu.org>
3372 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
3373 Emacs 19. (Bug#1531)
3374 (byte-compile-fix-header): Update for the above change.
3375 Drop test for epoch::version.
3377 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
3378 * cus-dep.el (custom-make-dependencies):
3379 * finder.el (finder-compile-keywords):
3380 Use autoload-rubric's feature argument.
3382 * calendar/diary-lib.el (top-level): Make load behave more like require.
3384 * vc-git.el (vc-git-stash-map): Move definition before use.
3386 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
3388 * custom.el (custom-declare-group): Purecopy standard-value.
3389 (custom-declare-group): Purecopy custom-prefix.
3391 * international/mule.el (load-with-code-conversion):
3392 Call do-after-load-evaluation unconditionally.
3394 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
3396 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3398 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
3400 2009-11-04 Glenn Morris <rgm@gnu.org>
3402 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
3403 (byte-compile-compatibility): Remove option.
3404 (byte-compile-close-variables, byte-compile-fix-header)
3405 (byte-compile-insert-header, byte-compile-output-docform)
3406 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
3407 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
3408 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
3409 (byte-compile-insert, byte-compile-defun):
3410 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
3411 (byte-defop-compiler19): Remove.
3412 Without byte-compile-compatibility, the 'emacs19-opcode property is not
3413 used by anything. Replace all calls with byte-defop-compiler.
3415 2009-11-04 Juri Linkov <juri@jurta.org>
3417 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
3418 (menu-bar-options-menu): Don't quote the `prop' arg of
3419 `menu-bar-make-mm-toggle'.
3421 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
3423 * calendar/calendar.el (cal-loaddefs):
3424 * calendar/diary-lib.el (diary-loaddefs):
3425 * calendar/holidays.el (hol-loaddefs):
3426 * eshell/esh-module.el (esh-groups): Load rather than require.
3428 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3430 * calendar/todo-mode.el (todo-add-category): Don't hardcode
3432 (todo-top-priorities): Only display-buffer when called interactively.
3433 (todo-item-start): Don't save excursion point.
3434 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
3435 (todo-insert-item-here, todo-file-item, todo-remove-item):
3436 Adjust uses of todo-item-start and todo-item-end.
3438 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
3439 (autoload-rubric): Don't use any more.
3440 * cedet/semantic/fw.el (semantic/loaddefs):
3441 * cedet/srecode.el (srecode/loaddefs):
3442 * cedet/ede.el (ede/loaddefs): Load rather than require.
3443 * cedet/ede/cpp-root.el:
3444 * cedet/ede/emacs.el:
3445 * cedet/ede/files.el:
3446 * cedet/ede/linux.el:
3447 * cedet/ede/locate.el:
3448 * cedet/ede/make.el:
3449 * cedet/ede/shell.el:
3450 * cedet/ede/speedbar.el:
3451 * cedet/ede/system.el:
3452 * cedet/ede/util.el:
3453 * cedet/semantic/analyze.el:
3454 * cedet/semantic/bovine.el:
3455 * cedet/semantic/complete.el:
3456 * cedet/semantic/ctxt.el:
3457 * cedet/semantic/db-file.el:
3458 * cedet/semantic/db-find.el:
3459 * cedet/semantic/db-global.el:
3460 * cedet/semantic/db-mode.el:
3461 * cedet/semantic/db-typecache.el:
3462 * cedet/semantic/db.el:
3463 * cedet/semantic/debug.el:
3464 * cedet/semantic/dep.el:
3465 * cedet/semantic/doc.el:
3466 * cedet/semantic/edit.el:
3467 * cedet/semantic/find.el:
3468 * cedet/semantic/format.el:
3469 * cedet/semantic/html.el:
3470 * cedet/semantic/ia-sb.el:
3471 * cedet/semantic/ia.el:
3472 * cedet/semantic/idle.el:
3473 * cedet/semantic/lex-spp.el:
3474 * cedet/semantic/lex.el:
3475 * cedet/semantic/mru-bookmark.el:
3476 * cedet/semantic/scope.el:
3477 * cedet/semantic/senator.el:
3478 * cedet/semantic/sort.el:
3479 * cedet/semantic/symref.el:
3480 * cedet/semantic/tag-file.el:
3481 * cedet/semantic/tag-ls.el:
3482 * cedet/semantic/tag-write.el:
3483 * cedet/semantic/tag.el:
3484 * cedet/semantic/util-modes.el:
3485 * cedet/semantic/analyze/complete.el:
3486 * cedet/semantic/analyze/refs.el:
3487 * cedet/semantic/bovine/c.el:
3488 * cedet/semantic/bovine/gcc.el:
3489 * cedet/semantic/bovine/make.el:
3490 * cedet/semantic/bovine/scm.el:
3491 * cedet/semantic/decorate/include.el:
3492 * cedet/semantic/decorate/mode.el:
3493 * cedet/semantic/symref/cscope.el:
3494 * cedet/semantic/symref/global.el:
3495 * cedet/semantic/symref/grep.el:
3496 * cedet/semantic/symref/idutils.el:
3497 * cedet/semantic/symref/list.el:
3498 * cedet/semantic/wisent/java-tags.el:
3499 * cedet/semantic/wisent/javascript.el:
3500 * cedet/srecode/compile.el:
3501 * cedet/srecode/cpp.el:
3502 * cedet/srecode/document.el:
3503 * cedet/srecode/el.el:
3504 * cedet/srecode/expandproto.el:
3505 * cedet/srecode/getset.el:
3506 * cedet/srecode/insert.el:
3507 * cedet/srecode/java.el:
3508 * cedet/srecode/map.el:
3509 * cedet/srecode/mode.el:
3510 * cedet/srecode/template.el:
3511 * cedet/srecode/texi.el: Remove the file-local setting of
3512 generated-autoload-feature.
3514 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
3515 and only put a prop if it is non-nil.
3517 2009-11-03 Juri Linkov <juri@jurta.org>
3519 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
3520 (menu-bar-options-menu): Fix list quoting (Bug#4429).
3522 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
3523 and "Menu" to make top-level menu item visually one unit (like
3524 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
3525 multi-word menu items). Fix :help string for quit-window.
3527 2009-11-03 Glenn Morris <rgm@gnu.org>
3529 * cedet/mode-local.el (with-mode-local): Doc fix.
3531 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
3532 (byte-compile-file-form-define-abbrev-table)
3533 (byte-compile-file-form-custom-declare-variable)
3534 (byte-compile-variable-ref, byte-compile-defvar):
3535 Whether or not a warning is enabled should only affect whether we issue
3536 the warning, not whether or not we collect the relevant data.
3537 Eg warnings can be turned on and off throughout the course of a file.
3539 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
3540 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
3542 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3544 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
3545 * play/mpuz.el (mpuz-create-buffer):
3546 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
3547 (lm-print-y,s,noise, lm-print-w0, lm-init):
3548 * play/gomoku.el (gomoku-prompt-for-move):
3549 * play/fortune.el (fortune-in-buffer):
3550 * play/dissociate.el (dissociated-press):
3551 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
3552 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
3553 * mail/supercite.el (sc-eref-show):
3554 * mail/smtpmail.el (smtpmail-send-it):
3555 * mail/rmailsum.el (rmail-summary-next-labeled-message)
3556 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
3557 (rmail-summary-undelete-many, rmail-summary-rmail-update)
3558 (rmail-summary-goto-msg, rmail-summary-expunge)
3559 (rmail-summary-get-new-mail, rmail-summary-search-backward)
3560 (rmail-summary-add-label, rmail-summary-output-menu)
3561 (rmail-summary-output-body):
3562 * mail/rfc822.el (rfc822-addresses):
3563 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
3564 * mail/mailpost.el (post-mail-send-it):
3565 * mail/hashcash.el (hashcash-generate-payment):
3566 * mail/feedmail.el (feedmail-run-the-queue)
3567 (feedmail-queue-send-edit-prompt-help-first)
3568 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
3569 (feedmail-deduce-address-list):
3570 * eshell/esh-ext.el (eshell-remote-command):
3571 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
3572 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
3573 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
3574 (viper-save-string-in-file, viper-valid-marker):
3575 * emulation/viper-keym.el (viper-toggle-key):
3576 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
3577 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
3578 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
3579 * emulation/viper-cmd.el (viper-exec-form-in-vi)
3580 (viper-exec-form-in-emacs, viper-brac-function):
3581 * emulation/viper.el (viper-delocalize-var):
3582 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
3583 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
3584 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
3585 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
3586 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
3587 * emulation/edt.el (edt-electric-helpify):
3588 * emulation/cua-rect.el (cua--rectangle-aux-replace):
3589 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
3590 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
3591 (cua-indent-to-global-mark-column):
3592 * calendar/diary-lib.el (calendar-mark-1):
3593 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
3594 Use with-current-buffer.
3595 * emulation/viper.el (viper-delocalize-var): Use dolist.
3597 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
3599 * comint.el (comint-replace-by-expanded-history-before-point):
3600 Replace !! with the previous input string literally (Bug#1795).
3602 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
3604 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
3605 to be made up of whitespace.
3607 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
3609 * minibuffer.el (read-file-name): Don't use file dialogs for
3610 remote directories (Bug#99).
3612 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
3614 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
3616 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
3618 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
3619 instead of deleting the window or frame.
3621 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
3623 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
3624 Support face colors.
3626 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
3627 New function. Support face colors (Bug#1168).
3628 (tex-common-initialization): Use it.
3630 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
3631 mode allows it (Bug#1168).
3633 2009-10-31 Juri Linkov <juri@jurta.org>
3635 * facemenu.el (list-colors-display): Don't mark buffer as
3636 modified (Bug#3948).
3638 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
3640 * international/mule-diag.el (list-character-sets-1): Minor
3641 message fix (Bug#3526).
3643 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
3644 face property (Bug#4834).
3645 (etags-list-tags, etags-tags-apropos-additional)
3646 (etags-tags-apropos, tags-select-tags-table): Add follow-link
3649 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
3652 * cedet/cedet.el (cedet-menu-map): Remove Semantic and EDE menu
3655 * cedet/ede.el (ede-minor-mode):
3656 * cedet/semantic.el (semantic-mode): Toggle menu separators.
3658 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3660 * textmodes/two-column.el (2C-split):
3661 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
3662 * textmodes/tex-mode.el (tex-set-buffer-directory):
3663 * textmodes/spell.el (spell-region, spell-string):
3664 * textmodes/reftex.el (reftex-erase-buffer):
3665 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
3666 * textmodes/reftex-toc.el (reftex-toc-promote-action):
3667 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
3668 (reftex-select-item):
3669 * textmodes/reftex-ref.el (reftex-label-info-update)
3670 (reftex-offer-label-menu):
3671 * textmodes/reftex-index.el (reftex-index-change-entry)
3672 (reftex-index-phrases-info):
3673 * textmodes/reftex-global.el (reftex-create-tags-file)
3674 (reftex-save-all-document-buffers, reftex-ensure-write-access):
3675 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
3676 (reftex-view-crossref-from-bibtex):
3677 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
3678 (reftex-extract-bib-entries-from-thebibliography)
3679 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
3680 * textmodes/refbib.el (r2b-capitalize-title):
3681 (r2b-convert-buffer, r2b-help):
3682 * textmodes/page-ext.el (pages-directory)
3683 (pages-directory-goto-with-mouse):
3684 * textmodes/bibtex.el (bibtex-validate-globally):
3685 * textmodes/bib-mode.el (bib-capitalize-title):
3686 * textmodes/artist.el (artist-clear-buffer, artist-system):
3687 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
3688 (local-set-scheme-interaction-buffer, xscheme-process-filter)
3689 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
3690 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
3691 (xscheme-send-control-g-interrupt, xscheme-start-process)
3692 (xscheme-process-sentinel, xscheme-cd):
3693 * progmodes/verilog-mode.el (verilog-read-always-signals)
3694 (verilog-set-define, verilog-getopt-file)
3695 (verilog-module-inside-filename-p):
3696 * progmodes/sh-script.el:
3697 * progmodes/python.el (python-pdbtrack-get-source-buffer)
3698 (python-pdbtrack-grub-for-buffer, python-execute-file):
3699 * progmodes/octave-inf.el (inferior-octave):
3700 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
3701 (idlwave-shell-compile-helper-routines, idlwave-set-local)
3702 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
3703 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
3704 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
3705 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
3706 (idlwave-shell-filter, idlwave-shell-examine-highlight)
3707 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
3708 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
3709 (idlwave-shell-examine-display, idlwave-shell-run-region)
3710 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
3711 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
3712 * progmodes/idlw-help.el (idlwave-help-get-special-help)
3713 (idlwave-help-get-help-buffer):
3714 * progmodes/gud.el (gud-basic-call, gud-find-class)
3715 (gud-tooltip-activate-mouse-motions-if-enabled):
3716 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3717 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
3718 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
3719 (ebrowse-tags-next-file):
3720 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
3721 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
3722 (ebnf-eps-finish-and-write):
3723 * progmodes/cpp.el (cpp-edit-save):
3724 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
3725 * progmodes/cc-defs.el (c-emacs-features):
3726 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
3727 (antlr-directory-dependencies):
3728 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
3729 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
3730 (ada-find-any-references, ada-make-filename-from-adaname)
3731 (ada-make-body-gnatstub):
3732 * obsolete/rnews.el (news-list-news-groups):
3733 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
3734 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
3735 * net/rcirc.el (rcirc-debug):
3736 * net/newst-treeview.el (newsticker--treeview-list-add-item)
3737 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
3738 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
3739 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
3740 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
3741 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
3742 (newsticker--treeview-list-clear-highlight)
3743 (newsticker--treeview-list-update-highlight)
3744 (newsticker--treeview-list-highlight-start)
3745 (newsticker--treeview-tree-update-highlight)
3746 (newsticker--treeview-get-selected-item)
3747 (newsticker-treeview-mark-list-items-old)
3748 (newsticker--treeview-set-current-node):
3749 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3750 * net/newst-backend.el (newsticker--get-news-by-funcall)
3751 (newsticker--get-news-by-wget, newsticker--image-get)
3752 (newsticker--image-sentinel):
3753 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
3754 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
3755 (eudc-ph-close-session):
3756 * net/eudc.el (eudc-save-options):
3757 * language/thai-word.el (thai-update-word-table):
3758 * language/japan-util.el (japanese-string-conversion):
3759 * international/titdic-cnv.el (tsang-quick-converter)
3760 (ziranma-converter, ctlau-converter):
3761 * international/mule-cmds.el (describe-language-environment):
3762 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
3763 (skkdic-convert-postfix, skkdic-convert-prefix):
3764 (skkdic-convert-okuri-nasi, skkdic-convert):
3765 * emacs-lisp/re-builder.el (reb-update-overlays):
3766 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
3767 * emacs-lisp/gulp.el (gulp-send-requests):
3768 * emacs-lisp/find-gc.el (trace-call-tree):
3769 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
3770 (eieio-describe-generic):
3771 * emacs-lisp/eieio-base.el (eieio-persistent-read):
3772 * emacs-lisp/edebug.el (edebug-outside-excursion):
3773 * emacs-lisp/debug.el (debugger-make-xrefs):
3774 * emacs-lisp/cust-print.el (custom-prin1-to-string):
3775 * emacs-lisp/chart.el (chart-new-buffer):
3776 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
3777 Use with-current-buffer.
3778 * textmodes/artist.el (artist-system): Don't call
3779 copy-sequence on a fresh string.
3780 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
3782 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
3784 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
3785 is no item to edit. (Bug#4820)
3786 (todo-top-priorities): Restore point and restore narrowing in Todo
3789 2009-10-31 Glenn Morris <rgm@gnu.org>
3791 * net/ange-ftp.el (top-level): Don't require dired when compiling.
3792 (comint-last-output-start, comint-last-input-start)
3793 (comint-last-input-end): Don't defvar when compiling.
3794 (ange-ftp-process-file): Use bound-and-true-p.
3796 * pcmpl-rpm.el (top-level): Move provide statement to end.
3797 (pcmpl-rpm): Remove unused custom group.
3799 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
3801 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
3803 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
3804 (byte-compile-warnings): Add `constants' as an option.
3805 (byte-compile-callargs-warn, byte-compile-arglist-warn)
3806 (display-call-tree): Update for byte-compile-fdefinition possibly
3807 returning `(macro lambda ...)'. (Bug#4778)
3808 (byte-compile-variable-ref, byte-compile-setq-default):
3809 Respect `constants' member of byte-compile-warnings.
3811 * cedet/semantic/tag.el (semantic--tag-link-list-to-buffer):
3812 Use mapc rather than mapcar because the return value is never used.
3814 * cedet/srecode/template.el, cedet/semantic/wisent/javascript.el:
3815 * cedet/semantic/wisent/java-tags.el, cedet/semantic/texi.el:
3816 * cedet/semantic/html.el:
3817 Suppress harmless warnings about setting up semantic-imenu (not
3818 part of Emacs) variables.
3820 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3822 * vc-bzr.el (vc-bzr-revision-keywords): New var.
3823 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
3826 * cedet/srecode/srt-mode.el (semantic-analyze-possible-completions):
3827 * cedet/semantic/symref/list.el (semantic-symref-rb-toggle-expand-tag):
3828 * cedet/semantic/symref/grep.el (semantic-symref-perform-search):
3829 * cedet/semantic/bovine/gcc.el (semantic-gcc-query):
3830 * cedet/semantic/bovine/c.el (semantic-c-parse-lexical-token):
3831 * cedet/semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons)
3832 (semantic-analyzer-debug-global-symbol)
3833 (semantic-analyzer-debug-missing-innertype)
3834 (semantic-analyzer-debug-insert-include-summary):
3835 * cedet/semantic/util.el (semantic-file-tag-table):
3836 (semantic-describe-buffer-var-helper, semantic-something-to-tag-table)
3837 (semantic-recursive-find-nonterminal-by-name):
3838 * cedet/semantic/tag-ls.el (semantic-tag-calculate-parent-default):
3839 * cedet/semantic/tag-file.el (semantic-prototype-file):
3840 * cedet/semantic/symref.el (semantic-symref-parse-tool-output):
3841 * cedet/semantic/sb.el (semantic-sb-fetch-tag-table):
3842 * cedet/semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
3843 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer):
3844 (semantic-idle-summary-maybe-highlight):
3845 * cedet/semantic/ia-sb.el (semantic-ia-speedbar)
3846 (semantic-ia-sb-tag-info):
3847 * cedet/semantic/grammar.el (semantic-analyze-possible-completions):
3848 * cedet/semantic/find.el (semantic-brute-find-tag-by-position):
3849 * cedet/semantic/ede-grammar.el (project-compile-target):
3850 (ede-proj-makefile-insert-variables):
3851 * cedet/semantic/debug.el (semantic-debug-set-parser-location):
3852 (semantic-debug-set-source-location, semantic-debug-interface-layout)
3853 (semantic-debug-mode, semantic-debug):
3854 * cedet/semantic/db.el (semanticdb-needs-refresh-p):
3855 * cedet/semantic/db-typecache.el (semanticdb-typecache-refresh-for-buffer):
3856 * cedet/semantic/db-javascript.el (semanticdb-equivalent-mode):
3857 * cedet/semantic/db-find.el (semanticdb-find-log-new-search)
3858 (semanticdb-find-translate-path-includes--internal)
3859 (semanticdb-reset-log, semanticdb-find-log-activity):
3860 * cedet/semantic/db-file.el (object-write):
3861 * cedet/semantic/db-el.el (semanticdb-equivalent-mode):
3862 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-C-file-p)
3863 (semanticdb-create-ebrowse-database):
3864 * cedet/semantic/db-debug.el (semanticdb-table-sanity-check):
3865 * cedet/semantic/complete.el (semantic-displayor-focus-request)
3866 (semantic-collector-calculate-completions-raw)
3867 (semantic-complete-read-tag-analyzer):
3868 * cedet/semantic/analyze.el (semantic-analyze-pulse):
3869 * cedet/ede/util.el (ede-update-version-in-source):
3870 * cedet/ede/proj.el (project-delete-target):
3871 * cedet/ede/proj-elisp.el (ede-update-version-in-source)
3872 (ede-proj-flush-autoconf):
3873 * cedet/ede/pconf.el (ede-proj-configure-synchronize)
3874 (ede-proj-configure-synchronize):
3875 * cedet/ede/locate.el (ede-locate-file-in-project-impl):
3876 * cedet/ede/linux.el (ede-linux-version):
3877 * cedet/ede/emacs.el (ede-emacs-version):
3878 * cedet/ede/dired.el (ede-dired-add-to-target):
3879 * cedet/ede.el (ede-buffer-header-file, ede-find-target)
3880 (ede-buffer-documentation-files, ede-project-buffers, ede-set)
3881 (ede-target-buffers, ede-buffers, ede-make-project-local-variable):
3882 * cedet/cedet-idutils.el (cedet-idutils-fnid-call):
3883 (cedet-idutils-lid-call, cedet-idutils-expand-filename)
3884 (cedet-idutils-version-check):
3885 * cedet/cedet-global.el (cedet-gnu-global-call):
3886 (cedet-gnu-global-expand-filename, cedet-gnu-global-root)
3887 (cedet-gnu-global-version-check, cedet-gnu-global-scan-hits):
3888 * cedet/cedet-cscope.el (cedet-cscope-call)
3889 (cedet-cscope-expand-filename, cedet-cscope-version-check):
3890 Use with-current-buffer.
3891 * cedet/ede.el (ede-make-project-local-variable)
3892 (ede-set-project-variables, ede-set): Use dolist.
3894 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
3896 * textmodes/ispell.el (ispell-skip-region-alist):
3897 * international/mule-conf.el (eight-bit):
3898 * international/fontset.el (font-encoding-alist):
3899 * startup.el (pure-space-overflow-message):
3900 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
3901 * paths.el (gnus-nntp-service, rmail-spool-directory)
3903 * files.el (save-some-buffers-action-alist):
3904 * cmuscheme.el (same-window-buffer-names):
3905 * ielm.el (same-window-buffer-names):
3906 * shell.el (same-window-buffer-names):
3907 * mail/sendmail.el (same-window-buffer-names):
3908 * progmodes/inf-lisp.el (same-window-buffer-names):
3909 * bindings.el (mode-line-client)
3910 (mode-line-column-line-number-mode-map):
3911 * language/tibetan.el (tibetan-precomposition-rule-regexp)
3912 (tibetan-precomposed-regexp): Purecopy string arguments.
3914 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3916 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
3917 (calcDigit-nondigit):
3918 * calc/calc-yank.el (calc-copy-to-buffer):
3919 * calc/calc-units.el (calc-invalidate-units-table):
3920 * calc/calc-trail.el (calc-trail-yank):
3921 * calc/calc-store.el (calc-insert-variables):
3922 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
3923 * calc/calc-prog.el (calc-read-parse-table):
3924 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
3925 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
3926 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
3927 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
3928 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
3929 (calc-graph-name, calc-graph-find-command, calc-graph-view)
3930 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
3931 * calc/calc-ext.el (calc-realign):
3932 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
3933 (calc-embedded-finish-edit, calc-embedded-make-info)
3934 (calc-embedded-finish-command, calc-embedded-stack-change):
3935 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
3937 * cedet/mode-local.el (make-obsolete-overload): Add `when' argument.
3938 (overload-docstring-extension): Use that info.
3939 * cedet/semantic/fw.el (semantic-alias-obsolete): Pass the `when' info.
3940 * cedet/semantic/idle.el (semantic-eldoc-current-symbol-info):
3941 * cedet/semantic/tag-ls.el (semantic-nonterminal-protection)
3942 (semantic-nonterminal-abstract, semantic-nonterminal-leaf)
3943 (semantic-nonterminal-full-name): Add the new `when' info.
3944 * cedet/semantic/decorate/mode.el (semantic/decorate): Require CL for
3947 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
3948 shell-dynamic-complete-filename in preference to
3949 comint-dynamic-complete-filename.
3951 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
3952 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
3953 Don't consider whether the display supports colors.
3954 (bookmark-import-new-list): Use dolist.
3955 (bookmark-bmenu-mode-map): Move initialization into declaration.
3956 (bookmark-bmenu-list): Use dolist, simplify.
3957 (bookmark-show-all-annotations): Use save-selected-window and dolist.
3958 (menu-bar-final-items): Use push.
3960 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
3962 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
3963 it works on remote files.
3964 (vc-hg-diff): Don't pass any `--cwd' argument.
3966 2009-10-27 Kevin Ryde <user42@zip.com.au>
3968 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
3969 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
3970 (Further to Bug#3921).
3972 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
3974 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
3975 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
3976 calling `tramp-imap-put-file'. Add file size to the call.
3977 (tramp-imap-get-file-entries): Compute also user name, file size,
3979 (tramp-imap-handle-insert-directory): Insert uid and gid.
3980 (tramp-imap-handle-file-attributes): Transform uid and gid
3981 according to `id-format'.
3982 (tramp-imap-put-file): New optional parameter SIZE. Encode file
3983 size in header X-Size.
3985 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
3987 * simple.el (transpose-subr): Give clearer error when the mark
3988 is not set. (Bug#4807)
3990 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
3992 * net/tramp.el (tramp-perl-file-truename): New defconst.
3993 Perl code contributed by yary <not.com@gmail.com> (tiny change).
3994 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
3995 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
3996 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
3998 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
3999 Ignore `dired-call-process'.
4000 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
4002 2009-10-26 Julian Scheid <julians37@gmail.com>
4004 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
4005 (tramp-get-remote-readlink): New defun.
4006 (tramp-handle-file-truename): Use it.
4007 (tramp-handle-file-exists-p): Check file-attributes cache, assume
4008 file exists if cache value present.
4009 (tramp-check-cached-permissions) New defun.
4010 (tramp-handle-file-readable-p): Use it.
4011 (tramp-handle-file-writable-p): Likewise.
4012 (tramp-handle-file-executable-p): Likewise.
4013 (tramp-handle-file-name-all-completions): Try using Perl to get
4014 partial completions. When perl not available, combine `cd' and
4015 `ls' into single remote operation and use shell expansion to get
4016 partial remote directory contents. Set `file-exists-p' cache for
4017 directory and any files returned by ls. Change cache handling to
4018 support partial directory contents. Use error message emitted by
4019 remote `cd' or Perl code for local tramp-error.
4020 (tramp-do-copy-or-rename-file-directly): Avoid separate
4021 tramp-send-command-and-check call.
4022 (tramp-handle-process-file): Merge three remote ops into one.
4023 Do not flush all caches when `process-file-side-effects' is set.
4024 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
4025 file-attributes shows uid/gid to be set already.
4027 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
4029 * textmodes/tex-mode.el (tex-dvi-view-command)
4030 (tex-show-queue-command, tex-open-quote):
4031 * progmodes/ruby-mode.el (auto-mode-alist)
4032 (interpreter-mode-alist): Purecopy strings.
4034 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
4036 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
4037 string for the hook, keymap and abbrev table.
4039 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
4041 * x-dnd.el (x-dnd-xdnd-to-action):
4042 * startup.el (fancy-startup-text, fancy-about-text): Change to
4043 defconst from defvar.
4045 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
4047 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
4048 Purecopy initialization strings.
4050 * mail/sendmail.el (mail-header-separator)
4051 (mail-personal-alias-file):
4052 * mail/rmail.el (rmail-default-dont-reply-to-names)
4053 (rmail-ignored-headers, rmail-retry-ignored-headers)
4054 (rmail-highlighted-headers, rmail-secondary-file-directory)
4055 (rmail-secondary-file-regexp):
4056 * files.el (null-device, file-name-invalid-regexp)
4057 (locate-dominating-stop-dir-regexp)
4058 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
4059 (interpreter-mode-alist): Use mapcar instead of mapc.
4061 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
4063 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
4064 (completion-ignored-extensions):
4065 (debug-ignored-errors): Purecopy strings.
4067 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
4069 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
4070 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
4071 (pcomplete--here): Use push.
4073 * subr.el (all-completions): Declare the 4th arg obsolete.
4075 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4077 * pcomplete.el (pcomplete-unquote-argument-function): New var.
4078 (pcomplete-unquote-argument): New function.
4079 (pcomplete--common-suffix): Always pay attention to case.
4080 (pcomplete--table-subvert): Quote and unquote the text.
4081 (pcomplete--common-quoted-suffix): New function.
4082 (pcomplete-std-complete): Use it and pcomplete-begin.
4084 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
4085 we're inside a dedicated or minibuffer window.
4087 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4089 * cedet/semantic/fw.el (semantic-alias-obsolete)
4090 (semantic-varalias-obsolete): Make the `when' arg mandatory.
4091 (define-mode-overload-implementation):
4092 * cedet/semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks):
4093 * cedet/semantic/wisent.el (wisent-lex-make-token-table):
4094 * cedet/semantic/util.el (semantic-file-token-stream)
4095 (semantic-something-to-stream):
4096 * cedet/semantic/tag.el (semantic-tag-make-assoc-list)
4097 (semantic-expand-nonterminal):
4098 * cedet/semantic/tag-file.el (semantic-find-nonterminal)
4099 (semantic-find-dependency, semantic-find-nonterminal)
4100 (semantic-find-dependency):
4101 * cedet/semantic/lex.el (semantic-flex-start, semantic-flex-end)
4102 (semantic-flex-text, semantic-flex-make-keyword-table)
4103 (semantic-flex-keyword-p, semantic-flex-keyword-put)
4104 (semantic-flex-keyword-get, semantic-flex-map-keywords)
4105 (semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list):
4106 * cedet/semantic/java.el (semantic-java-prototype-nonterminal):
4107 * cedet/semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks)
4108 (semantic-after-idle-scheduler-reparse-hooks):
4109 * cedet/semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks):
4110 * cedet/semantic/db-mode.el (semanticdb-mode-hooks):
4111 * cedet/semantic.el (semantic-toplevel-bovine-table)
4112 (semantic-toplevel-bovine-cache)
4113 (semantic-before-toplevel-bovination-hook, semantic-init-hooks)
4114 (semantic-init-mode-hooks, semantic-init-db-hooks)
4115 (semantic-bovination-working-type): Provide the `when' arg.
4117 2009-10-24 Karl Fogel <kfogel@red-bean.com>
4119 * bookmark.el: Update documentation, especially documentation
4120 of `bookmark-alist' and of the bookmark file format.
4121 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
4123 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
4125 * mail/emacsbug.el (report-emacs-bug): Clarify that the
4126 keybindings apply to the mail buffer (Bug#4003). Shrink help
4129 * whitespace.el (whitespace-mode, whitespace-newline-mode)
4130 (global-whitespace-mode, global-whitespace-newline-mode)
4131 (whitespace-toggle-options, global-whitespace-toggle-options):
4134 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
4135 of xmltok-start before the end tag was inserted (Bug#2840).
4137 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
4138 patterns that are preceded by an open-paren (Bug#1320).
4140 2009-10-24 Sven Joachim <svenjoac@gmx.de>
4142 * files.el (delete-directory): Delete symlinks to directories with
4143 delete-file (Bug#4739).
4145 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
4147 * cedet/semantic/util.el (semantic-recursive-find-nonterminal-by-name):
4148 * cedet/semantic/tag.el (semantic-token-type-parent): Add WHEN
4149 argument to make-obsolete.
4151 * cedet/semantic/fw.el (semantic-alias-obsolete)
4152 (semantic-varalias-obsolete): Add optional WHEN argument.
4154 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
4156 * vc.el (vc-backend-for-registration): Rename from
4157 vc-get-backend-for-registration. Update callers.
4159 * international/mule-cmds.el (set-language-info-alist):
4161 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
4162 (charset): Purecopy the name.
4163 (define-char-code-property): Purecopy string arguments.
4165 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
4166 Purecopy string arguments.
4168 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
4169 * ediff-hook.el (menu-bar-ediff-menu):
4170 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
4171 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
4173 2009-10-24 Glenn Morris <rgm@gnu.org>
4175 * comint.el (comint-dynamic-list-completions):
4176 * term.el (term-dynamic-list-completions): Use choose-completion rather
4177 than obsolete alias mouse-choose-completion.
4179 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
4180 file-cache-choose-completion.
4181 (file-cache-choose-completion): Handle an optional event argument.
4182 (file-cache-mouse-choose-completion): Make it an obsolete alias.
4184 * progmodes/octave-mod.el (octave-complete-symbol):
4185 Use choose-completion if mouse-choose-completion is ever removed.
4187 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
4190 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
4193 * vc-hooks.el (vc-responsible-backend): Fix declaration.
4195 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4197 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
4198 Ignore `pred' now that we receive one.
4199 Handle test-completion specially.
4201 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
4203 * vc.el (vc-responsible-backend): Throw an error if not backend is
4204 found. Remove the REGISTER argument. Move the code dealing with
4206 (vc-get-backend-for-registration): ... here. New function.
4207 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
4208 of vc-responsible-backend, pass the file name instead of the
4211 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4213 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
4215 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
4216 (pcomplete-comint-setup): Don't modify a global var via
4217 accidental side-effects.
4218 (pcomplete-shell-setup): Adjust call accordingly.
4219 (pcomplete-parse-comint-arguments): Use push.
4221 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
4223 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
4224 Allow uncapitalized info node names (Bug#3921).
4226 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
4227 to the DEBUG file (Bug#3781).
4229 2009-10-23 Jari Aalto <jari.aalto@cante.net>
4231 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
4232 dictionary entry (Bug#4579).
4234 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
4236 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
4237 from `rfn-eshadow-update-overlay-hook' when unloading.
4238 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
4239 "rsyncc". Adjust doc string.
4240 (tramp-temp-buffer-file-name) New buffer-local defvar.
4241 (tramp-handle-insert-file-contents, tramp-handle-write-region):
4242 Keep temporary file when indicated by method ("rsync" and
4244 (tramp-handle-write-region): Handle APPEND.
4245 (tramp-delete-temp-file-function): New defun. Added to
4248 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
4250 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
4252 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
4254 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
4255 (color-name-rgb-alist, tty-standard-colors)
4256 (tty-color-mode-alist): Change to defconst.
4258 * simple.el (mark-inactive): Purecopy message.
4260 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
4261 (global-map, yank-menu):
4262 * textmodes/ispell.el (ispell-menu-map):
4263 * net/eudc.el (eudc-tools-menu):
4264 * international/mule-cmds.el (describe-language-environment-map)
4265 (setup-language-environment-map, set-coding-system-map)
4267 * vc-hooks.el (vc-menu-entry, vc-menu-map):
4268 * replace.el (occur-mode-map):
4269 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
4271 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
4273 * calc/calc.el (math-read-number, math-read-number-simple): Use
4276 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4278 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
4279 rather than fiddling with global-map bindings, since it should only
4280 affect per-terminal settings.
4281 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
4283 * minibuffer.el (completion-table-with-terminator): Allow to specify
4284 the terminator-regexp.
4286 * simple.el (switch-to-completions): Look for *Completions* in other
4289 * pcomplete.el: Allow the use of completion-tables.
4290 (pcomplete-std-complete): New command.
4291 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
4292 (pcomplete--here): Use a function for `form' rather than an expression,
4293 so it can be byte-compiled.
4294 (pcomplete-here, pcomplete-here*): Adjust accordingly.
4295 Add edebug declaration.
4296 (pcomplete-show-completions): Remove unused var `curbuf'.
4297 (pcomplete-do-complete, pcomplete-stub):
4298 Don't assume `completions' is a list of strings any more.
4300 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
4302 * find-dired.el (find-name-arg): Fix typo in docstring.
4304 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4306 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
4307 (pcmpl-linux-fs-types): Same, and update to new modules layout.
4309 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
4312 * comint.el (comint-read-input-ring, comint-write-input-ring)
4313 (comint-substitute-in-file-name)
4314 (comint-dynamic-complete-as-filename)
4315 (comint-dynamic-simple-complete)
4316 (comint-dynamic-list-filename-completions)
4317 (comint-dynamic-list-completions)
4318 (comint-redirect-results-list-from-process): Minor simplifications.
4320 2009-10-21 Kevin Ryde <user42@zip.com.au>
4322 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
4323 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
4324 the first form. And insert a blank line after ";;; Code" since
4325 that's usual style. (Bug#4612)
4327 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
4329 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4331 * minibuffer.el (completion-table-with-terminator): Properly implement
4332 boundaries, in case `terminator' appears in the suffix.
4333 (completion--embedded-envvar-table): Don't return boundaries if
4334 there's no valid completion. Simplify.
4335 (completion-file-name-table): New completion table extracted from
4336 completion--file-name-table.
4337 (completion--file-name-table): Use it.
4338 (read-file-name-predicate): Declare obsolete.
4339 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
4340 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
4341 completion-file-name-table, and use the `pred' argument.
4342 * files.el (locate-file-completion-table): Use the `pred' arg rather
4343 than read-file-name-predicate.
4344 (abbreviate-file-name): Use \` rather than ^ for BOS.
4346 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
4348 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
4349 vc-responsible-backend to register, it causes problems.
4351 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4353 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
4355 2009-10-21 Eric Ludlam <zappo@gnu.org>
4357 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init)
4358 (semantic-c-debug-mode-init-pch): New functions.
4359 (semantic-c-debug-mode-init-last-mode): New var.
4360 (semantic-c-parse-lexical-token): Use them.
4362 * cedet/semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace):
4363 When extracting the argument list, limit only by point-max.
4365 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
4367 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
4368 (tramp-smb-handle-file-attributes): Use it.
4369 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
4370 (tramp-smb-handle-insert-directory): Use `mapc' rather than
4371 `mapcar'. Use `tramp-smb-get-stat-capability'.
4372 Add `dired-filename' text properties.
4373 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
4374 (tramp-smb-maybe-open-connection): Simplify check for smbclient
4377 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
4379 * subr.el (read-key-delay): Reduce to 0.01.
4380 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
4383 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4385 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
4387 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
4388 (Info-menu): Remove unused vars `last' and `completions'.
4389 (Info-index-nodes): Remove unused var `node'.
4391 * info.el (Info-complete-menu-item): Use complete-with-action.
4393 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
4395 Make vc-annotate work through copies and renames.
4396 * vc-annotate.el (vc-annotate-extract-revision-at-line):
4397 Return the file name too.
4398 (vc-annotate-revision-at-line)
4399 (vc-annotate-find-revision-at-line)
4400 (vc-annotate-revision-previous-to-line)
4401 (vc-annotate-show-log-revision-at-line): Update to get the file
4402 name from vc-annotate-extract-revision-at-line.
4403 (vc-annotate-show-diff-revision-at-line-internal): Change the
4404 argument to mean whether to show a file diff or not. Get the file
4405 name from vc-annotate-extract-revision-at-line.
4406 (vc-annotate-show-diff-revision-at-line):
4407 Update vc-annotate-show-diff-revision-at-line call.
4408 (vc-annotate-warp-revision): Add an optional file argument.
4410 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
4411 (vc-git-annotate-extract-revision-at-line): Also return the file
4414 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
4415 command. Remove unused code.
4416 (vc-hg-annotate-re): Update to match --follow output.
4417 (vc-hg-annotate-extract-revision-at-line): Also return the file
4420 * vc.el: Update annotate-extract-revision-at-line documentation.
4422 2009-10-18 Kevin Ryde <user42@zip.com.au>
4424 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
4425 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
4427 * net/browse-url.el (browse-url): Identify alist with "consp and
4428 not functionp" and let all other things go down the `apply' leg,
4429 as suggested by Stefan. (Further to bug#4531.)
4431 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
4433 * minibuffer.el (read-file-name): Check for repeat before putting
4434 a default argument in file-name-history (Bug#4657).
4436 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
4437 read syntax (Bug#4737).
4439 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
4441 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
4443 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
4444 (html-tag-alist, html-tag-help): Add descriptions for undocumented
4445 entries and make note of obsolete tags.
4447 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
4449 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
4451 2009-10-18 Glenn Morris <rgm@gnu.org>
4453 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
4454 grep, so that binary files (eg international/uni-bidi.el) can match.
4455 Remove test for "UnicodeData" files, since it is hopefully unnecessary
4456 now, and in any case the file header format has changed.
4458 2009-10-17 Glenn Morris <rgm@gnu.org>
4460 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
4461 (flyspell-get-word, flyspell-large-region)
4462 (flyspell-auto-correct-previous-word): Doc/error message fixes.
4464 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
4466 * Makefile.in (ELCFILES): Add ede/shell.
4468 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
4470 * term/common-win.el (x-colors): Purecopy it.
4472 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4474 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
4475 permissive for when the buffer is empty.
4476 (tar-header-block-tokenize): Decode the username and groupname.
4477 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
4479 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
4481 * cedet/srecode/srt.el:
4482 * cedet/srecode/compile.el:
4483 * cedet/semantic/mru-bookmark.el:
4484 * cedet/semantic/debug.el:
4485 * cedet/semantic/complete.el:
4486 * cedet/semantic/analyze.el: Require CL when compiling.
4488 2009-10-17 Eric Ludlam <zappo@gnu.org>
4490 * cedet/semantic/scope.el
4491 (semantic-analyze-scoped-inherited-tag-map): Wrap calculation of
4492 tmpscope so that the regular scope will continue to work.
4494 * cedet/semantic/idle.el (semantic-idle-tag-highlight):
4495 Use semantic-idle-summary-highlight-face as the highlighting.
4497 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
4498 contains multibyte characters, choose first applicable coding
4499 system automatically.
4501 * cedet/ede/project-am.el (project-run-target): New method.
4502 (project-run-target): New method.
4504 * cedet/ede.el (ede-target): Add run target menu item.
4505 (ede-project, ede-minor-keymap): Add ede-run-target binding.
4506 (ede-run-target): New function.
4507 (ede-target::project-run-target): New method.
4509 * cedet/ede/proj.el (project-run-target): New method.
4511 * cedet/ede/proj-shared.el (ede-gcc-libtool-shared-compiler)
4512 (ede-g++-libtool-shared-compiler): Remove SHELL. Remove COMMANDS.
4514 (ede-proj-target-makefile-shared-object): Only libtool compilers
4515 now available. Add linkers for libtool.
4516 (ede-cc-linker-libtool, ede-g++-linker-libtool): New.
4517 (ede-proj-makefile-target-name): Always use .la extension.
4519 * cedet/ede/proj-prog.el (project-run-target): New method.
4521 * cedet/ede/proj-obj.el (ede-cc-linker): Rename from ede-gcc-linker.
4522 (ede-g++-linker): Change Change link lines.
4524 * cedet/ede/pmake.el (ede-pmake-insert-variable-shared):
4525 When searching for old variables, go to the end of the buffer and
4526 search backward from there.
4527 (ede-proj-makefile-automake-insert-subdirs)
4528 (ede-proj-makefile-automake-insert-extradist): New methods.
4529 (ede-proj-makefile-create): Use them.
4531 * cedet/ede/pconf.el (ede-proj-configure-test-required-file):
4532 Force FILE to expand to the current target. Use file-exists-p to
4533 check that it exists.
4535 * cedet/ede/linux.el (ede-linux-version): Don't call "head".
4536 (ede-linux-load): Wrap dir in file-name-as-directory.
4539 * cedet/ede/files.el (ede-get-locator-object): When enabling
4540 locate, do so on "top".
4542 * cedet/ede/emacs.el (ede-emacs-file-existing): Wrap "dir" in
4543 file-name-as-directory during compare.
4544 (ede-emacs-version): Return Emacs/XEmacs differentiator.
4545 Get version number from different places. Don't call egrep.
4546 (ede-emacs-load): Set :version slot. Call file-name-as-directory
4547 to set the directory.
4549 * cedet/ede/shell.el: New file.
4551 * cedet/inversion.el (inversion-decoders): Allow for stray . in
4552 alpha/beta variants.
4554 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4556 * international/mule-cmds.el (select-safe-coding-system): If the file
4557 has a coding cookie, use it regardless of any other setting (bug#4712).
4559 2009-10-17 Glenn Morris <rgm@gnu.org>
4561 * cedet/semantic/grammar.el (semantic-grammar--lex-delim-spec):
4562 All errors should have messages.
4564 * foldout.el (foldout-mouse-swallow-events):
4565 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
4567 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
4568 (dired-keep-marker-copy, dired-keep-marker-hardlink)
4569 (dired-keep-marker-symlink, dired-dwim-target)
4570 (dired-copy-preserve-time): Do not autoload these defcustoms.
4572 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
4573 messages from messing up the file coding. (Bug#4623)
4575 2009-10-17 Jari Aalto <jari.aalto@cante.net>
4577 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
4578 if no match is found for the current dictionary. (Bug#4578)
4580 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
4581 optional, since that is how it is documented, and this is often called
4582 with a nil argument. (Bug#4577)
4583 (flyspell-external-point-words, flyspell-auto-correct-word)
4584 (flyspell-correct-word-before-point, flyspell-word-search-forward)
4585 (flyspell-word-search-backward): Remove nil argument in calls to
4586 flyspell-get-word, since it is not needed now.
4588 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
4590 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
4592 2009-10-16 Glenn Morris <rgm@gnu.org>
4594 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
4596 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4598 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
4599 (ange-ftp-file-size): New function.
4600 (ange-ftp-file-attributes): Use it.
4602 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
4604 * net/tramp-smb.el (tramp-smb-version): New defvar.
4605 (tramp-smb-maybe-open-connection): Use it, in order to avoid
4608 2009-10-16 Glenn Morris <rgm@gnu.org>
4610 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
4611 Maybe copy some custom properties from old to new name. (Bug#4706)
4613 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
4615 * subr.el (error, sit-for, start-process-shell-command)
4616 (start-file-process-shell-command): Set the calling convention
4617 after the function definition.
4619 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
4621 * subr.el (error, sit-for, start-process-shell-command)
4622 (start-file-process-shell-command): Use the new
4623 set-advertised-calling-convention feature.
4625 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
4627 * international/ucs-normalize.el (ucs-normalize-version):
4629 (check-range): Adjust for Unicode 5.2.
4631 2009-10-15 Juri Linkov <juri@jurta.org>
4633 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
4634 to the `menu-item' format.
4636 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
4638 * net/tramp.el (tramp-replace-environment-variables): Do not fail
4639 if the environment variable does not exist.
4641 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
4642 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
4644 (tramp-smb-handle-add-name-to-file)
4645 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
4646 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
4647 (tramp-smb-handle-file-attributes)
4648 (tramp-smb-do-file-attributes-with-stat)
4649 (tramp-smb-handle-file-local-copy)
4650 (tramp-smb-handle-insert-directory)
4651 (tramp-smb-handle-make-directory)
4652 (tramp-smb-handle-make-directory-internal)
4653 (tramp-smb-handle-make-symbolic-link)
4654 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
4655 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
4656 (tramp-smb-maybe-open-connection): Apply the changed parameters.
4657 (tramp-smb-read-file-entry): Read Disk names in compressed format.
4658 Handle long file names.
4659 (tramp-smb-get-cifs-capabilities): Check, whether the connection
4661 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
4662 Read share names with "-g" option.
4664 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
4666 * net/rcirc.el (rcirc-view-log-file): New command.
4667 (rcirc-track-minor-mode-map): Remove C-c ` binding.
4668 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
4671 2009-10-15 Glenn Morris <rgm@gnu.org>
4673 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
4674 from the second command-line argument.
4675 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
4676 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
4677 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
4678 w32-batch-update-autoloads.
4679 * emacs-lisp/autoload.el (autoload-make-program): New variable.
4680 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
4682 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
4683 the headers cannot be located. Simplify, subtracting superflous
4686 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
4688 Replace completion-base-size by completion-base-position to fix bugs
4690 * simple.el (completion-base-position): New var.
4691 (completion-base-size): Mark as obsolete.
4692 (choose-completion): Make it work for mouse events as well.
4693 Pass the new base-position to choose-completion-string.
4694 (choose-completion-guess-base-position): New function, extracted from
4695 choose-completion-delete-max-match.
4696 (choose-completion-delete-max-match): Use it. Make obsolete.
4697 (choose-completion-string): Use the new base-position info.
4698 (completion-root-regexp): Delete.
4699 (completion-setup-function): Preserve completion-base-position.
4700 Eliminate obsolete base-size manipulation.
4701 * minibuffer.el (display-completion-list): Don't mess with base-size.
4702 (minibuffer-completion-help): Set completion-base-position instead.
4703 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
4705 * textmodes/bibtex.el (bibtex-complete):
4706 * emacs-lisp/crm.el (crm--choose-completion-string):
4707 Adjust to new calling convention.
4708 * complete.el (partial-completion-mode): Use minibufferp to avoid
4709 bumping into incompatible change to choose-completion-string-functions.
4710 * ido.el (ido-choose-completion-string): Make its calling convention
4712 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
4713 base-size manipulation.
4714 (comint-dynamic-list-input-ring): Use dotimes and push.
4715 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
4716 fundamental-mode. Use `or'.
4718 2009-10-14 Juri Linkov <juri@jurta.org>
4720 * misearch.el (multi-isearch-next-buffer-from-list)
4721 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
4723 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4725 * Makefile.in (compile-onefile): Load `bytecomp' rather than
4728 * minibuffer.el (completion-pcm--merge-completions): Make sure the
4729 string we return is all made up of text from the completions rather
4730 than part from the completions and part from the input (bug#4219).
4732 * ido.el (ido-everywhere): Use define-minor-mode.
4734 * buff-menu.el (list-buffers, ctl-x-map):
4735 Mark the entry points with ;;;###autoload cookies.
4737 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
4739 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
4740 correctly in the detached head case.
4741 (vc-git-print-log): Remove unused binding.
4743 * vc.el (vc-responsible-backend): When a directory is passed for
4744 for registration create a VC repository if no backend is
4745 responsible for the directory argument.
4746 (vc-deduce-fileset): Tell vc-responsible-backend to register.
4748 * vc.el: Move comments about RCS and SCCS ...
4750 * vc-sccs.el: ... here, respectively.
4752 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4754 * minibuffer.el (completion--file-name-table): Return nil if there's
4755 no file completion, even if substitute-in-file-name changed
4756 the string (bug#4708).
4758 2009-10-13 Juri Linkov <juri@jurta.org>
4760 * files-x.el (read-file-local-variable-value): Don't filter out
4761 minor modes from mode name completion (bug#4664).
4763 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
4765 * international/mule-cmds.el (ucs-names): Remove exclusion of
4766 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
4768 2009-10-13 Kenichi Handa <handa@m17n.org>
4770 * international/uni-name.el: Regenerated.
4772 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
4774 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
4775 should be automatically buffer-local, but isn't.)
4777 2009-10-12 Sam Steingold <sds@gnu.org>
4779 * progmodes/compile.el (compilation-next-error-function): Fix the
4780 timestamps if the buffer has been visited before.
4781 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
4782 non-anchored patterns, like the perl one (bug#3928).
4784 2009-10-12 Glenn Morris <rgm@gnu.org>
4786 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
4789 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
4791 * proced.el (proced-unload-function): New function.
4793 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
4794 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
4797 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
4799 2009-10-11 Juri Linkov <juri@jurta.org>
4801 * files-x.el (read-file-local-variable-value):
4802 Provide default value only for bound variables (bug#4664).
4804 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
4806 * net/tramp.el (tramp-local-host-p): Function shall return nil for
4807 connection methods like smb.
4809 * net/tramp-cache.el (tramp-flush-connection-property): The hash
4812 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
4813 (tramp-smb-file-name-handler-alist): Add handlers for
4814 `add-name-to-file', `make-symbolic-link'.
4815 (tramp-smb-handle-add-name-to-file)
4816 (tramp-smb-do-file-attributes-with-stat)
4817 (tramp-smb-handle-make-symbolic-link)
4818 (tramp-smb-get-cifs-capabilities): New defuns.
4819 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
4820 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
4821 (tramp-smb-handle-file-local-copy)
4822 (tramp-smb-handle-make-directory-internal)
4823 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
4824 The file name syntax depends on cifs capabilities.
4825 (tramp-smb-handle-file-attributes):
4826 Call `tramp-smb-do-file-attributes-with-stat' if possible.
4827 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
4828 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
4830 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
4832 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
4833 (eieio-defclass): Apply deftype handler and setf-method properties
4835 (eieio-add-new-slot): Avoid union function from cl library.
4836 (eieio--typep): New function.
4837 (eieio-perform-slot-validation): Use it.
4839 2009-10-10 Karl Fogel <kfogel@red-bean.com>
4841 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
4842 Update documentation to refer to the variables documented in r1.135.
4845 2009-10-10 Karl Fogel <kfogel@red-bean.com>
4847 * bookmark.el (Info-suffix-list): Remove this unused variable.
4848 (bookmark-current-point): Remove this obsolete variable.
4849 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
4850 Adjust for removal of bookmark-current-point.
4852 (bookmarks-already-loaded, bookmark-current-buffer)
4853 (bookmark-yank-point): Document. (Bug#4188)
4855 2009-10-10 Glenn Morris <rgm@gnu.org>
4857 * frame.el (frame-height): Doc fix.
4859 * calendar/calendar.el (calendar-split-width-threshold): New option.
4860 (calendar-basic-setup): Use calendar-split-width-threshold.
4862 2009-10-10 Sascha Wilde <wilde@sha-bang.de>
4864 * cedet/ede/proj-shared.el (ede-proj-makefile-target-name):
4865 Use .la for Automake.
4867 2009-10-09 Chong Yidong <cyd@stupidchicken.com>
4869 * cedet/ede/pconf.el (ede-proj-configure-synchronize):
4870 Use "autoreconf -i". Suggested by Andreas Schwab.
4872 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
4874 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
4875 Ideographic Supplement" range (U+1F200..U+1F2FF).
4877 2009-10-09 Karl Fogel <kfogel@red-bean.com>
4879 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
4880 since the list will have been rebuilt anyway. (Bug#4349)
4882 2009-10-09 Karl Fogel <kfogel@red-bean.com>
4884 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
4885 (bookmark-bmenu-execute-deletions): Don't save here, as
4886 bookmark-delete will now do so if necessary.
4887 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
4890 2009-10-09 Glenn Morris <rgm@gnu.org>
4892 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
4894 2009-10-09 Karl Fogel <kfogel@red-bean.com>
4896 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
4897 (bookmark-jump-other-window): Just invoke bookmark-jump with new
4898 argument now, so the two function's behaviors will match. (Bug#3645)
4900 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
4902 * cedet/ede/proj.el (project-make-dist, project-compile-project):
4904 (ede-proj-dist-makefile): Use expand-file-name instead of concat
4905 to expand file names.
4907 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
4909 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
4910 (tramp-file-name-real-host, tramp-file-name-port):
4911 Apply `save-match-data'.
4913 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
4914 case both directories are remote.
4915 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
4916 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
4918 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
4920 * cedet/ede/proj-obj.el (ede-gcc-linker): New var.
4921 (ede-proj-target-makefile-objectcode): Use it.
4923 * cedet/ede/source.el (ede-want-any-source-files-p)
4924 (ede-want-any-auxiliary-files-p, ede-want-any-files-p):
4925 Return search result. This error was introduced while merging.
4927 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
4929 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
4931 2009-10-07 Glenn Morris <rgm@gnu.org>
4933 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
4936 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4938 * files-x.el (read-file-local-variable): Include some
4939 non-user-variables in the completion table (bug#4664).
4941 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
4943 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
4946 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
4947 (tramp-smb-file-name-handler-alist): Add handler for
4948 `copy-directory', `expand-file-name', `set-file-modes'.
4949 (tramp-smb-handle-copy-directory)
4950 (tramp-smb-handle-expand-file-name)
4951 (tramp-smb-handle-set-file-modes): New defuns.
4952 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
4953 (tramp-smb-handle-file-attributes): Simplify check for retrieving
4955 (tramp-smb-handle-insert-directory): Don't flush the cache.
4956 (tramp-smb-maybe-open-connection): Check for samba client and
4959 2009-10-07 Eli Zaretskii <eliz@gnu.org>
4961 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
4962 to not error out of search for "^lisp=" fails.
4964 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
4966 * makefile.w32-in (WINS_UPDATES): New macro.
4967 (custom-deps, finder-data, autoloads): Use it.
4969 2009-10-07 Glenn Morris <rgm@gnu.org>
4971 * Makefile.in (autoloads): Revert previous change.
4972 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
4973 the list of preloaded files passed on the command-line, get
4974 it from src/Makefile.
4976 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
4977 show the original buffer rather than a random one.
4979 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
4981 * help.el (describe-no-warranty): Place point in a slightly better
4982 position in the GPLv3 text.
4984 2009-10-06 Sam Steingold <sds@gnu.org>
4986 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
4987 the comm attribute is present before calling regexp-quote.
4989 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
4991 * play/animate.el (animate-string): For good effect, make sure
4992 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
4994 * play/animate.el (animate-sequence, animate-birthday-present):
4995 * misc.el (butterfly): Don't set `indent-tabs-mode'.
4997 2009-10-06 Glenn Morris <rgm@gnu.org>
4999 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
5001 * emacs-lisp/autoload.el (autoload-excludes): New variable.
5002 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
5003 (batch-update-autoloads): Process a string value of autoload-excludes,
5004 set during the build process.
5005 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
5007 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
5008 inside with-parsed... macro so that `v' is defined.
5010 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
5011 * progmodes/fortran.el (fortran-end-of-block)
5012 (fortran-beginning-of-block):
5013 Also push mark in the macro case.
5015 * emerge.el (emerge-show-file-name):
5016 * calc/calc.el (calc-quit):
5017 * calc/calc-misc.el (calc-big-or-small):
5018 * calc/calc-graph.el (calc-graph-view):
5019 * calc/calc-ext.el (calc-reset):
5020 * calendar/calendar.el (calendar-basic-setup):
5021 Use window-full-height-p.
5023 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
5024 header we don't understand, don't insert another. (Bug#4624)
5025 If changing mime charset, insert the new one in the right place.
5027 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
5029 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
5030 (cal-tex-cursor-month): Correctly increment the end date for diary and
5031 holiday listing. (Bug#4626)
5033 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5035 * help-fns.el (describe-function-1): Don't burp if the function is not
5038 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
5040 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
5041 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
5042 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
5043 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
5045 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
5046 (eieio-default-superclass): Reflow docstrings.
5047 (this, class-option-assoc, defclass, eieio-class-un-autoload)
5048 (eieio-unbind-method-implementations, defmethod)
5049 (eieio-validate-slot-value, eieio-validate-class-slot-value)
5050 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
5051 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
5052 (eieio-slot-originating-class-p, eieio-slot-name-index)
5053 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
5054 (constructor, initialize-instance, no-next-method, object-print)
5055 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
5056 Fix typos in docstrings.
5057 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
5058 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
5059 (next-method-p): Doc fixes.
5060 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
5061 Fix typos in error messages.
5062 (eieio-defmethod): Fix typo in description of generic method.
5064 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
5065 (eieio-persistent-save-interactive, slot-missing):
5066 Fix typos in docstrings.
5067 (eieio-instance-inheritor-slot-boundp): Doc fix.
5069 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
5070 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
5072 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
5073 (eieio-custom-object-apply-reset):
5074 Fix typos in docstrings and error messages.
5076 * emacs-lisp/eieio-datadebug.el (data-debug-show):
5077 Fix typo in docstring.
5079 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
5080 (eieio-browse-tree): Doc fix.
5081 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
5082 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
5083 Fix typos in docstrings.
5085 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
5086 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
5087 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
5088 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
5091 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
5093 * vc-hg.el (log-view-vc-backend): Declare for compiler.
5094 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
5095 Set log-view-vc-backend so that diff can work.
5097 * log-view.el (log-view-diff): Use vc-diff-internal instead of
5099 (vc-diff-internal): Autoload this instead of vc-version-diff.
5101 2009-10-05 Eli Zaretskii <eliz@gnu.org>
5103 * simple.el (eval-expression): Doc fix.
5105 * progmodes/cwarn.el (cwarn-mode): Doc fix.
5107 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
5109 * files.el (directory-files-no-dot-files-regexp): New defconst.
5110 (delete-directory): Use it.
5111 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
5113 * net/tramp.el (tramp-verbose): Fix docstring.
5114 (tramp-methods): Add recursive option to `tramp-copy-args'.
5115 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
5116 "scp1_old", "scp2_old", "rsync", "rsyncc".
5117 (tramp-default-method): Check also for `auth-source-user-or-password'.
5118 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
5119 Add handler for `copy-directory'.
5120 (tramp-handle-copy-directory): New defun.
5121 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
5122 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
5123 Optimize sent command.
5125 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5127 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
5128 window if necessary.
5130 * calendar/calendar.el (calendar-basic-setup): Don't call
5131 switch-to-buffer in a dedicated window.
5133 2009-10-05 Karl Fogel <kfogel@red-bean.com>
5135 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
5136 don't do anything related to relocating, just return nil.
5137 (bookmark-error-no-filename): New error.
5138 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
5139 bookmark has no file. Don't even attempt to handle things that
5140 are not files; the whole point of custom handlers is to keep that
5141 knowledge elsewhere anyway. Tighten some comments.
5142 (bookmark-file-or-variation-thereof): Remove now-unused function.
5143 (bookmark-location): Doc string fix.
5146 2009-10-04 Karl Fogel <kfogel@red-bean.com>
5148 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
5149 don't use a file dialog, because they usually don't know how to read
5150 a directory target from the user. (Bug#4230)
5151 Also, make sure the prompt can display directories as well as files.
5153 2009-10-04 Karl Fogel <kfogel@red-bean.com>
5155 * bookmark.el (bookmark-set, bookmark-buffer-name):
5156 Improve doc strings. (Bug#1193)
5158 2009-10-04 Karl Fogel <kfogel@red-bean.com>
5160 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
5161 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
5162 (bookmark-get-annotation, bookmark-set-annotation)
5163 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
5164 (bookmark-set-position, bookmark-get-front-context-string)
5165 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
5166 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
5167 (bookmark-jump-other-window, bookmark-handle-bookmark)
5168 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
5169 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
5170 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
5171 Improve doc strings to say whether bookmark can be a string or
5172 a record or both, and make other consistency and clarity fixes.
5173 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
5174 (bookmark-default-annotation-text, bookmark-yank-word)
5175 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
5176 (bookmark-import-new-list, bookmark-maybe-rename)
5177 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
5178 (bookmark-bmenu-bookmark): Give these doc strings.
5179 (bookmark-bmenu-check-position): Give this a doc string, but also
5180 add a FIXME comment about how the function may be pointless.
5181 (bookmark-default-handler): Rework doc string and change a
5182 parameter name, to clarify that this takes a bookmark record
5183 not a bookmark name.
5184 (bookmark-set): Change a parameter name to indicate its meaning,
5185 and improve the doc string a bit.
5188 2009-10-04 Karl Fogel <kfogel@red-bean.com>
5190 * bookmark.el (bookmark-alist): Document the new `handler' element
5192 (bookmark-make-record-function): Adjust documentation for above.
5195 2009-10-04 Karl Fogel <kfogel@red-bean.com>
5197 * info.el (Info-bookmark-make-record): Document this function.
5198 (Info-bookmark-jump): Document with a doc string, not just a comment.
5201 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
5203 * cedet/semantic.el (semantic-new-buffer-setup-functions): New option.
5204 (semantic-new-buffer-fcn): Call parser setup functions here.
5205 (semantic-mode): Don't call parser setup functions here, it's done
5206 in semantic-new-buffer-fcn now.
5207 (semantic-mode): Parse all existing buffers when enabled.
5209 * cedet/srecode/compile.el (srecode-compile-file):
5210 Call semantic-new-buffer-fcn if the buffer has not been parsed.
5212 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
5214 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): Delete.
5216 * cedet/ede/proj-comp.el: Don't require ede/pmake at toplevel.
5217 (proj-comp-insert-variable-once): New macro, renamed from
5218 ede-pmake-insert-variable-once in ede/pmake.edl.
5219 (ede-proj-makefile-insert-variables): Use it.
5221 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
5223 * files.el (copy-directory): New defun.
5225 * dired-aux.el (dired-copy-file-recursive): Use it.
5227 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
5229 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
5230 (makefile-end-of-command):
5231 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
5232 (semantic-end-of-context): Fix previous change. Doc fixes.
5234 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
5236 * files-x.el (modify-dir-local-variable)
5237 (copy-dir-locals-to-file-locals-prop-line):
5238 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
5239 (makefile-end-of-command):
5240 * cedet/semantic/lex.el (semantic-lex-token):
5241 * cedet/semantic/analyze/fcn.el
5242 (semantic-analyze-dereference-metatype-1):
5243 * cedet/semantic/bovine/c.el (semantic-lex-cpp-define)
5244 (semantic-lex-cpp-undef):
5245 * cedet/semantic/wisent/wisent.el (wisent-skip-block):
5246 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
5247 (semantic-end-of-context): Fix typos in docstrings.
5249 * recentf.el (recentf-unload-function): New function.
5251 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
5253 * cedet/ede.el (ede-project-placeholder-cache-file):
5254 * cedet/semantic/db-file.el (semanticdb-default-save-directory):
5255 * cedet/srecode/map.el (srecode-map-save-file):
5256 Use locate-user-emacs-file. Suggested by Juanma Barranquero.
5258 2009-10-04 Glenn Morris <rgm@gnu.org>
5260 * window.el (window-full-height-p): Add doc string.
5262 2009-10-04 Martin Rudalics <rudalics@gmx.at>
5264 * window.el (window-full-height-p): New function. (Bug#4543)
5266 2009-10-03 Chong Yidong <cyd@stupidchicken.com>
5268 * cedet/srecode/insert.el: Require srecode/args.
5270 * cedet/srecode/args.el: Require srecode/dictionary instead of
5273 * cedet/srecode/srt-mode.el (srecode-template-mode): Doc fix.
5275 * files.el (auto-mode-alist): Add .srt and Project.ede.
5277 * cedet/semantic.el (semantic-mode):
5278 Handle srecode-template-mode-hook as well.
5279 (semantic-mode): Use js-mode-hook for Javascript hook.
5281 * cedet/srecode/template.el: Remove hook variable.
5283 * cedet/ede/proj-comp.el: Require ede/pmake when compiling.
5285 * cedet/ede.el (ede-target-forms-menu): Don't enable if no
5287 (ede-project-placeholder-cache-file): Default to a file in
5288 user-emacs-directory.
5290 * cedet/srecode/map.el (srecode-map-base-template-dir): Look for
5291 templates in data-directory.
5292 (srecode-map-save-file): Default to a file in user-emacs-directory.
5294 * cedet/ede/srecode.el (ede-srecode-setup): Use default templates
5297 2009-09-30 Eric Ludlam <zappo@gnu.org>
5299 * cedet/semantic/util-modes.el (semantic-highlight-func-mode):
5302 * cedet/ede/proj-comp.el (ede-proj-makefile-insert-variables):
5303 Only insert each variable once.
5305 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): New macro.
5306 (ede-pmake-insert-variable-shared): Use it.
5308 * cedet/ede/cpp-root.el (ede-preprocessor-map): Do not deref table
5309 for lexical table iff table is nil.
5311 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
5313 * vc.el: Remove commented out code.
5314 (vc-derived-from-dir-mode): Remove, unused.
5315 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
5317 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
5319 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
5320 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
5321 there could be recursive loading when `default-directory' is a
5322 remote file name. (Bug#4614)
5324 2009-10-03 Glenn Morris <rgm@gnu.org>
5326 * calendar/calendar.el (calendar-basic-setup): Handle the case where
5328 (calendar-generate-window): Test for shrinkability rather than width.
5330 * cedet/semantic/db-find.el (data-debug-insert-tag-list): Comment out
5331 declaration, currently false.
5333 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
5334 reusing existing buffers, in case we happen to visit two files with the
5335 same basename. (Bug#4593)
5337 2009-10-02 Eli Zaretskii <eliz@gnu.org>
5339 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
5340 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
5341 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
5342 subdirs of cedet as well.
5343 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
5345 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
5347 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
5348 Obey advertised-signature-table.
5350 * help-fns.el (help-function-arglist): Don't check
5351 advertised-signature-table.
5352 (describe-function-1): Do it here instead so it also applies to subrs.
5354 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
5356 * simple.el (start-file-process): Say in the doc-string, that file
5357 handlers might not support pty association, if PROGRAM is nil.
5359 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
5360 HOST and USER are strings. They are nil, when there are
5361 incomplete entries in ~/.netrc, for example.
5362 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
5363 root directory ("device busy" error otherwise).
5365 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
5366 Flush file properties of created directory.
5368 2009-10-02 Eli Zaretskii <eliz@gnu.org>
5370 * makefile.w32-in (WINS_BASIC): Remove cedet.
5371 (WINS_CEDET): Add cedet.
5372 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
5374 2009-10-02 Kevin Ryde <user42@zip.com.au>
5376 * net/browse-url.el (browse-url): Pass any symbol in
5377 browse-url-browser-function to `apply', since if you've mistakenly put
5378 an unbound symbol then the error is clearer. (Bug#4531)
5380 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
5382 * allout.el (allout-init, allout-back-to-current-heading)
5383 (allout-beginning-of-current-entry, allout-ascend-to-depth)
5384 (allout-ascend, allout-up-current-level, allout-end-of-level)
5385 (allout-previous-visible-heading, allout-forward-current-level)
5386 (allout-backward-current-level, allout-show-children):
5387 * apropos.el (apropos-describe-plist):
5388 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
5389 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
5390 * completion.el (add-completion, add-permanent-completion):
5391 * descr-text.el (describe-text-category, describe-char):
5392 * desktop.el (desktop-lazy-abort):
5393 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
5394 * dired.el (dired-build-subdir-alist):
5395 * ediff.el (ediff-version):
5396 * elide-head.el (elide-head, elide-head-show):
5397 * emerge.el (emerge-version):
5399 * face-remap.el (variable-pitch-mode):
5400 * faces.el (describe-face):
5401 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
5403 * files.el (find-file-existing, auto-save-mode):
5404 * font-lock.el (font-lock-fontify-buffer):
5405 * help-fns.el (describe-function, describe-variable)
5406 (describe-syntax, describe-categories):
5407 * help.el (view-lossage, describe-bindings, describe-key)
5409 * hexl.el (hexl-current-address):
5410 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
5411 * info.el (Info-goto-emacs-key-command-node):
5412 * log-edit.el (log-edit-insert-cvs-template)
5413 (log-edit-insert-cvs-rcstemplate):
5414 * menu-bar.el (menu-bar-mode):
5415 * mouse.el (mouse-appearance-menu):
5416 * newcomment.el (comment-indent-new-line):
5417 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
5418 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
5419 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
5420 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
5421 * recentf.el (recentf-mode):
5422 * savehist.el (savehist-mode, savehist-save):
5423 * shadowfile.el (shadow-copy-files):
5424 * simple.el (kill-ring-save, next-line, previous-line)
5425 (normal-erase-is-backspace-mode):
5426 * strokes.el (strokes-update-window-configuration)
5427 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
5428 (strokes-xpm-for-stroke):
5429 * time.el (emacs-uptime, emacs-init-time):
5430 * tutorial.el (tutorial--describe-nonstandard-key)
5431 (tutorial--detailed-help):
5432 * type-break.el (type-break-mode)
5433 (type-break-mode-line-message-mode, type-break-query-mode)
5434 (type-break-guesstimate-keystroke-threshold):
5435 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
5436 * version.el (emacs-version):
5437 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
5438 * winner.el (winner-mode):
5439 * calendar/timeclock.el (timeclock-in, timeclock-out)
5440 (timeclock-status-string, timeclock-change)
5441 (timeclock-workday-remaining-string)
5442 (timeclock-workday-elapsed-string)
5443 (timeclock-when-to-leave-string):
5444 * calendar/todo-mode.el (todo-add-category):
5445 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
5446 * emacs-lisp/autoload.el (update-file-autoloads):
5447 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
5448 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
5449 (checkdoc-message-text, checkdoc-defun):
5450 * emacs-lisp/debug.el (debugger-list-functions):
5451 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5452 * emacs-lisp/eieio-opt.el (eieio-describe-class)
5453 (eieio-describe-generic):
5454 * emacs-lisp/lisp-mnt.el (lm-synopsis):
5455 * emacs-lisp/shadow.el (list-load-path-shadows):
5456 * emulation/cua-base.el (cua-mode):
5457 * emulation/edt.el (edt-set-scroll-margins):
5458 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
5459 (tpu-toggle-regexp, tpu-toggle-search-direction)
5460 (tpu-toggle-rectangle, tpu-toggle-control-keys):
5461 * emulation/tpu-extras.el (tpu-set-scroll-margins):
5462 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
5463 (viper-set-parsing-style-toggling-macro)
5464 (viper-set-emacs-state-searchstyle-macros):
5465 * emulation/viper.el (viper-set-hooks):
5466 * eshell/esh-mode.el (eshell-truncate-buffer):
5467 * international/mule-cmds.el (prefer-coding-system)
5468 (describe-input-method, describe-language-environment):
5469 * international/mule-diag.el (list-character-sets)
5470 (describe-character-set, describe-coding-system)
5471 (describe-fontset, list-fontsets, list-input-methods):
5472 * mail/sendmail.el (mail-signature):
5473 * net/ange-ftp.el (ange-ftp-copy-file):
5474 * net/browse-url.el (browse-url):
5475 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
5476 * net/quickurl.el (quickurl-add-url):
5477 * net/rcirc.el (names, topic):
5478 * net/xesam.el (xesam-mode):
5479 * play/5x5.el (5x5-new-game):
5480 * play/yow.el (apropos-zippy):
5481 * progmodes/ada-mode.el (ada-mode-version):
5482 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
5484 (f90-beginning-of-block):
5485 * progmodes/fortran.el (fortran-end-of-block)
5486 (fortran-beginning-of-block):
5487 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
5488 * progmodes/python.el (python-describe-symbol, python-shell):
5489 * term/ns-win.el (ns-print-buffer):
5490 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
5491 * textmodes/flyspell.el (flyspell-mode-on):
5492 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
5493 (pages-directory-for-addresses):
5494 * textmodes/table.el (table-recognize-cell)
5495 (table-query-dimension, table-generate-source)
5496 (table-insert-sequence, table--warn-incompatibility):
5497 * textmodes/tex-mode.el (tex-validate-buffer):
5498 * textmodes/texinfmt.el (texinfmt-version)
5499 (texinfo-format-buffer):
5500 Use `called-interactively-p' instead of `interactive-p'.
5502 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
5504 * image-mode.el (image-toggle-display):
5505 * emacs-lisp/elp.el (elp-instrument-function):
5506 * emacs-lisp/advice.el (ad-make-advised-definition):
5507 * emacs-lisp/easy-mmode.el (define-minor-mode):
5508 * net/browse-url.el (browse-url-maybe-new-window):
5509 * progmodes/sh-script.el (sh-learn-buffer-indent):
5510 Pass new argument 'any to `called-interactively-p'.
5512 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
5514 * international/uni-bidi.el:
5515 * international/uni-category.el:
5516 * international/uni-combining.el:
5517 * international/uni-comment.el:
5518 * international/uni-decimal.el:
5519 * international/uni-decomposition.el:
5520 * international/uni-digit.el:
5521 * international/uni-lowercase.el:
5522 * international/uni-mirrored.el:
5523 * international/uni-name.el:
5524 * international/uni-numeric.el:
5525 * international/uni-old-name.el:
5526 * international/uni-titlecase.el:
5527 * international/uni-uppercase.el:
5528 Regenerate from Unicode 5.2.0 data.
5530 2009-10-01 Glenn Morris <rgm@gnu.org>
5532 * Makefile.in (ELCFILES): Regenerate.
5534 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5536 * subr.el (interactive-p): Mark obsolete.
5537 (called-interactively-p): Make the optional-ness of `kind' obsolete.
5538 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
5539 advertised-signature-table for subroutines as well.
5541 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
5542 (set-advertised-calling-convention): New function.
5543 (make-obsolete, define-obsolete-function-alias)
5544 (make-obsolete-variable, define-obsolete-variable-alias):
5545 Make the optional-ness of `when' obsolete.
5546 (define-obsolete-face-alias): Make `when' non-optional.
5547 * help-fns.el (help-function-arglist):
5548 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
5549 Use advertised-signature-table.
5551 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
5553 * files.el (delete-directory): New defun. The original function
5554 in fileio.c has been renamed to `delete-directory-internal'.
5556 * dired.el (dired-delete-file): Call `delete-directory' with
5557 RECURSIVE parameter.
5559 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
5560 parameter RECURSIVE. Implementation is missing.
5562 * net/tramp.el (tramp-handle-make-directory): Flush upper
5563 directory's file properties.
5564 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
5565 (tramp-handle-dired-recursive-delete-directory): Flush directory
5566 properties after the remove command only.
5568 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
5569 Handle optional parameter RECURSIVE.
5571 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
5572 Handle optional parameter RECURSIVE.
5574 * net/tramp-smb.el (tramp-smb-errors): Add error message for
5576 (tramp-smb-handle-delete-directory): Handle optional parameter
5579 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5581 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
5582 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
5583 (byte-compile-defmacro): Use backquotes.
5585 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
5587 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
5588 has no associated file.
5589 (vc-resynch-buffer): Use vc-dir-buffers.
5591 2009-10-01 Glenn Morris <rgm@gnu.org>
5593 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
5595 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
5596 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
5597 * emacs-lisp/eieio-opt.el (eieio-describe-class):
5598 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
5599 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
5600 (eieio-copy-parents-into-subclass, make-instance, class-children)
5601 (eieio-generic-form):
5602 * cedet/cedet-files.el (cedet-directory-name-to-file-name):
5603 * cedet/cedet-idutils.el (cedet-idutils-search)
5604 (cedet-idutils-expand-filename, cedet-idutils-support-for-directory)
5605 (cedet-idutils-version-check):
5606 * cedet/cedet.el (cedet-version):
5607 * cedet/data-debug.el (data-debug-insert-overlay-button)
5608 (data-debug-insert-overlay-list-button)
5609 (data-debug-insert-buffer-button)
5610 (data-debug-insert-buffer-list-button)
5611 (data-debug-insert-process-button, data-debug-insert-ring-button)
5612 (data-debug-insert-widget, data-debug-insert-stuff-list-button)
5613 (data-debug-insert-stuff-vector-button)
5614 (data-debug-insert-symbol-button, data-debug-insert-string)
5615 (data-debug-insert-number, data-debug-insert-lambda-expression)
5616 (data-debug-insert-nil, data-debug-insert-simple-thing)
5617 (data-debug-insert-custom, data-debug-edebug-expr):
5618 * cedet/ede.el (ede-auto-add-method, ede-project-class-files)
5619 (global-ede-mode-map, ede-new, ede-debug-target)
5620 (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set):
5621 * cedet/semantic.el (semantic-minimum-working-buffer-size)
5622 (semantic-fetch-tags, semantic-submode-list)
5623 (semantic-default-submodes):
5624 * cedet/ede/source.el (ede-source-match):
5625 * cedet/ede/project-am.el (project-am-type-alist, project-add-file)
5626 (project-am-package-info):
5627 * cedet/ede/proj.el (ede-proj-target, project-new-target):
5628 * cedet/ede/proj-elisp.el (ede-proj-tweak-autoconf):
5629 * cedet/ede/proj-comp.el (ede-current-build-list):
5630 * cedet/ede/makefile-edit.el (makefile-move-to-macro):
5631 * cedet/ede/files.el (ede-toplevel-project-or-nil):
5632 * cedet/ede/cpp-root.el (initialize-instance):
5633 * cedet/ede/autoconf-edit.el (autoconf-find-last-macro)
5634 (autoconf-parameter-strip, autoconf-insert-new-macro):
5635 * cedet/semantic/wisent.el (wisent-lex-eoi):
5636 * cedet/semantic/util-modes.el (global-semantic-show-parser-state-mode)
5637 (semantic-show-parser-state-mode):
5638 * cedet/semantic/texi.el (semantic-texi-environment-regexp):
5639 * cedet/semantic/tag.el (semantic-tag-new-variable)
5640 (semantic-tag-class, semantic-tag-new-variable, semantic-tag-copy)
5641 (semantic--tag-deep-copy-attributes, semantic--tag-deep-copy-value)
5642 (semantic--tag-deep-copy-tag-list)
5643 (semantic-tag-components-with-overlays-default):
5644 * cedet/semantic/symref.el (semantic-symref-find-text):
5645 * cedet/semantic/senator.el (senator-yank-tag)
5646 (senator-transpose-tags-up):
5647 * cedet/semantic/scope.el (semantic-analyze-scoped-tags-default)
5648 (semantic-analyze-scoped-inherited-tags, semantic-scope-find):
5649 * cedet/semantic/sb.el (semantic-sb-autoexpand-length):
5650 * cedet/semantic/lex.el (semantic-lex-comment-regex)
5651 (semantic-lex-maximum-depth, define-lex, semantic-lex-token)
5652 (semantic-lex-unterminated-syntax-protection, define-lex-analyzer):
5653 * cedet/semantic/lex-spp.el
5654 (semantic-lex-spp-dynamic-macro-symbol-obarray-stack)
5655 (semantic-lex-spp-symbol, semantic-lex-spp-one-token-to-txt):
5656 * cedet/semantic/idle.el
5657 (semantic-idle-summary-current-symbol-info-brutish)
5658 (semantic-idle-summary-current-symbol-info-default):
5659 * cedet/semantic/grammar.el (semantic-grammar-recreate-package)
5660 (semantic--grammar-macro-compl-dict):
5661 * cedet/semantic/grammar-wy.el (semantic-grammar-wy--parse-table):
5662 * cedet/semantic/format.el (semantic-format-tag-custom-list)
5663 (semantic-format-tag-canonical-name-default):
5664 * cedet/semantic/find.el (semantic-find-tag-by-overlay-in-region)
5665 (semantic-find-tags-for-completion)
5666 (semantic-find-tags-by-scope-protection-default)
5667 (semantic-deep-find-tags-for-completion):
5668 * cedet/semantic/edit.el
5669 (semantic-edits-incremental-reparse-failed-hook)
5670 (semantic-edits-verbose-flag, semantic-edits-assert-valid-region)
5671 (semantic-edits-splice-remove, semantic-edits-splice-replace):
5672 * cedet/semantic/doc.el (semantic-documentation-comment-preceeding-tag):
5673 * cedet/semantic/dep.el (semantic-dependency-include-path):
5674 * cedet/semantic/db.el (semanticdb-default-find-index-class)
5675 (semanticdb-match-any-mode, semanticdb-with-match-any-mode)
5676 (semanticdb-project-roots):
5677 * cedet/semantic/db-find.el (semanticdb-implied-include-tags)
5678 (semanticdb-find-adebug-insert-scanned-tag-cons)
5679 (semanticdb-find-log-buffer-name, semanticdb-find-result-mapc)
5680 (semanticdb-brute-deep-find-tags-for-completion):
5681 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-add-tree-to-table):
5682 * cedet/semantic/ctxt.el (semantic-beginning-of-context-default)
5683 (semantic-end-of-context-default)
5684 (semantic-ctxt-current-function-default)
5685 (semantic-ctxt-scoped-types-default):
5686 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
5687 (semantic-complete-inline-tag-engine)
5688 (semantic-complete-inline-custom-type)
5689 (semantic-complete-read-tag-analyzer):
5690 * cedet/semantic/chart.el (semantic-chart-tags-by-class)
5691 (semantic-chart-database-size):
5692 * cedet/semantic/analyze.el (semantic-analyze-current-symbol)
5693 (semantic-analyze-current-context):
5694 * cedet/semantic/symref/list.el (semantic-symref)
5695 (semantic-symref-hide-buffer, semantic-symref-symbol):
5696 * cedet/semantic/symref/grep.el (semantic-symref-grep-use-template):
5697 * cedet/semantic/symref/filter.el (semantic-symref-hits-in-region):
5698 * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string):
5699 * cedet/semantic/bovine/c.el (semantic-lex-c-preprocessor-symbol-map)
5700 (semantic-c-parse-token-hack-depth, semantic-c--template-name-1)
5701 (semantic-c-dereference-template):
5702 * cedet/semantic/analyze/refs.el (semantic--analyze-refs-full-lookup)
5703 (semantic--analyze-refs-full-lookup-with-parents)
5704 (semantic--analyze-refs-full-lookup-simple):
5705 * cedet/semantic/analyze/complete.el
5706 (semantic-analyze-possible-completions):
5707 * cedet/srecode/table.el (srecode-mode-table-new):
5708 * cedet/srecode/srt.el (srecode-read-variable-name):
5709 * cedet/srecode/srt-mode.el (srecode-macro-help, srecode-in-macro-p):
5710 * cedet/srecode/semantic.el (srecode-semantic-handle-:tag)
5711 (srecode-semantic-handle-:tagtype, srecode-semantic-insert-tag):
5712 * cedet/srecode/map.el (srecode-current-map):
5713 * cedet/srecode/insert.el (srecode-insert)
5714 (srecode-insert-variable-secondname-handler, srecode-insert-method)
5715 (srecode-template-inserter-point-override)
5716 (srecode-insert-include-lookup):
5717 * cedet/srecode/getset.el (srecode-auto-choose-class):
5718 * cedet/srecode/extract.el (srecode-inserter-extract):
5719 * cedet/srecode/document.el
5720 (srecode-document-autocomment-return-last-alist)
5721 (srecode-document-autocomment-param-type-alist)
5722 (srecode-document-insert-function-comment)
5723 (srecode-document-insert-variable-one-line-comment)
5724 (srecode-document-function-name-comment):
5725 * cedet/srecode/dictionary.el (srecode-create-dictionary)
5726 (srecode-compound-toString):
5727 * cedet/srecode/compile.el (srecode-flush-active-templates):
5728 * cedet/srecode/args.el (srecode-semantic-handle-:blank):
5731 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
5732 match-data. (Bug#4555).
5734 * cedet/semantic/bovine/gcc.el
5735 (semantic-c-reset-preprocessor-symbol-map): Fix declaration.
5736 (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes.
5738 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
5739 rather than parsing it as a regexp. This relaxes the layout
5740 requirements and makes errors easier to detect.
5741 (check-declare-verify): Check file is regular.
5742 (check-declare-directory): Doc fix.
5743 * subr.el (declare-function): Doc fix.
5745 * ibuffer.el (ibuffer-format-qualifier):
5746 * isearch.el (hi-lock-regexp-okay):
5747 * calc/calc.el (math-zerop):
5748 * mail/uce.el (rmail-msgbeg, rmail-msgend):
5749 * term/w32-win.el (setup-default-fontset, set-fontset-font):
5750 Remove unused declarations.
5752 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
5754 * cedet/semantic/wisent/javat-wy.el
5755 (wisent-java-tags-wy--keyword-table): Use \000 instead of literal ^@.
5757 2009-09-30 Juanma Barranquero <lekktu@gmail.com>
5759 * cedet/srecode/expandproto.el: Fix provide statement.
5761 2009-09-30 Eric Ludlam <zappo@gnu.org>
5763 * emacs-lisp/eieio.el (boolean-p): Delete.
5765 2009-09-30 Sascha Wilde <wilde@sha-bang.de>
5767 * cedet/ede/srecode.el: Fix provide statement.
5769 2009-09-30 Glenn Morris <rgm@gnu.org>
5771 * cedet/ede/proj.el (ede-proj-target-makefile-miscelaneous):
5772 * cedet/ede/proj-aux.el (ede-aux-source):
5773 * cedet/ede/proj-misc.el (ede-proj-target-makefile-miscelaneous)
5775 * cedet/semantic/mru-bookmark.el (semantic-mrub-completing-read)
5776 (semantic-mrub-switch-tags): Fix doc typos.
5778 * cedet/semantic/db-global.el (data-debug-new-buffer)
5779 (data-debug-insert-thing): Remove unneeded declarations (one broken).
5780 (semanticdb-enable-gnu-global-databases): Fix prompt typo.
5782 * cedet/semantic/analyze/fcn.el (semantic-scope-find): Fix declaration.
5784 * cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime
5785 use of CL function `remove-if-not'.
5787 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
5789 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
5790 filename is not a string.
5792 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
5794 * files.el (safe-local-eval-forms): Fix typo.
5796 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
5798 * vc-hooks.el (vc-dir-buffers): New var.
5799 (vc-state-refresh): New function.
5801 (vc-after-save): Always ask the backend to recompute the new state.
5802 Always call vc-dir if necessary, using vc-dir-buffers.
5803 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
5805 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
5806 (vc-dir-prepare-status-buffer, vc-dir-update)
5807 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
5808 Don't call expand-file-name on default-directory.
5810 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
5812 * speedbar.el (speedbar-item-delete):
5813 * calc/calc-prog.el (calc-kbd-if):
5814 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
5816 * epa.el (epa-key-list-mode-map):
5817 * hi-lock.el (hi-lock-menu): Fix typos in menus.
5819 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
5820 (hs-show-hook): Fix typo in docstring.
5822 2009-09-29 Glenn Morris <rgm@gnu.org>
5824 * cedet/semantic/symref/idutils.el:
5825 * cedet/semantic/symref/list.el: Relicense under GPLv3+.
5827 * cedet/ede/srecode.el (srecode-resolve-arguments): Fix declaration.
5829 * cedet/semantic/complete.el (semantic-displayor-focus-abstract-child-p):
5830 * cedet/semantic/tag-file.el (semanticdb-table-child-p):
5831 * cedet/srecode/compile.el (srecode-template-inserter-newline-child-p):
5832 Mark declarations not understood by check-declare.
5834 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
5835 file-name-nondirectory call preventing location of cedet files.
5836 (check-declare-verify): Use literal search rather than re-search.
5837 Add basic defmethod and defclass, and define-overloadable-function.
5839 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
5840 Use tramp-compat-file-attributes rather than nonexistent
5841 tramp-compat-handle-file-attributes.
5843 * Makefile.in (lisptagsfiles4): New.
5844 (AUTOGENEL): Add cedet loaddefs files.
5845 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
5846 (update-elclist, compile-always, backup-compiled-files)
5847 (bootstrap-clean): Add yet another directory level.
5848 (update-elclist): Use LC_COLLATE rather than COLLATE.
5849 (ELCFILES): Update, via `make update-elclist'.
5851 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
5853 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
5854 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
5855 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
5857 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
5859 * Makefile.in (lisptagsfiles3): Define.
5860 (TAGS, TAGS-LISP): Use it.
5861 (update-elclist): Add third directory level to look for elc files.
5862 (compile-always): Likewise.
5863 (backup-compiled-files): Likewise.
5864 (bootstrap-clean): Likewise.
5867 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
5869 * Makefile.in (ELCFILES): Add CEDET files.
5871 2009-09-28 Eric Ludlam <zappo@gnu.org>
5873 CEDET (development tools) package merged.
5877 * cedet/semantic/*.el:
5878 * cedet/srecode/*.el: New files.
5880 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
5882 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
5884 * net/tramp.el (top): Require tramp-imap.
5886 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
5887 Use `tramp-compat-handle-file-attributes'.
5889 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
5891 * net/tramp-imap.el: New package.
5893 2009-09-28 Eric Ludlam <zappo@gnu.org>
5895 * emacs-lisp/chart.el:
5896 * emacs-lisp/eieio-base.el:
5897 * emacs-lisp/eieio-comp.el:
5898 * emacs-lisp/eieio-custom.el:
5899 * emacs-lisp/eieio-datadebug.el:
5900 * emacs-lisp/eieio-opt.el:
5901 * emacs-lisp/eieio-speedbar.el:
5902 * emacs-lisp/eieio.el: New files.
5904 * cedet/cedet-cscope.el:
5905 * cedet/cedet-files.el:
5906 * cedet/cedet-global.el:
5907 * cedet/cedet-idutils.el:
5908 * cedet/data-debug.el:
5909 * cedet/inversion.el:
5910 * cedet/mode-local.el:
5911 * cedet/pulse.el: New files.
5913 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5915 * whitespace.el (whitespace-trailing-regexp)
5916 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
5919 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
5921 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
5924 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
5925 menu-bar-ediff-menu.
5927 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
5928 define-overloadable-function.
5930 * progmodes/autoconf.el: Provide autoconf as well, so that this
5931 file can be `require'd.
5933 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
5935 * emacs-lisp/autoload.el (generated-autoload-feature)
5936 (generated-autoload-load-name): New vars.
5937 (autoload-rubric, autoload-generate-file-autoloads): Use them.
5938 (make-autoload): Recognize define-overloadable-function and
5939 defclass forms (for EIEIO).
5941 * Makefile.in (update-subdirs): Exclude cedet directory.
5943 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
5945 * term/ns-win.el: Don't set the region face background. (Bug#4381)
5947 * faces.el: Default light-background background for region face to
5948 ns_selection_color under NS.
5950 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
5952 * net/imap-hash.el: New library, see NEWS.
5954 * Makefile.in (ELCFILES): Add imap-hash.el.
5956 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5958 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
5959 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
5960 * help-macro.el (make-help-screen): Avoid using an ambiguous function
5961 definition where the docstring could be taken for the return value.
5963 2009-09-26 Glenn Morris <rgm@gnu.org>
5965 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
5966 Add option to only show images below a certain size.
5967 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
5968 save-excursion calls.
5970 2009-09-26 Eli Zaretskii <eliz@gnu.org>
5972 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
5973 subdirectories) and eieio.
5975 2009-09-26 Alan Mackenzie <acm@muc.de>
5977 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
5978 buggy bracketing. (Bug#4289)
5980 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
5981 character constants (as case labels). (Bug#4289)
5983 2009-09-25 Juri Linkov <juri@jurta.org>
5985 * files.el (safe-local-eval-forms): Allow time-stamp in
5986 before-save-hook (Bug#4554).
5988 2009-09-25 Drew Adams <drew.adams@oracle.com>
5990 * menu-bar.el (list-buffers-directory): Doc fix.
5992 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
5994 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
5995 Try and avoid copying twice the same paragraph.
5996 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
5997 Remove save-excursion.
5998 (log-edit-changelog-entry): Do it here instead.
6000 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
6002 * bs.el (bs--get-file-name): Use `list-buffers-directory'
6003 when available, instead of hardcoding mode names. Doc fix.
6005 * menu-bar.el (list-buffers-directory): Add docstring.
6006 Make automatically buffer-local.
6008 * dired.el (dired-mode):
6009 * files.el (cd-absolute):
6010 * pcvs.el (cvs-temp-buffer):
6011 * pcvs-util.el (cvs-get-buffer-create):
6012 * shell.el (shell-mode):
6013 * vc-dir.el (vc-dir-mode):
6014 Don't make `list-buffers-directory' buffer local.
6016 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
6018 * comint.el (comint-exec, comint-run, make-comint):
6019 Doc fixes (Bug#4542).
6021 2009-09-25 Glenn Morris <rgm@gnu.org>
6023 * mail/rmailmm.el (rmail-mime): New custom group.
6024 Move all defcustoms in this file into this group.
6025 (rmail-mime-media-type-handlers-alist): Revert previous change.
6026 (rmail-mime-show-images): New option.
6027 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
6028 references to it, since it wasn't actually used for anything.
6029 (rmail-mime-insert-image): New function.
6030 (rmail-mime-image): Use rmail-mime-insert-image.
6031 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
6032 obey the value of `rmail-mime-show-images' option. Print the size of
6035 2009-09-25 David Engster <deng@randomsample.de>
6037 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
6039 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
6041 * whitespace.el: Does not highlight trailing spaces While point is
6042 at end of line. Does not highligt spaces at beginning of buffer
6043 while point is at beginning of buffer. Does not highlight spaces
6044 at end of buffer while point is at end of buffer. (Bug#4177)
6046 (whitespace-display-mappings): Adjust initialization.
6047 (whitespace-point, whitespace-font-lock-refontify): New vars.
6048 (whitespace-color-on, whitespace-color-off): Adjust code.
6049 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
6050 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
6051 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
6053 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
6055 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
6057 * textmodes/sgml-mode.el: Remove xml-mode alias.
6059 * files.el (auto-mode-alist, conf-mode-maybe)
6060 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
6062 2009-09-24 Alan Mackenzie <acm@muc.de>
6064 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
6065 c-forward-conditionals, but it doesn't move point and doesn't set
6067 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
6068 (c-down-conditional-with-else, c-backward-conditional)
6069 (c-forward-conditional): Refactor to use c-scan-conditionals.
6071 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
6073 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
6074 (help-default-arg-highlight): Remove.
6075 (help-highlight-arg): New function.
6076 (help-do-arg-highlight): Use it.
6077 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
6079 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
6081 * term.el (term-set-scroll-region, term-handle-ansi-escape):
6082 Undo last change, which didn't fix the problem and introduced others.
6084 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
6086 * progmodes/gdb-mi.el: Don't require speedbar.
6087 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
6089 2009-09-24 Glenn Morris <rgm@gnu.org>
6091 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
6093 * term/ns-win.el (ns-reg-to-script): Define for compiler.
6095 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
6096 there is no newline after the final mime boundary. (Bug#4539)
6097 Move markers on insertion so that any buttons inserted don't end up in
6098 the next part of a multipart message.
6099 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
6100 (rmail-mime-bulk-handler): Optionally handle images.
6101 (rmail-mime-image): New button action.
6102 (rmail-mime-image-handler): New function.
6103 (rmail-mime-mode): New mode.
6104 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
6106 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
6108 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
6109 than just dropping elements from it (bug#4504).
6111 * term.el (term-set-scroll-region): Don't move cursor any more.
6112 (term-handle-ansi-escape): Call term-goto here instead.
6113 Suggested by Ivan Kanis <apple@kanis.eu>.
6115 * term.el: Require CL.
6116 (term-ansi-reset): New function.
6117 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
6118 (term-handle-colors-array): Simplify.
6120 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
6122 * allout.el (allout-overlay-interior-modification-handler)
6123 (allout-obtain-passphrase):
6124 * epa-file.el (epa-file-write-region):
6125 * ps-print.el (ps-begin-job):
6126 * vc-hooks.el (vc-toggle-read-only):
6127 * vc-rcs.el (vc-rcs-rollback):
6128 * vc-sccs.el (vc-sccs-rollback):
6129 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
6130 (vc-version-diff, vc-revert, vc-rollback):
6131 * wdired.el (wdired-check-kill-buffer):
6132 * emacs-lisp/authors.el (authors):
6133 * net/socks.el (socks-open-connection):
6134 * net/zeroconf.el (zeroconf-service-add-hook):
6135 * obsolete/vc-mcvs.el (vc-mcvs-register):
6136 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
6138 * progmodes/grep.el (lgrep, rgrep):
6139 * progmodes/idlw-help.el (idlwave-help-check-locations)
6140 (idlwave-help-html-link, idlwave-help-assistant-open-link):
6141 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
6142 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
6143 (reftex-toc-rename-label): Fix typos in error messages.
6145 * dired-aux.el (dired-do-shell-command): Reflow docstring.
6146 (dired-copy-how-to-fn): Doc fix.
6147 (dired-files-attributes, dired-read-shell-command):
6148 Fix typos in docstrings.
6150 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
6151 (dired-x-find-file-other-window): Reflow docstrings.
6152 (dired-omit-marker-char, dired-read-shell-command)
6153 (dired-x-submit-report): Fix typos in docstrings.
6155 * shell.el (shell-mode-hook):
6156 * view.el (View-scroll-line-forward):
6157 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
6158 Fix typos in docstrings.
6160 * net/dig.el (dig-invoke): Fix typo in docstring.
6161 (query-dig): Reflow docstring.
6163 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
6164 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
6165 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
6166 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
6167 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
6168 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
6169 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
6170 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
6171 (idlwave-completion-map, idlwave-current-indent)
6172 (idlwave-custom-ampersand-surround, idlwave-customize)
6173 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
6174 (idlwave-define-abbrev, idlwave-determine-class-special)
6175 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
6176 (idlwave-end-block-reg, idlwave-end-of-statement)
6177 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
6178 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
6179 (idlwave-explicit-class-listed, idlwave-file-header)
6180 (idlwave-fill-paragraph, idlwave-find-class-definition)
6181 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
6182 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
6183 (idlwave-in-quote, idlwave-indent-action-table)
6184 (idlwave-indent-expand-table, idlwave-indent-line)
6185 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
6186 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
6187 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
6188 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
6189 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
6190 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
6191 (idlwave-outlawed-buffers, idlwave-popup-select)
6192 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
6193 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
6194 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
6195 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
6196 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
6197 (idlwave-statement-type, idlwave-struct-skip)
6198 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
6199 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
6200 (idlwave-what-module-find-class): Fix typos in docstrings.
6201 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
6202 (idlwave-calculate-cont-indent, idlwave-expand-equal)
6203 (idlwave-find-module, idlwave-find-structure-definition)
6204 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
6205 (idlwave-list-load-path-shadows, idlwave-next-statement)
6206 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
6207 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
6208 (idlwave-template): Reflow docstrings.
6210 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
6211 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
6212 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
6213 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
6214 (idlwave-shell-display-line, idlwave-shell-display-wframe)
6215 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
6216 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
6217 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
6218 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
6219 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
6220 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
6221 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
6222 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
6223 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
6224 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
6225 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
6226 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
6227 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
6228 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
6229 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
6230 Fix typos in docstrings.
6231 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
6232 (idlwave-shell-hide-output, idlwave-shell-mode)
6233 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
6236 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
6238 2009-09-24 Ivan Kanis <apple@kanis.eu>
6240 * term.el (term-bold-attribute): New var.
6241 (term-handle-colors-array): Use it.
6243 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
6245 * progmodes/gdb-mi.el (gdb-version): New variable.
6246 (gdb-non-stop-handler): Set gdb-version.
6247 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
6248 Condition "--thread" option on gdb-version.
6249 (gdb-invalidate-threads): Remove unused argument.
6251 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
6253 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
6254 to looking-back to avoid ridiculous slow down in large files (bug#4511).
6256 2009-09-23 Glenn Morris <rgm@gnu.org>
6258 * mail/rmail.el (rmail-reply): Don't try to add a References header when
6259 replying to mail without References or Message-Id. (Bug#4525)
6261 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
6263 * term/ns-win.el (ns-reg-to-script): New variable.
6265 2009-09-23 Daiki Ueno <ueno@unixuser.org>
6267 * epg.el (epg-wait-for-status): Preserve existing 'error results.
6269 2009-09-22 Sam Steingold <sds@gnu.org>
6271 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
6272 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
6273 to 1 because hg returns status 1 when nothing is found.
6274 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
6276 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
6278 * textmodes/fill.el: Convert to utf-8 encoding.
6279 (fill-french-nobreak-p): Remove redundant » and « inherited from our
6282 * add-log.el (change-log-fill-forward-paragraph): New function.
6283 (change-log-mode): Use it so fill-region DTRT.
6284 Set fill-indent-according-to-mode here rather than in
6285 change-log-fill-paragraph.
6286 (change-log-fill-paragraph): Remove.
6288 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
6290 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
6291 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
6293 2009-09-22 Glenn Morris <rgm@gnu.org>
6295 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
6296 the scroll-bar scroll the calendar window rather than the buffer.
6298 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
6299 commands that move point (as opposed to scrolling).
6301 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
6303 * emacs-lisp/elint.el (elint): New custom group.
6304 (elint-log-buffer): Make it a defcustom.
6305 (elint-scan-preloaded, elint-ignored-warnings)
6306 (elint-directory-skip-re): New options.
6307 (elint-builtin-variables): Doc fix.
6308 (elint-preloaded-env): New variable.
6309 (elint-unknown-builtin-args): Add an entry for encode-time.
6310 (elint-extra-errors): Make it a variable rather than a constant.
6311 (elint-preloaded-skip-re): New constant.
6312 (elint-directory): Skip files matching elint-directory-skip-re.
6313 (elint-features): New variable, local to linted buffers.
6314 (elint-update-env): Initialize elint-features. Possibly add
6315 elint-preloaded-env to the buffer's environment.
6316 (elint-get-top-forms): Bind elint-current-pos, for log messages.
6318 (elint-init-form): New function, extracted from elint-init-env.
6319 Make non-list forms a warning rather than an error.
6320 Add the mode-map for define-derived-mode. Handle define-minor-mode,
6321 easy-menu-define, put that adds an error-condition, and provide.
6322 When requiring cl, also require cl-macs. Really require cl, to handle
6323 some cl macros. Store required libraries in the list elint-features,
6324 so as not to re-load them. Treat cc-require like require.
6325 (elint-init-env): Call elint-init-form to do the work.
6326 Handle eval-and-compile and such like.
6327 (elint-add-required-env): Do not clear messages.
6328 (elint-special-forms): Add handlers for function, defalias, if, when,
6330 (elint-form): Add optional argument to ignore elint-special-forms,
6331 useful to prevent recursive calls from handlers. Doc fix.
6332 Respect elint-ignored-warnings.
6333 (elint-form): Respect elint-ignored-warnings.
6334 (elint-bound-variable, elint-bound-function): New variables.
6335 (elint-unbound-variable): Respect elint-bound-variable.
6336 (elint-get-args): Respect elint-bound-function.
6337 (elint-check-cond-form): Add some simple handling for (f)boundp and
6339 (elint-check-defalias-form): New handler.
6340 (elint-check-let-form): Make an empty let a warning rather than an
6342 (elint-check-setq-form): Make an empty setq a warning rather than an
6343 error. Respect elint-ignored-warnings.
6344 (elint-check-defvar-form): Accept null doc-strings.
6345 (elint-check-conditional-form): New handler. Does some simple-minded
6346 checking of featurep and (f)boundp tests.
6347 (elint-put-function-args): New function.
6348 (elint-initialize): Use elint-scan-doc-file rather than
6349 elint-find-builtin-variables. Use elint-put-function-args.
6350 Possibly scan preloaded-file-list.
6351 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
6352 extend to handle functions as well.
6354 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
6356 * linum.el (linum-delete-overlays, linum-update-window):
6357 Do not modify the right margin. (Bug#3971)
6359 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
6361 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
6362 nxml-mode instead of xml-mode.
6364 2009-09-21 Kevin Ryde <user42@zip.com.au>
6366 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
6368 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
6370 * net/dig.el (dig-mode): Use define-derived-mode.
6372 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
6374 * vc-dispatcher.el (vc-do-command): Return the process object in
6375 the asynchronous case. Use when instead of if. Do not run
6376 vc-exec-after to display a message if not enabled. (Bug#4463)
6378 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
6379 properties to the stash strings.
6380 (vc-git-stash-list): Return a list of strings.
6381 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
6382 (vc-git-stash-show-at-point): New functions.
6383 (vc-git-stash-map): New keymap.
6385 * register.el (ctl-x-r-map): Define the keys here instead of
6388 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
6390 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
6391 list, to workaround performance problem (bug#4485).
6393 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
6395 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
6397 2009-09-20 Daiki Ueno <ueno@unixuser.org>
6399 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
6400 Document that this option is not recommended to use.
6402 2009-09-19 Glenn Morris <rgm@gnu.org>
6404 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
6407 * calc/calc-alg.el (var):
6408 * calc/calcalg2.el (var): Define for compiler.
6410 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
6412 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
6415 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
6417 * time-stamp.el (time-stamp-month-dd-yyyy)
6418 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
6419 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
6420 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
6421 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
6422 Remove functions that have been obsolete since 1995 (Bug#4436).
6424 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
6425 indent buffer only if called interactively (Bug#4452).
6427 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
6428 Eli Zaretskii <eliz@gnu.org>
6430 This fixes bug#4197 (merged to bug#865, though not identical).
6431 * server.el (server-auth-dir): Add docstring note about FAT32.
6432 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
6433 but warn against using them.
6435 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
6437 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
6438 older GDB where there is no has_more field.
6440 2009-09-19 Glenn Morris <rgm@gnu.org>
6442 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
6444 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
6446 * files.el (auto-mode-alist): Change default for XML files to nXML
6449 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
6451 * server.el (server-ensure-safe-dir): Pass 'integer
6452 to `file-attributes', as suggested.
6454 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6456 * dired-aux.el (dired-query-alist): Remove spurious backslash.
6457 (dired-query): Use read-key.
6459 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
6461 * cus-start.el (ns-use-qd-smoothing): Remove.
6463 2009-09-18 Glenn Morris <rgm@gnu.org>
6465 * allout.el (top-level): Remove unnecessary progn.
6467 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
6469 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
6470 definition of abbrev table.
6472 * speedbar.el (speedbar-track-mouse):
6473 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
6474 * net/eudc.el (eudc-expand-inline):
6475 * net/newst-backend.el (newsticker--cache-read-feed):
6476 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
6477 condition-case handlers.
6479 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
6481 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
6482 (gdb-var-list): Add an element for has_more field.
6483 (gdb-non-stop-handler): Enable pretty printing for STL containers.
6484 (gdb-var-create-handler, gdb-var-list-children-handler-1)
6485 (gdb-var-update-handler-1): Parse output of dynamic variable
6486 objects (STL containers).
6487 (gdb-var-delete-1): Pass var1 as an explicit second argument.
6488 (gdb-get-field): Delete alias. Use bindat-get-field directly.
6490 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
6492 (gud-speedbar-buttons): Make node expandable if expression "has more"
6495 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
6497 * startup.el (emacs-quick-startup): Remove variable and all uses.
6498 (command-line): Set `inhibit-x-resources' instead.
6499 (command-line-1): Use `inhibit-x-resources' instead.
6501 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
6503 * subr.el: Fix last change to avoid using the `unless' macro,
6504 which breaks bootstrapping.
6506 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6508 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
6509 extended definitions, in case we reload subr.el after having
6511 (eval-next-after-load): Mark as obsolete.
6513 2009-09-17 Juri Linkov <juri@jurta.org>
6515 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
6516 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
6517 (menu-bar-showhide-menu, menu-bar-tools-menu)
6518 (menu-bar-describe-menu, menu-bar-help-menu)
6519 (minibuffer-local-completion-map, minibuffer-local-map):
6522 2009-09-17 Glenn Morris <rgm@gnu.org>
6524 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
6525 arguments, whether or not it has a handler.
6527 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
6529 * simple.el (hard-newline): Give it a doc-string.
6531 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
6532 (lisp-mode-syntax-table): Give them doc-strings.
6534 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
6536 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
6537 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
6538 (menu-bar-options-menu, menu-bar-showhide-menu)
6539 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
6540 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
6541 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
6542 (menu-bar-options-menu, menu-bar-tools-menu)
6543 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
6544 (menu-bar-help-menu):
6545 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
6548 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
6549 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
6550 calls for the menu names and :help.
6552 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6554 * mouse.el (minor-mode-menu-from-indicator): Pay attention
6555 to :minor-mode-function (bug#4455).
6557 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6559 * startup.el (command-line): Initialize the window-system after
6560 processing the command-line.
6562 * textmodes/page.el (what-page): Make sure we don't inf-loop if
6563 page-delimiter matches the empty string.
6565 2009-09-16 Glenn Morris <rgm@gnu.org>
6567 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
6568 byte-compile-not-obsolete-var. It's a list now.
6569 (byte-compile-not-obsolete-funcs): New variable.
6570 (byte-compile-warn-obsolete): Don't warn about functions if they are in
6571 byte-compile-not-obsolete-funcs.
6572 (byte-compile-variable-ref, byte-compile-defvar): Update for
6573 byte-compile-not-obsolete-vars name-change and list nature.
6574 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
6575 and variables behind (f)boundp tests.
6576 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
6578 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
6580 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
6582 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
6584 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
6585 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
6588 2009-09-15 Stephen Eglen <stephen@gnu.org>
6590 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
6591 the virtual-buffers, use the name of the buffer specified by
6592 find-file-noselect, as the match may be a symlink. (This was a
6593 problem if the target and the symlink had different names.)
6595 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
6597 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
6599 * desktop.el (desktop-path): Check user-emacs-directory.
6601 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
6603 * loadup.el: Use after-load-functions to GC after loading each file.
6604 Remove the explicit GC calls that used to be sprinkled around.
6606 * subr.el (after-load-functions): New hook.
6607 (do-after-load-evaluation): Run it. Use string-match-p to detect
6608 `obsolete' packages, rather than painfully extracting the relevant
6611 2009-09-15 Glenn Morris <rgm@gnu.org>
6613 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
6614 free variable `doc'.
6616 * dired.el (dired-mode-map): Add menu entry for async shell command.
6618 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
6619 variables, also consider the .elc files, since the .el files are
6620 normally gzipped (subsequent code locates the .el.gz from the .elc).
6622 * calc/calc-prog.el (arglist): Define for compiler.
6624 * calendar/diary-lib.el (diary-display-function): Change the default to
6626 (body): Define for compiler.
6628 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
6629 (byte-compile-file-form, byte-compile-lambda)
6630 (byte-compile-top-level-body, byte-compile-form)
6631 (byte-compile-variable-ref, byte-compile-setq)
6632 (byte-compile-setq-default, byte-compile-body)
6633 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
6634 (batch-byte-compile): Give some more local variables with common names
6635 a "bytecomp-" prefix to avoid masking warnings about free variables.
6637 * startup.el (command-line-1): Give local variables with common names a
6638 distinguishing prefix, so as not to hide free variable warnings during
6641 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
6642 clever and add a suffix to make a unique name, just let the user decide
6643 whether or not to overwrite it. If the input is a directory, write the
6644 default filename to that directory. (Bug#4388)
6645 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
6646 is a filename-as-a-directory.
6648 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
6650 * textmodes/page.el (what-page): Don't move to beginning of line.
6651 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
6653 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
6655 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
6657 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
6659 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
6660 * help.el (help-for-help-internal): Add purecopy calls for text.
6662 * vc.el (top): print-log method now takes an optional SHORTLOG
6663 argument. Add a new method: root.
6664 (vc-root-diff, vc-print-root-log): New functions.
6665 (vc-log-short-style): New variable.
6666 (vc-print-log-internal): Add support for showing short logs.
6668 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
6669 vc-print-root-log and vc-print-root-diff.
6671 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
6672 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
6673 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
6676 * vc-cvs.el (vc-cvs-print-log):
6677 * vc-mtn.el (vc-mtn-print-log):
6678 * vc-rcs.el (vc-rcs-print-log):
6679 * vc-sccs.el (vc-sccs-print-log):
6680 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
6681 that is ignored for now.
6683 * vc-mtn.el (vc-mtn-annotate-command):
6684 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
6686 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6688 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
6689 to function-key-map, and give them ascii-character property.
6690 * term/x-win.el (x-alternatives-map):
6691 * term/ns-win.el (ns-alternatives-map):
6692 * term/internal.el (msdos-key-remapping-map):
6693 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
6695 2009-09-14 Glenn Morris <rgm@gnu.org>
6697 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
6698 temp-buffers (2009-09-12).
6700 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6702 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
6703 the new read-key function.
6705 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
6707 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
6708 is defined (Bug#4405).
6710 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
6712 * recentf.el (recentf-cleanup): Use a hash table to find
6713 duplicates (Bug#4407).
6715 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
6717 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
6718 kp-0 to ascii equivalents (Bug#4325).
6720 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
6722 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
6724 * eshell/em-hist.el:
6725 * eshell/em-dirs.el (eshell-complete-user-reference):
6726 Declare pcomplete functions and variables to avoid compiler warnings.
6728 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
6730 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
6731 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
6732 * eshell/em-alias.el (eshell-aliases-file):
6733 * eshell/em-hist.el (eshell-history-file-name):
6734 Use expand-file-name instead of concat to make file names (Bug#4308).
6736 2009-09-13 Glenn Morris <rgm@gnu.org>
6738 * ediff-merg.el (ediff-do-merge):
6739 * filesets.el (filesets-run-cmd):
6740 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
6741 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
6742 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
6743 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
6744 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
6745 Replace empty `let's with `progn'.
6747 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6749 * mail/sendmail.el (send-mail-function):
6750 * tooltip.el (tooltip-mode):
6751 * simple.el (transient-mark-mode):
6752 * rfn-eshadow.el (file-name-shadow-mode):
6753 * frame.el (blink-cursor-mode):
6754 * font-core.el (global-font-lock-mode):
6755 * files.el (temporary-file-directory)
6756 (small-temporary-file-directory, auto-save-file-name-transforms):
6757 * epa-hook.el (auto-encryption-mode):
6758 * composite.el (global-auto-composition-mode):
6759 Use custom-initialize-delay.
6760 * startup.el (command-line): Don't explicitly call
6761 custom-reevaluate-setting for all the above vars.
6762 * custom.el (custom-initialize-safe-set)
6763 (custom-initialize-safe-default): Delete.
6765 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6767 * term/x-win.el (x-initialize-window-system):
6768 * term/w32-win.el (w32-initialize-window-system):
6769 * term/ns-win.el (ns-initialize-window-system): Don't call
6770 mouse-wheel-mode since it's enabled globally by default already.
6772 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
6773 actually define the variable, but only silences the byte-compiler.
6774 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
6775 before looking it up.
6776 (mouse-wheel-scroll-amount): Also reset the bindings if this value
6779 2009-09-12 Glenn Morris <rgm@gnu.org>
6781 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
6783 (elint-add-required-env): Don't beep on error.
6784 (elint-forms): In case of error, return ENV unchanged.
6785 (elint-init-env): Skip non-list forms.
6786 (elint-log): Handle unknown file positions.
6788 2009-09-12 Daiki Ueno <ueno@unixuser.org>
6790 * epg.el (epg-make-context): Add autoload cookie.
6791 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
6792 (epg-decrypt-string, epg-start-verify, epg-verify-file)
6793 (epg-verify-string, epg-start-sign, epg-sign-file)
6794 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
6795 (epg-encrypt-string, epg-start-export-keys)
6796 (epg-export-keys-to-file, epg-export-keys-to-string)
6797 (epg-start-import-keys, epg-import-keys-from-file)
6798 (epg-import-keys-from-string, epg-start-receive-keys)
6799 (epg-receive-keys, epg-import-keys-from-server)
6800 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
6801 (epg-sign-keys, epg-start-generate-key)
6802 (epg-generate-key-from-file, epg-generate-key-from-string):
6803 Remove autoload cookie.
6805 2009-09-12 Eli Zaretskii <eliz@gnu.org>
6807 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
6808 reevaluation of trash-directory.
6810 * mwheel.el: Fix last change.
6811 (mouse-wheel-mode): New defvar.
6812 (mouse-wheel-mode): Remove autoload cookie.
6814 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6816 * mwheel.el (mwheel-installed-bindings): New var.
6817 (mouse-wheel-mode): Use it, so as to make sure we really remove all
6818 the bindings we set last time. Use custom-initialize-delay.
6819 * loadup.el: Load mwheel after term/*-win.el.
6820 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
6821 and mouse-wheel-up-event now that their first evaluation is done
6822 sufficiently late to be correct.
6824 * startup.el (tutorial-directory): Make it a defcustom.
6825 Use custom-initialize-delay rather than eval-at-startup to set it.
6826 * image.el (image-load-path): Make it a defcustom.
6827 Use custom-initialize-delay rather than eval-at-startup to set it.
6828 * subr.el (eval-at-startup): Remove.
6829 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
6831 * subr.el (do-after-load-evaluation): Warn the user after loading an
6834 2009-09-12 Glenn Morris <rgm@gnu.org>
6836 * proced.el (proced-mark-alt): Remove alias.
6837 (proced-mode-map): Remove proced-mark-alt.
6839 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
6840 Elint file and directory. Remove initialization entry.
6842 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
6844 (elint-current-buffer): Set mode-line-process.
6845 (elint-init-env): Handle define-derived-mode.
6846 Fix declare-function with unspecified arglist. Guard against odd
6847 defalias statements (eg iso-insert's 8859-1-map).
6848 (elint-add-required-env): Use a temp buffer.
6849 (elint-form): Just print the function/macro name, not the whole form.
6850 Return env unchanged if we fail to parse a macro.
6851 (elint-forms): Guard against parse errors.
6852 (elint-output): New function, to handle batch mode.
6853 (elint-log-message): Add optional argument. Use elint-output.
6854 (elint-set-mode-line): New function.
6856 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
6858 * emacs-lisp/elp.el (elp-not-profilable): Add more
6859 functions (Bug#4233).
6861 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
6863 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
6864 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
6866 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
6868 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
6869 (gdb-var-list-children): Use json parsing.
6871 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
6873 * progmodes/js.el (js--proper-indentation): Handle the case where
6874 char-before is null. Reported by Deniz Dogan.
6876 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
6878 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
6880 2009-09-11 Daiki Ueno <ueno@unixuser.org>
6882 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
6883 (epg-digest-algorithm-alist): Add SHA224.
6884 (epg-context-set-passphrase-callback)
6885 (epg-context-set-progress-callback): Add description about
6888 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6890 * custom.el (custom-delayed-init-variables): New var.
6891 (custom-initialize-delay): New function.
6892 * startup.el (command-line): "Re"evaluate all vars in
6893 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
6894 explicitly any more.
6895 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
6896 to avoid creating a ~/.emacs.d at build-time (bug#4347).
6898 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
6900 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
6902 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
6903 (gdb-var-update-handler): Use json parsing.
6905 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
6907 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
6908 decode annotated text, regardless of language environment. (Bug#2741)
6910 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6912 * Makefile.in (autoloads): Make rmail.el writable as well.
6914 2009-09-11 Glenn Morris <rgm@gnu.org>
6916 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
6918 * dired.el: Regenerate with extracted autoloads.
6919 * Makefile.in (autoloads): Make dired.el writable.
6921 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
6922 * ibuffer.el: Regenerate with extracted autoloads.
6923 * Makefile.in (autoloads): Make ibuffer.el writable.
6925 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
6926 * version.el (emacs-copyright, emacs-major-version)
6927 (emacs-minor-version): Reformat doc-strings for make-docfile.
6929 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
6930 functions and variables, since they must be stuff specific to some other
6932 (apropos-print): Make mouse-click message less specific about button.
6934 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
6935 that records where a macro was defined.
6936 * help-fns.el (describe-function-1): Mention if a function has a
6938 * help-mode.el (help-function-cmacro): New button.
6940 * locate.el (top-level): Always require dired.
6941 (locate-mode-map): Initialize inside the defvar.
6943 * net/ange-ftp.el (dired-compress-file): Declare.
6944 (ange-ftp-dired-compress-file): Add doc string.
6946 * term/ns-win.el (x-display-name, x-setup-function-keys):
6947 Unify doc-strings with X versions.
6949 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6951 * emulation/crisp.el (crisp-mode-map): Move initialization
6953 (crisp-mode): Use define-minor-mode.
6955 * progmodes/xscheme.el (xscheme-evaluation-commands):
6956 Put a :advertised-binding property rather than using
6957 advertised-xscheme-send-previous-expression.
6958 (advertised-xscheme-send-previous-expression): Declare obsolete.
6959 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
6961 (crisp-mode): Add corresponding bindings to
6962 undo's :advertised-binding instead.
6963 * dired.el (dired-mode-map): Put a :advertised-binding property rather
6964 than using dired-advertised-find-file.
6965 (dired-advertised-find-file):
6966 * simple.el (advertised-undo):
6967 * wid-edit.el (advertised-widget-backward): Declare obsolete.
6968 (widget-keymap): Put a :advertised-binding property rather
6969 than using advertised-widget-backward.
6970 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
6971 than using advertised-undo.
6972 * tutorial.el (tutorial--default-keys): Adjust accordingly.
6974 2009-09-10 Simon South <ssouth@slowcomputing.org>
6976 * progmodes/delphi.el (delphi-tab): Indent region when Transient
6977 Mark mode is enabled and region is active; otherwise indent or
6978 insert TAB as usual.
6979 (delphi-mode): Update description of TAB-key binding.
6981 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6983 * subr.el (define-key-rebound-commands): Mark obsolete.
6984 * startup.el (precompute-menubar-bindings): Remove.
6985 (normal-top-level): Remove obsolete code that tried to precompute
6987 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
6988 define-key-rebound-commands and precompute-menubar-bindings.
6990 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
6992 * net/imap.el (imap-interactive-login): Better messages.
6993 (imap-open): Fix bug with renamed buffer on reconnect.
6994 (imap-authenticate): Add buffer-local imap-last-authenticator variable
6995 for easier debugging and cleaner code. On successful (guessed based on
6996 server capabilities) secondary authentication, set imap-state
6998 (imap-last-authenticator): Define imap-last-authenticator as a variable
7001 2009-09-10 Glenn Morris <rgm@gnu.org>
7003 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
7005 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
7006 (byte-compile-file-form-autoload): Don't warn about unknown functions
7007 where the autoload statement comes after the use.
7008 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
7009 that any handlers inside the body (eg require) are in turn respected.
7011 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
7014 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
7015 and syntax and abbrev tables basic docs, if they don't have any.
7017 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
7019 * international/mule-cmds.el (top-level): Require cl when compiling.
7020 (view-hello-file): Use default-value rather than
7021 default-enable-multibyte-characters.
7023 * progmodes/fortran.el: Move all safe and risky properties into the
7026 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
7027 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
7029 Put autoloads in rmail.el rather than loaddefs.el.
7030 * mail/rmail.el: Regenerate with extracted autoloads.
7032 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
7033 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
7035 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
7037 Reported in thread for Bug#4375.
7038 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
7039 "-data-evaluate-expression" instead of print.
7040 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
7041 (gdb-tooltip-print): Parse output from above MI command.
7042 (gdb): Revert 2009-08-11 change. User should detach inferior
7045 Remove the word "separate" from IO functions as inferior
7046 output is now never displayed in the GUD buffer.
7048 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
7050 * startup.el (command-line-normalize-file-name): On Windows and
7051 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
7053 2009-09-10 Juri Linkov <juri@jurta.org>
7055 * isearch.el (isearch-text-char-description): Propertize escape
7056 character sequences with the `escape-glyph' face. (Bug#4344)
7058 * simple.el (shell-command): Set asynchronous process filter to
7059 `comint-output-filter'. (Bug#4343)
7061 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
7062 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
7063 the list. Move "asm" to the bottom.
7064 (grep-find-ignored-directories): Add `choice' with nil value
7065 to empty the list easily.
7066 (grep-find-ignored-files): New option.
7067 (grep-files-history): Set to nil by default instead of '("ch" "el").
7068 (grep-compute-defaults): Add "<X>" to `grep-template'.
7069 (grep-read-files): Bind new local variables `default-alias' and
7070 `default-extension'. Use a list of default values for the file prompt.
7071 (lgrep): Add `--exclude=' command line options composed from
7072 `grep-find-ignored-files'.
7073 (rgrep): Add `-name' command line options composed from
7074 `grep-find-ignored-files'. (Bug#4301)
7076 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7078 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
7081 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
7083 * calendar/time-date.el (autoload):
7084 Expand define-obsolete-function-alias into defalias and make-obsolete
7085 for old Emacsen that Gnus supports.
7086 (with-no-warnings): Define it for old Emacsen.
7087 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
7089 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
7090 float-time is available; suppress compile warning for time-to-seconds.
7092 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
7094 * net/imap.el (imap-message-map): Docstring fix.
7096 2009-09-09 Glenn Morris <rgm@gnu.org>
7098 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
7099 line numbers too. (Bug#4374)
7101 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
7103 * smerge-mode.el (smerge-remove-props, smerge-refine):
7104 Use with-silent-modifications (bug#4342).
7106 * subr.el (with-silent-modifications): New macro.
7108 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
7110 * files.el (top-level): Require `cl' when compiling.
7112 2009-09-07 Glenn Morris <rgm@gnu.org>
7114 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
7116 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
7117 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
7119 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
7121 * vc-git.el (vc-git-annotate-command): Use separator to parse
7122 arguments correctly.
7124 2009-09-06 Eli Zaretskii <eliz@gnu.org>
7126 * proced.el (proced-mode): Doc fix.
7128 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
7130 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
7132 (tramp-do-file-attributes-with-ls): Check for file existence at
7134 (tramp-do-file-attributes-with-stat): Likewise.
7135 (tramp-convert-file-attributes): Return nil when attr is nil.
7137 2009-09-05 Glenn Morris <rgm@gnu.org>
7139 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
7140 properties to this button.
7141 (diary-fancy-display): Don't extend the button to the final newline.
7142 (diary-fancy-display-mode): Continue to define "q" as a local key.
7144 * calendar/cal-china.el (holiday-chinese): Make it slightly more
7147 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
7149 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
7150 (byte-compile-dest-file-function): New option.
7151 (byte-compile-dest-file): Doc fix.
7152 Obey byte-compile-dest-file-function.
7153 (byte-compile-cl-file-p): New function.
7154 (byte-compile-eval): Only suppress noruntime warnings about cl functions
7155 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
7156 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
7157 than for file being previously loaded.
7158 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
7159 (byte-compile-file-form-require): Handle the case where requiring a file
7160 indirectly causes CL to be loaded.
7162 2009-09-05 Karl Fogel <kfogel@red-bean.com>
7164 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
7165 before killing the old buffer, since by the time `kill-buffer' is
7166 run so many buffer variables have been set to nil that it may not
7167 behave as expected. (Bug#4061)
7169 2009-09-05 Karl Fogel <kfogel@red-bean.com>
7171 * files.el (find-alternate-file): If the old buffer is modified
7172 and visiting a file, behave similarly to `kill-buffer' when
7173 killing it, thus reverting to the pre-1.878 behavior; see
7174 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
7175 for discussion. Also, consult `buffer-file-name' as a variable
7176 not as a function, for consistency with the rest of the code.
7178 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
7180 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
7181 also when adding a new directory.
7183 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
7186 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7188 * files.el (locate-file-completion-table): Make it provide boundary
7189 information, so partial-completion works better.
7191 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
7193 * mail/footnote.el (Footnote-text-under-cursor):
7194 Check footnote-text-marker-alist before using it (bug#4324).
7196 2009-09-04 Glenn Morris <rgm@gnu.org>
7198 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
7199 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
7200 * play/solitaire.el, play/tetris.el:
7201 Remove leading * from defcustom and defface docs.
7203 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
7205 (diary-fancy-overriding-map): New variable.
7206 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
7209 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
7212 2009-09-03 Glenn Morris <rgm@gnu.org>
7214 * arc-mode.el (archive-mode):
7215 * dos-fns.el (set-default-process-coding-system):
7216 * man.el (Man-getpage-in-background):
7217 * menu-bar.el (menu-bar-describe-menu):
7218 * server.el (server-process-filter):
7219 * startup.el (command-line):
7220 * tar-mode.el (tar-header-block-tokenize, tar-extract):
7221 * w32-fns.el (set-default-process-coding-system):
7222 * x-dnd.el (x-dnd-handle-file-name):
7223 * international/mule-cmds.el (mule-menu-keymap)
7224 (set-default-coding-systems, language-info-alist, set-language-info)
7225 (set-language-environment, standard-display-european-internal)
7226 (set-locale-environment):
7227 * international/mule-diag.el (mule-diag):
7228 * mail/emacsbug.el (report-emacs-bug):
7229 * mail/rmail.el (rmail-mode):
7230 * mail/sendmail.el (mail-setup):
7231 Use default-value rather than default-enable-multibyte-characters.
7233 * progmodes/f90.el: Move all safe properties into the defcustoms.
7234 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
7236 * calendar/appt.el (appt-check):
7237 * calendar/diary-lib.el (diary-set-header, diary-live-p)
7238 (diary-check-diary-file, diary-list-entries)
7239 (diary-include-other-diary-files, diary-simple-display)
7240 (diary-fancy-display, diary-print-entries)
7241 (diary-mark-included-diary-files, diary-make-entry):
7242 Don't call substitute-in-file-name on diary-file.
7244 2009-09-03 Eduard Wiebe <usenet@pusto.de>
7245 Stefan Monnier <monnier@iro.umontreal.ca>
7247 * mail/footnote.el (footnote-prefix): Make it a defcustom.
7248 (footnote-mode-map): Move initialization into the declaration.
7249 (footnote-minor-mode-map): Define it rather than changing global-map.
7250 (footnote-mode): Use define-minor-mode.
7252 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
7254 * net/tramp.el (tramp-handle-file-attributes-with-ls)
7255 (tramp-do-file-attributes-with-perl)
7256 (tramp-do-file-attributes-with-stat): Rename from
7257 `tramp-handle-file-attributes-with-*'.
7258 (tramp-handle-file-attributes): Use them.
7259 (tramp-do-directory-files-and-attributes-with-perl)
7260 (tramp-do-directory-files-and-attributes-with-stat): Rename from
7261 `tramp-handle-directory-files-and-attributes-with-*'.
7262 (tramp-handle-directory-files-and-attributes): Use them.
7263 (tramp-method-out-of-band-p): Additional parameter SIZE.
7264 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
7265 (tramp-handle-write-region): Use it.
7266 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
7267 (tramp-handle-vc-registered): Check, whether the first run did
7268 return files to be tested.
7269 (tramp-advice-make-auto-save-file-name): Do not call directly
7270 `tramp-handle-make-auto-save-file-name', because this would bypass
7271 the locking mechanism.
7273 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
7274 (file-remote-p, process-file, start-file-process, set-file-times)
7275 (tramp-compat-file-attributes): Compatibility functions shall not
7276 call directly `tramp-handle-*', because this would bypass the
7278 (tramp-compat-number-sequence): New defun.
7280 2009-09-02 Glenn Morris <rgm@gnu.org>
7282 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
7283 alias for float-time.
7284 (time-to-number-of-days): In Emacs, use float-time.
7285 * net/newst-backend.el (time-add): Suppress warnings from compat
7287 * time.el (emacs-uptime, emacs-init-time):
7288 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
7289 Use float-time rather than time-to-seconds.
7291 * minibuffer.el (completion-initials-expand): Fix typo.
7293 * faces.el (modeline, modeline-inactive, modeline-highlight)
7294 (modeline-buffer-id):
7295 * info.el (info-menu-5): Mark these face aliases as obsolete.
7297 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
7299 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
7301 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
7302 no "--thread" option.
7303 (gdb-stopped): Don't print "Switched to thread" message when it is
7306 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7308 * minibuffer.el (completion-try-completion)
7309 (completion-all-completions): Remove ill-defined (and
7310 mistakenly installed and luckily never used nor documented)
7311 `completion-styles' property.
7312 (completion-initials-expand, completion-initials-all-completions)
7313 (completion-initials-try-completion): New functions.
7314 (completion-styles-alist): Add doc to each entry.
7315 Add new `initials' entry.
7317 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
7319 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
7320 MI command -var-evaluate-expression.
7321 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
7322 and tweak for case of string child.
7323 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
7325 2009-09-01 Glenn Morris <rgm@gnu.org>
7327 * add-log.el (change-log-date-face, change-log-name-face)
7328 (change-log-email-face, change-log-file-face, change-log-list-face)
7329 (change-log-conditionals-face, change-log-function-face)
7330 (change-log-acknowledgement-face):
7331 * cus-edit.el (custom-invalid-face, custom-rogue-face)
7332 (custom-modified-face, custom-set-face, custom-changed-face)
7333 (custom-saved-face, custom-button-face, custom-button-pressed-face)
7334 (custom-documentation-face, custom-state-face, custom-comment-face)
7335 (custom-comment-tag-face, custom-variable-tag-face)
7336 (custom-variable-button-face, custom-face-tag-face)
7337 (custom-group-tag-face-1, custom-group-tag-face):
7338 * diff-mode.el (diff-header-face, diff-file-header-face)
7339 (diff-index-face, diff-hunk-header-face, diff-removed-face)
7340 (diff-added-face, diff-changed-face, diff-function-face)
7341 (diff-context-face, diff-nonexistent-face):
7342 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
7343 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
7344 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
7345 (Info-title-4-face):
7346 * isearch.el (isearch-lazy-highlight-face):
7347 * log-view.el (log-view-file-face, log-view-message-face):
7348 * paren.el (show-paren-match-face, show-paren-mismatch-face):
7349 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
7350 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
7352 * smerge-mode.el (smerge-mine-face, smerge-other-face)
7353 (smerge-base-face, smerge-markers-face):
7354 * wid-edit.el (widget-documentation-face, widget-button-face)
7355 (widget-field-face, widget-single-line-field-face)
7356 (widget-inactive-face, widget-button-pressed-face):
7357 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
7358 (woman-addition-face):
7359 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
7360 (eshell-ls-executable-face, eshell-ls-readonly-face)
7361 (eshell-ls-unreadable-face, eshell-ls-special-face)
7362 (eshell-ls-missing-face, eshell-ls-archive-face)
7363 (eshell-ls-backup-face, eshell-ls-product-face)
7364 (eshell-ls-clutter-face):
7365 * eshell/em-prompt.el (eshell-prompt-face):
7366 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
7367 * obsolete/old-whitespace.el (whitespace-highlight-face):
7368 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
7369 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
7370 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
7371 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
7372 (antlr-font-lock-literal-face):
7373 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
7374 (ebrowse-root-class-face, ebrowse-file-name-face)
7375 (ebrowse-default-face, ebrowse-member-attribute-face)
7376 (ebrowse-member-class-face, ebrowse-progress-face):
7377 * progmodes/make-mode.el (makefile-space-face):
7378 * progmodes/sh-script.el (sh-heredoc-face):
7379 * textmodes/flyspell.el (flyspell-incorrect-face)
7380 (flyspell-duplicate-face):
7381 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
7382 * textmodes/texinfo.el (texinfo-heading-face):
7383 Mark face aliases with "-face" suffix as obsolete.
7385 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
7388 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
7389 (eudc-bob-sound-menu): Use defvar rather than defconst, since
7390 easy-menu-define wants to modify these.
7392 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
7394 * net/browse-url.el (browse-url-file-url):
7395 * term/internal.el (dos-codepage-setup):
7396 Use default-value rather than default-enable-multibyte-characters.
7398 * progmodes/etags.el (etags-goto-tag-location):
7399 * progmodes/flymake.el (flymake-highlight-line)
7400 (flymake-goto-file-and-line, flymake-goto-line):
7401 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
7402 (gdb-goto-breakpoint):
7403 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
7404 * progmodes/python.el (python-find-function)
7405 (python-pdbtrack-track-stack-file):
7406 * progmodes/verilog-mode.el (verilog-surelint-off):
7407 * term/ns-win.el (ns-open-file-select-line):
7408 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
7409 Use forward-line rather than goto-line.
7411 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
7412 * textmodes/reftex-index.el (reftex-display-index):
7413 * textmodes/reftex-ref.el (reftex-offer-label-menu):
7414 * textmodes/reftex-toc.el (reftex-toc):
7415 Remove unnecessary bindings of default-major-mode (all are followed by
7416 major-mode check and possible mode switch).
7418 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
7420 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
7421 Handle watchpoints (bug#4282).
7422 (def-gdb-thread-buffer-command): Enable thread to be selected by
7423 clicking without selecting threads buffer first.
7424 (gdb-current-context-command): Use selected frame so that "up",
7425 "down" etc work in the GUD buffer.
7426 (gdb-update): Find selected frame before rendering stack buffer.
7427 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
7429 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
7431 * progmodes/sym-comp.el (displayed-completions): Remove.
7432 (symbol-complete): Use minibuffer-complete.
7434 2009-08-31 Glenn Morris <rgm@gnu.org>
7436 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
7438 * apropos.el (apropos-symbols-internal):
7439 Handle (obsolete) face aliases.
7441 * faces.el (describe-face): Adjust the output format to be more like
7442 describe-variable, and to mention (obsolete) face aliases.
7443 Adjust the whitespace so that help-setup-xref works.
7445 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
7446 * calendar/diary-lib.el (diary-button-face):
7447 Mark these face aliases as obsolete.
7449 * calendar/calendar.el (calendar-today): Doc fix.
7451 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
7453 * progmodes/gdb-mi.el (gdb-control-all-threads)
7454 (gdb-control-current-thread): Force tool bar update.
7455 (gdb-non-stop-handler): New function.
7456 (gdb-init-1): Use it to test if non-stop mode is supported.
7457 Remove unused gdbmi buffer type.
7459 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
7461 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
7462 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
7464 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
7466 * comint.el (comint-exec-1): Check command is non-null first.
7467 Part of gdb-mi.el change (2009-08-28).
7469 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7471 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
7473 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
7475 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
7476 instead of `dolist' to avoid a recursive require when bootstrapping.
7478 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7480 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
7482 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
7484 * net/imap.el (imap-send-command): Simplify.
7485 (imap-wait-for-tag): point-max -> buffer-size.
7487 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
7489 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
7490 with constant argument.
7492 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
7494 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
7496 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
7497 Change default, since most of our files don't have a history.
7498 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
7501 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7504 * calc/calc.el: Improve commenting convention.
7505 (calc-digit-map, toplevel): Simplify.
7507 * comint.el (comint-insert-input): Be careful to only set point if we
7508 don't delegate to some other command.
7510 * proced.el (proced-signal-list): Make it an alist.
7511 (proced-grammar-alist): Capitalize names.
7512 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
7513 Disable undo manually and make it read-only.
7514 Use completion-annotate-function.
7516 * minibuffer.el (minibuffer-message): If the current buffer is not
7517 a minibuffer, insert the message in the echo area rather than at the
7519 (completion-annotate-function): New variable.
7520 (minibuffer-completion-help): Use it.
7521 (completion--embedded-envvar-table): Environment vars are
7522 always case-sensitive.
7524 2009-08-30 Glenn Morris <rgm@gnu.org>
7526 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
7527 from fortran-current-defun.
7528 (fortran-beginning-of-subprogram): Be more precise about finding the
7529 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
7530 (fortran-end-of-subprogram): Simplify.
7531 (fortran-current-defun): Use fortran-start-prog-re.
7533 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
7535 * subr.el (do-after-load-evaluation): Simplify.
7537 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
7539 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
7541 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
7542 (vc-rcs-print-log): Use it.
7544 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
7546 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7548 * paths.el (abbrev-file-name): Move to abbrev.el.
7549 * abbrev.el (abbrev-file-name): Move from paths.el.
7550 Obey user-emacs-directory.
7551 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
7552 user-emacs-directory.
7553 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
7554 abbrev-file-name and calc-settings-file any more.
7555 * startup.el (command-line): Recompute abbrev-file-name and
7556 abbreviated-home-dir.
7557 (normal-no-mouse-startup-screen): Improve the generic code and get rid
7558 of the special code for when C-h bindings haven't been changed.
7559 (display-startup-echo-area-message): Use with-current-buffer.
7560 (command-line-1): Use a list of strings, rather than a list of lists
7561 of strings for longopts.
7563 * files.el (get-free-disk-space): Use / for default-directory.
7565 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
7566 Use with-current-buffer.
7568 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
7569 Recognize immutable variables like most-positive-fixnum.
7570 (byte-compile-setq-default): Check and warn if trying to assign
7571 to an immutable variable, or a non-variable.
7573 * progmodes/cc-vars.el (c-comment-continuation-stars):
7574 * progmodes/cc-engine.el (c-looking-at-bos):
7575 * progmodes/cc-cmds.el (c-toggle-auto-state)
7576 (c-forward-into-nomenclature, c-backward-into-nomenclature)
7577 (c-comment-line-break-function): Add version of obsolescence.
7579 2009-08-28 Juri Linkov <juri@jurta.org>
7581 * files.el (magic-fallback-mode-alist): Add ZIP magic number
7582 associated with `archive-mode'.
7584 * image.el (image-type-header-regexps): Use only JPEG magic number
7585 to determine JPEG images, and don't use `image-jpeg-p' because
7586 Emacs can display non-JFIF non-Exif JPEG images.
7588 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
7590 * arc-mode.el (archive-mode):
7591 * emacs-lisp/re-builder.el (re-builder-unload-function):
7592 Protect against the default value of `major-mode' being nil.
7594 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
7596 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
7597 Fix typos in docstrings.
7599 * progmodes/js.el (js--macro-decl-re): Doc fix.
7600 (js--plain-method-re, js--split-name): Refloc docstring.
7601 (js--class-styles, js--make-merged-item, js--splice-into-items):
7602 Fix typos in docstrings; reflow docstrings.
7603 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
7604 (js--variable-decl-matcher, js--inside-pitem-p)
7605 (js--parse-state-at-point, js--get-all-known-symbols)
7606 (js--symbol-history, js-find-symbol, js--js-references)
7607 (js--moz-interactor, js--js-encode-value, js--read-tab):
7608 Fix typos in docstrings.
7610 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7612 * textmodes/reftex.el (reftex-get-file-buffer-force):
7613 * progmodes/verilog-mode.el (verilog-batch-execute-func):
7614 * emulation/viper.el (viper-go-away, viper-set-hooks):
7615 * emacs-lisp/re-builder.el (re-builder-unload-function):
7616 * emacs-lisp/bytecomp.el (byte-compile-file):
7617 * ses.el (ses-unload-function):
7618 * hexl.el (hexl-find-file):
7619 * files.el (normal-mode):
7620 * ehelp.el (with-electric-help):
7621 * autoinsert.el (auto-insert-alist):
7622 * arc-mode.el (archive-mode):
7623 Use (default-value 'major-mode) instead of default-major-mode.
7625 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
7626 * international/mule.el (load-with-code-conversion):
7627 * emacs-lisp/debug.el (debug):
7628 * ediff-vers.el (ediff-rcs-get-output-buffer):
7629 * dired.el (dired-internal-noselect): Don't let-bind
7630 default-major-mode around code that doesn't use it.
7631 E.g. buffer creation via get-buffer-create doesn't use it.
7633 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
7635 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
7636 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
7637 when writing the temp file. Otherwise, epa-file gets confused.
7638 (tramp-register-file-name-handlers): Make it a defun. Move also
7639 `epa-file-handler' to the front of `file-name-handler-alist'.
7641 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7643 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
7644 start right after a ^M.
7645 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
7646 (tramp-completion-file-name-regexp-separate)
7647 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
7648 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
7649 Don't modify last-coding-system-used by accident.
7650 (tramp-completion-file-name-handler): Apply the checks here,
7651 instead during registration.
7652 (tramp-register-file-name-handlers) Renamed from
7653 `tramp-register-file-name-handler'. Register both
7654 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
7655 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
7657 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
7659 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
7661 (gdb-init-1, gdb-display-separate-io-buffer)
7662 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
7664 (gdb-inferior-io-mode): Use make-comint-in-buffer.
7665 (gdb-inferior-filter): Use comint-output-filter to stop
7666 echoing and remove ^M characters.
7668 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7670 * emulation/viper-init.el (viper-restore-cursor-type):
7671 * emulation/cua-base.el (cua--update-indications):
7672 Replace default-cursor-type with (default-value 'cursor-type).
7674 * mail/sendmail.el (mail-recover-1):
7675 * international/mule-diag.el (describe-current-coding-system-briefly)
7676 (describe-current-coding-system):
7677 * international/mule-cmds.el (select-safe-coding-system)
7678 (select-message-coding-system)
7679 (set-language-environment-coding-systems, set-locale-environment):
7680 * hexl.el (hexl-insert-multibyte-char):
7681 * dos-w32.el (find-buffer-file-type-coding-system):
7682 * simple.el (what-cursor-position):
7683 Replace uses of default-buffer-file-coding-system
7684 with (default-value 'buffer-file-coding-system).
7686 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
7687 Replace uses of default-cursor-in-non-selected-windows
7688 with (default-value 'cursor-in-non-selected-windows).
7689 Use with-current-buffer.
7691 * mail/feedmail.el: Use CL macros.
7692 (feedmail-run-the-queue, feedmail-send-it-immediately):
7693 * dos-w32.el (find-buffer-file-type): Replace uses of
7694 default-buffer-file-type with (default-value 'buffer-file-type).
7696 2009-08-28 Glenn Morris <rgm@gnu.org>
7698 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
7699 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
7700 Use default-value of major-mode rather than default-major-mode.
7702 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7704 * Makefile.in (update-elcfiles): Report left over elc files.
7706 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
7707 expand-file-name and with-current-buffer.
7708 (mail-get-names, mail-directory): Use with-current-buffer.
7710 * vc.el (vc-read-revision): New function.
7711 (vc-version-diff, vc-merge): Use it.
7713 2009-08-27 Sam Steingold <sds@gnu.org>
7715 * simple.el (kill-do-not-save-duplicates): New user option.
7716 (kill-new): When it is non-nil, and the new string is the same as
7717 the latest kill, set replace to t to avoid duplicates in kill-ring.
7719 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
7721 * net/tramp.el (tramp-handle-process-file): Do not flush all
7722 caches when `process-file-side-effects' is set.
7723 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
7724 instead of `tramp-find-file-exists-command'.
7725 Unset `process-file-side-effects'.
7727 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
7729 * net/tramp.el (tramp-methods): New method "rsyncc".
7730 (top): Add completion function for "rsyncc".
7731 (tramp-message-show-message): New defvar.
7732 (tramp-message, tramp-error): Use it.
7733 (tramp-do-copy-or-rename-file-directly): Extend check for direct
7735 (tramp-do-copy-or-rename-file-out-of-band): Handle new
7736 `tramp-methods' entry `copy-env' of "rsyncc".
7737 (tramp-vc-registered-read-file-names): New defconst.
7738 (tramp-vc-registered-file-names): New defvar.
7739 (tramp-handle-vc-registered): Implement optimization strategy.
7740 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
7741 (tramp-vc-file-name-handler): New defun.
7742 (tramp-get-ls-command, tramp-get-test-command)
7743 (tramp-get-file-exists-command, tramp-get-remote-ln)
7744 (tramp-get-remote-perl, tramp-get-remote-stat)
7745 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
7747 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
7748 (tramp-cache-inhibit-cache): Extend doc string. It allows also
7750 (tramp-get-file-property): Check for timestamps in
7751 `tramp-cache-inhibit-cache'.
7752 (tramp-set-file-property): Write timestamp.
7754 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
7756 * language/japan-util.el (japanese-symbol-table): Add entries for
7759 * international/characters.el: Add category `j' to cp932-2-byte.
7761 2009-08-27 Kenichi Handa <handa@m17n.org>
7763 * international/fontset.el (build-default-fontset-data): New macro.
7764 (setup-default-fontset): Use build-default-fontset-data for CJK,
7765 tibetan, ethiopic, and ipa.
7767 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7769 * cus-start.el (default-major-mode): Customize `major-mode' instead.
7770 (enable-multibyte-characters): Not customizable any more.
7772 * subr.el (default-mode-line-format, default-header-line-format)
7773 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
7774 (default-direction-reversed, default-truncate-lines)
7775 (default-left-margin, default-tab-width, default-case-fold-search)
7776 (default-left-margin-width, default-right-margin-width)
7777 (default-left-fringe-width, default-right-fringe-width)
7778 (default-fringes-outside-margins, default-scroll-bar-width)
7779 (default-vertical-scroll-bar, default-indicate-empty-lines)
7780 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
7781 (default-fringe-cursor-alist, default-scroll-up-aggressively)
7782 (default-scroll-down-aggressively, default-fill-column)
7783 (default-cursor-type, default-buffer-file-type)
7784 (default-cursor-in-non-selected-windows)
7785 (default-buffer-file-coding-system, default-major-mode)
7786 (default-enable-multibyte-characters): Mark as obsolete.
7788 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
7790 * vc-dir.el (vc-dir-update): Remove debug helper.
7792 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
7794 2009-08-26 Sam Steingold <sds@gnu.org>
7796 * simple.el (save-interprogram-paste-before-kill): New user option.
7797 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
7798 save the interprogram-paste into kill-ring before overriding it
7799 with the Emacs kill.
7801 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
7803 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
7804 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
7805 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
7806 and move to vc-rcs.el.
7807 (vc-default-next-revision): Rename to vc-rcs-next-revision and
7809 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
7810 (vc-rcs-update-changelog): Remove.
7811 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
7812 and move to vc-rcs.el.
7814 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
7815 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
7817 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
7818 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
7819 vc.el, renamed to be RCS specific.
7821 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
7823 (vc-cvs-update-changelog): Move here from vc.el.
7825 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
7828 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
7830 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
7832 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
7834 * vc-git.el (vc-git-register): Use "git add" for directories.
7835 (vc-git-stash, vc-git-stash-show): New functions.
7836 (vc-git-extra-menu-map): Bind them.
7838 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
7839 directory correctly in case the item is a directory itself.
7841 * vc.el: Document the desired behavior for reverted files in the
7843 (vc-default-prettify-state-info): Remove function, unused.
7845 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
7847 2009-08-26 Glenn Morris <rgm@gnu.org>
7849 * bindings.el (standard-mode-line-format): Reposition dashes in
7850 which-func entry. (Bug#4217)
7852 * files.el (enable-local-variables, enable-local-eval)
7853 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
7855 (auto-mode-alist, ignored-local-variables)
7856 (save-some-buffers-action-alist): Move risky declarations to the
7858 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
7859 (font-lock-defaults, format-alist, imenu--index-alist)
7860 (imenu-generic-expression, input-method-alist, minor-mode-alist)
7861 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
7862 (mode-line-modified, mode-line-mule-info, mode-line-position)
7863 (mode-line-process, mode-line-remote, outline-level)
7864 (parse-time-rules, rmail-output-file-alist)
7865 (special-display-buffer-names, vc-mode):
7866 Move risky declarations to the relevant files.
7867 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
7868 (mode-line-modified, mode-line-process, mode-line-position)
7869 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
7870 * font-core.el (font-lock-defaults):
7871 * format.el (format-alist):
7872 * vc-hooks.el (vc-mode):
7873 * window.el (special-display-buffer-names):
7874 * international/mule-cmds.el (input-method-alist):
7875 Define riskiness here (dumped file) rather than in files.el.
7876 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
7877 * imenu.el (imenu-generic-expression, imenu--index-alist):
7878 * outline.el (outline-level):
7879 * time.el (display-time-string):
7880 * calendar/parse-time.el (parse-time-rules):
7881 * mail/rmailout.el (rmail-output-file-alist):
7882 Autoload riskiness here, rather than placing in files.el.
7884 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
7886 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
7888 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
7890 * simple.el (process-file-side-effects): New defvar.
7892 * dired-aux.el (dired-show-file-type):
7893 * vc.el (vc-diff-internal):
7894 * vc-arch.el (vc-arch-diff):
7895 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
7896 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
7897 * vc-git.el (vc-git-registered, vc-git-working-revision)
7898 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
7899 (vc-git--empty-db-p):
7900 * vc-hooks.el (vc-user-login-name):
7901 * vc-svn.el (vc-svn-registered, vc-svn-state)
7902 (vc-svn-dir-extra-headers, vc-svn-find-revision):
7903 * progmodes/grep.el (grep-probe): Let-bind
7904 `process-file-side-effects' with nil.
7906 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
7908 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
7909 daemon. Replace ping by checking for running service for bluez
7910 and zeroconf. (Bug#4239)
7912 2009-08-25 Kevin Ryde <user42@zip.com.au>
7914 * net/dig.el (dig): Add autoload cookie.
7916 2009-08-25 Glenn Morris <rgm@gnu.org>
7918 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
7919 load-history for absolute file-names.
7920 (byte-compile-file-form-require): Warn about use of the cl package.
7922 * format.el (format-alist): Doc fix.
7924 * play/bubbles.el (top-level): Don't require cl at run-time.
7926 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
7929 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
7931 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
7933 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
7935 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
7937 * calc/calc-alg.el (math-trig-rewrite)
7938 (math-hyperbolic-trig-rewrite): New functions.
7939 (calc-simplify): Simplify trig functions when asked.
7941 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7943 * diff-mode.el (diff-find-source-location): Avoid goto-line.
7945 2009-08-24 Kenichi Handa <handa@m17n.org>
7947 * language/ind-util.el (mapthread): Delete it.
7948 (combinatorial): New function.
7949 (indian--puthash-cv): Use combinatorial instead of mapthread.
7951 2009-08-22 Kevin Ryde <user42@zip.com.au>
7953 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
7954 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
7955 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
7956 Clarify docstring that the value is strings not symbols.
7957 (checkdoc-list-of-strings-p): New function.
7959 2009-08-22 Glenn Morris <rgm@gnu.org>
7961 * files.el (auto-mode-alist):
7962 * hippie-exp.el (he-concat-directory-file-name):
7963 * lpr.el (lpr-windows-system, printer-name):
7964 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
7965 * ps-print.el (ps-windows-system):
7966 * startup.el (command-line):
7967 * emulation/viper-ex.el (viper-glob-function):
7968 * international/mule-cmds.el (set-language-environment-coding-systems):
7969 * net/ange-ftp.el (ange-ftp-write-region):
7970 * obsolete/fast-lock.el (fast-lock-cache-name):
7971 Remove code for defunct system-types emx, macos, mswindows, next-mach,
7972 unisoft-unix, vax-vms, win32, w32.
7974 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
7975 given name if the pattern is not more specific.
7977 * calendar/lunar.el (lunar-phase-names): New option.
7978 (lunar-phase): Doc fix.
7979 (lunar-cycles-per-year): New constant.
7980 (lunar-index): New function.
7981 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
7982 (lunar-phase-name): Use lunar-phase-names.
7983 (calendar-lunar-phases): Use format.
7984 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
7986 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
7987 Copy imenu-example--name-and-position function here for own use.
7988 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
7990 * bs.el (bs--redisplay):
7991 * cus-edit.el (custom-redraw):
7992 * ibuffer.el (ibuffer-bury-buffer):
7993 * server.el (server-goto-line-column):
7994 * startup.el (command-line-1):
7995 * strokes.el (strokes-xpm-for-stroke):
7996 * term.el (term-display-buffer-line):
7997 * view.el (View-goto-line):
7998 * calc/calc.el (calc-do, calc-trail-buffer):
7999 * play/gamegrid.el (gamegrid-add-score-insecure):
8000 * progmodes/ada-mode.el (ada-compile-goto-error):
8001 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
8002 (ebrowse-select-1st-to-9nth):
8003 * progmodes/cperl-mode.el (cperl-time-fontification):
8004 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
8005 * progmodes/gud.el (gud-display-line):
8006 (idlwave-shell-display-line):
8007 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
8008 * progmodes/make-mode.el (makefile-browser-toggle):
8009 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
8010 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
8011 * textmodes/picture.el (picture-draw-rectangle):
8012 * textmodes/reftex-index.el (reftex-index-goto-letter):
8013 (reftex-select-jump-to-previous):
8014 * textmodes/reftex-sel.el (reftex-find-start-point)
8015 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
8016 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
8017 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
8018 * textmodes/tex-mode.el (tex-compilation-parse-errors):
8019 * textmodes/two-column.el (2C-associated-buffer):
8020 Use forward-line rather than goto-line.
8022 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
8025 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
8026 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
8027 (quick-check-list-to-regexp): Declare.
8029 * progmodes/make-mode.el (makefile-browser-insert-selection):
8030 Use goto-char rather than goto-line.
8032 * progmodes/prolog.el (compilation-error-regexp-alist)
8033 (compilation-forget-errors): Declare.
8035 2009-08-22 Juri Linkov <juri@jurta.org>
8037 * progmodes/grep.el (lgrep, rgrep): At the beginning
8038 set `dir' to `default-directory' unless `dir' is a non-nil
8039 readable directory. (Bug#4052)
8040 (lgrep, rgrep): Change a weird way to report an error
8041 from using `read-string' to using `error'.
8042 Instead of using interactive arguments in the function body,
8043 add new argument `confirm'.
8045 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
8047 * textmodes/remember.el (remember-buffer):
8048 * progmodes/cperl-mode.el (cperl-vc-header-alist):
8049 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
8050 (icalendar-extract-ical-from-buffer):
8051 * net/newst-treeview.el (newsticker-groups-filename):
8052 * net/newst-backend.el (newsticker-cache-filename):
8053 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
8054 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
8055 (speedbar-add-ignored-path-regexp, speedbar-line-path)
8056 (speedbar-buffers-line-path, speedbar-path-line)
8057 (speedbar-buffers-line-path):
8058 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
8060 * epa.el (epa-display-verify-result):
8061 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
8063 2009-08-21 Glenn Morris <rgm@gnu.org>
8065 * progmodes/js.el (inferior-moz-process): Fix declaration.
8067 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
8069 * obsolete/rnewspost.el (news-mail-reply):
8070 Use goto-char rather than goto-line.
8072 * term/ns-win.el (ns-open-file-select-line):
8073 Use line-beginning-position rather than goto-line.
8075 * apropos.el (apropos-command):
8076 * ehelp.el (electric-helpify):
8077 * printing.el (pr-show-setup):
8078 * strokes.el (strokes-help):
8079 * tutorial.el (tutorial--describe-nonstandard-key)
8080 (tutorial--detailed-help):
8081 * woman.el (woman-mini-help, woman-display-extended-fonts):
8082 * calc/calc-help.el (calc-describe-key):
8083 * emulation/edt.el (edt-electric-helpify):
8084 * international/mule-diag.el (mule-diag):
8085 * play/yow.el (apropos-zippy):
8086 * progmodes/python.el (python-describe-symbol):
8087 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
8088 * textmodes/table.el (*table--cell-describe-mode)
8089 (*table--cell-describe-bindings):
8090 Use help-print-return-message rather than the now obsolete alias.
8092 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
8093 (calendar-cursor-to-visible-date):
8094 * play/5x5.el (5x5-position-cursor):
8095 * play/decipher.el (decipher):
8096 * play/gomoku.el (gomoku-goto-xy):
8097 * play/landmark.el (lm-goto-xy):
8098 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
8100 Use forward-line, not goto-line.
8102 * mail/rmail.el (rmail-obsolete): Delete custom group.
8103 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
8104 (rmail-remote-password, rmail-remote-password-required):
8105 Remove unneeded :set-after and :set properties.
8107 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
8109 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
8111 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
8113 * loadup.el: Remove leftover macos code.
8115 * vc-git.el (vc-git-annotate-command): Run asynchronously.
8116 Explicitly pass the date format to git blame so that user local
8117 so that the output format can be parsed.
8119 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
8121 * net/dbus.el (top): Don't check for (getenv
8122 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
8124 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
8126 * log-edit.el (log-edit-strip-single-file-name): New var.
8127 (log-edit-insert-changelog): Use it. Bug#3571
8129 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8131 * subr.el (read-passwd): Use read-key so keypad keys work as well.
8134 * help.el (help-print-return-message): Rename from
8135 print-help-return-message.
8137 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
8138 cvs-mode-map parent hack.
8139 (log-view-mode): Derive from special-mode.
8141 * linum.el (linum-mode): window-size-change-functions is redundant.
8142 Adapt to new window-configuration-change-hook behavior.
8143 (linum-after-size, linum-after-config): Remove.
8145 * imenu.el (imenu-example--name-and-position)
8146 (imenu-example--lisp-extract-index-name)
8147 (imenu-example--create-lisp-index, imenu-example--create-c-index):
8150 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
8151 (inferior-prolog-mode): Use it.
8152 (inferior-prolog-load-file): Reset list of errors.
8154 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
8156 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
8158 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
8160 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
8162 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
8165 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8167 * subr.el (listify-key-sequence-1): Use normal syntax since those
8168 integers are nowadays always represented by the same (positive) number
8170 (read-key-empty-map): New const.
8171 (read-key-delay): New var.
8172 (read-key): New function.
8173 (force-mode-line-update): Use with-current-buffer.
8174 (locate-user-emacs-file): Don't forget to abbreviate the file name.
8175 (start-process-shell-command, start-file-process-shell-command):
8176 Discourage the use of command-args.
8178 2009-08-19 Glenn Morris <rgm@gnu.org>
8180 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
8182 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
8184 * simple.el (choose-completion-string): Don't rely on
8185 minibuffer-completing-file-name and ad-hoc checks to decide whether
8186 to continue completion or not.
8188 * minibuffer.el (minibuffer-hide-completions): New function.
8189 (completion--do-completion): Use it.
8190 (completions-annotations): New face.
8191 (completion--insert-strings): Use it.
8192 (completion-pcm--delim-wild-regex): Add docstring.
8193 (completion-pcm--string->pattern): Add support for 0-width delimiters
8194 in completion-pcm--delim-wild-regex.
8196 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
8198 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
8199 Remove unused var `buffer-modified-p'.
8201 * minibuffer.el (completion--do-completion): Move point for the #b001
8202 case as well (bug#4176).
8203 (minibuffer-complete, minibuffer-complete-word): Don't move point.
8205 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
8207 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
8210 2009-08-18 Kenichi Handa <handa@m17n.org>
8212 * international/ucs-normalize.el (ucs-normalize-version):
8214 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
8215 (utf-8-hfs): Make it perform normalization on encoding too.
8217 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
8218 (sentence-end-without-space): Delete duplicated chars.
8219 (sentence-end-base): Likewise.
8221 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
8222 (html-mode): Delete duplicated chars from sentence-end-base.
8224 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
8225 (texinfo-mode): Delete duplicated chars from sentence-end-base.
8227 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
8229 * files.el (hack-one-local-variable): If the mode function is for
8230 a minor mode, pass it an argument (Bug#4148).
8232 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
8234 * net/tramp.el (tramp-register-completion-file-name-handler):
8235 Check also for (member 'partial-completion completion-styles).
8237 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
8239 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
8242 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
8244 * progmodes/cperl-mode.el: Merge upstream 6.2.
8245 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
8246 (cperl-forward-re): Check cperl-brace-recursing.
8247 (cperl-highlight-charclass): New function.
8248 (cperl-find-pods-heres): Use it.
8249 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
8250 (cperl-beautify-regexp-piece): Fix column calculation.
8251 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
8252 (cperl-beautify-level): Don't process entire regexp.
8253 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
8255 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
8256 (cperl-init-faces): Build a list in the normal way.
8258 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
8260 * calendar/parse-time.el (parse-time-string-chars): Save match
8263 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
8265 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
8266 (sql-product): Use it.
8267 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
8268 (sql-set-product): Add completion.
8269 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
8270 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
8271 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
8272 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
8273 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
8274 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
8275 (sql-highlight-db2-keywords): Remove.
8276 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
8277 (sql-highlight-product): Use derived-mode-p.
8278 (sql-set-sqli-buffer): Use with-current-buffer.
8279 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
8282 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
8284 * term.el: Fix commenting convention, turn comments into docstrings.
8286 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
8288 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
8290 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
8292 * calendar/parse-time.el (parse-time-string-chars): Compute using
8293 character classes, to handle non-ascii characters (Bug#3190).
8295 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
8297 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
8298 another heredoc if the user adds another < (Bug#3226).
8300 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
8301 Don't initialize based on window-system (Bug#4124).
8303 * facemenu.el (facemenu-read-color): Use a completion function
8304 that accepts any defined color, such as RGB triplets (Bug#3677).
8306 * files.el (get-free-disk-space): Change fallback default
8307 directory to /. Expand DIR argument before switching to fallback.
8308 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
8310 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
8312 * files.el (load-library): Doc fix.
8314 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
8316 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
8317 (viper-if-string): Redefine C-s in the minibuffer to insert the last
8318 incremental search string.
8320 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
8323 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
8324 (ediff-merge-region-is-non-clash)
8325 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
8326 Also check if the job is really a merge job.
8328 * ediff.el (ediff-current-file): New function.
8330 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
8332 * progmodes/js.el: Edit docstrings throughout to follow Emacs
8334 (js-insert-and-indent): Delete function.
8335 (js-mode-map): Don't bind keys to js-insert-and-indent.
8336 (js-beginning-of-defun): Rename from js--beginning-of-defun.
8337 (js-end-of-defun): Rename from js--end-of-defun.
8338 (js-auto-indent-flag): Delete variable.
8340 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
8342 * progmodes/js.el: Remove proclaim statement.
8343 Defvar which-func-imenu-joiner-function to silence compiler.
8345 * files.el (auto-mode-alist): Use js-mode for .js files.
8347 * progmodes/js2-mode.el: Remove file.
8349 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
8351 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
8353 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
8355 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
8356 Karl Landstrom <karl.landstrom@brgeight.se>
8358 * progmodes/js.el: New file.
8360 2009-08-14 Mark A. Hershberger <mah@everybody.org>
8362 * timezone.el (timezone-parse-date): Add ability to understand ISO
8363 basic format (minimal separators) dates in addition to the
8364 already-supported extended format dates.
8366 2009-08-14 Eli Zaretskii <eliz@gnu.org>
8368 * international/ucs-normalize.el: Add a `coding' file variable.
8370 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
8372 2009-08-14 Sam Steingold <sds@gnu.org>
8374 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
8376 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
8378 * faces.el (help-argument-name): Define it here instead of
8379 help-fns.el, because in daemon mode help-fns.el may be loaded when
8380 faces are still uninitialized (Bug#1078).
8382 * help-fns.el (help-argument-name): Move defface to faces.el.
8384 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
8386 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
8387 create buffer with a pty but no process so that GDB can make the
8388 inferior the controlling process.
8390 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
8392 * international/ucs-normalize.el: New file.
8394 2009-08-13 Richard Stallman <rms@gnu.org>
8396 * mail/rmail.el (rmail-get-attr-names):
8397 Accept an attribute header that is too short.
8399 * mail/rmail.el (rmail-forget-messages):
8400 Ignore nil elt in rmail-message-vector. Use dotimes.
8402 * progmodes/compile.el (compilation-goto-locus):
8403 Use next-error-move-function.
8405 * simple.el (next-error-move-function): New variable.
8407 2009-08-12 Juri Linkov <juri@jurta.org>
8409 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
8410 always non-nil. (Bug#4052)
8412 * replace.el (read-regexp): Return empty string when
8413 `default-value' is nil.
8414 (keep-lines-read-args): Don't use empty string as the
8415 default value for `read-regexp'. (Bug#2495)
8417 2009-08-12 Juri Linkov <juri@jurta.org>
8419 * international/mule-cmds.el (ucs-insert): Change arguments
8420 from `arg' to `character', `count', `inherit' to be the same
8421 as in `insert-char'. Doc fix. (Bug#4039)
8423 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
8425 2009-08-12 Juri Linkov <juri@jurta.org>
8427 * files-x.el: New file.
8429 * files.el: Move code that deals with adding/deleting
8430 file/directory-local variables to files-x.el.
8432 * Makefile.in (ELCFILES): Add files-x.elc.
8434 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
8436 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
8438 (gdb-place-breakpoints, gdb-get-location): Rewritten without
8440 (gdb-invalidate-disassembly): Do not refresh upon receiving
8441 'update signal. Instead, update all disassembly buffers only after
8443 (gdb): Send -target-detach when buffer is killed (Bug#3794).
8444 (gdb-starting): Moved -data-list-register-names...
8445 (gdb-stopped): ...here so it's sent when first thread stops.
8446 (gdb-registers-handler-custom): Do nothing if register names are
8449 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
8450 from `gdb-mi.el' to avoid extra tangling.
8452 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
8453 change which breaks `gud-def' definitions used in `gdb'.
8454 (gdb-update-gud-running): No extra fuss for updating frame number.
8456 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8458 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
8459 (describe-language-environment-map, setup-language-environment-map)
8460 (set-coding-system-map): Move initialization into declaration.
8461 (set-language-info-alist): Last arg to define-key-after can be skipped.
8463 * international/quail.el (quail-completion-1): Simplify.
8464 (quail-define-rules): Use slightly more compact code.
8465 (quail-insert-decode-map): Propertize keys, compact columns.
8467 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8470 2009-08-10 Miles Bader <miles@gnu.org>
8472 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
8473 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
8474 (js2-instance-member, js2-private-member, js2-private-function-call)
8475 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
8476 (js2-magic-paren, js2-external-variable):
8477 Remove "-face" suffix from face names.
8478 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
8479 (js2-highlight-undeclared-vars, js2-peek-token)
8480 (js2-parse-function-params, js2-mode-show-errors)
8481 (js2-mode-show-warnings, js2-make-magic-delimiter)
8482 (js2-mode-highlight-magic-parens): Update to use new face names.
8484 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
8486 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
8487 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
8489 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
8491 * subr.el: Provide hashtable-print-readable.
8493 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
8494 hs-c-like-adjust-block-beginning.
8495 (hs-hide-block-at-point): Stop hiding at the beginning of
8496 hs-block-end-regexp (Bug#700).
8498 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
8500 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
8502 (gdb-registers-handler-custom): Do not fail when register names
8505 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
8507 * progmodes/gdb-mi.el (gdb-control-all-threads)
8508 (gdb-control-current-thread): Interactive setters for
8509 `gdb-gud-control-all-threads' to use in menu.
8510 (gdb-show-run-p): Show «Go» when process is not active.
8511 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
8512 gud/thread.xpm and gud/all.xpm.
8514 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
8516 * net/net-utils.el (net-utils-font-lock-keywords): New var.
8517 (nslookup-font-lock-keywords): Make it a variable.
8518 (net-utils-mode): New mode for viewing diagnostic network output.
8519 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
8520 (net-utils-run-simple): New function.
8521 (ifconfig, iwconfig, netstat, arp, route): Use it.
8523 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
8525 * progmodes/gdb-mi.el (gdb-read-memory-custom)
8526 (gdb-memory-set-address, def-gdb-set-positive-number)
8527 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
8528 after changing settings.
8529 (gdb-invalidate-disassembly): Update when first shown.
8530 (gdb-edit-locals-value): Fixed.
8531 (gdb-registers-handler-custom): Print registers in right order and
8532 allow changing register values (only for current thread yet).
8533 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
8534 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
8535 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
8536 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
8538 (gdb-registers-mode-map): TAB to switch to locals.
8540 2009-08-08 Eli Zaretskii <eliz@gnu.org>
8542 * mail/rmail.el (rmail-add-mbox-headers)
8543 (rmail-set-message-counters-counter): Search for
8544 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
8546 2009-08-08 Glenn Morris <rgm@gnu.org>
8548 * Makefile.in (ELCFILES): Update.
8550 2009-08-07 Eli Zaretskii <eliz@gnu.org>
8552 * mail/sendmail.el (mail-yank-original): Set
8553 buffer-file-coding-system from the one used by the message whose
8556 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
8557 to "windows" when "pgnuplot" is used.
8558 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
8559 call accept-process-output if "pgnuplot" is used.
8560 (calc-graph-init): Don't send -display and -geometry to
8561 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
8562 running "pgnuplot -V" with shell-command-to-string.
8564 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
8567 2009-08-07 Eli Zaretskii <eliz@gnu.org>
8569 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
8572 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
8574 * vc-dispatcher.el (vc-resynch-window): Update comment.
8576 * term.el (term-handle-ansi-escape): Add comments with the
8577 terminfo capabilities implemented.
8579 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
8581 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
8582 (gdb-var-create-handler): Rewritten using JSON parser.
8583 (gdb-propertize-header): Moved earlier.
8584 (gdb-set-header): Removed to avoid duplication.
8585 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
8586 Refresh disassembly buffers only after threads list have been
8588 (gdb-threads-header, gdb-registers-header): Per-buffer header line
8591 2009-08-04 Juri Linkov <juri@jurta.org>
8593 * files.el: Commands to add/delete file/directory-local variables.
8594 (read-file-local-variable, read-file-local-variable-value)
8595 (read-file-local-variable-mode, modify-file-local-variable)
8596 (modify-file-local-variable-prop-line)
8597 (modify-dir-local-variable): New functions.
8598 (add-file-local-variable, delete-file-local-variable)
8599 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
8600 (add-dir-local-variable, delete-dir-local-variable)
8601 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
8602 (copy-dir-locals-to-file-locals-prop-line): New commands.
8604 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
8606 * abbrev.el (insert-abbrev-table-description): Prettify output.
8607 Suggested by Karl Chen.
8609 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
8611 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
8612 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
8613 (gdb-overlay-arrow-position, gdb-thread-position)
8614 (gdb-disassembly-position): Declare variables.
8615 (gdb-wait-for-pending): Function now.
8616 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
8617 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
8618 compilation goes smoothly.
8619 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
8620 (gdb-non-stop-setting): New customization setting which replaces
8621 `gdb-non-stop' so changing it doesn't break active GDB session.
8622 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
8623 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
8624 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
8625 (gdb-show-threads-by-default): New customization options.
8626 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
8628 (gdb-get-buffer-create): Send buffers update signal when they are
8630 (gdb-invalidate-locals, gdb-invalidate-registers)
8631 (gdb-invalidate-breakpoints)
8632 (gdb-invalidate-threads, gdb-invalidate-disassembly)
8633 (gdb-invalidate-memory): Accept update signal.
8634 (gdb-current-context-command): Use --frame option.
8635 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
8636 Implement `gdb-frame-number' selection logic.
8637 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
8638 whether to show GUD toolbar buttons.
8639 (gdb-thread-exited): Unselect current thread when it exits.
8640 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
8641 (gdb-mark-line): Routine which sets overlay arrow or inverses
8642 video on fringeless displays.
8643 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
8644 to build aligned columns of data in GDB buffers and set text
8645 properties line-by-line.
8646 (gdb-invalidate-breakpoints)
8647 (gdb-breakpoints-list-handler-custom)
8648 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
8649 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
8650 (gdb-registers-handler-custom): Align data columns.
8651 (gdb-locals-handler-custom): Now prints data like in variable
8653 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
8654 Removed confusing buttons.
8655 (gdb-invalidate-threads): Append --frame.
8656 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
8657 between breakpoints/threads buffers.
8658 (gdb-set-window-buffer): Now can ignore dedicated windows.
8659 (gdb-propertize-header): Use `gdb-set-window-buffer'.
8660 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
8661 (def-gdb-thread-buffer-gud-command): Replaces
8662 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
8663 for fine thread control.
8664 (gdb-preempt-existing-or-display-buffer): New function used to
8665 display bound buffers without breaking window layout.
8666 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
8667 (gdb-select-frame): New version of `gdb-frames-select' which now
8668 sets `gdb-frame-number' so commands may use --frame option instead
8669 of inner debugger state.
8670 (gdb-frame-handler): Do not set `gdb-frame-number'.
8671 (gdb-threads-mode-map): Select threads with mouse.
8673 * progmodes/gud.el (gdb-gud-context-call): Declare function to
8674 avoid compilation warning.
8675 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
8678 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
8679 Argument `key' renamed to `buffer-type'.
8680 (gdb-current-context-buffer-name): Do not add thread info to
8681 buffer name when no thread is selected.
8682 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
8684 (gdb-thread-selected): Handle `=thread-selected' notification.
8685 (gdb-wait-for-pending): New macro to deal with congestion problems.
8686 (gdb-breakpoints-list-handler-custom): Don't fail on pending
8688 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
8689 This fixes problem similar to one described in bug 3947.
8690 (gud-menu-map): More menu items.
8691 (gdb-init-1): Reset `gdb-thread-number' to nil.
8693 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
8696 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
8697 (gdb-current-context-command): Do not append --thread if
8698 `gdb-thread-number' is nil.
8699 (gdb-running-threads-count, gdb-stopped-threads-count): New
8701 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
8702 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
8703 customization options.
8704 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
8706 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
8707 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
8708 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
8709 set `gdb-thread-number' and update `gud-running' properly.
8710 (gdb-running): Update threads list when new threads appear.
8711 (gdb-stopped): Support non-stop operation and new thread switching
8713 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
8714 (gdb-json-partial-output): New set of JSON routines.
8715 (def-gdb-auto-update-trigger): New `signal-list' optional
8717 (gdb-thread-list-handler-custom): Update `gud-running',
8718 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
8719 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
8720 (gdb-continue-thread, gdb-step-thread): New commands for fine
8721 thread execution control.
8722 (gud-menu-map): New menu items to switch non-stop options.
8723 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
8724 (gdb-send): Mimic RET properly (bug 3794).
8726 * progmodes/gdb-mi.el (gdb-rules-name-maker)
8727 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
8729 (def-gdb-auto-update-handler): New nopreserve optional argument.
8730 (gdb-stack-list-frames-custom): Print stack from top to bottom.
8732 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
8733 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
8734 (gdb-parent-mode): New mode to derive other GDB modes from.
8735 (gdb-display-disassembly-for-thread)
8736 (gdb-frame-disassembly-for-thread): New commands for threads
8739 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
8740 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
8741 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
8742 (gdb-update): We now store all GDB buffers in a list so that they
8743 can be updated by traversing a list instead of calling invalidate
8744 triggers explicitly.
8745 (def-gdb-trigger-and-handler): New macro to define trigger-handler
8746 pair for GDB buffer.
8747 (gdb-stack-buffer-name): Add thread information.
8748 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
8749 handle pending triggers.
8750 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
8751 (def-gdb-thread-buffer-simple-command)
8752 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
8753 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
8754 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
8755 New commands which show buffers bound to thread.
8756 (gdb-stack-list-locals-regexp): Removed unused regexp.
8758 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
8759 (gdb-locals-buffer-name, gdb-registers-buffer-name)
8760 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
8761 to (gud-comint-buffer) in *-buffer-name functions
8762 because (gdb-get-target-string) already does that.
8763 (gdb-locals-handler-custom, gdb-registers-handler-custom)
8764 (gdb-changed-registers-handler): Rewritten without regexps.
8766 * progmodes/gdb-mi.el: Basic thread selection support.
8767 (gdb-thread-number): New variable.
8768 (gdb-current-context-command): New macro which adds --thread
8770 (gdb-threads-mode-map): Select thread with SPC.
8771 (gdb-thread-list-handler-custom): Mark current thread with overlay
8772 arrow. Synchronize GDB thread and Emacs thread.
8773 (gdb-select-thread): New command which selects current thread.
8774 (gdb-invalidate-frames, gdb-invalidate-locals)
8775 (gdb-invalidate-registers): Use --thread option.
8777 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
8779 * net/tramp.el (top): Make check for tramp-gvfs loading more
8781 (tramp-handle-insert-file-contents): `unwind-protect' must be
8782 inside `with-parsed-tramp-file-name'.
8784 * net/tramp-gvfs.el (top): Remove superfluous message when loading
8787 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
8789 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
8790 directory if CLASSPATH is not set.
8792 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
8794 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
8796 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
8798 2009-08-02 Kevin Ryde <user42@zip.com.au>
8800 * net/newst-backend.el (newsticker--raw-url-list-defaults):
8801 Update freshmeat link. Delete newsforge.com as it seems gone.
8803 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
8805 * select.el (x-set-selection): Doc fix (Bug#4021).
8807 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
8809 * help-fns.el (describe-variable): Treat list return values from
8810 dir-locals-find-file properly (Bug#4005).
8812 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
8814 * net/tramp.el (tramp-debug-message): Print also microseconds.
8816 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
8818 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
8820 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
8821 (tramp-get-debug-buffer): Change `outline-regexp' according to new
8824 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
8825 (tramp-get-file-property): Use it.
8827 * autorevert.el (auto-revert-handler): Allow
8828 `auto-revert-tail-mode' for remote files.
8830 2009-08-02 Jason Rumney <jasonr@gnu.org>
8832 * minibuffer.el (read-file-name): Treat confirm options to
8833 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
8835 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
8837 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
8838 (font-lock-variable-name-face, font-lock-constant-face): Darken
8839 the colors for light backgrounds.
8841 2009-08-01 Eli Zaretskii <eliz@gnu.org>
8843 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
8844 month names. (Bug#3987)
8846 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
8848 * simple.el (line-move-finish): Pass whole number to
8849 line-move-to-column.
8850 (line-move-visual): Perform hscroll to the recorded position.
8852 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
8854 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
8856 2009-07-29 Alan Mackenzie <acm@muc.de>
8858 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
8860 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
8862 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
8863 (gdb-place-breakpoints): Use full path when setting breakpoints.
8865 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
8867 * calc/calc.el (calc-mode-map): Add keybinding for
8868 `calc-transpose-lines'.
8870 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
8872 * calc/calc-misc.el (calc-transpose-lines): New function.
8874 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
8876 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
8877 Simplify check for out-of-band methods.
8878 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
8879 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
8881 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
8883 * vc-git.el (vc-git-checkin): Fix typo.
8885 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
8887 * progmodes/js2-mode.el: New file.
8889 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
8891 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
8892 (gud-menu-map): Adjust tooltip accordingly.
8894 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
8896 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
8897 (vc-bzr-log-view-mode): Adjust log-view-file-re.
8899 * add-log.el (change-log-mode-map): Add a menu.
8901 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
8903 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
8904 function returns nil.
8905 (dbus-handle-event): Handle special return value :ignore.
8906 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
8908 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
8910 * view.el (view-mode-enable): Don't define Helper-return-blurb if
8913 2009-07-25 Eli Zaretskii <eliz@gnu.org>
8917 * w32-vars.el (x-select-enable-clipboard): Doc fix.
8919 * term/pc-win.el (x-display-name, x-colors)
8920 (x-select-enable-clipboard, x-select-text): Doc fix.
8922 * term/common-win.el (x-display-name, x-colors): Doc fix.
8924 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
8925 (xw-defined-colors): Doc fix.
8927 * w32-fns.el (x-select-text, x-setup-function-keys)
8928 (x-get-selection, x-set-selection): Doc fix.
8930 * term/x-win.el (x-select-text, x-setup-function-keys)
8931 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
8933 * select.el (x-set-selection): Doc fix.
8935 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
8937 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
8938 instead of "IsNSSSupportAvailable". Avahi ought to work also when
8939 "IsNSSSupportAvailable" method is not available. Reported by
8940 Steve Youngs <steve@sxemacs.org>.
8942 2009-07-24 Kenichi Handa <handa@m17n.org>
8944 * international/characters.el: Fix setting of category ?C, ?|, ?K,
8945 and ?H. Fix setting of case for Latin Extended and Greek Extended.
8946 (build-unicode-category-table): Fix range checks.
8948 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
8950 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
8951 the buffer we try to sync is current when calling
8954 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
8955 not show up to date files.
8957 2009-07-24 Glenn Morris <rgm@gnu.org>
8959 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
8960 Add autoload cookies. If necessary, initialize.
8961 (elint-log): Handle non-file buffers.
8962 (elint-initialize): Add optional argument to reinitialize.
8963 (elint-find-builtin-variables): Save excursion.
8965 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
8967 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
8970 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
8972 * vc.el (vc-print-log-internal): New function, split out from ...
8973 (vc-print-log): ... here.
8974 (vc-dir-move-to-goal-column): Declare.
8976 * vc-git.el (vc-git-add-signoff): New variable.
8977 (vc-git-checkin): Use it.
8978 (vc-git-toggle-signoff): New function.
8979 (vc-git-extra-menu-map): Bind it to menu.
8980 (vc-git--run-command-string): Accept a nil FILE argument.
8981 (vc-git-stash-list): New function.
8982 (vc-git-dir-extra-headers): Use it.
8984 2009-07-23 Glenn Morris <rgm@gnu.org>
8986 * help-fns.el (describe-variable): Describe ignored and risky local
8987 variables in a similar way to that in which we describe safe ones.
8989 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
8990 (byte-compile-output-file-form, byte-compile-output-docform)
8991 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
8992 Give some more local variables with common names a "bytecomp-" prefix,
8993 so as not to shadow things during compilation.
8994 * emacs-lisp/cl-macs.el (load-time-value)
8995 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
8996 `outbuffer' to `bytecomp-outbuffer'.
8998 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
8999 since the next two variables cover them automatically now.
9000 (elint-builtin-variables, elint-autoloaded-variables): New.
9001 (elint-unknown-builtin-args): Remove all members, since they can be
9002 parsed automatically now.
9003 (elint-extra-errors): New.
9004 (elint-env-add-env, elint-env-add-macro): Use cadr.
9005 (elint-current-buffer): Use or. Change final message.
9006 (elint-get-top-forms): Use line-end-position.
9007 (elint-init-env): Use cadr. Handle autoload, declare-function,
9009 (elint-add-required-env): Doc fix. Use or. Standardize error.
9010 (regexp-assoc): Remove unused function.
9011 (elint-top-form): Set elint-current-pos, to record the start of the
9012 top-level form, for compilation-mode.
9013 (elint-form): Trap errors in macro expansion. Use dolist.
9014 (elint-unbound-variable): Use elint-builtin-variables and
9015 elint-autoloaded-variables.
9016 (elint-get-args): Use cadr, or.
9017 (elint-check-cond-form): Use dolist, cadr.
9018 (elint-check-condition-case-form): Doc fix. Use cadr.
9019 Use elint-extra-errors.
9020 (elint-log): New function.
9021 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
9022 Distinguish errors and warnings.
9023 (elint-log-message): Use with-current-buffer. Inhibit read-only.
9024 Use a bytecomp-style format.
9025 (elint-clear-log): Preserve default-directory. Inhibit read-only.
9026 (elint-get-log-buffer): Use compilation mode. Disable undo.
9027 Don't truncate lines.
9028 (elint-initialize): Set builtin and autoloaded variable lists.
9029 Only process elint-unknown-builtin-args if non-nil.
9030 (elint-find-builtin-variables, elint-find-autoloaded-variables):
9032 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
9034 2009-07-22 Kevin Ryde <user42@zip.com.au>
9036 * net/newst-backend.el (newsticker--parse-atom-1.0)
9037 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
9038 (newsticker--parse-rss-1.0):
9039 * progmodes/idlwave.el (idlwave-mode):
9040 * progmodes/idlw-shell.el (idlwave-shell-mode):
9041 * progmodes/vera-mode.el (vera-mode):
9042 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
9043 * progmodes/vhdl-mode.el (vhdl-mode):
9044 * textmodes/table.el (table-generate-source)
9045 (table--warn-incompatibility):
9046 Hyperlink urls in docstrings with URL `...'.
9048 2009-07-22 Glenn Morris <rgm@gnu.org>
9050 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
9051 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
9052 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
9053 Remove leading * from defcustom docs.
9055 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
9057 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
9059 (list-load-path-shadows): Optionally, just return shadows as a string.
9061 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
9063 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
9065 * mail/rmailedit.el (rmail-edit-mode): Use
9066 auto-save-include-big-deletions.
9068 * mail/rmail.el (rmail-variables): Use
9069 auto-save-include-big-deletions.
9071 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
9074 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
9076 * calc/calc.el (calc-undo-length): New variable.
9077 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
9079 2009-07-21 Richard Stallman <rms@gnu.org>
9081 * files.el (auto-save-mode): Handle buffer-save-size = -2
9084 2009-07-21 Glenn Morris <rgm@gnu.org>
9086 * textmodes/ispell.el (ispell-looking-back): Update declaration.
9088 * calendar/todo-mode.el (calendar-current-date): Update declaration.
9090 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
9091 silence compiler. Instead...
9092 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
9093 (ps-print-ensure-fontified): Update for above function name changes.
9095 * printing.el (pr-mh-get-msg-num, pr-mh-show)
9096 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
9097 silence compiler. Instead...
9098 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
9099 (mh-show-buffer): Only define for compiler.
9100 (pr-mh-current-message): Update for above function name changes.
9102 * files.el (abort-if-file-too-large): Explicitly pass `filename'
9104 (find-file-noselect, insert-file-1): Update for above change.
9106 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
9108 * mail/mailclient.el (mailclient-send-it): Fix message.
9110 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
9111 (edebug-eval): Check cl-debug-env is bound.
9112 (print-level, print-circle): Don't redefine built-in variables.
9114 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
9115 (custom-print-vectors): Remove old comments from doc.
9117 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
9118 (emerge-version): Make the variable an obsolete alias for the
9119 emacs-version variable. Make the function obsolete.
9120 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
9121 Emerge options, rather than merging in into the main Options menu.
9122 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
9123 and auto advance modes. Disable edit/fast items when not relevant.
9125 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
9127 * term/vt420.el (terminal-init-vt420): Fix typo.
9129 2009-07-20 Sam Steingold <sds@gnu.org>
9131 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
9132 variable (removed from compile.el on 2004-03-11).
9134 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
9136 * files.el (hack-local-variables-filter): Fix last change.
9138 2009-07-19 Juri Linkov <juri@jurta.org>
9140 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
9141 (dir-local-variables-alist): New buffer-local variable.
9142 (hack-local-variables-filter): If variable is not dir-local,
9143 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
9144 because file-local overrides dir-local.
9145 (c-postprocess-file-styles) <declare-function>:
9146 Remove obsolete declaration.
9147 (hack-dir-local-variables): Add dir-local variable/value pair to
9148 `dir-local-variables-alist' and remove duplicates. Doc fix.
9150 * help-fns.el (describe-variable): Add information about
9151 file-local and dir-local variables.
9153 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
9155 * files.el (hack-local-variables-filter): Rewrite.
9157 2009-07-19 Glenn Morris <rgm@gnu.org>
9159 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
9160 Silence compiler by only defining on XEmacs.
9162 * international/mule.el (auto-coding-regexp-alist): Only match
9163 BABYL... at the start of buffer, not of lines. (Bug#3790)
9165 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
9166 non-calendar buffers (Bug#3862). Restore "not on a date" message.
9167 (cal-menu-context-mouse-menu): Doc fix.
9169 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
9171 * simple.el (mail-user-agent): Doc fix. Set :version tag.
9173 2009-07-18 Juri Linkov <juri@jurta.org>
9175 * info.el: Virtual Info keyword finder.
9176 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
9177 (Info-finder-file): New variable.
9178 (Info-finder-find-file): New function.
9179 (finder-known-keywords, finder-package-info)
9180 (find-library-name, lm-commentary): Use defvar and
9181 declare-function to silence compiler warnings.
9182 (Info-finder-find-node): New function.
9183 (info-finder): New command.
9185 * subr.el (process-kill-buffer-query-function): New function.
9186 (add-hook)<kill-buffer-query-functions>: Add hook
9187 `process-kill-buffer-query-function'.
9189 2009-07-18 Alan Mackenzie <acm@muc.de>
9191 * progmodes/cc-mode.el (c-before-hack-hook)
9192 (c-postprocess-file-styles): Give invocation of `c-set-style'
9193 DONT-OVERRIDE parameter of t. Already set style variables will
9194 thus not be overridden by style settings given by `c-file-syle'.
9196 * files.el (hack-local-variables-filter): Remove entries with
9197 duplicate keys from `file-local-variables-alist'.
9199 2009-07-18 Eli Zaretskii <eliz@gnu.org>
9201 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
9202 x-set-selection if display-selections-p returns nil for the
9205 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
9207 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
9209 2009-07-18 Eli Zaretskii <eliz@gnu.org>
9211 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
9212 Accept nil in addition to a regexp.
9213 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
9214 Accept nil in addition to a regexp.
9215 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
9216 buffers that have an associated file. Handle nil values of
9217 desktop-buffers-not-to-save and desktop-files-not-to-save.
9220 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
9221 (x-disown-selection-internal): New functions.
9223 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
9225 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
9227 (gdb-breakpoints-header): Move forward to avoid compiler warning.
9228 (gdb-make-header-line-mouse-map): Remove duplicate definition.
9230 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
9232 * simple.el (set-mark): Revert last change.
9234 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
9236 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
9237 rendering of pngs is not possible instead of messaging a long
9240 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
9242 * w32-fns.el (x-selection-owner-p): New function.
9244 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
9245 (mouse-yank-at-click, mouse-yank-primary): If
9246 select-active-regions is non-nil, deactivate the mark before
9249 * simple.el (deactivate-mark, set-mark): Only save selection if we
9252 2009-07-17 Kenichi Handa <handa@m17n.org>
9254 * case-table.el (describe-buffer-case-table): Fix for the case
9257 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
9259 * vc-rcs.el (vc-rcs-find-file-hook):
9260 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
9262 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
9264 * net/tramp.el (tramp-wait-for-output): Handle the case when
9265 commands do not return a newline but a null byte before the shell
9268 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9270 * term/ns-win.el (ns-set-alpha): Don't declare.
9271 (ns-set-background-alpha): Remove function.
9273 2009-07-16 Kevin Ryde <user42@zip.com.au>
9275 * emacs-lisp/copyright.el (copyright-update): Save match-data across
9276 y-or-n-p, for safety.
9278 2009-07-16 Richard Stallman <rms@gnu.org>
9280 * files.el (auto-save-mode): If buffer-saved-size is -2,
9283 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
9284 (rmail-retry-ignored-headers): Add more uninteresting fields.
9286 2009-07-15 Jari Aalto <jari.aalto@cante.net>
9288 * net/rcirc.el (rcirc): Use history variables.
9289 (rcirc-server-name-history, rcirc-nick-name-history)
9290 (rcirc-server-port-history): New variables.
9292 2009-07-15 Kenichi Handa <handa@m17n.org>
9294 * international/mule-cmds.el (set-language-environment-charset):
9295 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
9298 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
9299 Delete unibyte-display.
9301 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
9303 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
9305 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
9307 * simple.el (deactivate-mark): Optional argument FORCE.
9308 (set-mark): Use deactivate-mark.
9310 * info.el (Info-search): No need to check transient-mark-mode
9311 before calling deactivate-mark.
9313 * select.el (x-set-selection): Doc fix.
9314 (x-valid-simple-selection-p): Allow buffer values.
9315 (xselect--selection-bounds): Handle buffer values. Suggested by
9316 David De La Harpe Golden.
9318 * mouse.el (mouse-set-region, mouse-drag-track): Call
9319 copy-region-as-kill before setting the mark, to let
9320 select-active-regions work.
9322 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
9324 * simple.el (deactivate-mark): If select-active-regions is
9325 non-nil, copy the selection data into a string.
9326 (activate-mark): If select-active-regions is non-nil, set the
9327 selection to the current buffer.
9328 (set-mark): Update selection if select-active-regions is non-nil.
9330 * select.el (x-valid-simple-selection-p): Allow buffer values.
9332 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
9334 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
9335 and more featureful message-mode.
9337 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
9339 * select.el (x-set-selection): Doc fix.
9340 (x-valid-simple-selection-p): Disallow selection data consisting
9341 of a list or cons of integers, since that is not used.
9342 (xselect--selection-bounds, xselect--int-to-cons): New functions.
9343 (xselect-convert-to-string, xselect-convert-to-length)
9344 (xselect-convert-to-filename, xselect-convert-to-charpos)
9345 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
9347 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
9349 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
9350 output in -break-info command (Emacs bug #3794).
9352 2009-07-14 Glenn Morris <rgm@gnu.org>
9354 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
9355 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
9356 (edebug-print-length, edebug-print-level, edebug-print-circle)
9357 (edebug-sit-for-seconds, edebug-view-outside)
9358 (edebug-bounce-point, edebug-set-global-break-condition)
9359 (edebug-Go-nonstop-mode, edebug-trace-mode)
9360 (edebug-Trace-fast-mode, edebug-continue-mode)
9361 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
9362 (edebug-visit-eval-list): Doc fixes.
9364 * subr.el (def-edebug-spec): Doc fix.
9366 2009-07-14 Kenichi Handa <handa@m17n.org>
9368 * international/characters.el: Fix setting of category ?C.
9370 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
9372 * term/ns-win.el (x-select-font): defalias x-select-font to
9373 ns-popup-font-panel instead of generate-fontset-menu.
9375 2009-07-12 Eli Zaretskii <eliz@gnu.org>
9377 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
9379 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
9381 * arc-mode.el (archive-find-type): Allow for a PK00 string before
9382 the PK\003\004 header (Bug#3770).
9384 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
9386 * pcomplete.el (pcomplete-comint-setup): Check for
9387 shell-dynamic-complete-filename too.
9389 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
9391 * simple.el (temporary-goal-column): Change the value for
9392 line-move-visual to a cons cell.
9393 (line-move-visual): Record or set the window hscroll, if
9394 necessary (Bug#3494).
9395 (line-move-1): Handle cons value of temporary-goal-column.
9397 2009-07-11 Kenichi Handa <handa@m17n.org>
9399 * international/mule-diag.el (describe-character-set): Don't show
9402 2009-07-10 Sam Steingold <sds@gnu.org>
9404 * progmodes/compile.el (compilation-mode-font-lock-keywords):
9405 Omake sometimes indents the errors it prints, so allow all
9406 regexps to start with spaces.
9408 2009-07-10 Eli Zaretskii <eliz@gnu.org>
9410 * cus-edit.el (customize-changed-options-previous-release):
9411 Bump value to 22.1. (Bug#3804)
9413 2009-07-08 Sam Steingold <sds@gnu.org>
9415 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
9416 to be a cons cell (test . ignored-directory) to selectively ignore
9417 some directories depending on the location of the search.
9419 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
9421 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
9422 remote user is root, on the local host.
9423 (tramp-local-host-p): Either the local user or the remote user
9424 must be root. (Bug#3771)
9426 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
9428 * progmodes/gdb-mi.el (gdb): Remove description of
9429 gdb-use-separate-io-buffer.
9430 (menu): Don't allow toggling of or enable
9431 gdb-use-separate-io-buffer from menubar.
9433 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
9435 * mail/unrmail.el (unrmail): Make sure the message ends with two
9436 newlines (Bug#3769).
9438 2009-07-08 Glenn Morris <rgm@gnu.org>
9440 * calendar/calendar.el (calendar-current-date): Rework previous change.
9442 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
9444 * calendar/calendar.el (calendar-current-date):
9445 Add an optional argument giving an offset from today.
9447 2009-07-08 Glenn Morris <rgm@gnu.org>
9449 * tutorial.el (tutorial--describe-nonstandard-key):
9450 Adjust the message for when a key has been unbound.
9451 (help-with-tutorial): Hide the arch-tag.
9453 2009-07-08 Kenichi Handa <handa@m17n.org>
9455 * international/fontset.el (setup-default-fontset): For each
9456 script, append (not set) font-specs.
9458 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
9461 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
9463 * progmodes/gdb-mi.el (gdb-init-1): Move sending
9464 -data-list-register-names to ...
9465 (gdb-starting): ... here because GDB 7.0 requires execution to
9466 have started when using this MI command.
9467 (gdb-set-header): New function to distinguish select and
9468 unselected tabs in gdb buffers.
9469 (gdb-propertize-header): New macro that uses gdb-set-header.
9470 (gdb-breakpoints-header, gdb-locals-header): Use it.
9471 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
9473 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
9475 * Makefile.in (ELCFILES): Remove fadr.elc.
9477 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
9479 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
9480 may contain frame information, so `string-match' should be used.
9481 (gdb-update): Disassembly is invalidated through
9482 `gdb-get-selected-frame'.
9483 (gdb-pad-string): New function to pad string with spaces.
9484 (gdb-invalidate-disassembly): Invalidate only if the buffer
9486 (gdb-disassembly-handler-custom): Column alignment.
9487 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
9489 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
9491 (gdb-frame-handler): Match convention to for disassembly buffer
9493 (gdb-stack-list-frames-handler): Rewritten without regexps.
9494 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
9495 not highlight breakpoints without line information.
9496 (gdb-input): Add trailing newline to command.
9498 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
9500 (gdb-breakpoints-list-handler-custom): Replacement for
9501 `gdb-break-list-handler'. Using real parser instead of regexps
9503 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
9504 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
9505 to place breakpoints.
9506 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
9508 (gdb-disassembly-handler-custom): Show overlay arrow.
9509 (gdb-disassembly-place-breakpoints): Show breakpoints in
9511 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
9512 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
9513 instead of parsing breakpoints buffer. Fixed old menu references
9518 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
9519 (gdb-memory-address): New variable which holds top address of
9520 memory page shown in memory buffer.
9521 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
9522 customization variables.
9524 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
9525 display the memory buffer.
9526 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
9527 buffer display parameters.
9528 (def-gdb-memory-format, gdb-memory-format-binary)
9529 (gdb-memory-format-octal, gdb-memory-format-unsigned)
9530 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
9531 Functions for setting memory buffer format.
9532 (gdb-memory-unit-word, gdb-memory-unit-halfword)
9533 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
9534 unit size used in memory buffer.
9535 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
9536 to next/previous page of memory buffer.
9537 Now using (bindat-get-field) instead of fadr functions.
9539 2009-07-07 Sam Steingold <sds@gnu.org>
9541 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
9542 non-top-level files.
9544 2009-07-07 Kenichi Handa <handa@m17n.org>
9546 * international/mule-cmds.el (reset-language-environment): Put
9547 the highset priority to the charset iso-8859-1.
9549 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
9551 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
9552 to the end of the line when locating the block (Bug#700).
9554 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
9556 * net/tramp.el (tramp-handle-write-region): Flush file properties
9557 in case of short track.
9559 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
9561 * verilog-mode.el (verilog-error-regexp-emacs-alist): Coded custom
9562 representation of verilog error regular expressions to work with
9563 Emacs-22's new format.
9564 (verilog-error-regexp-xemacs-alist): Coded custom representation
9565 of verilog error regular expressions to work with XEmacs format.
9566 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
9567 error recognition into XEmacs.
9568 (verilog-error-regexp-add-emacs): Hook routine to install verilog
9569 error recognition into Emacs-22.
9571 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
9573 * woman.el: Remove stand-alone closing parentheses.
9574 (woman-file-name, woman2-format-paragraphs)
9575 (woman-leave-blank-lines): Code cleanup.
9576 (woman-use-own-frame): Change default to nil.
9577 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
9578 defaults to inherit from default faces.
9579 (woman2-process-escapes): Consume the newline after a stand-alone
9580 filler character (Bug#3651).
9582 2009-07-06 Glenn Morris <rgm@gnu.org>
9584 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
9585 (top-level): Move provide to the end.
9586 (ffap): Remove defunct URL from custom group.
9588 * subr.el (eval-after-load): Doc fix.
9590 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
9592 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
9593 `calc-embedded-word' is called twice.
9595 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9597 * files.el (find-alternate-file-other-window, find-alternate-file):
9598 Obey confirm-nonexistent-file-or-buffer.
9600 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
9602 * dired-aux.el (dired-show-file-type): Handle remote files.
9604 2009-07-05 Jari Aalto <jari.aalto@cante.net>
9606 * desktop.el (desktop-globals-to-save):
9607 Add file-name-history (Bug#2750).
9609 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
9611 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
9613 2009-07-04 Johan Bockgård <bojohan@gnu.org>
9615 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
9616 property on entire argument since this is what eshell-lisp-command
9619 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
9621 * net/tramp-gvfs.el (tramp-gvfs-methods)
9622 (tramp-gvfs-zeroconf-domain)
9623 (tramp-bluez-discover-devices-timeout): Add version flag.
9624 (tramp-gvfs-handler-mounted-unmounted)
9625 (tramp-gvfs-connection-mounted-p): Polish handling of
9626 incompatibilities between GVFS 0.2 and 1.0.
9628 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
9630 * cus-start.el (all): Add make-pointer-invisible.
9632 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
9634 * calc-math.el (math-use-emacs-fn): Make sure that the number is
9635 formatted correctly.
9637 2009-07-02 Juri Linkov <juri@jurta.org>
9639 * info.el: Virtual Info files and nodes.
9640 (Info-virtual-files, Info-virtual-nodes): New variables.
9641 (Info-current-node-virtual): New variable.
9642 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
9644 (Info-file-supports-index-cookies): Use Info-virtual-file-p
9645 to check for a virtual file instead of checking a fixed list
9647 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
9648 instead of ad-hoc processing of "dir" and (apropos history toc).
9649 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
9650 instead of ad-hoc processing of "dir" and (apropos history toc).
9651 Reread a file when moving from a virtual node.
9652 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
9653 (Info-directory-toc-nodes, Info-directory-find-file)
9654 (Info-directory-find-node): New functions.
9655 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
9656 (Info-history): Move part of code to
9657 `Info-history-find-node'.
9658 (Info-history-toc-nodes, Info-history-find-file)
9659 (Info-history-find-node): New functions.
9660 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
9661 (Info-toc): Move part of code to `Info-toc-find-node'.
9662 (Info-toc-find-node): New function.
9663 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
9664 the current Info file name to references because now the node
9665 "*TOC*" belongs to the same Info manual.
9666 (Info-toc-build): Rename from `Info-build-toc'.
9667 (Info-toc-nodes): Rename input argument `file' to `filename'.
9668 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
9669 instead of ad-hoc processing of ("dir" apropos history toc).
9670 (Info-index-nodes): Use Info-virtual-file-p
9671 to check for a virtual file instead of checking a fixed list
9673 (Info-index-node): Add check for `Info-current-node-virtual'.
9674 Raise `save-match-data' higher up the tree to contain
9675 `search-forward' too (bug fix).
9676 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
9677 (Info-virtual-index-nodes): New variable.
9678 (Info-virtual-index-find-node, Info-virtual-index): New functions.
9679 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
9680 (Info-apropos-file, Info-apropos-nodes): New variables.
9681 (Info-apropos-toc-nodes, Info-apropos-find-file)
9682 (Info-apropos-find-node, Info-apropos-matches): New functions.
9683 (info-apropos): Move part of code to `Info-apropos-find-node' and
9684 `Info-apropos-matches'.
9685 (Info-mode-map): Bind "I" to `Info-virtual-index'.
9686 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
9687 for a virtual file instead of checking a fixed list of node names.
9689 * simple.el (async-shell-command): New command.
9691 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
9693 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
9694 instead of `mount-info'.
9696 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
9698 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
9699 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
9701 2009-07-02 Kenichi Handa <handa@m17n.org>
9703 * international/mule.el (set-keyboard-coding-system): Force *-unix
9704 coding-system to avoid eol conversion.
9706 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
9708 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9709 Add handler for `process-file', `shell-command' and
9710 `start-file-process'.
9711 (tramp-gvfs-handle-shell-command)
9712 (tramp-gvfs-handle-start-file-process)
9713 (tramp-gvfs-handle-process-file): New defuns.
9714 (tramp-synce-list-devices): Simplify check for existence of property.
9716 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
9718 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
9720 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
9722 * language/korean.el (set-language-info-alist): Add korean-cp949,
9725 2009-07-01 Kenichi Handa <handa@m17n.org>
9727 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
9729 * international/encoded-kb.el: Deleted.
9731 * international/mule.el (set-keyboard-coding-system): Perform the
9732 necessary setup here instead of calling encoded-kbd-setup-display.
9734 2009-07-01 Glenn Morris <rgm@gnu.org>
9736 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
9738 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
9740 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
9742 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
9744 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
9745 Handle also the 'rename case, when setting file modes. (Bug#3712)
9746 (tramp-default-file-modes) Remove execute permissions.
9748 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
9749 (top): Add a default for "synce" in `tramp-default-user-alist'.
9750 Add completion function for "synce" method.
9751 (tramp-hal-service, tramp-hal-path-manager)
9752 (tramp-hal-interface-manager, tramp-hal-interface-device):
9754 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
9755 (tramp-synce-list-devices, tramp-synce-parse-device-names):
9758 * net/trampver.el: Update release number.
9760 2009-06-30 Kenichi Handa <handa@m17n.org>
9762 * international/fontset.el (setup-default-fontset): Add CJK fonts
9763 for symbols and the other miscellaneous characters.
9765 * language/korea-util.el (setup-korean-environment-internal):
9766 Make char-width-table suitable for Korean environments.
9767 (exit-korean-environment): Cancel above.
9769 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
9770 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
9771 setup-funcion to make char-widht-table suitable for respective
9772 environments, and an exit-function to cancel that.
9774 * language/japan-util.el (setup-japanese-environment-internal):
9775 Call use-cjk-char-width-table with arg `ja_JP'.
9777 * international/characters.el (cjk-char-width-table): Delete it.
9778 (cjk-char-width-table-list): New variable.
9779 (use-cjk-char-width-table): New arg local-name.
9780 (use-default-char-width-table): Fix for the case that Emacs is
9781 already using the default char-width-table.
9783 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
9785 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
9786 modes mandatory. (Bug#3712)
9788 2009-06-29 Alan Mackenzie <acm@muc.de>
9790 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
9791 correction between the visible width of TABs and their number of bytes.
9793 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
9795 * server.el (server-buffer-done): Prevent kill-buffer from
9796 prompting by clearing the buffer modification flag (Bug#3696).
9798 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
9800 * verilog-mode.el (verilog-beg-of-statement)
9801 (verilog-endcomment-reason-re): Support unique case and priority case.
9802 (verilog-basic-complete-re): Support localparam lineup.
9803 (verilog-beg-of-statement-1): Fix for robustness, unique case.
9804 (verilog-set-auto-endcomments): Fix for unique case, always_comb
9806 (verilog-leap-to-case-head): Now support *nested* unique &
9807 priority case statements.
9808 (verilog-auto-lineup): Make just declarations the default (as it
9810 (verilog-leap-to-case-head): Support priority/unique case statements.
9811 (verilog-auto-lineup): Rework to give users radio buttons to
9812 select the various styles of automatic lineup.
9813 (verilog-error-regexp-alist): Rework to support the XEmacs style
9814 of error regular expressions from compilers, lint tools &
9815 simulators. Note that GNU Emacs has made it impossible for a mode
9816 to load such things.
9817 (electric-verilog-terminate-line, verilog-indent-declaration)
9818 (verilog-auto-wiure): Rework for radio button selection of
9819 auto-lineup selection of specification of auto lineup.
9820 (verilog-beg-of-statement-1): Redesign to support proper operation
9821 in additional code, based on testing with auto-lineup.
9822 (verilog-calculate-indent, assignments & declarations)
9823 (verilog-backward-token): Enhance to support auto-lineup of
9824 assignments & declarations.
9825 (verilog-in-directive-p, verilog-at-struct-p): New function for
9826 easy test of whether we are.
9827 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
9828 to support safe execution at almost anyline.
9829 (verilog-calc-1): Properly support indenting deep inside generate
9831 (verilog-init-font) Remove definition & use of verilog-init-font,
9832 as it is redundant with font-lock-defaults.
9833 (verilog-mode): Alter the definition of verilog-font-lock-defaults
9834 to avoid circular calls if syntax-ppss is a function (as is the
9835 case now in 22.x GNU Emacs) as that function would sometimes call
9836 itself, leading to (nearly) infinite recursion.
9837 (verilog-ovm-begin-re, verilog-ovm-end-re)
9838 (verilog-ovm-statement-re, verilog-leap-to-head)
9839 (verilog-backward-token): Add support for OVM macros. Some are
9840 complete statements, and others open and close scopes like begin
9842 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
9843 (verilog-defun-level-generate-only-re): Really fix the defun-list
9845 (verilog-calc-1) (verilog-beg-of-statement): Enhance support for
9846 coverpoint, constraint and cross statements.
9847 (verilog-defun-level-list, verilog-generate-defun-level-list)
9848 (verilog-all-defun-level-list): Redo these specifications - it is
9849 too hard to support eval-when compile aggregation of lists also
9850 built at when-compile time.
9851 (verilog-defun-level-list): Place defconsts of variables used in
9852 building regular expressions which are built in eval-when-compile
9853 bodies in the same eval-when-compile body to facilitate compile
9855 (verilog-beg-block-re-ordered): Support indenting
9856 virtual/protected tasks and functions.
9857 (verilog-defun-level-list, verilog-in-generate-region-p)
9858 (verilog-backward-ws&directives, verilog-calc-1): Speed up
9859 indentation of some module items (generate items).
9860 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
9861 across virtual/protected tasks and functions.
9863 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
9865 * verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
9866 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
9867 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
9868 in concatenations. Reported by Yishay Belkind.
9869 (verilog-auto-ascii-enum): Support one-hot state machines in
9870 AUTOASCIIENUM. Suggested by Lloyd Gomez.
9871 (verilog-auto-inst, verilog-auto-inst-port): Include interface
9872 modport in AUTOINST and add vl-modport for users. Reported by
9874 (verilog-auto-inout-module, verilog-auto-inst)
9875 (verilog-decls-get-interfaces, verilog-insert-definition)
9876 (verilog-insert-one-definition, verilog-read-decls)
9877 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
9878 (verilog-sig-modport, verilog-signals-combine-bus)
9879 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
9880 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
9881 Suggested by David Rogoff.
9882 (verilog-repair-open-comma): Fix non-insertion of comma when
9883 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
9884 (verilog-make-width-expression): Simplify [A-1:0] expression
9885 widths to just {A{1'b0}}.
9886 (verilog-mode): Cleanup checkdoc warnings.
9887 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
9888 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
9889 inputs/outputs or data type. Suggested by Vasu Kandadi.
9890 (next-error-last-buffer): Fix byte-compiler warning.
9891 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
9892 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
9893 or shell command text during AUTO expansion. Suggested by Tad Truex.
9894 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
9895 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
9896 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
9897 in AUTOINOUT. Reported by Matthew Lovell.
9898 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
9899 causing use of <= assignments. Reported by Alex Reed.
9900 (verilog-read-decls): Fix triand, trior, wand, wor to be
9901 recognized by AUTOWIRE. Reported by Spencer Isaacson.
9902 (verilog-extended-complete-re): Support import "DPI-C" functions.
9903 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
9904 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
9905 (verilog-insert-date, verilog-insert-year)
9906 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
9907 Windows systems. Reported by Michael Potts.
9908 (verilog-read-module-name): Fix AUTOINST when the child module
9909 declaration's name is a tick define. Reported by Elliot Mednick.
9910 (verilog-read-decls): Fix V2K parameter bit subscripts getting
9911 passed to next parameter's definition. Reported by Bruce T.
9912 (verilog-read-decls): Fix detecting "parameter int" when using
9913 AUTOINSTPARAM. Reported by Bruce T.
9914 (verilog-goto-defun): Fix goto not finding modules unless first
9915 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
9916 (verilog-mode): Expand -f flag arguments on entry to mode so
9917 verilog-goto-defun will work. Reported by Lawrence Butcher.
9918 (verilog-getopt): Expand environment variables in -f file
9919 arguments. Suggested by Lawrence Butcher.
9920 (verilog-set-define): Fix "Symbol's value as variable is void"
9921 when reading enumerations.
9922 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
9923 Suggested by Stephen Peltan.
9924 (verilog-read-defines): Fix reading of enumerations in include
9925 files. Reported by Steve Peltan.
9927 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
9929 * files.el (trash-directory): Fix defcustom type.
9931 2009-06-28 Juri Linkov <juri@jurta.org>
9933 * help-fns.el (describe-function-1): Correctly locate adviced
9934 functions in hyperlink (Bug#2438).
9936 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
9938 * files.el (trash-directory): Change default to nil.
9939 (move-file-to-trash): If trash-directory is nil and
9940 system-move-file-to-trash is unbound, perform freedesktop-style
9943 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
9945 * files.el (move-file-to-trash): Add freedesktop trash
9948 2009-06-28 Glenn Morris <rgm@gnu.org>
9950 * autorevert.el (global-auto-revert-non-file-buffers)
9951 (global-auto-revert-mode): Doc fixes.
9953 2009-06-27 Johan Bockgård <bojohan@gnu.org>
9955 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
9957 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
9959 * faces.el (x-handle-named-frame-geometry): Ensure that we have
9960 opened an X connection before calling x-get-resource (Bug#3194).
9962 * play/doctor.el: Remove reference to obsolete website.
9963 (make-doctor-variables): Correct grammar mistake (Bug#2633).
9965 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
9967 Remove find-file-not-found-hook VC method. (Bug#2757)
9968 * vc-hooks.el (vc-file-not-found-hook)
9969 (vc-default-find-file-not-found-hook): Remove functions.
9970 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
9971 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
9974 * vc-git.el: Do not mention find-file-not-found-hook VC method.
9976 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
9978 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
9979 compatibility function for `looking-back'.
9981 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
9982 Use `ispell-looking-back'.
9984 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
9986 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
9987 rather than `filename'.
9989 2009-06-23 Miles Bader <miles@gnu.org>
9991 * face-remap.el (text-scale-set): New function.
9993 2009-06-23 Glenn Morris <rgm@gnu.org>
9995 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
9997 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
9999 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
10001 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
10003 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
10004 Simplify Persian conditionals.
10006 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
10007 variable `filename'.
10009 * comint.el (comint-insert-input): Doc fix.
10011 * Makefile.in (ELCFILES): Fix typo in previous change.
10013 2009-06-23 Miles Bader <miles@gnu.org>
10015 * cus-start.el: Add entry for `recenter-redisplay'.
10017 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
10019 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
10020 Add an optional argument for the backend, use it instead of
10021 calling vc-backend.
10022 (vc-mode-line): Add an optional argument for the backend.
10023 Pass the backend to vc-state and vc-working-revision. Move code for
10024 special handling for vc-state being a buffer to ...
10026 * vc-rcs.el (vc-rcs-find-file-hook):
10027 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
10029 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
10030 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
10031 vc-stay-local-p and vc-mode-line calls.
10033 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
10034 (vc-cvs-diff, vc-cvs-annotate-command)
10035 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
10036 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
10037 vc-mode-line calls.
10039 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
10041 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
10042 backend when calling vc-mode-line.
10043 (vc-register): Do not create a closure for calling the vc register
10044 function, call it directly.
10046 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
10048 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
10049 to make it obvious item can be clicked.
10051 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
10053 2009-06-23 Kenichi Handa <handa@m17n.org>
10055 * language/korea-util.el (korean-key-bindings): Change the binding
10056 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
10059 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
10061 Sync with Tramp 2.1.16.
10063 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
10065 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
10066 when a loading of a package fails. Completion function for rsync
10067 is `tramp-completion-function-alist-ssh'.
10068 (all): Replace all calls of `split-string' and
10069 `tramp-split-string' by `tramp-compat-split-string'.
10070 (tramp-default-method): Use `tramp-compat-process-running-p'.
10071 (tramp-default-proxies-alist): Allow also Lisp forms.
10072 (tramp-remote-path): Add choice "Private Directories".
10073 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
10074 (tramp-domain-regexp): Allow also "-", "_" and ".".
10075 (tramp-end-of-output): Remove newlines, and add "$" at the end.
10076 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
10077 (tramp-debug-message): Insert header line in debug buffer.
10078 (tramp-handle-directory-files-and-attributes-with-stat):
10079 Care about filenames with spaces, or starting with "-".
10080 (tramp-handle-dired-uncache): New defun.
10081 (tramp-handle-insert-directory): Don't flush the directory from
10082 cache, this is handled by `dired-uncache' now.
10083 (tramp-handle-insert-file-contents): Improve error handling.
10084 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10085 Quote `tramp-end-of-output'.
10086 (tramp-action-password): Improve trace message.
10087 (tramp-check-for-regexp): Both echoes must be present, before removing.
10088 (tramp-open-connection-setup-interactive-shell): Trace coding system.
10089 (tramp-compute-multi-hops): Eval cons cells of
10090 `tramp-default-proxies-alist'.
10091 (tramp-maybe-open-connection): Use the same command pattern for
10092 first hop and further hops.
10093 (tramp-wait-for-output): Remove handling of newlines.
10094 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
10095 (tramp-split-string): Remove function. It is handled in
10098 * net/tramp-cmds.el (tramp-bug):
10099 Recommend `tramp-cleanup-all-connections' in the bug mail.
10101 * net/tramp-compat.el (tramp-compat-split-string)
10102 (tramp-compat-process-running-p): New defuns.
10104 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
10105 for `dired-uncache'.
10107 * net/tramp-gvfs.el: New package.
10109 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
10110 Add handler for `dired-uncache'.
10111 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
10113 * net/trampver.el: Update release number. Make version check fit
10116 2009-06-22 Jim Meyering <meyering@redhat.com>
10118 Automatically handle .xz suffix (XZ-compressed files), too.
10119 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
10120 XZ is the successor to LZMA: <http://tukaani.org/xz/>
10122 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
10123 Nick Roberts <nickrob@snap.net.nz>
10125 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
10126 repository (http://sphinx.net.ru/hg/gdb-mi/).
10128 2009-06-22 Glenn Morris <rgm@gnu.org>
10130 * files.el (dir-locals-collect-mode-variables): Allow for any number of
10131 `mode' and `eval' entries. (Bug#3430)
10133 * Makefile.in (ELCFILES): Add fadr.elc.
10135 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
10136 differing behavior of \n and ^ in strings. (Bug#3385)
10138 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
10140 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
10142 (lisp-indent-function): Make it a defcustom.
10144 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
10146 * progmodes/gdb-ui.el: Replace with ...
10147 * progmodes/gdb-mi.el: ... this file.
10148 * progmodes/gud.el: Modify for gdb-mi.el.
10150 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
10152 * fadr.el: New file.
10154 See ChangeLog.14 for earlier changes.
10156 ;; Local Variables:
10160 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
10162 This file is part of GNU Emacs.
10164 GNU Emacs is free software: you can redistribute it and/or modify
10165 it under the terms of the GNU General Public License as published by
10166 the Free Software Foundation, either version 3 of the License, or
10167 (at your option) any later version.
10169 GNU Emacs is distributed in the hope that it will be useful,
10170 but WITHOUT ANY WARRANTY; without even the implied warranty of
10171 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
10172 GNU General Public License for more details.
10174 You should have received a copy of the GNU General Public License
10175 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
10177 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1