1 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
3 Fix use of `filter-buffer-substring' (rework previous change).
4 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
5 (cua-repeat-replace-region):
6 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
7 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
8 (cua-cut-region-to-global-mark): Use it.
10 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
12 * progmodes/sql.el: Version 2.1.
13 (sql-product-alist): Redesign structure of product info.
14 (sql-product, sql-user, sql-server, sql-database): Safe variables.
15 (sql-port, sql-port-history): New variables.
16 (sql-interactive-product): New variable.
17 (sql-send-terminator): New variable.
18 (sql-imenu-generic-expression): Add "Types" imenu entry.
19 (sql-oracle-login-params, sql-sqlite-login-params)
20 (sql-mysql-login-params, sql-solid-login-params)
21 (sql-sybase-login-params, sql-informix-login-params)
22 (sql-ingres-login-params, sql-ms-login-params)
23 (sql-postgres-login-params, sql-interbase-login-params)
24 (sql-db2-login-params, sql-linter-login-params)
25 (sql-oracle-scan-on): New variables.
26 (sql-mode-map): Add C-c C-i to start interactive mode.
27 (sql-mode-menu): Update existing menu entries.
28 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
29 (sql-mode-oracle-font-lock-keywords)
30 (sql-mode-postgres-font-lock-keywords)
31 (sql-mode-ms-font-lock-keywords)
32 (sql-mode-sybase-font-lock-keywords)
33 (sql-mode-informix-font-lock-keywords)
34 (sql-mode-interbase-font-lock-keywords)
35 (sql-mode-ingres-font-lock-keywords)
36 (sql-mode-solid-font-lock-keywords)
37 (sql-mode-mysql-font-lock-keywords)
38 (sql-mode-sqlite-font-lock-keywords)
39 (sql-mode-db2-font-lock-keywords)
40 (sql-mode-linter-font-lock-keywords): Update initialization to
41 reduce run-time complexity.
42 (sql-add-product, sql-del-product): New functions.
43 (sql-set-product-feature, sql-get-product-feature): New functions.
44 (sql-product-font-lock): Update product API.
45 (sql-add-product-keywords): New function.
46 (sql-highlight-product): Update product API.
47 (sql-help-list-products): New function.
48 (sql-help): Dynamically lists free and non-free products.
49 (sql-get-login): Correct bug in handling history and added
51 (sql-copy-column): Copy without properties.
52 (sqli-input-sender): Apply filters to SQLi input.
53 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
54 Implement as a filter.
55 (sql-escape-newlines-filter): Implement as a filter.
56 (sql-remove-tabs-filter): New function.
57 (sql-send-magic-terminator): New function.
58 (sql-send-string): Implement magic terminator.
59 (sql-send-region): Use `sql-send-string'.
60 (sql-interactive-mode): Use product API.
61 (sql-product-interactive): Use product API.
62 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
63 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
64 (sql-db2, sql-linter): Use `sql-product-interactive'.
65 (sql-connect): New function.
66 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
67 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
68 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
69 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
72 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
74 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
76 (completion-pcm--string->pattern): Use it.
77 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
78 Make it handle any symbol as `any'.
79 (completion-pcm--merge-completions): Extract common suffix for the new
80 `prefix' symbol as well.
81 (completion-substring--all-completions): Use the new `prefix' symbol.
83 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
85 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
87 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
88 (tramp-compat-funcall): New defmacro.
89 (tramp-compat-line-beginning-position)
90 (tramp-compat-line-end-position)
91 (tramp-compat-temporary-file-directory)
92 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
93 (tramp-compat-copy-file, tramp-compat-copy-directory)
94 (tramp-compat-delete-file, tramp-compat-delete-directory)
95 (tramp-compat-number-sequence, tramp-compat-process-running-p)
96 * net/tramp.el (top, with-progress-reporter)
97 (tramp-rfn-eshadow-setup-minibuffer)
98 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
99 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
100 (tramp-completion-mode-p, tramp-check-for-regexp)
101 (tramp-open-connection-setup-interactive-shell)
102 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
103 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
104 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
105 * net/tramp-cmds.el (tramp-cleanup-all-connections)
106 (tramp-reporter-dump-variable, tramp-load-report-modules)
107 (tramp-append-tramp-buffers)
108 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
110 * net/tramp-imap.el (top): Autoload `epg-make-context'.
112 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
114 * progmodes/compile.el (compilation-buffer-modtime): Rename from
115 buffer-modtime. Adjust users.
117 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
119 * international/mule.el (auto-coding-alist): Only purecopy
120 car of each item, not the whole list (Bug#6083).
122 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
124 * progmodes/js.el (js-mode): Make paragraph variables local before
125 calling c-setup-paragraph-variables (Bug#6071).
127 2010-05-08 Eli Zaretskii <eliz@gnu.org>
129 * composite.el (compose-region, reference-point-alist): Fix typos
132 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
134 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
135 gnuplot's "set" command.
137 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
139 * abbrev.el (last-abbrev-text): Doc fix.
140 (abbrev-prefix-mark): Don't escape parenthesis.
142 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
144 * composite.el (find-composition): Doc fix.
146 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
148 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
149 (sql-oracle-program, sql-sqlite-options)
150 (sql-query-placeholders-and-send): Doc fixes.
151 (sql-set-product, sql-interactive-mode): Reflow docstrings.
152 (sql-imenu-generic-expression, sql-buffer)
153 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
154 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
155 (sql-mode-sybase-font-lock-keywords)
156 (sql-mode-informix-font-lock-keywords)
157 (sql-mode-interbase-font-lock-keywords)
158 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
159 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
160 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
161 (sql-product-feature, sql-highlight-product)
162 (comint-line-beginning-position, sql-rename-buffer)
163 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
164 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
165 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
166 Fix typos in docstrings.
168 2010-05-08 Juri Linkov <juri@jurta.org>
170 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
171 property instead of `invisible' and `after-string' (bug#5998).
173 2010-05-08 Juri Linkov <juri@jurta.org>
175 * image-mode.el (image-mode-as-text): Fix typo in docstring.
177 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
179 * filecache.el (file-cache-add-directory-list)
180 (file-cache-add-directory-recursively): Fix typos in docstrings.
182 2010-05-08 Kenichi Handa <handa@m17n.org>
184 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
185 (gujarati-composable-pattern): Fix typo.
187 2010-05-08 Kenichi Handa <handa@m17n.org>
189 * language/indian.el (oriya-composable-pattern)
190 (tamil-composable-pattern, malayalam-composable-pattern):
191 Add two-part vowels to "v" (vowel sign).
193 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
195 * files.el (copy-directory): Handle symlinks (Bug#5982).
197 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
199 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
200 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
203 2010-05-08 Glenn Morris <rgm@gnu.org>
205 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
207 * minibuffer.el (completion-at-point): Doc fix.
209 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
211 * electric.el (Electric-command-loop): Minor tweak.
213 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
214 better with dedicated windows.
216 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
218 * Version 23.2 released.
220 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
221 Stefan Monnier <monnier@iro.umontreal.ca>
223 Highlight vendor specific properties.
224 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
225 (css-proprietary-property): New face.
226 (css-font-lock-keywords): Use them.
228 2010-05-07 Eli Zaretskii <eliz@gnu.org>
230 * cus-start.el (all): Add native condition for tool-bar-* symbols.
232 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
234 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
235 * files.el (auto-mode-alist): Remove redundant entries.
237 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
238 * simple.el (auto-save-mode): Move from files.el.
239 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
241 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
243 * lisp/epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
245 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
247 * mail/binhex.el (binhex-decode-region-internal)
248 * mail/uudecode.el (uudecode-decode-region-internal)
249 * net/dns.el (dns-read-string-name, dns-write, dns-read)
250 (dns-read-type, dns-query)
251 * pgg-parse.el (pgg-parse-armor)
252 * pgg.el (pgg-verify-region)
253 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
256 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
258 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
260 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
262 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
263 * emulation/cua-base.el (cua-repeat-replace-region):
264 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
265 (cua-cut-region-to-global-mark):
266 Remove text properties with `set-text-properties'.
268 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
270 * net/tramp.el (top, with-progress-reporter):
271 Use `symbol-function' inside `funcall'.
273 * net/tramp-compat.el (tramp-compat-file-attributes)
274 (tramp-compat-delete-file, tramp-compat-delete-directory):
275 Handle only `wrong-number-of-arguments' error.
277 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
278 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
281 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
283 * minibuffer.el (completion--sreverse, completion--common-suffix):
285 (completion-pcm--merge-completions): Extract common suffix when safe.
287 * emacs-lisp/easy-mmode.el (define-minor-mode):
288 Make :variable more flexible.
289 * files.el (auto-save-mode): Use it to define using define-minor-mode.
291 2010-05-05 Juri Linkov <juri@jurta.org>
293 Add `slow' and `history' tags to the desktop data.
295 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
296 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
297 (Info-finder-find-node): Require `finder.el' to be able
298 to restore node from the desktop.
299 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
300 data `Info-history' and `slow' tag in the assoc list.
301 (Info-restore-desktop-buffer): Don't restore nodes with the
302 `slow' tag. Restore `Info-history'.
304 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
306 Add FORCE argument to `delete-file'.
308 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
309 forcing to delete the temporary file.
310 (ange-ftp-delete-file): Add FORCE arg.
311 (ange-ftp-rename-remote-to-remote)
312 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
313 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
316 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
318 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
319 (tramp-handle-make-symbolic-link, tramp-handle-load)
320 (tramp-do-copy-or-rename-file-via-buffer)
321 (tramp-do-copy-or-rename-file-directly)
322 (tramp-do-copy-or-rename-file-out-of-band)
323 (tramp-handle-process-file, tramp-handle-call-process-region)
324 (tramp-handle-shell-command, tramp-handle-file-local-copy)
325 (tramp-handle-insert-file-contents, tramp-handle-write-region)
326 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
328 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
329 (tramp-fish-handle-make-symbolic-link)
330 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
332 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
333 Use `tramp-compat-delete-file'.
335 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
336 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
338 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
339 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
341 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
342 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
343 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
344 `tramp-compat-delete-file'.
346 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
349 * subr.el (add-minor-mode): Use push.
350 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
351 * emulation/edt.el (edt-select-mode): Simplify.
353 Use define-minor-mode in more cases.
354 * term/tvi970.el (tvi970-set-keypad-mode):
355 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
356 (normal-erase-is-backspace-mode):
357 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
358 (set-scroll-bar-mode-1): (Re)move to its sole caller.
359 (get-scroll-bar-mode): New function.
360 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
362 Use define-minor-mode for less obvious cases.
363 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
364 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
365 * international/iso-ascii.el (iso-ascii-mode):
366 * frame.el (auto-raise-mode, auto-lower-mode):
367 * composite.el (global-auto-composition-mode): Use define-minor-mode.
369 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
371 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
372 in order to see error messages for failed logins.
374 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
376 * diff.el (diff-sentinel):
378 * epg.el (epg--make-temp-file, epg-decrypt-string)
379 (epg-verify-string, epg-sign-string, epg-encrypt-string):
381 * jka-compr.el (jka-compr-partial-uncompress)
382 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
384 * server.el (server-sentinel): Use delete-file's new FORCE arg
387 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
389 Use define-minor-mode where applicable.
390 * view.el (view-mode):
391 * type-break.el (type-break-query-mode)
392 (type-break-mode-line-message-mode):
393 * textmodes/reftex.el (reftex-mode):
394 * term/vt100.el (vt100-wide-mode):
395 * tar-mode.el (tar-subfile-mode):
396 * savehist.el (savehist-mode):
397 * ibuf-ext.el (ibuffer-auto-mode):
398 * composite.el (auto-composition-mode):
399 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
400 Use define-minor-mode.
401 (vhdl-mode): Use static mode-line format.
402 (vhdl-mode-line-update): Delete.
403 (vhdl-create-mode-menu, vhdl-activate-customizations)
404 (vhdl-hs-minor-mode): Don't bother calling it.
406 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
408 * simple.el (with-wrapper-hook): Move.
409 (buffer-substring-filters): Mark obsolete.
410 (filter-buffer-substring-functions): New variable.
411 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
413 Use a mode-line spec rather than a static string in Semantic.
414 * cedet/semantic/util-modes.el:
415 (semantic-minor-modes-format): New var to replace...
416 (semantic-minor-modes-status): Remove.
417 (semantic-mode-line-update): Construct a mode-line spec rather than
418 a static string so that mouse buttons can be used on individual minor
419 modes and so that semantic-mode-line-update only needs to be called
420 when global settings are changed.
421 (semantic-add-minor-mode, semantic-toggle-minor-mode-globally):
422 Call semantic-mode-line-update.
423 (semantic-toggle-minor-mode-globally): Don't assume mode is on
424 minor-mode-alist, check semantic-minor-mode-alist as well.
425 (semantic-stickyfunc-mode, semantic-show-parser-state-auto-marker)
426 (semantic-show-parser-state-marker, semantic-show-parser-state-mode)
427 (semantic-show-unmatched-syntax-mode, semantic-highlight-edits-mode):
428 * cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
429 * cedet/semantic/idle.el (semantic-idle-scheduler-mode)
430 (define-semantic-idle-service, semantic-idle-summary-mode):
431 * cedet/semantic/decorate/mode.el (semantic-decoration-mode):
432 Don't call semantic-mode-line-update any more.
434 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
436 Use define-minor-mode in CEDET where applicable.
438 * cedet/srecode/mode.el (srecode-minor-mode,global-srecode-minor-mode):
439 Use define-minor-mode.
441 * cedet/semantic/util-modes.el (semantic-add-minor-mode):
442 Remove unused arg `keymap' and code redundant with define-minor-mode.
443 (semantic-toggle-minor-mode-globally): Only handle arg -1 and 1.
444 (semantic-stickyfunc-mode, global-semantic-show-unmatched-syntax-mode)
445 (semantic-highlight-func-mode, global-semantic-show-parser-state-mode)
446 (global-semantic-highlight-edits-mode, semantic-highlight-edits-mode)
447 (semantic-show-unmatched-syntax-mode, semantic-show-parser-state-mode)
448 (global-semantic-stickyfunc-mode, global-semantic-highlight-func-mode):
449 Use define-minor-mode.
450 (semantic-stickyfunc-mode-setup, semantic-highlight-edits-mode-setup)
451 (semantic-show-unmatched-syntax-mode-setup)
452 (semantic-show-parser-state-mode-setup)
453 (semantic-highlight-func-mode-setup): Inline into sole caller.
455 * cedet/semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
456 (semantic-mru-bookmark-mode): Use define-minor-mode.
457 (semantic-mru-bookmark-mode-setup): Inline into sole caller.
459 * cedet/semantic/idle.el (define-semantic-idle-service):
460 Use define-minor-mode and inline setup function into its sole caller.
461 (semantic-idle-scheduler-mode-setup)
462 (semantic-idle-summary-mode-setup): Inline into sole caller.
463 (global-semantic-idle-scheduler-mode, semantic-idle-scheduler-mode):
464 Use define-minor-mode.
466 * cedet/semantic/decorate/mode.el (global-semantic-decoration-mode)
467 (semantic-decoration-mode): Use define-minor-mode.
468 (semantic-decoration-mode-setup): Inline into sole caller.
470 * cedet/ede/dired.el (ede-dired-minor-mode): Initialize in declaration.
471 (ede-dired-minor-mode): Use define-minor-mode and derived-mode-p.
472 (ede-dired-add-to-target): Use dolist.
474 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
475 Michael Albinus <michael.albinus@gmx.de>
477 Implement compression for inline methods.
479 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
480 (tramp-copy-size-limit): Allow also nil.
481 (tramp-inline-compress-commands): New defconst.
482 (tramp-find-inline-compress, tramp-get-inline-compress)
483 (tramp-get-inline-coding): New defuns.
484 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
485 replaced by `tramp-get-inline-coding'.
486 (tramp-handle-file-local-copy, tramp-handle-write-region)
487 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
489 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
491 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
492 Remove unused functions.
494 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
495 Set find-tag-default-function as a variable rather than a property.
497 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
498 * progmodes/etags.el (tags-completion-at-point-function):
499 Remove left over interactive spec. Add autoloading stub.
500 (complete-tag): Use tags-completion-at-point-function.
502 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
504 * minibuffer.el (tags-completion-at-point-function): Fix return value.
506 2010-04-30 Eli Zaretskii <eliz@gnu.org>
508 * composite.el (compose-region, reference-point-alist): Fix typos
511 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
513 * ido.el (ido-init-completion-maps): Remove C-v binding.
514 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
516 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
518 * minibuffer.el (tags-completion-at-point-function): New function.
519 (completion-at-point-functions): Use it.
521 * cedet/semantic.el (semantic-completion-at-point-function): New function.
522 (semantic-mode): Use semantic-completion-at-point-function for
523 completion-at-point-functions instead.
525 * progmodes/etags.el (complete-tag): Revert last change.
527 2010-04-29 Alan Mackenzie <acm@muc.de>
529 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
530 off-by-one error (in end of macro position).
532 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
534 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
535 firefox is absent. Don't autoload.
536 (browse-url-galeon-program): Don't autoload.
538 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
540 * bindings.el (complete-symbol): Move into minibuffer.el.
542 * minibuffer.el (complete-tag): Move from etags.el. If tags
543 completion cannot be performed, return nil instead of signalling
545 (completion-at-point): Make it an alias for complete-symbol.
546 (complete-symbol): Move from bindings.el, and replace with the
547 body of completion-at-point.
549 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
551 * cedet/semantic.el (semantic-mode): When enabled, add
552 semantic-ia-complete-symbol to completion-at-point-functions.
554 * cedet/semantic/ia.el (semantic-ia-complete-symbol): Return nil
555 if Semantic is not active.
557 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
559 * net/tramp.el (tramp-remote-selinux-p): New defun.
560 (tramp-handle-file-selinux-context)
561 (tramp-handle-set-file-selinux-context): Use it.
563 2010-04-28 Sam Steingold <sds@gnu.org>
565 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
566 `safe-local-variable' if the value is a string or a symbol with
567 the property `bug-reference-url-format'.
569 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
571 * progmodes/bug-reference.el (bug-reference-url-format): Revert
572 2010-04-27 change due to security risk.
574 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
576 Make it possible to locally disable a globally enabled mode.
577 * simple.el (fundamental-mode): Run fundamental-mode-hook.
578 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
579 rather than kill-all-local-variables so it runs fundamental-mode-hook.
580 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
581 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
582 that subsequent hooks get a chance to disable it.
584 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
586 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
587 Avoid re-enabling a minor mode after the user turned the minor mode
588 off if MODE-enable-in-buffers is run twice (typically once from
589 fundamental-mode's after-change-major-mode-hook and a second time from
590 run-mode-hook's own after-change-major-mode-hook).
592 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
594 2010-04-27 Sam Steingold <sds@gnu.org>
596 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
597 `safe-local-variable' if the value is a string or a function, as
598 documented and implemented on 2010-04-02.
600 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
602 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
603 when method is 'kill.
605 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
607 * ispell.el (ispell-init-process): Fix personal dictionary condition
608 in default directory check.
609 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
610 Kill ispell process when killing its associated buffer.
612 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
614 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
615 but we aren't using it.
617 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
619 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
620 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
622 2010-04-24 Glenn Morris <rgm@gnu.org>
624 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
625 Ignore VCS-ignore files, and deleted nextstep preferences files.
626 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
627 (authors-ambiguous-files): New list.
628 (authors-valid-file-names): Add some deleted files.
629 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
630 (authors-disambiguate-file-name): New function. (Bug#5501)
631 (authors-canonical-file-name): Doc fix.
632 Don't warn about obsolete files.
633 (authors-canonical-file-name, authors-scan-el):
634 Use authors-disambiguate-file-name.
636 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
637 Add autoload cookies.
638 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
639 (generated-autoload-file): Set file-local value to "htmlfontify.el".
640 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
641 They have definitions / compiler macros in cl.el.
642 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
643 Replace manual autoloads with generated ones.
644 (htmlfontify-unload-rgb-file): Remove autoload.
645 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
647 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
649 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
650 (byte-compile-setq-default): Optimize for the
651 single-var case and don't call byte-compile-form in this case to avoid
652 inf-loop with byte-compile-set-default.
654 * progmodes/compile.el (compilation-start): Abbreviate default directory.
656 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
658 Implement SELINUX backends.
660 * net/tramp.el (tramp-file-name-handler-alist):
661 Add `file-selinux-context' and `set-file-selinux-context'.
662 (tramp-handle-file-selinux-context)
663 (tramp-handle-set-file-selinux-context): New defuns.
664 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
665 Handle PRESERVE-SELINUX-CONTEXT.
667 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
668 Add `file-selinux-context' and `set-file-selinux-context'.
669 (tramp-gvfs-handle-file-selinux-context)
670 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
671 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
673 * net/ange-ftp.el (ange-ftp-copy-file):
674 * net/tramp-fish.el (tramp-fish-handle-copy-file):
675 * net/tramp-imap.el (tramp-imap-handle-copy-file):
676 * net/tramp-smb.el (tramp-smb-handle-copy-file):
677 Add PRESERVE-SELINUX-CONTEXT.
679 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
681 Synchronize with Tramp repository.
683 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
684 (tramp-action-process-alive, tramp-action-out-of-band)
685 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
686 (tramp-exists-file-name-handler): Fix docstring.
687 (with-progress-reporter): New defmacro.
688 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
689 (tramp-maybe-open-connection): Use it.
691 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
693 Detect ssh 'ControlMaster' argument automatically in some cases.
695 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
696 (tramp-default-method): Use it.
698 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
700 * net/tramp.el (tramp-handle-copy-file): Add new optional
701 parameter `preserve-selinux-context'.
702 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
704 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
706 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
707 Ensure, that non remote files are still checked. Oops.
709 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
713 * icomplete.el (icomplete-completions): Use `non-essential'.
715 * net/tramp.el (tramp-connectable-p): New defun.
716 (tramp-handle-expand-file-name)
717 (tramp-completion-handle-file-name-all-completions)
718 (tramp-completion-handle-file-name-completion): Use it.
720 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
722 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
724 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
726 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
728 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
730 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
733 * info.el (info-tool-bar-map): Add labels.
735 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
737 * cus-edit.el (custom-commands): Add labels for tool bar.
738 (custom-buffer-create-internal, Custom-mode): Adjust for
739 labels in custom-commands.
741 * dynamic-setting.el: Renamed from font-setting.el.
743 2010-04-21 John Wiegley <jwiegley@gmail.com>
745 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
746 toggles the use of virtual buffers.
747 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global
749 (ido-toggle-virtual-buffers): New function.
751 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
753 Use `define-derived-mode'; fix window selection; doc fixes.
754 * play/tetris.el (tetris, tetris-update-speed-function)
755 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
756 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
757 (tetris-rotate-next, tetris-end-game, tetris-start-game)
758 (tetris-pause-game): Fix typos in docstrings.
759 (tetris-mode-map, tetris-null-map):
760 Move initialization into declaration.
761 (tetris-mode): Define with `define-derived-mode';
762 set show-trailing-whitespace to nil.
763 (tetris): Prefer window already displaying the "*Tetris*" buffer.
765 2010-04-21 Karel Klíč <kklic@redhat.com>
767 * files.el (backup-buffer): Handle SELinux context, and return it
768 if a backup was made by renaming.
769 (backup-buffer-copy): Set SELinux context to the target file.
770 (basic-save-buffer): Set SELinux context of the newly written file.
771 (basic-save-buffer-1): Now it also returns any SELinux context.
772 (basic-save-buffer-2): Set SELinux context of the newly created file,
774 * net/tramp.el (tramp-file-name-for-operation):
775 Add file-selinux-context.
777 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
779 * vc.el (vc-checkin, vc-modify-change-comment):
780 Adjust to new vc-start/finish-logentry.
781 (vc-find-conflicted-file): New command.
782 (vc-transfer-file): Adjust to new vc-checkin.
783 (vc-next-action): Improve scoping.
785 * vc-hg.el (vc-hg-log-edit-mode): Remove.
786 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
788 * vc-git.el (vc-git-log-edit-mode): Remove.
789 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
790 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
792 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
793 (vc-start-logentry): Remove argument `extra'.
794 (vc-finish-logentry): Remove extra args.
796 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
797 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
798 (vc-bzr-conflicted-files): New function.
800 * log-edit.el (log-edit-extra-flags)
801 (log-edit-before-checkin-process): Remove.
802 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
803 (log-edit-headers-alist): New var.
804 (log-edit-header-contents-regexp): New const.
805 (log-edit-match-to-eoh): New function.
806 (log-edit-font-lock-keywords): Use them.
807 (log-edit): Insert a "Summary:" header as default.
808 (log-edit-mode): Mark font-lock rules as case-insensitive.
809 (log-edit-done): Cleanup headers.
810 (log-view-process-buffer): Remove.
811 (log-edit-extract-headers): New function to replace it.
813 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
815 * subr.el (default-direction-reversed): Remove obsolescence info.
817 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
819 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
822 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
823 I.e. include text after point in the completion region.
824 Also, return nil when we're not after/in a symbol.
826 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
827 default enable-multibyte-characters.
829 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
831 * international/mule.el: Help the user choose a valid coding-system.
832 (read-buffer-file-coding-system): New function.
833 (set-buffer-file-coding-system): Use it. Prompt the user if the
834 coding-system cannot encode all the chars.
836 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
837 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
838 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
839 Don't use *vc-bzr-shelve*.
841 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
843 * cedet/ede/pmake.el (ede-proj-makefile-insert-variables):
844 Don't destroy list before using it.
846 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
848 Fix the version number for added files.
849 * vc-hg.el (vc-hg-working-revision): Check if the file is
850 registered after hg parent fails (Bug#5961).
852 2010-04-19 Glenn Morris <rgm@gnu.org>
854 * htmlfontify.el (htmlfontify-buffer)
855 (htmlfontify-copy-and-link-dir): Autoload entry points.
857 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
859 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
860 name relative to the project root (Bug#5960).
862 2010-04-19 Glenn Morris <rgm@gnu.org>
864 * vc-git.el (vc-git-print-log): Doc fix.
866 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
868 * ido.el (ido-file-internal): Fix 2009-12-02 change.
870 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
872 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
873 default settings (Bug#5928).
875 2010-04-19 Glenn Morris <rgm@gnu.org>
877 * progmodes/fortran.el (fortran-match-and-skip-declaration):
879 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
881 2010-04-19 Kenichi Handa <handa@m17n.org>
883 * language/indian.el (malayalam-composable-pattern): Fix previous
884 change (add U+0D4D "SIGN VIRAMA").
885 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
886 (tamil-composable-pattern): Fix typo in the regexp.
887 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
888 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
889 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
891 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
893 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
894 paragraph-separate (Bug#5821).
896 2010-04-19 Juri Linkov <juri@jurta.org>
898 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
900 * info.el (Info-find-node-2): Comment out code that skips
902 (Info-mouse-follow-link): New command.
903 (Info-link-keymap): New keymap.
904 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
905 Return a string with links instead of inserting breadcrumbs
907 (Info-fontify-node): Comment out code that inserts breadcrumbs.
908 Instead of putting the `invisible' text property over the Info
909 header, make an overlay over the Info header with the `invisible'
910 property and `after-string' set to the string returned by
913 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
915 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
916 Reported by monkey@sandpframing.com.
918 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
920 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
921 (tmm-get-keymap): Add key-binding shortcuts now that they're not
922 available in the "keyseq cache" any more.
924 * custom.el (defcustom): Add edebug spec.
926 2010-04-18 Juri Linkov <juri@jurta.org>
928 Test for special mode-class in view-buffer instead of view-file (bug#5513).
930 * view.el (view-file, view-buffer): Move test for special mode-class
931 from view-file to view-buffer.
933 * tar-mode.el (tar-extract): Turn if's into one cond
936 2010-04-18 Juri Linkov <juri@jurta.org>
938 Add 7z archive format support (bug#5475).
940 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
941 (archive-7z-extract): New defcustom.
942 (archive-find-type): Add magic string for 7z.
943 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
944 If `stderr-file' is non-nil, use `(t stderr-file)' for the
945 `buffer' arg of `call-process'.
946 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
947 call the function `archive-7z-extract' with the variable
948 `archive-7z-extract' let-bound to `archive-zip-extract'.
949 (archive-7z-summarize, archive-7z-extract): New functions.
951 * international/mule.el (auto-coding-alist):
952 * files.el (auto-mode-alist): Add 7z file extension.
954 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
956 * loadup.el: Setup hash-cons for pure data.
958 Fix duplicate entries in cedet's loaddefs.el files.
959 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
960 Should make most file-local generated-autoload-file unnecessary.
961 (print-readably): Silence warnings.
962 (autoload-find-destination): Take load-name as an arg to make sure
963 it's the same as the one that will be in the file.
964 (autoload-generate-file-autoloads): Adjust to above changes.
965 Try to make the dataflow a bit simpler.
967 * cvs-status.el (cvs-refontify): Remove unused.
969 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
971 * calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
973 * calc-bin.el (calc-radix): Have the "O" option turn on
974 twos-complement mode.
976 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
978 * calc-ext.el (calc-init-extensions): Add keybinding for 'calc-option'.
979 Add `calc-option-prefix-help' to calc-help autoloads.
980 (calc-inverse): Add "Option" to message, as appropriate.
981 (calc-hyperbolic): Add "Option" to message, as appropriate.
982 (calc-option, calc-is-option): New functions.
984 * calc-help.el (calc-full-help): Add `calc-option-help'.
985 (calc-option-prefix-help): New function.
987 * calc-misc.el (calc-help): Add "Option" entry.
989 * calc.el (calc-local-var-list): Add `calc-option-flag'.
990 (calc-option-flag): New variable.
991 (calc-do): Set `calc-option-flag to nil.
992 (calc-set-mode-line): Add "Opt " as appropriate.
994 2010-04-16 Juri Linkov <juri@jurta.org>
996 Move scrolling commands from simple.el to window.el
997 because their primitives are implemented in window.c.
999 * simple.el (scroll-error-top-bottom)
1000 (scroll-up-command, scroll-down-command, scroll-up-line)
1001 (scroll-down-line, scroll-other-window-down)
1002 (beginning-of-buffer-other-window, end-of-buffer-other-window):
1003 * window.el (scroll-error-top-bottom)
1004 (scroll-up-command, scroll-down-command, scroll-up-line)
1005 (scroll-down-line, scroll-other-window-down)
1006 (beginning-of-buffer-other-window, end-of-buffer-other-window):
1007 Move from simple.el to window.el because their primitives are
1008 implemented in window.c.
1010 2010-04-16 Juri Linkov <juri@jurta.org>
1012 * isearch.el (isearch-lookup-scroll-key): Check both
1013 `isearch-scroll' and `scroll-command' properties.
1014 (scroll-up, scroll-down): Remove `isearch-scroll' property.
1016 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
1018 * simple.el (scroll-up-command, scroll-down-command)
1019 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
1021 2010-04-15 Juri Linkov <juri@jurta.org>
1023 * simple.el (scroll-up-command, scroll-down-command)
1024 (scroll-up-line, scroll-down-line): Put `scroll-command'
1025 property on the these symbols. Remove them from
1026 `scroll-preserve-screen-position-commands'.
1028 * mwheel.el (mwheel-scroll): Put `scroll-command' and
1029 `isearch-scroll' properties on the `mwheel-scroll' symbol.
1030 Remove it from `scroll-preserve-screen-position-commands'.
1032 * isearch.el (isearch-allow-scroll): Doc fix.
1034 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
1036 * net/tramp.el (tramp-error-with-buffer): Don't show the
1037 connection buffer when we are in completion mode.
1038 (tramp-file-name-handler): Catch the error for some operations
1039 when we are in completion mode. This gives the user the chance to
1040 correct the file name in the minibuffer.
1042 2010-04-15 Glenn Morris <rgm@gnu.org>
1044 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
1046 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
1048 Simplify by using `define-derived-mode'.
1049 * info.el (Info-mode):
1050 * calendar/todo-mode.el (todo-mode):
1051 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
1052 (gomoku-mode-map): Move initialization into declaration.
1054 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
1057 * ido.el (ido-file-name-all-completions-1):
1058 * minibuffer.el (minibuffer-completion-help):
1059 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
1061 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1063 * simple.el (non-essential): New var.
1065 Add a new field `location' to bookmarks for non-file bookmarks.
1066 * bookmark.el (bookmark-location): Use the new field, if present.
1067 (bookmark-insert-location): Undo last change, not needed any more.
1068 * man.el (Man-bookmark-make-record):
1069 * woman.el (woman-bookmark-make-record): Add `location' field.
1071 2010-04-14 Juri Linkov <juri@jurta.org>
1073 * simple.el (scroll-error-top-bottom): New defcustom.
1074 (scroll-up-command, scroll-down-command): Use it. Doc fix.
1076 * emulation/pc-select.el (pc-select-override-scroll-error):
1077 Obsolete in favor of `scroll-error-top-bottom'.
1079 2010-04-14 Juri Linkov <juri@jurta.org>
1081 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
1082 `scroll-up-command' and `M-v' to `scroll-down-command'.
1084 * emulation/cua-rect.el (cua--init-rectangles):
1085 * forms.el (forms--change-commands):
1086 * image-mode.el (image-mode-map):
1087 Remap scroll-down-command and scroll-up-command
1088 in addition to scroll-down and scroll-up.
1090 2010-04-14 Juri Linkov <juri@jurta.org>
1092 * mwheel.el (scroll-preserve-screen-position-commands):
1093 Add mwheel-scroll to this list of commands.
1095 * simple.el (scroll-preserve-screen-position-commands):
1096 Add scroll-up-command, scroll-down-command, scroll-up-line,
1097 scroll-down-line to this list of commands.
1099 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1101 * obsolete/complete.el: Move from lisp/complete.el.
1103 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
1105 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
1106 to the minor mode function now turns the mode ON unconditionally.
1108 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1110 * vc-dir.el (vc-dir-kill-line): New command.
1111 (vc-dir-mode-map): Bind it to C-k.
1113 * bookmark.el (bookmark-insert-location): Handle a nil filename.
1115 * woman.el: Add bookmark declarations to silence the compiler.
1116 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
1117 step to compatibility between man and woman bookmarks.
1118 Adjust for Man-default-bookmark-title renaming.
1119 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
1121 * man.el: Add bookmark declarations to silence the compiler.
1122 (Man-name-local-regexp): Make it match NAME as well.
1123 (Man-getpage-in-background): Return the buffer.
1124 (Man-notify-when-ready): Use `case'.
1125 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
1126 Don't hardcode "NAME". Simplify.
1127 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
1128 Rename from Man-bookmark-make-record.
1129 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
1130 we have the actual man-args. Use Man-getpage-in-background rather
1131 than `man' since the arg is already processed. Let bookmark.el do the
1132 window handling. Only wait for the relevant process.
1133 Don't forget to autoload.
1135 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
1137 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1139 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
1141 (woman-mode): Setup bookmark support.
1143 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
1144 (man-bookmark-jump): New functions.
1145 (Man-mode): Setup bookmark support.
1147 2010-04-10 Jari Aalto <jari.aalto@cante.net>
1149 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
1150 recognize ssh-keygen prompt (Bug#2817).
1152 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
1154 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
1156 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
1158 Synchronize with Tramp repository.
1160 * net/tramp.el (tramp-completion-function-alist)
1161 (tramp-file-name-regexp, tramp-chunksize)
1162 (tramp-local-coding-commands, tramp-remote-coding-commands):
1164 (tramp-remote-process-environment): Use `format' instead of `concat'.
1165 (tramp-handle-directory-files-and-attributes)
1166 (tramp-get-remote-path): Use `copy-tree'.
1167 (tramp-handle-file-name-all-completions): Backward/ XEmacs
1168 compatibility: Use `completion-ignore-case' if
1169 `read-file-name-completion-ignore-case' does not exist.
1170 (tramp-do-copy-or-rename-file-directly): Do not use
1171 `tramp-handle-file-remote-p'.
1172 (tramp-do-copy-or-rename-file-out-of-band):
1173 Use `tramp-compat-delete-directory'.
1174 (tramp-do-copy-or-rename-file-out-of-band)
1175 (tramp-compute-multi-hops, tramp-maybe-open-connection):
1176 Use `format-spec-make'.
1177 (tramp-find-foreign-file-name-handler)
1178 (tramp-advice-make-auto-save-file-name)
1179 (tramp-set-auto-save-file-modes): Remove superfluous check for
1180 `stringp'. This is done inside `tramp-tramp-file-p'.
1181 (tramp-debug-outline-regexp): New defconst.
1182 (tramp-get-debug-buffer): Use it.
1183 (tramp-check-for-regexp): Use (forward-line 1).
1184 (tramp-set-auto-save-file-modes): Adapt version check.
1186 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
1187 Wrap call of `featurep' for 2nd argument.
1188 (tramp-compat-make-temp-file): Simplify fallback implementation.
1189 (tramp-compat-copy-tree): Remove function.
1190 (tramp-compat-delete-directory): Provide implementation for older
1193 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
1194 Do not use `tramp-fish-handle-file-attributes.
1196 * net/trampver.el: Update release number.
1198 2010-04-10 Glenn Morris <rgm@gnu.org>
1200 * progmodes/compile.el (compilation-save-buffers-predicate):
1201 Add missing :version tag.
1203 2010-04-09 Sam Steingold <sds@gnu.org>
1205 * progmodes/compile.el (compilation-save-buffers-predicate):
1206 Remove the "autoload" cookie.
1208 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
1209 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
1210 and `bug-reference-prog-mode' can be used in hooks directly.
1212 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
1214 Add --author support to git commit.
1215 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
1216 (vc-git-log-edit-mode): New minor mode.
1217 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
1220 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
1222 * vc-hooks.el, vc-git.el: Improve documentation comments.
1224 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1226 Fix some of the problems in defsubst* (bug#5728).
1227 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
1228 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
1230 2010-04-07 Sam Steingold <sds@gnu.org>
1232 * progmodes/compile.el (compilation-save-buffers-predicate):
1233 New custom variable.
1234 (compile, recompile): Pass it to `save-some-buffers'.
1236 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
1238 * wid-edit.el (widget-choose): Move cursor to the second line of
1239 the buffer (Bug#5695).
1241 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
1243 Add new VC methods: vc-log-incoming and vc-log-outgoing.
1244 * vc.el (vc-print-log-setup-buttons): New function split out from
1245 vc-print-log-internal.
1246 (vc-log-internal-common): New function, a parametrized version of
1247 vc-print-log-internal.
1248 (vc-print-log-internal): Just call vc-log-internal-common with the
1250 (vc-incoming-outgoing-internal):
1251 (vc-log-incoming, vc-log-outgoing): New functions.
1252 (vc-log-view-type): New permanent local variable.
1254 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
1256 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
1257 of the dynamic bound vc-short-log.
1258 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
1260 * vc-git.el (vc-git-log-outgoing): New function.
1261 (vc-git-log-view-mode): Use vc-log-view-type instead
1262 of the dynamic bound vc-short-log.
1264 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
1265 of the dynamic bound vc-short-log. Highlight the tag.
1266 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
1267 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
1268 (vc-hg-incoming-mode): Remove.
1269 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
1271 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
1273 Fix default-directory for vc-root-diff.
1274 * vc.el (vc-root-diff): Bind default-directory to the root
1275 directory for the diff command.
1277 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
1279 * progmodes/verilog-mode.el (verilog-forward-sexp):
1280 (verilog-calc-1): Support "disable fork" and "fork wait" multi
1281 word keywords, suggested by Steve Pearlmutter.
1282 (verilog-pretty-declarations): Support lineup of declarations in
1284 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
1285 fix bug for /* / comments
1286 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
1287 Speed up and simplfy as this is never called with a bound.
1288 (verilog-pretty-declarations): Enhance to line up declarations
1289 inside a parameter list, suggested by Alan Morgan.
1290 (verilog-pretty-expr): Tune assignment regular expression match
1291 string for corner cases; also use markers instead of character
1292 number as indent changes the later.
1294 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
1296 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
1298 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
1299 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
1300 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
1301 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
1304 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
1305 1800-2009 keywords, including "global.".
1307 2010-04-06 John Wiegley <jwiegley@gmail.com>
1309 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
1310 appearing in buffer list (if a live buffer name matched a recentf
1311 file basename). Should use uniquify to offer a real solution.
1313 2010-04-06 John Wiegley <jwiegley@gmail.com>
1315 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
1316 comment to code, and add a :version tag.
1317 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
1319 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
1321 Enable recentf-mode if using virtual buffers.
1322 * ido.el (recentf-list): Declare for byte-compiler.
1323 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
1324 (ido-make-buffer-list): Simplify.
1325 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
1327 2010-04-05 Juri Linkov <juri@jurta.org>
1329 Scrolling commands which scroll a line instead of full screen.
1330 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
1332 * simple.el (scroll-up-line, scroll-down-line): New commands.
1333 Put property isearch-scroll=t on them.
1335 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
1338 2010-04-05 Juri Linkov <juri@jurta.org>
1340 Scrolling commands which do not signal errors at top/bottom.
1341 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
1343 * simple.el (scroll-up-command, scroll-down-command): New commands.
1344 Put property isearch-scroll=t on them.
1346 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
1347 `scroll-down-command' and [next] from `scroll-up' to
1348 `scroll-up-command'.
1350 * emulation/cua-base.el: Put property CUA=move on
1351 `scroll-up-command' and `scroll-down-command'.
1352 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
1353 and `scroll-down-command' to `cua-scroll-down'.
1355 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
1357 * help.el (describe-mode): Return nil.
1359 2010-04-04 John Wiegley <jwiegley@gmail.com>
1361 * ido.el (ido-use-virtual-buffers): New variable to indicate
1362 whether "virtual buffer" support is enabled for IDO.
1363 (ido-virtual): Face used to indicate virtual buffers in the list.
1364 (ido-buffer-internal): If a buffer is chosen, and no such buffer
1365 exists, but a virtual buffer of that name does (which would be why
1366 it was in the list), recreate the buffer by reopening the file.
1367 (ido-make-buffer-list): If virtual buffers are being used, call
1368 `ido-add-virtual-buffers-to-list' before the make list hook.
1369 (ido-virtual-buffers): New variable which contains a copy of the
1370 current contents of the `recentf-list', albeit pared down for the
1371 sake of speed, and with proper faces applied.
1372 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
1373 create a list of "virtual buffers" to present to the user in
1374 addition to the currently open set. Note that this logic could
1375 get rather slow if that list is too large. With the default
1376 `recentf-max-saved-items' of 200, there is little speed penalty.
1378 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1380 * font-lock.el: Require CL when compiling.
1381 (font-lock-turn-on-thing-lock): Use `case'.
1383 2010-04-03 Eli Zaretskii <eliz@gnu.org>
1385 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
1388 2010-04-02 Juanma Barranquero <lekktu@gmail.com>
1390 * cedet/semantic/imenu.el (semantic-imenu-bucketize-type-members)
1391 (semantic-create-imenu-directory-index): Fix typos in docstrings.
1392 (semantic-imenu-goto-function): Reflow docstring.
1394 2010-04-02 Juri Linkov <juri@jurta.org>
1396 * ehelp.el (electric-help-orig-major-mode):
1397 New buffer-local variable.
1398 (electric-help-mode): Set it to original major-mode. Doc fix.
1399 (with-electric-help): Use `electric-help-orig-major-mode' instead
1400 of (default-value 'major-mode). Doc fix.
1401 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
1403 2010-04-02 Sam Steingold <sds@gnu.org>
1405 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
1406 `vc-hg-command' with a list of flags.
1408 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1409 Also accept "patch" and "RFE".
1410 (bug-reference-fontify): `bug-reference-url-format' can also be a
1411 function to be able to handle the bug kind.
1412 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
1414 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
1416 * tmm.el (tmm-get-keymap): Check with symbolp before passing
1417 value to fboundp, it may not be a symbol.
1419 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
1421 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
1423 2010-03-31 Juri Linkov <juri@jurta.org>
1425 * simple.el (next-line, previous-line): Re-throw a signal
1426 with `signal' instead of using `ding'.
1427 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
1429 2010-03-31 Juri Linkov <juri@jurta.org>
1431 * simple.el (keyboard-escape-quit): Raise deselecting the active
1432 region higher than exiting the minibuffer.
1433 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
1435 2010-03-31 Juri Linkov <juri@jurta.org>
1437 * image.el (image-animated-p): Use `image-metadata' instead of
1438 `image-extension-data'. Get GIF extenstion data from metadata
1439 property `extension-data'.
1441 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1443 * simple.el (append-to-buffer): Simplify.
1445 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
1447 * textmodes/artist.el (artist-mode): Fix typo in docstring.
1448 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
1450 2010-03-31 Kenichi Handa <handa@m17n.org>
1452 * language/sinhala.el (composition-function-table): Fix regexp for
1453 the new Unicode specification.
1455 * language/indian.el (devanagari-composable-pattern)
1456 (tamil-composable-pattern, kannada-composable-pattern)
1457 (malayalam-composable-pattern): Adjust for the new Unicode
1459 (bengali-composable-pattern, gurmukhi-composable-pattern)
1460 (gujarati-composable-pattern, oriya-composable-pattern)
1461 (telugu-composable-pattern): New variables to cope with the new
1462 Unicode specification. Use them in composition-function-table.
1464 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1466 Make tmm-menubar work for the Buffers menu again (bug#5726).
1467 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
1468 vectors rather than cons cells, as used in menu-bar-update-buffers.
1470 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
1472 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
1473 (js-insert-and-indent): Revert 2009-08-15 change, restoring
1474 electric punctuation for "{}();,:" (Bug#5586).
1476 * mail/sendmail.el (mail-default-directory): Doc fix.
1478 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
1480 * mail/sendmail.el (mail-default-directory): Doc fix.
1482 2010-03-31 Eli Zaretskii <eliz@gnu.org>
1484 * subr.el (version-regexp-alist, version-to-list)
1485 (version-list-<, version-list-=, version-list-<=)
1486 (version-list-not-zero, version<, version<=, version=): Doc fix.
1489 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
1491 * vc.el (vc-root-diff): Doc fix.
1493 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
1495 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
1497 * simple.el (append-to-buffer): Fix last change.
1499 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
1501 * simple.el (append-to-buffer): Ensure that point is preserved if
1502 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
1505 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1507 * files.el (auto-mode-case-fold): Change default to t.
1509 2010-03-30 Juri Linkov <juri@jurta.org>
1511 * dired-x.el (dired-omit-mode): Doc fix.
1513 2010-03-30 Juri Linkov <juri@jurta.org>
1515 * replace.el (occur-accumulate-lines): Move occur-engine related
1516 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
1517 to be located after `occur-engine'.
1519 2010-03-30 Juri Linkov <juri@jurta.org>
1521 Make occur handle multi-line matches cleanly with context.
1522 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
1524 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
1525 (occur-engine): Add local variables `ret', `prev-after-lines',
1526 `prev-lines'. Use more arguments for `occur-context-lines'.
1527 Set first elem of its returned list to `data', and the second elem
1528 to `prev-after-lines'. Don't print the separator line.
1529 In the end, print remaining context after-lines.
1530 (occur-context-lines): Add new arguments `begpt', `endpt',
1531 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
1532 after-lines of the previous match with before-lines of the
1533 current match and not overlap them. Return a list with two
1534 values: the output line and the list of context after-lines.
1536 2010-03-30 Juri Linkov <juri@jurta.org>
1538 * replace.el (occur-accumulate-lines): Fix a bug where the first
1539 context line at the beginning of the buffer was missing.
1541 2010-03-30 Eli Zaretskii <eliz@gnu.org>
1543 * files.el: Make bidi-display-reordering safe variable for boolean
1546 2010-03-29 Phil Hagelberg <phil@evri.com>
1547 Chong Yidong <cyd@stupidchicken.com>
1549 * subr.el: Extend progress reporters to perform "spinning".
1550 (progress-reporter-update, progress-reporter-do-update):
1551 Handle non-numeric value arguments.
1552 (progress-reporter--pulse-characters): New var.
1554 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
1556 * progmodes/compile.el (compilation-start): Fix regexp detection
1557 of initial cd command (Bug#5771).
1559 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
1561 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
1563 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
1565 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
1566 * lisp/progmodes/gdb-mi.el: Restore.
1567 * lisp/progmodes/gdb-ui.el: Remove.
1568 * lisp/progmodes/gud.el: Re-accommodate for gdb-mi.el.
1570 2010-03-25 Glenn Morris <rgm@gnu.org>
1572 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
1573 all dired buffers, even tramp ones. (Bug#5755)
1575 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
1577 Add "union tags" in mpc.el.
1578 * mpc.el: Remove backward compatibility code.
1579 (mpc-browser-tags): Change default.
1580 (mpc--find-memoize-union-tags): New var.
1581 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
1582 (mpc-cmd-find): Handle the case where the playlist does not exist.
1584 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
1585 (mpc-cmd-add): Use mpc-cmd-flush.
1586 (mpc-tagbrowser-tag-name): New fun.
1587 (mpc-tagbrowser-buf): Use it.
1588 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
1590 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
1593 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
1594 Use replace-regexp-in-string.
1595 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
1596 (makefile-imake-mode-syntax-table): Move init into defvar.
1597 (makefile-mode): Use define-derived-mode.
1599 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
1600 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
1601 not be present any more.
1603 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
1605 * faces.el (set-face-attribute): Fix typo in docstring.
1606 (face-valid-attribute-values): Reflow docstring.
1608 * cedet/srecode/table.el (srecode-template-table): Fix docstring typo.
1610 2010-03-24 Glenn Morris <rgm@gnu.org>
1612 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
1614 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
1616 * indent.el (indent-for-tab-command): Doc fix.
1618 2010-03-24 Alan Mackenzie <acm@muc.de>
1620 * progmodes/cc-engine.el (c-remove-stale-state-cache):
1621 Fix off-by-one error. Fixes bug #5747.
1623 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
1625 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
1626 (image-dired-read-comment): Doc fix.
1628 * json.el (json-object-type, json-array-type, json-key-type)
1629 (json-false, json-null, json-read-number):
1630 * minibuffer.el (completion-in-region-functions):
1631 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
1632 (cal-tex-cursor-week):
1633 * emacs-lisp/trace.el (trace-function):
1634 * eshell/em-basic.el (eshell/printnl):
1635 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
1636 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
1637 * obsolete/levents.el (allocate-event, event-key, event-object)
1638 (event-point, event-process, event-timestamp, event-to-character)
1639 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
1640 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
1641 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
1642 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
1643 (reftex-highlight-selection): Fix typos in docstrings.
1645 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
1647 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
1649 2010-03-24 Glenn Morris <rgm@gnu.org>
1651 * mail/rmail.el (rmail-highlight-face): Restore option deleted
1652 2008-02-13 without comment; mark it obsolete.
1653 (rmail-highlight-headers): Use rmail-highlight-face once more.
1655 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
1657 * woman.el (woman2-process-escapes): Only consume the newline if
1658 the filler character is on a line by itself (Bug#5729).
1660 2010-03-24 Kenichi Handa <handa@m17n.org>
1662 * language/indian.el (devanagari-composable-pattern): Add more
1665 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
1667 * net/trampver.el: Update release number.
1669 2010-03-24 Glenn Morris <rgm@gnu.org>
1671 * Makefile.in (ELCFILES): Add cedet/semantic/imenu.el.
1673 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
1675 * net/tramp.el (tramp-find-executable):
1676 Use `tramp-get-connection-buffer'. Make the regexp for checking
1677 output of "wc -l" more robust.
1678 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
1679 (tramp-open-connection-setup-interactive-shell): Remove workaround
1680 for OpenSolaris bug, it is not needed anymore.
1682 2010-03-24 Eric M. Ludlam <zappo@gnu.org>
1684 * cedet/semantic/imenu.el: New file, from the CEDET repository
1687 2010-03-24 Glenn Morris <rgm@gnu.org>
1689 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
1691 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
1693 * files.el (auto-mode-alist): Accept more verilog file patterns.
1695 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
1697 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
1699 2010-03-24 Glenn Morris <rgm@gnu.org>
1701 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
1702 log-edit-before-checkin-process.
1704 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
1706 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
1708 * vc-dispatcher.el (vc-start-logentry): Doc fix.
1709 (log-view-process-buffer, log-edit-extra-flags): Declare.
1711 * log-edit.el (log-edit-before-checkin-process): Doc fix.
1713 * cedet/semantic/bovine/c.el (semantic-c-describe-environment):
1714 Consistently check ede-object is bound throughout.
1716 * cedet/ede/project-am.el (ede-shell-run-something): Declare.
1718 2010-03-23 Sam Steingold <sds@gnu.org>
1720 Fix bug#5620: recalculate all markers on compilation buffer
1721 modifications, not on file modifications.
1722 * progmodes/compile.el (buffer-modtime): New buffer-local variable:
1723 the buffer modification time, for buffers not associated with files.
1724 (compilation-mode): Create it.
1725 (compilation-filter): Update it.
1726 (compilation-next-error-function): Use it instead of
1727 `visited-file-modtime' for timestamp.
1729 2010-03-23 Juri Linkov <juri@jurta.org>
1731 Implement Occur multi-line matches.
1732 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
1734 * replace.el (occur): Doc fix.
1735 (occur-engine): Set `begpt' to the beginning of the first line.
1736 Set `endpt' to the end of the last match line. At first, count
1737 line numbers between `origpt' and `begpt'. Split out code from
1738 `out-line' variable to new let-bindings `match-prefix' and
1739 `match-str'. In `out-line' add non-numeric prefix to all
1740 non-first lines of multi-line matches. Finally, count lines
1741 between `begpt' and `endpt' and add to `lines'.
1743 2010-03-23 Juri Linkov <juri@jurta.org>
1745 * replace.el (occur-accumulate-lines, occur-engine):
1746 Use `occur-engine-line' instead of duplicate code.
1747 (occur-engine-line): New function created from duplicate code
1748 in `occur-accumulate-lines' and `occur-engine'.
1750 * replace.el (occur-engine-line): Add optional arg `keep-props'.
1751 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
1753 2010-03-23 Juri Linkov <juri@jurta.org>
1755 * finder.el: Remove TODO tasks.
1757 * info.el (Info-finder-find-node): Add node "all"
1758 with all package info. Handle a list of multiple keywords
1760 (info-finder): In interactive use with a prefix argument,
1761 use `completing-read-multiple' to read a list of keywords
1764 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
1766 Add a new completion style `substring'.
1767 * minibuffer.el (completion-basic--pattern): New function.
1768 (completion-basic-try-completion, completion-basic-all-completions):
1770 (completion-substring--all-completions)
1771 (completion-substring-try-completion)
1772 (completion-substring-all-completions): New functions.
1773 (completion-styles-alist): New style `substring'.
1775 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
1777 Get rid of .elc files after removal of the corresponding .el.
1778 * Makefile.in (compile-clean): New target.
1779 (compile-main): Use it.
1781 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
1783 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
1784 don't do make there. When compiling with separate object dir, there
1785 is no Makefile there.
1787 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
1789 Get rid of the ELCFILES abomination, again.
1790 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
1791 (all, compile): Don't call compile-last.
1792 (compile-main): Build the "elcfiles" list dynamically.
1793 (compile-targets): New (internal) target.
1795 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
1797 * Makefile.in (top_srcdir): Define.
1798 (abs_top_builddir): Define.
1799 (srcdir): Don't append `/..'.
1800 (EMACS): Use ${abs_top_builddir}.
1801 (all, compile, compile-always, compile-last): Don't set emacswd.
1802 (update-subdirs, update-authors): Use $(top_srcdir) instead of
1804 (lisp): Use $(srcdir) instead of @srcdir@.
1806 2010-03-21 Juri Linkov <juri@jurta.org>
1808 Fix message of multi-line occur regexps and multi-buffer header lines.
1809 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
1811 * replace.el (occur-1): Don't display regexp if it is longer
1812 than window-width. Use `query-replace-descr' to display regexp.
1813 (occur-engine): Don't display regexp in the buffer header for
1814 multi-buffer occur. Display a separate header line with total
1815 match count and regexp for multi-buffer occur.
1816 Use `query-replace-descr' to display regexp.
1818 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
1820 * net/secrets.el: Fix parenthesis.
1821 (secrets-enabled): Fix parenthesis.
1823 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
1825 Use more relative file and directory names.
1826 * Makefile.in (EMACS): Arrange for it to work when we chdir.
1827 (setwins, setwins_almost, setwins_for_subdirs):
1828 Don't `cd'; output relative names.
1829 (all, compile, compile-always, compile-last): Set emacswd.
1830 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
1831 Just cd to the lisp source dir so we can use relative file names.
1833 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
1835 2010-03-20 Glenn Morris <rgm@gnu.org>
1837 * textmodes/rst.el: Use faces for font-lock customization, and make the
1838 old -face variables obsolete.
1839 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
1840 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
1841 (rst-block-face, rst-external-face, rst-definition-face)
1842 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
1843 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
1845 (rst-font-lock-keywords-function): Update for above changes.
1847 2010-03-20 Juri Linkov <juri@jurta.org>
1850 * obsolete/s-region.el: Move to obsolete.
1852 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
1854 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
1856 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
1858 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
1860 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
1862 Add special markup processing for commit logs.
1863 * log-edit.el (log-edit-extra-flags): New variable.
1864 (log-edit): Add new argument MODE. Use that mode when non-nil
1865 instead of the log-view-mode.
1866 (log-view-process-buffer): New function.
1868 * vc.el: Document that the checkin method takes optional
1869 arguments. Document new backend specific method: log-view-mode.
1870 (vc-default-log-edit-mode): New function.
1871 (vc-checkin): Use a backend specific log-view-mode.
1872 Pass extra arguments to the checkin method.
1873 (vc-modify-change-comment): Pass a dummy extra argument.
1875 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
1877 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
1878 (vc-finish-logentry): Process the log buffer before passing it
1879 down. Pass log-edit-extra-flags.
1881 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
1883 (log-edit-extra-flags, log-edit-before-checkin-process):
1886 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
1888 (log-edit-extra-flags, log-edit-before-checkin-process):
1890 (vc-hg-log-edit-mode): New derived mode.
1892 * vc-arch.el (vc-arch-checkin):
1893 * vc-cvs.el (vc-cvs-checkin):
1894 * vc-git.el (vc-git-checkin):
1895 * vc-mtn.el (vc-mtn-checkin):
1896 * vc-rcs.el (vc-rcs-checkin):
1897 * vc-sccs.el (vc-sccs-checkin):
1898 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
1900 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
1902 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
1905 2010-03-19 Glenn Morris <rgm@gnu.org>
1907 * password-cache.el (password-cache, password-cache-expiry): Autoload.
1909 2010-03-18 Glenn Morris <rgm@gnu.org>
1911 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
1913 * replace.el (query-replace-history): Give it a doc string.
1914 (map-query-replace-regexp): Use query-replace-from-history-variable
1915 and query-replace-to-history-variable.
1917 * mail/hashcash.el (declare-function): Remove duplicate definition.
1919 * mail/emacsbug.el (report-emacs-bug-pretest-address):
1920 Make it an obsolete alias for report-emacs-bug-address.
1921 (message-strip-special-text-properties): Declare.
1922 (report-emacs-bug): Remove test for a pretest bug address.
1923 Combine message-mode-specific code.
1925 * mail/supercite.el: Don't require sendmail.
1926 (mh-in-header-p): Declare rather than using with-no-warnings.
1927 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
1928 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
1930 * calendar/cal-french.el: Convert to utf-8.
1932 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
1935 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
1937 * net/secrets.el (secrets-enabled): New variable. Use it instead
1940 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
1942 * net/secrets.el (top): Register the D-Bus signals only when the
1943 service "org.freedesktop.secrets" can be pinged.
1944 Provide subfeature `enabled'.
1946 2010-03-14 Juri Linkov <juri@jurta.org>
1948 Add finder unknown keywords.
1950 * finder.el (finder-unknown-keywords): New function.
1952 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
1953 to create a Finder node with unknown keywords.
1955 2010-03-14 Juri Linkov <juri@jurta.org>
1957 * finder.el (finder-compile-keywords): Replace `princ' with
1958 `prin1' on a list of symbols interned from keyword strings.
1960 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
1961 a comma, then split keywords using a comma and optional whitespace.
1962 Otherwise, split by whitespace.
1970 * progmodes/mixal-mode.el: Fix keywords.
1972 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
1974 * Makefile.in (ELCFILES): Add net/secrets.elc.
1976 * net/secrets.el: New file.
1978 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
1980 * facemenu.el (list-colors-display, list-colors-print): New arg
1981 callback. Use it to allow selecting colors.
1983 * wid-edit.el (widget-image-insert): Insert image prop even if the
1984 current display is non-graphic.
1985 (widget-field-value-set): New fun.
1986 (editable-field): Use it.
1987 (widget-field-value-get): Clean up unused var.
1988 (widget-color-value-create, widget-color--choose-action):
1989 New funs. Allow using list-colors-display to choose color.
1991 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
1993 * cus-edit.el: Resort topmost custom groups.
1994 (custom-buffer-sort-alphabetically): Default to t.
1995 (customize-apropos): Use apropos-parse-pattern.
1996 (custom-search-field): New var.
1997 (custom-buffer-create-internal): Add custom-apropos search field.
1998 (custom-add-parent-links): Don't display parent doc.
1999 (custom-group-value-create): Don't sort top-level custom group.
2000 (custom-magic-value-create): Show visibility button before option name.
2002 (custom-variable-state): New fun, from custom-variable-state-set.
2003 (custom-variable-state-set): Use it.
2004 (custom-group-value-create): Hide options with standard values
2005 using the :hidden-states property. Use progress reporter.
2007 (custom-show): Simplify.
2008 (custom-visibility): Disable images by default.
2009 (custom-variable): New property :hidden-states.
2010 (custom-variable-value-create): Enable images for
2011 custom-visibility widgets. Use :hidden-states property to
2012 determine initial visibility.
2014 * wid-edit.el (widget-image-find): Give images center ascent.
2015 (visibility): Add :on-image and :off-image properties.
2016 (widget-visibility-value-create): Use them.
2018 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
2020 * cus-edit.el (processes): Remove from development group.
2021 (oop, hypermedia): Delete group.
2022 (comm): Promote to top-level group.
2024 * net/browse-url.el (browse-url):
2025 * net/xesam.el (xesam):
2026 * net/tramp.el (tramp):
2027 * net/goto-addr.el (goto-address):
2028 * net/ange-ftp.el (ange-ftp): Put in comm group.
2030 * view.el (view): Remove from editing group.
2032 * uniquify.el (uniquify): Put in files group.
2034 * net/browse-url.el (browse-url):
2035 * ps-print.el (postscript): Put in external group.
2037 * cus-edit.el (outlines):
2038 * textmodes/text-mode.el (text-mode-hook):
2039 * textmodes/table.el (table):
2040 * textmodes/picture.el (picture):
2041 * outline.el (outlines): Put in wp group.
2043 * nxml/nxml-mode.el (nxml): Remove from wp group.
2045 * net/tramp-imap.el (tramp-imap): Put in tramp group.
2047 * mail/metamail.el (metamail): Remove from hypermedia group.
2049 * cus-edit.el (abbrev):
2050 * whitespace.el (whitespace):
2051 * vcursor.el (vcursor):
2052 * reveal.el (reveal):
2053 * hl-line.el (hl-line): Put in convenience group.
2055 * epg-config.el (epg): Put in data group.
2057 * emulation/pc-select.el (pc-select): Put in emulations group.
2059 * calculator.el (calculator): Put in applications group.
2061 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
2063 Add .dir-locals.el support for file-less buffers.
2064 * files.el (hack-local-variables): Split out code to apply local
2065 variable settings ...
2066 (hack-local-variables-apply): ... here. New function.
2067 (hack-dir-local-variables): Use the default directory for when the
2068 buffer does not have an associated file.
2069 (hack-dir-local-variables-non-file-buffer): New function.
2070 * diff-mode.el (diff-mode):
2071 * vc-annotate.el (vc-annotate-mode):
2072 * vc-dir.el (vc-dir-mode):
2073 * log-edit.el (log-edit-mode):
2074 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
2076 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
2078 Add support for shelving snapshots and for showing shelves.
2079 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
2080 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
2082 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
2083 (vc-bzr-extra-menu-map): Map them.
2085 2010-03-11 Glenn Morris <rgm@gnu.org>
2087 * cus-edit.el (customize-changed-options-previous-release):
2090 * image.el (image-animate-max-time): Fix :version tag.
2092 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
2096 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2098 * vc-git.el (vc-git-revision-table): Include remote branches.
2100 2010-03-10 Kim F. Storm <storm@cua.dk>
2103 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
2105 * image.el (image-animate-max-time): New defcustom.
2106 (image-animated-types): New defconst.
2107 (create-animated-image, image-animate-timer)
2108 (image-animate-start, image-animate-stop, image-animate-timeout)
2109 (image-animated-p): New functions.
2111 * image-mode.el (image-toggle-display-image):
2112 Replace `create-image' with `create-animated-image'.
2114 2010-03-09 Miles Bader <miles@gnu.org>
2116 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
2117 instead of "format:"; this ensures that the output is
2120 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
2122 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
2123 that all errors are caught, and that the return value is always a
2126 2010-03-08 Kenichi Handa <handa@m17n.org>
2128 * language/misc-lang.el (windows-1256): New coding system.
2129 (cp1256): New alias of windows-1256 (bug#5690).
2131 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
2133 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
2134 call to rfc822-bad-address. (Bug#5692)
2136 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
2138 * vc-git.el (vc-git-annotate-extract-revision-at-line):
2139 Use vc-git-root as default directory for revision path (Bug#5657).
2141 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
2143 * calculator.el (calculator): Don't bind split-window-keep-point
2146 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
2148 * vc-git.el: Re-flow to fit into 80 columns.
2149 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
2150 Remove spurious `quote' element in each case alternative.
2151 (vc-git-show-log-entry): Use prog1.
2152 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
2154 2010-03-06 Glenn Morris <rgm@gnu.org>
2156 * cedet/semantic/grammar.el (semantic-grammar-header-template):
2157 Update template copyright to GPLv3+.
2159 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
2161 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
2163 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
2165 * macros.el (insert-kbd-macro): Look up keyboard macro using the
2166 definition, not the name (Bug#5481).
2168 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
2170 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
2171 argument with a local variable. (Bug#5670)
2173 2010-03-02 Juri Linkov <juri@jurta.org>
2175 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
2177 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
2179 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
2180 error when FILENAME and NEWNAME are existing remote directories.
2182 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
2185 2010-03-02 Glenn Morris <rgm@gnu.org>
2187 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
2188 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
2190 2010-03-01 Kenichi Handa <handa@m17n.org>
2192 * language/burmese.el (burmese-composable-pattern): Rename from
2193 myanmar-composable-pattern.
2195 * international/characters.el (script-list):
2196 * international/fontset.el (script-representative-chars):
2197 Change myanmar to burmese.
2198 (otf-script-alist): Likewise.
2199 (setup-default-fontset): Likewise. Re-fix :otf spec.
2201 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
2203 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
2205 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
2207 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
2209 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
2211 * net/tramp.el (tramp-handle-write-region): START can be a string.
2212 Take care in the checks. Reported by Dan Davison
2213 <davison@stats.ox.ac.uk>.
2215 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
2217 * net/dbus.el (dbus-introspect, dbus-get-property)
2218 (dbus-set-property, dbus-get-all-properties):
2219 Use `dbus-call-method' when noninteractive. (Bug#5645)
2221 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
2223 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
2224 * emacs-lisp/elint.el (elint-add-required-env):
2225 * cedet/semantic/db-find.el
2226 (semanticdb-find-translate-path-brutish-default):
2227 * cedet/ede/make.el (ede-make-check-version):
2228 * calendar/icalendar.el (icalendar--add-diary-entry):
2229 * calc/calcalg2.el (math-tracing-integral):
2230 * files.el (recover-session-finish): Use with-current-buffer
2231 instead of save-excursion.
2233 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
2235 Fix in-buffer completion when after-change-functions modify the buffer.
2236 * minibuffer.el (completion--replace): New function.
2237 (completion--do-completion): Use it and use relative movement.
2239 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
2241 * international/fontset.el (setup-default-fontset): Fix :otf spec.
2243 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
2245 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
2246 Allow the characters _<> in the stack entry (Bug#5653).
2248 2010-02-26 Kenichi Handa <handa@m17n.org>
2250 * language/burmese.el: Fix entries in composition-function-table.
2251 (myanmar-composable-pattern): New variable.
2253 * international/fontset.el (setup-default-fontset): Add an entry
2256 * international/characters.el (script-list): Add Myanmar
2259 2010-02-26 Glenn Morris <rgm@gnu.org>
2261 * custom.el (custom-initialize-delay): Doc fix.
2263 * mail/sendmail.el (send-mail-function): Autoload the call
2264 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
2266 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
2268 * files.el (hack-local-variables-filter): For eval forms, also
2269 check safe-local-variable-p (Bug#5636).
2271 2010-02-24 Eduard Wiebe <usenet@pusto.de>
2273 * javascript.el (wisent-javascript-jv-expand-tag): Avoid c(ad)ddr
2274 and use c(ad)r of cddr (Bug#5640).
2276 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
2278 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
2279 setting the modes by `ignore-errors'. It might fail, for example
2280 if the file is not owned by the user but the group.
2281 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
2283 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
2285 * files.el (directory-listing-before-filename-regexp): Use
2286 stricter matching for iso-style dates, to avoid false matches with
2287 date-like filenames (Bug#5597).
2289 * htmlfontify.el (htmlfontify): Doc fix.
2291 * eshell/eshell.el (eshell): Doc fix.
2293 * startup.el (fancy-about-screen): In mode-line, apply
2294 mode-line-buffer-id face only to the buffer name (Bug#5613).
2296 2010-02-20 Kevin Ryde <user42@zip.com.au>
2298 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2299 In `watcom' anchor regexp to start of line, to avoid slowness
2302 2010-02-20 Eli Zaretskii <eliz@gnu.org>
2304 * subr.el (remove-yank-excluded-properties): Explain in a comment
2305 why `category' property is removed.
2307 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
2309 * isearch.el (isearch-update-post-hook, isearch-update): Revert
2312 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
2314 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
2315 (icalendar--convert-weekly-to-ical)
2316 (icalendar--convert-yearly-to-ical)
2317 (icalendar--convert-block-to-ical)
2318 (icalendar--convert-cyclic-to-ical)
2319 (icalendar--convert-anniversary-to-ical): Take care of time
2320 specifications where hour has 1-digit only (Bug#5549).
2322 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
2324 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
2325 of disassemble output in GDB 7.1.
2327 2010-02-19 Glenn Morris <rgm@gnu.org>
2329 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
2330 property. (Bug#5593)
2332 2010-02-18 Sam Steingold <sds@gnu.org>
2334 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
2336 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2338 Use abbreviated file names in bookmarks (bug#5591).
2339 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
2340 calls to expand-file-name.
2341 (bookmark-relocate): Use abbreviated file names in bookmarks.
2342 (bookmark-load): Use abbreviated file names in messages.
2344 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
2346 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
2347 expand "." and "..". Reported by Thierry Volpiatto
2348 <thierry.volpiatto@gmail.com>.
2350 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
2352 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
2353 permissions of the temporary file to "0600". In case the remote
2354 file has no read permissions for the owner, there might be
2355 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
2357 22010-02-18 Glenn Morris <rgm@gnu.org>
2359 * emacs-lisp/authors.el (authors-renamed-files-alist):
2360 Add entries for INSTALL.CVS.
2362 2010-02-17 Mark A. Hershberger <mah@everybody.org>
2364 * vc-bzr.el: Fix typo in Known Bugs section.
2366 * isearch.el (isearch-update-post-hook): New hook.
2367 (isearch-update): Use the new hook.
2369 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
2371 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
2372 Fix errors in copying directories.
2373 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
2374 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
2375 (tramp-handle-delete-file)
2376 (tramp-handle-dired-recursive-delete-directory)
2377 (tramp-handle-write-region): Flush also the cache for the upper
2380 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
2382 * simple.el (save-interprogram-paste-before-kill): Doc fix.
2384 * cus-edit.el (hardware): Doc fix.
2386 * man.el (man): Add to external custom group.
2388 * delim-col.el (columns): Move to wp custom group.
2390 * doc-view.el (doc-view): Add to data custom group.
2392 * cedet/data-debug.el (data-debug): Move to extensions group.
2394 * cedet/ede.el (ede):
2395 * cedet/srecode.el (srecode):
2396 * cedet/semantic.el (semantic): Put in tools and extensions group.
2398 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
2400 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
2401 by ispell-parse-output (Bug#5575).
2403 2010-02-16 Kenichi Handa <handa@m17n.org>
2405 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
2406 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
2407 (skkdic-convert): Use `euc-japan' coding system for writing.
2409 2010-02-16 Glenn Morris <rgm@gnu.org>
2411 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
2412 tex-main-file before using it. (Bug#5562)
2414 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
2416 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
2417 warnings, since it is annoying for the user to see them each time he
2420 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
2422 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
2423 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
2424 instead of PROC for caching "first-password-request". Otherwise,
2425 new processes would not profit from passwords already entered.
2427 * net/tramp-cache.el (tramp-dump-connection-properties):
2428 Don't save "first-password-request" property.
2430 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
2432 * outline.el (outline-head-from-level):
2433 * simple.el (with-wrapper-hook):
2434 * cedet/ede.el (ede-run-target, project-delete-target)
2435 (project-dist-files, ede-name, ede-documentation, ede-parent-project)
2436 (ede-adebug-project, ede-adebug-project-parent)
2437 (ede-adebug-project-root):
2438 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
2439 (elint-defun, elint-buffer-env, elint-top-form-logged)
2440 (elint-unbound-variable):
2441 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
2442 Fix typos in docstrings.
2444 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
2446 * files.el (insert-directory): When WILDCARD-REGEXP and
2447 FULL-DIRECTORY-P are nil, insert the file entry instead of the
2448 whole directory. (Bug#5551)
2450 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
2451 dired's alignment sanity. (Bug#5516)
2453 2010-02-14 Juri Linkov <juri@jurta.org>
2455 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
2456 Remove remaining ^H with their preceding chars. (Bug#5566)
2458 2010-02-13 Glenn Morris <rgm@gnu.org>
2460 * simple.el (transpose-subr): Give it a doc-string.
2462 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
2465 2010-02-12 Juri Linkov <juri@jurta.org>
2467 * arc-mode.el (archive-unique-fname): Make directories for nested
2468 archives. (Bug#5540)
2470 2010-02-12 Juri Linkov <juri@jurta.org>
2472 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
2474 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
2476 * subr.el (copy-overlay): Handle deleted overlays.
2478 * man.el (Man-completion-table): Don't signal an error if we can't run
2479 manual-program (bug#4056).
2481 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
2483 * textmodes/artist.el (artist-mt): Fix typos in docstring.
2485 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2487 * info.el (Info-bookmark-jump): Simplify.
2489 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
2490 (bookmark-default-handler): Accept new bookmark field `buffer'.
2492 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
2494 * iswitchb.el (iswitchb-completions): Revert last change.
2496 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
2498 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
2499 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
2500 This prevents file names like "~/" being listed literally.
2502 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
2504 * term/xterm.el (xterm-maybe-set-dark-background-mode):
2505 Remove dead code. (Bug#5546)
2507 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
2509 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
2510 correctly (Bug#5548).
2512 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
2514 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
2515 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
2517 2010-02-08 Kenichi Handa <handa@m17n.org>
2519 * international/mule-util.el (with-coding-priority): Add autoload
2520 cookie for putting `lisp-indent-function'.
2522 2010-02-07 Glenn Morris <rgm@gnu.org>
2524 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
2525 Move F2003 named interfaces from keywords-2 to keywords-1, and
2526 use function-name-face rather than constant-face.
2527 Simplify "abstract interface" regexp.
2529 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
2531 * eshell/esh-util.el (eshell-file-attributes): New optional arg
2532 ID-FORMAT. Pass it to `file-attributes'.
2534 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
2536 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
2538 * faces.el (set-face-attribute): Allow calling
2539 internal-set-lisp-face-attribute with 'unspecified family and
2540 foundry argument (Bug#5536).
2542 2010-02-07 Glenn Morris <rgm@gnu.org>
2544 * progmodes/f90.el (f90-font-lock-keywords-2)
2545 (f90-looking-at-type-like, f90-looking-at-program-block-end):
2546 Handle F2003 named interfaces.
2548 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
2550 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
2551 beg and end before calling c-get-state-before-change-functions.
2553 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
2555 * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
2557 2010-02-05 Juri Linkov <juri@jurta.org>
2559 * doc-view.el (doc-view-mode):
2560 * image-mode.el (image-mode): Put property mode-class=special.
2563 2010-02-05 Mark A. Hershberger <mah@everybody.org>
2565 * vc-svn.el (vc-svn-revision-table): New function.
2567 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
2569 * net/ange-ftp.el (ange-ftp-insert-directory):
2570 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
2571 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
2572 Handle also directories. (Bug#5478)
2574 2010-02-05 Glenn Morris <rgm@gnu.org>
2576 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
2578 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
2580 * startup.el (command-line-1): Convert options beginning with a
2581 single dash as well (Bug#5519).
2583 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
2585 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
2586 * minibuffer.el (completion-initials-expand): Only check the presence
2587 of delims *within* the boundaries, since otherwise the / delim is
2588 always found for files.
2590 Fix up various corner case problems.
2591 * doc-view.el (doc-view-last-page-number): New function.
2592 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
2593 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
2594 (doc-view-kill-proc): Avoid inf-loop in freak cases.
2595 (doc-view-reconvert-doc): Use the new recursive delete-directory.
2596 (doc-view-convert-current-doc): Don't create the resolution.el file
2598 (doc-view-pdf/ps->png): Do it here instead.
2599 (doc-view-already-converted-p): Check that resolution.el is present.
2600 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
2601 windows that are not yet showing images.
2603 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
2605 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
2606 `dired-uncache' for every elemnt which is an absolute file name.
2608 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
2609 directory, handle its directory component.
2610 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
2611 function is called permanently and creates noise, otherwise.
2613 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
2614 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
2615 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
2617 2010-02-04 David Burger <dburger@google.com> (tiny change)
2619 * macros.el (apply-macro-to-region-lines):
2620 Minor simplification. (Bug#5485)
2622 2010-02-04 Glenn Morris <rgm@gnu.org>
2624 * mail/rmail.el (rmail-show-message-1): Handle malformed
2625 quoted-printable text. (Bug#5441)
2627 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
2629 * simple.el (visual-line-mode): Capitalize lighter.
2631 2010-02-03 John Wiegley <jwiegley@gmail.com>
2633 * iswitchb.el (iswitchb-completions): Add bookmark files to the
2634 list of files considered for "virtual buffer" completions.
2636 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
2638 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
2639 also in case of (and (not full) (not wildcard)). This is needed,
2640 when dired is called with a list of files, which are not in
2641 `default-directory'. (Bug#5478)
2643 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
2645 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
2647 2010-02-02 Juri Linkov <juri@jurta.org>
2649 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
2650 from unidiff to allow function-line after @@.
2652 2010-02-02 Juri Linkov <juri@jurta.org>
2654 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
2655 '(RCS SCCS) with inverted condition.
2657 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
2659 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
2662 2010-02-01 Juri Linkov <juri@jurta.org>
2664 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
2665 compare with "pkunzip" and "pkzip" instead of only "pkzip".
2666 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
2667 only when (car archive-zip-extract) is "unzip". (Bug#5475)
2669 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2671 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
2672 (doc-view-revert-buffer): New command.
2673 (doc-view-mode-map): Use it.
2675 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
2677 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
2678 pending merge is detected.
2680 2010-01-31 Juri Linkov <juri@jurta.org>
2682 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
2683 beginning of interactive spec like all other grep commands do.
2684 Put "all" in front of "gz". (Bug#5260)
2686 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
2688 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
2690 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
2692 * dirtrack.el (dirtrack): Warn instead of signalling error if the
2693 regexp is incorrect (Bug#5476).
2695 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
2697 * net/tramp.el (tramp-handle-insert-directory): Handle also
2698 symlinks, when FILENAME is not in `default-directory'.
2700 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
2702 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
2703 FILE is not in `default-directory'. (Bug#5478)
2705 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
2706 of SWITCHES. Handle the case, FILENAME is not in
2707 `default-directory'. (Bug#5478)
2708 (tramp-register-file-name-handlers): Add safe-magic property.
2710 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
2712 * arc-mode.el (archive-zip-extract): Quote the argument passed to
2715 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
2717 * progmodes/flymake.el (flymake-allowed-file-name-masks)
2718 (flymake-master-make-header-init): Add other C++ filename masks.
2719 (flymake-find-possible-master-files)
2720 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
2722 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
2724 Fix some busybox annoyances.
2726 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
2727 not responding." string.
2728 (tramp-open-connection-setup-interactive-shell): Dump stty
2729 settings. Enable "neveropen" arg for all `tramp-send-command'
2730 calls. Handle "=" in variable values properly.
2731 (tramp-find-inline-encoding): Raise an error, when no encoding is
2733 (tramp-wait-for-output): Check, whether PROC buffer is available.
2734 Remove spurious " ^H" sequences, sent by busybox.
2735 (tramp-get-ls-command): Suppress coloring, if possible.
2737 2010-01-28 Glenn Morris <rgm@gnu.org>
2739 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
2741 * log-edit.el (log-edit-strip-single-file-name): Add missing
2742 :safe, :group, and :version tags.
2744 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
2746 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
2749 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
2751 * files.el (delete-directory): Handle moving to trash without
2752 first doing recursion (Bug#5436).
2754 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
2756 * vc-hooks.el (vc-path): Mark as obsolete.
2758 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
2760 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
2763 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
2765 (vc-bzr-log-view-mode): Adjust regexp for the above change.
2767 2010-01-25 Mark A. Hershberger <mah@everybody.org>
2769 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
2771 * vc-bzr.el (vc-bzr-revision-table): New function.
2773 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com> (tiny change)
2775 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
2776 diff-index command. This requires at least git-1.5.5. (Bug#1589).
2778 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
2780 Remove support for adding --signoff on commit.
2781 Future support will use an incompatible generic mechanism.
2782 * vc-git.el (vc-git-add-signoff): Remove variable.
2783 (vc-git-toggle-signoff): Remove function.
2784 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
2786 * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
2787 from xterm-set-background-mode. Return t if the background mode
2789 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
2790 earlier, call it again in case the background mode has changed.
2792 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
2794 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
2797 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
2799 * emacs-lisp/assoc.el (aelement): Doc fix.
2800 (aput, adelete, amake): Use lexical-let (Bug#5450).
2802 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
2804 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
2805 is the same as subprogram call, not declaration. (Bug#5435).
2807 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
2809 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
2810 (tramp-smb-maybe-open-connection): Use it.
2812 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
2814 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
2816 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
2818 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
2819 just because we see "encoding: 8bit".
2820 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
2822 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
2824 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
2826 2010-01-22 Eli Zaretskii <eliz@gnu.org>
2828 * jka-compr.el (jka-compr-load): If load-file is not in
2829 load-history, try its file-truename version. (bug#5447)
2831 2010-01-21 Alan Mackenzie <acm@muc.de>
2833 Fix a situation where deletion of a cpp construct throws an error.
2834 * progmodes/cc-engine.el (c-invalidate-state-cache): Before
2835 invoking c-with-all-but-one-cpps-commented-out, check that the
2836 special cpp construct is still in the buffer.
2837 (c-parse-state): Record the special cpp with markers, not numbers.
2839 2010-01-21 Kenichi Handa <handa@m17n.org>
2841 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
2842 process last-command-event, as it is now decoded first (Bug#5380).
2844 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
2846 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
2848 2010-01-20 Glenn Morris <rgm@gnu.org>
2850 * indent.el (tab-always-indent): Fix custom-type.
2852 2010-01-19 Alan Mackenzie <acm@muc.de>
2854 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
2855 buffer throws "args out of range".
2856 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
2857 playing the role of delimiter.
2859 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
2861 * progmodes/ada-mode.el: Fix bug#5400.
2862 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
2863 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
2864 changed. Delete RECURSIVE parameter; never used. Improve doc string.
2865 Improve comments in "is" portion. Handle null procedure declaration.
2866 (ada-move-to-end): Improve doc string.
2868 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
2870 * ido.el (ido-cur-list): Initialize to nil.
2871 Remove obsolete information from commentary.
2872 (ido-choice-list): Initialize to nil.
2873 (ido-get-bufname): Reject minibuffers.
2874 (ido-make-buffer-list): If "default" is a nonexistent
2875 buffer, ignore it, as per the function's comment.
2876 (ido-kill-buffer-internal): New function.
2877 (ido-kill-buffer-at-head): Use it.
2878 (ido-visit-buffer): Likewise.
2880 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
2882 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
2884 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
2886 * cedet/ede/locate.el (ede-locate-file-in-project)
2887 (ede-locate-file-in-project-impl): Fix typos in docstrings.
2888 (ede-enable-locate-on-project): Fix typos in error messages.
2890 * cedet/semantic/util-modes.el (semantic-unmatched-syntax-face)
2891 (semantic-stickyfunc-old-hlf, semantic-stickyfunc-header-line-format)
2892 (semantic-stickyfunc-sticky-classes, semantic-highlight-func-mode-setup)
2893 (semantic-stickyfunc-fetch-stickyline): Fix typos in docstrings.
2894 (semantic-stickyfunc-popup-menu, semantic-highlight-func-popup-menu):
2895 Fix typos in menu help.
2897 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
2898 Fix typos in chart titles.
2900 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
2901 * cedet/semantic.el (semantic-require-version, semantic--buffer-cache)
2902 (semantic-unmatched-syntax-cache-check, semantic-unmatched-syntax-hook)
2903 (semantic--before-fetch-tags-hook, semantic-new-buffer-fcn-was-run)
2904 (semantic--umatched-syntax-needs-refresh-p, semantic-elapsed-time)
2905 (semantic-parse-stream, semantic-parse-region)
2906 (semantic-parse-region-default, semantic--set-buffer-cache)
2907 (semantic-minimum-working-buffer-size, semantic-refresh-tags-safe)
2908 (semantic-bovinate-toplevel, semantic-load-system-cache-loaded)
2909 (semantic-default-submodes):
2910 * cedet/semantic/db-ebrowse.el (semanticdb-table-ebrowse)
2911 (semanticdb-create-ebrowse-database)
2912 (semanticdb-find-tags-for-completion-method)
2913 (semanticdb-find-tags-by-class-method)
2914 (semanticdb-deep-find-tags-by-name-method)
2915 (semanticdb-deep-find-tags-for-completion-method):
2916 * cedet/semantic/db-el.el (semanticdb-elisp-mapatom-collector)
2917 (semanticdb-find-tags-by-name-method, emacs-lisp-mode)
2918 (semanticdb-find-tags-for-completion-method)
2919 (semanticdb-find-tags-by-class-method)
2920 (semanticdb-deep-find-tags-for-completion-method):
2921 * cedet/semantic/db-find.el (semanticdb-find-translate-path)
2922 (semanticdb-find-need-cache-update-p, semanticdb-find-result-with-nil-p)
2923 (semanticdb-find-scanned-include-tags, semanticdb-find-tags-collector)
2924 (semanticdb-find-tags-by-name-method)
2925 (semanticdb-find-tags-by-name-regexp-method)
2926 (semanticdb-find-tags-for-completion-method)
2927 (semanticdb-find-tags-by-class-method)
2928 (semanticdb-find-tags-external-children-of-type-method)
2929 (semanticdb-find-tags-subclasses-of-type-method)
2930 (semanticdb-deep-find-tags-by-name-method)
2931 (semanticdb-deep-find-tags-by-name-regexp-method)
2932 (semanticdb-deep-find-tags-for-completion-method):
2933 * cedet/semantic/db-global.el (semanticdb-enable-gnu-global-hook)
2934 (semanticdb-enable-gnu-global-in-buffer)
2935 (semanticdb-find-tags-for-completion-method)
2936 (semanticdb-deep-find-tags-by-name-method)
2937 (semanticdb-deep-find-tags-for-completion-method):
2938 * cedet/semantic/db-javascript.el (semanticdb-javascript-tags)
2939 (javascript-mode, semanticdb-find-translate-path)
2940 (semanticdb-find-tags-for-completion-method)
2941 (semanticdb-find-tags-by-class-method)
2942 (semanticdb-deep-find-tags-by-name-method)
2943 (semanticdb-deep-find-tags-for-completion-method)
2944 (semanticdb-find-tags-external-children-of-type-method):
2945 * cedet/semantic/idle.el (semantic-idle-work-core-handler)
2946 (define-semantic-idle-service, semantic-idle-summary-useful-context-p)
2947 (global-semantic-idle-scheduler-mode):
2948 * cedet/srecode/dictionary.el (srecode-field-value)
2949 (srecode-dictionary-add-section-dictionary):
2950 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
2951 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
2952 (describe-class, eieio-describe-generic, describe-generic):
2953 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
2954 (eieio-speedbar-expand):
2955 * emulation/viper-cmd.el (viper-exec-form-in-vi)
2956 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
2957 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
2958 (viper-del-backward-char-in-replace, viper-backward-indent)
2959 (viper-brac-function, viper-register-to-point, viper-submit-report):
2960 * net/tramp.el (tramp-remote-coding-commands):
2961 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
2962 Fix typos in docstrings.
2964 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
2966 * mail/sendmail.el (mail-yank-original): Set the mark if the
2967 specified function for yanking does not do it.
2969 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
2971 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
2973 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
2974 resyncing a directory.
2976 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
2978 * progmodes/ada-mode.el: Fix bug#1920.
2979 (ada-ident-re): Delete ., allow multibyte characters.
2980 (ada-goto-label-re): New; matches goto labels.
2981 (ada-block-label-re): New; matches block labels.
2982 (ada-label-re): New; matches both.
2983 (ada-named-block-re): Deleted; callers changed to use
2984 `ada-block-label-re' instead.
2985 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
2986 Use `ada-block-label-re'.
2987 (ada-indent-on-previous-lines): Improve handling of goto labels.
2988 (ada-get-indent-block-start): Special-case block label.
2989 (ada-get-indent-label): Split into `ada-indent-block-label' and
2990 `ada-indent-goto-label'.
2991 (ada-goto-stmt-start, ada-goto-next-non-ws):
2992 Optionally ignore goto labels.
2993 (ada-goto-next-word): Simplify.
2994 (ada-indent-newline-indent-conditional): Insert newline before
2995 trying to fix indentation; doc fix.
2997 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
2999 * calc/calc.el (calc-command-flags): Give it an initial value.
3001 2010-01-17 Glenn Morris <rgm@gnu.org>
3003 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer): Doc fix.
3005 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
3007 * cedet/semantic.el (semantic-mode):
3008 * files.el (minibuffer-with-setup-hook):
3009 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
3010 (artist-key-draw-continously, artist-key-do-continously-continously)
3011 (artist-key-set-point-continously, artist-mouse-draw-continously):
3012 Fix typos in docstrings.
3014 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
3016 * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
3017 return t (Bug#3898).
3019 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
3021 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
3022 can parse the output of the external commands (Bug#5279).
3024 2010-01-16 Jari Aalto <jari.aalto@cante.net>
3026 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
3028 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
3030 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
3032 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
3034 * startup.el (command-line): Remove unused --icon-type arg.
3035 Handle --display arg, passing it to command-line-1 (Bug#5392).
3037 2010-01-16 Mario Lang <mlang@delysid.org>
3039 * cedet/ede/cpp-root.el (ede-cpp-root-project):
3040 * cedet/ede/files.el (ede-expand-filename):
3041 * cedet/ede/simple.el (ede-simple-project):
3042 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
3043 (semantic-complete-inline-tag-engine):
3044 * cedet/semantic/db-el.el (semanticdb-equivalent-mode):
3045 * cedet/semantic/db-global.el (semanticdb-equivalent-mode):
3046 * cedet/semantic/db-javascript.el (semanticdb-equivalent-mode):
3047 * cedet/semantic/db.el (semanticdb-equivalent-mode):
3048 * cedet/semantic/decorate/include.el (semantic-decoration-unknown-include-describe):
3049 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer):
3050 * emacs-lisp/chart.el (chart-translate-namezone):
3051 * textmodes/artist.el (artist-compute-popup-menu-table):
3052 Remove duplicated words in doc-strings.
3054 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
3056 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
3057 to mairix-search to suppress threading (Bug#5342).
3059 2010-01-15 Kenichi Handa <handa@m17n.org>
3061 * international/mule-cmds.el (canonicalize-coding-system-name):
3062 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
3064 2010-01-15 Glenn Morris <rgm@gnu.org>
3066 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
3068 * wid-edit.el (widget-keymap): Doc fix.
3070 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
3071 former seems to be more widely accepted by various svn versions.
3073 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
3075 * find-cmd.el (find-constituents):
3076 * vc-arch.el (vc-arch-root):
3077 * window.el (window-body-height, pop-up-frames):
3078 * cedet/semantic/edit.el (semantic-reparse-needed-change-hook)
3079 (semantic-no-reparse-needed-change-hook):
3080 * cedet/srecode/insert.el (srecode-resolve-argument-list)
3081 (srecode-template-inserter-blank, srecode-template-inserter-variable)
3082 (srecode-template-inserter-ask, srecode-template-inserter-width)
3083 (srecode-template-inserter-section-start)
3084 (srecode-template-inserter-section-end, srecode-insert-method):
3085 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
3086 * progmodes/ada-stmt.el (ada-if):
3087 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
3088 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
3089 (ispell-encoding8-command, ispell-aspell-supports-utf8)
3090 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
3092 * progmodes/flymake.el (flymake-post-syntax-check):
3093 Fix typo in error message.
3095 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
3097 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
3098 which is always a string. (Bug#5313)
3100 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
3102 * progmodes/ada-xref.el (ada-default-prj-properties):
3103 Simplify previous change.
3105 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
3107 * progmodes/ada-xref.el (ada-default-prj-properties):
3108 Default ada_project_path to $ADA_PROJECT_PATH.
3110 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
3112 * progmodes/ada-mode.el (ada-create-keymap):
3113 Override `narrow-to-defun' with `ada-narrow-to-defun'.
3115 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
3117 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
3118 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
3119 (ada-get-current-indent, ada-imenu-generic-expression)
3120 (ada-which-function): Check for it.
3122 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
3124 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
3125 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
3127 2010-01-14 Glenn Morris <rgm@gnu.org>
3129 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
3131 2010-01-14 Kenichi Handa <handa@m17n.org>
3133 * composite.el (auto-composition-mode): Make it a buffer local
3134 variable (permanent-local).
3135 (auto-composition-function): Set the default value to
3137 (auto-composition-mode): Make it a simple function, not a minor mode.
3138 (global-auto-composition-mode): Likewise.
3139 (turn-on-auto-composition-if-enabled): Delete it.
3141 2010-01-13 Karl Fogel <kfogel@red-bean.com>
3143 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
3145 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
3147 * files.el (copy-directory): Compute target for recursive
3148 directories with identical names. (Bug#5343)
3150 2010-01-12 Glenn Morris <rgm@gnu.org>
3152 * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
3153 it to bug-gnu-emacs rather than emacs-pretest-bug.
3155 2010-01-12 Juanma Barranquero <lekktu@gmail.com>
3157 * cedet/data-debug.el (data-debug): Fix customization group reference.
3159 2010-01-12 Juanma Barranquero <lekktu@gmail.com>
3161 * cedet/semantic/analyze.el (semantic-analyze-push-error)
3162 (semantic-analyze-context, semantic-analyze-context-assignment)
3163 (semantic-analyze-find-tag-sequence, semantic-analyze-find-tag):
3164 * cedet/semantic/java.el (java-mode, semantic-tag-include-filename)
3165 (semantic-java-doc-keywords-map):
3166 * cedet/semantic/bovine/c.el (c-mode, semantic-c-member-of-autocast)
3167 (semantic-lex-c-nested-namespace-ignore-second, semantic-parse-region)
3168 (semantic-c-parse-lexical-token, semantic-c-debug-mode-init-pch)
3169 (semantic-c-classname, semantic-format-tag-uml-prototype)
3170 (semantic-c-dereference-namespace, semantic-analyze-type-constants):
3171 * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string)
3172 (semantic-emacs-lisp-obsoleted-doc, semantic-up-context)
3173 (semantic-get-local-variables, semantic-end-of-command)
3174 (semantic-beginning-of-command, semantic-ctxt-current-class-list)
3176 * cedet/semantic/bovine/make.el (makefile-mode):
3177 * cedet/semantic/wisent/python.el (wisent-python-string-re)
3178 (wisent-python-implicit-line-joining-p, wisent-python-forward-string)
3179 (wisent-python-lex-beginning-of-line, wisent-python-lex-end-of-line)
3180 (semantic-lex, semantic-get-local-variables, python-mode):
3181 * cedet/semantic/wisent/python-wy.el (wisent-python-wy--keyword-table):
3182 * cedet/srecode/extract.el (srecode-extract-state-set)
3183 (srecode-extract-method): Fix typos in docstrings.
3185 2010-01-11 Sam Steingold <sds@gnu.org>
3187 * imenu.el (imenu-default-create-index-function): Detect infinite
3188 loops caused by imenu-prev-index-position-function.
3190 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
3192 * htmlfontify.el (htmlfontify-load-rgb-file)
3193 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
3194 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
3195 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
3196 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
3197 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
3198 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
3199 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
3200 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
3201 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
3202 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
3203 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
3204 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
3205 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
3206 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
3207 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
3208 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
3209 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
3210 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
3211 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
3212 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
3213 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
3214 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
3215 backslash-quoting from parentheses, etc.
3217 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
3219 * progmodes/js.el: Autoload javascript-mode alias.
3221 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
3223 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
3224 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
3225 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
3226 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
3227 Fix typos in docstrings.
3228 (ffap-url-regexp): Doc fix.
3229 (ffap-at-mouse): Fix typo in message.
3231 2010-01-11 Glenn Morris <rgm@gnu.org>
3233 * version.el (emacs-copyright): Set copyright year to 2010.
3235 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3237 * format.el (format-annotate-function): Only set
3238 write-region-post-annotation-function after running to-fn so as not to
3239 affect nested write-region calls (bug#5273).
3241 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
3243 * cedet/semantic.el (semantic-new-buffer-setup-functions):
3246 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
3249 2010-01-10 Richard Kim <emacs18@gmail.com>
3251 * cedet/semantic/wisent/python-wy.el:
3252 * cedet/semantic/wisent/python.el: New files.
3254 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
3256 * man.el (Man-goto-section): Signal error if the section is not
3259 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
3261 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
3262 URLs with a leading triple slash in the file: scheme. (Bug#5345)
3264 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
3266 * progmodes/compile.el: Don't treat compile-command as safe if
3267 compilation-read-command might be nil (Bug#4218).
3269 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
3271 * startup.el (command-line-1): Use orig-argi to check for ignored X and
3274 2010-01-08 Kenichi Handa <handa@m17n.org>
3276 * international/fontset.el (build-default-fontset-data):
3277 Exclude characters in scripts kana, hangul, han, or cjk-misc.
3279 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
3281 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
3282 to `create-file-buffer' as it expects, not just a buffer name.
3283 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
3284 to help uniquify. (Bug#3224)
3286 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
3288 * font-setting.el (font-setting-change-default-font): Use user-spec
3291 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
3293 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
3295 2010-01-05 Tom Tromey <tromey@redhat.com>
3297 * progmodes/python.el (python-font-lock-keywords):
3298 Handle qualified decorators (Bug#881).
3300 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
3302 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
3303 in a lightweight checkout.
3305 2010-01-05 Kenichi Handa <handa@m17n.org>
3307 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
3309 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
3311 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
3313 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
3315 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
3316 checkouts. (Bug#618)
3317 (vc-bzr-log-view-mode): Also highlight the author.
3318 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
3319 (vc-bzr-shelve-menu-map):
3320 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
3321 (vc-bzr-shelve-apply): Make prompt more explicit.
3323 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
3325 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
3326 They are valid characters in URL paths (rfc3986), and at least
3327 Firefox does not understand the encoded version (Bug#3166).
3329 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
3331 * progmodes/octave-mod.el (octave-end-keywords)
3332 (octave-block-begin-or-end-regexp, octave-block-match-alist):
3333 Add "end" keyword (Bug#3061).
3334 (octave-end-as-array-index-p): New function.
3335 (calculate-octave-indent): Use it.
3337 2010-01-02 Karl Fogel <kfogel@red-bean.com>
3339 * bookmark.el: Consistently put the text property on the bookmark name.
3340 (bookmark-bmenu-marks-width): Bump back to 2, to include
3342 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
3343 property on the bookmark name, instead of not putting it at all.
3344 (bookmark-bmenu-list): Fix where we put the text property.
3346 2010-01-02 Karl Fogel <kfogel@red-bean.com>
3348 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
3349 for showing buffer modified state (as added in the previous change).
3351 2010-01-02 Karl Fogel <kfogel@red-bean.com>
3353 * bookmark.el: Show modified state of bookmark buffer more accurately.
3354 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
3355 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
3356 (with-buffer-modified-unmodified): New macro.
3357 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
3358 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
3359 Use new macro to preserve the buffer modified state.
3361 2010-01-02 Karl Fogel <kfogel@red-bean.com>
3363 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
3364 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
3365 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
3366 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
3367 (bookmark-bmenu-rename, bookmark-bmenu-locate)
3368 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
3369 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
3371 2010-01-02 Eli Zaretskii <eliz@gnu.org>
3373 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3374 Make the lines in the generated doc string shorter. (Bug#4668)
3376 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
3378 * net/rcirc.el: Add follow-link binding (Bug#4738).
3380 2010-01-02 Eli Zaretskii <eliz@gnu.org>
3382 * Makefile.in (bzr-update): Rename from cvs-update.
3383 (cvs-update): New target for backward compatibility.
3385 * makefile.w32-in (bzr-update): Rename from cvs-update.
3386 (cvs-update): New target for backward compatibility.
3388 2010-01-02 Karl Fogel <kfogel@red-bean.com>
3390 * bookmark.el: Remove gratuitous gratitude.
3392 2010-01-02 Karl Fogel <kfogel@red-bean.com>
3394 * bookmark.el (bookmark-bmenu-any-marks): New function
3395 (bookmark-bmenu-save): Clear buffer modification if no marks.
3397 2010-01-02 Karl Fogel <kfogel@red-bean.com>
3399 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
3400 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
3401 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
3402 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
3404 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
3405 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
3406 To: emacs-devel {_AT_} gnu.org
3407 Subject: bookmark.el bug report
3408 Date: Mon, 28 Dec 2009 14:19:16 +0800
3409 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
3411 2010-01-02 Karl Fogel <kfogel@red-bean.com>
3413 * bookmark.el: Improvements suggested by Drew Adams:
3414 (bookmark-bmenu-ensure-position): New name for
3415 `bookmark-bmenu-check-position'. Just ensure the position,
3416 don't return any meaningful value.
3417 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
3420 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
3422 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
3423 (bookmark-yank-point, bookmark-bmenu-check-position):
3424 Fix typos in docstrings.
3425 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
3426 (bookmark-name-from-full-record, bookmark-get-position)
3427 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
3428 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
3429 Remove useless quoting of parenthesis, etc. in docstrings.
3431 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
3432 (ediff-append-custom-diff): Fix typo in error message.
3433 (ediff-meta-mark-equal-files): Fix typos in messages.
3435 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
3437 * cedet/semantic/db-typecache.el (semanticdb-typecache-find-default):
3438 Fix typo in docstring.
3440 * net/imap-hash.el (imap-hash-make): Doc fix.
3441 (imap-hash-test): Fix typo in error message; reflow docstring.
3442 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
3443 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
3444 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
3445 Fix typos in docstrings.
3446 (imap-hash-open-connection): Fix typo in error message.
3448 * play/gomoku.el (gomoku): Fix typos in docstring.
3450 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
3451 (gdb-jsonify-buffer): Fix typos in docstring.
3452 (gdb-goto-breakpoint): Fix typo in error message.
3453 ("Display Other Windows"): Fix typo in help message.
3454 (gdb-speedbar-expand-node): Fix typo in question.
3456 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
3457 (idlwave-html-system-help-location, idlwave-html-help-location)
3458 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
3459 (idlwave-help-browser-generic-args, idlwave-help-directory)
3460 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
3461 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
3462 (idlwave-online-help, idlwave-help-html-link)
3463 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
3464 Fix typos in docstrings.
3465 (idlwave-help-with-source, idlwave-help-find-routine-definition):
3467 (idlwave-help-assistant-start): Fix typo in error message.
3469 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
3470 (octave-electric-space): Fix typos in docstrings.
3472 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
3474 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
3476 2010-01-01 Juri Linkov <juri@jurta.org>
3478 * comint.el (comint-input-ring-size): Make it a defcustom and
3479 increase the default to 500 (Bug#5148).
3481 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
3483 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
3484 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
3485 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
3487 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
3489 Show working revision correctly for mercurial.
3490 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
3491 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
3493 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
3495 Declare some functions for the byte-compiler.
3496 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
3497 (speedbar-timer-fn, speedbar-change-expand-button-char)
3498 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
3500 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
3502 This changeset reverts GDB Graphical Interface to use annotations.
3503 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
3505 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
3507 Make vc-dir work on subdirectories of the bzr root.
3508 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument. Return
3509 file names relative to it.
3510 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
3511 relative directory to vc-bzr-after-dir-status.
3513 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
3515 * font-lock.el (font-lock-refresh-defaults): New function, which
3516 can be used to let font-lock react to external changes in
3517 variables like font-lock-defaults and keywords.
3518 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
3520 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
3522 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
3524 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
3526 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
3528 Supersede color.diff settings in git log (bug#5211).
3530 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
3531 escape chars in its output when the user has color.diff set to `always'.
3532 This fix works on git 1.4.2 and newer (released on 2006-08-13).
3534 2009-12-26 Kevin Ryde <user42@zip.com.au>
3536 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
3537 node. Keep previous "Index" name to work with past coreutils too.
3539 * man.el (man): Revise docstring a bit to show -a and -l as
3540 examples. Add -k description since support for it has otherwise
3541 been a secret. (Further to bug#3717.)
3542 (Man-bgproc-sentinel): When "-k foo" produces no output show error
3543 "no matches" rather than "Can't find manpage", as the latter reads
3544 like -k was interpreted as a page name, which is not so. (Bug#5431)
3546 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
3548 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
3549 switches. Check also for //SUBDIRED// line.
3551 2009-12-25 Kenichi Handa <handa@m17n.org>
3553 * language/indian.el (devanagari-composable-pattern): Fixed to
3554 handle ZWNJ and ZWJ. Use it in composition-function-table for
3556 (malayalam-composable-pattern): Fix previous change.
3558 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3560 * ps-print.el (ps-face-attributes): It was not returning the
3561 attribute face for faces specified as string. Reported by harven
3563 (ps-print-version): New version 7.3.5.
3565 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
3567 * calendar/icalendar.el (icalendar--convert-tz-offset):
3569 (icalendar--convert-tz-offset): Fix the "last-day-problem".
3570 (icalendar--add-diary-entry): Remove the trailing blank that
3571 diary-make-entry inserts.
3573 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
3575 Make `file-expand-wildcards' work for remote files.
3577 * files.el (file-expand-wildcards): In case of remote files, check
3578 only local file name part for wildcards. Provide feature 'files
3579 and subfeature 'remote-wildcards. (Bug#5198)
3581 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
3582 if there is already an established connection.
3583 (tramp-advice-file-expand-wildcards): Remove it.
3585 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
3586 (tramp-advice-file-expand-wildcards): Move from tramp.el.
3587 Activate advice for older GNU Emacs versions. (Bug#5237)
3589 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
3591 Some doc fixes (more needed).
3593 * find-cmd.el (find-constituents): Reflow docstring.
3594 (find-cmd, find-prune, find-command): Fix typos in docstrings.
3595 (find-generic): Doc fix.
3597 2009-12-17 Juri Linkov <juri@jurta.org>
3599 Fix regression from 23.1 to allow multiple modes in Local Variables.
3601 * files.el (hack-local-variables-filter): While ignoring duplicates,
3602 don't take `mode' into account.
3603 (hack-local-variables-filter, hack-dir-local-variables):
3604 Don't remove duplicate `mode' from local-variables-alist (like `eval').
3606 2009-12-17 Juri Linkov <juri@jurta.org>
3608 Make `dired-diff' safer. (Bug#5225)
3610 * dired-aux.el (dired-diff): Signal an error when `file' equals to
3611 `current' or when `file' is a directory of the `current' file.
3613 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
3615 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
3616 unconditionally preloaded files.
3618 2009-12-16 Juri Linkov <juri@jurta.org>
3620 Revert to old 23.1 logic of using the file at the mark as default.
3621 * dired-aux.el (dired-diff): Use the file at the mark as default
3622 if it's not the same as the current file, and the target dir is
3623 the current dir or the mark is active. Add the current file
3624 as the arg of `dired-dwim-target-defaults'. Use the default file
3625 in the prompt. (Bug#5225)
3627 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
3629 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
3630 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
3631 (tramp-check-for-regexp): Check also, when an echoing shell stops
3632 to echo sent commands.
3634 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
3636 * Makefile.in: Revert last change (Bug#5191).
3638 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
3640 * vc-hg.el (vc-hg-print-log): Fix argument order.
3641 (vc-hg-working-revision): Make sure the command is executed in a
3642 known environment so that we can parse the output. (Bug#4417)
3644 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
3646 * progmodes/python.el (python-symbol-completions): Remove text
3647 properties from symbol string before calling python-send-receive.
3649 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
3651 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
3652 when there are values for both file and line. (Bug#5060)
3654 2009-12-14 Juri Linkov <juri@jurta.org>
3656 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
3657 whitespace after the file name of the first line of unified format,
3658 because git-diff doesn't output whitespace and file modification time
3659 after the file name.
3661 2009-12-14 David Kastrup <dak@gnu.org>
3663 * info.el (Info-hide-cookies-node): Before hiding a cookie,
3664 check if it already has the `display' property added by
3665 `Info-display-images-node', and not put the `invisible' property
3668 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
3670 * cedet/semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
3671 (semantic-mru-bookmark-mode): Doc fixes.
3673 * cedet/semantic/db.el (semanticdb-cache-get): Use error instead
3676 2009-12-13 Glenn Morris <rgm@gnu.org>
3678 * mail/emacsbug.el (message-sort-headers): Define for compiler.
3679 (report-emacs-bug): In message-mode, sort manually before storing
3680 original report text. (Bug#5178)
3681 Remove superfluous save-excursion.
3683 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
3685 * net/dbus.el (dbus-property-handler): Filter lambda forms out
3686 when responding to "GetAll" properties.
3688 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
3690 * simple.el (compose-mail): Remove mail-setup-with-from from
3691 customization checks.
3693 2009-12-12 Eli Zaretskii <eliz@gnu.org>
3695 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
3696 RAR archives created on Unix systems.
3698 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
3700 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
3701 the varalias that was accidentally removed by the 2009-11-19 change
3704 2009-12-12 Kenichi Handa <handa@m17n.org>
3706 * language/indian.el (indian-compose-regexp): New function.
3707 (malayalam-composable-pattern): Fix the pattern.
3708 (composition-function-table): Set malayalam-composable-pattern for
3709 Malayalam characters.
3711 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
3713 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
3714 rather than down-mouse-1, based on follow-link conventions.
3716 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
3719 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
3721 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
3722 (verilog-vmm-statement-re, verilog-ovm-statement-re)
3723 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
3724 (verilog-leap-to-head, verilog-backward-token):
3725 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
3727 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
3729 * progmodes/verilog-mode.el (verilog-auto-lineup)
3730 (verilog-nameable-item-re): Cleanup user-visible spelling and
3731 documentation errors. One reported by Gary Delp.
3732 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
3733 (verilog-read-decls): Fix AUTOWIRE with types declared in a
3734 package, bug195. Reported by Pierre-David Pfister.
3736 2009-12-11 Glenn Morris <rgm@gnu.org>
3738 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
3740 * mail/emacsbug.el: No longer require sendmail.
3741 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
3742 (report-emacs-bug-orig-text): Doc fix.
3743 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
3744 New local variables, to adapt to different mail-user-agents.
3745 (report-emacs-bug): Fix test for a gnu.org address.
3746 Use overlays for emphasis, since font-lock defeats 'face property.
3747 Pretest bugs also end up at the newsgroup these days.
3748 Stop message-mode stripping text properties.
3749 Set and use the new buffer-local variables.
3750 (report-emacs-bug-hook): Add doc-string.
3751 Remove some unnecessary save-excursions and simplify.
3752 Use the appropriate hook and send-command.
3754 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
3755 capitalization of some menu entries.
3757 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
3759 * whitespace.el (whitespace-display-char-on): Ensure
3760 `buffer-display-table' is unique when two or more windows are
3761 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
3764 2009-12-10 Eli Zaretskii <eliz@gnu.org>
3766 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
3767 characters in the Attribute field.
3769 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
3771 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
3773 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3775 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
3776 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3777 Disregard autoload-excludes.
3778 (update-directory-autoloads): Obey autoload-excludes here instead.
3779 But don't store its contents in no-autoloads and remove entries that
3780 refer to excludes files.
3782 2009-12-10 Glenn Morris <rgm@gnu.org>
3784 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
3785 (expand-mail-aliases): Define for compiler.
3787 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
3788 Define for compiler.
3790 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
3791 appropriate for the mail-user-agent in use.
3793 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
3795 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
3797 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
3799 Fix short log parsing and fontification.
3800 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
3801 Fix fontification for the [merge] label.
3803 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
3805 Drop some properties to avoid surprises (bug#5002).
3806 * htmlfontify.el (hfy-ignored-properties): New defcustom.
3807 (hfy-fontify-buffer): Use it.
3809 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
3812 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
3814 (ffap-locate-file): Remove unused arg `dir-ok' and make other
3815 args compulsory. Adjust callers.
3816 (ffap-gopher-at-point): Remove unused var `name'.
3818 Get rid of the ELCFILES abomination.
3819 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
3820 (compile-elcfiles): New phony target.
3821 (compile-main): Compute ELCFILES dynamically.
3822 (compile-clean): New target to remove left-over elc files.
3823 (compile, all): Use it.
3825 2009-12-09 Kenichi Handa <handa@etlken>
3827 * international/mule-diag.el: Require help-mode instead of help-fns.
3829 2009-12-09 Kenichi Handa <handa@m17n.org>
3831 * international/mule-cmds.el (ucs-names): Supply sufficiently
3832 fine ranges instead of pre-calculating accurate ranges.
3833 Iterate with bigger gc-cons-threshold.
3835 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
3837 Add support for stashing a snapshot of the current tree.
3838 * vc-git.el (vc-git-stash-snapshot): New function.
3839 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
3841 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
3843 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
3844 instead of `(beginning|end)-of-line'.
3846 2009-12-08 Glenn Morris <rgm@gnu.org>
3848 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
3850 * Makefile.in (ELCFILES): Regenerate.
3852 2009-12-07 Juri Linkov <juri@jurta.org>
3854 Don't lazy-highlight the comint output in history Isearch mode.
3856 * comint.el (comint-history-isearch-search): Instead of
3857 `comint-line-beginning-position', use `comint-after-pmark-p'
3858 to check if point if before the process mark, and go to
3859 `process-mark' in this case.
3861 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3863 * textmodes/tex-mode.el (latex-complete)
3864 (latex-indent-or-complete): Remove.
3865 (latex-mode): Set completion-at-point-functions instead.
3867 Provide a standard completion command and hook it into TAB.
3868 * minibuffer.el (completion-at-point-functions): New var.
3869 (completion-at-point): New command.
3870 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
3871 * progmodes/python.el (python-mode-map): Use completion-at-point.
3872 (python-completion-at-point): Rename from python-partial-symbol and
3873 adjust for use in completion-at-point-functions.
3874 (python-mode): Setup completion-at-point for Python completion.
3875 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
3876 extracted from lisp-complete-symbol.
3877 (lisp-complete-symbol): Use it.
3878 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
3879 setup completion-at-point for Elisp completion.
3880 (emacs-lisp-mode-map, lisp-interaction-mode-map):
3881 Use completion-at-point.
3882 * ielm.el (ielm-map): Use completion-at-point.
3883 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
3884 * progmodes/sym-comp.el: Move to...
3885 * obsolete/sym-comp.el: Move from progmodes.
3887 2009-12-07 Eli Zaretskii <eliz@gnu.org>
3889 Prevent save-buffer in Rmail buffers from using the coding-system
3890 of the current message, and from clobbering the encoding mnemonics
3891 in the mode line (Bug#4623).
3893 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
3895 (rmail-message-encoding): New variable.
3896 (rmail-write-region-annotate): Record the encoding of the current
3897 message in rmail-message-encoding.
3898 (rmail-after-save-hook): New function, restores the encoding of
3899 the current message after the message collection is saved.
3901 2009-12-07 Juri Linkov <juri@jurta.org>
3903 * progmodes/grep.el (grep-read-files): Use `completing-read'
3904 instead of `read-string'. Set its `collection' arg to
3905 `read-file-name-internal'. (Bug#4301)
3907 2009-12-07 Juri Linkov <juri@jurta.org>
3909 Correctly restore original Isearch point. (Bug#4994)
3911 * isearch.el (isearch-mode): Move `isearch-push-state' after
3912 `(run-hooks 'isearch-mode-hook)'.
3913 (isearch-cancel): When `isearch-push-state-function' is defined,
3914 let-bind `isearch-cmds' to the first state (the last element of
3915 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
3916 function and restores the original point). Otherwise, move point
3917 to `isearch-opoint'.
3919 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3921 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
3922 chars that don't have names, so the table can be built much faster at
3925 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
3927 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
3928 change. Suggested by David Kastrup.
3930 * simple.el (compose-mail): Check for incompatibilities and warn.
3931 (compose-mail-user-agent-warnings): New option.
3933 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
3935 Support showing a single log entry from vc-annotate.
3936 * vc.el (print-log): Add a new argument: START-REVISION.
3937 (vc-print-log-internal): Add a new optional argument and
3938 pass it to the backend.
3939 (vc-print-log, vc-print-root-log): Adjust callers.
3940 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
3941 buffer already displays the requested log entry, use it.
3942 Otherwise display only the log entry in question.
3943 * vc-svn.el (vc-svn-print-log):
3944 * vc-mtn.el (vc-mtn-print-log):
3945 * vc-hg.el (vc-hg-state):
3946 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
3947 (vc-git-show-log-entry): Return t on success.
3948 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
3949 (vc-bzr-show-log-entry): Return t on success.
3950 * vc-rcs.el (vc-rcs-print-log):
3951 * vc-sccs.el (vc-sccs-print-log):
3952 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
3954 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
3956 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
3957 Add menus to the meta mode. (Bug#5043)
3959 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
3961 * ediff-init.el (ediff-event-key): Use event-to-character instead of
3964 * ediff.el (ediff-buffers-internal): Add unwind-protect.
3966 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
3968 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
3969 Berbain <raphael.berbain@gmail.com>.
3971 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
3973 (tramp-initial-end-of-output): New defconst.
3974 (tramp-methods, tramp-find-shell)
3975 (tramp-open-connection-setup-interactive-shell)
3976 (tramp-maybe-open-connection): Use it.
3977 (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
3978 existence of `#' and `$'.
3980 * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
3981 `tramp-initial-end-of-output'.
3983 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
3985 Get the background mode from the terminal for xterm, and set
3987 * term/xterm.el (xterm-set-background-mode): New function.
3988 (terminal-init-xterm): Use it in case xterm supports background
3989 color queries. Recompute faces after getting the background
3992 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
3994 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
3995 number comment back on its own line, for easier parsing.
3997 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3999 Make it work for non-file buffers (bug#5102).
4000 * doc-view.el (doc-view-current-cache-dir):
4001 Use doc-view-buffer-file-name rather than buffer-file-name.
4002 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
4004 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
4006 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
4007 author field is too short.
4009 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
4011 * vc-git.el (vc-git-print-log): Handle a limit argument.
4012 Display the short log in graph form and with labels.
4013 (vc-git-log-view-mode): Handle labels.
4015 Make vc-revert change VC state from 'added to 'unregistered.
4016 * vc-git.el (vc-git-revert): Call git reset first.
4018 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
4020 * net/newst-backend.el, net/newst-plainview.el:
4021 * net/newst-reader.el, net/newst-ticker.el:
4022 * net/newst-treeview.el, net/newsticker.el:
4023 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
4025 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
4027 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
4029 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
4030 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
4031 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
4032 Update annotation regexp.
4034 * simple.el (beginning-of-visual-line): Constrain to field
4035 boundaries (Bug#5106).
4037 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
4039 * xml.el (xml-substitute-numeric-entities): Move
4040 newsticker--decode-numeric-entities in newst-backend.el to
4041 xml-substitute-numeric-entities in xml.el. (Bug#5008)
4042 * net/newst-backend.el (newsticker--parse-generic-feed)
4043 (newsticker--parse-generic-items)
4044 (newsticker--decode-numeric-entities): Move
4045 newsticker--decode-numeric-entities in newst-backend.el to
4046 xml-substitute-numeric-entities in xml.el. (Bug#5008)
4048 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
4050 * progmodes/js.el (js--js-not): Add null to the list of values.
4052 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
4054 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
4056 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
4058 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
4059 delimiter if it is at the end of the current line.
4060 (bibtex-generate-url-list): Fix docstring.
4062 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4064 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
4065 minibuffer's content with itself.
4066 Fold the confirm-after-completion case into the `confirm' case.
4067 (completion-pcm-word-delimiters): Add : and / to the delimiters.
4069 2009-12-06 Kevin Ryde <user42@zip.com.au>
4071 * ffap.el (ffap-rfc-path): Make this a defcustom since
4072 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
4074 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
4075 manuals, similar to existing setup for help-mode. (Bug#3913.)
4077 2009-12-05 Juri Linkov <juri@jurta.org>
4079 Save and restore dired buffer's point positions too. (Bug#4880)
4081 * dired.el (dired-save-positions): Return in the first element
4082 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
4084 (dired-restore-positions): First restore buffer's position.
4085 While restoring window's positions, check if window still displays
4086 the original buffer.
4088 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
4090 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
4093 * cedet/semantic/ia.el (semantic-ia-complete-symbol):
4094 Make argument optional.
4096 * shell.el (shell): Require ansi-color (Bug#5113).
4098 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
4100 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
4102 2009-12-05 Alan Mackenzie <acm@muc.de>
4104 * progmodes/cc-mode.el (c-before-hack-hook)
4105 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
4106 `c-file-style' to work again. This reversion restores the current
4107 software to its state in Emacs 23.1. (Bug#4146)
4109 2009-12-05 Kevin Ryde <user42@zip.com.au>
4111 * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
4112 comment-start-skip to comment-end-skip as comment (Bug#4781).
4114 2009-12-05 Juri Linkov <juri@jurta.org>
4116 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
4117 for virtual nodes. (Bug#4147)
4118 (Info-find-node-2): Set `Info-current-node-virtual' to nil
4119 when moving from a virtual node.
4120 (Info-mode-menu): Add `Info-virtual-index' to the menu.
4121 (Info-mode): Add `Info-virtual-index' to the docstring.
4123 2009-12-05 Eric Ludlam <zappo@gnu.org>
4125 * cedet/semantic/bovine/c.el (semantic-c-describe-environment):
4126 Describe project macro symbols.
4128 * cedet/semantic/complete.el (semantic-complete-do-completion):
4129 Don't call semantic-collector-current-exact-match.
4131 * cedet/ede.el (ede-apply-preprocessor-map): Accept lists of
4132 ede-objects as targets.
4134 * cedet/ede/pmake.el (ede-proj-makefile-insert-variables): Output
4135 a target's object list even if compiler vars are already in the
4138 * cedet/ede/emacs.el (ede-preprocessor-map): Add config.h to the
4139 list of headers producing necessary macros.
4141 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
4143 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
4144 track of the buffer position of the end of a BibTeX entry as this
4145 position may change during reformatting.
4146 (bibtex-format-entry): Remove whitespace before processing
4147 numerical fields so that we recognize the latter properly.
4148 (bibtex-reformat): Do not use push which changes the global value
4149 of bibtex-entry-format.
4150 (bibtex-field-braces-alist, bibtex-field-strings-alist)
4151 (bibtex-field-re-init): Replace only space characters by regexp
4153 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
4154 (bibtex-initialize): Also update bibtex-strings.
4155 (bibtex-kill-field): Preserve white space at end of entry.
4156 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
4157 Update bibtex-reference-keys.
4159 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
4161 * minibuffer.el (completion-pcm--merge-try): Also consider placing
4162 point after a star, if that's the only place where modifications can
4165 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
4167 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
4170 2009-12-04 Juri Linkov <juri@jurta.org>
4172 * proced.el (proced): Call `(proced-update t)' to update process
4173 information instead of only running proced-post-display-hook.
4174 (proced-send-signal): Add a leading space to the buffer name
4175 " *Marked Processes*" to make this buffer ephemeral.
4177 2009-12-04 Juri Linkov <juri@jurta.org>
4179 * dired.el (dired-auto-revert-buffer): New defcustom.
4180 (dired-internal-noselect): Use it.
4182 2009-12-04 Juri Linkov <juri@jurta.org>
4184 Change roles of modes and functions in image-mode.el (Bug#5062).
4186 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
4187 in `auto-mode-alist'.
4188 (image-mode-previous-major-mode): New variable.
4189 (image-minor-mode-map): Rename from `image-mode-text-map'.
4190 (image-mode): Move graceful error-handling code from
4191 `image-minor-mode' to here. On errors call `image-mode-as-text'.
4192 (image-minor-mode): Remove all image-handling code.
4193 Replace `image-mode-text-map' with `image-minor-mode-map'.
4194 Check for `image-type' in mode-line format string.
4195 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
4196 (image-mode-as-text): New function with most code from
4198 (image-toggle-display-text): Move code that removes image
4199 properties from `image-toggle-display' to here.
4200 (image-toggle-display-image): New function with code that adds
4201 image properties copied from `image-toggle-display'.
4202 (image-toggle-display): Remove most code with leaving only code
4203 that toggles between `image-mode-as-text' and `image-mode'.
4205 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
4207 * net/newst-treeview.el
4208 (newsticker--treeview-list-highlight-start): Restored call to
4209 save-excursion: Selected item was stuck.
4210 (newsticker--treeview-list-select): New.
4211 (newsticker--treeview-item-show-text)
4212 (newsticker--treeview-item-show)
4213 (newsticker--treeview-item-update): Use new
4214 newsticker-treeview-item-mode.
4215 (newsticker-treeview-update): Keep current item.
4216 (newsticker-treeview-next-new-or-immortal-item): Doc change.
4217 (newsticker--treeview-first-feed): Doc change.
4218 (newsticker-treeview-list-menu)
4219 (newsticker-treeview-item-menu): Added menu entries.
4220 (newsticker-treeview-item-mode): New.
4222 * net/newst-backend.el (newsticker-customize): Delete other
4225 2009-12-04 Sam Steingold <sds@gnu.org>
4227 * log-view.el (log-view-mode-map): "q" calls quit-window,
4228 like in all the other non-self-insert buffers.
4230 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4233 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
4234 key decoding rather than do it manually via last-input-event +
4236 (term-exec): Use delete-and-extract-region.
4237 (term-handle-ansi-terminal-messages): Remove unused var `end'.
4238 (term-process-pager): Remove unused var `i'.
4239 (term-dynamic-simple-complete): Make obsolete.
4240 (serial-update-config-menu): Remove unused vars `y' and `str'.
4241 (term-update-mode-line): Remove unused var `temp'.
4243 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
4245 Limit the number of log entries displayed by default.
4246 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
4247 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
4248 using a prefix argument.
4250 2009-12-03 Glenn Morris <rgm@gnu.org>
4252 * progmodes/idlwave.el (class): Restore still useful declaration.
4254 2009-12-03 Alan Mackenzie <acm@muc.de>
4256 Enhance `c-parse-state' to run efficiently in "brace deserts".
4258 * progmodes/cc-mode.el (c-basic-common-init):
4259 Call c-state-cache-init.
4260 (c-neutralize-syntax-in-and-mark-CPP): Rename from
4261 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
4262 placing `category' properties value 'c-cpp-delimiter at its boundaries.
4264 * progmodes/cc-langs.el (c-before-font-lock-function):
4265 c-extend-and-neutralize-syntax-in-CPP has been renamed
4266 c-neutralize-syntax-in-and-mark-CPP.
4268 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
4269 with `category' properties now, not `syntax-table' ones.
4271 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
4272 enhanced (but slower) version of c-end-of-macro that won't land
4273 inside a literal or on another awkward character.
4274 (c-state-cache-too-far, c-state-cache-start)
4275 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
4276 (c-state-nonlit-pos-cache-limit, c-state-point-min)
4277 (c-state-point-min-lit-type, c-state-point-min-lit-start)
4278 (c-state-min-scan-pos, c-state-brace-pair-desert)
4279 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
4280 buffer local variables.
4281 (c-state-literal-at, c-state-lit-beg)
4282 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
4283 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
4284 (c-state-cache-top-paren, c-state-cache-after-top-paren)
4285 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
4286 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
4287 (c-renarrow-state-cache)
4288 (c-append-lower-brace-pair-to-state-cache)
4289 (c-state-push-any-brace-pair, c-append-to-state-cache)
4290 (c-remove-stale-state-cache)
4291 (c-remove-stale-state-cache-backwards, c-state-cache-init)
4292 (c-invalidate-state-cache-1, c-parse-state-1)
4293 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
4294 (c-parse-state): Enhance and refactor.
4295 (c-debug-parse-state): Amend to deal with all the new variables.
4297 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
4298 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
4299 modify to use category text properties rather than syntax-table ones.
4300 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
4301 to switch off/on the syntactic paren property of C++ template
4302 delimiters using the category property.
4303 (c-with-<->-as-parens-suppressed): Macro to invoke code with
4304 template delims suppressed.
4305 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
4306 New constant/macros which apply category properties to the start
4307 and end of preprocessor constructs.
4308 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
4309 "comment out" the syntactic value of characters in preprocessor
4311 (c-with-cpps-commented-out)
4312 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
4313 with characters in all or all but one preprocessor constructs
4316 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
4318 * proced.el (proced-filter-alist): Use regexp-quote.
4320 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
4323 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
4324 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
4325 arguments. Expand `default-directory'.
4327 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
4328 the benefit of returning an expanded localname.
4329 (tramp-tramp-file-p): Handle the case NAME is not a string.
4331 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
4333 Add support for bzr shelve/unshelve.
4334 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
4335 (vc-bzr-extra-menu-map): New variables.
4336 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
4337 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
4338 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
4339 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
4340 (vc-bzr-dir-extra-headers): Display shelves.
4342 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
4344 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4346 * textmodes/bibtex.el (bibtex-complete-internal):
4347 Use completion-in-region.
4348 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
4350 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
4352 Support applying stashes. Improve UI.
4353 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
4354 (vc-git-stash-apply, vc-git-stash-pop)
4355 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
4356 (vc-git-stash-menu): New functions.
4357 (vc-git-stash-menu-map): New variable.
4358 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
4360 2009-12-03 Glenn Morris <rgm@gnu.org>
4362 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
4363 (vc-print-log-internal): Fix previous change.
4364 (vc-revert): Correct pluralization.
4366 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4368 * progmodes/make-mode.el (makefile-special-targets-list): No need for
4369 it to be an alist any more.
4370 (makefile-complete): Use completion-in-region.
4372 * progmodes/octave-mod.el (octave-complete-symbol):
4373 Use completion-in-region.
4376 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
4377 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
4378 (idlwave-complete-class): Don't quote lambda.
4379 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
4380 (idlwave-mode-map): Move initialization into declaration.
4381 (idlwave-action-and-binding): Use backquotes.
4382 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
4384 (idlwave-is-pointer-dereference): Remove unused var `pos'.
4385 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
4386 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
4387 `parts', and `all-parts'.
4388 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
4389 (idlwave-convert-xml-system-routine-info): Remove unused string
4391 (idlwave-display-user-catalog-widget): Use dolist.
4392 (idlwave-scanning-lib): Declare dynamically-scoped var.
4393 (idlwave-scan-library-catalogs): Remove unused var `flags'.
4394 (completion-highlight-first-word-only): Declare to silence bytecomp.
4395 (idlwave-popup-select): Tighten scope of `resp'.
4396 (idlwave-find-struct-tag): Remove unused var `beg'.
4397 (idlwave-after-load-rinfo-hook): Declare.
4398 (idlwave-sintern-class-info): Remove unused var `taglist'.
4399 (idlwave-find-class-definition): Remove unused var `list'.
4400 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
4401 (idlwave-what-module-find-class): Remove unused var `classes'.
4403 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
4405 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
4407 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4409 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
4410 buffers visited. Remove redundant current-buffer-saving.
4412 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4414 Use completion-in-buffer and remove uses of dynamic scoping.
4415 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
4416 (pascal-buffer-to-use, pascal-flag): Don't declare.
4417 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
4418 (pascal-get-completion-decl, pascal-keyword-completion):
4419 Add `pascal-str' argument, save-excursion,
4420 return the found completions, and don't filter with pascal-pred.
4421 (pascal-completion-cache): New var.
4422 (pascal-completion): Don't switch buffer any more (it was never
4423 necessary). Don't save-excursion any more (it's done by the called
4424 subroutines). Use a cache to avoid redundant computations.
4425 Use complete-with-action rather than pascal-completion-response and
4426 let it apply the predicate as well.
4427 (pascal-complete-word): Use completion-in-buffer when
4428 pascal-toggle-completions is nil.
4429 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
4431 (pascal-comp-defun): Don't change buffer any more.
4432 Use complete-with-action rather than pascal-completion-response and
4433 let it apply the predicate as well.
4434 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
4437 2009-12-02 Kenichi Handa <handa@m17n.org>
4439 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
4440 shape for all Indic scripts.
4442 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4444 Use completion-in-buffer.
4445 * wid-edit.el (widget-field-text-end): New function.
4446 (widget-field-value-get): Use it.
4447 (widget-string-complete, widget-file-complete)
4448 (widget-color-complete): Use it and completion-in-region.
4449 (widget-complete): Don't narrow the buffer.
4451 2009-12-02 Glenn Morris <rgm@gnu.org>
4453 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
4454 (rmail-select-summary): Use rmail-pop-to-buffer.
4455 * mail/rmailsum.el: Replace all pop-to-buffer calls with
4456 rmail-pop-to-buffer, to prevent horizontal splits.
4458 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
4459 save-excursion with save-current-buffer.
4460 Widen before searching. (Bug#5093)
4461 (diary-list-sexp-entries): Remove superfluous save-excursion.
4463 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
4465 * woman.el (woman-make-bufname): Handle man-pages with "." in the
4468 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
4470 * ido.el (ido-file-internal): Handle filenames at point that do
4471 not have a directory part. (Bug#5049)
4473 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
4475 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
4476 (mpc-songs-jump-to, mpc-resume): Doc fixes.
4478 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
4480 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
4481 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
4484 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4486 * comint.el (comint-insert-input): Ignore clicks to the right of
4487 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
4489 * vc.el (vc-print-log-internal): Don't wait for the process to
4490 terminate before setting up the major mode.
4492 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
4495 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
4498 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
4500 2009-12-01 Glenn Morris <rgm@gnu.org>
4502 * window.el (window--display-buffer-2): Fix previous changes.
4504 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
4506 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
4508 2009-12-01 Glenn Morris <rgm@gnu.org>
4510 * Makefile.in (ELCFILES): Add mpc.elc.
4512 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4516 2009-12-01 Glenn Morris <rgm@gnu.org>
4518 * window.el (window-to-use): Define for compiler.
4520 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
4521 consistent with others (no final period).
4523 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
4524 (rmail-mime-show): Downcase the encoding. (Bug#5070)
4526 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
4528 Make vc-print-log buttons work.
4529 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
4531 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
4533 * savehist.el (savehist-autosave-interval): Allow setting to nil
4534 through customize. (Bug#5056)
4536 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
4538 Fix references to jit-lock properties.
4539 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
4540 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
4541 (perl-font-lock-special-syntactic-constructs):
4542 Quote jit-lock-defer-multiline property.
4544 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
4546 * vc-git.el (vc-git-registered): Call vc-git-root only once.
4548 2009-11-30 Juri Linkov <juri@jurta.org>
4550 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
4551 value `buffer' of `multi-isearch-next-buffer-current-function'.
4552 Use `(current-buffer)' when `buffer' is nil.
4553 (multi-isearch-next-buffer-from-list): Don't fallback to
4554 `(current-buffer)' when `buffer' is nil. (Bug#4947)
4556 2009-11-30 Juri Linkov <juri@jurta.org>
4558 * misearch.el (multi-isearch-read-buffers): Move canonicalization
4559 of buffers with `get-buffer' to `multi-isearch-buffers'.
4560 (multi-isearch-buffers, multi-isearch-buffers-regexp):
4561 Canonicalize BUFFERS with `get-buffer'. Doc fix.
4562 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
4563 FILES with `expand-file-name' converting relative file names
4564 to absolute. Doc fix. (Bug#4727)
4566 2009-11-30 Juri Linkov <juri@jurta.org>
4568 * misearch.el (multi-isearch-read-buffers)
4569 (multi-isearch-read-matching-buffers): New functions.
4570 (multi-isearch-buffers, multi-isearch-buffers-regexp):
4571 Use them in the `interactive' spec. Doc fix.
4572 (multi-isearch-read-files, multi-isearch-read-matching-files):
4574 (multi-isearch-files, multi-isearch-files-regexp):
4575 Use them in the `interactive' spec. Doc fix. (Bug#4725)
4577 2009-11-30 Juri Linkov <juri@jurta.org>
4579 * doc-view.el (doc-view-continuous):
4580 Rename from `doc-view-continuous-mode'.
4581 (doc-view-menu): Move "Toggle display" to the top.
4582 Add submenu "Continuous" with radio buttons "Off"/"On"
4583 and "Save as Default".
4584 (doc-view-scroll-up-or-next-page)
4585 (doc-view-scroll-down-or-previous-page)
4586 (doc-view-next-line-or-next-page)
4587 (doc-view-previous-line-or-previous-page): Rename
4588 `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
4590 2009-11-30 Juri Linkov <juri@jurta.org>
4592 * comint.el (comint-mode-map): Rebind `M-r' from
4593 `comint-previous-matching-input' to
4594 `comint-history-isearch-backward-regexp'.
4595 Unbind `M-s' to allow global key binding `M-s'.
4596 Add menu items for `comint-history-isearch-backward' and
4597 `comint-history-isearch-backward-regexp'. (Bug#3746)
4599 2009-11-30 Juri Linkov <juri@jurta.org>
4601 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
4602 For def=recenter, replace `recenter' with `recenter-top-bottom'
4603 that is called with `this-command' and `last-command' let-bound
4604 to `recenter-top-bottom'. When the last `def' was not `recenter',
4605 set `recenter-last-op' to nil. (Bug#4981)
4607 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
4609 Minor cleanup and simplification.
4610 * filecache.el (file-cache-add-directory)
4611 (file-cache-add-directory-recursively)
4612 (file-cache-add-from-file-cache-buffer)
4613 (file-cache-delete-file-regexp, file-cache-delete-directory)
4614 (file-cache-files-matching-internal, file-cache-display): Use dolist.
4615 (file-cache-temp-minibuffer-message): Delete function.
4616 (file-cache-minibuffer-complete): Use minibuffer-message instead.
4618 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
4619 Don't signal an error when bumping into EOB in tr, s, or y.
4621 2009-11-29 Juri Linkov <juri@jurta.org>
4623 * startup.el (fancy-about-text): Fix wording of Guided Tour.
4626 * descr-text.el (describe-char-unidata-list): Use lowercase name
4627 for "Unicode name" like in other tags.
4629 2009-11-29 Juri Linkov <juri@jurta.org>
4631 * ediff-util.el (ediff-minibuffer-with-setup-hook):
4632 New compatibility macro.
4633 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
4635 2009-11-29 Juri Linkov <juri@jurta.org>
4637 Add defcustom to define the cycling order of `recenter-top-bottom'.
4640 * window.el (recenter-last-op): Doc fix.
4641 (recenter-positions): New defcustom.
4642 (recenter-top-bottom): Rewrite to use `recenter-positions'.
4643 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
4645 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
4647 Improve integration of Tramp and ange-ftp in eshell.
4649 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
4650 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
4651 (eshell/sudo): Flatten args. Let-bind `default-directory'.
4653 * eshell/esh-util.el (top): Require also Tramp when compiling.
4654 (eshell-directory-files-and-attributes): Check for FTP remote
4656 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
4657 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
4658 (eshell-file-attributes): Handle ".". Return `entry'.
4660 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
4661 (ange-ftp-directory-files-and-attributes)
4662 (ange-ftp-real-directory-files-and-attributes): New defuns.
4664 * net/tramp.el (tramp-maybe-open-connection): Open the remote
4665 shell with "exec" when possible. This prevents trailing prompts
4666 in `start-file-process'.
4668 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
4670 Try and remove assumptions about point-min==1.
4671 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
4672 (rng-compute-mode-line-string): Show the validation percentage in
4673 terms of the narrowed text, not the widened text.
4674 (rng-do-some-validation): Don't catch internal errors when debugging.
4675 (rng-first-error): Simplify.
4676 (rng-after-change-function): Remove work around. AFAIK the bug has
4677 been fixed a while ago.
4679 * image-mode.el (image-minor-mode): Exit more gracefully when the image
4680 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
4682 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
4684 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
4685 `cd' doesn't always do it for us (bug#5067).
4687 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
4688 on 2009-10-25 as part of some other change (bug#5067).
4690 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4692 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
4694 (byte-compile-warnings): Use byte-compile-warning-types.
4695 (byte-compile-save-excursion): Warn about use of set-buffer right
4696 after save-excursion.
4698 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
4699 the excursion as well.
4701 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
4703 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
4704 providing a Tramp related implementation of "su" and "sudo".
4705 (eshell-unix-initialize): Add "su" and "sudo".
4707 2009-11-27 Daiki Ueno <ueno@unixuser.org>
4709 * net/socks.el (socks-send-command): Convert binary request to
4710 unibyte before sending. This fixes mishandling of some port
4711 numbers such as 129.
4713 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4715 * help.el (describe-bindings-internal): Remove `interactive'.
4717 * man.el (Man-completion-table): Trim a terminating "(".
4718 Remove the space between name page a section.
4719 Add the command's description on the `help-echo' property.
4720 Remove `process-connection-type' binding since it's unused by
4722 Provide completion for the "<section> <name>" format as well.
4723 (Man-default-man-entry): Remove spurious var shadowing the argument.
4725 2009-11-26 Kevin Ryde <user42@zip.com.au>
4727 * log-view.el: Add "Keywords: tools", since its other keywords
4728 aren't in finder-known-keywords, and following vc.el.
4730 * sha1.el (sha1-string-external): default-directory "/" in case
4731 otherwise non-existent. process-connection-type pipe for touch of
4732 efficiency recommended by elisp manual. (An aside in Bug#3911.)
4734 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
4736 Misc coding convention cleanups.
4737 * htmlfontify.el (hfy-init-kludge-hook): Rename from
4738 hfy-init-kludge-hooks.
4739 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
4740 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
4741 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
4743 (hfy-slant, hfy-weight): Use tables rather than code.
4744 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
4745 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
4746 (hfy-face-attr-for-class): Initialize `face-spec' directly.
4747 (hfy-face-to-css): Remove `nconc' with single arg.
4748 (hfy-p-to-face-lennart): Use `or'.
4749 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
4750 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
4751 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
4752 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
4753 (hfy-force-fontification): Use run-hooks.
4755 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
4757 Various minor fixes.
4758 * htmlfontify.el (hfy-default-header): Add toggle_invis since
4759 Javascript belongs in the header, not the body.
4760 (hfy-javascript): Remove.
4761 (hfy-fontify-buffer): Don't insert it any more.
4762 (hfy-face-at): Handle (face0 face1 face2) style face properties.
4763 Fix bug in invis handling when there were no invis props in a chunk.
4765 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
4767 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
4769 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
4771 * finder.el (finder-mode-map): Add a menu.
4773 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
4775 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
4778 (verilog-leap-to-head, verilog-backward-token): Handle "disable
4779 fork" statement better.
4781 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
4783 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
4784 (verilog-delete-auto, verilog-delete-empty-auto-pair)
4785 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
4786 Reported by Clay Douglass.
4788 (verilog-auto-inst, verilog-auto-star-safe)
4789 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
4790 Fix removing "// Interfaces" when saving .* expansions. Reported by
4791 Pierre-David Pfister.
4793 2009-11-26 Glenn Morris <rgm@gnu.org>
4795 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
4798 2009-11-25 Johan Bockgård <bojohan@gnu.org>
4800 * vc-annotate.el (vc-annotate-revision-previous-to-line):
4801 Really use previous revision.
4803 2009-11-25 Kevin Ryde <user42@zip.com.au>
4805 * man.el (Man-completion-table): default-directory "/" in case
4806 doesn't otherwise exist. process-environment COLUMNS=999 so as
4807 not to truncate long names. process-connection-type pipe to avoid
4808 any chance of hitting the pseudo-tty TIOCGWINSZ.
4809 (man): completion-ignore-case t for friendliness and since man
4810 itself is case-insensitive on the command line.
4811 Further to Bug#3717.
4813 * arc-mode.el: Add "Keywords: files", so the details in its
4814 commentary can be reached from finder-by-keyword.
4815 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
4816 editing mode, but it's comms related and sgml-mode.el has "comm"
4818 * textmodes/bibtex-style.el: Add "Keywords: tex".
4819 * international/isearch-x.el, international/ja-dic-cnv.el:
4820 * international/ja-dic-utl.el, international/kkc.el:
4821 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
4823 2009-11-25 Juri Linkov <juri@jurta.org>
4825 * man.el (Man-completion-table): Modify regexp to include
4826 section names to completion strings. (Bug#3717)
4828 2009-11-25 Juri Linkov <juri@jurta.org>
4830 Search recursively in gzipped files. (Bug#4982)
4832 * progmodes/grep.el (grep-highlight-matches): Add new options
4833 `always' and `auto'. Doc fix.
4834 (grep-process-setup): Check `grep-highlight-matches' for
4835 `auto-detect' to determine the need to compute grep defaults.
4836 Move Windows/DOS specific --colors settings handling
4837 to `grep-compute-defaults'. Check `grep-highlight-matches'
4838 to get the value of "--color=".
4839 (grep-compute-defaults): Compute `grep-highlight-matches' when it
4840 has the value `auto-detect'. Move Windows/DOS specific settings
4841 from `grep-process-setup'.
4842 (zrgrep): New command with alias `rzgrep'.
4844 2009-11-25 Juri Linkov <juri@jurta.org>
4846 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
4847 to nil instead of switching off view-mode. (Bug#4896)
4849 2009-11-25 Juri Linkov <juri@jurta.org>
4851 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
4853 * mwheel.el (mwheel-scroll-up-function)
4854 (mwheel-scroll-down-function): New defvars.
4855 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
4856 `scroll-up', and `mwheel-scroll-down-function' instead of
4859 * doc-view.el (doc-view-scroll-up-or-next-page)
4860 (doc-view-scroll-down-or-previous-page): Add optional ARG.
4861 Use this ARG in the call to image-scroll-up/image-scroll-down.
4862 Change `interactive' spec to "P". Goto next/previous page only
4863 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
4864 SPC/DEL case). Doc fix.
4865 (doc-view-next-line-or-next-page)
4866 (doc-view-previous-line-or-previous-page): Rename arg to ARG
4868 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
4869 `doc-view-scroll-up-or-next-page', and buffer-local
4870 `mwheel-scroll-down-function' to
4871 `doc-view-scroll-down-or-previous-page'.
4873 2009-11-25 Juri Linkov <juri@jurta.org>
4875 Provide additional default values (directories at other Dired
4876 windows) via M-n in the minibuffer of some Dired commands.
4878 * dired-aux.el (dired-diff, dired-compare-directories)
4879 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
4880 `minibuffer-default' in `minibuffer-with-setup-hook'.
4881 (dired-dwim-target-directory): Find a window that displays Dired
4882 buffer instead of failing when the next window is not Dired.
4883 Use `get-window-with-predicate' to find for the next Dired window.
4884 (dired-dwim-target-defaults): New function.
4886 * ediff-util.el (ediff-read-file-name):
4887 Use `dired-dwim-target-defaults' to set `minibuffer-default'
4888 in `minibuffer-with-setup-hook'.
4890 2009-11-25 Juri Linkov <juri@jurta.org>
4892 Provide additional default values (file name at point or at the
4893 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
4895 * minibuffer.el (read-file-name-defaults): New function.
4896 (read-file-name): Reset `minibuffer-default' to nil when
4897 it duplicates initial input `insdef'.
4898 Bind `minibuffer-default-add-function' to lambda that
4899 calls `read-file-name-defaults' in `minibuffer-selected-window'.
4900 (minibuffer-insert-file-name-at-point): New command.
4902 * files.el (file-name-at-point-functions): New defcustom.
4903 (find-file-default): Remove defvar.
4904 (find-file-read-args): Don't use `find-file-default'.
4905 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
4906 to `read-file-name'.
4907 (find-file-literally): Use `read-file-name' with
4908 `confirm-nonexistent-file-or-buffer'.
4910 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
4912 * dired.el (dired-read-dir-and-switches):
4913 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
4914 to `read-file-name'.
4915 (dired-file-name-at-point): New function.
4916 (dired-mode): Add hook `dired-file-name-at-point' to
4917 `file-name-at-point-functions'.
4919 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4921 Really make the *Completions* window soft-dedicated (bug#5030).
4922 * window.el (window--display-buffer-2): Add `dedicated' argument.
4923 (display-buffer): Pass it when needed so the dedicated flag is set
4924 after calling set-window-buffer, which would otherwise reset it.
4926 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
4928 * progmodes/meta-mode.el (meta-complete-symbol):
4929 * progmodes/etags.el (complete-tag):
4930 * mail/mailabbrev.el (mail-abbrev-complete-alias):
4931 Use completion-in-region.
4933 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
4934 (dabbrev-completion): Use completion-in-region.
4935 (dabbrev--abbrev-at-point): Simplify regexp.
4937 * abbrev.el (abbrev--before-point): Use word-motion functions
4938 if :regexp is not specified (bug#5031).
4940 * subr.el (string-prefix-p): New function.
4942 * man.el (Man-completion-cache): New var.
4943 (Man-completion-table): Use it.
4945 * vc.el (vc-print-log-internal): Make `limit' optional for better
4946 compatibility (e.g. with vc-annotate.el).
4948 2009-11-24 Kevin Ryde <user42@zip.com.au>
4950 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
4951 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
4953 * emacs-lisp/elint.el (elint-add-required-env): Better error message
4954 when .el source file not found or other error.
4956 2009-11-24 Markus Triska <markus.triska@gmx.at>
4958 * linum.el (linum-update-window): Ignore intangible (bug#4996).
4960 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4962 Handle the [back] button properly (bug#4979).
4963 * descr-text.el (describe-text-properties): Add a `buffer' argument.
4964 Use help-setup-xref, help-buffer, and with-help-window.
4965 (describe-char): Add `buffer' argument.
4966 Pass proper command to help-setup-xref. Don't meddle with
4967 help-xref-stack-item directly.
4968 (describe-text-category): Use with-help-window and help-buffer.
4970 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
4971 for the displayed buffer (bug#4887).
4973 * man.el (Man-completion-table): New function.
4976 2009-11-24 David Reitter <david.reitter@gmail.com>
4978 * vc-git.el (vc-git-registered): Use checkout directory (where
4979 .git is) rather than the file's directory and a relative path spec
4980 to work around a bug in git.
4982 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
4984 Improve handling of processes on remote hosts.
4986 * eshell/esh-util.el (eshell-path-env): New defvar.
4987 (eshell-parse-colon-path): New defun.
4988 (eshell-file-attributes): Use `eshell-parse-colon-path'.
4990 * eshell/esh-ext.el (eshell-search-path):
4991 Use `eshell-parse-colon-path'.
4992 (eshell-remote-command): Remove argument HANDLER.
4993 (eshell-external-command): Check for FTP remote connection.
4995 * eshell/esh-proc.el (eshell-gather-process-output):
4996 Use `file-truename', in order to start also symlinked files.
4997 Apply `start-file-process' instead of `start-process'.
4998 Shorten `command' to the local file name part.
5000 * eshell/em-cmpl.el (eshell-complete-commands-list):
5001 Use `eshell-parse-colon-path'.
5003 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
5005 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
5006 to `eshell-directory-change-hook'.
5008 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
5010 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
5011 because it could be enabled automatically if view-read-only is non-nil.
5013 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
5015 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
5018 2009-11-24 Glenn Morris <rgm@gnu.org>
5020 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
5021 deleted variable bookmark-bmenu-bookmark-column.
5023 * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
5024 Move after definition of global-semantic-idle-tag-highlight-mode.
5026 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
5028 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
5030 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
5032 * net/browse-url.el (browse-url-filename-alist): On Windows, add
5033 two slashes to the "file:" prefix.
5034 (browse-url-file-url): De-munge Cygwin filenames before passing
5035 them to Windows browser.
5036 (browse-url-default-windows-browser): Use call-process.
5038 2009-11-23 Juri Linkov <juri@jurta.org>
5040 Implement DocView Continuous mode. (Bug#4896)
5041 * doc-view.el (doc-view-continuous-mode): New defcustom.
5042 (doc-view-mode-map): Bind C-n/<down> to
5043 `doc-view-next-line-or-next-page', C-p/<up> to
5044 `doc-view-previous-line-or-previous-page'.
5045 (doc-view-next-line-or-next-page)
5046 (doc-view-previous-line-or-previous-page): New commands.
5048 2009-11-23 Juri Linkov <juri@jurta.org>
5050 Implement Isearch in comint input history. (Bug#3746)
5051 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
5052 `isearch-mode-hook'.
5053 (comint-history-isearch): New defcustom.
5054 (comint-history-isearch-backward)
5055 (comint-history-isearch-backward-regexp): New commands.
5056 (comint-history-isearch-message-overlay): New buffer-local variable.
5057 (comint-history-isearch-setup, comint-history-isearch-end)
5058 (comint-goto-input, comint-history-isearch-search)
5059 (comint-history-isearch-message, comint-history-isearch-wrap)
5060 (comint-history-isearch-push-state)
5061 (comint-history-isearch-pop-state): New functions.
5063 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
5065 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
5067 (tramp-handle-make-symbolic-link)
5068 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
5070 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
5071 (tramp-handle-process-file): Use it.
5073 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
5075 * window.el (move-to-window-line-last-op): Remove.
5076 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
5078 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
5080 Make M-r mirror the new cycling behavior of C-l.
5081 * window.el (move-to-window-line-last-op): New var.
5082 (move-to-window-line-top-bottom): New command.
5083 (global-map): Bind M-r move-to-window-line-top-bottom.
5085 2009-11-23 Sven Joachim <svenjoac@gmx.de>
5087 * dired-x.el (dired-guess-shell-alist-default):
5088 Support xz format. (Bug#4953)
5090 2009-11-22 Chong Yidong <cyd@stupidchicken.com>
5092 * cedet/srecode/map.el (srecode-get-maps):
5093 * cedet/semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag):
5094 * cedet/semantic/wisent/comp.el (wisent-toggle-verbose-flag):
5095 * cedet/semantic/decorate/mode.el (semantic-decoration-mode)
5096 (semantic-toggle-decoration-style):
5097 * cedet/semantic/decorate/include.el
5098 (semantic-decoration-include-describe)
5099 (semantic-decoration-unknown-include-describe)
5100 (semantic-decoration-unparsed-include-describe)
5101 (semantic-decoration-all-include-summary):
5102 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init):
5103 * cedet/semantic/analyze/complete.el
5104 (semantic-analyze-possible-completions):
5105 * cedet/semantic/util-modes.el (semantic-highlight-edits-mode)
5106 (semantic-show-unmatched-syntax-mode)
5107 (semantic-show-parser-state-mode, semantic-stickyfunc-mode)
5108 (semantic-highlight-func-mode):
5109 * cedet/semantic/util.el (semantic-describe-buffer):
5110 * cedet/semantic/symref.el (semantic-symref-find-references-by-name)
5111 (semantic-symref-find-tags-by-name)
5112 (semantic-symref-find-tags-by-regexp)
5113 (semantic-symref-find-tags-by-completion)
5114 (semantic-symref-find-file-references-by-name)
5115 (semantic-symref-find-text):
5116 * cedet/semantic/senator.el (senator-copy-tag, senator-kill-tag)
5118 * cedet/semantic/scope.el (semantic-calculate-scope):
5119 * cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
5120 * cedet/semantic/idle.el (semantic-idle-scheduler-mode)
5121 (define-semantic-idle-service):
5122 * cedet/semantic/complete.el (semantic-complete-analyze-inline)
5123 (semantic-complete-analyze-inline-idle):
5124 * cedet/semantic/analyze.el (semantic-analyze-current-context):
5125 * cedet/mode-local.el (describe-mode-local-bindings)
5126 (describe-mode-local-bindings-in-mode):
5127 * cedet/ede/make.el (ede-make-check-version):
5128 * cedet/ede/locate.el (ede-enable-locate-on-project):
5129 * cedet/cedet-idutils.el (cedet-idutils-expand-filename)
5130 (cedet-idutils-version-check):
5131 * cedet/cedet-global.el (cedet-gnu-global-expand-filename)
5132 (cedet-gnu-global-version-check):
5133 * cedet/cedet-cscope.el (cedet-cscope-expand-filename)
5134 (cedet-cscope-version-check): Use called-interactively-p instead
5137 * cedet/semantic/ia.el (semantic-ia-completion-format-tag-function):
5138 Use semantic-format-tag-prototype.
5140 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
5142 * emulation/viper-cmd.el: Use viper-last-command-char instead of
5143 last-command-char/last-command-event.
5144 (viper-prefix-arg-value): Do correct conversion of event-char for
5147 * emulation/viper-util.el, emulation/viper.el:
5148 Use viper-last-command-char instead of
5149 last-command-char/last-command-event.
5151 * ediff-init.el, ediff-mult.el, ediff-util.el:
5152 Replace last-command-char and last-command-event
5153 with (ediff-last-command-char) everywhere.
5155 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
5156 created in fundamental mode.
5158 * ediff.el (ediff-version): Revert the change of interactive-p to
5159 called-interactively-p.
5161 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
5163 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
5164 generation from word-movement command names.
5166 2009-11-21 Chong Yidong <cyd@stupidchicken.com>
5168 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
5169 (semantic-complete-jump-local, semantic-complete-jump):
5170 Improve prompt string.
5172 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
5174 * cus-start.el (all): Add native condition for font-use-system-font.
5176 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
5178 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
5179 Correct the patch from 2009-11-18. (Bug#3910)
5181 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
5183 * progmodes/subword.el: Rename from lisp/subword.el.
5185 * subword.el: Rename to progmodes/subword.el.
5187 * Makefile.in (ELCFILES): Adapt to subword.el move.
5189 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5190 Stefan Monnier <monnier@iro.umontreal.ca>
5192 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
5193 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
5194 (bookmark-bmenu-show-filenames): Use push.
5195 (bookmark-bmenu-hide-filenames): Use local var instead of
5196 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
5197 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
5198 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
5199 filenames now that the bookmark names are always available.
5201 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5203 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
5204 (bookmark-search-pattern): Move and leave unbound.
5205 (bookmark-bmenu-mode-map): Change binding.
5206 (bookmark-read-search-input): Simplify.
5207 Don't use text-char-description. Don't error on non-char events.
5208 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
5209 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
5210 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
5211 Use a local var for the timer.
5212 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
5213 (i.e. bookmark-bmenu-search).
5215 2009-11-21 Glenn Morris <rgm@gnu.org>
5217 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
5219 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
5221 * net/browse-url.el (browse-url-default-windows-browser):
5222 Use cygstart for cygwin.
5224 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
5226 * bookmark.el: Formatting and doc fixes only:
5227 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
5228 (bookmark-bmenu-search): Wrap to fit within 80 columns.
5229 Minor grammar and punctuation fixes in doc string.
5230 (bookmark-read-search-input): Adjust to fit within 80 columns.
5232 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
5234 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
5235 (c-backward-into-nomenclature): Adapt to subword renaming.
5237 * subword.el (subword-forward, subword-backward, subword-mark)
5238 (subword-kill, subword-backward-kill, subword-transpose)
5239 (subword-downcase, subword-upcase, subword-capitalize)
5240 (subword-forward-internal, subword-backward-internal):
5241 Rename from forward-subword, backward-subword, mark-subword,
5242 kill-subword, backward-kill-subword, transpose-subwords,
5243 downcase-subword, upcase-subword, capitalize-subword,
5244 forward-subword-internal, backward-subword-internal.
5246 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5248 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
5250 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
5252 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
5253 (bookmark-bmenu-filter-alist-by-regexp)
5254 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
5255 (bookmark-bmenu-search): New command.
5256 (bookmark-bmenu-mode-map): Bind it.
5258 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
5260 * cedet/semantic/complete.el (semantic-complete-inline-map): Doc fix.
5262 * cedet/semantic/idle.el (define-semantic-idle-service)
5263 (semantic-idle-summary-mode, semantic-idle-completions): Doc fix.
5265 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
5267 * progmodes/cc-cmds.el: declare-functioned forward-subword and
5268 backward-subword to quit the byte-compiler.
5270 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
5272 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
5274 * progmodes/cc-cmds.el (c-update-modeline)
5275 (c-forward-into-nomenclature, c-backward-into-nomenclature):
5276 Refer to subword.el functions instead of cc-subword.el.
5278 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
5279 subword.el functions instead of cc-subword.el.
5281 * progmodes/cc-subword.el: Rename to subword.el.
5282 * subword.el: Rename from progmodes/cc-subword.el.
5283 (subword-mode-map): Rename from c-subword-mode-map.
5284 (subword-mode): Rename from c-subword-mode.
5285 (global-subword-mode): New global minor mode.
5286 (forward-subword): Rename from c-forward-subword.
5287 (backward-subword): Rename from c-backward-subword.
5288 (mark-subword): Rename from c-mark-subword.
5289 (kill-subword): Rename from c-kill-subword.
5290 (backward-kill-subword): Rename from c-backward-kill-subword.
5291 (transpose-subwords): Rename from c-tranpose-subword.
5292 (downcase-subword): Rename from c-downcase-subword.
5293 (capitalize-subword): Rename from c-capitalize-subword.
5294 (forward-subword-internal): Rename from c-forward-subword-internal.
5295 (backward-subword-internal): Rename from c-backward-subword-internal.
5297 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
5299 * vc.el (vc-deduce-fileset): Allow non-state changing operations
5300 from a dired buffer.
5301 (vc-dired-deduce-fileset): New function.
5302 (vc-root-diff, vc-print-root-log): Use it.
5304 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
5305 nil LIMIT argument to vc-print-log-internal.
5307 2009-11-20 Glenn Morris <rgm@gnu.org>
5309 * Makefile.in (ELCFILES): Regenerate.
5311 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
5313 * cedet/cedet.el (cedet-menu-map): Re-order menu items.
5315 * cedet/semantic.el: Enable idle-mode menu items only if
5316 global-semantic-idle-scheduler-mode is enabled.
5317 (semantic-default-submodes): Doc fix.
5319 * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
5320 When turning off, disable other idle modes.
5322 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
5324 * calc/calc.el (calc-set-mode-line):
5325 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
5326 (math-format-number): Rename `math-format-complement-signed' to
5327 `math-format-twos-complement'.
5329 * calc/calc-bin.el (math-format-twos-complement): Rename from
5330 math-format-complement-signed.
5331 (calc-radix): Rename `calc-complement-signed-mode' to
5332 `calc-twos-complement-mode'.
5333 (calc-octal-radix, calc-hex-radix): Add an argument for
5336 * calc/calc-embed.el (calc-embedded-mode-vars):
5337 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
5339 * calc/calc-ext.el (calc-init-extensions):
5340 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
5341 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
5343 * calc/calc-units.el (math-build-units-table-buffer):
5344 Let `calc-twos-complement-mode' be nil.
5346 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
5349 * calc/calc-vec.el (calcFunc-vunpack):
5350 * calc/calc-aent.el (calc-do-calc-eval):
5351 * calc/calc-forms.el (math-format-date):
5352 * calc/calc-graph.el (calc-graph-plot):
5353 * calc/calc-math.el (math-use-emacs-fn):
5354 * calc/calccomp.el (math-compose-expr):
5355 Let `calc-twos-complement-mode' be nil.
5357 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
5359 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
5360 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
5361 * minibuffer.el (completion-in-region-functions): New hook.
5362 (completion-in-region): New function.
5363 * emacs-lisp/lisp.el (lisp-complete-symbol):
5364 * pcomplete.el (pcomplete-std-complete): Use it.
5366 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
5368 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
5369 (latex-complete-alist): New vars.
5370 (latex-string-prefix-p, latex-complete-bibtex-keys)
5371 (latex-complete-envnames, latex-complete-refkeys)
5372 (latex-complete-data): New functions.
5373 (latex-complete, latex-indent-or-complete): New commands.
5375 * window.el (display-buffer-mark-dedicated): New var.
5376 (display-buffer): Obey it.
5377 * minibuffer.el (minibuffer-completion-help): Use it.
5379 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
5381 * filecache.el (file-cache-add-file): Use push and cons.
5382 (file-cache-delete-file-regexp): Use push.
5383 (file-cache-complete): Use completion-in-region.
5385 * simple.el (with-wrapper-hook): Fix thinko.
5387 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
5388 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
5389 Use with-current-buffer and string-to-number.
5390 (hfy-fallback-colour-values): Use assoc-string.
5391 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
5392 (hfy-face-at): Remove unused var `found-face'.
5393 (hfy-compile-stylesheet): Remove unused var `css'.
5394 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
5396 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
5397 Use with-current-buffer.
5398 (hfy-text-p): Use expand-file-name and fewer setq.
5400 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
5402 * htmlfontify.el, hfy-cmap.el: New files.
5404 2009-11-19 Juri Linkov <juri@jurta.org>
5406 * minibuffer.el (completions-format): New defcustom.
5407 (completion--insert-strings): Implement vertical format.
5409 * simple.el (switch-to-completions): Move point to the first
5410 completion when point was at the beginning of the buffer.
5412 2009-11-19 Juri Linkov <juri@jurta.org>
5414 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
5416 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
5418 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
5420 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
5421 (mail-signature): Change default to t.
5422 (mail-from-style): Deprecate `system-default' value.
5423 (mail-insert-from-field): For default value of mail-from-style,
5424 default to `angles' unless `angles' needs quoting and `parens'
5426 (mail-citation-prefix-regexp): Use citation regexp from
5429 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
5431 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
5432 Set variables for computing the prompt for reading password.
5434 2009-11-19 Glenn Morris <rgm@gnu.org>
5436 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
5438 * textmodes/flyspell.el (sgml-lexical-context): Declare.
5440 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
5441 (newsticker-treeview-listwindow-height): Fix custom type.
5443 2009-11-19 Kenichi Handa <handa@m17n.org>
5445 * descr-text.el (describe-char-padded-string): Compose with TAB
5446 only if there's a font for CH.
5447 (describe-char): Fix the condition for detecting a trivial composition.
5449 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
5451 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
5452 more accurate version of the regexp. (Bug#3910)
5454 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
5456 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
5458 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
5460 * font-setting.el (font-use-system-font): Declare for byte-compiler.
5461 (font-setting-change-default-font): Fix typo in docstring.
5463 2009-11-18 Alan Mackenzie <acm@muc.de>
5465 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
5467 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
5469 * font-setting.el (font-use-system-font): Move ...
5471 * cus-start.el (all): ... to here.
5473 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
5475 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
5476 Don't set `ad-return-value' if `ad-do-it' doesn't.
5478 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
5481 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
5483 * menu-bar.el: Put "Use system font" in Option-menu.
5484 (menu-bar-options-save): Add font-use-system-font.
5486 * loadup.el: If feature system-font-setting or font-render-setting is
5487 there, load font-setting.
5489 * Makefile.in (ELCFILES): Add font-settings.el.
5490 * font-setting.el: New file.
5492 2009-11-17 Glenn Morris <rgm@gnu.org>
5494 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
5496 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
5497 Preserve point in the list buffer. (Bug#4939)
5499 (newsticker--treeview-list-update-highlight)
5500 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
5502 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
5504 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
5507 * calc/calc-ext.el (calc-init-extensions): Remove references to
5510 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
5512 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
5513 * calc/calc-help.el (calc-b-prefix-help): Remove references to
5516 2009-11-16 Kevin Ryde <user42@zip.com.au>
5518 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
5519 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
5521 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
5522 (lm-keywords-list): Allow comma-only separator like "foo,bar".
5523 Ignore trailing spaces by omit-nulls to split-string (fixing
5524 regression from Emacs 21 due to the incompatible split-string
5525 change). (Bug #4928.)
5527 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
5529 * vc.el (vc-log-show-limit): Default to 2000.
5530 (vc-print-log-internal): Insert buttons to request more entries
5531 when limiting the output.
5533 * vc-sccs.el (vc-sccs-print-log):
5534 * vc-rcs.el (vc-rcs-print-log):
5535 * vc-cvs.el (vc-cvs-print-log):
5536 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
5539 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
5541 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
5542 error when `tramp-gvfs-dbus-event-vector' is set.
5543 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
5545 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
5547 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
5549 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
5551 * net/dbus.el (dbus-unregister-service): New defun.
5552 (dbus-register-property): Register the handlers of
5553 "org.freedesktop.DBus.Properties" for SERVICE.
5554 (dbus-property-handler): Fix docstring.
5556 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5558 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
5559 Quote doc string reference in defvaralias as it is not in special form.
5560 (byte-compile-output-docform): Doc fix.
5562 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
5564 * calc/calc.el (math-2-word-size, math-half-2-word-size)
5565 (calc-complement-signed-mode): New variables.
5566 (calc-set-mode-line): Add indicator for twos-complements.
5567 (math-format-number): Format twos-complement notation.
5569 * calc/calc-bin.el (calc-word-size): Reset the variables
5570 `math-2-word-size' and `math-half-2-word-size'.
5571 (math-format-complement-signed, math-symclip, calcFunc-symclip)
5572 (calc-symclip): New functions.
5574 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
5576 * calc/calc-embed.el (calc-embedded-mode-vars):
5577 Add `calc-complement-signed-mode' to the list of modes.
5579 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
5580 (calc-b-oper-keys): Add `calc-symclip' to list.
5582 * calc/calc-ext.el (math-read-number-fancy): Read complement
5584 (calc-init-extensions): Add binding for `calc-symclip'.
5585 Add autoload for `calcFunc-symclip' and `calc-symclip'.
5587 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
5589 (calc-modes-menu): Add item for twos complement mode.
5591 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
5593 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
5595 * register.el (jump-to-register, insert-register): Handle Semantic
5596 tags. From commented-out advice in semantic/senator.el.
5598 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
5600 * vc.el (vc-log-show-limit): New variable.
5601 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
5602 when using a prefix argument.
5603 (vc-print-log-internal): Add new argument LIMIT.
5605 * vc-svn.el (vc-svn-print-log):
5606 * vc-mtn.el (vc-mtn-print-log):
5607 * vc-hg.el (vc-hg-print-log):
5608 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
5609 pass it to the log command when set. Make the BUFFER argument
5612 * vc-sccs.el (vc-sccs-print-log):
5613 * vc-rcs.el (vc-rcs-print-log):
5614 * vc-git.el (vc-git-print-log):
5615 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
5616 ignore it. Make the BUFFER argument non-optional
5618 * bindings.el (mode-line-buffer-identification): Do not purecopy.
5620 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
5622 * dired.el (dired-mode-map): Move encryption items to "Operate"
5625 * strokes.el (strokes-update-window-configuration): Make strokes
5626 buffer current before erasing (Bug#4906).
5628 * cedet/semantic/idle.el (semantic-idle-summary-mode)
5629 (semantic-idle-summary-mode): Define using define-minor-mode
5630 instead of define-semantic-idle-service.
5631 (semantic-idle-summary-mode): New function.
5632 (semantic-idle-summary-mode-setup): Use pre-command-hook to ensure
5633 that mouse motion does not reset the echo area.
5635 2009-11-15 Juri Linkov <juri@jurta.org>
5637 * simple.el (set-mark-default-inactive): Add :type, :group
5638 and :version. (Bug#4876)
5640 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
5642 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
5643 (archive-unique-fname): ... here. (Bug#4929)
5645 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5647 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
5650 * novice.el (disabled-command-function): Add useful args.
5651 Setup the help buffer so that [back] works.
5652 Remove redundant call to help-mode.
5653 (disabled-command-function): Use `case'.
5654 (en/disable-command): New function extracted from enable-command.
5655 (enable-command, disable-command): Use it.
5657 2009-11-14 Glenn Morris <rgm@gnu.org>
5659 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
5660 constants. (Bug#4913)
5662 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
5664 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
5666 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
5667 defined in C that have no doc-strings. (Bug#1063)
5669 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
5671 * cus-edit.el (data, files):
5672 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
5674 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
5676 * simple.el (shell-command): Doc fix (Bug#4891).
5678 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
5680 2009-11-14 Glenn Morris <rgm@gnu.org>
5682 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
5683 statements for vc-diff, emerge-quit, and rmail-cease-edit.
5684 If they are already loaded, eval-after-load will do the right thing.
5686 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
5689 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
5691 * simple.el (x-selection-owner-p): Declare.
5692 (read-mail-command): Use custom radio type rather than choice.
5693 (completion-no-auto-exit): Doc fix.
5695 * custom.el (defgroup):
5696 * epg-config.el (epg): Doc fixes.
5698 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
5700 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
5701 * international/ccl.el (define-ccl-program): Do not purecopy the
5702 docstring, defconst does it anyway.
5704 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5706 * add-log.el (add-change-log-entry): Avoid displaying the changelog
5709 * x-dnd.el (x-dnd-maybe-call-test-function):
5710 * window.el (split-window-vertically):
5711 * whitespace.el (whitespace-help-on):
5712 * vc-rcs.el (vc-rcs-consult-headers):
5713 * userlock.el (ask-user-about-lock-help)
5714 (ask-user-about-supersession-help):
5715 * type-break.el (type-break-force-mode-line-update):
5716 * time-stamp.el (time-stamp-conv-warn):
5717 * terminal.el (te-set-output-log, te-more-break, te-filter)
5718 (te-sentinel, terminal-emulator):
5719 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
5720 (term-write-input-ring, term-check-source, term-start-output-log):
5721 (term-display-buffer-line, term-dynamic-list-completions):
5722 (term-ansi-make-term, serial-term):
5723 * subr.el (selective-display):
5724 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
5725 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
5726 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
5727 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
5728 (speedbar-remove-localized-speedbar-support)
5729 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
5730 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
5731 (speedbar-buffers-line-directory):
5732 * simple.el (shell-command-on-region, append-to-buffer)
5733 (prepend-to-buffer):
5734 * shadowfile.el (shadow-save-todo-file):
5735 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
5736 (scroll-bar-maybe-set-window-start):
5737 * sb-image.el (speedbar-image-dump):
5738 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
5739 (load-save-place-alist-from-file):
5740 * ps-samp.el (ps-print-message-from-summary):
5741 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
5742 (ps-background-image, ps-begin-job, ps-do-despool):
5743 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
5744 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
5745 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
5746 (pr-call-process, pr-file-list, pr-interface-save):
5747 * novice.el (disabled-command-function)
5748 (enable-command, disable-command):
5749 * mouse.el (mouse-buffer-menu-alist):
5750 * mouse-copy.el (mouse-kill-preserving-secondary):
5751 * macros.el (kbd-macro-query):
5752 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
5753 * informat.el (batch-info-validate):
5754 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
5755 * hippie-exp.el (try-expand-dabbrev-visible):
5756 * help-mode.el (help-make-xrefs):
5757 * help-fns.el (describe-variable):
5758 * generic-x.el (bat-generic-mode-run-as-comint):
5759 * finder.el (finder-mouse-select):
5760 * find-dired.el (find-dired-sentinel):
5761 * filesets.el (filesets-file-close):
5762 * files.el (list-directory):
5763 * faces.el (list-faces-display, describe-face):
5764 * facemenu.el (list-colors-display):
5765 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
5766 * epg.el (epg--process-filter, epg-cancel):
5767 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
5768 (epa--read-signature-type):
5769 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
5770 (emerge-file-names):
5771 * ehelp.el (electric-helpify):
5772 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
5773 * ediff-vers.el (rcs-ediff-view-revision):
5774 * ediff-util.el (ediff-setup):
5775 * ediff-mult.el (ediff-append-custom-diff):
5776 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
5778 * echistory.el (Electric-command-history-redo-expression):
5779 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
5780 * disp-table.el (describe-display-table):
5781 * dired.el (dired-find-buffer-nocreate):
5782 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
5783 * dabbrev.el (dabbrev--same-major-mode-p):
5784 * chistory.el (list-command-history):
5785 * apropos.el (apropos-documentation):
5786 * allout.el (allout-obtain-passphrase):
5787 (allout-copy-exposed-to-buffer):
5788 (allout-verify-passphrase): Use with-current-buffer.
5790 2009-11-13 Glenn Morris <rgm@gnu.org>
5792 * Makefile.in (ELCFILES): Regenerate.
5794 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
5796 * net/dbus.el (dbus-registered-objects-table): Rename from
5797 `dbus-registered-functions-table', because it contains also properties.
5798 (dbus-unregister-object): Unregister also properties.
5799 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
5800 Use a timeout of 500 msec, in order to not block.
5801 (dbus-register-property, dbus-property-handler): New defuns.
5803 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5805 * simple.el (minibuffer-default-add-completions): Drop deprecated
5808 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
5810 * textmodes/artist.el (artist-mouse-choose-operation):
5811 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
5812 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
5813 (artist-compute-up-event-key): New function.
5814 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
5816 2009-11-13 Kenichi Handa <handa@m17n.org>
5818 * language/japan-util.el: Make sure that the value of jisx0208
5819 property is jisx0208 character.
5821 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
5823 * international/mule.el (auto-coding-regexp-alist): Only purecopy
5824 car or each item, not the whole list.
5826 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5828 * minibuffer.el (minibuffer-completion-help):
5829 Use minibuffer-hide-completions.
5831 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
5833 * dired.el (dired-save-positions, dired-restore-positions): New funs.
5834 (dired-revert): Use them (bug#4880).
5836 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
5838 * tooltip.el (tooltip-frame-parameters): Undo previous change.
5840 2009-11-12 Juri Linkov <juri@jurta.org>
5842 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
5844 (find-file-literally-at-point): Alias of `ffap-literally'.
5846 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
5848 * textmodes/ispell.el (ispell-skip-region-alist):
5849 * textmodes/css-mode.el (auto-mode-alist):
5850 * progmodes/compile.el (auto-mode-alist):
5851 * international/mule.el (ctext-non-standard-encodings-alist)
5852 (ctext-non-standard-encodings-regexp):
5853 * simple.el (shell-command-switch, text-read-only):
5854 * replace.el (occur-mode-map):
5855 * paths.el (rmail-file-name):
5856 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
5857 * find-file.el (ff-special-constructs):
5858 * files.el (file-name-handler-alist):
5859 * composite.el: Purecopy strings.
5861 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
5863 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
5865 * widget.el (define-widget): Purecopy the docstring.
5866 * international/mule-cmds.el (charset): Do not purecopy the
5867 docstring here, define-widget does it.
5869 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
5870 * textmodes/bibtex-style.el (auto-mode-alist):
5871 * progmodes/inf-lisp.el (inferior-lisp-prompt):
5872 * progmodes/compile.el (compile-command):
5873 * language/korea-util.el (default-korean-keyboard):
5874 * international/mule-conf.el (file-coding-system-alist):
5875 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
5876 * tooltip.el (tooltip-frame-parameters):
5877 * newcomment.el (comment-end, comment-padding):
5878 * dired.el (dired-trivial-filenames):
5879 * comint.el (comint-file-name-prefix): Purecopy initial values.
5881 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
5883 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
5884 (tramp-advice-minibuffer-electric-tilde): Unload advices via
5886 (tramp-advice-make-auto-save-file-name)
5887 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
5888 after removing the advice.
5890 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
5892 * progmodes/grep.el (grep-regexp-alist):
5893 * international/mule-cmds.el (iso-2022-control-alist):
5894 * emacs-lisp/timer.el (timer-duration-words):
5895 * subr.el (version-separator, version-regexp-alist):
5896 * minibuffer.el (completion-styles-alist):
5897 * faces.el (face-attribute-name-alist, list-faces-sample-text):
5898 Change defvars to defconsts.
5900 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
5901 * loadup.el ("international/mule-conf"): Load the byte compiled version.
5902 * international/mule-conf.el: Allow to be byte compiled.
5904 * international/mule.el (define-charset): Purecopy props.
5905 (load-with-code-conversion): Purecopy doc string and file name.
5906 (put-charset-property): Purecopy strings.
5907 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
5909 * international/mule-cmds.el (register-input-method): Purecopy arguments.
5910 (define-char-code-property): Correctly purecopy the table.
5912 * international/ccl.el (define-ccl-program): Purecopy the docstring.
5914 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
5916 * subr.el (add-hook): Purecopy strings.
5917 (eval-after-load): Purecopy load-history-regexp and the form.
5919 * custom.el (custom-declare-group): Purecopy load-file-name.
5921 * subr.el (menu-bar-separator): New defconst.
5922 * net/eudc.el (eudc-tools-menu):
5923 * international/mule-cmds.el (set-coding-system-map)
5925 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
5926 * vc-hooks.el (vc-menu-map):
5927 * replace.el (occur-mode-map):
5928 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
5929 (menu-bar-edit-menu, menu-bar-goto-menu)
5930 (menu-bar-custom-menu, menu-bar-showhide-menu)
5931 (menu-bar-options-menu, menu-bar-tools-menu)
5932 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
5933 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
5934 (menu-bar-help-menu):
5935 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
5936 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
5938 * term/x-win.el (x-gtk-stock-map):
5939 * progmodes/vera-mode.el (auto-mode-alist):
5940 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
5941 (inferior-lisp-program, inferior-lisp-load-command):
5942 * progmodes/hideshow.el (hs-special-modes-alist):
5943 * progmodes/gud.el (same-window-regexps):
5944 * progmodes/grep.el (grep-program, find-program, xargs-program):
5945 * net/telnet.el (same-window-regexps):
5946 * net/rlogin.el (same-window-regexps):
5947 * language/ethiopic.el (font-ccl-encoder-alist):
5948 * vc-sccs.el (vc-sccs-master-templates):
5949 * vc-rcs.el (vc-rcs-master-templates):
5950 * subr.el (cl-assertion-failed):
5951 * simple.el (next-error-overlay-arrow-position):
5952 * lpr.el (lpr-command):
5953 * locate.el (locate-ls-subdir-switches):
5954 * info.el (same-window-regexps, info)
5955 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
5956 * image-mode.el (image-mode, auto-mode-alist):
5957 * hippie-exp.el (hippie-expand-ignore-buffers):
5958 * format.el (format-alist):
5959 * find-dired.el (find-ls-subdir-switches, find-grep-options)
5961 * facemenu.el (facemenu-keybindings):
5962 * dired.el (dired-listing-switches, dired-chown-program):
5963 * diff.el (diff-switches, diff-command):
5964 * cus-edit.el (same-window-regexps):
5965 * bindings.el (mode-line-mule-info)
5966 (mode-line-buffer-identification): Purecopy strings.
5968 2009-11-11 Juri Linkov <juri@jurta.org>
5970 * simple.el (dired-get-filename) <declare-function>:
5971 Tell the byte-compiler about dired-get-filename.
5972 (shell-command): In Dired mode, get filename from the current line
5973 as the default value.
5975 2009-11-10 Glenn Morris <rgm@gnu.org>
5977 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
5978 * calendar/holidays.el, progmodes/cperl-mode.el:
5979 Update x-popup-menu declarations.
5981 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
5982 (list-load-path-shadows): Use dolist.
5983 (list-load-path-shadows): Use with-current-buffer.
5985 2009-11-10 Juri Linkov <juri@jurta.org>
5987 * minibuffer.el (read-file-name): Support a list of default values
5988 in `default-filename'. Use the first file name where only one
5989 element is required. Doc fix.
5991 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
5993 * net/dbus.el (dbus-unregister-object): Release service, if no
5994 other method is registered for it.
5996 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
5998 * bookmark.el (bookmark-completing-read): Sort bookmark names if
5999 bookmark-sort-flag is non-nil (Bug#4653).
6001 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
6003 * cedet/semantic/ctxt.el (semantic-get-local-variables): Disable
6004 the progress reporter entirely.
6006 * emulation/cua-base.el: Add CUA property to some CC mode commands
6009 2009-11-08 Kevin Ryde <user42@zip.com.au>
6011 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
6012 at end of sentence (Bug#4818).
6014 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
6016 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6017 Handle "see declaration of" MSFT statements (Bug#4100).
6019 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
6021 * net/tramp.el (tramp-advice-make-auto-save-file-name)
6022 (tramp-advice-file-expand-wildcards): Unload via
6025 * net/trampver.el: Update release number.
6027 2009-11-08 Kevin Ryde <user42@zip.com.au>
6029 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
6032 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
6034 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
6035 in order to keep context in SELinux.
6037 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
6039 * dired-aux.el (dired-query): Place cursor in echo area and allow
6042 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
6043 menu item if not on a directory (Bug#4701).
6045 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
6047 Sync with Tramp 2.1.17.
6049 * net/tramp.el (tramp-handle-copy-directory): Don't use
6050 `file-remote-p' (due to compatibility).
6052 * net/tramp-compat.el (tramp-compat-copy-directory)
6053 (tramp-compat-delete-directory): New defuns.
6055 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
6056 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
6057 `tramp-compat-delete-directory'.
6059 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6060 (tramp-smb-handle-delete-directory): Use
6061 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
6063 * net/trampver.el: Update release number.
6065 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
6067 * tar-mode.el (tar-copy): Call write-region on the right buffer
6070 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
6071 by hand, if necessary (Bug#4878).
6073 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
6075 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
6076 align size column (Bug#4839).
6078 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
6081 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
6083 * progmodes/ld-script.el (auto-mode-alist):
6084 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
6086 * cus-face.el (custom-declare-face): Purecopy face spec.
6088 2009-11-06 Kenichi Handa <handa@m17n.org>
6090 * international/uni-bidi.el: Re-generated.
6091 * international/uni-category.el: Re-generated.
6092 * international/uni-combining.el: Re-generated.
6093 * international/uni-mirrored.el: Re-generated.
6095 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
6097 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
6098 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
6099 (tex-start-options, slitex-run-command, latex-run-command)
6100 (tex-run-command, tex-directory):
6101 * textmodes/ispell.el (ispell-html-skip-alists)
6102 (ispell-tex-skip-alists, ispell-tex-skip-alists):
6103 * textmodes/fill.el (adaptive-fill-first-line-regexp):
6104 (adaptive-fill-regexp):
6105 * textmodes/dns-mode.el (auto-mode-alist):
6106 * progmodes/python.el (interpreter-mode-alist):
6107 * progmodes/etags.el (tags-compression-info-list):
6108 * progmodes/etags.el (tags-file-name):
6109 * net/browse-url.el (browse-url-galeon-program)
6110 (browse-url-firefox-program):
6111 * mail/sendmail.el (mail-signature-file)
6112 (mail-citation-prefix-regexp):
6113 * international/mule-conf.el (eight-bit):
6114 * international/latexenc.el (latex-inputenc-coding-alist):
6115 * international/fontset.el (x-pixel-size-width-font-regexp):
6116 * emacs-lisp/warnings.el (warning-type-format):
6117 * emacs-lisp/trace.el (trace-buffer):
6118 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
6119 (emacs-lisp-mode-map):
6120 * calendar/holidays.el (holiday-solar-holidays)
6121 (holiday-bahai-holidays, holiday-islamic-holidays)
6122 (holiday-christian-holidays, holiday-hebrew-holidays)
6123 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
6124 (hebrew-holidays-1, holiday-oriental-holidays)
6125 (holiday-general-holidays):
6126 * x-dnd.el (x-dnd-known-types):
6127 * tool-bar.el (tool-bar):
6128 * startup.el (site-run-file):
6129 * shell.el (shell-dumb-shell-regexp):
6130 * rfn-eshadow.el (file-name-shadow-tty-properties)
6131 (file-name-shadow-properties):
6132 * paths.el (remote-shell-program, news-directory):
6133 * mouse.el ([C-down-mouse-3]):
6134 * menu-bar.el (menu-bar-tools-menu):
6135 * jka-cmpr-hook.el (jka-compr-load-suffixes)
6136 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
6137 (jka-compr-compression-info-list):
6138 * isearch.el (search-whitespace-regexp):
6139 * image-file.el (image-file-name-extensions):
6140 * find-dired.el (find-ls-option):
6141 * files.el (directory-listing-before-filename-regexp)
6142 (directory-free-space-args, insert-directory-program)
6143 (list-directory-brief-switches, magic-fallback-mode-alist)
6144 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
6145 (automount-dir-prefix):
6146 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
6147 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
6148 (face-font-registry-alternatives, face-font-registry-alternatives)
6149 (face-font-family-alternatives):
6150 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
6151 (facemenu-foreground-menu, facemenu-face-menu):
6152 * epa-hook.el (epa-file-name-regexp):
6153 * dnd.el (dnd-protocol-alist):
6154 * textmodes/rst.el (auto-mode-alist):
6155 * button.el (default-button): Purecopy strings.
6157 2009-11-06 Glenn Morris <rgm@gnu.org>
6159 * Makefile.in (ELCFILES): Update.
6161 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6163 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
6164 * emacs-lisp/levents.el: Move to obsolete/levents.el.
6166 * nxml/xsd-regexp.el (xsdre-gen-categories):
6167 * nxml/xmltok.el (xmltok-parse-entity):
6168 * nxml/rng-parse.el (rng-parse-validate-file):
6169 * nxml/rng-maint.el (rng-format-manual)
6170 (rng-manual-output-force-new-line):
6171 * nxml/rng-loc.el (rng-save-schema-location-1):
6172 * nxml/rng-cmpct.el (rng-c-parse-file):
6173 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
6174 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
6176 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
6178 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
6179 Remove extra save-excursions and make-variable-buffer-local's.
6180 Suggested by Stefan Monnier.
6182 (verilog-getopt-file, verilog-module-inside-filename-p)
6183 (verilog-set-define): Merge GNU 1.35 and repair changes from
6184 switching to using with-current-buffer.
6186 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
6187 being treated as a number and confusing AUTORESET.
6188 Reported by Dan Dever.
6190 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
6191 Add verilog-auto-ignore-concat to fix backward compatibility with
6192 older verilog-modes. Reported by Dan Katz.
6194 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
6195 containing closing anchors "...$".
6197 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
6198 Reported by Wade Smith.
6200 (verilog-batch-execute-func): Comment on function usage.
6202 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
6204 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
6207 (verilog-label-re, verilog-calc-1): Support proper indent of named
6210 (verilog-backward-token, verilog-basic-complete-re)
6211 (verilog-beg-of-statement, verilog-indent-re): Support proper
6212 indent of the assert statement at the beginning of a block of text.
6214 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
6215 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
6218 2009-11-05 Glenn Morris <rgm@gnu.org>
6220 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
6221 Emacs 19. (Bug#1531)
6222 (byte-compile-fix-header): Update for the above change.
6223 Drop test for epoch::version.
6225 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
6226 * cus-dep.el (custom-make-dependencies):
6227 * finder.el (finder-compile-keywords):
6228 Use autoload-rubric's feature argument.
6230 * calendar/diary-lib.el (top-level): Make load behave more like require.
6232 * vc-git.el (vc-git-stash-map): Move definition before use.
6234 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
6236 * custom.el (custom-declare-group): Purecopy standard-value.
6237 (custom-declare-group): Purecopy custom-prefix.
6239 * international/mule.el (load-with-code-conversion):
6240 Call do-after-load-evaluation unconditionally.
6242 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
6244 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6246 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
6248 2009-11-04 Glenn Morris <rgm@gnu.org>
6250 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
6251 (byte-compile-compatibility): Remove option.
6252 (byte-compile-close-variables, byte-compile-fix-header)
6253 (byte-compile-insert-header, byte-compile-output-docform)
6254 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
6255 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
6256 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
6257 (byte-compile-insert, byte-compile-defun):
6258 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
6259 (byte-defop-compiler19): Remove.
6260 Without byte-compile-compatibility, the 'emacs19-opcode property is not
6261 used by anything. Replace all calls with byte-defop-compiler.
6263 2009-11-04 Juri Linkov <juri@jurta.org>
6265 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
6266 (menu-bar-options-menu): Don't quote the `prop' arg of
6267 `menu-bar-make-mm-toggle'.
6269 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
6271 * calendar/calendar.el (cal-loaddefs):
6272 * calendar/diary-lib.el (diary-loaddefs):
6273 * calendar/holidays.el (hol-loaddefs):
6274 * eshell/esh-module.el (esh-groups): Load rather than require.
6276 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6278 * calendar/todo-mode.el (todo-add-category): Don't hardcode
6280 (todo-top-priorities): Only display-buffer when called interactively.
6281 (todo-item-start): Don't save excursion point.
6282 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
6283 (todo-insert-item-here, todo-file-item, todo-remove-item):
6284 Adjust uses of todo-item-start and todo-item-end.
6286 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
6287 (autoload-rubric): Don't use any more.
6288 * cedet/semantic/fw.el (semantic/loaddefs):
6289 * cedet/srecode.el (srecode/loaddefs):
6290 * cedet/ede.el (ede/loaddefs): Load rather than require.
6291 * cedet/ede/cpp-root.el:
6292 * cedet/ede/emacs.el:
6293 * cedet/ede/files.el:
6294 * cedet/ede/linux.el:
6295 * cedet/ede/locate.el:
6296 * cedet/ede/make.el:
6297 * cedet/ede/shell.el:
6298 * cedet/ede/speedbar.el:
6299 * cedet/ede/system.el:
6300 * cedet/ede/util.el:
6301 * cedet/semantic/analyze.el:
6302 * cedet/semantic/bovine.el:
6303 * cedet/semantic/complete.el:
6304 * cedet/semantic/ctxt.el:
6305 * cedet/semantic/db-file.el:
6306 * cedet/semantic/db-find.el:
6307 * cedet/semantic/db-global.el:
6308 * cedet/semantic/db-mode.el:
6309 * cedet/semantic/db-typecache.el:
6310 * cedet/semantic/db.el:
6311 * cedet/semantic/debug.el:
6312 * cedet/semantic/dep.el:
6313 * cedet/semantic/doc.el:
6314 * cedet/semantic/edit.el:
6315 * cedet/semantic/find.el:
6316 * cedet/semantic/format.el:
6317 * cedet/semantic/html.el:
6318 * cedet/semantic/ia-sb.el:
6319 * cedet/semantic/ia.el:
6320 * cedet/semantic/idle.el:
6321 * cedet/semantic/lex-spp.el:
6322 * cedet/semantic/lex.el:
6323 * cedet/semantic/mru-bookmark.el:
6324 * cedet/semantic/scope.el:
6325 * cedet/semantic/senator.el:
6326 * cedet/semantic/sort.el:
6327 * cedet/semantic/symref.el:
6328 * cedet/semantic/tag-file.el:
6329 * cedet/semantic/tag-ls.el:
6330 * cedet/semantic/tag-write.el:
6331 * cedet/semantic/tag.el:
6332 * cedet/semantic/util-modes.el:
6333 * cedet/semantic/analyze/complete.el:
6334 * cedet/semantic/analyze/refs.el:
6335 * cedet/semantic/bovine/c.el:
6336 * cedet/semantic/bovine/gcc.el:
6337 * cedet/semantic/bovine/make.el:
6338 * cedet/semantic/bovine/scm.el:
6339 * cedet/semantic/decorate/include.el:
6340 * cedet/semantic/decorate/mode.el:
6341 * cedet/semantic/symref/cscope.el:
6342 * cedet/semantic/symref/global.el:
6343 * cedet/semantic/symref/grep.el:
6344 * cedet/semantic/symref/idutils.el:
6345 * cedet/semantic/symref/list.el:
6346 * cedet/semantic/wisent/java-tags.el:
6347 * cedet/semantic/wisent/javascript.el:
6348 * cedet/srecode/compile.el:
6349 * cedet/srecode/cpp.el:
6350 * cedet/srecode/document.el:
6351 * cedet/srecode/el.el:
6352 * cedet/srecode/expandproto.el:
6353 * cedet/srecode/getset.el:
6354 * cedet/srecode/insert.el:
6355 * cedet/srecode/java.el:
6356 * cedet/srecode/map.el:
6357 * cedet/srecode/mode.el:
6358 * cedet/srecode/template.el:
6359 * cedet/srecode/texi.el: Remove the file-local setting of
6360 generated-autoload-feature.
6362 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
6363 and only put a prop if it is non-nil.
6365 2009-11-03 Juri Linkov <juri@jurta.org>
6367 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
6368 (menu-bar-options-menu): Fix list quoting (Bug#4429).
6370 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
6371 and "Menu" to make top-level menu item visually one unit (like
6372 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
6373 multi-word menu items). Fix :help string for quit-window.
6375 2009-11-03 Glenn Morris <rgm@gnu.org>
6377 * cedet/mode-local.el (with-mode-local): Doc fix.
6379 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
6380 (byte-compile-file-form-define-abbrev-table)
6381 (byte-compile-file-form-custom-declare-variable)
6382 (byte-compile-variable-ref, byte-compile-defvar):
6383 Whether or not a warning is enabled should only affect whether we issue
6384 the warning, not whether or not we collect the relevant data.
6385 Eg warnings can be turned on and off throughout the course of a file.
6387 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
6388 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
6390 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6392 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
6393 * play/mpuz.el (mpuz-create-buffer):
6394 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
6395 (lm-print-y,s,noise, lm-print-w0, lm-init):
6396 * play/gomoku.el (gomoku-prompt-for-move):
6397 * play/fortune.el (fortune-in-buffer):
6398 * play/dissociate.el (dissociated-press):
6399 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
6400 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
6401 * mail/supercite.el (sc-eref-show):
6402 * mail/smtpmail.el (smtpmail-send-it):
6403 * mail/rmailsum.el (rmail-summary-next-labeled-message)
6404 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
6405 (rmail-summary-undelete-many, rmail-summary-rmail-update)
6406 (rmail-summary-goto-msg, rmail-summary-expunge)
6407 (rmail-summary-get-new-mail, rmail-summary-search-backward)
6408 (rmail-summary-add-label, rmail-summary-output-menu)
6409 (rmail-summary-output-body):
6410 * mail/rfc822.el (rfc822-addresses):
6411 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
6412 * mail/mailpost.el (post-mail-send-it):
6413 * mail/hashcash.el (hashcash-generate-payment):
6414 * mail/feedmail.el (feedmail-run-the-queue)
6415 (feedmail-queue-send-edit-prompt-help-first)
6416 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
6417 (feedmail-deduce-address-list):
6418 * eshell/esh-ext.el (eshell-remote-command):
6419 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
6420 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
6421 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
6422 (viper-save-string-in-file, viper-valid-marker):
6423 * emulation/viper-keym.el (viper-toggle-key):
6424 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
6425 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
6426 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
6427 * emulation/viper-cmd.el (viper-exec-form-in-vi)
6428 (viper-exec-form-in-emacs, viper-brac-function):
6429 * emulation/viper.el (viper-delocalize-var):
6430 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
6431 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
6432 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
6433 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
6434 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
6435 * emulation/edt.el (edt-electric-helpify):
6436 * emulation/cua-rect.el (cua--rectangle-aux-replace):
6437 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
6438 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
6439 (cua-indent-to-global-mark-column):
6440 * calendar/diary-lib.el (calendar-mark-1):
6441 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
6442 Use with-current-buffer.
6443 * emulation/viper.el (viper-delocalize-var): Use dolist.
6445 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
6447 * comint.el (comint-replace-by-expanded-history-before-point):
6448 Replace !! with the previous input string literally (Bug#1795).
6450 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
6452 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
6453 to be made up of whitespace.
6455 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
6457 * minibuffer.el (read-file-name): Don't use file dialogs for
6458 remote directories (Bug#99).
6460 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
6462 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
6464 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
6466 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
6467 instead of deleting the window or frame.
6469 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
6471 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
6472 Support face colors.
6474 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
6475 New function. Support face colors (Bug#1168).
6476 (tex-common-initialization): Use it.
6478 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
6479 mode allows it (Bug#1168).
6481 2009-10-31 Juri Linkov <juri@jurta.org>
6483 * facemenu.el (list-colors-display): Don't mark buffer as
6484 modified (Bug#3948).
6486 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
6488 * international/mule-diag.el (list-character-sets-1): Minor
6489 message fix (Bug#3526).
6491 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
6492 face property (Bug#4834).
6493 (etags-list-tags, etags-tags-apropos-additional)
6494 (etags-tags-apropos, tags-select-tags-table): Add follow-link
6497 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
6500 * cedet/cedet.el (cedet-menu-map): Remove Semantic and EDE menu
6503 * cedet/ede.el (ede-minor-mode):
6504 * cedet/semantic.el (semantic-mode): Toggle menu separators.
6506 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
6508 * textmodes/two-column.el (2C-split):
6509 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
6510 * textmodes/tex-mode.el (tex-set-buffer-directory):
6511 * textmodes/spell.el (spell-region, spell-string):
6512 * textmodes/reftex.el (reftex-erase-buffer):
6513 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
6514 * textmodes/reftex-toc.el (reftex-toc-promote-action):
6515 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
6516 (reftex-select-item):
6517 * textmodes/reftex-ref.el (reftex-label-info-update)
6518 (reftex-offer-label-menu):
6519 * textmodes/reftex-index.el (reftex-index-change-entry)
6520 (reftex-index-phrases-info):
6521 * textmodes/reftex-global.el (reftex-create-tags-file)
6522 (reftex-save-all-document-buffers, reftex-ensure-write-access):
6523 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
6524 (reftex-view-crossref-from-bibtex):
6525 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
6526 (reftex-extract-bib-entries-from-thebibliography)
6527 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
6528 * textmodes/refbib.el (r2b-capitalize-title):
6529 (r2b-convert-buffer, r2b-help):
6530 * textmodes/page-ext.el (pages-directory)
6531 (pages-directory-goto-with-mouse):
6532 * textmodes/bibtex.el (bibtex-validate-globally):
6533 * textmodes/bib-mode.el (bib-capitalize-title):
6534 * textmodes/artist.el (artist-clear-buffer, artist-system):
6535 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
6536 (local-set-scheme-interaction-buffer, xscheme-process-filter)
6537 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
6538 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
6539 (xscheme-send-control-g-interrupt, xscheme-start-process)
6540 (xscheme-process-sentinel, xscheme-cd):
6541 * progmodes/verilog-mode.el (verilog-read-always-signals)
6542 (verilog-set-define, verilog-getopt-file)
6543 (verilog-module-inside-filename-p):
6544 * progmodes/sh-script.el:
6545 * progmodes/python.el (python-pdbtrack-get-source-buffer)
6546 (python-pdbtrack-grub-for-buffer, python-execute-file):
6547 * progmodes/octave-inf.el (inferior-octave):
6548 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6549 (idlwave-shell-compile-helper-routines, idlwave-set-local)
6550 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
6551 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
6552 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
6553 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
6554 (idlwave-shell-filter, idlwave-shell-examine-highlight)
6555 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
6556 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
6557 (idlwave-shell-examine-display, idlwave-shell-run-region)
6558 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
6559 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
6560 * progmodes/idlw-help.el (idlwave-help-get-special-help)
6561 (idlwave-help-get-help-buffer):
6562 * progmodes/gud.el (gud-basic-call, gud-find-class)
6563 (gud-tooltip-activate-mouse-motions-if-enabled):
6564 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6565 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
6566 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
6567 (ebrowse-tags-next-file):
6568 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
6569 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
6570 (ebnf-eps-finish-and-write):
6571 * progmodes/cpp.el (cpp-edit-save):
6572 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
6573 * progmodes/cc-defs.el (c-emacs-features):
6574 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
6575 (antlr-directory-dependencies):
6576 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
6577 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
6578 (ada-find-any-references, ada-make-filename-from-adaname)
6579 (ada-make-body-gnatstub):
6580 * obsolete/rnews.el (news-list-news-groups):
6581 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
6582 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
6583 * net/rcirc.el (rcirc-debug):
6584 * net/newst-treeview.el (newsticker--treeview-list-add-item)
6585 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
6586 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
6587 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
6588 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
6589 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
6590 (newsticker--treeview-list-clear-highlight)
6591 (newsticker--treeview-list-update-highlight)
6592 (newsticker--treeview-list-highlight-start)
6593 (newsticker--treeview-tree-update-highlight)
6594 (newsticker--treeview-get-selected-item)
6595 (newsticker-treeview-mark-list-items-old)
6596 (newsticker--treeview-set-current-node):
6597 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6598 * net/newst-backend.el (newsticker--get-news-by-funcall)
6599 (newsticker--get-news-by-wget, newsticker--image-get)
6600 (newsticker--image-sentinel):
6601 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
6602 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
6603 (eudc-ph-close-session):
6604 * net/eudc.el (eudc-save-options):
6605 * language/thai-word.el (thai-update-word-table):
6606 * language/japan-util.el (japanese-string-conversion):
6607 * international/titdic-cnv.el (tsang-quick-converter)
6608 (ziranma-converter, ctlau-converter):
6609 * international/mule-cmds.el (describe-language-environment):
6610 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
6611 (skkdic-convert-postfix, skkdic-convert-prefix):
6612 (skkdic-convert-okuri-nasi, skkdic-convert):
6613 * emacs-lisp/re-builder.el (reb-update-overlays):
6614 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
6615 * emacs-lisp/gulp.el (gulp-send-requests):
6616 * emacs-lisp/find-gc.el (trace-call-tree):
6617 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
6618 (eieio-describe-generic):
6619 * emacs-lisp/eieio-base.el (eieio-persistent-read):
6620 * emacs-lisp/edebug.el (edebug-outside-excursion):
6621 * emacs-lisp/debug.el (debugger-make-xrefs):
6622 * emacs-lisp/cust-print.el (custom-prin1-to-string):
6623 * emacs-lisp/chart.el (chart-new-buffer):
6624 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
6625 Use with-current-buffer.
6626 * textmodes/artist.el (artist-system): Don't call
6627 copy-sequence on a fresh string.
6628 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
6630 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
6632 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
6633 is no item to edit. (Bug#4820)
6634 (todo-top-priorities): Restore point and restore narrowing in Todo
6637 2009-10-31 Glenn Morris <rgm@gnu.org>
6639 * net/ange-ftp.el (top-level): Don't require dired when compiling.
6640 (comint-last-output-start, comint-last-input-start)
6641 (comint-last-input-end): Don't defvar when compiling.
6642 (ange-ftp-process-file): Use bound-and-true-p.
6644 * pcmpl-rpm.el (top-level): Move provide statement to end.
6645 (pcmpl-rpm): Remove unused custom group.
6647 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
6649 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
6651 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
6652 (byte-compile-warnings): Add `constants' as an option.
6653 (byte-compile-callargs-warn, byte-compile-arglist-warn)
6654 (display-call-tree): Update for byte-compile-fdefinition possibly
6655 returning `(macro lambda ...)'. (Bug#4778)
6656 (byte-compile-variable-ref, byte-compile-setq-default):
6657 Respect `constants' member of byte-compile-warnings.
6659 * cedet/semantic/tag.el (semantic--tag-link-list-to-buffer):
6660 Use mapc rather than mapcar because the return value is never used.
6662 * cedet/srecode/template.el, cedet/semantic/wisent/javascript.el:
6663 * cedet/semantic/wisent/java-tags.el, cedet/semantic/texi.el:
6664 * cedet/semantic/html.el:
6665 Suppress harmless warnings about setting up semantic-imenu (not
6666 part of Emacs) variables.
6668 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
6670 * vc-bzr.el (vc-bzr-revision-keywords): New var.
6671 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
6674 * cedet/srecode/srt-mode.el (semantic-analyze-possible-completions):
6675 * cedet/semantic/symref/list.el (semantic-symref-rb-toggle-expand-tag):
6676 * cedet/semantic/symref/grep.el (semantic-symref-perform-search):
6677 * cedet/semantic/bovine/gcc.el (semantic-gcc-query):
6678 * cedet/semantic/bovine/c.el (semantic-c-parse-lexical-token):
6679 * cedet/semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons)
6680 (semantic-analyzer-debug-global-symbol)
6681 (semantic-analyzer-debug-missing-innertype)
6682 (semantic-analyzer-debug-insert-include-summary):
6683 * cedet/semantic/util.el (semantic-file-tag-table):
6684 (semantic-describe-buffer-var-helper, semantic-something-to-tag-table)
6685 (semantic-recursive-find-nonterminal-by-name):
6686 * cedet/semantic/tag-ls.el (semantic-tag-calculate-parent-default):
6687 * cedet/semantic/tag-file.el (semantic-prototype-file):
6688 * cedet/semantic/symref.el (semantic-symref-parse-tool-output):
6689 * cedet/semantic/sb.el (semantic-sb-fetch-tag-table):
6690 * cedet/semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
6691 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer):
6692 (semantic-idle-summary-maybe-highlight):
6693 * cedet/semantic/ia-sb.el (semantic-ia-speedbar)
6694 (semantic-ia-sb-tag-info):
6695 * cedet/semantic/grammar.el (semantic-analyze-possible-completions):
6696 * cedet/semantic/find.el (semantic-brute-find-tag-by-position):
6697 * cedet/semantic/ede-grammar.el (project-compile-target):
6698 (ede-proj-makefile-insert-variables):
6699 * cedet/semantic/debug.el (semantic-debug-set-parser-location):
6700 (semantic-debug-set-source-location, semantic-debug-interface-layout)
6701 (semantic-debug-mode, semantic-debug):
6702 * cedet/semantic/db.el (semanticdb-needs-refresh-p):
6703 * cedet/semantic/db-typecache.el (semanticdb-typecache-refresh-for-buffer):
6704 * cedet/semantic/db-javascript.el (semanticdb-equivalent-mode):
6705 * cedet/semantic/db-find.el (semanticdb-find-log-new-search)
6706 (semanticdb-find-translate-path-includes--internal)
6707 (semanticdb-reset-log, semanticdb-find-log-activity):
6708 * cedet/semantic/db-file.el (object-write):
6709 * cedet/semantic/db-el.el (semanticdb-equivalent-mode):
6710 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-C-file-p)
6711 (semanticdb-create-ebrowse-database):
6712 * cedet/semantic/db-debug.el (semanticdb-table-sanity-check):
6713 * cedet/semantic/complete.el (semantic-displayor-focus-request)
6714 (semantic-collector-calculate-completions-raw)
6715 (semantic-complete-read-tag-analyzer):
6716 * cedet/semantic/analyze.el (semantic-analyze-pulse):
6717 * cedet/ede/util.el (ede-update-version-in-source):
6718 * cedet/ede/proj.el (project-delete-target):
6719 * cedet/ede/proj-elisp.el (ede-update-version-in-source)
6720 (ede-proj-flush-autoconf):
6721 * cedet/ede/pconf.el (ede-proj-configure-synchronize)
6722 (ede-proj-configure-synchronize):
6723 * cedet/ede/locate.el (ede-locate-file-in-project-impl):
6724 * cedet/ede/linux.el (ede-linux-version):
6725 * cedet/ede/emacs.el (ede-emacs-version):
6726 * cedet/ede/dired.el (ede-dired-add-to-target):
6727 * cedet/ede.el (ede-buffer-header-file, ede-find-target)
6728 (ede-buffer-documentation-files, ede-project-buffers, ede-set)
6729 (ede-target-buffers, ede-buffers, ede-make-project-local-variable):
6730 * cedet/cedet-idutils.el (cedet-idutils-fnid-call):
6731 (cedet-idutils-lid-call, cedet-idutils-expand-filename)
6732 (cedet-idutils-version-check):
6733 * cedet/cedet-global.el (cedet-gnu-global-call):
6734 (cedet-gnu-global-expand-filename, cedet-gnu-global-root)
6735 (cedet-gnu-global-version-check, cedet-gnu-global-scan-hits):
6736 * cedet/cedet-cscope.el (cedet-cscope-call)
6737 (cedet-cscope-expand-filename, cedet-cscope-version-check):
6738 Use with-current-buffer.
6739 * cedet/ede.el (ede-make-project-local-variable)
6740 (ede-set-project-variables, ede-set): Use dolist.
6742 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
6744 * textmodes/ispell.el (ispell-skip-region-alist):
6745 * international/mule-conf.el (eight-bit):
6746 * international/fontset.el (font-encoding-alist):
6747 * startup.el (pure-space-overflow-message):
6748 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
6749 * paths.el (gnus-nntp-service, rmail-spool-directory)
6751 * files.el (save-some-buffers-action-alist):
6752 * cmuscheme.el (same-window-buffer-names):
6753 * ielm.el (same-window-buffer-names):
6754 * shell.el (same-window-buffer-names):
6755 * mail/sendmail.el (same-window-buffer-names):
6756 * progmodes/inf-lisp.el (same-window-buffer-names):
6757 * bindings.el (mode-line-client)
6758 (mode-line-column-line-number-mode-map):
6759 * language/tibetan.el (tibetan-precomposition-rule-regexp)
6760 (tibetan-precomposed-regexp): Purecopy string arguments.
6762 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
6764 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
6765 (calcDigit-nondigit):
6766 * calc/calc-yank.el (calc-copy-to-buffer):
6767 * calc/calc-units.el (calc-invalidate-units-table):
6768 * calc/calc-trail.el (calc-trail-yank):
6769 * calc/calc-store.el (calc-insert-variables):
6770 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
6771 * calc/calc-prog.el (calc-read-parse-table):
6772 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
6773 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
6774 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
6775 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
6776 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
6777 (calc-graph-name, calc-graph-find-command, calc-graph-view)
6778 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
6779 * calc/calc-ext.el (calc-realign):
6780 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
6781 (calc-embedded-finish-edit, calc-embedded-make-info)
6782 (calc-embedded-finish-command, calc-embedded-stack-change):
6783 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
6785 * cedet/mode-local.el (make-obsolete-overload): Add `when' argument.
6786 (overload-docstring-extension): Use that info.
6787 * cedet/semantic/fw.el (semantic-alias-obsolete): Pass the `when' info.
6788 * cedet/semantic/idle.el (semantic-eldoc-current-symbol-info):
6789 * cedet/semantic/tag-ls.el (semantic-nonterminal-protection)
6790 (semantic-nonterminal-abstract, semantic-nonterminal-leaf)
6791 (semantic-nonterminal-full-name): Add the new `when' info.
6792 * cedet/semantic/decorate/mode.el (semantic/decorate): Require CL for
6795 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
6796 shell-dynamic-complete-filename in preference to
6797 comint-dynamic-complete-filename.
6799 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
6800 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
6801 Don't consider whether the display supports colors.
6802 (bookmark-import-new-list): Use dolist.
6803 (bookmark-bmenu-mode-map): Move initialization into declaration.
6804 (bookmark-bmenu-list): Use dolist, simplify.
6805 (bookmark-show-all-annotations): Use save-selected-window and dolist.
6806 (menu-bar-final-items): Use push.
6808 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
6810 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
6811 it works on remote files.
6812 (vc-hg-diff): Don't pass any `--cwd' argument.
6814 2009-10-27 Kevin Ryde <user42@zip.com.au>
6816 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
6817 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
6818 (Further to Bug#3921).
6820 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
6822 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
6823 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
6824 calling `tramp-imap-put-file'. Add file size to the call.
6825 (tramp-imap-get-file-entries): Compute also user name, file size,
6827 (tramp-imap-handle-insert-directory): Insert uid and gid.
6828 (tramp-imap-handle-file-attributes): Transform uid and gid
6829 according to `id-format'.
6830 (tramp-imap-put-file): New optional parameter SIZE. Encode file
6831 size in header X-Size.
6833 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
6835 * simple.el (transpose-subr): Give clearer error when the mark
6836 is not set. (Bug#4807)
6838 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
6840 * net/tramp.el (tramp-perl-file-truename): New defconst.
6841 Perl code contributed by yary <not.com@gmail.com> (tiny change).
6842 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
6843 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
6844 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
6846 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
6847 Ignore `dired-call-process'.
6848 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
6850 2009-10-26 Julian Scheid <julians37@gmail.com>
6852 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
6853 (tramp-get-remote-readlink): New defun.
6854 (tramp-handle-file-truename): Use it.
6855 (tramp-handle-file-exists-p): Check file-attributes cache, assume
6856 file exists if cache value present.
6857 (tramp-check-cached-permissions): New defun.
6858 (tramp-handle-file-readable-p): Use it.
6859 (tramp-handle-file-writable-p): Likewise.
6860 (tramp-handle-file-executable-p): Likewise.
6861 (tramp-handle-file-name-all-completions): Try using Perl to get
6862 partial completions. When perl not available, combine `cd' and
6863 `ls' into single remote operation and use shell expansion to get
6864 partial remote directory contents. Set `file-exists-p' cache for
6865 directory and any files returned by ls. Change cache handling to
6866 support partial directory contents. Use error message emitted by
6867 remote `cd' or Perl code for local tramp-error.
6868 (tramp-do-copy-or-rename-file-directly): Avoid separate
6869 tramp-send-command-and-check call.
6870 (tramp-handle-process-file): Merge three remote ops into one.
6871 Do not flush all caches when `process-file-side-effects' is set.
6872 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
6873 file-attributes shows uid/gid to be set already.
6875 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
6877 * textmodes/tex-mode.el (tex-dvi-view-command)
6878 (tex-show-queue-command, tex-open-quote):
6879 * progmodes/ruby-mode.el (auto-mode-alist)
6880 (interpreter-mode-alist): Purecopy strings.
6882 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
6884 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
6885 string for the hook, keymap and abbrev table.
6887 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
6889 * x-dnd.el (x-dnd-xdnd-to-action):
6890 * startup.el (fancy-startup-text, fancy-about-text): Change to
6891 defconst from defvar.
6893 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
6895 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
6896 Purecopy initialization strings.
6898 * mail/sendmail.el (mail-header-separator)
6899 (mail-personal-alias-file):
6900 * mail/rmail.el (rmail-default-dont-reply-to-names)
6901 (rmail-ignored-headers, rmail-retry-ignored-headers)
6902 (rmail-highlighted-headers, rmail-secondary-file-directory)
6903 (rmail-secondary-file-regexp):
6904 * files.el (null-device, file-name-invalid-regexp)
6905 (locate-dominating-stop-dir-regexp)
6906 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
6907 (interpreter-mode-alist): Use mapcar instead of mapc.
6909 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
6911 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
6912 (completion-ignored-extensions):
6913 (debug-ignored-errors): Purecopy strings.
6915 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
6917 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
6918 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
6919 (pcomplete--here): Use push.
6921 * subr.el (all-completions): Declare the 4th arg obsolete.
6923 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6925 * pcomplete.el (pcomplete-unquote-argument-function): New var.
6926 (pcomplete-unquote-argument): New function.
6927 (pcomplete--common-suffix): Always pay attention to case.
6928 (pcomplete--table-subvert): Quote and unquote the text.
6929 (pcomplete--common-quoted-suffix): New function.
6930 (pcomplete-std-complete): Use it and pcomplete-begin.
6932 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
6933 we're inside a dedicated or minibuffer window.
6935 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
6937 * cedet/semantic/fw.el (semantic-alias-obsolete)
6938 (semantic-varalias-obsolete): Make the `when' arg mandatory.
6939 (define-mode-overload-implementation):
6940 * cedet/semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks):
6941 * cedet/semantic/wisent.el (wisent-lex-make-token-table):
6942 * cedet/semantic/util.el (semantic-file-token-stream)
6943 (semantic-something-to-stream):
6944 * cedet/semantic/tag.el (semantic-tag-make-assoc-list)
6945 (semantic-expand-nonterminal):
6946 * cedet/semantic/tag-file.el (semantic-find-nonterminal)
6947 (semantic-find-dependency, semantic-find-nonterminal)
6948 (semantic-find-dependency):
6949 * cedet/semantic/lex.el (semantic-flex-start, semantic-flex-end)
6950 (semantic-flex-text, semantic-flex-make-keyword-table)
6951 (semantic-flex-keyword-p, semantic-flex-keyword-put)
6952 (semantic-flex-keyword-get, semantic-flex-map-keywords)
6953 (semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list):
6954 * cedet/semantic/java.el (semantic-java-prototype-nonterminal):
6955 * cedet/semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks)
6956 (semantic-after-idle-scheduler-reparse-hooks):
6957 * cedet/semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks):
6958 * cedet/semantic/db-mode.el (semanticdb-mode-hooks):
6959 * cedet/semantic.el (semantic-toplevel-bovine-table)
6960 (semantic-toplevel-bovine-cache)
6961 (semantic-before-toplevel-bovination-hook, semantic-init-hooks)
6962 (semantic-init-mode-hooks, semantic-init-db-hooks)
6963 (semantic-bovination-working-type): Provide the `when' arg.
6965 2009-10-24 Karl Fogel <kfogel@red-bean.com>
6967 * bookmark.el: Update documentation, especially documentation
6968 of `bookmark-alist' and of the bookmark file format.
6969 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
6971 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
6973 * mail/emacsbug.el (report-emacs-bug): Clarify that the
6974 keybindings apply to the mail buffer (Bug#4003). Shrink help
6977 * whitespace.el (whitespace-mode, whitespace-newline-mode)
6978 (global-whitespace-mode, global-whitespace-newline-mode)
6979 (whitespace-toggle-options, global-whitespace-toggle-options):
6982 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
6983 of xmltok-start before the end tag was inserted (Bug#2840).
6985 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
6986 patterns that are preceded by an open-paren (Bug#1320).
6988 2009-10-24 Sven Joachim <svenjoac@gmx.de>
6990 * files.el (delete-directory): Delete symlinks to directories with
6991 delete-file (Bug#4739).
6993 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
6995 * cedet/semantic/util.el (semantic-recursive-find-nonterminal-by-name):
6996 * cedet/semantic/tag.el (semantic-token-type-parent): Add WHEN
6997 argument to make-obsolete.
6999 * cedet/semantic/fw.el (semantic-alias-obsolete)
7000 (semantic-varalias-obsolete): Add optional WHEN argument.
7002 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
7004 * vc.el (vc-backend-for-registration): Rename from
7005 vc-get-backend-for-registration. Update callers.
7007 * international/mule-cmds.el (set-language-info-alist):
7009 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
7010 (charset): Purecopy the name.
7011 (define-char-code-property): Purecopy string arguments.
7013 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
7014 Purecopy string arguments.
7016 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
7017 * ediff-hook.el (menu-bar-ediff-menu):
7018 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
7019 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
7021 2009-10-24 Glenn Morris <rgm@gnu.org>
7023 * comint.el (comint-dynamic-list-completions):
7024 * term.el (term-dynamic-list-completions): Use choose-completion rather
7025 than obsolete alias mouse-choose-completion.
7027 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
7028 file-cache-choose-completion.
7029 (file-cache-choose-completion): Handle an optional event argument.
7030 (file-cache-mouse-choose-completion): Make it an obsolete alias.
7032 * progmodes/octave-mod.el (octave-complete-symbol):
7033 Use choose-completion if mouse-choose-completion is ever removed.
7035 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
7038 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
7041 * vc-hooks.el (vc-responsible-backend): Fix declaration.
7043 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7045 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
7046 Ignore `pred' now that we receive one.
7047 Handle test-completion specially.
7049 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
7051 * vc.el (vc-responsible-backend): Throw an error if not backend is
7052 found. Remove the REGISTER argument. Move the code dealing with
7054 (vc-get-backend-for-registration): ... here. New function.
7055 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
7056 of vc-responsible-backend, pass the file name instead of the
7059 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7061 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
7063 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
7064 (pcomplete-comint-setup): Don't modify a global var via
7065 accidental side-effects.
7066 (pcomplete-shell-setup): Adjust call accordingly.
7067 (pcomplete-parse-comint-arguments): Use push.
7069 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
7071 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
7072 Allow uncapitalized info node names (Bug#3921).
7074 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
7075 to the DEBUG file (Bug#3781).
7077 2009-10-23 Jari Aalto <jari.aalto@cante.net>
7079 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
7080 dictionary entry (Bug#4579).
7082 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
7084 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
7085 from `rfn-eshadow-update-overlay-hook' when unloading.
7086 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
7087 "rsyncc". Adjust doc string.
7088 (tramp-temp-buffer-file-name): New buffer-local defvar.
7089 (tramp-handle-insert-file-contents, tramp-handle-write-region):
7090 Keep temporary file when indicated by method ("rsync" and
7092 (tramp-handle-write-region): Handle APPEND.
7093 (tramp-delete-temp-file-function): New defun. Added to
7096 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
7098 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
7100 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
7102 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
7103 (color-name-rgb-alist, tty-standard-colors)
7104 (tty-color-mode-alist): Change to defconst.
7106 * simple.el (mark-inactive): Purecopy message.
7108 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
7109 (global-map, yank-menu):
7110 * textmodes/ispell.el (ispell-menu-map):
7111 * net/eudc.el (eudc-tools-menu):
7112 * international/mule-cmds.el (describe-language-environment-map)
7113 (setup-language-environment-map, set-coding-system-map)
7115 * vc-hooks.el (vc-menu-entry, vc-menu-map):
7116 * replace.el (occur-mode-map):
7117 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
7119 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
7121 * calc/calc.el (math-read-number, math-read-number-simple): Use
7124 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7126 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
7127 rather than fiddling with global-map bindings, since it should only
7128 affect per-terminal settings.
7129 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
7131 * minibuffer.el (completion-table-with-terminator): Allow to specify
7132 the terminator-regexp.
7134 * simple.el (switch-to-completions): Look for *Completions* in other
7137 * pcomplete.el: Allow the use of completion-tables.
7138 (pcomplete-std-complete): New command.
7139 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
7140 (pcomplete--here): Use a function for `form' rather than an expression,
7141 so it can be byte-compiled.
7142 (pcomplete-here, pcomplete-here*): Adjust accordingly.
7143 Add edebug declaration.
7144 (pcomplete-show-completions): Remove unused var `curbuf'.
7145 (pcomplete-do-complete, pcomplete-stub):
7146 Don't assume `completions' is a list of strings any more.
7148 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
7150 * find-dired.el (find-name-arg): Fix typo in docstring.
7152 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7154 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
7155 (pcmpl-linux-fs-types): Same, and update to new modules layout.
7157 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
7160 * comint.el (comint-read-input-ring, comint-write-input-ring)
7161 (comint-substitute-in-file-name)
7162 (comint-dynamic-complete-as-filename)
7163 (comint-dynamic-simple-complete)
7164 (comint-dynamic-list-filename-completions)
7165 (comint-dynamic-list-completions)
7166 (comint-redirect-results-list-from-process): Minor simplifications.
7168 2009-10-21 Kevin Ryde <user42@zip.com.au>
7170 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
7171 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
7172 the first form. And insert a blank line after ";;; Code" since
7173 that's usual style. (Bug#4612)
7175 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
7177 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7179 * minibuffer.el (completion-table-with-terminator): Properly implement
7180 boundaries, in case `terminator' appears in the suffix.
7181 (completion--embedded-envvar-table): Don't return boundaries if
7182 there's no valid completion. Simplify.
7183 (completion-file-name-table): New completion table extracted from
7184 completion--file-name-table.
7185 (completion--file-name-table): Use it.
7186 (read-file-name-predicate): Declare obsolete.
7187 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
7188 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
7189 completion-file-name-table, and use the `pred' argument.
7190 * files.el (locate-file-completion-table): Use the `pred' arg rather
7191 than read-file-name-predicate.
7192 (abbreviate-file-name): Use \` rather than ^ for BOS.
7194 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
7196 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
7197 vc-responsible-backend to register, it causes problems.
7199 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7201 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
7203 2009-10-21 Eric Ludlam <zappo@gnu.org>
7205 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init)
7206 (semantic-c-debug-mode-init-pch): New functions.
7207 (semantic-c-debug-mode-init-last-mode): New var.
7208 (semantic-c-parse-lexical-token): Use them.
7210 * cedet/semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace):
7211 When extracting the argument list, limit only by point-max.
7213 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
7215 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
7216 (tramp-smb-handle-file-attributes): Use it.
7217 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
7218 (tramp-smb-handle-insert-directory): Use `mapc' rather than
7219 `mapcar'. Use `tramp-smb-get-stat-capability'.
7220 Add `dired-filename' text properties.
7221 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
7222 (tramp-smb-maybe-open-connection): Simplify check for smbclient
7225 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
7227 * subr.el (read-key-delay): Reduce to 0.01.
7228 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
7231 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7233 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
7235 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
7236 (Info-menu): Remove unused vars `last' and `completions'.
7237 (Info-index-nodes): Remove unused var `node'.
7239 * info.el (Info-complete-menu-item): Use complete-with-action.
7241 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
7243 Make vc-annotate work through copies and renames.
7244 * vc-annotate.el (vc-annotate-extract-revision-at-line):
7245 Return the file name too.
7246 (vc-annotate-revision-at-line)
7247 (vc-annotate-find-revision-at-line)
7248 (vc-annotate-revision-previous-to-line)
7249 (vc-annotate-show-log-revision-at-line): Update to get the file
7250 name from vc-annotate-extract-revision-at-line.
7251 (vc-annotate-show-diff-revision-at-line-internal): Change the
7252 argument to mean whether to show a file diff or not. Get the file
7253 name from vc-annotate-extract-revision-at-line.
7254 (vc-annotate-show-diff-revision-at-line):
7255 Update vc-annotate-show-diff-revision-at-line call.
7256 (vc-annotate-warp-revision): Add an optional file argument.
7258 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
7259 (vc-git-annotate-extract-revision-at-line): Also return the file
7262 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
7263 command. Remove unused code.
7264 (vc-hg-annotate-re): Update to match --follow output.
7265 (vc-hg-annotate-extract-revision-at-line): Also return the file
7268 * vc.el: Update annotate-extract-revision-at-line documentation.
7270 2009-10-18 Kevin Ryde <user42@zip.com.au>
7272 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
7273 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
7275 * net/browse-url.el (browse-url): Identify alist with "consp and
7276 not functionp" and let all other things go down the `apply' leg,
7277 as suggested by Stefan. (Further to bug#4531.)
7279 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
7281 * minibuffer.el (read-file-name): Check for repeat before putting
7282 a default argument in file-name-history (Bug#4657).
7284 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
7285 read syntax (Bug#4737).
7287 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
7289 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7291 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
7292 (html-tag-alist, html-tag-help): Add descriptions for undocumented
7293 entries and make note of obsolete tags.
7295 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7297 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
7299 2009-10-18 Glenn Morris <rgm@gnu.org>
7301 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
7302 grep, so that binary files (eg international/uni-bidi.el) can match.
7303 Remove test for "UnicodeData" files, since it is hopefully unnecessary
7304 now, and in any case the file header format has changed.
7306 2009-10-17 Glenn Morris <rgm@gnu.org>
7308 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
7309 (flyspell-get-word, flyspell-large-region)
7310 (flyspell-auto-correct-previous-word): Doc/error message fixes.
7312 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
7314 * Makefile.in (ELCFILES): Add ede/shell.
7316 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
7318 * term/common-win.el (x-colors): Purecopy it.
7320 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7322 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
7323 permissive for when the buffer is empty.
7324 (tar-header-block-tokenize): Decode the username and groupname.
7325 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
7327 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
7329 * cedet/srecode/srt.el:
7330 * cedet/srecode/compile.el:
7331 * cedet/semantic/mru-bookmark.el:
7332 * cedet/semantic/debug.el:
7333 * cedet/semantic/complete.el:
7334 * cedet/semantic/analyze.el: Require CL when compiling.
7336 2009-10-17 Eric Ludlam <zappo@gnu.org>
7338 * cedet/semantic/scope.el
7339 (semantic-analyze-scoped-inherited-tag-map): Wrap calculation of
7340 tmpscope so that the regular scope will continue to work.
7342 * cedet/semantic/idle.el (semantic-idle-tag-highlight):
7343 Use semantic-idle-summary-highlight-face as the highlighting.
7345 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
7346 contains multibyte characters, choose first applicable coding
7347 system automatically.
7349 * cedet/ede/project-am.el (project-run-target): New method.
7350 (project-run-target): New method.
7352 * cedet/ede.el (ede-target): Add run target menu item.
7353 (ede-project, ede-minor-keymap): Add ede-run-target binding.
7354 (ede-run-target): New function.
7355 (ede-target::project-run-target): New method.
7357 * cedet/ede/proj.el (project-run-target): New method.
7359 * cedet/ede/proj-shared.el (ede-gcc-libtool-shared-compiler)
7360 (ede-g++-libtool-shared-compiler): Remove SHELL. Remove COMMANDS.
7362 (ede-proj-target-makefile-shared-object): Only libtool compilers
7363 now available. Add linkers for libtool.
7364 (ede-cc-linker-libtool, ede-g++-linker-libtool): New.
7365 (ede-proj-makefile-target-name): Always use .la extension.
7367 * cedet/ede/proj-prog.el (project-run-target): New method.
7369 * cedet/ede/proj-obj.el (ede-cc-linker): Rename from ede-gcc-linker.
7370 (ede-g++-linker): Change Change link lines.
7372 * cedet/ede/pmake.el (ede-pmake-insert-variable-shared):
7373 When searching for old variables, go to the end of the buffer and
7374 search backward from there.
7375 (ede-proj-makefile-automake-insert-subdirs)
7376 (ede-proj-makefile-automake-insert-extradist): New methods.
7377 (ede-proj-makefile-create): Use them.
7379 * cedet/ede/pconf.el (ede-proj-configure-test-required-file):
7380 Force FILE to expand to the current target. Use file-exists-p to
7381 check that it exists.
7383 * cedet/ede/linux.el (ede-linux-version): Don't call "head".
7384 (ede-linux-load): Wrap dir in file-name-as-directory.
7387 * cedet/ede/files.el (ede-get-locator-object): When enabling
7388 locate, do so on "top".
7390 * cedet/ede/emacs.el (ede-emacs-file-existing): Wrap "dir" in
7391 file-name-as-directory during compare.
7392 (ede-emacs-version): Return Emacs/XEmacs differentiator.
7393 Get version number from different places. Don't call egrep.
7394 (ede-emacs-load): Set :version slot. Call file-name-as-directory
7395 to set the directory.
7397 * cedet/ede/shell.el: New file.
7399 * cedet/inversion.el (inversion-decoders): Allow for stray . in
7400 alpha/beta variants.
7402 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7404 * international/mule-cmds.el (select-safe-coding-system): If the file
7405 has a coding cookie, use it regardless of any other setting (bug#4712).
7407 2009-10-17 Glenn Morris <rgm@gnu.org>
7409 * cedet/semantic/grammar.el (semantic-grammar--lex-delim-spec):
7410 All errors should have messages.
7412 * foldout.el (foldout-mouse-swallow-events):
7413 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
7415 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
7416 (dired-keep-marker-copy, dired-keep-marker-hardlink)
7417 (dired-keep-marker-symlink, dired-dwim-target)
7418 (dired-copy-preserve-time): Do not autoload these defcustoms.
7420 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
7421 messages from messing up the file coding. (Bug#4623)
7423 2009-10-17 Jari Aalto <jari.aalto@cante.net>
7425 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
7426 if no match is found for the current dictionary. (Bug#4578)
7428 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
7429 optional, since that is how it is documented, and this is often called
7430 with a nil argument. (Bug#4577)
7431 (flyspell-external-point-words, flyspell-auto-correct-word)
7432 (flyspell-correct-word-before-point, flyspell-word-search-forward)
7433 (flyspell-word-search-backward): Remove nil argument in calls to
7434 flyspell-get-word, since it is not needed now.
7436 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
7438 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
7440 2009-10-16 Glenn Morris <rgm@gnu.org>
7442 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
7444 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
7446 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
7447 (ange-ftp-file-size): New function.
7448 (ange-ftp-file-attributes): Use it.
7450 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
7452 * net/tramp-smb.el (tramp-smb-version): New defvar.
7453 (tramp-smb-maybe-open-connection): Use it, in order to avoid
7456 2009-10-16 Glenn Morris <rgm@gnu.org>
7458 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
7459 Maybe copy some custom properties from old to new name. (Bug#4706)
7461 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
7463 * subr.el (error, sit-for, start-process-shell-command)
7464 (start-file-process-shell-command): Set the calling convention
7465 after the function definition.
7467 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
7469 * subr.el (error, sit-for, start-process-shell-command)
7470 (start-file-process-shell-command): Use the new
7471 set-advertised-calling-convention feature.
7473 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
7475 * international/ucs-normalize.el (ucs-normalize-version):
7477 (check-range): Adjust for Unicode 5.2.
7479 2009-10-15 Juri Linkov <juri@jurta.org>
7481 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
7482 to the `menu-item' format.
7484 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
7486 * net/tramp.el (tramp-replace-environment-variables): Do not fail
7487 if the environment variable does not exist.
7489 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
7490 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
7492 (tramp-smb-handle-add-name-to-file)
7493 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
7494 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
7495 (tramp-smb-handle-file-attributes)
7496 (tramp-smb-do-file-attributes-with-stat)
7497 (tramp-smb-handle-file-local-copy)
7498 (tramp-smb-handle-insert-directory)
7499 (tramp-smb-handle-make-directory)
7500 (tramp-smb-handle-make-directory-internal)
7501 (tramp-smb-handle-make-symbolic-link)
7502 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
7503 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
7504 (tramp-smb-maybe-open-connection): Apply the changed parameters.
7505 (tramp-smb-read-file-entry): Read Disk names in compressed format.
7506 Handle long file names.
7507 (tramp-smb-get-cifs-capabilities): Check, whether the connection
7509 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
7510 Read share names with "-g" option.
7512 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
7514 * net/rcirc.el (rcirc-view-log-file): New command.
7515 (rcirc-track-minor-mode-map): Remove C-c ` binding.
7516 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
7519 2009-10-15 Glenn Morris <rgm@gnu.org>
7521 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
7522 from the second command-line argument.
7523 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
7524 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
7525 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
7526 w32-batch-update-autoloads.
7527 * emacs-lisp/autoload.el (autoload-make-program): New variable.
7528 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
7530 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
7531 the headers cannot be located. Simplify, subtracting superflous
7534 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
7536 Replace completion-base-size by completion-base-position to fix bugs
7538 * simple.el (completion-base-position): New var.
7539 (completion-base-size): Mark as obsolete.
7540 (choose-completion): Make it work for mouse events as well.
7541 Pass the new base-position to choose-completion-string.
7542 (choose-completion-guess-base-position): New function, extracted from
7543 choose-completion-delete-max-match.
7544 (choose-completion-delete-max-match): Use it. Make obsolete.
7545 (choose-completion-string): Use the new base-position info.
7546 (completion-root-regexp): Delete.
7547 (completion-setup-function): Preserve completion-base-position.
7548 Eliminate obsolete base-size manipulation.
7549 * minibuffer.el (display-completion-list): Don't mess with base-size.
7550 (minibuffer-completion-help): Set completion-base-position instead.
7551 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
7553 * textmodes/bibtex.el (bibtex-complete):
7554 * emacs-lisp/crm.el (crm--choose-completion-string):
7555 Adjust to new calling convention.
7556 * complete.el (partial-completion-mode): Use minibufferp to avoid
7557 bumping into incompatible change to choose-completion-string-functions.
7558 * ido.el (ido-choose-completion-string): Make its calling convention
7560 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
7561 base-size manipulation.
7562 (comint-dynamic-list-input-ring): Use dotimes and push.
7563 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
7564 fundamental-mode. Use `or'.
7566 2009-10-14 Juri Linkov <juri@jurta.org>
7568 * misearch.el (multi-isearch-next-buffer-from-list)
7569 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
7571 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7573 * Makefile.in (compile-onefile): Load `bytecomp' rather than
7576 * minibuffer.el (completion-pcm--merge-completions): Make sure the
7577 string we return is all made up of text from the completions rather
7578 than part from the completions and part from the input (bug#4219).
7580 * ido.el (ido-everywhere): Use define-minor-mode.
7582 * buff-menu.el (list-buffers, ctl-x-map):
7583 Mark the entry points with ;;;###autoload cookies.
7585 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
7587 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
7588 correctly in the detached head case.
7589 (vc-git-print-log): Remove unused binding.
7591 * vc.el (vc-responsible-backend): When a directory is passed for
7592 for registration create a VC repository if no backend is
7593 responsible for the directory argument.
7594 (vc-deduce-fileset): Tell vc-responsible-backend to register.
7596 * vc.el: Move comments about RCS and SCCS ...
7598 * vc-sccs.el: ... here, respectively.
7600 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
7602 * minibuffer.el (completion--file-name-table): Return nil if there's
7603 no file completion, even if substitute-in-file-name changed
7604 the string (bug#4708).
7606 2009-10-13 Juri Linkov <juri@jurta.org>
7608 * files-x.el (read-file-local-variable-value): Don't filter out
7609 minor modes from mode name completion (bug#4664).
7611 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
7613 * international/mule-cmds.el (ucs-names): Remove exclusion of
7614 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
7616 2009-10-13 Kenichi Handa <handa@m17n.org>
7618 * international/uni-name.el: Regenerated.
7620 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
7622 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
7623 should be automatically buffer-local, but isn't.)
7625 2009-10-12 Sam Steingold <sds@gnu.org>
7627 * progmodes/compile.el (compilation-next-error-function): Fix the
7628 timestamps if the buffer has been visited before.
7629 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
7630 non-anchored patterns, like the perl one (bug#3928).
7632 2009-10-12 Glenn Morris <rgm@gnu.org>
7634 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
7637 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
7639 * proced.el (proced-unload-function): New function.
7641 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
7642 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
7645 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
7647 2009-10-11 Juri Linkov <juri@jurta.org>
7649 * files-x.el (read-file-local-variable-value):
7650 Provide default value only for bound variables (bug#4664).
7652 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
7654 * net/tramp.el (tramp-local-host-p): Function shall return nil for
7655 connection methods like smb.
7657 * net/tramp-cache.el (tramp-flush-connection-property): The hash
7660 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
7661 (tramp-smb-file-name-handler-alist): Add handlers for
7662 `add-name-to-file', `make-symbolic-link'.
7663 (tramp-smb-handle-add-name-to-file)
7664 (tramp-smb-do-file-attributes-with-stat)
7665 (tramp-smb-handle-make-symbolic-link)
7666 (tramp-smb-get-cifs-capabilities): New defuns.
7667 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
7668 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
7669 (tramp-smb-handle-file-local-copy)
7670 (tramp-smb-handle-make-directory-internal)
7671 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
7672 The file name syntax depends on cifs capabilities.
7673 (tramp-smb-handle-file-attributes):
7674 Call `tramp-smb-do-file-attributes-with-stat' if possible.
7675 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
7676 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
7678 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
7680 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
7681 (eieio-defclass): Apply deftype handler and setf-method properties
7683 (eieio-add-new-slot): Avoid union function from cl library.
7684 (eieio--typep): New function.
7685 (eieio-perform-slot-validation): Use it.
7687 2009-10-10 Karl Fogel <kfogel@red-bean.com>
7689 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
7690 Update documentation to refer to the variables documented in r1.135.
7693 2009-10-10 Karl Fogel <kfogel@red-bean.com>
7695 * bookmark.el (Info-suffix-list): Remove this unused variable.
7696 (bookmark-current-point): Remove this obsolete variable.
7697 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
7698 Adjust for removal of bookmark-current-point.
7700 (bookmarks-already-loaded, bookmark-current-buffer)
7701 (bookmark-yank-point): Document. (Bug#4188)
7703 2009-10-10 Glenn Morris <rgm@gnu.org>
7705 * frame.el (frame-height): Doc fix.
7707 * calendar/calendar.el (calendar-split-width-threshold): New option.
7708 (calendar-basic-setup): Use calendar-split-width-threshold.
7710 2009-10-10 Sascha Wilde <wilde@sha-bang.de>
7712 * cedet/ede/proj-shared.el (ede-proj-makefile-target-name):
7713 Use .la for Automake.
7715 2009-10-09 Chong Yidong <cyd@stupidchicken.com>
7717 * cedet/ede/pconf.el (ede-proj-configure-synchronize):
7718 Use "autoreconf -i". Suggested by Andreas Schwab.
7720 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
7722 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
7723 Ideographic Supplement" range (U+1F200..U+1F2FF).
7725 2009-10-09 Karl Fogel <kfogel@red-bean.com>
7727 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
7728 since the list will have been rebuilt anyway. (Bug#4349)
7730 2009-10-09 Karl Fogel <kfogel@red-bean.com>
7732 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
7733 (bookmark-bmenu-execute-deletions): Don't save here, as
7734 bookmark-delete will now do so if necessary.
7735 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
7738 2009-10-09 Glenn Morris <rgm@gnu.org>
7740 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
7742 2009-10-09 Karl Fogel <kfogel@red-bean.com>
7744 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
7745 (bookmark-jump-other-window): Just invoke bookmark-jump with new
7746 argument now, so the two function's behaviors will match. (Bug#3645)
7748 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
7750 * cedet/ede/proj.el (project-make-dist, project-compile-project):
7752 (ede-proj-dist-makefile): Use expand-file-name instead of concat
7753 to expand file names.
7755 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
7757 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
7758 (tramp-file-name-real-host, tramp-file-name-port):
7759 Apply `save-match-data'.
7761 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
7762 case both directories are remote.
7763 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
7764 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
7766 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
7768 * cedet/ede/proj-obj.el (ede-gcc-linker): New var.
7769 (ede-proj-target-makefile-objectcode): Use it.
7771 * cedet/ede/source.el (ede-want-any-source-files-p)
7772 (ede-want-any-auxiliary-files-p, ede-want-any-files-p):
7773 Return search result. This error was introduced while merging.
7775 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
7777 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
7779 2009-10-07 Glenn Morris <rgm@gnu.org>
7781 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
7784 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
7786 * files-x.el (read-file-local-variable): Include some
7787 non-user-variables in the completion table (bug#4664).
7789 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
7791 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
7794 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
7795 (tramp-smb-file-name-handler-alist): Add handler for
7796 `copy-directory', `expand-file-name', `set-file-modes'.
7797 (tramp-smb-handle-copy-directory)
7798 (tramp-smb-handle-expand-file-name)
7799 (tramp-smb-handle-set-file-modes): New defuns.
7800 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
7801 (tramp-smb-handle-file-attributes): Simplify check for retrieving
7803 (tramp-smb-handle-insert-directory): Don't flush the cache.
7804 (tramp-smb-maybe-open-connection): Check for samba client and
7807 2009-10-07 Eli Zaretskii <eliz@gnu.org>
7809 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
7810 to not error out of search for "^lisp=" fails.
7812 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
7814 * makefile.w32-in (WINS_UPDATES): New macro.
7815 (custom-deps, finder-data, autoloads): Use it.
7817 2009-10-07 Glenn Morris <rgm@gnu.org>
7819 * Makefile.in (autoloads): Revert previous change.
7820 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
7821 the list of preloaded files passed on the command-line, get
7822 it from src/Makefile.
7824 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
7825 show the original buffer rather than a random one.
7827 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
7829 * help.el (describe-no-warranty): Place point in a slightly better
7830 position in the GPLv3 text.
7832 2009-10-06 Sam Steingold <sds@gnu.org>
7834 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
7835 the comm attribute is present before calling regexp-quote.
7837 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
7839 * play/animate.el (animate-string): For good effect, make sure
7840 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
7842 * play/animate.el (animate-sequence, animate-birthday-present):
7843 * misc.el (butterfly): Don't set `indent-tabs-mode'.
7845 2009-10-06 Glenn Morris <rgm@gnu.org>
7847 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
7849 * emacs-lisp/autoload.el (autoload-excludes): New variable.
7850 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
7851 (batch-update-autoloads): Process a string value of autoload-excludes,
7852 set during the build process.
7853 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
7855 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
7856 inside with-parsed... macro so that `v' is defined.
7858 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
7859 * progmodes/fortran.el (fortran-end-of-block)
7860 (fortran-beginning-of-block):
7861 Also push mark in the macro case.
7863 * emerge.el (emerge-show-file-name):
7864 * calc/calc.el (calc-quit):
7865 * calc/calc-misc.el (calc-big-or-small):
7866 * calc/calc-graph.el (calc-graph-view):
7867 * calc/calc-ext.el (calc-reset):
7868 * calendar/calendar.el (calendar-basic-setup):
7869 Use window-full-height-p.
7871 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
7872 header we don't understand, don't insert another. (Bug#4624)
7873 If changing mime charset, insert the new one in the right place.
7875 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
7877 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
7878 (cal-tex-cursor-month): Correctly increment the end date for diary and
7879 holiday listing. (Bug#4626)
7881 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7883 * help-fns.el (describe-function-1): Don't burp if the function is not
7886 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
7888 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
7889 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
7890 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
7891 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
7893 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
7894 (eieio-default-superclass): Reflow docstrings.
7895 (this, class-option-assoc, defclass, eieio-class-un-autoload)
7896 (eieio-unbind-method-implementations, defmethod)
7897 (eieio-validate-slot-value, eieio-validate-class-slot-value)
7898 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
7899 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
7900 (eieio-slot-originating-class-p, eieio-slot-name-index)
7901 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
7902 (constructor, initialize-instance, no-next-method, object-print)
7903 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
7904 Fix typos in docstrings.
7905 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
7906 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
7907 (next-method-p): Doc fixes.
7908 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
7909 Fix typos in error messages.
7910 (eieio-defmethod): Fix typo in description of generic method.
7912 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
7913 (eieio-persistent-save-interactive, slot-missing):
7914 Fix typos in docstrings.
7915 (eieio-instance-inheritor-slot-boundp): Doc fix.
7917 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
7918 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
7920 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
7921 (eieio-custom-object-apply-reset):
7922 Fix typos in docstrings and error messages.
7924 * emacs-lisp/eieio-datadebug.el (data-debug-show):
7925 Fix typo in docstring.
7927 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
7928 (eieio-browse-tree): Doc fix.
7929 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
7930 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
7931 Fix typos in docstrings.
7933 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
7934 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
7935 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
7936 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
7939 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
7941 * vc-hg.el (log-view-vc-backend): Declare for compiler.
7942 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
7943 Set log-view-vc-backend so that diff can work.
7945 * log-view.el (log-view-diff): Use vc-diff-internal instead of
7947 (vc-diff-internal): Autoload this instead of vc-version-diff.
7949 2009-10-05 Eli Zaretskii <eliz@gnu.org>
7951 * simple.el (eval-expression): Doc fix.
7953 * progmodes/cwarn.el (cwarn-mode): Doc fix.
7955 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
7957 * files.el (directory-files-no-dot-files-regexp): New defconst.
7958 (delete-directory): Use it.
7959 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
7961 * net/tramp.el (tramp-verbose): Fix docstring.
7962 (tramp-methods): Add recursive option to `tramp-copy-args'.
7963 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
7964 "scp1_old", "scp2_old", "rsync", "rsyncc".
7965 (tramp-default-method): Check also for `auth-source-user-or-password'.
7966 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
7967 Add handler for `copy-directory'.
7968 (tramp-handle-copy-directory): New defun.
7969 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
7970 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
7971 Optimize sent command.
7973 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
7975 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
7976 window if necessary.
7978 * calendar/calendar.el (calendar-basic-setup): Don't call
7979 switch-to-buffer in a dedicated window.
7981 2009-10-05 Karl Fogel <kfogel@red-bean.com>
7983 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
7984 don't do anything related to relocating, just return nil.
7985 (bookmark-error-no-filename): New error.
7986 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
7987 bookmark has no file. Don't even attempt to handle things that
7988 are not files; the whole point of custom handlers is to keep that
7989 knowledge elsewhere anyway. Tighten some comments.
7990 (bookmark-file-or-variation-thereof): Remove now-unused function.
7991 (bookmark-location): Doc string fix.
7994 2009-10-04 Karl Fogel <kfogel@red-bean.com>
7996 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
7997 don't use a file dialog, because they usually don't know how to read
7998 a directory target from the user. (Bug#4230)
7999 Also, make sure the prompt can display directories as well as files.
8001 2009-10-04 Karl Fogel <kfogel@red-bean.com>
8003 * bookmark.el (bookmark-set, bookmark-buffer-name):
8004 Improve doc strings. (Bug#1193)
8006 2009-10-04 Karl Fogel <kfogel@red-bean.com>
8008 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
8009 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
8010 (bookmark-get-annotation, bookmark-set-annotation)
8011 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
8012 (bookmark-set-position, bookmark-get-front-context-string)
8013 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
8014 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
8015 (bookmark-jump-other-window, bookmark-handle-bookmark)
8016 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
8017 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
8018 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
8019 Improve doc strings to say whether bookmark can be a string or
8020 a record or both, and make other consistency and clarity fixes.
8021 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
8022 (bookmark-default-annotation-text, bookmark-yank-word)
8023 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
8024 (bookmark-import-new-list, bookmark-maybe-rename)
8025 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
8026 (bookmark-bmenu-bookmark): Give these doc strings.
8027 (bookmark-bmenu-check-position): Give this a doc string, but also
8028 add a FIXME comment about how the function may be pointless.
8029 (bookmark-default-handler): Rework doc string and change a
8030 parameter name, to clarify that this takes a bookmark record
8031 not a bookmark name.
8032 (bookmark-set): Change a parameter name to indicate its meaning,
8033 and improve the doc string a bit.
8036 2009-10-04 Karl Fogel <kfogel@red-bean.com>
8038 * bookmark.el (bookmark-alist): Document the new `handler' element
8040 (bookmark-make-record-function): Adjust documentation for above.
8043 2009-10-04 Karl Fogel <kfogel@red-bean.com>
8045 * info.el (Info-bookmark-make-record): Document this function.
8046 (Info-bookmark-jump): Document with a doc string, not just a comment.
8049 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
8051 * cedet/semantic.el (semantic-new-buffer-setup-functions): New option.
8052 (semantic-new-buffer-fcn): Call parser setup functions here.
8053 (semantic-mode): Don't call parser setup functions here, it's done
8054 in semantic-new-buffer-fcn now.
8055 (semantic-mode): Parse all existing buffers when enabled.
8057 * cedet/srecode/compile.el (srecode-compile-file):
8058 Call semantic-new-buffer-fcn if the buffer has not been parsed.
8060 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
8062 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): Delete.
8064 * cedet/ede/proj-comp.el: Don't require ede/pmake at toplevel.
8065 (proj-comp-insert-variable-once): New macro, renamed from
8066 ede-pmake-insert-variable-once in ede/pmake.edl.
8067 (ede-proj-makefile-insert-variables): Use it.
8069 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
8071 * files.el (copy-directory): New defun.
8073 * dired-aux.el (dired-copy-file-recursive): Use it.
8075 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
8077 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
8078 (makefile-end-of-command):
8079 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
8080 (semantic-end-of-context): Fix previous change. Doc fixes.
8082 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
8084 * files-x.el (modify-dir-local-variable)
8085 (copy-dir-locals-to-file-locals-prop-line):
8086 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
8087 (makefile-end-of-command):
8088 * cedet/semantic/lex.el (semantic-lex-token):
8089 * cedet/semantic/analyze/fcn.el
8090 (semantic-analyze-dereference-metatype-1):
8091 * cedet/semantic/bovine/c.el (semantic-lex-cpp-define)
8092 (semantic-lex-cpp-undef):
8093 * cedet/semantic/wisent/wisent.el (wisent-skip-block):
8094 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
8095 (semantic-end-of-context): Fix typos in docstrings.
8097 * recentf.el (recentf-unload-function): New function.
8099 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
8101 * cedet/ede.el (ede-project-placeholder-cache-file):
8102 * cedet/semantic/db-file.el (semanticdb-default-save-directory):
8103 * cedet/srecode/map.el (srecode-map-save-file):
8104 Use locate-user-emacs-file. Suggested by Juanma Barranquero.
8106 2009-10-04 Glenn Morris <rgm@gnu.org>
8108 * window.el (window-full-height-p): Add doc string.
8110 2009-10-04 Martin Rudalics <rudalics@gmx.at>
8112 * window.el (window-full-height-p): New function. (Bug#4543)
8114 2009-10-03 Chong Yidong <cyd@stupidchicken.com>
8116 * cedet/srecode/insert.el: Require srecode/args.
8118 * cedet/srecode/args.el: Require srecode/dictionary instead of
8121 * cedet/srecode/srt-mode.el (srecode-template-mode): Doc fix.
8123 * files.el (auto-mode-alist): Add .srt and Project.ede.
8125 * cedet/semantic.el (semantic-mode):
8126 Handle srecode-template-mode-hook as well.
8127 (semantic-mode): Use js-mode-hook for Javascript hook.
8129 * cedet/srecode/template.el: Remove hook variable.
8131 * cedet/ede/proj-comp.el: Require ede/pmake when compiling.
8133 * cedet/ede.el (ede-target-forms-menu): Don't enable if no
8135 (ede-project-placeholder-cache-file): Default to a file in
8136 user-emacs-directory.
8138 * cedet/srecode/map.el (srecode-map-base-template-dir): Look for
8139 templates in data-directory.
8140 (srecode-map-save-file): Default to a file in user-emacs-directory.
8142 * cedet/ede/srecode.el (ede-srecode-setup): Use default templates
8145 2009-09-30 Eric Ludlam <zappo@gnu.org>
8147 * cedet/semantic/util-modes.el (semantic-highlight-func-mode):
8150 * cedet/ede/proj-comp.el (ede-proj-makefile-insert-variables):
8151 Only insert each variable once.
8153 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): New macro.
8154 (ede-pmake-insert-variable-shared): Use it.
8156 * cedet/ede/cpp-root.el (ede-preprocessor-map): Do not deref table
8157 for lexical table iff table is nil.
8159 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
8161 * vc.el: Remove commented out code.
8162 (vc-derived-from-dir-mode): Remove, unused.
8163 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
8165 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
8167 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8168 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
8169 there could be recursive loading when `default-directory' is a
8170 remote file name. (Bug#4614)
8172 2009-10-03 Glenn Morris <rgm@gnu.org>
8174 * calendar/calendar.el (calendar-basic-setup): Handle the case where
8176 (calendar-generate-window): Test for shrinkability rather than width.
8178 * cedet/semantic/db-find.el (data-debug-insert-tag-list): Comment out
8179 declaration, currently false.
8181 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
8182 reusing existing buffers, in case we happen to visit two files with the
8183 same basename. (Bug#4593)
8185 2009-10-02 Eli Zaretskii <eliz@gnu.org>
8187 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
8188 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
8189 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
8190 subdirs of cedet as well.
8191 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
8193 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8195 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
8196 Obey advertised-signature-table.
8198 * help-fns.el (help-function-arglist): Don't check
8199 advertised-signature-table.
8200 (describe-function-1): Do it here instead so it also applies to subrs.
8202 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
8204 * simple.el (start-file-process): Say in the doc-string, that file
8205 handlers might not support pty association, if PROGRAM is nil.
8207 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
8208 HOST and USER are strings. They are nil, when there are
8209 incomplete entries in ~/.netrc, for example.
8210 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
8211 root directory ("device busy" error otherwise).
8213 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
8214 Flush file properties of created directory.
8216 2009-10-02 Eli Zaretskii <eliz@gnu.org>
8218 * makefile.w32-in (WINS_BASIC): Remove cedet.
8219 (WINS_CEDET): Add cedet.
8220 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
8222 2009-10-02 Kevin Ryde <user42@zip.com.au>
8224 * net/browse-url.el (browse-url): Pass any symbol in
8225 browse-url-browser-function to `apply', since if you've mistakenly put
8226 an unbound symbol then the error is clearer. (Bug#4531)
8228 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
8230 * allout.el (allout-init, allout-back-to-current-heading)
8231 (allout-beginning-of-current-entry, allout-ascend-to-depth)
8232 (allout-ascend, allout-up-current-level, allout-end-of-level)
8233 (allout-previous-visible-heading, allout-forward-current-level)
8234 (allout-backward-current-level, allout-show-children):
8235 * apropos.el (apropos-describe-plist):
8236 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
8237 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
8238 * completion.el (add-completion, add-permanent-completion):
8239 * descr-text.el (describe-text-category, describe-char):
8240 * desktop.el (desktop-lazy-abort):
8241 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
8242 * dired.el (dired-build-subdir-alist):
8243 * ediff.el (ediff-version):
8244 * elide-head.el (elide-head, elide-head-show):
8245 * emerge.el (emerge-version):
8247 * face-remap.el (variable-pitch-mode):
8248 * faces.el (describe-face):
8249 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
8251 * files.el (find-file-existing, auto-save-mode):
8252 * font-lock.el (font-lock-fontify-buffer):
8253 * help-fns.el (describe-function, describe-variable)
8254 (describe-syntax, describe-categories):
8255 * help.el (view-lossage, describe-bindings, describe-key)
8257 * hexl.el (hexl-current-address):
8258 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
8259 * info.el (Info-goto-emacs-key-command-node):
8260 * log-edit.el (log-edit-insert-cvs-template)
8261 (log-edit-insert-cvs-rcstemplate):
8262 * menu-bar.el (menu-bar-mode):
8263 * mouse.el (mouse-appearance-menu):
8264 * newcomment.el (comment-indent-new-line):
8265 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
8266 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
8267 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
8268 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
8269 * recentf.el (recentf-mode):
8270 * savehist.el (savehist-mode, savehist-save):
8271 * shadowfile.el (shadow-copy-files):
8272 * simple.el (kill-ring-save, next-line, previous-line)
8273 (normal-erase-is-backspace-mode):
8274 * strokes.el (strokes-update-window-configuration)
8275 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
8276 (strokes-xpm-for-stroke):
8277 * time.el (emacs-uptime, emacs-init-time):
8278 * tutorial.el (tutorial--describe-nonstandard-key)
8279 (tutorial--detailed-help):
8280 * type-break.el (type-break-mode)
8281 (type-break-mode-line-message-mode, type-break-query-mode)
8282 (type-break-guesstimate-keystroke-threshold):
8283 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
8284 * version.el (emacs-version):
8285 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
8286 * winner.el (winner-mode):
8287 * calendar/timeclock.el (timeclock-in, timeclock-out)
8288 (timeclock-status-string, timeclock-change)
8289 (timeclock-workday-remaining-string)
8290 (timeclock-workday-elapsed-string)
8291 (timeclock-when-to-leave-string):
8292 * calendar/todo-mode.el (todo-add-category):
8293 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
8294 * emacs-lisp/autoload.el (update-file-autoloads):
8295 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
8296 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
8297 (checkdoc-message-text, checkdoc-defun):
8298 * emacs-lisp/debug.el (debugger-list-functions):
8299 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8300 * emacs-lisp/eieio-opt.el (eieio-describe-class)
8301 (eieio-describe-generic):
8302 * emacs-lisp/lisp-mnt.el (lm-synopsis):
8303 * emacs-lisp/shadow.el (list-load-path-shadows):
8304 * emulation/cua-base.el (cua-mode):
8305 * emulation/edt.el (edt-set-scroll-margins):
8306 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
8307 (tpu-toggle-regexp, tpu-toggle-search-direction)
8308 (tpu-toggle-rectangle, tpu-toggle-control-keys):
8309 * emulation/tpu-extras.el (tpu-set-scroll-margins):
8310 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8311 (viper-set-parsing-style-toggling-macro)
8312 (viper-set-emacs-state-searchstyle-macros):
8313 * emulation/viper.el (viper-set-hooks):
8314 * eshell/esh-mode.el (eshell-truncate-buffer):
8315 * international/mule-cmds.el (prefer-coding-system)
8316 (describe-input-method, describe-language-environment):
8317 * international/mule-diag.el (list-character-sets)
8318 (describe-character-set, describe-coding-system)
8319 (describe-fontset, list-fontsets, list-input-methods):
8320 * mail/sendmail.el (mail-signature):
8321 * net/ange-ftp.el (ange-ftp-copy-file):
8322 * net/browse-url.el (browse-url):
8323 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
8324 * net/quickurl.el (quickurl-add-url):
8325 * net/rcirc.el (names, topic):
8326 * net/xesam.el (xesam-mode):
8327 * play/5x5.el (5x5-new-game):
8328 * play/yow.el (apropos-zippy):
8329 * progmodes/ada-mode.el (ada-mode-version):
8330 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
8332 (f90-beginning-of-block):
8333 * progmodes/fortran.el (fortran-end-of-block)
8334 (fortran-beginning-of-block):
8335 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
8336 * progmodes/python.el (python-describe-symbol, python-shell):
8337 * term/ns-win.el (ns-print-buffer):
8338 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
8339 * textmodes/flyspell.el (flyspell-mode-on):
8340 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
8341 (pages-directory-for-addresses):
8342 * textmodes/table.el (table-recognize-cell)
8343 (table-query-dimension, table-generate-source)
8344 (table-insert-sequence, table--warn-incompatibility):
8345 * textmodes/tex-mode.el (tex-validate-buffer):
8346 * textmodes/texinfmt.el (texinfmt-version)
8347 (texinfo-format-buffer):
8348 Use `called-interactively-p' instead of `interactive-p'.
8350 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
8352 * image-mode.el (image-toggle-display):
8353 * emacs-lisp/elp.el (elp-instrument-function):
8354 * emacs-lisp/advice.el (ad-make-advised-definition):
8355 * emacs-lisp/easy-mmode.el (define-minor-mode):
8356 * net/browse-url.el (browse-url-maybe-new-window):
8357 * progmodes/sh-script.el (sh-learn-buffer-indent):
8358 Pass new argument 'any to `called-interactively-p'.
8360 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
8362 * international/uni-bidi.el:
8363 * international/uni-category.el:
8364 * international/uni-combining.el:
8365 * international/uni-comment.el:
8366 * international/uni-decimal.el:
8367 * international/uni-decomposition.el:
8368 * international/uni-digit.el:
8369 * international/uni-lowercase.el:
8370 * international/uni-mirrored.el:
8371 * international/uni-name.el:
8372 * international/uni-numeric.el:
8373 * international/uni-old-name.el:
8374 * international/uni-titlecase.el:
8375 * international/uni-uppercase.el:
8376 Regenerate from Unicode 5.2.0 data.
8378 2009-10-01 Glenn Morris <rgm@gnu.org>
8380 * Makefile.in (ELCFILES): Regenerate.
8382 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8384 * subr.el (interactive-p): Mark obsolete.
8385 (called-interactively-p): Make the optional-ness of `kind' obsolete.
8386 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
8387 advertised-signature-table for subroutines as well.
8389 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
8390 (set-advertised-calling-convention): New function.
8391 (make-obsolete, define-obsolete-function-alias)
8392 (make-obsolete-variable, define-obsolete-variable-alias):
8393 Make the optional-ness of `when' obsolete.
8394 (define-obsolete-face-alias): Make `when' non-optional.
8395 * help-fns.el (help-function-arglist):
8396 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
8397 Use advertised-signature-table.
8399 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
8401 * files.el (delete-directory): New defun. The original function
8402 in fileio.c has been renamed to `delete-directory-internal'.
8404 * dired.el (dired-delete-file): Call `delete-directory' with
8405 RECURSIVE parameter.
8407 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
8408 parameter RECURSIVE. Implementation is missing.
8410 * net/tramp.el (tramp-handle-make-directory): Flush upper
8411 directory's file properties.
8412 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
8413 (tramp-handle-dired-recursive-delete-directory): Flush directory
8414 properties after the remove command only.
8416 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
8417 Handle optional parameter RECURSIVE.
8419 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
8420 Handle optional parameter RECURSIVE.
8422 * net/tramp-smb.el (tramp-smb-errors): Add error message for
8424 (tramp-smb-handle-delete-directory): Handle optional parameter
8427 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8429 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
8430 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
8431 (byte-compile-defmacro): Use backquotes.
8433 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
8435 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
8436 has no associated file.
8437 (vc-resynch-buffer): Use vc-dir-buffers.
8439 2009-10-01 Glenn Morris <rgm@gnu.org>
8441 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
8443 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
8444 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
8445 * emacs-lisp/eieio-opt.el (eieio-describe-class):
8446 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
8447 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
8448 (eieio-copy-parents-into-subclass, make-instance, class-children)
8449 (eieio-generic-form):
8450 * cedet/cedet-files.el (cedet-directory-name-to-file-name):
8451 * cedet/cedet-idutils.el (cedet-idutils-search)
8452 (cedet-idutils-expand-filename, cedet-idutils-support-for-directory)
8453 (cedet-idutils-version-check):
8454 * cedet/cedet.el (cedet-version):
8455 * cedet/data-debug.el (data-debug-insert-overlay-button)
8456 (data-debug-insert-overlay-list-button)
8457 (data-debug-insert-buffer-button)
8458 (data-debug-insert-buffer-list-button)
8459 (data-debug-insert-process-button, data-debug-insert-ring-button)
8460 (data-debug-insert-widget, data-debug-insert-stuff-list-button)
8461 (data-debug-insert-stuff-vector-button)
8462 (data-debug-insert-symbol-button, data-debug-insert-string)
8463 (data-debug-insert-number, data-debug-insert-lambda-expression)
8464 (data-debug-insert-nil, data-debug-insert-simple-thing)
8465 (data-debug-insert-custom, data-debug-edebug-expr):
8466 * cedet/ede.el (ede-auto-add-method, ede-project-class-files)
8467 (global-ede-mode-map, ede-new, ede-debug-target)
8468 (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set):
8469 * cedet/semantic.el (semantic-minimum-working-buffer-size)
8470 (semantic-fetch-tags, semantic-submode-list)
8471 (semantic-default-submodes):
8472 * cedet/ede/source.el (ede-source-match):
8473 * cedet/ede/project-am.el (project-am-type-alist, project-add-file)
8474 (project-am-package-info):
8475 * cedet/ede/proj.el (ede-proj-target, project-new-target):
8476 * cedet/ede/proj-elisp.el (ede-proj-tweak-autoconf):
8477 * cedet/ede/proj-comp.el (ede-current-build-list):
8478 * cedet/ede/makefile-edit.el (makefile-move-to-macro):
8479 * cedet/ede/files.el (ede-toplevel-project-or-nil):
8480 * cedet/ede/cpp-root.el (initialize-instance):
8481 * cedet/ede/autoconf-edit.el (autoconf-find-last-macro)
8482 (autoconf-parameter-strip, autoconf-insert-new-macro):
8483 * cedet/semantic/wisent.el (wisent-lex-eoi):
8484 * cedet/semantic/util-modes.el (global-semantic-show-parser-state-mode)
8485 (semantic-show-parser-state-mode):
8486 * cedet/semantic/texi.el (semantic-texi-environment-regexp):
8487 * cedet/semantic/tag.el (semantic-tag-new-variable)
8488 (semantic-tag-class, semantic-tag-new-variable, semantic-tag-copy)
8489 (semantic--tag-deep-copy-attributes, semantic--tag-deep-copy-value)
8490 (semantic--tag-deep-copy-tag-list)
8491 (semantic-tag-components-with-overlays-default):
8492 * cedet/semantic/symref.el (semantic-symref-find-text):
8493 * cedet/semantic/senator.el (senator-yank-tag)
8494 (senator-transpose-tags-up):
8495 * cedet/semantic/scope.el (semantic-analyze-scoped-tags-default)
8496 (semantic-analyze-scoped-inherited-tags, semantic-scope-find):
8497 * cedet/semantic/sb.el (semantic-sb-autoexpand-length):
8498 * cedet/semantic/lex.el (semantic-lex-comment-regex)
8499 (semantic-lex-maximum-depth, define-lex, semantic-lex-token)
8500 (semantic-lex-unterminated-syntax-protection, define-lex-analyzer):
8501 * cedet/semantic/lex-spp.el
8502 (semantic-lex-spp-dynamic-macro-symbol-obarray-stack)
8503 (semantic-lex-spp-symbol, semantic-lex-spp-one-token-to-txt):
8504 * cedet/semantic/idle.el
8505 (semantic-idle-summary-current-symbol-info-brutish)
8506 (semantic-idle-summary-current-symbol-info-default):
8507 * cedet/semantic/grammar.el (semantic-grammar-recreate-package)
8508 (semantic--grammar-macro-compl-dict):
8509 * cedet/semantic/grammar-wy.el (semantic-grammar-wy--parse-table):
8510 * cedet/semantic/format.el (semantic-format-tag-custom-list)
8511 (semantic-format-tag-canonical-name-default):
8512 * cedet/semantic/find.el (semantic-find-tag-by-overlay-in-region)
8513 (semantic-find-tags-for-completion)
8514 (semantic-find-tags-by-scope-protection-default)
8515 (semantic-deep-find-tags-for-completion):
8516 * cedet/semantic/edit.el
8517 (semantic-edits-incremental-reparse-failed-hook)
8518 (semantic-edits-verbose-flag, semantic-edits-assert-valid-region)
8519 (semantic-edits-splice-remove, semantic-edits-splice-replace):
8520 * cedet/semantic/doc.el (semantic-documentation-comment-preceeding-tag):
8521 * cedet/semantic/dep.el (semantic-dependency-include-path):
8522 * cedet/semantic/db.el (semanticdb-default-find-index-class)
8523 (semanticdb-match-any-mode, semanticdb-with-match-any-mode)
8524 (semanticdb-project-roots):
8525 * cedet/semantic/db-find.el (semanticdb-implied-include-tags)
8526 (semanticdb-find-adebug-insert-scanned-tag-cons)
8527 (semanticdb-find-log-buffer-name, semanticdb-find-result-mapc)
8528 (semanticdb-brute-deep-find-tags-for-completion):
8529 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-add-tree-to-table):
8530 * cedet/semantic/ctxt.el (semantic-beginning-of-context-default)
8531 (semantic-end-of-context-default)
8532 (semantic-ctxt-current-function-default)
8533 (semantic-ctxt-scoped-types-default):
8534 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
8535 (semantic-complete-inline-tag-engine)
8536 (semantic-complete-inline-custom-type)
8537 (semantic-complete-read-tag-analyzer):
8538 * cedet/semantic/chart.el (semantic-chart-tags-by-class)
8539 (semantic-chart-database-size):
8540 * cedet/semantic/analyze.el (semantic-analyze-current-symbol)
8541 (semantic-analyze-current-context):
8542 * cedet/semantic/symref/list.el (semantic-symref)
8543 (semantic-symref-hide-buffer, semantic-symref-symbol):
8544 * cedet/semantic/symref/grep.el (semantic-symref-grep-use-template):
8545 * cedet/semantic/symref/filter.el (semantic-symref-hits-in-region):
8546 * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string):
8547 * cedet/semantic/bovine/c.el (semantic-lex-c-preprocessor-symbol-map)
8548 (semantic-c-parse-token-hack-depth, semantic-c--template-name-1)
8549 (semantic-c-dereference-template):
8550 * cedet/semantic/analyze/refs.el (semantic--analyze-refs-full-lookup)
8551 (semantic--analyze-refs-full-lookup-with-parents)
8552 (semantic--analyze-refs-full-lookup-simple):
8553 * cedet/semantic/analyze/complete.el
8554 (semantic-analyze-possible-completions):
8555 * cedet/srecode/table.el (srecode-mode-table-new):
8556 * cedet/srecode/srt.el (srecode-read-variable-name):
8557 * cedet/srecode/srt-mode.el (srecode-macro-help, srecode-in-macro-p):
8558 * cedet/srecode/semantic.el (srecode-semantic-handle-:tag)
8559 (srecode-semantic-handle-:tagtype, srecode-semantic-insert-tag):
8560 * cedet/srecode/map.el (srecode-current-map):
8561 * cedet/srecode/insert.el (srecode-insert)
8562 (srecode-insert-variable-secondname-handler, srecode-insert-method)
8563 (srecode-template-inserter-point-override)
8564 (srecode-insert-include-lookup):
8565 * cedet/srecode/getset.el (srecode-auto-choose-class):
8566 * cedet/srecode/extract.el (srecode-inserter-extract):
8567 * cedet/srecode/document.el
8568 (srecode-document-autocomment-return-last-alist)
8569 (srecode-document-autocomment-param-type-alist)
8570 (srecode-document-insert-function-comment)
8571 (srecode-document-insert-variable-one-line-comment)
8572 (srecode-document-function-name-comment):
8573 * cedet/srecode/dictionary.el (srecode-create-dictionary)
8574 (srecode-compound-toString):
8575 * cedet/srecode/compile.el (srecode-flush-active-templates):
8576 * cedet/srecode/args.el (srecode-semantic-handle-:blank):
8579 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
8580 match-data. (Bug#4555).
8582 * cedet/semantic/bovine/gcc.el
8583 (semantic-c-reset-preprocessor-symbol-map): Fix declaration.
8584 (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes.
8586 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
8587 rather than parsing it as a regexp. This relaxes the layout
8588 requirements and makes errors easier to detect.
8589 (check-declare-verify): Check file is regular.
8590 (check-declare-directory): Doc fix.
8591 * subr.el (declare-function): Doc fix.
8593 * ibuffer.el (ibuffer-format-qualifier):
8594 * isearch.el (hi-lock-regexp-okay):
8595 * calc/calc.el (math-zerop):
8596 * mail/uce.el (rmail-msgbeg, rmail-msgend):
8597 * term/w32-win.el (setup-default-fontset, set-fontset-font):
8598 Remove unused declarations.
8600 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
8602 * cedet/semantic/wisent/javat-wy.el
8603 (wisent-java-tags-wy--keyword-table): Use \000 instead of literal ^@.
8605 2009-09-30 Juanma Barranquero <lekktu@gmail.com>
8607 * cedet/srecode/expandproto.el: Fix provide statement.
8609 2009-09-30 Eric Ludlam <zappo@gnu.org>
8611 * emacs-lisp/eieio.el (boolean-p): Delete.
8613 2009-09-30 Sascha Wilde <wilde@sha-bang.de>
8615 * cedet/ede/srecode.el: Fix provide statement.
8617 2009-09-30 Glenn Morris <rgm@gnu.org>
8619 * cedet/ede/proj.el (ede-proj-target-makefile-miscelaneous):
8620 * cedet/ede/proj-aux.el (ede-aux-source):
8621 * cedet/ede/proj-misc.el (ede-proj-target-makefile-miscelaneous)
8623 * cedet/semantic/mru-bookmark.el (semantic-mrub-completing-read)
8624 (semantic-mrub-switch-tags): Fix doc typos.
8626 * cedet/semantic/db-global.el (data-debug-new-buffer)
8627 (data-debug-insert-thing): Remove unneeded declarations (one broken).
8628 (semanticdb-enable-gnu-global-databases): Fix prompt typo.
8630 * cedet/semantic/analyze/fcn.el (semantic-scope-find): Fix declaration.
8632 * cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime
8633 use of CL function `remove-if-not'.
8635 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
8637 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
8638 filename is not a string.
8640 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
8642 * files.el (safe-local-eval-forms): Fix typo.
8644 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
8646 * vc-hooks.el (vc-dir-buffers): New var.
8647 (vc-state-refresh): New function.
8649 (vc-after-save): Always ask the backend to recompute the new state.
8650 Always call vc-dir if necessary, using vc-dir-buffers.
8651 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
8653 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
8654 (vc-dir-prepare-status-buffer, vc-dir-update)
8655 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
8656 Don't call expand-file-name on default-directory.
8658 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
8660 * speedbar.el (speedbar-item-delete):
8661 * calc/calc-prog.el (calc-kbd-if):
8662 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
8664 * epa.el (epa-key-list-mode-map):
8665 * hi-lock.el (hi-lock-menu): Fix typos in menus.
8667 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
8668 (hs-show-hook): Fix typo in docstring.
8670 2009-09-29 Glenn Morris <rgm@gnu.org>
8672 * cedet/semantic/symref/idutils.el:
8673 * cedet/semantic/symref/list.el: Relicense under GPLv3+.
8675 * cedet/ede/srecode.el (srecode-resolve-arguments): Fix declaration.
8677 * cedet/semantic/complete.el (semantic-displayor-focus-abstract-child-p):
8678 * cedet/semantic/tag-file.el (semanticdb-table-child-p):
8679 * cedet/srecode/compile.el (srecode-template-inserter-newline-child-p):
8680 Mark declarations not understood by check-declare.
8682 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
8683 file-name-nondirectory call preventing location of cedet files.
8684 (check-declare-verify): Use literal search rather than re-search.
8685 Add basic defmethod and defclass, and define-overloadable-function.
8687 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
8688 Use tramp-compat-file-attributes rather than nonexistent
8689 tramp-compat-handle-file-attributes.
8691 * Makefile.in (lisptagsfiles4): New.
8692 (AUTOGENEL): Add cedet loaddefs files.
8693 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
8694 (update-elclist, compile-always, backup-compiled-files)
8695 (bootstrap-clean): Add yet another directory level.
8696 (update-elclist): Use LC_COLLATE rather than COLLATE.
8697 (ELCFILES): Update, via `make update-elclist'.
8699 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
8701 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
8702 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
8703 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
8705 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
8707 * Makefile.in (lisptagsfiles3): Define.
8708 (TAGS, TAGS-LISP): Use it.
8709 (update-elclist): Add third directory level to look for elc files.
8710 (compile-always): Likewise.
8711 (backup-compiled-files): Likewise.
8712 (bootstrap-clean): Likewise.
8715 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
8717 * Makefile.in (ELCFILES): Add CEDET files.
8719 2009-09-28 Eric Ludlam <zappo@gnu.org>
8721 CEDET (development tools) package merged.
8725 * cedet/semantic/*.el:
8726 * cedet/srecode/*.el: New files.
8728 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
8730 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
8732 * net/tramp.el (top): Require tramp-imap.
8734 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
8735 Use `tramp-compat-handle-file-attributes'.
8737 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
8739 * net/tramp-imap.el: New package.
8741 2009-09-28 Eric Ludlam <zappo@gnu.org>
8743 * emacs-lisp/chart.el:
8744 * emacs-lisp/eieio-base.el:
8745 * emacs-lisp/eieio-comp.el:
8746 * emacs-lisp/eieio-custom.el:
8747 * emacs-lisp/eieio-datadebug.el:
8748 * emacs-lisp/eieio-opt.el:
8749 * emacs-lisp/eieio-speedbar.el:
8750 * emacs-lisp/eieio.el: New files.
8752 * cedet/cedet-cscope.el:
8753 * cedet/cedet-files.el:
8754 * cedet/cedet-global.el:
8755 * cedet/cedet-idutils.el:
8756 * cedet/data-debug.el:
8757 * cedet/inversion.el:
8758 * cedet/mode-local.el:
8759 * cedet/pulse.el: New files.
8761 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8763 * whitespace.el (whitespace-trailing-regexp)
8764 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
8767 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
8769 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
8772 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
8773 menu-bar-ediff-menu.
8775 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
8776 define-overloadable-function.
8778 * progmodes/autoconf.el: Provide autoconf as well, so that this
8779 file can be `require'd.
8781 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
8783 * emacs-lisp/autoload.el (generated-autoload-feature)
8784 (generated-autoload-load-name): New vars.
8785 (autoload-rubric, autoload-generate-file-autoloads): Use them.
8786 (make-autoload): Recognize define-overloadable-function and
8787 defclass forms (for EIEIO).
8789 * Makefile.in (update-subdirs): Exclude cedet directory.
8791 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
8793 * term/ns-win.el: Don't set the region face background. (Bug#4381)
8795 * faces.el: Default light-background background for region face to
8796 ns_selection_color under NS.
8798 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
8800 * net/imap-hash.el: New library, see NEWS.
8802 * Makefile.in (ELCFILES): Add imap-hash.el.
8804 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
8806 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
8807 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
8808 * help-macro.el (make-help-screen): Avoid using an ambiguous function
8809 definition where the docstring could be taken for the return value.
8811 2009-09-26 Glenn Morris <rgm@gnu.org>
8813 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
8814 Add option to only show images below a certain size.
8815 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
8816 save-excursion calls.
8818 2009-09-26 Eli Zaretskii <eliz@gnu.org>
8820 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
8821 subdirectories) and eieio.
8823 2009-09-26 Alan Mackenzie <acm@muc.de>
8825 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
8826 buggy bracketing. (Bug#4289)
8828 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
8829 character constants (as case labels). (Bug#4289)
8831 2009-09-25 Juri Linkov <juri@jurta.org>
8833 * files.el (safe-local-eval-forms): Allow time-stamp in
8834 before-save-hook (Bug#4554).
8836 2009-09-25 Drew Adams <drew.adams@oracle.com>
8838 * menu-bar.el (list-buffers-directory): Doc fix.
8840 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
8842 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
8843 Try and avoid copying twice the same paragraph.
8844 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
8845 Remove save-excursion.
8846 (log-edit-changelog-entry): Do it here instead.
8848 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
8850 * bs.el (bs--get-file-name): Use `list-buffers-directory'
8851 when available, instead of hardcoding mode names. Doc fix.
8853 * menu-bar.el (list-buffers-directory): Add docstring.
8854 Make automatically buffer-local.
8856 * dired.el (dired-mode):
8857 * files.el (cd-absolute):
8858 * pcvs.el (cvs-temp-buffer):
8859 * pcvs-util.el (cvs-get-buffer-create):
8860 * shell.el (shell-mode):
8861 * vc-dir.el (vc-dir-mode):
8862 Don't make `list-buffers-directory' buffer local.
8864 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
8866 * comint.el (comint-exec, comint-run, make-comint):
8867 Doc fixes (Bug#4542).
8869 2009-09-25 Glenn Morris <rgm@gnu.org>
8871 * mail/rmailmm.el (rmail-mime): New custom group.
8872 Move all defcustoms in this file into this group.
8873 (rmail-mime-media-type-handlers-alist): Revert previous change.
8874 (rmail-mime-show-images): New option.
8875 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
8876 references to it, since it wasn't actually used for anything.
8877 (rmail-mime-insert-image): New function.
8878 (rmail-mime-image): Use rmail-mime-insert-image.
8879 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
8880 obey the value of `rmail-mime-show-images' option. Print the size of
8883 2009-09-25 David Engster <deng@randomsample.de>
8885 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
8887 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
8889 * whitespace.el: Does not highlight trailing spaces While point is
8890 at end of line. Does not highligt spaces at beginning of buffer
8891 while point is at beginning of buffer. Does not highlight spaces
8892 at end of buffer while point is at end of buffer. (Bug#4177)
8894 (whitespace-display-mappings): Adjust initialization.
8895 (whitespace-point, whitespace-font-lock-refontify): New vars.
8896 (whitespace-color-on, whitespace-color-off): Adjust code.
8897 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
8898 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
8899 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
8901 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
8903 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
8905 * textmodes/sgml-mode.el: Remove xml-mode alias.
8907 * files.el (auto-mode-alist, conf-mode-maybe)
8908 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
8910 2009-09-24 Alan Mackenzie <acm@muc.de>
8912 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
8913 c-forward-conditionals, but it doesn't move point and doesn't set
8915 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
8916 (c-down-conditional-with-else, c-backward-conditional)
8917 (c-forward-conditional): Refactor to use c-scan-conditionals.
8919 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
8921 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
8922 (help-default-arg-highlight): Remove.
8923 (help-highlight-arg): New function.
8924 (help-do-arg-highlight): Use it.
8925 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
8927 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
8929 * term.el (term-set-scroll-region, term-handle-ansi-escape):
8930 Undo last change, which didn't fix the problem and introduced others.
8932 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
8934 * progmodes/gdb-mi.el: Don't require speedbar.
8935 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
8937 2009-09-24 Glenn Morris <rgm@gnu.org>
8939 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
8941 * term/ns-win.el (ns-reg-to-script): Define for compiler.
8943 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
8944 there is no newline after the final mime boundary. (Bug#4539)
8945 Move markers on insertion so that any buttons inserted don't end up in
8946 the next part of a multipart message.
8947 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
8948 (rmail-mime-bulk-handler): Optionally handle images.
8949 (rmail-mime-image): New button action.
8950 (rmail-mime-image-handler): New function.
8951 (rmail-mime-mode): New mode.
8952 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
8954 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
8956 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
8957 than just dropping elements from it (bug#4504).
8959 * term.el (term-set-scroll-region): Don't move cursor any more.
8960 (term-handle-ansi-escape): Call term-goto here instead.
8961 Suggested by Ivan Kanis <apple@kanis.eu>.
8963 * term.el: Require CL.
8964 (term-ansi-reset): New function.
8965 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
8966 (term-handle-colors-array): Simplify.
8968 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
8970 * allout.el (allout-overlay-interior-modification-handler)
8971 (allout-obtain-passphrase):
8972 * epa-file.el (epa-file-write-region):
8973 * ps-print.el (ps-begin-job):
8974 * vc-hooks.el (vc-toggle-read-only):
8975 * vc-rcs.el (vc-rcs-rollback):
8976 * vc-sccs.el (vc-sccs-rollback):
8977 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
8978 (vc-version-diff, vc-revert, vc-rollback):
8979 * wdired.el (wdired-check-kill-buffer):
8980 * emacs-lisp/authors.el (authors):
8981 * net/socks.el (socks-open-connection):
8982 * net/zeroconf.el (zeroconf-service-add-hook):
8983 * obsolete/vc-mcvs.el (vc-mcvs-register):
8984 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
8986 * progmodes/grep.el (lgrep, rgrep):
8987 * progmodes/idlw-help.el (idlwave-help-check-locations)
8988 (idlwave-help-html-link, idlwave-help-assistant-open-link):
8989 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
8990 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
8991 (reftex-toc-rename-label): Fix typos in error messages.
8993 * dired-aux.el (dired-do-shell-command): Reflow docstring.
8994 (dired-copy-how-to-fn): Doc fix.
8995 (dired-files-attributes, dired-read-shell-command):
8996 Fix typos in docstrings.
8998 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
8999 (dired-x-find-file-other-window): Reflow docstrings.
9000 (dired-omit-marker-char, dired-read-shell-command)
9001 (dired-x-submit-report): Fix typos in docstrings.
9003 * shell.el (shell-mode-hook):
9004 * view.el (View-scroll-line-forward):
9005 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
9006 Fix typos in docstrings.
9008 * net/dig.el (dig-invoke): Fix typo in docstring.
9009 (query-dig): Reflow docstring.
9011 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
9012 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
9013 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
9014 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
9015 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
9016 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
9017 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
9018 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
9019 (idlwave-completion-map, idlwave-current-indent)
9020 (idlwave-custom-ampersand-surround, idlwave-customize)
9021 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
9022 (idlwave-define-abbrev, idlwave-determine-class-special)
9023 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
9024 (idlwave-end-block-reg, idlwave-end-of-statement)
9025 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
9026 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
9027 (idlwave-explicit-class-listed, idlwave-file-header)
9028 (idlwave-fill-paragraph, idlwave-find-class-definition)
9029 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
9030 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
9031 (idlwave-in-quote, idlwave-indent-action-table)
9032 (idlwave-indent-expand-table, idlwave-indent-line)
9033 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
9034 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
9035 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
9036 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
9037 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
9038 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
9039 (idlwave-outlawed-buffers, idlwave-popup-select)
9040 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
9041 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
9042 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
9043 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
9044 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
9045 (idlwave-statement-type, idlwave-struct-skip)
9046 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
9047 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
9048 (idlwave-what-module-find-class): Fix typos in docstrings.
9049 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
9050 (idlwave-calculate-cont-indent, idlwave-expand-equal)
9051 (idlwave-find-module, idlwave-find-structure-definition)
9052 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
9053 (idlwave-list-load-path-shadows, idlwave-next-statement)
9054 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
9055 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
9056 (idlwave-template): Reflow docstrings.
9058 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
9059 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
9060 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
9061 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
9062 (idlwave-shell-display-line, idlwave-shell-display-wframe)
9063 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
9064 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
9065 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
9066 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
9067 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
9068 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
9069 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
9070 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
9071 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
9072 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
9073 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
9074 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
9075 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
9076 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
9077 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
9078 Fix typos in docstrings.
9079 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
9080 (idlwave-shell-hide-output, idlwave-shell-mode)
9081 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
9084 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
9086 2009-09-24 Ivan Kanis <apple@kanis.eu>
9088 * term.el (term-bold-attribute): New var.
9089 (term-handle-colors-array): Use it.
9091 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
9093 * progmodes/gdb-mi.el (gdb-version): New variable.
9094 (gdb-non-stop-handler): Set gdb-version.
9095 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
9096 Condition "--thread" option on gdb-version.
9097 (gdb-invalidate-threads): Remove unused argument.
9099 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9101 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
9102 to looking-back to avoid ridiculous slow down in large files (bug#4511).
9104 2009-09-23 Glenn Morris <rgm@gnu.org>
9106 * mail/rmail.el (rmail-reply): Don't try to add a References header when
9107 replying to mail without References or Message-Id. (Bug#4525)
9109 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
9111 * term/ns-win.el (ns-reg-to-script): New variable.
9113 2009-09-23 Daiki Ueno <ueno@unixuser.org>
9115 * epg.el (epg-wait-for-status): Preserve existing 'error results.
9117 2009-09-22 Sam Steingold <sds@gnu.org>
9119 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
9120 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
9121 to 1 because hg returns status 1 when nothing is found.
9122 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
9124 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
9126 * textmodes/fill.el: Convert to utf-8 encoding.
9127 (fill-french-nobreak-p): Remove redundant » and « inherited from our
9130 * add-log.el (change-log-fill-forward-paragraph): New function.
9131 (change-log-mode): Use it so fill-region DTRT.
9132 Set fill-indent-according-to-mode here rather than in
9133 change-log-fill-paragraph.
9134 (change-log-fill-paragraph): Remove.
9136 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
9138 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
9139 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
9141 2009-09-22 Glenn Morris <rgm@gnu.org>
9143 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
9144 the scroll-bar scroll the calendar window rather than the buffer.
9146 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
9147 commands that move point (as opposed to scrolling).
9149 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
9151 * emacs-lisp/elint.el (elint): New custom group.
9152 (elint-log-buffer): Make it a defcustom.
9153 (elint-scan-preloaded, elint-ignored-warnings)
9154 (elint-directory-skip-re): New options.
9155 (elint-builtin-variables): Doc fix.
9156 (elint-preloaded-env): New variable.
9157 (elint-unknown-builtin-args): Add an entry for encode-time.
9158 (elint-extra-errors): Make it a variable rather than a constant.
9159 (elint-preloaded-skip-re): New constant.
9160 (elint-directory): Skip files matching elint-directory-skip-re.
9161 (elint-features): New variable, local to linted buffers.
9162 (elint-update-env): Initialize elint-features. Possibly add
9163 elint-preloaded-env to the buffer's environment.
9164 (elint-get-top-forms): Bind elint-current-pos, for log messages.
9166 (elint-init-form): New function, extracted from elint-init-env.
9167 Make non-list forms a warning rather than an error.
9168 Add the mode-map for define-derived-mode. Handle define-minor-mode,
9169 easy-menu-define, put that adds an error-condition, and provide.
9170 When requiring cl, also require cl-macs. Really require cl, to handle
9171 some cl macros. Store required libraries in the list elint-features,
9172 so as not to re-load them. Treat cc-require like require.
9173 (elint-init-env): Call elint-init-form to do the work.
9174 Handle eval-and-compile and such like.
9175 (elint-add-required-env): Do not clear messages.
9176 (elint-special-forms): Add handlers for function, defalias, if, when,
9178 (elint-form): Add optional argument to ignore elint-special-forms,
9179 useful to prevent recursive calls from handlers. Doc fix.
9180 Respect elint-ignored-warnings.
9181 (elint-form): Respect elint-ignored-warnings.
9182 (elint-bound-variable, elint-bound-function): New variables.
9183 (elint-unbound-variable): Respect elint-bound-variable.
9184 (elint-get-args): Respect elint-bound-function.
9185 (elint-check-cond-form): Add some simple handling for (f)boundp and
9187 (elint-check-defalias-form): New handler.
9188 (elint-check-let-form): Make an empty let a warning rather than an
9190 (elint-check-setq-form): Make an empty setq a warning rather than an
9191 error. Respect elint-ignored-warnings.
9192 (elint-check-defvar-form): Accept null doc-strings.
9193 (elint-check-conditional-form): New handler. Does some simple-minded
9194 checking of featurep and (f)boundp tests.
9195 (elint-put-function-args): New function.
9196 (elint-initialize): Use elint-scan-doc-file rather than
9197 elint-find-builtin-variables. Use elint-put-function-args.
9198 Possibly scan preloaded-file-list.
9199 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
9200 extend to handle functions as well.
9202 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
9204 * linum.el (linum-delete-overlays, linum-update-window):
9205 Do not modify the right margin. (Bug#3971)
9207 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
9209 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
9210 nxml-mode instead of xml-mode.
9212 2009-09-21 Kevin Ryde <user42@zip.com.au>
9214 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
9216 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9218 * net/dig.el (dig-mode): Use define-derived-mode.
9220 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
9222 * vc-dispatcher.el (vc-do-command): Return the process object in
9223 the asynchronous case. Use when instead of if. Do not run
9224 vc-exec-after to display a message if not enabled. (Bug#4463)
9226 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
9227 properties to the stash strings.
9228 (vc-git-stash-list): Return a list of strings.
9229 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
9230 (vc-git-stash-show-at-point): New functions.
9231 (vc-git-stash-map): New keymap.
9233 * register.el (ctl-x-r-map): Define the keys here instead of
9236 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
9238 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
9239 list, to workaround performance problem (bug#4485).
9241 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
9243 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
9245 2009-09-20 Daiki Ueno <ueno@unixuser.org>
9247 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
9248 Document that this option is not recommended to use.
9250 2009-09-19 Glenn Morris <rgm@gnu.org>
9252 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
9255 * calc/calc-alg.el (var):
9256 * calc/calcalg2.el (var): Define for compiler.
9258 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
9260 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
9263 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
9265 * time-stamp.el (time-stamp-month-dd-yyyy)
9266 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
9267 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
9268 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
9269 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
9270 Remove functions that have been obsolete since 1995 (Bug#4436).
9272 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
9273 indent buffer only if called interactively (Bug#4452).
9275 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
9276 Eli Zaretskii <eliz@gnu.org>
9278 This fixes bug#4197 (merged to bug#865, though not identical).
9279 * server.el (server-auth-dir): Add docstring note about FAT32.
9280 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
9281 but warn against using them.
9283 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
9285 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
9286 older GDB where there is no has_more field.
9288 2009-09-19 Glenn Morris <rgm@gnu.org>
9290 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
9292 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
9294 * files.el (auto-mode-alist): Change default for XML files to nXML
9297 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
9299 * server.el (server-ensure-safe-dir): Pass 'integer
9300 to `file-attributes', as suggested.
9302 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
9304 * dired-aux.el (dired-query-alist): Remove spurious backslash.
9305 (dired-query): Use read-key.
9307 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
9309 * cus-start.el (ns-use-qd-smoothing): Remove.
9311 2009-09-18 Glenn Morris <rgm@gnu.org>
9313 * allout.el (top-level): Remove unnecessary progn.
9315 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
9317 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
9318 definition of abbrev table.
9320 * speedbar.el (speedbar-track-mouse):
9321 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
9322 * net/eudc.el (eudc-expand-inline):
9323 * net/newst-backend.el (newsticker--cache-read-feed):
9324 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
9325 condition-case handlers.
9327 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
9329 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
9330 (gdb-var-list): Add an element for has_more field.
9331 (gdb-non-stop-handler): Enable pretty printing for STL containers.
9332 (gdb-var-create-handler, gdb-var-list-children-handler-1)
9333 (gdb-var-update-handler-1): Parse output of dynamic variable
9334 objects (STL containers).
9335 (gdb-var-delete-1): Pass var1 as an explicit second argument.
9336 (gdb-get-field): Delete alias. Use bindat-get-field directly.
9338 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
9340 (gud-speedbar-buttons): Make node expandable if expression "has more"
9343 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
9345 * startup.el (emacs-quick-startup): Remove variable and all uses.
9346 (command-line): Set `inhibit-x-resources' instead.
9347 (command-line-1): Use `inhibit-x-resources' instead.
9349 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
9351 * subr.el: Fix last change to avoid using the `unless' macro,
9352 which breaks bootstrapping.
9354 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9356 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
9357 extended definitions, in case we reload subr.el after having
9359 (eval-next-after-load): Mark as obsolete.
9361 2009-09-17 Juri Linkov <juri@jurta.org>
9363 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
9364 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
9365 (menu-bar-showhide-menu, menu-bar-tools-menu)
9366 (menu-bar-describe-menu, menu-bar-help-menu)
9367 (minibuffer-local-completion-map, minibuffer-local-map):
9370 2009-09-17 Glenn Morris <rgm@gnu.org>
9372 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
9373 arguments, whether or not it has a handler.
9375 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
9377 * simple.el (hard-newline): Give it a doc-string.
9379 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9380 (lisp-mode-syntax-table): Give them doc-strings.
9382 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
9384 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
9385 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
9386 (menu-bar-options-menu, menu-bar-showhide-menu)
9387 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
9388 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
9389 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
9390 (menu-bar-options-menu, menu-bar-tools-menu)
9391 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
9392 (menu-bar-help-menu):
9393 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
9396 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
9397 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
9398 calls for the menu names and :help.
9400 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9402 * mouse.el (minor-mode-menu-from-indicator): Pay attention
9403 to :minor-mode-function (bug#4455).
9405 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9407 * startup.el (command-line): Initialize the window-system after
9408 processing the command-line.
9410 * textmodes/page.el (what-page): Make sure we don't inf-loop if
9411 page-delimiter matches the empty string.
9413 2009-09-16 Glenn Morris <rgm@gnu.org>
9415 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
9416 byte-compile-not-obsolete-var. It's a list now.
9417 (byte-compile-not-obsolete-funcs): New variable.
9418 (byte-compile-warn-obsolete): Don't warn about functions if they are in
9419 byte-compile-not-obsolete-funcs.
9420 (byte-compile-variable-ref, byte-compile-defvar): Update for
9421 byte-compile-not-obsolete-vars name-change and list nature.
9422 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
9423 and variables behind (f)boundp tests.
9424 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
9426 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
9428 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
9430 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
9432 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
9433 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
9436 2009-09-15 Stephen Eglen <stephen@gnu.org>
9438 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
9439 the virtual-buffers, use the name of the buffer specified by
9440 find-file-noselect, as the match may be a symlink. (This was a
9441 problem if the target and the symlink had different names.)
9443 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
9445 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
9447 * desktop.el (desktop-path): Check user-emacs-directory.
9449 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
9451 * loadup.el: Use after-load-functions to GC after loading each file.
9452 Remove the explicit GC calls that used to be sprinkled around.
9454 * subr.el (after-load-functions): New hook.
9455 (do-after-load-evaluation): Run it. Use string-match-p to detect
9456 `obsolete' packages, rather than painfully extracting the relevant
9459 2009-09-15 Glenn Morris <rgm@gnu.org>
9461 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
9462 free variable `doc'.
9464 * dired.el (dired-mode-map): Add menu entry for async shell command.
9466 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
9467 variables, also consider the .elc files, since the .el files are
9468 normally gzipped (subsequent code locates the .el.gz from the .elc).
9470 * calc/calc-prog.el (arglist): Define for compiler.
9472 * calendar/diary-lib.el (diary-display-function): Change the default to
9474 (body): Define for compiler.
9476 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
9477 (byte-compile-file-form, byte-compile-lambda)
9478 (byte-compile-top-level-body, byte-compile-form)
9479 (byte-compile-variable-ref, byte-compile-setq)
9480 (byte-compile-setq-default, byte-compile-body)
9481 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
9482 (batch-byte-compile): Give some more local variables with common names
9483 a "bytecomp-" prefix to avoid masking warnings about free variables.
9485 * startup.el (command-line-1): Give local variables with common names a
9486 distinguishing prefix, so as not to hide free variable warnings during
9489 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
9490 clever and add a suffix to make a unique name, just let the user decide
9491 whether or not to overwrite it. If the input is a directory, write the
9492 default filename to that directory. (Bug#4388)
9493 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
9494 is a filename-as-a-directory.
9496 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
9498 * textmodes/page.el (what-page): Don't move to beginning of line.
9499 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
9501 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
9503 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
9505 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
9507 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
9508 * help.el (help-for-help-internal): Add purecopy calls for text.
9510 * vc.el (top): print-log method now takes an optional SHORTLOG
9511 argument. Add a new method: root.
9512 (vc-root-diff, vc-print-root-log): New functions.
9513 (vc-log-short-style): New variable.
9514 (vc-print-log-internal): Add support for showing short logs.
9516 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
9517 vc-print-root-log and vc-print-root-diff.
9519 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
9520 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
9521 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
9524 * vc-cvs.el (vc-cvs-print-log):
9525 * vc-mtn.el (vc-mtn-print-log):
9526 * vc-rcs.el (vc-rcs-print-log):
9527 * vc-sccs.el (vc-sccs-print-log):
9528 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
9529 that is ignored for now.
9531 * vc-mtn.el (vc-mtn-annotate-command):
9532 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
9534 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
9536 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
9537 to function-key-map, and give them ascii-character property.
9538 * term/x-win.el (x-alternatives-map):
9539 * term/ns-win.el (ns-alternatives-map):
9540 * term/internal.el (msdos-key-remapping-map):
9541 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
9543 2009-09-14 Glenn Morris <rgm@gnu.org>
9545 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
9546 temp-buffers (2009-09-12).
9548 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9550 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
9551 the new read-key function.
9553 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
9555 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
9556 is defined (Bug#4405).
9558 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
9560 * recentf.el (recentf-cleanup): Use a hash table to find
9561 duplicates (Bug#4407).
9563 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
9565 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
9566 kp-0 to ascii equivalents (Bug#4325).
9568 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
9570 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
9572 * eshell/em-hist.el:
9573 * eshell/em-dirs.el (eshell-complete-user-reference):
9574 Declare pcomplete functions and variables to avoid compiler warnings.
9576 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
9578 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
9579 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
9580 * eshell/em-alias.el (eshell-aliases-file):
9581 * eshell/em-hist.el (eshell-history-file-name):
9582 Use expand-file-name instead of concat to make file names (Bug#4308).
9584 2009-09-13 Glenn Morris <rgm@gnu.org>
9586 * ediff-merg.el (ediff-do-merge):
9587 * filesets.el (filesets-run-cmd):
9588 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
9589 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
9590 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
9591 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
9592 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
9593 Replace empty `let's with `progn'.
9595 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
9597 * mail/sendmail.el (send-mail-function):
9598 * tooltip.el (tooltip-mode):
9599 * simple.el (transient-mark-mode):
9600 * rfn-eshadow.el (file-name-shadow-mode):
9601 * frame.el (blink-cursor-mode):
9602 * font-core.el (global-font-lock-mode):
9603 * files.el (temporary-file-directory)
9604 (small-temporary-file-directory, auto-save-file-name-transforms):
9605 * epa-hook.el (auto-encryption-mode):
9606 * composite.el (global-auto-composition-mode):
9607 Use custom-initialize-delay.
9608 * startup.el (command-line): Don't explicitly call
9609 custom-reevaluate-setting for all the above vars.
9610 * custom.el (custom-initialize-safe-set)
9611 (custom-initialize-safe-default): Delete.
9613 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9615 * term/x-win.el (x-initialize-window-system):
9616 * term/w32-win.el (w32-initialize-window-system):
9617 * term/ns-win.el (ns-initialize-window-system): Don't call
9618 mouse-wheel-mode since it's enabled globally by default already.
9620 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
9621 actually define the variable, but only silences the byte-compiler.
9622 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
9623 before looking it up.
9624 (mouse-wheel-scroll-amount): Also reset the bindings if this value
9627 2009-09-12 Glenn Morris <rgm@gnu.org>
9629 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
9631 (elint-add-required-env): Don't beep on error.
9632 (elint-forms): In case of error, return ENV unchanged.
9633 (elint-init-env): Skip non-list forms.
9634 (elint-log): Handle unknown file positions.
9636 2009-09-12 Daiki Ueno <ueno@unixuser.org>
9638 * epg.el (epg-make-context): Add autoload cookie.
9639 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
9640 (epg-decrypt-string, epg-start-verify, epg-verify-file)
9641 (epg-verify-string, epg-start-sign, epg-sign-file)
9642 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
9643 (epg-encrypt-string, epg-start-export-keys)
9644 (epg-export-keys-to-file, epg-export-keys-to-string)
9645 (epg-start-import-keys, epg-import-keys-from-file)
9646 (epg-import-keys-from-string, epg-start-receive-keys)
9647 (epg-receive-keys, epg-import-keys-from-server)
9648 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
9649 (epg-sign-keys, epg-start-generate-key)
9650 (epg-generate-key-from-file, epg-generate-key-from-string):
9651 Remove autoload cookie.
9653 2009-09-12 Eli Zaretskii <eliz@gnu.org>
9655 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
9656 reevaluation of trash-directory.
9658 * mwheel.el: Fix last change.
9659 (mouse-wheel-mode): New defvar.
9660 (mouse-wheel-mode): Remove autoload cookie.
9662 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
9664 * mwheel.el (mwheel-installed-bindings): New var.
9665 (mouse-wheel-mode): Use it, so as to make sure we really remove all
9666 the bindings we set last time. Use custom-initialize-delay.
9667 * loadup.el: Load mwheel after term/*-win.el.
9668 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
9669 and mouse-wheel-up-event now that their first evaluation is done
9670 sufficiently late to be correct.
9672 * startup.el (tutorial-directory): Make it a defcustom.
9673 Use custom-initialize-delay rather than eval-at-startup to set it.
9674 * image.el (image-load-path): Make it a defcustom.
9675 Use custom-initialize-delay rather than eval-at-startup to set it.
9676 * subr.el (eval-at-startup): Remove.
9677 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
9679 * subr.el (do-after-load-evaluation): Warn the user after loading an
9682 2009-09-12 Glenn Morris <rgm@gnu.org>
9684 * proced.el (proced-mark-alt): Remove alias.
9685 (proced-mode-map): Remove proced-mark-alt.
9687 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
9688 Elint file and directory. Remove initialization entry.
9690 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
9692 (elint-current-buffer): Set mode-line-process.
9693 (elint-init-env): Handle define-derived-mode.
9694 Fix declare-function with unspecified arglist. Guard against odd
9695 defalias statements (eg iso-insert's 8859-1-map).
9696 (elint-add-required-env): Use a temp buffer.
9697 (elint-form): Just print the function/macro name, not the whole form.
9698 Return env unchanged if we fail to parse a macro.
9699 (elint-forms): Guard against parse errors.
9700 (elint-output): New function, to handle batch mode.
9701 (elint-log-message): Add optional argument. Use elint-output.
9702 (elint-set-mode-line): New function.
9704 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
9706 * emacs-lisp/elp.el (elp-not-profilable): Add more
9707 functions (Bug#4233).
9709 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
9711 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
9712 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
9714 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
9716 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
9717 (gdb-var-list-children): Use json parsing.
9719 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
9721 * progmodes/js.el (js--proper-indentation): Handle the case where
9722 char-before is null. Reported by Deniz Dogan.
9724 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
9726 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
9728 2009-09-11 Daiki Ueno <ueno@unixuser.org>
9730 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
9731 (epg-digest-algorithm-alist): Add SHA224.
9732 (epg-context-set-passphrase-callback)
9733 (epg-context-set-progress-callback): Add description about
9736 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9738 * custom.el (custom-delayed-init-variables): New var.
9739 (custom-initialize-delay): New function.
9740 * startup.el (command-line): "Re"evaluate all vars in
9741 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
9742 explicitly any more.
9743 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
9744 to avoid creating a ~/.emacs.d at build-time (bug#4347).
9746 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
9748 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
9750 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
9751 (gdb-var-update-handler): Use json parsing.
9753 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
9755 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
9756 decode annotated text, regardless of language environment. (Bug#2741)
9758 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9760 * Makefile.in (autoloads): Make rmail.el writable as well.
9762 2009-09-11 Glenn Morris <rgm@gnu.org>
9764 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
9766 * dired.el: Regenerate with extracted autoloads.
9767 * Makefile.in (autoloads): Make dired.el writable.
9769 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
9770 * ibuffer.el: Regenerate with extracted autoloads.
9771 * Makefile.in (autoloads): Make ibuffer.el writable.
9773 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
9774 * version.el (emacs-copyright, emacs-major-version)
9775 (emacs-minor-version): Reformat doc-strings for make-docfile.
9777 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
9778 functions and variables, since they must be stuff specific to some other
9780 (apropos-print): Make mouse-click message less specific about button.
9782 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
9783 that records where a macro was defined.
9784 * help-fns.el (describe-function-1): Mention if a function has a
9786 * help-mode.el (help-function-cmacro): New button.
9788 * locate.el (top-level): Always require dired.
9789 (locate-mode-map): Initialize inside the defvar.
9791 * net/ange-ftp.el (dired-compress-file): Declare.
9792 (ange-ftp-dired-compress-file): Add doc string.
9794 * term/ns-win.el (x-display-name, x-setup-function-keys):
9795 Unify doc-strings with X versions.
9797 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
9799 * emulation/crisp.el (crisp-mode-map): Move initialization
9801 (crisp-mode): Use define-minor-mode.
9803 * progmodes/xscheme.el (xscheme-evaluation-commands):
9804 Put a :advertised-binding property rather than using
9805 advertised-xscheme-send-previous-expression.
9806 (advertised-xscheme-send-previous-expression): Declare obsolete.
9807 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
9809 (crisp-mode): Add corresponding bindings to
9810 undo's :advertised-binding instead.
9811 * dired.el (dired-mode-map): Put a :advertised-binding property rather
9812 than using dired-advertised-find-file.
9813 (dired-advertised-find-file):
9814 * simple.el (advertised-undo):
9815 * wid-edit.el (advertised-widget-backward): Declare obsolete.
9816 (widget-keymap): Put a :advertised-binding property rather
9817 than using advertised-widget-backward.
9818 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
9819 than using advertised-undo.
9820 * tutorial.el (tutorial--default-keys): Adjust accordingly.
9822 2009-09-10 Simon South <ssouth@slowcomputing.org>
9824 * progmodes/delphi.el (delphi-tab): Indent region when Transient
9825 Mark mode is enabled and region is active; otherwise indent or
9826 insert TAB as usual.
9827 (delphi-mode): Update description of TAB-key binding.
9829 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
9831 * subr.el (define-key-rebound-commands): Mark obsolete.
9832 * startup.el (precompute-menubar-bindings): Remove.
9833 (normal-top-level): Remove obsolete code that tried to precompute
9835 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
9836 define-key-rebound-commands and precompute-menubar-bindings.
9838 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
9840 * net/imap.el (imap-interactive-login): Better messages.
9841 (imap-open): Fix bug with renamed buffer on reconnect.
9842 (imap-authenticate): Add buffer-local imap-last-authenticator variable
9843 for easier debugging and cleaner code. On successful (guessed based on
9844 server capabilities) secondary authentication, set imap-state
9846 (imap-last-authenticator): Define imap-last-authenticator as a variable
9849 2009-09-10 Glenn Morris <rgm@gnu.org>
9851 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
9853 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
9854 (byte-compile-file-form-autoload): Don't warn about unknown functions
9855 where the autoload statement comes after the use.
9856 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
9857 that any handlers inside the body (eg require) are in turn respected.
9859 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
9862 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
9863 and syntax and abbrev tables basic docs, if they don't have any.
9865 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
9867 * international/mule-cmds.el (top-level): Require cl when compiling.
9868 (view-hello-file): Use default-value rather than
9869 default-enable-multibyte-characters.
9871 * progmodes/fortran.el: Move all safe and risky properties into the
9874 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
9875 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
9877 Put autoloads in rmail.el rather than loaddefs.el.
9878 * mail/rmail.el: Regenerate with extracted autoloads.
9880 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
9881 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
9883 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
9885 Reported in thread for Bug#4375.
9886 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
9887 "-data-evaluate-expression" instead of print.
9888 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
9889 (gdb-tooltip-print): Parse output from above MI command.
9890 (gdb): Revert 2009-08-11 change. User should detach inferior
9893 Remove the word "separate" from IO functions as inferior
9894 output is now never displayed in the GUD buffer.
9896 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
9898 * startup.el (command-line-normalize-file-name): On Windows and
9899 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
9901 2009-09-10 Juri Linkov <juri@jurta.org>
9903 * isearch.el (isearch-text-char-description): Propertize escape
9904 character sequences with the `escape-glyph' face. (Bug#4344)
9906 * simple.el (shell-command): Set asynchronous process filter to
9907 `comint-output-filter'. (Bug#4343)
9909 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
9910 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
9911 the list. Move "asm" to the bottom.
9912 (grep-find-ignored-directories): Add `choice' with nil value
9913 to empty the list easily.
9914 (grep-find-ignored-files): New option.
9915 (grep-files-history): Set to nil by default instead of '("ch" "el").
9916 (grep-compute-defaults): Add "<X>" to `grep-template'.
9917 (grep-read-files): Bind new local variables `default-alias' and
9918 `default-extension'. Use a list of default values for the file prompt.
9919 (lgrep): Add `--exclude=' command line options composed from
9920 `grep-find-ignored-files'.
9921 (rgrep): Add `-name' command line options composed from
9922 `grep-find-ignored-files'. (Bug#4301)
9924 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
9926 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
9929 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
9931 * calendar/time-date.el (autoload):
9932 Expand define-obsolete-function-alias into defalias and make-obsolete
9933 for old Emacsen that Gnus supports.
9934 (with-no-warnings): Define it for old Emacsen.
9935 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
9937 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
9938 float-time is available; suppress compile warning for time-to-seconds.
9940 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
9942 * net/imap.el (imap-message-map): Docstring fix.
9944 2009-09-09 Glenn Morris <rgm@gnu.org>
9946 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
9947 line numbers too. (Bug#4374)
9949 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
9951 * smerge-mode.el (smerge-remove-props, smerge-refine):
9952 Use with-silent-modifications (bug#4342).
9954 * subr.el (with-silent-modifications): New macro.
9956 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
9958 * files.el (top-level): Require `cl' when compiling.
9960 2009-09-07 Glenn Morris <rgm@gnu.org>
9962 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
9964 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
9965 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
9967 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
9969 * vc-git.el (vc-git-annotate-command): Use separator to parse
9970 arguments correctly.
9972 2009-09-06 Eli Zaretskii <eliz@gnu.org>
9974 * proced.el (proced-mode): Doc fix.
9976 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
9978 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
9980 (tramp-do-file-attributes-with-ls): Check for file existence at
9982 (tramp-do-file-attributes-with-stat): Likewise.
9983 (tramp-convert-file-attributes): Return nil when attr is nil.
9985 2009-09-05 Glenn Morris <rgm@gnu.org>
9987 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
9988 properties to this button.
9989 (diary-fancy-display): Don't extend the button to the final newline.
9990 (diary-fancy-display-mode): Continue to define "q" as a local key.
9992 * calendar/cal-china.el (holiday-chinese): Make it slightly more
9995 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
9997 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
9998 (byte-compile-dest-file-function): New option.
9999 (byte-compile-dest-file): Doc fix.
10000 Obey byte-compile-dest-file-function.
10001 (byte-compile-cl-file-p): New function.
10002 (byte-compile-eval): Only suppress noruntime warnings about cl functions
10003 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
10004 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
10005 than for file being previously loaded.
10006 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
10007 (byte-compile-file-form-require): Handle the case where requiring a file
10008 indirectly causes CL to be loaded.
10010 2009-09-05 Karl Fogel <kfogel@red-bean.com>
10012 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
10013 before killing the old buffer, since by the time `kill-buffer' is
10014 run so many buffer variables have been set to nil that it may not
10015 behave as expected. (Bug#4061)
10017 2009-09-05 Karl Fogel <kfogel@red-bean.com>
10019 * files.el (find-alternate-file): If the old buffer is modified
10020 and visiting a file, behave similarly to `kill-buffer' when
10021 killing it, thus reverting to the pre-1.878 behavior; see
10022 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
10023 for discussion. Also, consult `buffer-file-name' as a variable
10024 not as a function, for consistency with the rest of the code.
10026 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
10028 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
10029 also when adding a new directory.
10031 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
10034 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
10036 * files.el (locate-file-completion-table): Make it provide boundary
10037 information, so partial-completion works better.
10039 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
10041 * mail/footnote.el (Footnote-text-under-cursor):
10042 Check footnote-text-marker-alist before using it (bug#4324).
10044 2009-09-04 Glenn Morris <rgm@gnu.org>
10046 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
10047 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
10048 * play/solitaire.el, play/tetris.el:
10049 Remove leading * from defcustom and defface docs.
10051 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
10053 (diary-fancy-overriding-map): New variable.
10054 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
10057 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
10060 2009-09-03 Glenn Morris <rgm@gnu.org>
10062 * arc-mode.el (archive-mode):
10063 * dos-fns.el (set-default-process-coding-system):
10064 * man.el (Man-getpage-in-background):
10065 * menu-bar.el (menu-bar-describe-menu):
10066 * server.el (server-process-filter):
10067 * startup.el (command-line):
10068 * tar-mode.el (tar-header-block-tokenize, tar-extract):
10069 * w32-fns.el (set-default-process-coding-system):
10070 * x-dnd.el (x-dnd-handle-file-name):
10071 * international/mule-cmds.el (mule-menu-keymap)
10072 (set-default-coding-systems, language-info-alist, set-language-info)
10073 (set-language-environment, standard-display-european-internal)
10074 (set-locale-environment):
10075 * international/mule-diag.el (mule-diag):
10076 * mail/emacsbug.el (report-emacs-bug):
10077 * mail/rmail.el (rmail-mode):
10078 * mail/sendmail.el (mail-setup):
10079 Use default-value rather than default-enable-multibyte-characters.
10081 * progmodes/f90.el: Move all safe properties into the defcustoms.
10082 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
10084 * calendar/appt.el (appt-check):
10085 * calendar/diary-lib.el (diary-set-header, diary-live-p)
10086 (diary-check-diary-file, diary-list-entries)
10087 (diary-include-other-diary-files, diary-simple-display)
10088 (diary-fancy-display, diary-print-entries)
10089 (diary-mark-included-diary-files, diary-make-entry):
10090 Don't call substitute-in-file-name on diary-file.
10092 2009-09-03 Eduard Wiebe <usenet@pusto.de>
10093 Stefan Monnier <monnier@iro.umontreal.ca>
10095 * mail/footnote.el (footnote-prefix): Make it a defcustom.
10096 (footnote-mode-map): Move initialization into the declaration.
10097 (footnote-minor-mode-map): Define it rather than changing global-map.
10098 (footnote-mode): Use define-minor-mode.
10100 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
10102 * net/tramp.el (tramp-handle-file-attributes-with-ls)
10103 (tramp-do-file-attributes-with-perl)
10104 (tramp-do-file-attributes-with-stat): Rename from
10105 `tramp-handle-file-attributes-with-*'.
10106 (tramp-handle-file-attributes): Use them.
10107 (tramp-do-directory-files-and-attributes-with-perl)
10108 (tramp-do-directory-files-and-attributes-with-stat): Rename from
10109 `tramp-handle-directory-files-and-attributes-with-*'.
10110 (tramp-handle-directory-files-and-attributes): Use them.
10111 (tramp-method-out-of-band-p): Additional parameter SIZE.
10112 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
10113 (tramp-handle-write-region): Use it.
10114 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
10115 (tramp-handle-vc-registered): Check, whether the first run did
10116 return files to be tested.
10117 (tramp-advice-make-auto-save-file-name): Do not call directly
10118 `tramp-handle-make-auto-save-file-name', because this would bypass
10119 the locking mechanism.
10121 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
10122 (file-remote-p, process-file, start-file-process, set-file-times)
10123 (tramp-compat-file-attributes): Compatibility functions shall not
10124 call directly `tramp-handle-*', because this would bypass the
10126 (tramp-compat-number-sequence): New defun.
10128 2009-09-02 Glenn Morris <rgm@gnu.org>
10130 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
10131 alias for float-time.
10132 (time-to-number-of-days): In Emacs, use float-time.
10133 * net/newst-backend.el (time-add): Suppress warnings from compat
10135 * time.el (emacs-uptime, emacs-init-time):
10136 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
10137 Use float-time rather than time-to-seconds.
10139 * minibuffer.el (completion-initials-expand): Fix typo.
10141 * faces.el (modeline, modeline-inactive, modeline-highlight)
10142 (modeline-buffer-id):
10143 * info.el (info-menu-5): Mark these face aliases as obsolete.
10145 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
10147 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
10149 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
10150 no "--thread" option.
10151 (gdb-stopped): Don't print "Switched to thread" message when it is
10154 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
10156 * minibuffer.el (completion-try-completion)
10157 (completion-all-completions): Remove ill-defined (and
10158 mistakenly installed and luckily never used nor documented)
10159 `completion-styles' property.
10160 (completion-initials-expand, completion-initials-all-completions)
10161 (completion-initials-try-completion): New functions.
10162 (completion-styles-alist): Add doc to each entry.
10163 Add new `initials' entry.
10165 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
10167 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
10168 MI command -var-evaluate-expression.
10169 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
10170 and tweak for case of string child.
10171 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
10173 2009-09-01 Glenn Morris <rgm@gnu.org>
10175 * add-log.el (change-log-date-face, change-log-name-face)
10176 (change-log-email-face, change-log-file-face, change-log-list-face)
10177 (change-log-conditionals-face, change-log-function-face)
10178 (change-log-acknowledgement-face):
10179 * cus-edit.el (custom-invalid-face, custom-rogue-face)
10180 (custom-modified-face, custom-set-face, custom-changed-face)
10181 (custom-saved-face, custom-button-face, custom-button-pressed-face)
10182 (custom-documentation-face, custom-state-face, custom-comment-face)
10183 (custom-comment-tag-face, custom-variable-tag-face)
10184 (custom-variable-button-face, custom-face-tag-face)
10185 (custom-group-tag-face-1, custom-group-tag-face):
10186 * diff-mode.el (diff-header-face, diff-file-header-face)
10187 (diff-index-face, diff-hunk-header-face, diff-removed-face)
10188 (diff-added-face, diff-changed-face, diff-function-face)
10189 (diff-context-face, diff-nonexistent-face):
10190 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
10191 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
10192 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
10193 (Info-title-4-face):
10194 * isearch.el (isearch-lazy-highlight-face):
10195 * log-view.el (log-view-file-face, log-view-message-face):
10196 * paren.el (show-paren-match-face, show-paren-mismatch-face):
10197 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
10198 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
10200 * smerge-mode.el (smerge-mine-face, smerge-other-face)
10201 (smerge-base-face, smerge-markers-face):
10202 * wid-edit.el (widget-documentation-face, widget-button-face)
10203 (widget-field-face, widget-single-line-field-face)
10204 (widget-inactive-face, widget-button-pressed-face):
10205 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
10206 (woman-addition-face):
10207 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
10208 (eshell-ls-executable-face, eshell-ls-readonly-face)
10209 (eshell-ls-unreadable-face, eshell-ls-special-face)
10210 (eshell-ls-missing-face, eshell-ls-archive-face)
10211 (eshell-ls-backup-face, eshell-ls-product-face)
10212 (eshell-ls-clutter-face):
10213 * eshell/em-prompt.el (eshell-prompt-face):
10214 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
10215 * obsolete/old-whitespace.el (whitespace-highlight-face):
10216 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
10217 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
10218 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
10219 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
10220 (antlr-font-lock-literal-face):
10221 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
10222 (ebrowse-root-class-face, ebrowse-file-name-face)
10223 (ebrowse-default-face, ebrowse-member-attribute-face)
10224 (ebrowse-member-class-face, ebrowse-progress-face):
10225 * progmodes/make-mode.el (makefile-space-face):
10226 * progmodes/sh-script.el (sh-heredoc-face):
10227 * textmodes/flyspell.el (flyspell-incorrect-face)
10228 (flyspell-duplicate-face):
10229 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
10230 * textmodes/texinfo.el (texinfo-heading-face):
10231 Mark face aliases with "-face" suffix as obsolete.
10233 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
10236 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
10237 (eudc-bob-sound-menu): Use defvar rather than defconst, since
10238 easy-menu-define wants to modify these.
10240 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
10242 * net/browse-url.el (browse-url-file-url):
10243 * term/internal.el (dos-codepage-setup):
10244 Use default-value rather than default-enable-multibyte-characters.
10246 * progmodes/etags.el (etags-goto-tag-location):
10247 * progmodes/flymake.el (flymake-highlight-line)
10248 (flymake-goto-file-and-line, flymake-goto-line):
10249 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
10250 (gdb-goto-breakpoint):
10251 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
10252 * progmodes/python.el (python-find-function)
10253 (python-pdbtrack-track-stack-file):
10254 * progmodes/verilog-mode.el (verilog-surelint-off):
10255 * term/ns-win.el (ns-open-file-select-line):
10256 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
10257 Use forward-line rather than goto-line.
10259 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
10260 * textmodes/reftex-index.el (reftex-display-index):
10261 * textmodes/reftex-ref.el (reftex-offer-label-menu):
10262 * textmodes/reftex-toc.el (reftex-toc):
10263 Remove unnecessary bindings of default-major-mode (all are followed by
10264 major-mode check and possible mode switch).
10266 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
10268 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10269 Handle watchpoints (bug#4282).
10270 (def-gdb-thread-buffer-command): Enable thread to be selected by
10271 clicking without selecting threads buffer first.
10272 (gdb-current-context-command): Use selected frame so that "up",
10273 "down" etc work in the GUD buffer.
10274 (gdb-update): Find selected frame before rendering stack buffer.
10275 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
10277 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
10279 * progmodes/sym-comp.el (displayed-completions): Remove.
10280 (symbol-complete): Use minibuffer-complete.
10282 2009-08-31 Glenn Morris <rgm@gnu.org>
10284 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
10286 * apropos.el (apropos-symbols-internal):
10287 Handle (obsolete) face aliases.
10289 * faces.el (describe-face): Adjust the output format to be more like
10290 describe-variable, and to mention (obsolete) face aliases.
10291 Adjust the whitespace so that help-setup-xref works.
10293 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
10294 * calendar/diary-lib.el (diary-button-face):
10295 Mark these face aliases as obsolete.
10297 * calendar/calendar.el (calendar-today): Doc fix.
10299 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
10301 * progmodes/gdb-mi.el (gdb-control-all-threads)
10302 (gdb-control-current-thread): Force tool bar update.
10303 (gdb-non-stop-handler): New function.
10304 (gdb-init-1): Use it to test if non-stop mode is supported.
10305 Remove unused gdbmi buffer type.
10307 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
10309 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
10310 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
10312 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
10314 * comint.el (comint-exec-1): Check command is non-null first.
10315 Part of gdb-mi.el change (2009-08-28).
10317 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10319 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
10321 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
10323 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
10324 instead of `dolist' to avoid a recursive require when bootstrapping.
10326 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10328 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
10330 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
10332 * net/imap.el (imap-send-command): Simplify.
10333 (imap-wait-for-tag): point-max -> buffer-size.
10335 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
10337 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
10338 with constant argument.
10340 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
10342 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
10344 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
10345 Change default, since most of our files don't have a history.
10346 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
10349 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10352 * calc/calc.el: Improve commenting convention.
10353 (calc-digit-map, toplevel): Simplify.
10355 * comint.el (comint-insert-input): Be careful to only set point if we
10356 don't delegate to some other command.
10358 * proced.el (proced-signal-list): Make it an alist.
10359 (proced-grammar-alist): Capitalize names.
10360 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
10361 Disable undo manually and make it read-only.
10362 Use completion-annotate-function.
10364 * minibuffer.el (minibuffer-message): If the current buffer is not
10365 a minibuffer, insert the message in the echo area rather than at the
10367 (completion-annotate-function): New variable.
10368 (minibuffer-completion-help): Use it.
10369 (completion--embedded-envvar-table): Environment vars are
10370 always case-sensitive.
10372 2009-08-30 Glenn Morris <rgm@gnu.org>
10374 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
10375 from fortran-current-defun.
10376 (fortran-beginning-of-subprogram): Be more precise about finding the
10377 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
10378 (fortran-end-of-subprogram): Simplify.
10379 (fortran-current-defun): Use fortran-start-prog-re.
10381 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
10383 * subr.el (do-after-load-evaluation): Simplify.
10385 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
10387 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
10389 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
10390 (vc-rcs-print-log): Use it.
10392 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
10394 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10396 * paths.el (abbrev-file-name): Move to abbrev.el.
10397 * abbrev.el (abbrev-file-name): Move from paths.el.
10398 Obey user-emacs-directory.
10399 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
10400 user-emacs-directory.
10401 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
10402 abbrev-file-name and calc-settings-file any more.
10403 * startup.el (command-line): Recompute abbrev-file-name and
10404 abbreviated-home-dir.
10405 (normal-no-mouse-startup-screen): Improve the generic code and get rid
10406 of the special code for when C-h bindings haven't been changed.
10407 (display-startup-echo-area-message): Use with-current-buffer.
10408 (command-line-1): Use a list of strings, rather than a list of lists
10409 of strings for longopts.
10411 * files.el (get-free-disk-space): Use / for default-directory.
10413 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
10414 Use with-current-buffer.
10416 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
10417 Recognize immutable variables like most-positive-fixnum.
10418 (byte-compile-setq-default): Check and warn if trying to assign
10419 to an immutable variable, or a non-variable.
10421 * progmodes/cc-vars.el (c-comment-continuation-stars):
10422 * progmodes/cc-engine.el (c-looking-at-bos):
10423 * progmodes/cc-cmds.el (c-toggle-auto-state)
10424 (c-forward-into-nomenclature, c-backward-into-nomenclature)
10425 (c-comment-line-break-function): Add version of obsolescence.
10427 2009-08-28 Juri Linkov <juri@jurta.org>
10429 * files.el (magic-fallback-mode-alist): Add ZIP magic number
10430 associated with `archive-mode'.
10432 * image.el (image-type-header-regexps): Use only JPEG magic number
10433 to determine JPEG images, and don't use `image-jpeg-p' because
10434 Emacs can display non-JFIF non-Exif JPEG images.
10436 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
10438 * arc-mode.el (archive-mode):
10439 * emacs-lisp/re-builder.el (re-builder-unload-function):
10440 Protect against the default value of `major-mode' being nil.
10442 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
10444 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
10445 Fix typos in docstrings.
10447 * progmodes/js.el (js--macro-decl-re): Doc fix.
10448 (js--plain-method-re, js--split-name): Refloc docstring.
10449 (js--class-styles, js--make-merged-item, js--splice-into-items):
10450 Fix typos in docstrings; reflow docstrings.
10451 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
10452 (js--variable-decl-matcher, js--inside-pitem-p)
10453 (js--parse-state-at-point, js--get-all-known-symbols)
10454 (js--symbol-history, js-find-symbol, js--js-references)
10455 (js--moz-interactor, js--js-encode-value, js--read-tab):
10456 Fix typos in docstrings.
10458 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10460 * textmodes/reftex.el (reftex-get-file-buffer-force):
10461 * progmodes/verilog-mode.el (verilog-batch-execute-func):
10462 * emulation/viper.el (viper-go-away, viper-set-hooks):
10463 * emacs-lisp/re-builder.el (re-builder-unload-function):
10464 * emacs-lisp/bytecomp.el (byte-compile-file):
10465 * ses.el (ses-unload-function):
10466 * hexl.el (hexl-find-file):
10467 * files.el (normal-mode):
10468 * ehelp.el (with-electric-help):
10469 * autoinsert.el (auto-insert-alist):
10470 * arc-mode.el (archive-mode):
10471 Use (default-value 'major-mode) instead of default-major-mode.
10473 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
10474 * international/mule.el (load-with-code-conversion):
10475 * emacs-lisp/debug.el (debug):
10476 * ediff-vers.el (ediff-rcs-get-output-buffer):
10477 * dired.el (dired-internal-noselect): Don't let-bind
10478 default-major-mode around code that doesn't use it.
10479 E.g. buffer creation via get-buffer-create doesn't use it.
10481 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
10483 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
10484 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
10485 when writing the temp file. Otherwise, epa-file gets confused.
10486 (tramp-register-file-name-handlers): Make it a defun. Move also
10487 `epa-file-handler' to the front of `file-name-handler-alist'.
10489 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10491 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
10492 start right after a ^M.
10493 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
10494 (tramp-completion-file-name-regexp-separate)
10495 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
10496 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
10497 Don't modify last-coding-system-used by accident.
10498 (tramp-completion-file-name-handler): Apply the checks here,
10499 instead during registration.
10500 (tramp-register-file-name-handlers): Renamed from
10501 `tramp-register-file-name-handler'. Register both
10502 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
10503 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
10505 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
10507 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
10508 Remove variable ...
10509 (gdb-init-1, gdb-display-separate-io-buffer)
10510 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
10512 (gdb-inferior-io-mode): Use make-comint-in-buffer.
10513 (gdb-inferior-filter): Use comint-output-filter to stop
10514 echoing and remove ^M characters.
10516 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10518 * emulation/viper-init.el (viper-restore-cursor-type):
10519 * emulation/cua-base.el (cua--update-indications):
10520 Replace default-cursor-type with (default-value 'cursor-type).
10522 * mail/sendmail.el (mail-recover-1):
10523 * international/mule-diag.el (describe-current-coding-system-briefly)
10524 (describe-current-coding-system):
10525 * international/mule-cmds.el (select-safe-coding-system)
10526 (select-message-coding-system)
10527 (set-language-environment-coding-systems, set-locale-environment):
10528 * hexl.el (hexl-insert-multibyte-char):
10529 * dos-w32.el (find-buffer-file-type-coding-system):
10530 * simple.el (what-cursor-position):
10531 Replace uses of default-buffer-file-coding-system
10532 with (default-value 'buffer-file-coding-system).
10534 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
10535 Replace uses of default-cursor-in-non-selected-windows
10536 with (default-value 'cursor-in-non-selected-windows).
10537 Use with-current-buffer.
10539 * mail/feedmail.el: Use CL macros.
10540 (feedmail-run-the-queue, feedmail-send-it-immediately):
10541 * dos-w32.el (find-buffer-file-type): Replace uses of
10542 default-buffer-file-type with (default-value 'buffer-file-type).
10544 2009-08-28 Glenn Morris <rgm@gnu.org>
10546 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
10547 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
10548 Use default-value of major-mode rather than default-major-mode.
10550 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
10552 * Makefile.in (update-elcfiles): Report left over elc files.
10554 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
10555 expand-file-name and with-current-buffer.
10556 (mail-get-names, mail-directory): Use with-current-buffer.
10558 * vc.el (vc-read-revision): New function.
10559 (vc-version-diff, vc-merge): Use it.
10561 2009-08-27 Sam Steingold <sds@gnu.org>
10563 * simple.el (kill-do-not-save-duplicates): New user option.
10564 (kill-new): When it is non-nil, and the new string is the same as
10565 the latest kill, set replace to t to avoid duplicates in kill-ring.
10567 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
10569 * net/tramp.el (tramp-handle-process-file): Do not flush all
10570 caches when `process-file-side-effects' is set.
10571 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
10572 instead of `tramp-find-file-exists-command'.
10573 Unset `process-file-side-effects'.
10575 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
10577 * net/tramp.el (tramp-methods): New method "rsyncc".
10578 (top): Add completion function for "rsyncc".
10579 (tramp-message-show-message): New defvar.
10580 (tramp-message, tramp-error): Use it.
10581 (tramp-do-copy-or-rename-file-directly): Extend check for direct
10583 (tramp-do-copy-or-rename-file-out-of-band): Handle new
10584 `tramp-methods' entry `copy-env' of "rsyncc".
10585 (tramp-vc-registered-read-file-names): New defconst.
10586 (tramp-vc-registered-file-names): New defvar.
10587 (tramp-handle-vc-registered): Implement optimization strategy.
10588 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
10589 (tramp-vc-file-name-handler): New defun.
10590 (tramp-get-ls-command, tramp-get-test-command)
10591 (tramp-get-file-exists-command, tramp-get-remote-ln)
10592 (tramp-get-remote-perl, tramp-get-remote-stat)
10593 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
10595 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
10596 (tramp-cache-inhibit-cache): Extend doc string. It allows also
10598 (tramp-get-file-property): Check for timestamps in
10599 `tramp-cache-inhibit-cache'.
10600 (tramp-set-file-property): Write timestamp.
10602 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
10604 * language/japan-util.el (japanese-symbol-table): Add entries for
10607 * international/characters.el: Add category `j' to cp932-2-byte.
10609 2009-08-27 Kenichi Handa <handa@m17n.org>
10611 * international/fontset.el (build-default-fontset-data): New macro.
10612 (setup-default-fontset): Use build-default-fontset-data for CJK,
10613 tibetan, ethiopic, and ipa.
10615 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
10617 * cus-start.el (default-major-mode): Customize `major-mode' instead.
10618 (enable-multibyte-characters): Not customizable any more.
10620 * subr.el (default-mode-line-format, default-header-line-format)
10621 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
10622 (default-direction-reversed, default-truncate-lines)
10623 (default-left-margin, default-tab-width, default-case-fold-search)
10624 (default-left-margin-width, default-right-margin-width)
10625 (default-left-fringe-width, default-right-fringe-width)
10626 (default-fringes-outside-margins, default-scroll-bar-width)
10627 (default-vertical-scroll-bar, default-indicate-empty-lines)
10628 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
10629 (default-fringe-cursor-alist, default-scroll-up-aggressively)
10630 (default-scroll-down-aggressively, default-fill-column)
10631 (default-cursor-type, default-buffer-file-type)
10632 (default-cursor-in-non-selected-windows)
10633 (default-buffer-file-coding-system, default-major-mode)
10634 (default-enable-multibyte-characters): Mark as obsolete.
10636 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
10638 * vc-dir.el (vc-dir-update): Remove debug helper.
10640 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
10642 2009-08-26 Sam Steingold <sds@gnu.org>
10644 * simple.el (save-interprogram-paste-before-kill): New user option.
10645 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
10646 save the interprogram-paste into kill-ring before overriding it
10647 with the Emacs kill.
10649 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
10651 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
10652 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
10653 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
10654 and move to vc-rcs.el.
10655 (vc-default-next-revision): Rename to vc-rcs-next-revision and
10657 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
10658 (vc-rcs-update-changelog): Remove.
10659 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
10660 and move to vc-rcs.el.
10662 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
10663 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
10665 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
10666 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
10667 vc.el, renamed to be RCS specific.
10669 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
10671 (vc-cvs-update-changelog): Move here from vc.el.
10673 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
10676 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
10678 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
10680 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
10682 * vc-git.el (vc-git-register): Use "git add" for directories.
10683 (vc-git-stash, vc-git-stash-show): New functions.
10684 (vc-git-extra-menu-map): Bind them.
10686 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
10687 directory correctly in case the item is a directory itself.
10689 * vc.el: Document the desired behavior for reverted files in the
10691 (vc-default-prettify-state-info): Remove function, unused.
10693 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
10695 2009-08-26 Glenn Morris <rgm@gnu.org>
10697 * bindings.el (standard-mode-line-format): Reposition dashes in
10698 which-func entry. (Bug#4217)
10700 * files.el (enable-local-variables, enable-local-eval)
10701 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
10703 (auto-mode-alist, ignored-local-variables)
10704 (save-some-buffers-action-alist): Move risky declarations to the
10706 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
10707 (font-lock-defaults, format-alist, imenu--index-alist)
10708 (imenu-generic-expression, input-method-alist, minor-mode-alist)
10709 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
10710 (mode-line-modified, mode-line-mule-info, mode-line-position)
10711 (mode-line-process, mode-line-remote, outline-level)
10712 (parse-time-rules, rmail-output-file-alist)
10713 (special-display-buffer-names, vc-mode):
10714 Move risky declarations to the relevant files.
10715 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
10716 (mode-line-modified, mode-line-process, mode-line-position)
10717 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
10718 * font-core.el (font-lock-defaults):
10719 * format.el (format-alist):
10720 * vc-hooks.el (vc-mode):
10721 * window.el (special-display-buffer-names):
10722 * international/mule-cmds.el (input-method-alist):
10723 Define riskiness here (dumped file) rather than in files.el.
10724 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
10725 * imenu.el (imenu-generic-expression, imenu--index-alist):
10726 * outline.el (outline-level):
10727 * time.el (display-time-string):
10728 * calendar/parse-time.el (parse-time-rules):
10729 * mail/rmailout.el (rmail-output-file-alist):
10730 Autoload riskiness here, rather than placing in files.el.
10732 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
10734 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
10736 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
10738 * simple.el (process-file-side-effects): New defvar.
10740 * dired-aux.el (dired-show-file-type):
10741 * vc.el (vc-diff-internal):
10742 * vc-arch.el (vc-arch-diff):
10743 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
10744 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
10745 * vc-git.el (vc-git-registered, vc-git-working-revision)
10746 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
10747 (vc-git--empty-db-p):
10748 * vc-hooks.el (vc-user-login-name):
10749 * vc-svn.el (vc-svn-registered, vc-svn-state)
10750 (vc-svn-dir-extra-headers, vc-svn-find-revision):
10751 * progmodes/grep.el (grep-probe): Let-bind
10752 `process-file-side-effects' with nil.
10754 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
10756 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
10757 daemon. Replace ping by checking for running service for bluez
10758 and zeroconf. (Bug#4239)
10760 2009-08-25 Kevin Ryde <user42@zip.com.au>
10762 * net/dig.el (dig): Add autoload cookie.
10764 2009-08-25 Glenn Morris <rgm@gnu.org>
10766 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
10767 load-history for absolute file-names.
10768 (byte-compile-file-form-require): Warn about use of the cl package.
10770 * format.el (format-alist): Doc fix.
10772 * play/bubbles.el (top-level): Don't require cl at run-time.
10774 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
10777 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
10779 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
10781 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
10783 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
10785 * calc/calc-alg.el (math-trig-rewrite)
10786 (math-hyperbolic-trig-rewrite): New functions.
10787 (calc-simplify): Simplify trig functions when asked.
10789 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
10791 * diff-mode.el (diff-find-source-location): Avoid goto-line.
10793 2009-08-24 Kenichi Handa <handa@m17n.org>
10795 * language/ind-util.el (mapthread): Delete it.
10796 (combinatorial): New function.
10797 (indian--puthash-cv): Use combinatorial instead of mapthread.
10799 2009-08-22 Kevin Ryde <user42@zip.com.au>
10801 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
10802 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
10803 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
10804 Clarify docstring that the value is strings not symbols.
10805 (checkdoc-list-of-strings-p): New function.
10807 2009-08-22 Glenn Morris <rgm@gnu.org>
10809 * files.el (auto-mode-alist):
10810 * hippie-exp.el (he-concat-directory-file-name):
10811 * lpr.el (lpr-windows-system, printer-name):
10812 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
10813 * ps-print.el (ps-windows-system):
10814 * startup.el (command-line):
10815 * emulation/viper-ex.el (viper-glob-function):
10816 * international/mule-cmds.el (set-language-environment-coding-systems):
10817 * net/ange-ftp.el (ange-ftp-write-region):
10818 * obsolete/fast-lock.el (fast-lock-cache-name):
10819 Remove code for defunct system-types emx, macos, mswindows, next-mach,
10820 unisoft-unix, vax-vms, win32, w32.
10822 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
10823 given name if the pattern is not more specific.
10825 * calendar/lunar.el (lunar-phase-names): New option.
10826 (lunar-phase): Doc fix.
10827 (lunar-cycles-per-year): New constant.
10828 (lunar-index): New function.
10829 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
10830 (lunar-phase-name): Use lunar-phase-names.
10831 (calendar-lunar-phases): Use format.
10832 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
10834 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
10835 Copy imenu-example--name-and-position function here for own use.
10836 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
10838 * bs.el (bs--redisplay):
10839 * cus-edit.el (custom-redraw):
10840 * ibuffer.el (ibuffer-bury-buffer):
10841 * server.el (server-goto-line-column):
10842 * startup.el (command-line-1):
10843 * strokes.el (strokes-xpm-for-stroke):
10844 * term.el (term-display-buffer-line):
10845 * view.el (View-goto-line):
10846 * calc/calc.el (calc-do, calc-trail-buffer):
10847 * play/gamegrid.el (gamegrid-add-score-insecure):
10848 * progmodes/ada-mode.el (ada-compile-goto-error):
10849 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
10850 (ebrowse-select-1st-to-9nth):
10851 * progmodes/cperl-mode.el (cperl-time-fontification):
10852 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
10853 * progmodes/gud.el (gud-display-line):
10854 (idlwave-shell-display-line):
10855 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
10856 * progmodes/make-mode.el (makefile-browser-toggle):
10857 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
10858 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
10859 * textmodes/picture.el (picture-draw-rectangle):
10860 * textmodes/reftex-index.el (reftex-index-goto-letter):
10861 (reftex-select-jump-to-previous):
10862 * textmodes/reftex-sel.el (reftex-find-start-point)
10863 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
10864 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
10865 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
10866 * textmodes/tex-mode.el (tex-compilation-parse-errors):
10867 * textmodes/two-column.el (2C-associated-buffer):
10868 Use forward-line rather than goto-line.
10870 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
10873 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
10874 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
10875 (quick-check-list-to-regexp): Declare.
10877 * progmodes/make-mode.el (makefile-browser-insert-selection):
10878 Use goto-char rather than goto-line.
10880 * progmodes/prolog.el (compilation-error-regexp-alist)
10881 (compilation-forget-errors): Declare.
10883 2009-08-22 Juri Linkov <juri@jurta.org>
10885 * progmodes/grep.el (lgrep, rgrep): At the beginning
10886 set `dir' to `default-directory' unless `dir' is a non-nil
10887 readable directory. (Bug#4052)
10888 (lgrep, rgrep): Change a weird way to report an error
10889 from using `read-string' to using `error'.
10890 Instead of using interactive arguments in the function body,
10891 add new argument `confirm'.
10893 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
10895 * textmodes/remember.el (remember-buffer):
10896 * progmodes/cperl-mode.el (cperl-vc-header-alist):
10897 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
10898 (icalendar-extract-ical-from-buffer):
10899 * net/newst-treeview.el (newsticker-groups-filename):
10900 * net/newst-backend.el (newsticker-cache-filename):
10901 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
10902 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
10903 (speedbar-add-ignored-path-regexp, speedbar-line-path)
10904 (speedbar-buffers-line-path, speedbar-path-line)
10905 (speedbar-buffers-line-path):
10906 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
10908 * epa.el (epa-display-verify-result):
10909 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
10911 2009-08-21 Glenn Morris <rgm@gnu.org>
10913 * progmodes/js.el (inferior-moz-process): Fix declaration.
10915 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
10917 * obsolete/rnewspost.el (news-mail-reply):
10918 Use goto-char rather than goto-line.
10920 * term/ns-win.el (ns-open-file-select-line):
10921 Use line-beginning-position rather than goto-line.
10923 * apropos.el (apropos-command):
10924 * ehelp.el (electric-helpify):
10925 * printing.el (pr-show-setup):
10926 * strokes.el (strokes-help):
10927 * tutorial.el (tutorial--describe-nonstandard-key)
10928 (tutorial--detailed-help):
10929 * woman.el (woman-mini-help, woman-display-extended-fonts):
10930 * calc/calc-help.el (calc-describe-key):
10931 * emulation/edt.el (edt-electric-helpify):
10932 * international/mule-diag.el (mule-diag):
10933 * play/yow.el (apropos-zippy):
10934 * progmodes/python.el (python-describe-symbol):
10935 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
10936 * textmodes/table.el (*table--cell-describe-mode)
10937 (*table--cell-describe-bindings):
10938 Use help-print-return-message rather than the now obsolete alias.
10940 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
10941 (calendar-cursor-to-visible-date):
10942 * play/5x5.el (5x5-position-cursor):
10943 * play/decipher.el (decipher):
10944 * play/gomoku.el (gomoku-goto-xy):
10945 * play/landmark.el (lm-goto-xy):
10946 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
10947 (mpuz-paint-digit):
10948 Use forward-line, not goto-line.
10950 * mail/rmail.el (rmail-obsolete): Delete custom group.
10951 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
10952 (rmail-remote-password, rmail-remote-password-required):
10953 Remove unneeded :set-after and :set properties.
10955 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
10957 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
10959 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
10961 * loadup.el: Remove leftover macos code.
10963 * vc-git.el (vc-git-annotate-command): Run asynchronously.
10964 Explicitly pass the date format to git blame so that user local
10965 so that the output format can be parsed.
10967 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
10969 * net/dbus.el (top): Don't check for (getenv
10970 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
10972 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
10974 * log-edit.el (log-edit-strip-single-file-name): New var.
10975 (log-edit-insert-changelog): Use it. Bug#3571
10977 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
10979 * subr.el (read-passwd): Use read-key so keypad keys work as well.
10982 * help.el (help-print-return-message): Rename from
10983 print-help-return-message.
10985 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
10986 cvs-mode-map parent hack.
10987 (log-view-mode): Derive from special-mode.
10989 * linum.el (linum-mode): window-size-change-functions is redundant.
10990 Adapt to new window-configuration-change-hook behavior.
10991 (linum-after-size, linum-after-config): Remove.
10993 * imenu.el (imenu-example--name-and-position)
10994 (imenu-example--lisp-extract-index-name)
10995 (imenu-example--create-lisp-index, imenu-example--create-c-index):
10998 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
10999 (inferior-prolog-mode): Use it.
11000 (inferior-prolog-load-file): Reset list of errors.
11002 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
11004 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
11006 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
11008 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
11010 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
11011 is running already.
11013 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
11015 * subr.el (listify-key-sequence-1): Use normal syntax since those
11016 integers are nowadays always represented by the same (positive) number
11018 (read-key-empty-map): New const.
11019 (read-key-delay): New var.
11020 (read-key): New function.
11021 (force-mode-line-update): Use with-current-buffer.
11022 (locate-user-emacs-file): Don't forget to abbreviate the file name.
11023 (start-process-shell-command, start-file-process-shell-command):
11024 Discourage the use of command-args.
11026 2009-08-19 Glenn Morris <rgm@gnu.org>
11028 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
11030 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
11032 * simple.el (choose-completion-string): Don't rely on
11033 minibuffer-completing-file-name and ad-hoc checks to decide whether
11034 to continue completion or not.
11036 * minibuffer.el (minibuffer-hide-completions): New function.
11037 (completion--do-completion): Use it.
11038 (completions-annotations): New face.
11039 (completion--insert-strings): Use it.
11040 (completion-pcm--delim-wild-regex): Add docstring.
11041 (completion-pcm--string->pattern): Add support for 0-width delimiters
11042 in completion-pcm--delim-wild-regex.
11044 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
11046 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
11047 Remove unused var `buffer-modified-p'.
11049 * minibuffer.el (completion--do-completion): Move point for the #b001
11050 case as well (bug#4176).
11051 (minibuffer-complete, minibuffer-complete-word): Don't move point.
11053 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
11055 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
11056 and :session buses.
11058 2009-08-18 Kenichi Handa <handa@m17n.org>
11060 * international/ucs-normalize.el (ucs-normalize-version):
11062 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
11063 (utf-8-hfs): Make it perform normalization on encoding too.
11065 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
11066 (sentence-end-without-space): Delete duplicated chars.
11067 (sentence-end-base): Likewise.
11069 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
11070 (html-mode): Delete duplicated chars from sentence-end-base.
11072 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
11073 (texinfo-mode): Delete duplicated chars from sentence-end-base.
11075 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
11077 * files.el (hack-one-local-variable): If the mode function is for
11078 a minor mode, pass it an argument (Bug#4148).
11080 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
11082 * net/tramp.el (tramp-register-completion-file-name-handler):
11083 Check also for (member 'partial-completion completion-styles).
11085 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
11087 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
11090 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
11092 * progmodes/cperl-mode.el: Merge upstream 6.2.
11093 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
11094 (cperl-forward-re): Check cperl-brace-recursing.
11095 (cperl-highlight-charclass): New function.
11096 (cperl-find-pods-heres): Use it.
11097 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
11098 (cperl-beautify-regexp-piece): Fix column calculation.
11099 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
11100 (cperl-beautify-level): Don't process entire regexp.
11101 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
11103 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
11104 (cperl-init-faces): Build a list in the normal way.
11106 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
11108 * calendar/parse-time.el (parse-time-string-chars): Save match
11111 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
11113 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
11114 (sql-product): Use it.
11115 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
11116 (sql-set-product): Add completion.
11117 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
11118 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
11119 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
11120 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
11121 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
11122 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
11123 (sql-highlight-db2-keywords): Remove.
11124 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
11125 (sql-highlight-product): Use derived-mode-p.
11126 (sql-set-sqli-buffer): Use with-current-buffer.
11127 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
11130 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
11132 * term.el: Fix commenting convention, turn comments into docstrings.
11134 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
11136 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
11138 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
11140 * calendar/parse-time.el (parse-time-string-chars): Compute using
11141 character classes, to handle non-ascii characters (Bug#3190).
11143 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
11145 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
11146 another heredoc if the user adds another < (Bug#3226).
11148 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
11149 Don't initialize based on window-system (Bug#4124).
11151 * facemenu.el (facemenu-read-color): Use a completion function
11152 that accepts any defined color, such as RGB triplets (Bug#3677).
11154 * files.el (get-free-disk-space): Change fallback default
11155 directory to /. Expand DIR argument before switching to fallback.
11156 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
11158 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
11160 * files.el (load-library): Doc fix.
11162 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
11164 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
11165 (viper-if-string): Redefine C-s in the minibuffer to insert the last
11166 incremental search string.
11168 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
11171 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
11172 (ediff-merge-region-is-non-clash)
11173 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
11174 Also check if the job is really a merge job.
11176 * ediff.el (ediff-current-file): New function.
11178 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
11180 * progmodes/js.el: Edit docstrings throughout to follow Emacs
11182 (js-insert-and-indent): Delete function.
11183 (js-mode-map): Don't bind keys to js-insert-and-indent.
11184 (js-beginning-of-defun): Rename from js--beginning-of-defun.
11185 (js-end-of-defun): Rename from js--end-of-defun.
11186 (js-auto-indent-flag): Delete variable.
11188 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
11190 * progmodes/js.el: Remove proclaim statement.
11191 Defvar which-func-imenu-joiner-function to silence compiler.
11193 * files.el (auto-mode-alist): Use js-mode for .js files.
11195 * progmodes/js2-mode.el: Remove file.
11197 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
11199 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
11201 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
11203 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
11204 Karl Landstrom <karl.landstrom@brgeight.se>
11206 * progmodes/js.el: New file.
11208 2009-08-14 Mark A. Hershberger <mah@everybody.org>
11210 * timezone.el (timezone-parse-date): Add ability to understand ISO
11211 basic format (minimal separators) dates in addition to the
11212 already-supported extended format dates.
11214 2009-08-14 Eli Zaretskii <eliz@gnu.org>
11216 * international/ucs-normalize.el: Add a `coding' file variable.
11218 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
11220 2009-08-14 Sam Steingold <sds@gnu.org>
11222 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
11224 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
11226 * faces.el (help-argument-name): Define it here instead of
11227 help-fns.el, because in daemon mode help-fns.el may be loaded when
11228 faces are still uninitialized (Bug#1078).
11230 * help-fns.el (help-argument-name): Move defface to faces.el.
11232 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
11234 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
11235 create buffer with a pty but no process so that GDB can make the
11236 inferior the controlling process.
11238 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
11240 * international/ucs-normalize.el: New file.
11242 2009-08-13 Richard Stallman <rms@gnu.org>
11244 * mail/rmail.el (rmail-get-attr-names):
11245 Accept an attribute header that is too short.
11247 * mail/rmail.el (rmail-forget-messages):
11248 Ignore nil elt in rmail-message-vector. Use dotimes.
11250 * progmodes/compile.el (compilation-goto-locus):
11251 Use next-error-move-function.
11253 * simple.el (next-error-move-function): New variable.
11255 2009-08-12 Juri Linkov <juri@jurta.org>
11257 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
11258 always non-nil. (Bug#4052)
11260 * replace.el (read-regexp): Return empty string when
11261 `default-value' is nil.
11262 (keep-lines-read-args): Don't use empty string as the
11263 default value for `read-regexp'. (Bug#2495)
11265 2009-08-12 Juri Linkov <juri@jurta.org>
11267 * international/mule-cmds.el (ucs-insert): Change arguments
11268 from `arg' to `character', `count', `inherit' to be the same
11269 as in `insert-char'. Doc fix. (Bug#4039)
11271 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
11273 2009-08-12 Juri Linkov <juri@jurta.org>
11275 * files-x.el: New file.
11277 * files.el: Move code that deals with adding/deleting
11278 file/directory-local variables to files-x.el.
11280 * Makefile.in (ELCFILES): Add files-x.elc.
11282 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
11284 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
11285 to use `goto-line'.
11286 (gdb-place-breakpoints, gdb-get-location): Rewritten without
11288 (gdb-invalidate-disassembly): Do not refresh upon receiving
11289 'update signal. Instead, update all disassembly buffers only after
11291 (gdb): Send -target-detach when buffer is killed (Bug#3794).
11292 (gdb-starting): Moved -data-list-register-names...
11293 (gdb-stopped): ...here so it's sent when first thread stops.
11294 (gdb-registers-handler-custom): Do nothing if register names are
11297 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
11298 from `gdb-mi.el' to avoid extra tangling.
11300 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
11301 change which breaks `gud-def' definitions used in `gdb'.
11302 (gdb-update-gud-running): No extra fuss for updating frame number.
11304 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
11306 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
11307 (describe-language-environment-map, setup-language-environment-map)
11308 (set-coding-system-map): Move initialization into declaration.
11309 (set-language-info-alist): Last arg to define-key-after can be skipped.
11311 * international/quail.el (quail-completion-1): Simplify.
11312 (quail-define-rules): Use slightly more compact code.
11313 (quail-insert-decode-map): Propertize keys, compact columns.
11315 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11318 2009-08-10 Miles Bader <miles@gnu.org>
11320 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
11321 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
11322 (js2-instance-member, js2-private-member, js2-private-function-call)
11323 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
11324 (js2-magic-paren, js2-external-variable):
11325 Remove "-face" suffix from face names.
11326 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
11327 (js2-highlight-undeclared-vars, js2-peek-token)
11328 (js2-parse-function-params, js2-mode-show-errors)
11329 (js2-mode-show-warnings, js2-make-magic-delimiter)
11330 (js2-mode-highlight-magic-parens): Update to use new face names.
11332 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
11334 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
11335 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
11337 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
11339 * subr.el: Provide hashtable-print-readable.
11341 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
11342 hs-c-like-adjust-block-beginning.
11343 (hs-hide-block-at-point): Stop hiding at the beginning of
11344 hs-block-end-regexp (Bug#700).
11346 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
11348 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
11350 (gdb-registers-handler-custom): Do not fail when register names
11353 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
11355 * progmodes/gdb-mi.el (gdb-control-all-threads)
11356 (gdb-control-current-thread): Interactive setters for
11357 `gdb-gud-control-all-threads' to use in menu.
11358 (gdb-show-run-p): Show «Go» when process is not active.
11359 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
11360 gud/thread.xpm and gud/all.xpm.
11362 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
11364 * net/net-utils.el (net-utils-font-lock-keywords): New var.
11365 (nslookup-font-lock-keywords): Make it a variable.
11366 (net-utils-mode): New mode for viewing diagnostic network output.
11367 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
11368 (net-utils-run-simple): New function.
11369 (ifconfig, iwconfig, netstat, arp, route): Use it.
11371 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
11373 * progmodes/gdb-mi.el (gdb-read-memory-custom)
11374 (gdb-memory-set-address, def-gdb-set-positive-number)
11375 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
11376 after changing settings.
11377 (gdb-invalidate-disassembly): Update when first shown.
11378 (gdb-edit-locals-value): Fixed.
11379 (gdb-registers-handler-custom): Print registers in right order and
11380 allow changing register values (only for current thread yet).
11381 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
11382 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
11383 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
11384 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
11386 (gdb-registers-mode-map): TAB to switch to locals.
11388 2009-08-08 Eli Zaretskii <eliz@gnu.org>
11390 * mail/rmail.el (rmail-add-mbox-headers)
11391 (rmail-set-message-counters-counter): Search for
11392 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
11394 2009-08-08 Glenn Morris <rgm@gnu.org>
11396 * Makefile.in (ELCFILES): Update.
11398 2009-08-07 Eli Zaretskii <eliz@gnu.org>
11400 * mail/sendmail.el (mail-yank-original): Set
11401 buffer-file-coding-system from the one used by the message whose
11404 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
11405 to "windows" when "pgnuplot" is used.
11406 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
11407 call accept-process-output if "pgnuplot" is used.
11408 (calc-graph-init): Don't send -display and -geometry to
11409 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
11410 running "pgnuplot -V" with shell-command-to-string.
11412 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
11415 2009-08-07 Eli Zaretskii <eliz@gnu.org>
11417 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
11420 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
11422 * vc-dispatcher.el (vc-resynch-window): Update comment.
11424 * term.el (term-handle-ansi-escape): Add comments with the
11425 terminfo capabilities implemented.
11427 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
11429 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
11430 (gdb-var-create-handler): Rewritten using JSON parser.
11431 (gdb-propertize-header): Moved earlier.
11432 (gdb-set-header): Removed to avoid duplication.
11433 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
11434 Refresh disassembly buffers only after threads list have been
11436 (gdb-threads-header, gdb-registers-header): Per-buffer header line
11439 2009-08-04 Juri Linkov <juri@jurta.org>
11441 * files.el: Commands to add/delete file/directory-local variables.
11442 (read-file-local-variable, read-file-local-variable-value)
11443 (read-file-local-variable-mode, modify-file-local-variable)
11444 (modify-file-local-variable-prop-line)
11445 (modify-dir-local-variable): New functions.
11446 (add-file-local-variable, delete-file-local-variable)
11447 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
11448 (add-dir-local-variable, delete-dir-local-variable)
11449 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
11450 (copy-dir-locals-to-file-locals-prop-line): New commands.
11452 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
11454 * abbrev.el (insert-abbrev-table-description): Prettify output.
11455 Suggested by Karl Chen.
11457 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
11459 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
11460 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
11461 (gdb-overlay-arrow-position, gdb-thread-position)
11462 (gdb-disassembly-position): Declare variables.
11463 (gdb-wait-for-pending): Function now.
11464 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
11465 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
11466 compilation goes smoothly.
11467 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
11468 (gdb-non-stop-setting): New customization setting which replaces
11469 `gdb-non-stop' so changing it doesn't break active GDB session.
11470 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
11471 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
11472 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
11473 (gdb-show-threads-by-default): New customization options.
11474 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
11476 (gdb-get-buffer-create): Send buffers update signal when they are
11478 (gdb-invalidate-locals, gdb-invalidate-registers)
11479 (gdb-invalidate-breakpoints)
11480 (gdb-invalidate-threads, gdb-invalidate-disassembly)
11481 (gdb-invalidate-memory): Accept update signal.
11482 (gdb-current-context-command): Use --frame option.
11483 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
11484 Implement `gdb-frame-number' selection logic.
11485 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
11486 whether to show GUD toolbar buttons.
11487 (gdb-thread-exited): Unselect current thread when it exits.
11488 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
11489 (gdb-mark-line): Routine which sets overlay arrow or inverses
11490 video on fringeless displays.
11491 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
11492 to build aligned columns of data in GDB buffers and set text
11493 properties line-by-line.
11494 (gdb-invalidate-breakpoints)
11495 (gdb-breakpoints-list-handler-custom)
11496 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
11497 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
11498 (gdb-registers-handler-custom): Align data columns.
11499 (gdb-locals-handler-custom): Now prints data like in variable
11501 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
11502 Removed confusing buttons.
11503 (gdb-invalidate-threads): Append --frame.
11504 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
11505 between breakpoints/threads buffers.
11506 (gdb-set-window-buffer): Now can ignore dedicated windows.
11507 (gdb-propertize-header): Use `gdb-set-window-buffer'.
11508 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
11509 (def-gdb-thread-buffer-gud-command): Replaces
11510 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
11511 for fine thread control.
11512 (gdb-preempt-existing-or-display-buffer): New function used to
11513 display bound buffers without breaking window layout.
11514 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
11515 (gdb-select-frame): New version of `gdb-frames-select' which now
11516 sets `gdb-frame-number' so commands may use --frame option instead
11517 of inner debugger state.
11518 (gdb-frame-handler): Do not set `gdb-frame-number'.
11519 (gdb-threads-mode-map): Select threads with mouse.
11521 * progmodes/gud.el (gdb-gud-context-call): Declare function to
11522 avoid compilation warning.
11523 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
11526 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
11527 Argument `key' renamed to `buffer-type'.
11528 (gdb-current-context-buffer-name): Do not add thread info to
11529 buffer name when no thread is selected.
11530 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
11531 command (bug 3794).
11532 (gdb-thread-selected): Handle `=thread-selected' notification.
11533 (gdb-wait-for-pending): New macro to deal with congestion problems.
11534 (gdb-breakpoints-list-handler-custom): Don't fail on pending
11536 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
11537 This fixes problem similar to one described in bug 3947.
11538 (gud-menu-map): More menu items.
11539 (gdb-init-1): Reset `gdb-thread-number' to nil.
11541 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
11544 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
11545 (gdb-current-context-command): Do not append --thread if
11546 `gdb-thread-number' is nil.
11547 (gdb-running-threads-count, gdb-stopped-threads-count): New
11549 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
11550 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
11551 customization options.
11552 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
11554 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
11555 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
11556 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
11557 set `gdb-thread-number' and update `gud-running' properly.
11558 (gdb-running): Update threads list when new threads appear.
11559 (gdb-stopped): Support non-stop operation and new thread switching
11561 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
11562 (gdb-json-partial-output): New set of JSON routines.
11563 (def-gdb-auto-update-trigger): New `signal-list' optional
11565 (gdb-thread-list-handler-custom): Update `gud-running',
11566 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
11567 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
11568 (gdb-continue-thread, gdb-step-thread): New commands for fine
11569 thread execution control.
11570 (gud-menu-map): New menu items to switch non-stop options.
11571 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
11572 (gdb-send): Mimic RET properly (bug 3794).
11574 * progmodes/gdb-mi.el (gdb-rules-name-maker)
11575 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
11577 (def-gdb-auto-update-handler): New nopreserve optional argument.
11578 (gdb-stack-list-frames-custom): Print stack from top to bottom.
11580 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
11581 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
11582 (gdb-parent-mode): New mode to derive other GDB modes from.
11583 (gdb-display-disassembly-for-thread)
11584 (gdb-frame-disassembly-for-thread): New commands for threads
11587 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
11588 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
11589 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
11590 (gdb-update): We now store all GDB buffers in a list so that they
11591 can be updated by traversing a list instead of calling invalidate
11592 triggers explicitly.
11593 (def-gdb-trigger-and-handler): New macro to define trigger-handler
11594 pair for GDB buffer.
11595 (gdb-stack-buffer-name): Add thread information.
11596 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
11597 handle pending triggers.
11598 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
11599 (def-gdb-thread-buffer-simple-command)
11600 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
11601 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
11602 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
11603 New commands which show buffers bound to thread.
11604 (gdb-stack-list-locals-regexp): Removed unused regexp.
11606 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
11607 (gdb-locals-buffer-name, gdb-registers-buffer-name)
11608 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
11609 to (gud-comint-buffer) in *-buffer-name functions
11610 because (gdb-get-target-string) already does that.
11611 (gdb-locals-handler-custom, gdb-registers-handler-custom)
11612 (gdb-changed-registers-handler): Rewritten without regexps.
11614 * progmodes/gdb-mi.el: Basic thread selection support.
11615 (gdb-thread-number): New variable.
11616 (gdb-current-context-command): New macro which adds --thread
11618 (gdb-threads-mode-map): Select thread with SPC.
11619 (gdb-thread-list-handler-custom): Mark current thread with overlay
11620 arrow. Synchronize GDB thread and Emacs thread.
11621 (gdb-select-thread): New command which selects current thread.
11622 (gdb-invalidate-frames, gdb-invalidate-locals)
11623 (gdb-invalidate-registers): Use --thread option.
11625 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
11627 * net/tramp.el (top): Make check for tramp-gvfs loading more
11629 (tramp-handle-insert-file-contents): `unwind-protect' must be
11630 inside `with-parsed-tramp-file-name'.
11632 * net/tramp-gvfs.el (top): Remove superfluous message when loading
11635 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
11637 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
11638 directory if CLASSPATH is not set.
11640 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
11642 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
11644 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
11646 2009-08-02 Kevin Ryde <user42@zip.com.au>
11648 * net/newst-backend.el (newsticker--raw-url-list-defaults):
11649 Update freshmeat link. Delete newsforge.com as it seems gone.
11651 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
11653 * select.el (x-set-selection): Doc fix (Bug#4021).
11655 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
11657 * help-fns.el (describe-variable): Treat list return values from
11658 dir-locals-find-file properly (Bug#4005).
11660 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
11662 * net/tramp.el (tramp-debug-message): Print also microseconds.
11664 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
11666 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
11668 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
11669 (tramp-get-debug-buffer): Change `outline-regexp' according to new
11672 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
11673 (tramp-get-file-property): Use it.
11675 * autorevert.el (auto-revert-handler): Allow
11676 `auto-revert-tail-mode' for remote files.
11678 2009-08-02 Jason Rumney <jasonr@gnu.org>
11680 * minibuffer.el (read-file-name): Treat confirm options to
11681 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
11683 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
11685 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
11686 (font-lock-variable-name-face, font-lock-constant-face): Darken
11687 the colors for light backgrounds.
11689 2009-08-01 Eli Zaretskii <eliz@gnu.org>
11691 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
11692 month names. (Bug#3987)
11694 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
11696 * simple.el (line-move-finish): Pass whole number to
11697 line-move-to-column.
11698 (line-move-visual): Perform hscroll to the recorded position.
11700 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
11702 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
11704 2009-07-29 Alan Mackenzie <acm@muc.de>
11706 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
11708 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
11710 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
11711 (gdb-place-breakpoints): Use full path when setting breakpoints.
11713 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
11715 * calc/calc.el (calc-mode-map): Add keybinding for
11716 `calc-transpose-lines'.
11718 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
11720 * calc/calc-misc.el (calc-transpose-lines): New function.
11722 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
11724 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
11725 Simplify check for out-of-band methods.
11726 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
11727 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
11729 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
11731 * vc-git.el (vc-git-checkin): Fix typo.
11733 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
11735 * progmodes/js2-mode.el: New file.
11737 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
11739 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
11740 (gud-menu-map): Adjust tooltip accordingly.
11742 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
11744 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
11745 (vc-bzr-log-view-mode): Adjust log-view-file-re.
11747 * add-log.el (change-log-mode-map): Add a menu.
11749 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
11751 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
11752 function returns nil.
11753 (dbus-handle-event): Handle special return value :ignore.
11754 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
11756 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
11758 * view.el (view-mode-enable): Don't define Helper-return-blurb if
11761 2009-07-25 Eli Zaretskii <eliz@gnu.org>
11765 * w32-vars.el (x-select-enable-clipboard): Doc fix.
11767 * term/pc-win.el (x-display-name, x-colors)
11768 (x-select-enable-clipboard, x-select-text): Doc fix.
11770 * term/common-win.el (x-display-name, x-colors): Doc fix.
11772 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
11773 (xw-defined-colors): Doc fix.
11775 * w32-fns.el (x-select-text, x-setup-function-keys)
11776 (x-get-selection, x-set-selection): Doc fix.
11778 * term/x-win.el (x-select-text, x-setup-function-keys)
11779 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
11781 * select.el (x-set-selection): Doc fix.
11783 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
11785 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
11786 instead of "IsNSSSupportAvailable". Avahi ought to work also when
11787 "IsNSSSupportAvailable" method is not available. Reported by
11788 Steve Youngs <steve@sxemacs.org>.
11790 2009-07-24 Kenichi Handa <handa@m17n.org>
11792 * international/characters.el: Fix setting of category ?C, ?|, ?K,
11793 and ?H. Fix setting of case for Latin Extended and Greek Extended.
11794 (build-unicode-category-table): Fix range checks.
11796 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
11798 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
11799 the buffer we try to sync is current when calling
11802 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
11803 not show up to date files.
11805 2009-07-24 Glenn Morris <rgm@gnu.org>
11807 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
11808 Add autoload cookies. If necessary, initialize.
11809 (elint-log): Handle non-file buffers.
11810 (elint-initialize): Add optional argument to reinitialize.
11811 (elint-find-builtin-variables): Save excursion.
11813 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
11815 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
11818 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
11820 * vc.el (vc-print-log-internal): New function, split out from ...
11821 (vc-print-log): ... here.
11822 (vc-dir-move-to-goal-column): Declare.
11824 * vc-git.el (vc-git-add-signoff): New variable.
11825 (vc-git-checkin): Use it.
11826 (vc-git-toggle-signoff): New function.
11827 (vc-git-extra-menu-map): Bind it to menu.
11828 (vc-git--run-command-string): Accept a nil FILE argument.
11829 (vc-git-stash-list): New function.
11830 (vc-git-dir-extra-headers): Use it.
11832 2009-07-23 Glenn Morris <rgm@gnu.org>
11834 * help-fns.el (describe-variable): Describe ignored and risky local
11835 variables in a similar way to that in which we describe safe ones.
11837 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
11838 (byte-compile-output-file-form, byte-compile-output-docform)
11839 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
11840 Give some more local variables with common names a "bytecomp-" prefix,
11841 so as not to shadow things during compilation.
11842 * emacs-lisp/cl-macs.el (load-time-value)
11843 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
11844 `outbuffer' to `bytecomp-outbuffer'.
11846 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
11847 since the next two variables cover them automatically now.
11848 (elint-builtin-variables, elint-autoloaded-variables): New.
11849 (elint-unknown-builtin-args): Remove all members, since they can be
11850 parsed automatically now.
11851 (elint-extra-errors): New.
11852 (elint-env-add-env, elint-env-add-macro): Use cadr.
11853 (elint-current-buffer): Use or. Change final message.
11854 (elint-get-top-forms): Use line-end-position.
11855 (elint-init-env): Use cadr. Handle autoload, declare-function,
11857 (elint-add-required-env): Doc fix. Use or. Standardize error.
11858 (regexp-assoc): Remove unused function.
11859 (elint-top-form): Set elint-current-pos, to record the start of the
11860 top-level form, for compilation-mode.
11861 (elint-form): Trap errors in macro expansion. Use dolist.
11862 (elint-unbound-variable): Use elint-builtin-variables and
11863 elint-autoloaded-variables.
11864 (elint-get-args): Use cadr, or.
11865 (elint-check-cond-form): Use dolist, cadr.
11866 (elint-check-condition-case-form): Doc fix. Use cadr.
11867 Use elint-extra-errors.
11868 (elint-log): New function.
11869 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
11870 Distinguish errors and warnings.
11871 (elint-log-message): Use with-current-buffer. Inhibit read-only.
11872 Use a bytecomp-style format.
11873 (elint-clear-log): Preserve default-directory. Inhibit read-only.
11874 (elint-get-log-buffer): Use compilation mode. Disable undo.
11875 Don't truncate lines.
11876 (elint-initialize): Set builtin and autoloaded variable lists.
11877 Only process elint-unknown-builtin-args if non-nil.
11878 (elint-find-builtin-variables, elint-find-autoloaded-variables):
11880 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
11882 2009-07-22 Kevin Ryde <user42@zip.com.au>
11884 * net/newst-backend.el (newsticker--parse-atom-1.0)
11885 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
11886 (newsticker--parse-rss-1.0):
11887 * progmodes/idlwave.el (idlwave-mode):
11888 * progmodes/idlw-shell.el (idlwave-shell-mode):
11889 * progmodes/vera-mode.el (vera-mode):
11890 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
11891 * progmodes/vhdl-mode.el (vhdl-mode):
11892 * textmodes/table.el (table-generate-source)
11893 (table--warn-incompatibility):
11894 Hyperlink urls in docstrings with URL `...'.
11896 2009-07-22 Glenn Morris <rgm@gnu.org>
11898 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
11899 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
11900 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
11901 Remove leading * from defcustom docs.
11903 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
11905 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
11907 (list-load-path-shadows): Optionally, just return shadows as a string.
11909 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
11911 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
11913 * mail/rmailedit.el (rmail-edit-mode): Use
11914 auto-save-include-big-deletions.
11916 * mail/rmail.el (rmail-variables): Use
11917 auto-save-include-big-deletions.
11919 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
11922 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
11924 * calc/calc.el (calc-undo-length): New variable.
11925 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
11927 2009-07-21 Richard Stallman <rms@gnu.org>
11929 * files.el (auto-save-mode): Handle buffer-save-size = -2
11932 2009-07-21 Glenn Morris <rgm@gnu.org>
11934 * textmodes/ispell.el (ispell-looking-back): Update declaration.
11936 * calendar/todo-mode.el (calendar-current-date): Update declaration.
11938 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
11939 silence compiler. Instead...
11940 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
11941 (ps-print-ensure-fontified): Update for above function name changes.
11943 * printing.el (pr-mh-get-msg-num, pr-mh-show)
11944 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
11945 silence compiler. Instead...
11946 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
11947 (mh-show-buffer): Only define for compiler.
11948 (pr-mh-current-message): Update for above function name changes.
11950 * files.el (abort-if-file-too-large): Explicitly pass `filename'
11952 (find-file-noselect, insert-file-1): Update for above change.
11954 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
11956 * mail/mailclient.el (mailclient-send-it): Fix message.
11958 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
11959 (edebug-eval): Check cl-debug-env is bound.
11960 (print-level, print-circle): Don't redefine built-in variables.
11962 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
11963 (custom-print-vectors): Remove old comments from doc.
11965 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
11966 (emerge-version): Make the variable an obsolete alias for the
11967 emacs-version variable. Make the function obsolete.
11968 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
11969 Emerge options, rather than merging in into the main Options menu.
11970 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
11971 and auto advance modes. Disable edit/fast items when not relevant.
11973 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
11975 * term/vt420.el (terminal-init-vt420): Fix typo.
11977 2009-07-20 Sam Steingold <sds@gnu.org>
11979 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
11980 variable (removed from compile.el on 2004-03-11).
11982 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
11984 * files.el (hack-local-variables-filter): Fix last change.
11986 2009-07-19 Juri Linkov <juri@jurta.org>
11988 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
11989 (dir-local-variables-alist): New buffer-local variable.
11990 (hack-local-variables-filter): If variable is not dir-local,
11991 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
11992 because file-local overrides dir-local.
11993 (c-postprocess-file-styles) <declare-function>:
11994 Remove obsolete declaration.
11995 (hack-dir-local-variables): Add dir-local variable/value pair to
11996 `dir-local-variables-alist' and remove duplicates. Doc fix.
11998 * help-fns.el (describe-variable): Add information about
11999 file-local and dir-local variables.
12001 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
12003 * files.el (hack-local-variables-filter): Rewrite.
12005 2009-07-19 Glenn Morris <rgm@gnu.org>
12007 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
12008 Silence compiler by only defining on XEmacs.
12010 * international/mule.el (auto-coding-regexp-alist): Only match
12011 BABYL... at the start of buffer, not of lines. (Bug#3790)
12013 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
12014 non-calendar buffers (Bug#3862). Restore "not on a date" message.
12015 (cal-menu-context-mouse-menu): Doc fix.
12017 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
12019 * simple.el (mail-user-agent): Doc fix. Set :version tag.
12021 2009-07-18 Juri Linkov <juri@jurta.org>
12023 * info.el: Virtual Info keyword finder.
12024 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
12025 (Info-finder-file): New variable.
12026 (Info-finder-find-file): New function.
12027 (finder-known-keywords, finder-package-info)
12028 (find-library-name, lm-commentary): Use defvar and
12029 declare-function to silence compiler warnings.
12030 (Info-finder-find-node): New function.
12031 (info-finder): New command.
12033 * subr.el (process-kill-buffer-query-function): New function.
12034 (add-hook)<kill-buffer-query-functions>: Add hook
12035 `process-kill-buffer-query-function'.
12037 2009-07-18 Alan Mackenzie <acm@muc.de>
12039 * progmodes/cc-mode.el (c-before-hack-hook)
12040 (c-postprocess-file-styles): Give invocation of `c-set-style'
12041 DONT-OVERRIDE parameter of t. Already set style variables will
12042 thus not be overridden by style settings given by `c-file-syle'.
12044 * files.el (hack-local-variables-filter): Remove entries with
12045 duplicate keys from `file-local-variables-alist'.
12047 2009-07-18 Eli Zaretskii <eliz@gnu.org>
12049 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
12050 x-set-selection if display-selections-p returns nil for the
12053 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
12055 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
12057 2009-07-18 Eli Zaretskii <eliz@gnu.org>
12059 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
12060 Accept nil in addition to a regexp.
12061 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
12062 Accept nil in addition to a regexp.
12063 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
12064 buffers that have an associated file. Handle nil values of
12065 desktop-buffers-not-to-save and desktop-files-not-to-save.
12068 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12069 (x-disown-selection-internal): New functions.
12071 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
12073 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
12075 (gdb-breakpoints-header): Move forward to avoid compiler warning.
12076 (gdb-make-header-line-mouse-map): Remove duplicate definition.
12078 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
12080 * simple.el (set-mark): Revert last change.
12082 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
12084 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
12085 rendering of pngs is not possible instead of messaging a long
12088 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
12090 * w32-fns.el (x-selection-owner-p): New function.
12092 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
12093 (mouse-yank-at-click, mouse-yank-primary): If
12094 select-active-regions is non-nil, deactivate the mark before
12097 * simple.el (deactivate-mark, set-mark): Only save selection if we
12100 2009-07-17 Kenichi Handa <handa@m17n.org>
12102 * case-table.el (describe-buffer-case-table): Fix for the case
12103 that KEY is a cons.
12105 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
12107 * vc-rcs.el (vc-rcs-find-file-hook):
12108 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
12110 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
12112 * net/tramp.el (tramp-wait-for-output): Handle the case when
12113 commands do not return a newline but a null byte before the shell
12116 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12118 * term/ns-win.el (ns-set-alpha): Don't declare.
12119 (ns-set-background-alpha): Remove function.
12121 2009-07-16 Kevin Ryde <user42@zip.com.au>
12123 * emacs-lisp/copyright.el (copyright-update): Save match-data across
12124 y-or-n-p, for safety.
12126 2009-07-16 Richard Stallman <rms@gnu.org>
12128 * files.el (auto-save-mode): If buffer-saved-size is -2,
12131 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
12132 (rmail-retry-ignored-headers): Add more uninteresting fields.
12134 2009-07-15 Jari Aalto <jari.aalto@cante.net>
12136 * net/rcirc.el (rcirc): Use history variables.
12137 (rcirc-server-name-history, rcirc-nick-name-history)
12138 (rcirc-server-port-history): New variables.
12140 2009-07-15 Kenichi Handa <handa@m17n.org>
12142 * international/mule-cmds.el (set-language-environment-charset):
12143 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
12146 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
12147 Delete unibyte-display.
12149 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
12151 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
12153 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
12155 * simple.el (deactivate-mark): Optional argument FORCE.
12156 (set-mark): Use deactivate-mark.
12158 * info.el (Info-search): No need to check transient-mark-mode
12159 before calling deactivate-mark.
12161 * select.el (x-set-selection): Doc fix.
12162 (x-valid-simple-selection-p): Allow buffer values.
12163 (xselect--selection-bounds): Handle buffer values. Suggested by
12164 David De La Harpe Golden.
12166 * mouse.el (mouse-set-region, mouse-drag-track): Call
12167 copy-region-as-kill before setting the mark, to let
12168 select-active-regions work.
12170 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
12172 * simple.el (deactivate-mark): If select-active-regions is
12173 non-nil, copy the selection data into a string.
12174 (activate-mark): If select-active-regions is non-nil, set the
12175 selection to the current buffer.
12176 (set-mark): Update selection if select-active-regions is non-nil.
12178 * select.el (x-valid-simple-selection-p): Allow buffer values.
12180 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
12182 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
12183 and more featureful message-mode.
12185 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
12187 * select.el (x-set-selection): Doc fix.
12188 (x-valid-simple-selection-p): Disallow selection data consisting
12189 of a list or cons of integers, since that is not used.
12190 (xselect--selection-bounds, xselect--int-to-cons): New functions.
12191 (xselect-convert-to-string, xselect-convert-to-length)
12192 (xselect-convert-to-filename, xselect-convert-to-charpos)
12193 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
12195 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
12197 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
12198 output in -break-info command (Emacs bug #3794).
12200 2009-07-14 Glenn Morris <rgm@gnu.org>
12202 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
12203 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
12204 (edebug-print-length, edebug-print-level, edebug-print-circle)
12205 (edebug-sit-for-seconds, edebug-view-outside)
12206 (edebug-bounce-point, edebug-set-global-break-condition)
12207 (edebug-Go-nonstop-mode, edebug-trace-mode)
12208 (edebug-Trace-fast-mode, edebug-continue-mode)
12209 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
12210 (edebug-visit-eval-list): Doc fixes.
12212 * subr.el (def-edebug-spec): Doc fix.
12214 2009-07-14 Kenichi Handa <handa@m17n.org>
12216 * international/characters.el: Fix setting of category ?C.
12218 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
12220 * term/ns-win.el (x-select-font): defalias x-select-font to
12221 ns-popup-font-panel instead of generate-fontset-menu.
12223 2009-07-12 Eli Zaretskii <eliz@gnu.org>
12225 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
12227 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
12229 * arc-mode.el (archive-find-type): Allow for a PK00 string before
12230 the PK\003\004 header (Bug#3770).
12232 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
12234 * pcomplete.el (pcomplete-comint-setup): Check for
12235 shell-dynamic-complete-filename too.
12237 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
12239 * simple.el (temporary-goal-column): Change the value for
12240 line-move-visual to a cons cell.
12241 (line-move-visual): Record or set the window hscroll, if
12242 necessary (Bug#3494).
12243 (line-move-1): Handle cons value of temporary-goal-column.
12245 2009-07-11 Kenichi Handa <handa@m17n.org>
12247 * international/mule-diag.el (describe-character-set): Don't show
12250 2009-07-10 Sam Steingold <sds@gnu.org>
12252 * progmodes/compile.el (compilation-mode-font-lock-keywords):
12253 Omake sometimes indents the errors it prints, so allow all
12254 regexps to start with spaces.
12256 2009-07-10 Eli Zaretskii <eliz@gnu.org>
12258 * cus-edit.el (customize-changed-options-previous-release):
12259 Bump value to 22.1. (Bug#3804)
12261 2009-07-08 Sam Steingold <sds@gnu.org>
12263 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
12264 to be a cons cell (test . ignored-directory) to selectively ignore
12265 some directories depending on the location of the search.
12267 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
12269 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
12270 remote user is root, on the local host.
12271 (tramp-local-host-p): Either the local user or the remote user
12272 must be root. (Bug#3771)
12274 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
12276 * progmodes/gdb-mi.el (gdb): Remove description of
12277 gdb-use-separate-io-buffer.
12278 (menu): Don't allow toggling of or enable
12279 gdb-use-separate-io-buffer from menubar.
12281 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
12283 * mail/unrmail.el (unrmail): Make sure the message ends with two
12284 newlines (Bug#3769).
12286 2009-07-08 Glenn Morris <rgm@gnu.org>
12288 * calendar/calendar.el (calendar-current-date): Rework previous change.
12290 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
12292 * calendar/calendar.el (calendar-current-date):
12293 Add an optional argument giving an offset from today.
12295 2009-07-08 Glenn Morris <rgm@gnu.org>
12297 * tutorial.el (tutorial--describe-nonstandard-key):
12298 Adjust the message for when a key has been unbound.
12299 (help-with-tutorial): Hide the arch-tag.
12301 2009-07-08 Kenichi Handa <handa@m17n.org>
12303 * international/fontset.el (setup-default-fontset): For each
12304 script, append (not set) font-specs.
12306 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
12309 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
12311 * progmodes/gdb-mi.el (gdb-init-1): Move sending
12312 -data-list-register-names to ...
12313 (gdb-starting): ... here because GDB 7.0 requires execution to
12314 have started when using this MI command.
12315 (gdb-set-header): New function to distinguish select and
12316 unselected tabs in gdb buffers.
12317 (gdb-propertize-header): New macro that uses gdb-set-header.
12318 (gdb-breakpoints-header, gdb-locals-header): Use it.
12319 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
12321 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
12323 * Makefile.in (ELCFILES): Remove fadr.elc.
12325 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
12327 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
12328 may contain frame information, so `string-match' should be used.
12329 (gdb-update): Disassembly is invalidated through
12330 `gdb-get-selected-frame'.
12331 (gdb-pad-string): New function to pad string with spaces.
12332 (gdb-invalidate-disassembly): Invalidate only if the buffer
12334 (gdb-disassembly-handler-custom): Column alignment.
12335 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
12337 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
12339 (gdb-frame-handler): Match convention to for disassembly buffer
12341 (gdb-stack-list-frames-handler): Rewritten without regexps.
12342 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
12343 not highlight breakpoints without line information.
12344 (gdb-input): Add trailing newline to command.
12346 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
12348 (gdb-breakpoints-list-handler-custom): Replacement for
12349 `gdb-break-list-handler'. Using real parser instead of regexps
12351 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
12352 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
12353 to place breakpoints.
12354 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
12356 (gdb-disassembly-handler-custom): Show overlay arrow.
12357 (gdb-disassembly-place-breakpoints): Show breakpoints in
12358 disassembly buffer.
12359 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
12360 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
12361 instead of parsing breakpoints buffer. Fixed old menu references
12366 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
12367 (gdb-memory-address): New variable which holds top address of
12368 memory page shown in memory buffer.
12369 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
12370 customization variables.
12372 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
12373 display the memory buffer.
12374 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
12375 buffer display parameters.
12376 (def-gdb-memory-format, gdb-memory-format-binary)
12377 (gdb-memory-format-octal, gdb-memory-format-unsigned)
12378 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
12379 Functions for setting memory buffer format.
12380 (gdb-memory-unit-word, gdb-memory-unit-halfword)
12381 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
12382 unit size used in memory buffer.
12383 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
12384 to next/previous page of memory buffer.
12385 Now using (bindat-get-field) instead of fadr functions.
12387 2009-07-07 Sam Steingold <sds@gnu.org>
12389 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
12390 non-top-level files.
12392 2009-07-07 Kenichi Handa <handa@m17n.org>
12394 * international/mule-cmds.el (reset-language-environment): Put
12395 the highset priority to the charset iso-8859-1.
12397 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
12399 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
12400 to the end of the line when locating the block (Bug#700).
12402 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
12404 * net/tramp.el (tramp-handle-write-region): Flush file properties
12405 in case of short track.
12407 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
12409 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
12410 Coded custom representation of verilog error regular expressions
12411 to work with Emacs-22's new format.
12412 (verilog-error-regexp-xemacs-alist): Coded custom representation
12413 of verilog error regular expressions to work with XEmacs format.
12414 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
12415 error recognition into XEmacs.
12416 (verilog-error-regexp-add-emacs): Hook routine to install verilog
12417 error recognition into Emacs-22.
12419 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
12421 * woman.el: Remove stand-alone closing parentheses.
12422 (woman-file-name, woman2-format-paragraphs)
12423 (woman-leave-blank-lines): Code cleanup.
12424 (woman-use-own-frame): Change default to nil.
12425 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
12426 defaults to inherit from default faces.
12427 (woman2-process-escapes): Consume the newline after a stand-alone
12428 filler character (Bug#3651).
12430 2009-07-06 Glenn Morris <rgm@gnu.org>
12432 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
12433 (top-level): Move provide to the end.
12434 (ffap): Remove defunct URL from custom group.
12436 * subr.el (eval-after-load): Doc fix.
12438 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
12440 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
12441 `calc-embedded-word' is called twice.
12443 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12445 * files.el (find-alternate-file-other-window, find-alternate-file):
12446 Obey confirm-nonexistent-file-or-buffer.
12448 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
12450 * dired-aux.el (dired-show-file-type): Handle remote files.
12452 2009-07-05 Jari Aalto <jari.aalto@cante.net>
12454 * desktop.el (desktop-globals-to-save):
12455 Add file-name-history (Bug#2750).
12457 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
12459 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
12461 2009-07-04 Johan Bockgård <bojohan@gnu.org>
12463 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
12464 property on entire argument since this is what eshell-lisp-command
12467 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
12469 * net/tramp-gvfs.el (tramp-gvfs-methods)
12470 (tramp-gvfs-zeroconf-domain)
12471 (tramp-bluez-discover-devices-timeout): Add version flag.
12472 (tramp-gvfs-handler-mounted-unmounted)
12473 (tramp-gvfs-connection-mounted-p): Polish handling of
12474 incompatibilities between GVFS 0.2 and 1.0.
12476 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
12478 * cus-start.el (all): Add make-pointer-invisible.
12480 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
12482 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
12483 formatted correctly.
12485 2009-07-02 Juri Linkov <juri@jurta.org>
12487 * info.el: Virtual Info files and nodes.
12488 (Info-virtual-files, Info-virtual-nodes): New variables.
12489 (Info-current-node-virtual): New variable.
12490 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
12492 (Info-file-supports-index-cookies): Use Info-virtual-file-p
12493 to check for a virtual file instead of checking a fixed list
12495 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
12496 instead of ad-hoc processing of "dir" and (apropos history toc).
12497 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
12498 instead of ad-hoc processing of "dir" and (apropos history toc).
12499 Reread a file when moving from a virtual node.
12500 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
12501 (Info-directory-toc-nodes, Info-directory-find-file)
12502 (Info-directory-find-node): New functions.
12503 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
12504 (Info-history): Move part of code to
12505 `Info-history-find-node'.
12506 (Info-history-toc-nodes, Info-history-find-file)
12507 (Info-history-find-node): New functions.
12508 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
12509 (Info-toc): Move part of code to `Info-toc-find-node'.
12510 (Info-toc-find-node): New function.
12511 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
12512 the current Info file name to references because now the node
12513 "*TOC*" belongs to the same Info manual.
12514 (Info-toc-build): Rename from `Info-build-toc'.
12515 (Info-toc-nodes): Rename input argument `file' to `filename'.
12516 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
12517 instead of ad-hoc processing of ("dir" apropos history toc).
12518 (Info-index-nodes): Use Info-virtual-file-p
12519 to check for a virtual file instead of checking a fixed list
12521 (Info-index-node): Add check for `Info-current-node-virtual'.
12522 Raise `save-match-data' higher up the tree to contain
12523 `search-forward' too (bug fix).
12524 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
12525 (Info-virtual-index-nodes): New variable.
12526 (Info-virtual-index-find-node, Info-virtual-index): New functions.
12527 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
12528 (Info-apropos-file, Info-apropos-nodes): New variables.
12529 (Info-apropos-toc-nodes, Info-apropos-find-file)
12530 (Info-apropos-find-node, Info-apropos-matches): New functions.
12531 (info-apropos): Move part of code to `Info-apropos-find-node' and
12532 `Info-apropos-matches'.
12533 (Info-mode-map): Bind "I" to `Info-virtual-index'.
12534 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
12535 for a virtual file instead of checking a fixed list of node names.
12537 * simple.el (async-shell-command): New command.
12539 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
12541 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
12542 instead of `mount-info'.
12544 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
12546 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
12547 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
12549 2009-07-02 Kenichi Handa <handa@m17n.org>
12551 * international/mule.el (set-keyboard-coding-system): Force *-unix
12552 coding-system to avoid eol conversion.
12554 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
12556 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
12557 Add handler for `process-file', `shell-command' and
12558 `start-file-process'.
12559 (tramp-gvfs-handle-shell-command)
12560 (tramp-gvfs-handle-start-file-process)
12561 (tramp-gvfs-handle-process-file): New defuns.
12562 (tramp-synce-list-devices): Simplify check for existence of property.
12564 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
12566 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
12568 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
12570 * language/korean.el (set-language-info-alist): Add korean-cp949,
12573 2009-07-01 Kenichi Handa <handa@m17n.org>
12575 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
12577 * international/encoded-kb.el: Deleted.
12579 * international/mule.el (set-keyboard-coding-system): Perform the
12580 necessary setup here instead of calling encoded-kbd-setup-display.
12582 2009-07-01 Glenn Morris <rgm@gnu.org>
12584 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
12586 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
12588 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
12590 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
12592 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
12593 Handle also the 'rename case, when setting file modes. (Bug#3712)
12594 (tramp-default-file-modes): Remove execute permissions.
12596 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
12597 (top): Add a default for "synce" in `tramp-default-user-alist'.
12598 Add completion function for "synce" method.
12599 (tramp-hal-service, tramp-hal-path-manager)
12600 (tramp-hal-interface-manager, tramp-hal-interface-device):
12602 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
12603 (tramp-synce-list-devices, tramp-synce-parse-device-names):
12606 * net/trampver.el: Update release number.
12608 2009-06-30 Kenichi Handa <handa@m17n.org>
12610 * international/fontset.el (setup-default-fontset): Add CJK fonts
12611 for symbols and the other miscellaneous characters.
12613 * language/korea-util.el (setup-korean-environment-internal):
12614 Make char-width-table suitable for Korean environments.
12615 (exit-korean-environment): Cancel above.
12617 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
12618 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
12619 setup-function to make char-width-table suitable for respective
12620 environments, and an exit-function to cancel that.
12622 * language/japan-util.el (setup-japanese-environment-internal):
12623 Call use-cjk-char-width-table with arg `ja_JP'.
12625 * international/characters.el (cjk-char-width-table): Delete it.
12626 (cjk-char-width-table-list): New variable.
12627 (use-cjk-char-width-table): New arg local-name.
12628 (use-default-char-width-table): Fix for the case that Emacs is
12629 already using the default char-width-table.
12631 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
12633 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
12634 modes mandatory. (Bug#3712)
12636 2009-06-29 Alan Mackenzie <acm@muc.de>
12638 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
12639 correction between the visible width of TABs and their number of bytes.
12641 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
12643 * server.el (server-buffer-done): Prevent kill-buffer from
12644 prompting by clearing the buffer modification flag (Bug#3696).
12646 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
12648 * progmodes/verilog-mode.el (verilog-beg-of-statement)
12649 (verilog-endcomment-reason-re): Support unique case and priority case.
12650 (verilog-basic-complete-re): Support localparam lineup.
12651 (verilog-beg-of-statement-1): Fix for robustness, unique case.
12652 (verilog-set-auto-endcomments): Fix for unique case, always_comb
12654 (verilog-leap-to-case-head): Now support *nested* unique &
12655 priority case statements.
12656 (verilog-auto-lineup): Make just declarations the default (as it
12658 (verilog-leap-to-case-head): Support priority/unique case statements.
12659 (verilog-auto-lineup): Rework to give users radio buttons to
12660 select the various styles of automatic lineup.
12661 (verilog-error-regexp-alist): Rework to support the XEmacs style
12662 of error regular expressions from compilers, lint tools &
12663 simulators. Note that GNU Emacs has made it impossible for a mode
12664 to load such things.
12665 (electric-verilog-terminate-line, verilog-indent-declaration)
12666 (verilog-auto-wiure): Rework for radio button selection of
12667 auto-lineup selection of specification of auto lineup.
12668 (verilog-beg-of-statement-1): Redesign to support proper operation
12669 in additional code, based on testing with auto-lineup.
12670 (verilog-calculate-indent, assignments & declarations)
12671 (verilog-backward-token): Enhance to support auto-lineup of
12672 assignments & declarations.
12673 (verilog-in-directive-p, verilog-at-struct-p): New function for
12674 easy test of whether we are.
12675 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
12676 to support safe execution at almost anyline.
12677 (verilog-calc-1): Properly support indenting deep inside generate
12679 (verilog-init-font): Remove definition & use of verilog-init-font,
12680 as it is redundant with font-lock-defaults.
12681 (verilog-mode): Alter the definition of verilog-font-lock-defaults
12682 to avoid circular calls if syntax-ppss is a function (as is the
12683 case now in 22.x GNU Emacs) as that function would sometimes call
12684 itself, leading to (nearly) infinite recursion.
12685 (verilog-ovm-begin-re, verilog-ovm-end-re)
12686 (verilog-ovm-statement-re, verilog-leap-to-head)
12687 (verilog-backward-token): Add support for OVM macros. Some are
12688 complete statements, and others open and close scopes like begin
12690 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
12691 (verilog-defun-level-generate-only-re): Really fix the defun-list
12693 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
12694 coverpoint, constraint and cross statements.
12695 (verilog-defun-level-list, verilog-generate-defun-level-list)
12696 (verilog-all-defun-level-list): Redo these specifications - it is
12697 too hard to support eval-when compile aggregation of lists also
12698 built at when-compile time.
12699 (verilog-defun-level-list): Place defconsts of variables used in
12700 building regular expressions which are built in eval-when-compile
12701 bodies in the same eval-when-compile body to facilitate compile
12703 (verilog-beg-block-re-ordered): Support indenting
12704 virtual/protected tasks and functions.
12705 (verilog-defun-level-list, verilog-in-generate-region-p)
12706 (verilog-backward-ws&directives, verilog-calc-1): Speed up
12707 indentation of some module items (generate items).
12708 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
12709 across virtual/protected tasks and functions.
12711 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
12713 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
12714 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
12715 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
12716 in concatenations. Reported by Yishay Belkind.
12717 (verilog-auto-ascii-enum): Support one-hot state machines in
12718 AUTOASCIIENUM. Suggested by Lloyd Gomez.
12719 (verilog-auto-inst, verilog-auto-inst-port): Include interface
12720 modport in AUTOINST and add vl-modport for users. Reported by
12722 (verilog-auto-inout-module, verilog-auto-inst)
12723 (verilog-decls-get-interfaces, verilog-insert-definition)
12724 (verilog-insert-one-definition, verilog-read-decls)
12725 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
12726 (verilog-sig-modport, verilog-signals-combine-bus)
12727 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
12728 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
12729 Suggested by David Rogoff.
12730 (verilog-repair-open-comma): Fix non-insertion of comma when
12731 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
12732 (verilog-make-width-expression): Simplify [A-1:0] expression
12733 widths to just {A{1'b0}}.
12734 (verilog-mode): Cleanup checkdoc warnings.
12735 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
12736 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
12737 inputs/outputs or data type. Suggested by Vasu Kandadi.
12738 (next-error-last-buffer): Fix byte-compiler warning.
12739 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
12740 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
12741 or shell command text during AUTO expansion. Suggested by Tad Truex.
12742 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
12743 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
12744 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
12745 in AUTOINOUT. Reported by Matthew Lovell.
12746 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
12747 causing use of <= assignments. Reported by Alex Reed.
12748 (verilog-read-decls): Fix triand, trior, wand, wor to be
12749 recognized by AUTOWIRE. Reported by Spencer Isaacson.
12750 (verilog-extended-complete-re): Support import "DPI-C" functions.
12751 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
12752 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
12753 (verilog-insert-date, verilog-insert-year)
12754 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
12755 Windows systems. Reported by Michael Potts.
12756 (verilog-read-module-name): Fix AUTOINST when the child module
12757 declaration's name is a tick define. Reported by Elliot Mednick.
12758 (verilog-read-decls): Fix V2K parameter bit subscripts getting
12759 passed to next parameter's definition. Reported by Bruce T.
12760 (verilog-read-decls): Fix detecting "parameter int" when using
12761 AUTOINSTPARAM. Reported by Bruce T.
12762 (verilog-goto-defun): Fix goto not finding modules unless first
12763 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
12764 (verilog-mode): Expand -f flag arguments on entry to mode so
12765 verilog-goto-defun will work. Reported by Lawrence Butcher.
12766 (verilog-getopt): Expand environment variables in -f file
12767 arguments. Suggested by Lawrence Butcher.
12768 (verilog-set-define): Fix "Symbol's value as variable is void"
12769 when reading enumerations.
12770 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
12771 Suggested by Stephen Peltan.
12772 (verilog-read-defines): Fix reading of enumerations in include
12773 files. Reported by Steve Peltan.
12775 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
12777 * files.el (trash-directory): Fix defcustom type.
12779 2009-06-28 Juri Linkov <juri@jurta.org>
12781 * help-fns.el (describe-function-1): Correctly locate adviced
12782 functions in hyperlink (Bug#2438).
12784 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
12786 * files.el (trash-directory): Change default to nil.
12787 (move-file-to-trash): If trash-directory is nil and
12788 system-move-file-to-trash is unbound, perform freedesktop-style
12791 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
12793 * files.el (move-file-to-trash): Add freedesktop trash
12796 2009-06-28 Glenn Morris <rgm@gnu.org>
12798 * autorevert.el (global-auto-revert-non-file-buffers)
12799 (global-auto-revert-mode): Doc fixes.
12801 2009-06-27 Johan Bockgård <bojohan@gnu.org>
12803 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
12805 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
12807 * faces.el (x-handle-named-frame-geometry): Ensure that we have
12808 opened an X connection before calling x-get-resource (Bug#3194).
12810 * play/doctor.el: Remove reference to obsolete website.
12811 (make-doctor-variables): Correct grammar mistake (Bug#2633).
12813 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
12815 Remove find-file-not-found-hook VC method. (Bug#2757)
12816 * vc-hooks.el (vc-file-not-found-hook)
12817 (vc-default-find-file-not-found-hook): Remove functions.
12818 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
12819 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
12822 * vc-git.el: Do not mention find-file-not-found-hook VC method.
12824 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
12826 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
12827 compatibility function for `looking-back'.
12829 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
12830 Use `ispell-looking-back'.
12832 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
12834 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
12835 rather than `filename'.
12837 2009-06-23 Miles Bader <miles@gnu.org>
12839 * face-remap.el (text-scale-set): New function.
12841 2009-06-23 Glenn Morris <rgm@gnu.org>
12843 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
12845 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
12847 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
12849 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
12851 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
12852 Simplify Persian conditionals.
12854 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
12855 variable `filename'.
12857 * comint.el (comint-insert-input): Doc fix.
12859 * Makefile.in (ELCFILES): Fix typo in previous change.
12861 2009-06-23 Miles Bader <miles@gnu.org>
12863 * cus-start.el: Add entry for `recenter-redisplay'.
12865 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
12867 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
12868 Add an optional argument for the backend, use it instead of
12869 calling vc-backend.
12870 (vc-mode-line): Add an optional argument for the backend.
12871 Pass the backend to vc-state and vc-working-revision. Move code for
12872 special handling for vc-state being a buffer to ...
12874 * vc-rcs.el (vc-rcs-find-file-hook):
12875 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
12877 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
12878 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
12879 vc-stay-local-p and vc-mode-line calls.
12881 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
12882 (vc-cvs-diff, vc-cvs-annotate-command)
12883 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
12884 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
12885 vc-mode-line calls.
12887 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
12889 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
12890 backend when calling vc-mode-line.
12891 (vc-register): Do not create a closure for calling the vc register
12892 function, call it directly.
12894 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
12896 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
12897 to make it obvious item can be clicked.
12899 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
12901 2009-06-23 Kenichi Handa <handa@m17n.org>
12903 * language/korea-util.el (korean-key-bindings): Change the binding
12904 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
12907 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
12909 Sync with Tramp 2.1.16.
12911 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
12913 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
12914 when a loading of a package fails. Completion function for rsync
12915 is `tramp-completion-function-alist-ssh'.
12916 (all): Replace all calls of `split-string' and
12917 `tramp-split-string' by `tramp-compat-split-string'.
12918 (tramp-default-method): Use `tramp-compat-process-running-p'.
12919 (tramp-default-proxies-alist): Allow also Lisp forms.
12920 (tramp-remote-path): Add choice "Private Directories".
12921 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
12922 (tramp-domain-regexp): Allow also "-", "_" and ".".
12923 (tramp-end-of-output): Remove newlines, and add "$" at the end.
12924 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
12925 (tramp-debug-message): Insert header line in debug buffer.
12926 (tramp-handle-directory-files-and-attributes-with-stat):
12927 Care about filenames with spaces, or starting with "-".
12928 (tramp-handle-dired-uncache): New defun.
12929 (tramp-handle-insert-directory): Don't flush the directory from
12930 cache, this is handled by `dired-uncache' now.
12931 (tramp-handle-insert-file-contents): Improve error handling.
12932 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
12933 Quote `tramp-end-of-output'.
12934 (tramp-action-password): Improve trace message.
12935 (tramp-check-for-regexp): Both echoes must be present, before removing.
12936 (tramp-open-connection-setup-interactive-shell): Trace coding system.
12937 (tramp-compute-multi-hops): Eval cons cells of
12938 `tramp-default-proxies-alist'.
12939 (tramp-maybe-open-connection): Use the same command pattern for
12940 first hop and further hops.
12941 (tramp-wait-for-output): Remove handling of newlines.
12942 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
12943 (tramp-split-string): Remove function. It is handled in
12946 * net/tramp-cmds.el (tramp-bug):
12947 Recommend `tramp-cleanup-all-connections' in the bug mail.
12949 * net/tramp-compat.el (tramp-compat-split-string)
12950 (tramp-compat-process-running-p): New defuns.
12952 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
12953 for `dired-uncache'.
12955 * net/tramp-gvfs.el: New package.
12957 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
12958 Add handler for `dired-uncache'.
12959 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
12961 * net/trampver.el: Update release number. Make version check fit
12964 2009-06-22 Jim Meyering <meyering@redhat.com>
12966 Automatically handle .xz suffix (XZ-compressed files), too.
12967 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
12968 XZ is the successor to LZMA: <http://tukaani.org/xz/>
12970 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
12971 Nick Roberts <nickrob@snap.net.nz>
12973 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
12974 repository (http://sphinx.net.ru/hg/gdb-mi/).
12976 2009-06-22 Glenn Morris <rgm@gnu.org>
12978 * files.el (dir-locals-collect-mode-variables): Allow for any number of
12979 `mode' and `eval' entries. (Bug#3430)
12981 * Makefile.in (ELCFILES): Add fadr.elc.
12983 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
12984 differing behavior of \n and ^ in strings. (Bug#3385)
12986 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
12988 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
12990 (lisp-indent-function): Make it a defcustom.
12992 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
12994 * progmodes/gdb-ui.el: Replace with ...
12995 * progmodes/gdb-mi.el: ... this file.
12996 * progmodes/gud.el: Modify for gdb-mi.el.
12998 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
13000 * fadr.el: New file.
13002 See ChangeLog.14 for earlier changes.
13004 ;; Local Variables:
13008 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
13010 This file is part of GNU Emacs.
13012 GNU Emacs is free software: you can redistribute it and/or modify
13013 it under the terms of the GNU General Public License as published by
13014 the Free Software Foundation, either version 3 of the License, or
13015 (at your option) any later version.
13017 GNU Emacs is distributed in the hope that it will be useful,
13018 but WITHOUT ANY WARRANTY; without even the implied warranty of
13019 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13020 GNU General Public License for more details.
13022 You should have received a copy of the GNU General Public License
13023 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
13025 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1