1 2010-05-25 Thierry Volpiatto <thierry.volpiatto@gmail.com>
3 * dired.el (dired-mode-map): Rebind "\C-t\C-t" from
4 `image-dired-dired-insert-marked-thumbs' to
5 `image-dired-dired-toggle-marked-thumbs'.
7 * image-dired.el: Require cl when compiling.
8 (image-dired-dired-toggle-marked-thumbs): Rename from
9 `image-dired-dired-insert-marked-thumbs'. Add ARG. Doc fix.
10 Use interactive spec "P". Set LOCALP arg of `dired-get-filename'
11 to 'no-dir. Skip files whose names don't match
12 `image-file-name-regexp'. When file has a thumbnail overlay,
15 2010-05-25 Juri Linkov <juri@jurta.org>
17 * image-mode.el (image-mode): Add image-after-revert-hook to
19 (image-after-revert-hook): New function. (Bug#5669)
21 2010-05-25 Juri Linkov <juri@jurta.org>
23 * image.el (image-animated-p): When delay between animated images
24 is 0, set it to 10 (0.1 sec). (Bug#6258)
26 2010-05-25 Christian Lynbech <christian.lynbech@tieto.com> (tiny change)
28 * net/tramp.el (tramp-handle-insert-directory): Don't use
29 `forward-word', it's default syntax could be changed.
31 2010-05-25 Michael Albinus <michael.albinus@gmx.de>
33 * net/tramp.el (tramp-progress-reporter-update): New defun.
34 (with-progress-reporter): Use it.
35 (tramp-process-actions):
36 * net/tramp-gvfs.el (tramp-gvfs-handler-askquestion): Preserve
37 current message, in order to let progress reporter continue
38 afterwards. (Bug#6257)
40 2010-05-25 Glenn Morris <rgm@gnu.org>
42 * net/rcirc.el (rcirc-default-user-name, rcirc-default-full-name):
45 2010-05-25 Ryan Yeske <rcyeske@gmail.com>
47 * net/rcirc.el (rcirc-server-alist): Add :pass.
48 (rcirc-default-user-name): Change to "user".
49 (rcirc-default-full-name): Change to "unknown".
50 (rcirc-user-name-history): Add variable.
51 (rcirc): When prompting for connection paramaters, also prompt for
52 username and password.
53 (rcirc-connect): Take a PASS argument. If PASS is non-nil, send
54 value to server when connecting.
56 2010-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
58 * emacs-lisp/smie.el (smie-set-prec2tab): Check override before use.
59 (smie-merge-prec2s): Pass the tables as separate args.
60 (smie-bnf-precedence-table): Adjust call accordingly.
61 (smie-prec2-levels): Set levels at the end.
63 Replace Lisp calls to delete-backward-char by delete-char.
64 * bs.el, expand.el, ido.el, image-dired.el, lpr.el, pcomplete.el,
65 skeleton.el, term.el, time.el, wid-edit.el, woman.el,
66 calc/calc-graph.el, calc/calc-help.el, calc/calc-incom.el,
67 calc/calc.el, emacs-cl-extra.el, emacs-cl-loaddefs.el,
68 emulation/cua-rect.el, emulation/viper-ex.el, eshell/esh-test.el,
69 eshell/eshell.el, gnus/gnus-uu.el, gnus/nndoc.el, gnus/nnrss.el,
70 gnus/rfc2047.el, gnus/utf7.el, international/utf-7.el,
71 language/ethio-util.el, mh-e/mh-alias.el, mh-e/mh-search.el,
72 net/imap.el, net/rcirc.el, obsolete/complete.el, play/decipher.el,
73 progmodes/ada-mode.el, progmodes/cc-awk.el, progmodes/dcl-mode.el,
74 progmodes/ps-mode.el, progmodes/verilog-mode.el,
75 progmodes/vhdl-mode.el, textmodes/bibtex.el, textmodes/fill.el,
76 textmodes/reftex-auc.el, textmodes/rst.el, textmodes/sgml-mode.el,
77 textmodes/table.el, textmodes/texinfmt.el: Replace Lisp calls to
78 delete-backward-char by calls to delete-char.
80 2010-05-25 Kenichi Handa <handa@m17n.org>
82 * language/hebrew.el (hebrew-shape-gstring): New function.
83 Register it in composition-function-table for all Hebrew combining
86 2010-05-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
88 * textmodes/fill.el (fill-region): Don't fill past the end (bug#6201).
90 2010-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
92 * subr.el (read-quoted-char): Resolve modifiers after key
95 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
97 * image.el (image-refresh): Define as an alias for image-flush.
99 * image-mode.el (image-toggle-display-image): Caller changed.
101 2010-05-21 Juri Linkov <juri@jurta.org>
103 * progmodes/grep.el (grep-read-files): Fix multi-pattern aliases.
104 Remove "all" from grep-files-aliases. Split grep-files-aliases by
105 whitespace, call wildcard-to-regexp on substrings and concat them
106 with "\\|". (Bug#6114)
108 2010-05-21 Alan Mackenzie <acm@muc.de>
110 * progmodes/cc-engine.el (c-parse-state-get-strategy):
111 Replace parameter `here' with `here-' and `here-plus', which sandwich
112 any pertinent CPP construct.
113 (c-remove-stale-state-cache-backwards): Fix a bug which happens
114 when doing (c-parse-state) in a CPP construct: Exclude any "new"
115 CPP construct from taking part in the scanning.
117 2010-05-21 Michael Albinus <michael.albinus@gmx.de>
119 * net/tramp.el (tramp-do-copy-or-rename-file)
120 (tramp-handle-file-local-copy, tramp-maybe-open-connection):
121 Tune `with-progress-reporter' messages.
122 (tramp-handle-vc-registered):
123 * net/tramp-fish.el (tramp-fish-handle-file-local-copy)
124 (tramp-fish-handle-insert-file-contents)
125 (tramp-fish-maybe-open-connection):
126 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
127 * net/tramp-imap.el (tramp-imap-do-copy-or-rename-file)
128 (tramp-imap-handle-insert-file-contents)
129 (tramp-imap-handle-file-local-copy): Use `with-progress-reporter'.
131 2010-05-21 Juanma Barranquero <lekktu@gmail.com>
133 * add-log.el (change-log-font-lock-keywords):
134 Highlight all authors in multi-author entries.
136 * smerge-mode.el (smerge-refine-ignore-whitespace)
137 (smerge-refine-weight-hack, smerge-refine, smerge-makeup-conflict):
138 Fix typos in docstrings.
139 (smerge-resolve, smerge-refine-subst): Reflow docstrings.
141 2010-05-21 Glenn Morris <rgm@gnu.org>
143 * progmodes/fortran.el (fortran-mode):
144 * progmodes/f90.el (f90-mode): Derive from prog-mode.
146 * loadup.el [CANNOT_DUMP]: Update for bootstrap-emacs no longer
147 having a relative path in src/Makefile.in.
149 2010-05-20 Kevin Ryde <user42@zip.com.au>
151 * help-mode.el (help-make-xrefs): For Info node links turn
152 newlines into spaces. Link node names with newlines are matched
153 by help-xref-info-regexp and buttonized, this change ensures they
154 can be followed successfully with RET. (Bug#6206)
156 2010-05-20 Juri Linkov <juri@jurta.org>
158 * locate.el (locate): Use pop-to-buffer instead of
159 switch-to-buffer-other-window. (Bug#6204)
161 2010-05-20 Juri Linkov <juri@jurta.org>
163 * replace.el (replace-highlight): Fix lazy-highlighting
164 for `M-s w str M-% str RET'.
166 2009-12-15 Masatake YAMATO <yamato@redhat.com>
168 * isearch.el (isearch-yank-word-or-char): Pull next subword
169 when `subword-mode' is activated. (Bug#6220)
171 2010-05-20 Mark A. Hershberger <mah@everybody.org>
173 * isearch.el (isearch-update-post-hook): New hook.
174 (isearch-update): Use the new hook. (Bug#6225)
176 2010-05-20 Juri Linkov <juri@jurta.org>
178 * isearch.el (isearch-mode-map): Bind more keys to isearch-help-map:
179 [f1], [help], and (char-to-string help-char) instead of "\C-h".
182 2010-05-20 Juri Linkov <juri@jurta.org>
184 * isearch.el (isearch-yank-string): Use isearch-process-search-string.
187 2010-05-20 Juri Linkov <juri@jurta.org>
189 * dired-x.el (dired-jump, dired-jump-other-window): Add arg
190 FILE-NAME to read from the minibuffer when called interactively
191 with prefix argument instead of using buffer-file-name.
192 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00534.html
194 * dired.el: Update autoloads.
196 2010-05-20 Chong Yidong <cyd@stupidchicken.com>
198 * nxml/nxml-mode.el (nxml-mode-map): Bind C-c / to
199 nxml-finish-element, for consistency with SGML mode.
201 * progmodes/octave-mod.el (octave-mode-map): Bind C-c / to
204 2010-05-20 Juanma Barranquero <lekktu@gmail.com>
206 * composite.el: Require cl when compiling.
207 (reference-point-alist, compose-gstring-for-graphic)
208 (compose-gstring-for-terminal): Fix typos in docstrings.
210 2010-05-19 Juri Linkov <juri@jurta.org>
212 * emacs-lisp/cl-macs.el (window-parameter): Add defsetf with
213 set-window-parameter.
215 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
217 * net/tramp.el (tramp-methods): Add `tramp-async-args' attribute
219 (tramp-maybe-open-connection): Use it.
221 2010-05-19 Eli Zaretskii <eliz@gnu.org>
223 * simple.el (move-end-of-line): Make sure we are at line beginning
224 before backing up to end of previous line.
226 2010-05-19 Michael Albinus <michael.albinus@gmx.de>
228 * password-cache.el (password-cache-remove): Fix docstring.
230 * net/secrets.el: Autoload the widget functions.
231 (secrets-search-items, secrets-create-item)
232 (secrets-get-attributes, secrets-expand-item): Attributes will be
233 stored on the password database without leading ":", as all other
235 (secrets-mode): Fix docstring.
236 (secrets-show-secrets): Provide it as autoloaded command only when
237 D-Bus support is available. Check existence of Secret Service API.
239 2010-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
241 * indent.el (indent-region): Deactivate region (bug#6200).
243 2010-05-19 Glenn Morris <rgm@gnu.org>
245 * vc-dir.el (vc-dir): Don't pop-up-windows. (Bug#6204)
247 2010-05-19 Kenichi Handa <handa@m17n.org>
249 * composite.el: Register compose-gstring-for-graphic in
250 composition-function-table only for combining characters (Mn, Mc, Me).
252 2010-05-18 Jay Belanger <jay.p.belanger@gmail.com>
254 * calc/calc-trail.el (calc-trail-isearch-forward)
255 (calc-trail-isearch-backward): Ensure that the new window
256 point is set correctly.
258 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
260 * subr.el (read-quoted-char): Resolve modifiers after key
261 remapping (bug#6212).
263 2010-05-18 Michael Albinus <michael.albinus@gmx.de>
265 Add visualization code for secrets.
266 * net/secrets.el (secrets-mode): New major mode.
267 (secrets-show-secrets, secrets-show-collections)
268 (secrets-expand-collection, secrets-expand-item)
269 (secrets-tree-widget-after-toggle-function)
270 (secrets-tree-widget-show-password): New defuns.
272 2010-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
274 * emacs-lisp/smie.el (smie-next-sexp): Break inf-loop at BOB.
275 (smie-backward-sexp, smie-forward-sexp): Remove boundary condition now
276 handled in smie-next-sexp.
277 (smie-indent-calculate): Provide a starting indentation (so the
278 recursion is well-founded ;-).
280 Fix handling of non-associative equal levels.
281 * emacs-lisp/smie.el (smie-prec2-levels): Choose distinct levels even
282 when it's not needed.
283 (smie-op-left, smie-op-right): New functions.
284 (smie-next-sexp): New function, extracted from smie-backward-sexp.
285 Better handle equal levels to distinguish the associative case from
286 the "multi-keyword construct" case.
287 (smie-backward-sexp, smie-forward-sexp): Use it.
289 2010-05-18 Juanma Barranquero <lekktu@gmail.com>
291 * progmodes/prolog.el (smie-indent-basic): Declare for byte-compiler.
293 * emacs-lisp/smie.el (smie-precs-precedence-table, smie-backward-sexp)
294 (smie-forward-sexp, smie-indent-calculate): Fix typos in docstrings.
296 2010-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
298 Provide a simple generic indentation engine and use it for Prolog.
299 * emacs-lisp/smie.el: New file.
300 * progmodes/prolog.el (prolog-smie-op-levels)
301 (prolog-smie-indent-rules): New var.
302 (prolog-mode-variables): Use them to configure SMIE.
303 (prolog-indent-line, prolog-indent-level): Remove.
305 2010-05-17 Jay Belanger <jay.p.belanger@gmail.com>
307 * calc/calc-vec.el (math-vector-avg): Put the vector elements in
308 order before computing the averages.
310 2010-05-16 Jay Belanger <jay.p.belanger@gmail.com>
312 * calc/calc-vec.el (calc-histogram):
313 (calcFunc-histogram): Allow vectors as inputs.
314 (math-vector-avg): New function.
316 * calc/calc-ext.el (math-group-float): Have the number of digits
317 being grouped depend on the radix (Bug#6189).
319 2010-05-15 Ken Raeburn <raeburn@raeburn.org>
321 * version.el (emacs-copyright, emacs-version): Don't define here,
322 now that emacs.c defines it.
324 2010-05-15 Eli Zaretskii <eliz@gnu.org>
326 * international/mule-cmds.el (mule-menu-keymap): Fix definition of
327 "Describe Language Environment" menu item.
329 * language/hebrew.el ("Hebrew", "Windows-1255"): Doc fix.
331 Bidi-sensitive movement with arrow keys.
332 * subr.el (right-arrow-command, left-arrow-command): New functions.
334 * bindings.el (global-map): Bind them to right and left arrow keys.
336 Don't override standard definition of convert-standard-filename.
337 * files.el (convert-standard-filename): Call
338 w32-convert-standard-filename and dos-convert-standard-filename on
339 the corresponding systems.
341 * w32-fns.el (w32-convert-standard-filename): Rename from
342 convert-standard-filename. Doc fix.
344 * dos-fns.el (dos-convert-standard-filename): Doc fix.
345 (convert-standard-filename): Don't defalias.
346 (register-name-alist, make-register, register-value)
347 (set-register-value, intdos): Obsolete aliases for the
348 corresponding dos-* functions and variables.
349 (dos-intdos): Add a doc string.
351 2010-05-15 Jay Belanger <jay.p.belanger@gmail.com>
353 * calc/calc-aent.el (math-read-token, math-find-user-tokens):
354 * calc/calc-lang.el (math-read-big-rec, math-lang-read-symbol):
355 (math-compose-tex-func):
356 * calc/calccomp.el (math-compose-expr):
357 * calc/calc-ext.el (math-format-flat-expr-fancy):
358 * calc/calc-store.el (calc-read-var-name):
359 * calc/calc-units.el (calc-explain-units-rec): Allow Greek letters.
361 * calc/calc.el (var-π, var-φ, var-γ): New variables.
362 * calc/calc-aent.el (math-read-replacement-list): Add "micro" symbol.
363 * calc/calc-units.el (math-unit-prefixes): Add mu for micro.
364 (math-standard-units): Add units.
366 2010-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
368 * progmodes/asm-mode.el (asm-mode):
369 * progmodes/prolog.el (prolog-mode): Use define-derived-mode.
371 * pcomplete.el (pcomplete-completions-at-point): New function,
372 extracted from pcomplete-std-complete.
373 (pcomplete-std-complete): Use it.
375 2010-05-15 Glenn Morris <rgm@gnu.org>
377 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
378 Remove references to CVS, RCS and Old directories.
380 2010-05-14 Jay Belanger <jay.p.belanger@gmail.com>
382 * calc/calc-bin.el (math-format-twos-complement): Group digits when
385 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
387 * progmodes/sh-script.el (sh-mode-default-syntax-table): Remove.
388 (sh-mode-syntax-table): Give it a default value instead.
389 (sh-header-marker): Make buffer-local.
390 (sh-mode): Move make-local-variable to the corresponding setq.
391 (sh-add-completer): Avoid gratuitously let-binding a buffer-local var.
392 Use complete-with-action.
394 * simple.el (prog-mode): New (abstract) major mode.
395 * emacs-lisp/lisp-mode.el (emacs-lisp-mode, lisp-mode): Use it.
396 * progmodes/sh-script.el (sh-mode): Remove redundant var assignment.
398 2010-05-14 Juanma Barranquero <lekktu@gmail.com>
400 * progmodes/sql.el (sql-oracle-program): Reflow docstring.
401 (sql-oracle-scan-on, sql-sybase-program, sql-product-font-lock)
402 (sql-add-product-keywords, sql-highlight-product, sql-set-product)
403 (sql-make-alternate-buffer-name, sql-placeholders-filter)
404 (sql-escape-newlines-filter, sql-input-sender)
405 (sql-send-magic-terminator, sql-sybase): Fix typos in docstrings.
407 2010-05-13 Chong Yidong <cyd@stupidchicken.com>
409 Add TeX open-block and close-block keybindings to SGML, and vice versa.
411 * textmodes/tex-mode.el (tex-mode-map): Bind C-c C-t to
412 latex-open-block and C-c / to latex-close-block.
414 * textmodes/sgml-mode.el (sgml-mode-map): Bind C-c C-o to sgml-tag
415 and C-c C-e to sgml-close-tag.
417 2010-05-13 Michael Albinus <michael.albinus@gmx.de>
419 * net/tramp.el (with-progress-reporter): Create reporter object
420 only when the message would be displayed. Handle nested calls.
421 (tramp-handle-load, tramp-handle-file-local-copy)
422 (tramp-handle-insert-file-contents, tramp-handle-write-region)
423 (tramp-maybe-send-script, tramp-find-shell):
424 Use `with-progress-reporter'.
425 (tramp-handle-dired-compress-file, tramp-maybe-open-connection):
428 * net/tramp-smb.el (tramp-smb-handle-copy-file)
429 (tramp-smb-handle-file-local-copy, tramp-smb-handle-rename-file)
430 (tramp-smb-handle-write-region, tramp-smb-maybe-open-connection):
431 Use `with-progress-reporter'.
433 2010-05-13 Agustín Martín <agustin.martin@hispalinux.es>
435 * ispell.el (ispell-init-process): Do not kill ispell process
436 everytime when spellchecking from the minibuffer (bug#6143).
438 2010-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
440 * progmodes/sh-script.el (sh-mode): Use define-derived-mode.
442 * dos-fns.el: Add "dos-" prefix for namespace control.
443 (convert-standard-filename): Define as alias for
444 dos-convert-standard-filename but only if applicable.
446 2010-05-12 Alan Mackenzie <acm@muc.de>
448 * progmodes/cc-cmds.el (c-beginning-of-defun, c-end-of-defun):
449 Push the mark at the start of these functions when appropriate.
451 2010-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
453 * minibuffer.el (completion-cycle-threshold): New custom var.
454 (completion--do-completion): Use it.
455 (minibuffer-complete): Use cycling if appropriate.
457 2010-05-11 Juanma Barranquero <lekktu@gmail.com>
459 * dirtrack.el (dirtrackp): Remove defcustom; don't make automatically
460 buffer-local (it's an obsolete alias for `dirtrack-mode') (bug#6173).
462 2010-05-11 Juri Linkov <juri@jurta.org>
464 * scroll-all.el (scroll-all-check-to-scroll):
465 Add `scroll-up-command' and `scroll-down-command' (bug#6164).
467 2010-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
469 * iimage.el (iimage-mode-map): Move initialization into declaration.
470 (iimage-mode-buffer): Use with-silent-modifications.
471 Simplify calling convention. Adjust callers.
472 (iimage-mode): Don't run hook redundantly.
474 * minibuffer.el (completion-pcm--pattern->regex):
475 Fix last change (bug#6160).
477 2010-05-10 Juri Linkov <juri@jurta.org>
479 Remove nodes visited during Isearch from the Info history.
480 * info.el (Info-isearch-initial-history)
481 (Info-isearch-initial-history-list): New variables.
482 (Info-isearch-start): Record initial values of
483 Info-isearch-initial-history and Info-isearch-initial-history-list.
484 Add Info-isearch-end to isearch-mode-end-hook.
485 (Info-isearch-end): New function.
487 2010-05-10 Michael Albinus <michael.albinus@gmx.de>
489 * net/tramp.el (tramp-do-file-attributes-with-stat): Add space in
490 format string, in order to work around a bug in pdksh.
491 Reported by Gilles Pion <gpion@lfdj.com>.
492 (tramp-handle-verify-visited-file-modtime): Do not send a command
493 when the connection is not established.
494 (tramp-handle-set-file-times): Simplify the check for utc.
496 2010-05-10 Juanma Barranquero <lekktu@gmail.com>
498 Fix use of `filter-buffer-substring' (rework previous change).
499 * emulation/cua-base.el (cua--filter-buffer-noprops): New function.
500 (cua-repeat-replace-region):
501 * emulation/cua-rect.el (cua--extract-rectangle, cua-incr-rectangle):
502 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
503 (cua-cut-region-to-global-mark): Use it.
505 2010-05-09 Michael R. Mauger <mmaug@yahoo.com>
507 * progmodes/sql.el: Version 2.1.
508 (sql-product-alist): Redesign structure of product info.
509 (sql-product, sql-user, sql-server, sql-database): Safe variables.
510 (sql-port, sql-port-history): New variables.
511 (sql-interactive-product): New variable.
512 (sql-send-terminator): New variable.
513 (sql-imenu-generic-expression): Add "Types" imenu entry.
514 (sql-oracle-login-params, sql-sqlite-login-params)
515 (sql-mysql-login-params, sql-solid-login-params)
516 (sql-sybase-login-params, sql-informix-login-params)
517 (sql-ingres-login-params, sql-ms-login-params)
518 (sql-postgres-login-params, sql-interbase-login-params)
519 (sql-db2-login-params, sql-linter-login-params)
520 (sql-oracle-scan-on): New variables.
521 (sql-mode-map): Add C-c C-i to start interactive mode.
522 (sql-mode-menu): Update existing menu entries.
523 (sql-font-lock-keywords-builder): Compile-time font-lock optimization.
524 (sql-mode-oracle-font-lock-keywords)
525 (sql-mode-postgres-font-lock-keywords)
526 (sql-mode-ms-font-lock-keywords)
527 (sql-mode-sybase-font-lock-keywords)
528 (sql-mode-informix-font-lock-keywords)
529 (sql-mode-interbase-font-lock-keywords)
530 (sql-mode-ingres-font-lock-keywords)
531 (sql-mode-solid-font-lock-keywords)
532 (sql-mode-mysql-font-lock-keywords)
533 (sql-mode-sqlite-font-lock-keywords)
534 (sql-mode-db2-font-lock-keywords)
535 (sql-mode-linter-font-lock-keywords): Update initialization to
536 reduce run-time complexity.
537 (sql-add-product, sql-del-product): New functions.
538 (sql-set-product-feature, sql-get-product-feature): New functions.
539 (sql-product-font-lock): Update product API.
540 (sql-add-product-keywords): New function.
541 (sql-highlight-product): Update product API.
542 (sql-help-list-products): New function.
543 (sql-help): Dynamically lists free and non-free products.
544 (sql-get-login): Correct bug in handling history and added
546 (sql-copy-column): Copy without properties.
547 (sqli-input-sender): Apply filters to SQLi input.
548 (sql-query-placeholders-and-send): Obey `sql-oracle-scan-on' setting.
549 Implement as a filter.
550 (sql-escape-newlines-filter): Implement as a filter.
551 (sql-remove-tabs-filter): New function.
552 (sql-send-magic-terminator): New function.
553 (sql-send-string): Implement magic terminator.
554 (sql-send-region): Use `sql-send-string'.
555 (sql-interactive-mode): Use product API.
556 (sql-product-interactive): Use product API.
557 (sql-oracle, sql-sybase, sql-informix, sql-sqlite, sql-mysql)
558 (sql-solid, sql-ingres, sql-ms, sql-postgres, sql-interbase)
559 (sql-db2, sql-linter): Use `sql-product-interactive'.
560 (sql-connect): New function.
561 (sql-connect-oracle, sql-connect-sybase, sql-connect-informix)
562 (sql-connect-sqlite, sql-connect-mysql, sql-connect-solid)
563 (sql-connect-ingres, sql-connect-ms, sql-connect-postgres)
564 (sql-connect-interbase, sql-connect-db2, sql-connect-linter):
567 2010-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
569 * minibuffer.el (completion-pcm-complete-word-inserts-delimiters):
571 (completion-pcm--string->pattern): Use it.
572 (completion-pcm--pattern->regex, completion-pcm--pattern->string):
573 Make it handle any symbol as `any'.
574 (completion-pcm--merge-completions): Extract common suffix for the new
575 `prefix' symbol as well.
576 (completion-substring--all-completions): Use the new `prefix' symbol.
578 2010-05-09 Michael Albinus <michael.albinus@gmx.de>
580 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Define if
582 (tramp-compat-copy-file): Add PRESERVE-SELINUX-CONTEXT.
583 (tramp-compat-funcall): New defmacro.
584 (tramp-compat-line-beginning-position)
585 (tramp-compat-line-end-position)
586 (tramp-compat-temporary-file-directory)
587 (tramp-compat-make-temp-file, tramp-compat-file-attributes)
588 (tramp-compat-copy-file, tramp-compat-copy-directory)
589 (tramp-compat-delete-file, tramp-compat-delete-directory)
590 (tramp-compat-number-sequence, tramp-compat-process-running-p)
591 * net/tramp.el (top, with-progress-reporter)
592 (tramp-rfn-eshadow-setup-minibuffer)
593 (tramp-rfn-eshadow-update-overlay, tramp-handle-set-file-times)
594 (tramp-handle-dired-compress-file, tramp-handle-shell-command)
595 (tramp-completion-mode-p, tramp-check-for-regexp)
596 (tramp-open-connection-setup-interactive-shell)
597 (tramp-compute-multi-hops, tramp-read-passwd, tramp-clear-passwd)
598 (tramp-time-diff, tramp-coding-system-change-eol-conversion)
599 (tramp-set-process-query-on-exit-flag, tramp-unload-tramp)
600 * net/tramp-cmds.el (tramp-cleanup-all-connections)
601 (tramp-reporter-dump-variable, tramp-load-report-modules)
602 (tramp-append-tramp-buffers)
603 * net/tramp-gvfs.el (tramp-gvfs-handle-file-selinux-context): Use it.
605 * net/tramp-imap.el (top): Autoload `epg-make-context'.
607 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
609 * progmodes/compile.el (compilation-buffer-modtime): Rename from
610 buffer-modtime. Adjust users.
612 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
614 * international/mule.el (auto-coding-alist): Only purecopy
615 car of each item, not the whole list (Bug#6083).
617 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
619 * progmodes/js.el (js-mode): Make paragraph variables local before
620 calling c-setup-paragraph-variables (Bug#6071).
622 2010-05-08 Eli Zaretskii <eliz@gnu.org>
624 * composite.el (compose-region, reference-point-alist): Fix typos
627 2010-05-08 Alexander Klimov <alserkli@inbox.ru> (tiny change)
629 * calc/calc-graph.el (calc-graph-plot): Use the proper form for
630 gnuplot's "set" command.
632 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
634 * abbrev.el (last-abbrev-text): Doc fix.
635 (abbrev-prefix-mark): Don't escape parenthesis.
637 2010-05-08 Andreas Schwab <schwab@linux-m68k.org>
639 * composite.el (find-composition): Doc fix.
641 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
643 * progmodes/sql.el (sql-electric-stuff): Fix typo in tag.
644 (sql-oracle-program, sql-sqlite-options)
645 (sql-query-placeholders-and-send): Doc fixes.
646 (sql-set-product, sql-interactive-mode): Reflow docstrings.
647 (sql-imenu-generic-expression, sql-buffer)
648 (sql-mode-ansi-font-lock-keywords, sql-mode-oracle-font-lock-keywords)
649 (sql-mode-postgres-font-lock-keywords, sql-mode-ms-font-lock-keywords)
650 (sql-mode-sybase-font-lock-keywords)
651 (sql-mode-informix-font-lock-keywords)
652 (sql-mode-interbase-font-lock-keywords)
653 (sql-mode-ingres-font-lock-keywords, sql-mode-solid-font-lock-keywords)
654 (sql-mode-mysql-font-lock-keywords, sql-mode-sqlite-font-lock-keywords)
655 (sql-mode-db2-font-lock-keywords, sql-mode-font-lock-keywords)
656 (sql-product-feature, sql-highlight-product)
657 (comint-line-beginning-position, sql-rename-buffer)
658 (sql-toggle-pop-to-buffer-after-send-region sql-oracle)
659 (sql-sybase, sql-informix, sql-sqlite, sql-mysql, sql-solid)
660 (sql-ingres, sql-ms, sql-postgres, sql-interbase, sql-db2, sql-linter):
661 Fix typos in docstrings.
663 2010-05-08 Juri Linkov <juri@jurta.org>
665 * info.el (Info-fontify-node): Put Info-breadcrumbs to the `display'
666 property instead of `invisible' and `after-string' (bug#5998).
668 2010-05-08 Juri Linkov <juri@jurta.org>
670 * image-mode.el (image-mode-as-text): Fix typo in docstring.
672 2010-05-08 Juanma Barranquero <lekktu@gmail.com>
674 * filecache.el (file-cache-add-directory-list)
675 (file-cache-add-directory-recursively): Fix typos in docstrings.
677 2010-05-08 Kenichi Handa <handa@m17n.org>
679 * language/indian.el (gurmukhi-composable-pattern): Fix typo.
680 (gujarati-composable-pattern): Fix typo.
682 2010-05-08 Kenichi Handa <handa@m17n.org>
684 * language/indian.el (oriya-composable-pattern)
685 (tamil-composable-pattern, malayalam-composable-pattern):
686 Add two-part vowels to "v" (vowel sign).
688 2010-05-08 Chong Yidong <cyd@stupidchicken.com>
690 * files.el (copy-directory): Handle symlinks (Bug#5982).
692 2010-05-08 Dan Nicolaescu <dann@ics.uci.edu>
694 * vc-hg.el (vc-hg-state): Use HGRCPATH, not HGRC.
695 (vc-hg-working-revision): Likewise. Use hg parents, not hg parent
698 2010-05-08 Glenn Morris <rgm@gnu.org>
700 * emacs-lisp/lisp.el (lisp-completion-at-point): Give it a doc string.
702 * minibuffer.el (completion-at-point): Doc fix.
704 2010-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
706 * electric.el (Electric-command-loop): Minor tweak.
708 * ebuff-menu.el (electric-buffer-list): Try and make it behave a bit
709 better with dedicated windows.
711 2010-05-07 Chong Yidong <cyd@stupidchicken.com>
713 * Version 23.2 released.
715 2010-05-07 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
716 Stefan Monnier <monnier@iro.umontreal.ca>
718 Highlight vendor specific properties.
719 * textmodes/css-mode.el (css-proprietary-nmstart-re): New var.
720 (css-proprietary-property): New face.
721 (css-font-lock-keywords): Use them.
723 2010-05-07 Eli Zaretskii <eliz@gnu.org>
725 * cus-start.el (all): Add native condition for tool-bar-* symbols.
727 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
729 * textmodes/dns-mode.el (auto-mode-alist): Add entry for .zone files.
730 * files.el (auto-mode-alist): Remove redundant entries.
732 * files.el (auto-save-mode): Move to simple.el to fix bootstrap.
733 * simple.el (auto-save-mode): Move from files.el.
734 * minibuffer.el (completion--common-suffix): Fix copy&paste error.
736 2010-05-07 Christian von Roques <roques@mti.ag> (tiny change)
738 * lisp/epg.el (epg-key-capablity-alist): Add "D" flag (Bug#5592).
740 2010-05-07 Katsumi Yamaoka <yamaoka@jpl.org>
742 * mail/binhex.el (binhex-decode-region-internal)
743 * mail/uudecode.el (uudecode-decode-region-internal)
744 * net/dns.el (dns-read-string-name, dns-write, dns-read)
745 (dns-read-type, dns-query)
746 * pgg-parse.el (pgg-parse-armor)
747 * pgg.el (pgg-verify-region)
748 * sha1.el (sha1-string-external): Don't run set-buffer-multibyte for
751 * net/imap.el (imap-disable-multibyte): Redefine it as a macro.
753 2010-05-07 Juanma Barranquero <lekktu@gmail.com>
755 * progmodes/cperl-mode.el (cperl-mode-unload-function): New function.
757 Fix use of `filter-buffer-substring' (4th arg NOPROPS removed).
758 * emulation/cua-base.el (cua-repeat-replace-region):
759 * emulation/cua-gmrk.el (cua-copy-region-to-global-mark)
760 (cua-cut-region-to-global-mark):
761 Remove text properties with `set-text-properties'.
763 2010-05-06 Michael Albinus <michael.albinus@gmx.de>
765 * net/tramp.el (top, with-progress-reporter):
766 Use `symbol-function' inside `funcall'.
768 * net/tramp-compat.el (tramp-compat-file-attributes)
769 (tramp-compat-delete-file, tramp-compat-delete-directory):
770 Handle only `wrong-number-of-arguments' error.
772 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file): Fix typo.
773 (tramp-gvfs-handle-file-selinux-context): Use `symbol-function'
776 2010-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
778 * minibuffer.el (completion--sreverse, completion--common-suffix):
780 (completion-pcm--merge-completions): Extract common suffix when safe.
782 * emacs-lisp/easy-mmode.el (define-minor-mode):
783 Make :variable more flexible.
784 * files.el (auto-save-mode): Use it to define using define-minor-mode.
786 2010-05-05 Juri Linkov <juri@jurta.org>
788 Add `slow' and `history' tags to the desktop data.
790 * info.el (Info-virtual-nodes) [*Index*]: Add `slow' tag.
791 (Info-virtual-files) [*Apropos*]: Add `slow' tag.
792 (Info-finder-find-node): Require `finder.el' to be able
793 to restore node from the desktop.
794 (Info-desktop-buffer-misc-data): Save all nodes. Save additional
795 data `Info-history' and `slow' tag in the assoc list.
796 (Info-restore-desktop-buffer): Don't restore nodes with the
797 `slow' tag. Restore `Info-history'.
799 2010-05-05 Michael Albinus <michael.albinus@gmx.de>
801 Add FORCE argument to `delete-file'.
803 * net/ange-ftp.el (ange-ftp-del-tmp-name): Make it a defun,
804 forcing to delete the temporary file.
805 (ange-ftp-delete-file): Add FORCE arg.
806 (ange-ftp-rename-remote-to-remote)
807 (ange-ftp-rename-local-to-remote, ange-ftp-rename-remote-to-local)
808 (ange-ftp-load, ange-ftp-compress, ange-ftp-uncompress):
811 * net/tramp-compat.el (tramp-compat-delete-file): New defun.
813 * net/tramp.el (tramp-handle-delete-file): Add FORCE arg.
814 (tramp-handle-make-symbolic-link, tramp-handle-load)
815 (tramp-do-copy-or-rename-file-via-buffer)
816 (tramp-do-copy-or-rename-file-directly)
817 (tramp-do-copy-or-rename-file-out-of-band)
818 (tramp-handle-process-file, tramp-handle-call-process-region)
819 (tramp-handle-shell-command, tramp-handle-file-local-copy)
820 (tramp-handle-insert-file-contents, tramp-handle-write-region)
821 (tramp-delete-temp-file-function): Use `tramp-compat-delete-file'.
823 * net/tramp-fish.el (tramp-fish-handle-delete-file): Add FORCE arg.
824 (tramp-fish-handle-make-symbolic-link)
825 (tramp-fish-handle-process-file): Use `tramp-compat-delete-file'.
827 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
828 Use `tramp-compat-delete-file'.
830 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-file): Add FORCE arg.
831 (tramp-gvfs-handle-write-region): Use `tramp-compat-delete-file'.
833 * net/tramp-imap.el (tramp-imap-handle-delete-file): Add FORCE arg.
834 (tramp-imap-do-copy-or-rename-file): Use `tramp-compat-delete-file'.
836 * net/tramp-smb.el (tramp-smb-handle-delete-file): Add FORCE arg.
837 (tramp-smb-handle-copy-file, tramp-smb-handle-file-local-copy)
838 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region): Use
839 `tramp-compat-delete-file'.
841 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
844 * subr.el (add-minor-mode): Use push.
845 * mail/supercite.el (sc-electric-mode): Use more descriptive arg name.
846 * emulation/edt.el (edt-select-mode): Simplify.
848 Use define-minor-mode in more cases.
849 * term/tvi970.el (tvi970-set-keypad-mode):
850 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
851 (normal-erase-is-backspace-mode):
852 * scroll-bar.el (scroll-bar-mode): Use it and define-minor-mode.
853 (set-scroll-bar-mode-1): (Re)move to its sole caller.
854 (get-scroll-bar-mode): New function.
855 * emacs-lisp/cl-macs.el (eq): Handle a non-variable first arg.
857 Use define-minor-mode for less obvious cases.
858 * emacs-lisp/easy-mmode.el (define-minor-mode): Add :variable keyword.
859 * emacs-lisp/cl-macs.el (terminal-parameter, eq): Add setf method.
860 * international/iso-ascii.el (iso-ascii-mode):
861 * frame.el (auto-raise-mode, auto-lower-mode):
862 * composite.el (global-auto-composition-mode): Use define-minor-mode.
864 2010-05-04 Michael Albinus <michael.albinus@gmx.de>
866 * net/tramp.el (tramp-methods): Remove "-q" from `tramp-login-args'
867 in order to see error messages for failed logins.
869 2010-05-03 Chong Yidong <cyd@stupidchicken.com>
871 * diff.el (diff-sentinel):
873 * epg.el (epg--make-temp-file, epg-decrypt-string)
874 (epg-verify-string, epg-sign-string, epg-encrypt-string):
876 * jka-compr.el (jka-compr-partial-uncompress)
877 (jka-compr-call-process, jka-compr-write-region, jka-compr-load):
879 * server.el (server-sentinel): Use delete-file's new FORCE arg
882 2010-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
884 Use define-minor-mode where applicable.
885 * view.el (view-mode):
886 * type-break.el (type-break-query-mode)
887 (type-break-mode-line-message-mode):
888 * textmodes/reftex.el (reftex-mode):
889 * term/vt100.el (vt100-wide-mode):
890 * tar-mode.el (tar-subfile-mode):
891 * savehist.el (savehist-mode):
892 * ibuf-ext.el (ibuffer-auto-mode):
893 * composite.el (auto-composition-mode):
894 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
895 Use define-minor-mode.
896 (vhdl-mode): Use static mode-line format.
897 (vhdl-mode-line-update): Delete.
898 (vhdl-create-mode-menu, vhdl-activate-customizations)
899 (vhdl-hs-minor-mode): Don't bother calling it.
901 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
903 * simple.el (with-wrapper-hook): Move.
904 (buffer-substring-filters): Mark obsolete.
905 (filter-buffer-substring-functions): New variable.
906 (filter-buffer-substring): Use it. Remove unused arg `noprops'.
908 Use a mode-line spec rather than a static string in Semantic.
909 * cedet/semantic/util-modes.el:
910 (semantic-minor-modes-format): New var to replace...
911 (semantic-minor-modes-status): Remove.
912 (semantic-mode-line-update): Construct a mode-line spec rather than
913 a static string so that mouse buttons can be used on individual minor
914 modes and so that semantic-mode-line-update only needs to be called
915 when global settings are changed.
916 (semantic-add-minor-mode, semantic-toggle-minor-mode-globally):
917 Call semantic-mode-line-update.
918 (semantic-toggle-minor-mode-globally): Don't assume mode is on
919 minor-mode-alist, check semantic-minor-mode-alist as well.
920 (semantic-stickyfunc-mode, semantic-show-parser-state-auto-marker)
921 (semantic-show-parser-state-marker, semantic-show-parser-state-mode)
922 (semantic-show-unmatched-syntax-mode, semantic-highlight-edits-mode):
923 * cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
924 * cedet/semantic/idle.el (semantic-idle-scheduler-mode)
925 (define-semantic-idle-service, semantic-idle-summary-mode):
926 * cedet/semantic/decorate/mode.el (semantic-decoration-mode):
927 Don't call semantic-mode-line-update any more.
929 2010-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
931 Use define-minor-mode in CEDET where applicable.
933 * cedet/srecode/mode.el (srecode-minor-mode,global-srecode-minor-mode):
934 Use define-minor-mode.
936 * cedet/semantic/util-modes.el (semantic-add-minor-mode):
937 Remove unused arg `keymap' and code redundant with define-minor-mode.
938 (semantic-toggle-minor-mode-globally): Only handle arg -1 and 1.
939 (semantic-stickyfunc-mode, global-semantic-show-unmatched-syntax-mode)
940 (semantic-highlight-func-mode, global-semantic-show-parser-state-mode)
941 (global-semantic-highlight-edits-mode, semantic-highlight-edits-mode)
942 (semantic-show-unmatched-syntax-mode, semantic-show-parser-state-mode)
943 (global-semantic-stickyfunc-mode, global-semantic-highlight-func-mode):
944 Use define-minor-mode.
945 (semantic-stickyfunc-mode-setup, semantic-highlight-edits-mode-setup)
946 (semantic-show-unmatched-syntax-mode-setup)
947 (semantic-show-parser-state-mode-setup)
948 (semantic-highlight-func-mode-setup): Inline into sole caller.
950 * cedet/semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
951 (semantic-mru-bookmark-mode): Use define-minor-mode.
952 (semantic-mru-bookmark-mode-setup): Inline into sole caller.
954 * cedet/semantic/idle.el (define-semantic-idle-service):
955 Use define-minor-mode and inline setup function into its sole caller.
956 (semantic-idle-scheduler-mode-setup)
957 (semantic-idle-summary-mode-setup): Inline into sole caller.
958 (global-semantic-idle-scheduler-mode, semantic-idle-scheduler-mode):
959 Use define-minor-mode.
961 * cedet/semantic/decorate/mode.el (global-semantic-decoration-mode)
962 (semantic-decoration-mode): Use define-minor-mode.
963 (semantic-decoration-mode-setup): Inline into sole caller.
965 * cedet/ede/dired.el (ede-dired-minor-mode): Initialize in declaration.
966 (ede-dired-minor-mode): Use define-minor-mode and derived-mode-p.
967 (ede-dired-add-to-target): Use dolist.
969 2010-05-01 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
970 Michael Albinus <michael.albinus@gmx.de>
972 Implement compression for inline methods.
974 * net/tramp.el (tramp-inline-compress-start-size): New defcustom.
975 (tramp-copy-size-limit): Allow also nil.
976 (tramp-inline-compress-commands): New defconst.
977 (tramp-find-inline-compress, tramp-get-inline-compress)
978 (tramp-get-inline-coding): New defuns.
979 (tramp-get-remote-coding, tramp-get-local-coding): Remove,
980 replaced by `tramp-get-inline-coding'.
981 (tramp-handle-file-local-copy, tramp-handle-write-region)
982 (tramp-method-out-of-band-p): Use `tramp-get-inline-coding'.
984 2010-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
986 * bindings.el (mode-line-abbrev-mode, mode-line-auto-fill-mode):
987 Remove unused functions.
989 * emacs-lisp/lisp-mode.el (lisp-mode): Use define-derived-mode.
990 Set find-tag-default-function as a variable rather than a property.
992 * minibuffer.el (tags-completion-at-point-function): Move to etags.el.
993 * progmodes/etags.el (tags-completion-at-point-function):
994 Remove left over interactive spec. Add autoloading stub.
995 (complete-tag): Use tags-completion-at-point-function.
997 2010-04-30 Chong Yidong <cyd@stupidchicken.com>
999 * minibuffer.el (tags-completion-at-point-function): Fix return value.
1001 2010-04-30 Eli Zaretskii <eliz@gnu.org>
1003 * composite.el (compose-region, reference-point-alist): Fix typos
1006 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
1008 * ido.el (ido-init-completion-maps): Remove C-v binding.
1009 (ido-minibuffer-setup): Don't set cua-inhibit-cua-keys (Bug#5765).
1011 2010-04-29 Chong Yidong <cyd@stupidchicken.com>
1013 * minibuffer.el (tags-completion-at-point-function): New function.
1014 (completion-at-point-functions): Use it.
1016 * cedet/semantic.el (semantic-completion-at-point-function): New function.
1017 (semantic-mode): Use semantic-completion-at-point-function for
1018 completion-at-point-functions instead.
1020 * progmodes/etags.el (complete-tag): Revert last change.
1022 2010-04-29 Alan Mackenzie <acm@muc.de>
1024 * progmodes/cc-mode.el (c-extend-region-for-CPP): Fix an
1025 off-by-one error (in end of macro position).
1027 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
1029 * net/browse-url.el (browse-url-firefox-program): Use iceweasel if
1030 firefox is absent. Don't autoload.
1031 (browse-url-galeon-program): Don't autoload.
1033 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
1035 * bindings.el (complete-symbol): Move into minibuffer.el.
1037 * minibuffer.el (complete-tag): Move from etags.el. If tags
1038 completion cannot be performed, return nil instead of signalling
1040 (completion-at-point): Make it an alias for complete-symbol.
1041 (complete-symbol): Move from bindings.el, and replace with the
1042 body of completion-at-point.
1044 * progmodes/etags.el (complete-tag): Move to minibuffer.el.
1046 * cedet/semantic.el (semantic-mode): When enabled, add
1047 semantic-ia-complete-symbol to completion-at-point-functions.
1049 * cedet/semantic/ia.el (semantic-ia-complete-symbol): Return nil
1050 if Semantic is not active.
1052 2010-04-28 Michael Albinus <michael.albinus@gmx.de>
1054 * net/tramp.el (tramp-remote-selinux-p): New defun.
1055 (tramp-handle-file-selinux-context)
1056 (tramp-handle-set-file-selinux-context): Use it.
1058 2010-04-28 Sam Steingold <sds@gnu.org>
1060 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
1061 `safe-local-variable' if the value is a string or a symbol with
1062 the property `bug-reference-url-format'.
1064 2010-04-28 Chong Yidong <cyd@stupidchicken.com>
1066 * progmodes/bug-reference.el (bug-reference-url-format): Revert
1067 2010-04-27 change due to security risk.
1069 2010-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
1071 Make it possible to locally disable a globally enabled mode.
1072 * simple.el (fundamental-mode): Run fundamental-mode-hook.
1073 * emacs-lisp/derived.el (define-derived-mode): Use fundamental-mode
1074 rather than kill-all-local-variables so it runs fundamental-mode-hook.
1075 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1076 Use fundamental-mode-hook to run MODE-enable-in-buffers earlier, so
1077 that subsequent hooks get a chance to disable it.
1079 2010-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
1081 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
1082 Avoid re-enabling a minor mode after the user turned the minor mode
1083 off if MODE-enable-in-buffers is run twice (typically once from
1084 fundamental-mode's after-change-major-mode-hook and a second time from
1085 run-mode-hook's own after-change-major-mode-hook).
1087 * emacs-lisp/lisp.el (lisp-complete-symbol): Fail gracefully.
1089 2010-04-27 Sam Steingold <sds@gnu.org>
1091 * progmodes/bug-reference.el (bug-reference-url-format): Mark as
1092 `safe-local-variable' if the value is a string or a function, as
1093 documented and implemented on 2010-04-02.
1095 2010-04-27 Juanma Barranquero <lekktu@gmail.com>
1097 * ido.el (ido-buffer-internal): Bind `ido-use-virtual-buffers' to nil
1098 when method is 'kill.
1100 2010-04-27 Agustín Martín <agustin.martin@hispalinux.es>
1102 * ispell.el (ispell-init-process): Fix personal dictionary condition
1103 in default directory check.
1104 (ispell-init-process,ispell-kill-ispell,kill-buffer-hook):
1105 Kill ispell process when killing its associated buffer.
1107 2010-04-27 Jan Djärv <jan.h.d@swipnet.se>
1109 * desktop.el (desktop-kill): ask-if-new: Ask if desktop file exists,
1110 but we aren't using it.
1112 2010-04-25 Jan Djärv <jan.h.d@swipnet.se>
1114 * tool-bar.el (tool-bar-local-item-from-menu): Revert unintended
1115 checkin in 2010-04-23T16:26:11Z!monnier@iro.umontreal.ca.
1117 2010-04-24 Glenn Morris <rgm@gnu.org>
1119 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
1120 Ignore VCS-ignore files, and deleted nextstep preferences files.
1121 (authors-ignored-files): Ignore deleted cedet test files, and "*.el".
1122 (authors-ambiguous-files): New list.
1123 (authors-valid-file-names): Add some deleted files.
1124 (authors-renamed-files-alist): Add font-setting.el, edt-user.doc.
1125 (authors-disambiguate-file-name): New function. (Bug#5501)
1126 (authors-canonical-file-name): Doc fix.
1127 Don't warn about obsolete files.
1128 (authors-canonical-file-name, authors-scan-el):
1129 Use authors-disambiguate-file-name.
1131 * hfy-cmap.el (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
1132 Add autoload cookies.
1133 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values): Add docs.
1134 (generated-autoload-file): Set file-local value to "htmlfontify.el".
1135 * htmlfontify.el (caddr, cadddr): Remove fallback definitions.
1136 They have definitions / compiler macros in cl.el.
1137 (htmlfontify-load-rgb-file, hfy-fallback-colour-values):
1138 Replace manual autoloads with generated ones.
1139 (htmlfontify-unload-rgb-file): Remove autoload.
1140 * Makefile.in (autoloads): Ensure htmlfontify.el is writable.
1142 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
1144 * emacs-lisp/bytecomp.el (byte-compile-set-default): New function.
1145 (byte-compile-setq-default): Optimize for the
1146 single-var case and don't call byte-compile-form in this case to avoid
1147 inf-loop with byte-compile-set-default.
1149 * progmodes/compile.el (compilation-start): Abbreviate default directory.
1151 2010-04-23 Michael Albinus <michael.albinus@gmx.de>
1153 Implement SELINUX backends.
1155 * net/tramp.el (tramp-file-name-handler-alist):
1156 Add `file-selinux-context' and `set-file-selinux-context'.
1157 (tramp-handle-file-selinux-context)
1158 (tramp-handle-set-file-selinux-context): New defuns.
1159 (tramp-handle-copy-file, tramp-do-copy-or-rename-file):
1160 Handle PRESERVE-SELINUX-CONTEXT.
1162 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1163 Add `file-selinux-context' and `set-file-selinux-context'.
1164 (tramp-gvfs-handle-file-selinux-context)
1165 (tramp-gvfs-handle-set-file-selinux-context): New defuns.
1166 (tramp-gvfs-handle-copy-file): Handle PRESERVE-SELINUX-CONTEXT.
1168 * net/ange-ftp.el (ange-ftp-copy-file):
1169 * net/tramp-fish.el (tramp-fish-handle-copy-file):
1170 * net/tramp-imap.el (tramp-imap-handle-copy-file):
1171 * net/tramp-smb.el (tramp-smb-handle-copy-file):
1172 Add PRESERVE-SELINUX-CONTEXT.
1174 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
1176 Synchronize with Tramp repository.
1178 * net/tramp.el (with-connection-property, tramp-completion-mode-p)
1179 (tramp-action-process-alive, tramp-action-out-of-band)
1180 (tramp-check-for-regexp, tramp-file-name-p, tramp-equal-remote)
1181 (tramp-exists-file-name-handler): Fix docstring.
1182 (with-progress-reporter): New defmacro.
1183 (tramp-do-copy-or-rename-file, tramp-handle-dired-compress-file)
1184 (tramp-maybe-open-connection): Use it.
1186 2010-04-22 Noah Lavine <noah549@gmail.com> (tiny change)
1188 Detect ssh 'ControlMaster' argument automatically in some cases.
1190 * net/tramp.el (tramp-detect-ssh-controlmaster): New defun.
1191 (tramp-default-method): Use it.
1193 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
1195 * net/tramp.el (tramp-handle-copy-file): Add new optional
1196 parameter `preserve-selinux-context'.
1197 (tramp-file-name-for-operation): Add `set-file-selinux-context'.
1199 2010-04-22 Michael Albinus <michael.albinus@gmx.de>
1201 * net/tramp.el (tramp-completion-handle-file-name-all-completions):
1202 Ensure, that non remote files are still checked. Oops.
1204 2010-04-21 Michael Albinus <michael.albinus@gmx.de>
1208 * icomplete.el (icomplete-completions): Use `non-essential'.
1210 * net/tramp.el (tramp-connectable-p): New defun.
1211 (tramp-handle-expand-file-name)
1212 (tramp-completion-handle-file-name-all-completions)
1213 (tramp-completion-handle-file-name-completion): Use it.
1215 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1217 * emacs-lisp/lisp.el (lisp-completion-at-point): Try and handle errors.
1219 2010-04-21 Jan Djärv <jan.h.d@swipnet.se>
1221 * vc-dir.el (vc-dir-tool-bar-map): Add :label on some tool bar items.
1223 * tool-bar.el (tool-bar-setup): Add :label on some tool bar items.
1225 * loadup.el: Load dynamic-setting.el if feature dynamic-setting
1228 * info.el (info-tool-bar-map): Add labels.
1230 * cus-start.el (all): Add tool-bar-style and tool-bar-max-label-size.
1232 * cus-edit.el (custom-commands): Add labels for tool bar.
1233 (custom-buffer-create-internal, Custom-mode): Adjust for
1234 labels in custom-commands.
1236 * dynamic-setting.el: Renamed from font-setting.el.
1238 2010-04-21 John Wiegley <jwiegley@gmail.com>
1240 * ido.el (ido-init-completion-maps): For ido-switch-buffer, C-o
1241 toggles the use of virtual buffers.
1242 (ido-buffer-internal): Guard `ido-use-virtual-buffers' global
1244 (ido-toggle-virtual-buffers): New function.
1246 2010-04-21 Juanma Barranquero <lekktu@gmail.com>
1248 Use `define-derived-mode'; fix window selection; doc fixes.
1249 * play/tetris.el (tetris, tetris-update-speed-function)
1250 (tetris-tty-colors, tetris-x-colors, tetris-move-bottom)
1251 (tetris-move-left, tetris-move-right, tetris-rotate-prev)
1252 (tetris-rotate-next, tetris-end-game, tetris-start-game)
1253 (tetris-pause-game): Fix typos in docstrings.
1254 (tetris-mode-map, tetris-null-map):
1255 Move initialization into declaration.
1256 (tetris-mode): Define with `define-derived-mode';
1257 set show-trailing-whitespace to nil.
1258 (tetris): Prefer window already displaying the "*Tetris*" buffer.
1260 2010-04-21 Karel Klíč <kklic@redhat.com>
1262 * files.el (backup-buffer): Handle SELinux context, and return it
1263 if a backup was made by renaming.
1264 (backup-buffer-copy): Set SELinux context to the target file.
1265 (basic-save-buffer): Set SELinux context of the newly written file.
1266 (basic-save-buffer-1): Now it also returns any SELinux context.
1267 (basic-save-buffer-2): Set SELinux context of the newly created file,
1269 * net/tramp.el (tramp-file-name-for-operation):
1270 Add file-selinux-context.
1272 2010-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
1274 Make the log-edit comments use RFC822 format throughout.
1276 * vc.el (vc-checkin, vc-modify-change-comment):
1277 Adjust to new vc-start/finish-logentry.
1278 (vc-find-conflicted-file): New command.
1279 (vc-transfer-file): Adjust to new vc-checkin.
1280 (vc-next-action): Improve scoping.
1282 * vc-hg.el (vc-hg-log-edit-mode): Remove.
1283 (vc-hg-checkin): Remove extra arg. Use log-edit-extract-headers.
1285 * vc-git.el (vc-git-log-edit-mode): Remove.
1286 (vc-git-checkin): Remove extra arg. Use log-edit-extract-headers.
1287 (vc-git-commits-coding-system): Rename from git-commits-coding-system.
1289 * vc-dispatcher.el (vc-log-edit): Shorten names for log-edit-show-files.
1290 (vc-start-logentry): Remove argument `extra'.
1291 (vc-finish-logentry): Remove extra args.
1293 * vc-bzr.el (vc-bzr-log-edit-mode): Remove.
1294 (vc-bzr-checkin): Remove extra arg. Use log-edit-extract-headers.
1295 (vc-bzr-conflicted-files): New function.
1297 * log-edit.el (log-edit-extra-flags)
1298 (log-edit-before-checkin-process): Remove.
1299 (log-edit-summary, log-edit-header, log-edit-unknown-header): New faces.
1300 (log-edit-headers-alist): New var.
1301 (log-edit-header-contents-regexp): New const.
1302 (log-edit-match-to-eoh): New function.
1303 (log-edit-font-lock-keywords): Use them.
1304 (log-edit): Insert a "Summary:" header as default.
1305 (log-edit-mode): Mark font-lock rules as case-insensitive.
1306 (log-edit-done): Cleanup headers.
1307 (log-view-process-buffer): Remove.
1308 (log-edit-extract-headers): New function to replace it.
1310 2010-04-20 Juanma Barranquero <lekktu@gmail.com>
1312 * subr.el (default-direction-reversed): Remove obsolescence info.
1314 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
1316 * vc-dispatcher.el (vc-finish-logentry): Don't mess so badly with the
1319 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete around point.
1320 I.e. include text after point in the completion region.
1321 Also, return nil when we're not after/in a symbol.
1323 * international/mule-cmds.el (view-hello-file): Don't fiddle with the
1324 default enable-multibyte-characters.
1326 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1328 * international/mule.el: Help the user choose a valid coding-system.
1329 (read-buffer-file-coding-system): New function.
1330 (set-buffer-file-coding-system): Use it. Prompt the user if the
1331 coding-system cannot encode all the chars.
1333 * vc-bzr.el: Use standard *vc* and *vc-diff* buffers.
1334 (vc-bzr-shelve-show, vc-bzr-shelve-apply)
1335 (vc-bzr-shelve-apply-and-keep, vc-bzr-shelve-snapshot):
1336 Don't use *vc-bzr-shelve*.
1338 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
1340 * cedet/ede/pmake.el (ede-proj-makefile-insert-variables):
1341 Don't destroy list before using it.
1343 2010-04-19 Dan Nicolaescu <dann@ics.uci.edu>
1345 Fix the version number for added files.
1346 * vc-hg.el (vc-hg-working-revision): Check if the file is
1347 registered after hg parent fails (Bug#5961).
1349 2010-04-19 Glenn Morris <rgm@gnu.org>
1351 * htmlfontify.el (htmlfontify-buffer)
1352 (htmlfontify-copy-and-link-dir): Autoload entry points.
1354 2010-04-19 Magnus Henoch <magnus.henoch@gmail.com>
1356 * vc-hg.el (vc-hg-annotate-extract-revision-at-line): Expand file
1357 name relative to the project root (Bug#5960).
1359 2010-04-19 Glenn Morris <rgm@gnu.org>
1361 * vc-git.el (vc-git-print-log): Doc fix.
1363 2010-04-19 Óscar Fuentes <ofv@wanadoo.es>
1365 * ido.el (ido-file-internal): Fix 2009-12-02 change.
1367 2010-04-19 Christoph <cschol2112@googlemail.com> (tiny change)
1369 * progmodes/grep.el (grep-compute-defaults): Fix handling of host
1370 default settings (Bug#5928).
1372 2010-04-19 Glenn Morris <rgm@gnu.org>
1374 * progmodes/fortran.el (fortran-match-and-skip-declaration):
1376 (fortran-font-lock-keywords-3): Use it. (Bug#1385)
1378 2010-04-19 Kenichi Handa <handa@m17n.org>
1380 * language/indian.el (malayalam-composable-pattern): Fix previous
1381 change (add U+0D4D "SIGN VIRAMA").
1382 (oriya-composable-pattern): Add U+0B30 and fix typo in the regexp.
1383 (tamil-composable-pattern): Fix typo in the regexp.
1384 (telugu-composable-pattern): Fix U+0C4D and typo in the regexp.
1385 (kannada-composable-pattern): Fix U+0CB0 and typo in the regexp.
1386 (malayalam-composable-pattern): Fix U+0D4D and typo in the regexp.
1388 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
1390 * textmodes/tex-mode.el (latex-mode): Revert 2008-03-03 change to
1391 paragraph-separate (Bug#5821).
1393 2010-04-19 Juri Linkov <juri@jurta.org>
1395 Put breadcrumbs on overlay instead of inserting to buffer (bug#5809).
1397 * info.el (Info-find-node-2): Comment out code that skips
1399 (Info-mouse-follow-link): New command.
1400 (Info-link-keymap): New keymap.
1401 (Info-breadcrumbs): Rename from `Info-insert-breadcrumbs'.
1402 Return a string with links instead of inserting breadcrumbs
1404 (Info-fontify-node): Comment out code that inserts breadcrumbs.
1405 Instead of putting the `invisible' text property over the Info
1406 header, make an overlay over the Info header with the `invisible'
1407 property and `after-string' set to the string returned by
1410 2010-04-19 Chong Yidong <cyd@stupidchicken.com>
1412 * help.el (help-window-setup-finish): Doc fix (Bug#5830).
1413 Reported by monkey@sandpframing.com.
1415 2010-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
1417 * tmm.el (tmm-prompt): Remove obsolete call to x-popup-menu.
1418 (tmm-get-keymap): Add key-binding shortcuts now that they're not
1419 available in the "keyseq cache" any more.
1421 * custom.el (defcustom): Add edebug spec.
1423 2010-04-18 Juri Linkov <juri@jurta.org>
1425 Test for special mode-class in view-buffer instead of view-file (bug#5513).
1427 * view.el (view-file, view-buffer): Move test for special mode-class
1428 from view-file to view-buffer.
1430 * tar-mode.el (tar-extract): Turn if's into one cond
1431 like in arc-mode.el.
1433 2010-04-18 Juri Linkov <juri@jurta.org>
1435 Add 7z archive format support (bug#5475).
1437 * arc-mode.el (archive-zip-extract): Try to find 7z executable.
1438 (archive-7z-extract): New defcustom.
1439 (archive-find-type): Add magic string for 7z.
1440 (archive-extract-by-stdout): Add new optional arg `stderr-file'.
1441 If `stderr-file' is non-nil, use `(t stderr-file)' for the
1442 `buffer' arg of `call-process'.
1443 (archive-zip-extract): Check `archive-zip-extract' for "7z" and
1444 call the function `archive-7z-extract' with the variable
1445 `archive-7z-extract' let-bound to `archive-zip-extract'.
1446 (archive-7z-summarize, archive-7z-extract): New functions.
1448 * international/mule.el (auto-coding-alist):
1449 * files.el (auto-mode-alist): Add 7z file extension.
1451 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
1453 * loadup.el: Setup hash-cons for pure data.
1455 Fix duplicate entries in cedet's loaddefs.el files.
1456 * emacs-lisp/autoload.el (autoload-file-load-name): Be more clever.
1457 Should make most file-local generated-autoload-file unnecessary.
1458 (print-readably): Silence warnings.
1459 (autoload-find-destination): Take load-name as an arg to make sure
1460 it's the same as the one that will be in the file.
1461 (autoload-generate-file-autoloads): Adjust to above changes.
1462 Try to make the dataflow a bit simpler.
1464 * cvs-status.el (cvs-refontify): Remove unused.
1466 2010-04-18 Jay Belanger <jay.p.belanger@gmail.com>
1468 * calc.el (calc-mode-map): Bind "O" to `calc-missing-key'.
1470 * calc-bin.el (calc-radix): Have the "O" option turn on
1471 twos-complement mode.
1473 2010-04-17 Jay Belanger <jay.p.belanger@gmail.com>
1475 * calc-ext.el (calc-init-extensions): Add keybinding for 'calc-option'.
1476 Add `calc-option-prefix-help' to calc-help autoloads.
1477 (calc-inverse): Add "Option" to message, as appropriate.
1478 (calc-hyperbolic): Add "Option" to message, as appropriate.
1479 (calc-option, calc-is-option): New functions.
1481 * calc-help.el (calc-full-help): Add `calc-option-help'.
1482 (calc-option-prefix-help): New function.
1484 * calc-misc.el (calc-help): Add "Option" entry.
1486 * calc.el (calc-local-var-list): Add `calc-option-flag'.
1487 (calc-option-flag): New variable.
1488 (calc-do): Set `calc-option-flag to nil.
1489 (calc-set-mode-line): Add "Opt " as appropriate.
1491 2010-04-16 Juri Linkov <juri@jurta.org>
1493 Move scrolling commands from simple.el to window.el
1494 because their primitives are implemented in window.c.
1496 * simple.el (scroll-error-top-bottom)
1497 (scroll-up-command, scroll-down-command, scroll-up-line)
1498 (scroll-down-line, scroll-other-window-down)
1499 (beginning-of-buffer-other-window, end-of-buffer-other-window):
1500 * window.el (scroll-error-top-bottom)
1501 (scroll-up-command, scroll-down-command, scroll-up-line)
1502 (scroll-down-line, scroll-other-window-down)
1503 (beginning-of-buffer-other-window, end-of-buffer-other-window):
1504 Move from simple.el to window.el because their primitives are
1505 implemented in window.c.
1507 2010-04-16 Juri Linkov <juri@jurta.org>
1509 * isearch.el (isearch-lookup-scroll-key): Check both
1510 `isearch-scroll' and `scroll-command' properties.
1511 (scroll-up, scroll-down): Remove `isearch-scroll' property.
1513 * mwheel.el (mwheel-scroll): Remove `isearch-scroll' property.
1515 * simple.el (scroll-up-command, scroll-down-command)
1516 (scroll-up-line, scroll-down-line): Remove `isearch-scroll' property.
1518 2010-04-15 Juri Linkov <juri@jurta.org>
1520 * simple.el (scroll-up-command, scroll-down-command)
1521 (scroll-up-line, scroll-down-line): Put `scroll-command'
1522 property on the these symbols. Remove them from
1523 `scroll-preserve-screen-position-commands'.
1525 * mwheel.el (mwheel-scroll): Put `scroll-command' and
1526 `isearch-scroll' properties on the `mwheel-scroll' symbol.
1527 Remove it from `scroll-preserve-screen-position-commands'.
1529 * isearch.el (isearch-allow-scroll): Doc fix.
1531 2010-04-15 Michael Albinus <michael.albinus@gmx.de>
1533 * net/tramp.el (tramp-error-with-buffer): Don't show the
1534 connection buffer when we are in completion mode.
1535 (tramp-file-name-handler): Catch the error for some operations
1536 when we are in completion mode. This gives the user the chance to
1537 correct the file name in the minibuffer.
1539 2010-04-15 Glenn Morris <rgm@gnu.org>
1541 * progmodes/verilog-mode.el (verilog-forward-sexp): Avoid free variable.
1543 2010-04-15 Juanma Barranquero <lekktu@gmail.com>
1545 Simplify by using `define-derived-mode'.
1546 * info.el (Info-mode):
1547 * calendar/todo-mode.el (todo-mode):
1548 * play/gomoku.el (gomoku-mode): Define with `define-derived-mode'.
1549 (gomoku-mode-map): Move initialization into declaration.
1551 2010-04-14 Michael Albinus <michael.albinus@gmx.de>
1554 * ido.el (ido-file-name-all-completions-1):
1555 * minibuffer.el (minibuffer-completion-help):
1556 * net/tramp.el (tramp-completion-mode-p): Use `non-essential'.
1558 2010-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
1560 * simple.el (non-essential): New var.
1562 Add a new field `location' to bookmarks for non-file bookmarks.
1563 * bookmark.el (bookmark-location): Use the new field, if present.
1564 (bookmark-insert-location): Undo last change, not needed any more.
1565 * man.el (Man-bookmark-make-record):
1566 * woman.el (woman-bookmark-make-record): Add `location' field.
1568 2010-04-14 Juri Linkov <juri@jurta.org>
1570 * simple.el (scroll-error-top-bottom): New defcustom.
1571 (scroll-up-command, scroll-down-command): Use it. Doc fix.
1573 * emulation/pc-select.el (pc-select-override-scroll-error):
1574 Obsolete in favor of `scroll-error-top-bottom'.
1576 2010-04-14 Juri Linkov <juri@jurta.org>
1578 * tutorial.el (tutorial--default-keys): Rebind `C-v' to
1579 `scroll-up-command' and `M-v' to `scroll-down-command'.
1581 * emulation/cua-rect.el (cua--init-rectangles):
1582 * forms.el (forms--change-commands):
1583 * image-mode.el (image-mode-map):
1584 Remap scroll-down-command and scroll-up-command
1585 in addition to scroll-down and scroll-up.
1587 2010-04-14 Juri Linkov <juri@jurta.org>
1589 * mwheel.el (scroll-preserve-screen-position-commands):
1590 Add mwheel-scroll to this list of commands.
1592 * simple.el (scroll-preserve-screen-position-commands):
1593 Add scroll-up-command, scroll-down-command, scroll-up-line,
1594 scroll-down-line to this list of commands.
1596 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
1598 * obsolete/complete.el: Move from lisp/complete.el.
1600 * pcomplete.el (pcomplete-here*): Fix mistaken change (bug#5935).
1602 * emacs-lisp/easy-mmode.el (define-minor-mode): Passing a nil argument
1603 to the minor mode function now turns the mode ON unconditionally.
1605 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
1607 * vc-dir.el (vc-dir-kill-line): New command.
1608 (vc-dir-mode-map): Bind it to C-k.
1610 * bookmark.el (bookmark-insert-location): Handle a nil filename.
1612 * woman.el: Add bookmark declarations to silence the compiler.
1613 (bookmark-prop-get): Use `man-args' rather than `filename' as a first
1614 step to compatibility between man and woman bookmarks.
1615 Adjust for Man-default-bookmark-title renaming.
1616 (woman-bookmark-jump): Adjust accordingly. Don't forget to autoload.
1618 * man.el: Add bookmark declarations to silence the compiler.
1619 (Man-name-local-regexp): Make it match NAME as well.
1620 (Man-getpage-in-background): Return the buffer.
1621 (Man-notify-when-ready): Use `case'.
1622 (man-set-default-bookmark-title): Rename to Man-default-bookmark-title.
1623 Don't hardcode "NAME". Simplify.
1624 (Man-bookmark-make-record): Use Man-arguments rather than buffer-name.
1625 Rename from Man-bookmark-make-record.
1626 (Man-bookmark-jump): Rename from man-bookmark-jump. Simplify now that
1627 we have the actual man-args. Use Man-getpage-in-background rather
1628 than `man' since the arg is already processed. Let bookmark.el do the
1629 window handling. Only wait for the relevant process.
1630 Don't forget to autoload.
1632 * bookmark.el (bookmark-default-file): Use locate-user-emacs-file.
1634 2010-04-12 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1636 * woman.el (woman-bookmark-make-record, woman-bookmark-jump):
1638 (woman-mode): Setup bookmark support.
1640 * man.el (man-set-default-bookmark-title, man-bookmark-make-record)
1641 (man-bookmark-jump): New functions.
1642 (Man-mode): Setup bookmark support.
1644 2010-04-10 Jari Aalto <jari.aalto@cante.net>
1646 * comint.el (comint-password-prompt-regexp): Use regexp-opt, and
1647 recognize ssh-keygen prompt (Bug#2817).
1649 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
1651 * net/tramp.el (tramp-do-copy-or-rename-file): Add progress reporter.
1653 2010-04-10 Michael Albinus <michael.albinus@gmx.de>
1655 Synchronize with Tramp repository.
1657 * net/tramp.el (tramp-completion-function-alist)
1658 (tramp-file-name-regexp, tramp-chunksize)
1659 (tramp-local-coding-commands, tramp-remote-coding-commands):
1661 (tramp-remote-process-environment): Use `format' instead of `concat'.
1662 (tramp-handle-directory-files-and-attributes)
1663 (tramp-get-remote-path): Use `copy-tree'.
1664 (tramp-handle-file-name-all-completions): Backward/ XEmacs
1665 compatibility: Use `completion-ignore-case' if
1666 `read-file-name-completion-ignore-case' does not exist.
1667 (tramp-do-copy-or-rename-file-directly): Do not use
1668 `tramp-handle-file-remote-p'.
1669 (tramp-do-copy-or-rename-file-out-of-band):
1670 Use `tramp-compat-delete-directory'.
1671 (tramp-do-copy-or-rename-file-out-of-band)
1672 (tramp-compute-multi-hops, tramp-maybe-open-connection):
1673 Use `format-spec-make'.
1674 (tramp-find-foreign-file-name-handler)
1675 (tramp-advice-make-auto-save-file-name)
1676 (tramp-set-auto-save-file-modes): Remove superfluous check for
1677 `stringp'. This is done inside `tramp-tramp-file-p'.
1678 (tramp-debug-outline-regexp): New defconst.
1679 (tramp-get-debug-buffer): Use it.
1680 (tramp-check-for-regexp): Use (forward-line 1).
1681 (tramp-set-auto-save-file-modes): Adapt version check.
1683 * net/tramp-compat.el (tramp-advice-file-expand-wildcards):
1684 Wrap call of `featurep' for 2nd argument.
1685 (tramp-compat-make-temp-file): Simplify fallback implementation.
1686 (tramp-compat-copy-tree): Remove function.
1687 (tramp-compat-delete-directory): Provide implementation for older
1690 * net/tramp-fish.el (tramp-fish-handle-directory-files-and-attributes):
1691 Do not use `tramp-fish-handle-file-attributes.
1693 * net/trampver.el: Update release number.
1695 2010-04-10 Glenn Morris <rgm@gnu.org>
1697 * progmodes/compile.el (compilation-save-buffers-predicate):
1698 Add missing :version tag.
1700 2010-04-09 Sam Steingold <sds@gnu.org>
1702 * progmodes/compile.el (compilation-save-buffers-predicate):
1703 Remove the "autoload" cookie.
1705 * progmodes/bug-reference.el (turn-on-bug-reference-mode)
1706 (turn-on-bug-reference-prog-mode): Remove, `bug-reference-mode'
1707 and `bug-reference-prog-mode' can be used in hooks directly.
1709 2010-04-09 Dan Nicolaescu <dann@ics.uci.edu>
1711 Add --author support to git commit.
1712 * vc-git.el (vc-git-checkin): Pass extra-args to the commit command.
1713 (vc-git-log-edit-mode): New minor mode.
1714 (log-edit-mode, log-edit-extra-flags, log-edit-mode):
1717 2010-04-09 Eric Raymond <esr@snark.thyrsus.com>
1719 * vc-hooks.el, vc-git.el: Improve documentation comments.
1721 2010-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
1723 Fix some of the problems in defsubst* (bug#5728).
1724 * emacs-lisp/cl-macs.el (defsubst*): Don't substitute non-trivial args.
1725 (cl-defsubst-expand): Do the substitutions simultaneously (bug#5728).
1727 2010-04-07 Sam Steingold <sds@gnu.org>
1729 * progmodes/compile.el (compilation-save-buffers-predicate):
1730 New custom variable.
1731 (compile, recompile): Pass it to `save-some-buffers'.
1733 2010-04-07 Jan Djärv <jan.h.d@swipnet.se>
1735 * wid-edit.el (widget-choose): Move cursor to the second line of
1736 the buffer (Bug#5695).
1738 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
1740 Add new VC methods: vc-log-incoming and vc-log-outgoing.
1741 * vc.el (vc-print-log-setup-buttons): New function split out from
1742 vc-print-log-internal.
1743 (vc-log-internal-common): New function, a parametrized version of
1744 vc-print-log-internal.
1745 (vc-print-log-internal): Just call vc-log-internal-common with the
1747 (vc-incoming-outgoing-internal):
1748 (vc-log-incoming, vc-log-outgoing): New functions.
1749 (vc-log-view-type): New permanent local variable.
1751 * vc-hooks.el (vc-menu-map): Bind vc-log-incoming and vc-log-outgoing.
1753 * vc-bzr.el (vc-bzr-log-view-mode): Use vc-log-view-type instead
1754 of the dynamic bound vc-short-log.
1755 (vc-bzr-log-incoming, vc-bzr-log-outgoing): New functions.
1757 * vc-git.el (vc-git-log-outgoing): New function.
1758 (vc-git-log-view-mode): Use vc-log-view-type instead
1759 of the dynamic bound vc-short-log.
1761 * vc-hg.el (vc-hg-log-view-mode): Use vc-log-view-type instead
1762 of the dynamic bound vc-short-log. Highlight the tag.
1763 (vc-hg-log-incoming, vc-hg-log-outgoing): New functions.
1764 (vc-hg-outgoing, vc-hg-incoming, vc-hg-outgoing-mode):
1765 (vc-hg-incoming-mode): Remove.
1766 (vc-hg-extra-menu-map): Do not bind vc-hg-incoming and vc-hg-outgoing.
1768 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu>
1770 Fix default-directory for vc-root-diff.
1771 * vc.el (vc-root-diff): Bind default-directory to the root
1772 directory for the diff command.
1774 2010-04-07 Michael McNamara <mac@mail.brushroad.com>
1776 * progmodes/verilog-mode.el (verilog-forward-sexp):
1777 (verilog-calc-1): Support "disable fork" and "fork wait" multi
1778 word keywords, suggested by Steve Pearlmutter.
1779 (verilog-pretty-declarations): Support lineup of declarations in
1781 (verilog-skip-backward-comments, verilog-skip-forward-comment-p):
1782 fix bug for /* / comments
1783 (verilog-backward-syntactic-ws, verilog-forward-syntactic-ws):
1784 Speed up and simplfy as this is never called with a bound.
1785 (verilog-pretty-declarations): Enhance to line up declarations
1786 inside a parameter list, suggested by Alan Morgan.
1787 (verilog-pretty-expr): Tune assignment regular expression match
1788 string for corner cases; also use markers instead of character
1789 number as indent changes the later.
1791 2010-04-07 Wilson Snyder <wsnyder@wsnyder.org>
1793 * progmodes/verilog-mode.el (verilog-type-keywords): Fix pulldown
1795 (verilog-read-sub-decls-line): Fix comments in AUTO_TEMPLATE
1796 causing truncation of AUTOWIRE signals. Reported by Bruce Tennant.
1797 (verilog-auto-inst, verilog-auto-inst-port): Add vl_mbits for
1798 AUTO_TEMPLATEs needing multiple array bits. Suggested by Bruce
1801 (verilog-1800-2005-keywords, verilog-1800-2009-keywords): Add IEEE
1802 1800-2009 keywords, including "global.".
1804 2010-04-06 John Wiegley <jwiegley@gmail.com>
1806 * ido.el (ido-add-virtual-buffers-to-list): Fix duplicated names
1807 appearing in buffer list (if a live buffer name matched a recentf
1808 file basename). Should use uniquify to offer a real solution.
1810 2010-04-06 John Wiegley <jwiegley@gmail.com>
1812 * ido.el (ido-use-virtual-buffers, ido-virtual): Move a ChangeLog
1813 comment to code, and add a :version tag.
1814 (ido-virtual-buffers): Move defvar to fix byte-compiler warning.
1816 2010-04-06 Juanma Barranquero <lekktu@gmail.com>
1818 Enable recentf-mode if using virtual buffers.
1819 * ido.el (recentf-list): Declare for byte-compiler.
1820 (ido-virtual-buffers): Move up to silence byte-compiler. Add docstring.
1821 (ido-make-buffer-list): Simplify.
1822 (ido-add-virtual-buffers-to-list): Simplify. Enable recentf-mode.
1824 2010-04-05 Juri Linkov <juri@jurta.org>
1826 Scrolling commands which scroll a line instead of full screen.
1827 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
1829 * simple.el (scroll-up-line, scroll-down-line): New commands.
1830 Put property isearch-scroll=t on them.
1832 * emulation/ws-mode.el (scroll-down-line, scroll-up-line):
1835 2010-04-05 Juri Linkov <juri@jurta.org>
1837 Scrolling commands which do not signal errors at top/bottom.
1838 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01452.html
1840 * simple.el (scroll-up-command, scroll-down-command): New commands.
1841 Put property isearch-scroll=t on them.
1843 * bindings.el (global-map): Rebind [prior] from `scroll-down' to
1844 `scroll-down-command' and [next] from `scroll-up' to
1845 `scroll-up-command'.
1847 * emulation/cua-base.el: Put property CUA=move on
1848 `scroll-up-command' and `scroll-down-command'.
1849 (cua--init-keymaps): Remap `scroll-up-command' to `cua-scroll-up'
1850 and `scroll-down-command' to `cua-scroll-down'.
1852 2010-04-05 Juanma Barranquero <lekktu@gmail.com>
1854 * help.el (describe-mode): Return nil.
1856 2010-04-04 John Wiegley <jwiegley@gmail.com>
1858 * ido.el (ido-use-virtual-buffers): New variable to indicate
1859 whether "virtual buffer" support is enabled for IDO.
1860 (ido-virtual): Face used to indicate virtual buffers in the list.
1861 (ido-buffer-internal): If a buffer is chosen, and no such buffer
1862 exists, but a virtual buffer of that name does (which would be why
1863 it was in the list), recreate the buffer by reopening the file.
1864 (ido-make-buffer-list): If virtual buffers are being used, call
1865 `ido-add-virtual-buffers-to-list' before the make list hook.
1866 (ido-virtual-buffers): New variable which contains a copy of the
1867 current contents of the `recentf-list', albeit pared down for the
1868 sake of speed, and with proper faces applied.
1869 (ido-add-virtual-buffers-to-list): Using the `recentf-list',
1870 create a list of "virtual buffers" to present to the user in
1871 addition to the currently open set. Note that this logic could
1872 get rather slow if that list is too large. With the default
1873 `recentf-max-saved-items' of 200, there is little speed penalty.
1875 2010-04-03 Stefan Monnier <monnier@iro.umontreal.ca>
1877 * font-lock.el: Require CL when compiling.
1878 (font-lock-turn-on-thing-lock): Use `case'.
1880 2010-04-03 Eli Zaretskii <eliz@gnu.org>
1882 * emacs-lisp/authors.el (authors-fixed-entries): Add entry for Eli
1885 2010-04-02 Juanma Barranquero <lekktu@gmail.com>
1887 * cedet/semantic/imenu.el (semantic-imenu-bucketize-type-members)
1888 (semantic-create-imenu-directory-index): Fix typos in docstrings.
1889 (semantic-imenu-goto-function): Reflow docstring.
1891 2010-04-02 Juri Linkov <juri@jurta.org>
1893 * ehelp.el (electric-help-orig-major-mode):
1894 New buffer-local variable.
1895 (electric-help-mode): Set it to original major-mode. Doc fix.
1896 (with-electric-help): Use `electric-help-orig-major-mode' instead
1897 of (default-value 'major-mode). Doc fix.
1898 http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00069.html
1900 2010-04-02 Sam Steingold <sds@gnu.org>
1902 * vc-hg.el (vc-hg-push, vc-hg-pull): Use `apply' when calling
1903 `vc-hg-command' with a list of flags.
1905 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1906 Also accept "patch" and "RFE".
1907 (bug-reference-fontify): `bug-reference-url-format' can also be a
1908 function to be able to handle the bug kind.
1909 (turn-on-bug-reference-mode, turn-on-bug-reference-prog-mode): Add.
1911 2010-04-02 Jan Djärv <jan.h.d@swipnet.se>
1913 * tmm.el (tmm-get-keymap): Check with symbolp before passing
1914 value to fboundp, it may not be a symbol.
1916 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
1918 * cus-edit.el (custom-buffer-sort-alphabetically): Update :version.
1920 2010-03-31 Juri Linkov <juri@jurta.org>
1922 * simple.el (next-line, previous-line): Re-throw a signal
1923 with `signal' instead of using `ding'.
1924 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01432.html
1926 2010-03-31 Juri Linkov <juri@jurta.org>
1928 * simple.el (keyboard-escape-quit): Raise deselecting the active
1929 region higher than exiting the minibuffer.
1930 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00904.html
1932 2010-03-31 Juri Linkov <juri@jurta.org>
1934 * image.el (image-animated-p): Use `image-metadata' instead of
1935 `image-extension-data'. Get GIF extenstion data from metadata
1936 property `extension-data'.
1938 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1940 * simple.el (append-to-buffer): Simplify.
1942 2010-03-31 Tomas Abrahamsson <tab@lysator.liu.se>
1944 * textmodes/artist.el (artist-mode): Fix typo in docstring.
1945 Reported by Alex Schröder <kensanata@gmail.com>. (Bug#5807)
1947 2010-03-31 Kenichi Handa <handa@m17n.org>
1949 * language/sinhala.el (composition-function-table): Fix regexp for
1950 the new Unicode specification.
1952 * language/indian.el (devanagari-composable-pattern)
1953 (tamil-composable-pattern, kannada-composable-pattern)
1954 (malayalam-composable-pattern): Adjust for the new Unicode
1956 (bengali-composable-pattern, gurmukhi-composable-pattern)
1957 (gujarati-composable-pattern, oriya-composable-pattern)
1958 (telugu-composable-pattern): New variables to cope with the new
1959 Unicode specification. Use them in composition-function-table.
1961 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
1963 Make tmm-menubar work for the Buffers menu again (bug#5726).
1964 * tmm.el (tmm-prompt): Also handle keymap entries in the form of
1965 vectors rather than cons cells, as used in menu-bar-update-buffers.
1967 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
1969 * progmodes/js.el (js-auto-indent-flag, js-mode-map)
1970 (js-insert-and-indent): Revert 2009-08-15 change, restoring
1971 electric punctuation for "{}();,:" (Bug#5586).
1973 * mail/sendmail.el (mail-default-directory): Doc fix.
1975 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
1977 * mail/sendmail.el (mail-default-directory): Doc fix.
1979 2010-03-31 Eli Zaretskii <eliz@gnu.org>
1981 * subr.el (version-regexp-alist, version-to-list)
1982 (version-list-<, version-list-=, version-list-<=)
1983 (version-list-not-zero, version<, version<=, version=): Doc fix.
1986 2010-02-31 Dan Nicolaescu <dann@ics.uci.edu>
1988 * vc.el (vc-root-diff): Doc fix.
1990 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
1992 * vc.el (vc-print-log, vc-print-root-log): Doc fix.
1994 * simple.el (append-to-buffer): Fix last change.
1996 2010-03-31 Chong Yidong <cyd@stupidchicken.com>
1998 * simple.el (append-to-buffer): Ensure that point is preserved if
1999 BUFFER is the current buffer. Suggested by YAMAMOTO Mitsuharu.
2002 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
2004 * files.el (auto-mode-case-fold): Change default to t.
2006 2010-03-30 Juri Linkov <juri@jurta.org>
2008 * dired-x.el (dired-omit-mode): Doc fix.
2010 2010-03-30 Juri Linkov <juri@jurta.org>
2012 * replace.el (occur-accumulate-lines): Move occur-engine related
2013 functions `occur-accumulate-lines' and `occur-engine-add-prefix'
2014 to be located after `occur-engine'.
2016 2010-03-30 Juri Linkov <juri@jurta.org>
2018 Make occur handle multi-line matches cleanly with context.
2019 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01280.html
2021 * replace.el (occur-accumulate-lines): Add optional arg `pt'.
2022 (occur-engine): Add local variables `ret', `prev-after-lines',
2023 `prev-lines'. Use more arguments for `occur-context-lines'.
2024 Set first elem of its returned list to `data', and the second elem
2025 to `prev-after-lines'. Don't print the separator line.
2026 In the end, print remaining context after-lines.
2027 (occur-context-lines): Add new arguments `begpt', `endpt',
2028 `lines', `prev-lines', `prev-after-lines'. Rewrite to combine
2029 after-lines of the previous match with before-lines of the
2030 current match and not overlap them. Return a list with two
2031 values: the output line and the list of context after-lines.
2033 2010-03-30 Juri Linkov <juri@jurta.org>
2035 * replace.el (occur-accumulate-lines): Fix a bug where the first
2036 context line at the beginning of the buffer was missing.
2038 2010-03-30 Eli Zaretskii <eliz@gnu.org>
2040 * files.el: Make bidi-display-reordering safe variable for boolean
2043 2010-03-29 Phil Hagelberg <phil@evri.com>
2044 Chong Yidong <cyd@stupidchicken.com>
2046 * subr.el: Extend progress reporters to perform "spinning".
2047 (progress-reporter-update, progress-reporter-do-update):
2048 Handle non-numeric value arguments.
2049 (progress-reporter--pulse-characters): New var.
2051 2010-03-28 Chong Yidong <cyd@stupidchicken.com>
2053 * progmodes/compile.el (compilation-start): Fix regexp detection
2054 of initial cd command (Bug#5771).
2056 2010-03-28 Stefan Guath <stefan@automata.se> (tiny change)
2058 * find-dired.el (find-dired): Use read-directory-name (Bug#5777).
2060 2010-03-27 Nick Roberts <nickrob@snap.net.nz>
2062 Restore GDB/MI fuctionality removed by 2009-12-29T07:15:34Z!nickrob@snap.net.nz.
2063 * lisp/progmodes/gdb-mi.el: Restore.
2064 * lisp/progmodes/gdb-ui.el: Remove.
2065 * lisp/progmodes/gud.el: Re-accommodate for gdb-mi.el.
2067 2010-03-25 Glenn Morris <rgm@gnu.org>
2069 * desktop.el (desktop-save-buffer-p): Don't mistakenly include
2070 all dired buffers, even tramp ones. (Bug#5755)
2072 2010-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
2074 Add "union tags" in mpc.el.
2075 * mpc.el: Remove backward compatibility code.
2076 (mpc-browser-tags): Change default.
2077 (mpc--find-memoize-union-tags): New var.
2078 (mpc-cmd-flush, mpc-cmd-special-tag-p): New fun.
2079 (mpc-cmd-find): Handle the case where the playlist does not exist.
2081 (mpc-cmd-list): Use mpc-cmd-special-tag-p. Handle union-tags.
2082 (mpc-cmd-add): Use mpc-cmd-flush.
2083 (mpc-tagbrowser-tag-name): New fun.
2084 (mpc-tagbrowser-buf): Use it.
2085 (mpc-songs-refresh): Use cond. Move to point-min as a fallback.
2087 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
2090 * progmodes/make-mode.el (makefile-bsdmake-rule-action-regex):
2091 Use replace-regexp-in-string.
2092 (makefile-mode-abbrev-table): Merge defvar and define-abbrev-table.
2093 (makefile-imake-mode-syntax-table): Move init into defvar.
2094 (makefile-mode): Use define-derived-mode.
2096 * progmodes/make-mode.el (makefile-rule-action-regex): Backtrack less.
2097 (makefile-make-font-lock-keywords): Adjust rule since submatch 1 may
2098 not be present any more.
2100 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
2102 * faces.el (set-face-attribute): Fix typo in docstring.
2103 (face-valid-attribute-values): Reflow docstring.
2105 * cedet/srecode/table.el (srecode-template-table): Fix docstring typo.
2107 2010-03-24 Glenn Morris <rgm@gnu.org>
2109 * textmodes/flyspell.el (sgml-lexical-context): Autoload it (Bug#5752).
2111 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
2113 * indent.el (indent-for-tab-command): Doc fix.
2115 2010-03-24 Alan Mackenzie <acm@muc.de>
2117 * progmodes/cc-engine.el (c-remove-stale-state-cache):
2118 Fix off-by-one error. Fixes bug #5747.
2120 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
2122 * image-dired.el (image-dired-display-thumbs): Fix typo in docstring.
2123 (image-dired-read-comment): Doc fix.
2125 * json.el (json-object-type, json-array-type, json-key-type)
2126 (json-false, json-null, json-read-number):
2127 * minibuffer.el (completion-in-region-functions):
2128 * calendar/cal-tex.el (cal-tex-daily-end, cal-tex-number-weeks)
2129 (cal-tex-cursor-week):
2130 * emacs-lisp/trace.el (trace-function):
2131 * eshell/em-basic.el (eshell/printnl):
2132 * eshell/em-dirs.el (eshell-last-dir-ring, eshell-parse-drive-letter)
2133 (eshell-read-last-dir-ring, eshell-write-last-dir-ring):
2134 * obsolete/levents.el (allocate-event, event-key, event-object)
2135 (event-point, event-process, event-timestamp, event-to-character)
2136 (event-window, event-x, event-x-pixel, event-y, event-y-pixel):
2137 * textmodes/reftex-vars.el (reftex-index-macros-builtin)
2138 (reftex-section-levels, reftex-auto-recenter-toc, reftex-toc-mode-hook)
2139 (reftex-cite-punctuation, reftex-search-unrecursed-path-first)
2140 (reftex-highlight-selection): Fix typos in docstrings.
2142 2010-03-24 Juanma Barranquero <lekktu@gmail.com>
2144 * minibuffer.el (completion-in-region-functions): Fix docstring typos.
2146 2010-03-24 Glenn Morris <rgm@gnu.org>
2148 * mail/rmail.el (rmail-highlight-face): Restore option deleted
2149 2008-02-13 without comment; mark it obsolete.
2150 (rmail-highlight-headers): Use rmail-highlight-face once more.
2152 2010-03-24 Chong Yidong <cyd@stupidchicken.com>
2154 * woman.el (woman2-process-escapes): Only consume the newline if
2155 the filler character is on a line by itself (Bug#5729).
2157 2010-03-24 Kenichi Handa <handa@m17n.org>
2159 * language/indian.el (devanagari-composable-pattern): Add more
2162 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
2164 * net/trampver.el: Update release number.
2166 2010-03-24 Glenn Morris <rgm@gnu.org>
2168 * Makefile.in (ELCFILES): Add cedet/semantic/imenu.el.
2170 2010-03-24 Michael Albinus <michael.albinus@gmx.de>
2172 * net/tramp.el (tramp-find-executable):
2173 Use `tramp-get-connection-buffer'. Make the regexp for checking
2174 output of "wc -l" more robust.
2175 (tramp-find-shell): Use another shell but /bin/sh on OpenSolaris.
2176 (tramp-open-connection-setup-interactive-shell): Remove workaround
2177 for OpenSolaris bug, it is not needed anymore.
2179 2010-03-24 Eric M. Ludlam <zappo@gnu.org>
2181 * cedet/semantic/imenu.el: New file, from the CEDET repository
2184 2010-03-24 Glenn Morris <rgm@gnu.org>
2186 * emacs-lisp/cl-macs.el (defsubst*): Add autoload cookie. (Bug#4427)
2188 2010-03-24 Wilson Snyder <wsnyder@wsnyder.org>
2190 * files.el (auto-mode-alist): Accept more verilog file patterns.
2192 2010-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
2194 * vc-dir.el (vc-dir-headers): Abbreviate the working dir.
2196 2010-03-24 Glenn Morris <rgm@gnu.org>
2198 * vc-bzr.el (vc-bzr-log-edit-mode): Add --fixes support to
2199 log-edit-before-checkin-process.
2201 * vc.el (vc-modify-change-comment): Pass MODE to vc-start-logentry.
2203 * vc.el, vc-bzr.el, vc-hg.el (log-edit-mode): Declare.
2205 * vc-dispatcher.el (vc-start-logentry): Doc fix.
2206 (log-view-process-buffer, log-edit-extra-flags): Declare.
2208 * log-edit.el (log-edit-before-checkin-process): Doc fix.
2210 * cedet/semantic/bovine/c.el (semantic-c-describe-environment):
2211 Consistently check ede-object is bound throughout.
2213 * cedet/ede/project-am.el (ede-shell-run-something): Declare.
2215 2010-03-23 Sam Steingold <sds@gnu.org>
2217 Fix bug#5620: recalculate all markers on compilation buffer
2218 modifications, not on file modifications.
2219 * progmodes/compile.el (buffer-modtime): New buffer-local variable:
2220 the buffer modification time, for buffers not associated with files.
2221 (compilation-mode): Create it.
2222 (compilation-filter): Update it.
2223 (compilation-next-error-function): Use it instead of
2224 `visited-file-modtime' for timestamp.
2226 2010-03-23 Juri Linkov <juri@jurta.org>
2228 Implement Occur multi-line matches.
2229 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg01044.html
2231 * replace.el (occur): Doc fix.
2232 (occur-engine): Set `begpt' to the beginning of the first line.
2233 Set `endpt' to the end of the last match line. At first, count
2234 line numbers between `origpt' and `begpt'. Split out code from
2235 `out-line' variable to new let-bindings `match-prefix' and
2236 `match-str'. In `out-line' add non-numeric prefix to all
2237 non-first lines of multi-line matches. Finally, count lines
2238 between `begpt' and `endpt' and add to `lines'.
2240 2010-03-23 Juri Linkov <juri@jurta.org>
2242 * replace.el (occur-accumulate-lines, occur-engine):
2243 Use `occur-engine-line' instead of duplicate code.
2244 (occur-engine-line): New function created from duplicate code
2245 in `occur-accumulate-lines' and `occur-engine'.
2247 * replace.el (occur-engine-line): Add optional arg `keep-props'.
2248 (occur-accumulate-lines, occur-engine): Add arg `keep-props'.
2250 2010-03-23 Juri Linkov <juri@jurta.org>
2252 * finder.el: Remove TODO tasks.
2254 * info.el (Info-finder-find-node): Add node "all"
2255 with all package info. Handle a list of multiple keywords
2257 (info-finder): In interactive use with a prefix argument,
2258 use `completing-read-multiple' to read a list of keywords
2261 2010-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
2263 Add a new completion style `substring'.
2264 * minibuffer.el (completion-basic--pattern): New function.
2265 (completion-basic-try-completion, completion-basic-all-completions):
2267 (completion-substring--all-completions)
2268 (completion-substring-try-completion)
2269 (completion-substring-all-completions): New functions.
2270 (completion-styles-alist): New style `substring'.
2272 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
2274 Get rid of .elc files after removal of the corresponding .el.
2275 * Makefile.in (compile-clean): New target.
2276 (compile-main): Use it.
2278 2010-03-22 Jan Djärv <jan.h.d@swipnet.se>
2280 * Makefile.in (compile-main): cd to $(lisp) in a sub-shell, so we
2281 don't do make there. When compiling with separate object dir, there
2282 is no Makefile there.
2284 2010-03-22 Stefan Monnier <monnier@iro.umontreal.ca>
2286 Get rid of the ELCFILES abomination, again.
2287 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
2288 (all, compile): Don't call compile-last.
2289 (compile-main): Build the "elcfiles" list dynamically.
2290 (compile-targets): New (internal) target.
2292 2010-03-21 Andreas Schwab <schwab@linux-m68k.org>
2294 * Makefile.in (top_srcdir): Define.
2295 (abs_top_builddir): Define.
2296 (srcdir): Don't append `/..'.
2297 (EMACS): Use ${abs_top_builddir}.
2298 (all, compile, compile-always, compile-last): Don't set emacswd.
2299 (update-subdirs, update-authors): Use $(top_srcdir) instead of
2301 (lisp): Use $(srcdir) instead of @srcdir@.
2303 2010-03-21 Juri Linkov <juri@jurta.org>
2305 Fix message of multi-line occur regexps and multi-buffer header lines.
2306 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00457.html
2308 * replace.el (occur-1): Don't display regexp if it is longer
2309 than window-width. Use `query-replace-descr' to display regexp.
2310 (occur-engine): Don't display regexp in the buffer header for
2311 multi-buffer occur. Display a separate header line with total
2312 match count and regexp for multi-buffer occur.
2313 Use `query-replace-descr' to display regexp.
2315 2010-03-20 Teodor Zlatanov <tzz@lifelogs.com>
2317 * net/secrets.el: Fix parenthesis.
2318 (secrets-enabled): Fix parenthesis.
2320 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
2322 Use more relative file and directory names.
2323 * Makefile.in (EMACS): Arrange for it to work when we chdir.
2324 (setwins, setwins_almost, setwins_for_subdirs):
2325 Don't `cd'; output relative names.
2326 (all, compile, compile-always, compile-last): Set emacswd.
2327 (custom-deps, finder-data, autoloads, update-subdirs, compile-last):
2328 Just cd to the lisp source dir so we can use relative file names.
2330 * outline.el (hide-sublevels): Unfix the paren non-typo! (bug#5738).
2332 2010-03-20 Glenn Morris <rgm@gnu.org>
2334 * textmodes/rst.el: Use faces for font-lock customization, and make the
2335 old -face variables obsolete.
2336 (rst-block, rst-external, rst-definition, rst-directive, rst-comment)
2337 (rst-emphasis1, rst-emphasis2, rst-literal, rst-reference): New faces.
2338 (rst-block-face, rst-external-face, rst-definition-face)
2339 (rst-directive-face, rst-comment-face, rst-emphasis1-face)
2340 (rst-emphasis2-face, rst-literal-face, rst-reference-face):
2342 (rst-font-lock-keywords-function): Update for above changes.
2344 2010-03-20 Juri Linkov <juri@jurta.org>
2347 * obsolete/s-region.el: Move to obsolete.
2349 2010-03-19 Juanma Barranquero <lekktu@gmail.com>
2351 * vc-dispatcher.el (vc-do-command): Remove reference to `vc-path'.
2353 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
2355 * vc-hooks.el (vc-path): Remove variable and obsolete declaration.
2357 2010-03-19 Dan Nicolaescu <dann@ics.uci.edu>
2359 Add special markup processing for commit logs.
2360 * log-edit.el (log-edit-extra-flags): New variable.
2361 (log-edit): Add new argument MODE. Use that mode when non-nil
2362 instead of the log-view-mode.
2363 (log-view-process-buffer): New function.
2365 * vc.el: Document that the checkin method takes optional
2366 arguments. Document new backend specific method: log-view-mode.
2367 (vc-default-log-edit-mode): New function.
2368 (vc-checkin): Use a backend specific log-view-mode.
2369 Pass extra arguments to the checkin method.
2370 (vc-modify-change-comment): Pass a dummy extra argument.
2372 * vc-dispatcher.el (vc-log-edit): Add a mode argument, pass it to
2374 (vc-start-logentry): Add a mode argument, pass it to vc-log-edit.
2375 (vc-finish-logentry): Process the log buffer before passing it
2376 down. Pass log-edit-extra-flags.
2378 * vc-bzr.el (vc-bzr-checkin): Pass extra arguments to the commit
2380 (log-edit-extra-flags, log-edit-before-checkin-process):
2383 * vc-hg.el (vc-hg-checkin): Pass extra arguments to the commit
2385 (log-edit-extra-flags, log-edit-before-checkin-process):
2387 (vc-hg-log-edit-mode): New derived mode.
2389 * vc-arch.el (vc-arch-checkin):
2390 * vc-cvs.el (vc-cvs-checkin):
2391 * vc-git.el (vc-git-checkin):
2392 * vc-mtn.el (vc-mtn-checkin):
2393 * vc-rcs.el (vc-rcs-checkin):
2394 * vc-sccs.el (vc-sccs-checkin):
2395 * vc-svn.el (vc-svn-checkin): Add an optional ignored argument.
2397 2010-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
2399 * outline.el (hide-sublevels): Don't hide trailing newline (and fix
2402 2010-03-19 Glenn Morris <rgm@gnu.org>
2404 * password-cache.el (password-cache, password-cache-expiry): Autoload.
2406 2010-03-18 Glenn Morris <rgm@gnu.org>
2408 * emacs-lisp/autoload.el (autoload-rubric): Doc fix.
2410 * replace.el (query-replace-history): Give it a doc string.
2411 (map-query-replace-regexp): Use query-replace-from-history-variable
2412 and query-replace-to-history-variable.
2414 * mail/hashcash.el (declare-function): Remove duplicate definition.
2416 * mail/emacsbug.el (report-emacs-bug-pretest-address):
2417 Make it an obsolete alias for report-emacs-bug-address.
2418 (message-strip-special-text-properties): Declare.
2419 (report-emacs-bug): Remove test for a pretest bug address.
2420 Combine message-mode-specific code.
2422 * mail/supercite.el: Don't require sendmail.
2423 (mh-in-header-p): Declare rather than using with-no-warnings.
2424 (sc-no-blank-line-or-header): Use rfc822-goto-eoh rather than
2425 mail-header-end. Don't bind mysterious variable `kill-lines-magic'.
2427 * calendar/cal-french.el: Convert to utf-8.
2429 * files.el (interpreter-mode-alist): Use emacs-lisp-mode for
2432 2010-03-16 Michael Albinus <michael.albinus@gmx.de>
2434 * net/secrets.el (secrets-enabled): New variable. Use it instead
2437 2010-03-15 Michael Albinus <michael.albinus@gmx.de>
2439 * net/secrets.el (top): Register the D-Bus signals only when the
2440 service "org.freedesktop.secrets" can be pinged.
2441 Provide subfeature `enabled'.
2443 2010-03-14 Juri Linkov <juri@jurta.org>
2445 Add finder unknown keywords.
2447 * finder.el (finder-unknown-keywords): New function.
2449 * info.el (Info-finder-find-node): Use `finder-unknown-keywords'
2450 to create a Finder node with unknown keywords.
2452 2010-03-14 Juri Linkov <juri@jurta.org>
2454 * finder.el (finder-compile-keywords): Replace `princ' with
2455 `prin1' on a list of symbols interned from keyword strings.
2457 * emacs-lisp/lisp-mnt.el (lm-keywords-list): If `keywords' contains
2458 a comma, then split keywords using a comma and optional whitespace.
2459 Otherwise, split by whitespace.
2467 * progmodes/mixal-mode.el: Fix keywords.
2469 2010-03-13 Michael Albinus <michael.albinus@gmx.de>
2471 * Makefile.in (ELCFILES): Add net/secrets.elc.
2473 * net/secrets.el: New file.
2475 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
2477 * facemenu.el (list-colors-display, list-colors-print): New arg
2478 callback. Use it to allow selecting colors.
2480 * wid-edit.el (widget-image-insert): Insert image prop even if the
2481 current display is non-graphic.
2482 (widget-field-value-set): New fun.
2483 (editable-field): Use it.
2484 (widget-field-value-get): Clean up unused var.
2485 (widget-color-value-create, widget-color--choose-action):
2486 New funs. Allow using list-colors-display to choose color.
2488 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
2490 * cus-edit.el: Resort topmost custom groups.
2491 (custom-buffer-sort-alphabetically): Default to t.
2492 (customize-apropos): Use apropos-parse-pattern.
2493 (custom-search-field): New var.
2494 (custom-buffer-create-internal): Add custom-apropos search field.
2495 (custom-add-parent-links): Don't display parent doc.
2496 (custom-group-value-create): Don't sort top-level custom group.
2497 (custom-magic-value-create): Show visibility button before option name.
2499 (custom-variable-state): New fun, from custom-variable-state-set.
2500 (custom-variable-state-set): Use it.
2501 (custom-group-value-create): Hide options with standard values
2502 using the :hidden-states property. Use progress reporter.
2504 (custom-show): Simplify.
2505 (custom-visibility): Disable images by default.
2506 (custom-variable): New property :hidden-states.
2507 (custom-variable-value-create): Enable images for
2508 custom-visibility widgets. Use :hidden-states property to
2509 determine initial visibility.
2511 * wid-edit.el (widget-image-find): Give images center ascent.
2512 (visibility): Add :on-image and :off-image properties.
2513 (widget-visibility-value-create): Use them.
2515 2010-03-12 Chong Yidong <cyd@stupidchicken.com>
2517 * cus-edit.el (processes): Remove from development group.
2518 (oop, hypermedia): Delete group.
2519 (comm): Promote to top-level group.
2521 * net/browse-url.el (browse-url):
2522 * net/xesam.el (xesam):
2523 * net/tramp.el (tramp):
2524 * net/goto-addr.el (goto-address):
2525 * net/ange-ftp.el (ange-ftp): Put in comm group.
2527 * view.el (view): Remove from editing group.
2529 * uniquify.el (uniquify): Put in files group.
2531 * net/browse-url.el (browse-url):
2532 * ps-print.el (postscript): Put in external group.
2534 * cus-edit.el (outlines):
2535 * textmodes/text-mode.el (text-mode-hook):
2536 * textmodes/table.el (table):
2537 * textmodes/picture.el (picture):
2538 * outline.el (outlines): Put in wp group.
2540 * nxml/nxml-mode.el (nxml): Remove from wp group.
2542 * net/tramp-imap.el (tramp-imap): Put in tramp group.
2544 * mail/metamail.el (metamail): Remove from hypermedia group.
2546 * cus-edit.el (abbrev):
2547 * whitespace.el (whitespace):
2548 * vcursor.el (vcursor):
2549 * reveal.el (reveal):
2550 * hl-line.el (hl-line): Put in convenience group.
2552 * epg-config.el (epg): Put in data group.
2554 * emulation/pc-select.el (pc-select): Put in emulations group.
2556 * calculator.el (calculator): Put in applications group.
2558 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
2560 Add .dir-locals.el support for file-less buffers.
2561 * files.el (hack-local-variables): Split out code to apply local
2562 variable settings ...
2563 (hack-local-variables-apply): ... here. New function.
2564 (hack-dir-local-variables): Use the default directory for when the
2565 buffer does not have an associated file.
2566 (hack-dir-local-variables-non-file-buffer): New function.
2567 * diff-mode.el (diff-mode):
2568 * vc-annotate.el (vc-annotate-mode):
2569 * vc-dir.el (vc-dir-mode):
2570 * log-edit.el (log-edit-mode):
2571 * log-view.el (log-view-mode): Call hack-dir-local-variables-non-file-buffer.
2573 2010-03-12 Dan Nicolaescu <dann@ics.uci.edu>
2575 Add support for shelving snapshots and for showing shelves.
2576 * vc-bzr.el (vc-bzr-shelve-show, vc-bzr-shelve-show-at-point)
2577 (vc-bzr-shelve-apply-and-keep-at-point, vc-bzr-shelve-snapshot):
2579 (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
2580 (vc-bzr-extra-menu-map): Map them.
2582 2010-03-11 Glenn Morris <rgm@gnu.org>
2584 * cus-edit.el (customize-changed-options-previous-release):
2587 * image.el (image-animate-max-time): Fix :version tag.
2589 2010-03-10 Chong Yidong <cyd@stupidchicken.com>
2593 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
2595 * vc-git.el (vc-git-revision-table): Include remote branches.
2597 2010-03-10 Kim F. Storm <storm@cua.dk>
2600 http://lists.gnu.org/archive/html/emacs-devel/2010-03/msg00211.html
2602 * image.el (image-animate-max-time): New defcustom.
2603 (image-animated-types): New defconst.
2604 (create-animated-image, image-animate-timer)
2605 (image-animate-start, image-animate-stop, image-animate-timeout)
2606 (image-animated-p): New functions.
2608 * image-mode.el (image-toggle-display-image):
2609 Replace `create-image' with `create-animated-image'.
2611 2010-03-09 Miles Bader <miles@gnu.org>
2613 * vc-git.el (vc-git-print-log): Use "tformat:" for shortlog,
2614 instead of "format:"; this ensures that the output is
2617 2010-03-08 Chong Yidong <cyd@stupidchicken.com>
2619 * mail/rfc822.el (rfc822-addresses): Use nested catches to ensure
2620 that all errors are caught, and that the return value is always a
2623 2010-03-08 Kenichi Handa <handa@m17n.org>
2625 * language/misc-lang.el (windows-1256): New coding system.
2626 (cp1256): New alias of windows-1256 (bug#5690).
2628 2010-03-07 Andreas Schwab <schwab@linux-m68k.org>
2630 * mail/rfc822.el (rfc822-addresses): Move catch clause down around
2631 call to rfc822-bad-address. (Bug#5692)
2633 2010-03-07 Štěpán Němec <stepnem@gmail.com> (tiny change)
2635 * vc-git.el (vc-git-annotate-extract-revision-at-line):
2636 Use vc-git-root as default directory for revision path (Bug#5657).
2638 2010-03-06 Chong Yidong <cyd@stupidchicken.com>
2640 * calculator.el (calculator): Don't bind split-window-keep-point
2643 2010-03-06 Stefan Monnier <monnier@iro.umontreal.ca>
2645 * vc-git.el: Re-flow to fit into 80 columns.
2646 (vc-git-after-dir-status-stage, vc-git-dir-status-goto-stage):
2647 Remove spurious `quote' element in each case alternative.
2648 (vc-git-show-log-entry): Use prog1.
2649 (vc-git-after-dir-status-stage): Remove unused var `remaining'.
2651 2010-03-06 Glenn Morris <rgm@gnu.org>
2653 * cedet/semantic/grammar.el (semantic-grammar-header-template):
2654 Update template copyright to GPLv3+.
2656 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca>
2658 * man.el (Man-files-regexp): Tighten up the regexp (bug#5686).
2660 2010-03-03 Chong Yidong <cyd@stupidchicken.com>
2662 * macros.el (insert-kbd-macro): Look up keyboard macro using the
2663 definition, not the name (Bug#5481).
2665 2010-03-03 Štěpán Němec <stepnem@gmail.com> (tiny change)
2667 * subr.el (momentary-string-display): Don't overwrite the MESSAGE
2668 argument with a local variable. (Bug#5670)
2670 2010-03-02 Juri Linkov <juri@jurta.org>
2672 * info.el (Info-index-next): Decrement line number by 2. (Bug#5652)
2674 2010-03-02 Michael Albinus <michael.albinus@gmx.de>
2676 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Fix an
2677 error when FILENAME and NEWNAME are existing remote directories.
2679 * net/tramp-compat.el (tramp-compat-make-temp-file): Add optional
2682 2010-03-02 Glenn Morris <rgm@gnu.org>
2684 * calendar/cal-hebrew.el (holiday-hebrew-passover): Fix date
2685 of Yom HaAtzma'ut when it falls on a Monday (rule changed in 2004).
2687 2010-03-01 Kenichi Handa <handa@m17n.org>
2689 * language/burmese.el (burmese-composable-pattern): Rename from
2690 myanmar-composable-pattern.
2692 * international/characters.el (script-list):
2693 * international/fontset.el (script-representative-chars):
2694 Change myanmar to burmese.
2695 (otf-script-alist): Likewise.
2696 (setup-default-fontset): Likewise. Re-fix :otf spec.
2698 2010-02-28 Katsumi Yamaoka <yamaoka@jpl.org>
2700 * menu-bar.el (menu-bar-manuals-menu): Fix typo.
2702 2010-02-28 Jan Djärv <jan.h.d@swipnet.se>
2704 * scroll-bar.el (scroll-bar-drag-1): Add save-excursion, bug #5654.
2706 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
2708 * net/tramp.el (tramp-handle-write-region): START can be a string.
2709 Take care in the checks. Reported by Dan Davison
2710 <davison@stats.ox.ac.uk>.
2712 2010-02-28 Michael Albinus <michael.albinus@gmx.de>
2714 * net/dbus.el (dbus-introspect, dbus-get-property)
2715 (dbus-set-property, dbus-get-all-properties):
2716 Use `dbus-call-method' when noninteractive. (Bug#5645)
2718 2010-02-28 Chong Yidong <cyd@stupidchicken.com>
2720 * textmodes/reftex-toc.el (reftex-toc-promote-prepare):
2721 * emacs-lisp/elint.el (elint-add-required-env):
2722 * cedet/semantic/db-find.el
2723 (semanticdb-find-translate-path-brutish-default):
2724 * cedet/ede/make.el (ede-make-check-version):
2725 * calendar/icalendar.el (icalendar--add-diary-entry):
2726 * calc/calcalg2.el (math-tracing-integral):
2727 * files.el (recover-session-finish): Use with-current-buffer
2728 instead of save-excursion.
2730 2010-02-27 Stefan Monnier <monnier@iro.umontreal.ca>
2732 Fix in-buffer completion when after-change-functions modify the buffer.
2733 * minibuffer.el (completion--replace): New function.
2734 (completion--do-completion): Use it and use relative movement.
2736 2010-02-27 Chong Yidong <cyd@stupidchicken.com>
2738 * international/fontset.el (setup-default-fontset): Fix :otf spec.
2740 2010-02-27 Jeremy Whitlock <jcscoobyrs@gmail.com> (tiny change)
2742 * progmodes/python.el (python-pdbtrack-stack-entry-regexp):
2743 Allow the characters _<> in the stack entry (Bug#5653).
2745 2010-02-26 Kenichi Handa <handa@m17n.org>
2747 * language/burmese.el: Fix entries in composition-function-table.
2748 (myanmar-composable-pattern): New variable.
2750 * international/fontset.el (setup-default-fontset): Add an entry
2753 * international/characters.el (script-list): Add Myanmar
2756 2010-02-26 Glenn Morris <rgm@gnu.org>
2758 * custom.el (custom-initialize-delay): Doc fix.
2760 * mail/sendmail.el (send-mail-function): Autoload the call
2761 to custom-initialize-delay, not otherwise preserved in loaddefs.el.
2763 2010-02-24 Chong Yidong <cyd@stupidchicken.com>
2765 * files.el (hack-local-variables-filter): For eval forms, also
2766 check safe-local-variable-p (Bug#5636).
2768 2010-02-24 Eduard Wiebe <usenet@pusto.de>
2770 * javascript.el (wisent-javascript-jv-expand-tag): Avoid c(ad)ddr
2771 and use c(ad)r of cddr (Bug#5640).
2773 2010-02-22 Michael Albinus <michael.albinus@gmx.de>
2775 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band): Protect
2776 setting the modes by `ignore-errors'. It might fail, for example
2777 if the file is not owned by the user but the group.
2778 (tramp-handle-write-region): Ensure, that `tmpfile' is always readable.
2780 2010-02-21 Chong Yidong <cyd@stupidchicken.com>
2782 * files.el (directory-listing-before-filename-regexp): Use
2783 stricter matching for iso-style dates, to avoid false matches with
2784 date-like filenames (Bug#5597).
2786 * htmlfontify.el (htmlfontify): Doc fix.
2788 * eshell/eshell.el (eshell): Doc fix.
2790 * startup.el (fancy-about-screen): In mode-line, apply
2791 mode-line-buffer-id face only to the buffer name (Bug#5613).
2793 2010-02-20 Kevin Ryde <user42@zip.com.au>
2795 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2796 In `watcom' anchor regexp to start of line, to avoid slowness
2799 2010-02-20 Eli Zaretskii <eliz@gnu.org>
2801 * subr.el (remove-yank-excluded-properties): Explain in a comment
2802 why `category' property is removed.
2804 2010-02-19 Chong Yidong <cyd@stupidchicken.com>
2806 * isearch.el (isearch-update-post-hook, isearch-update): Revert
2809 2010-02-19 Ulf Jasper <ulf.jasper@web.de>
2811 * calendar/icalendar.el (icalendar--convert-ordinary-to-ical)
2812 (icalendar--convert-weekly-to-ical)
2813 (icalendar--convert-yearly-to-ical)
2814 (icalendar--convert-block-to-ical)
2815 (icalendar--convert-cyclic-to-ical)
2816 (icalendar--convert-anniversary-to-ical): Take care of time
2817 specifications where hour has 1-digit only (Bug#5549).
2819 2010-02-19 Nick Roberts <nickrob@snap.net.nz>
2821 * progmodes/gdb-ui.el (gdb-assembler-handler): Accommodate change
2822 of disassemble output in GDB 7.1.
2824 2010-02-19 Glenn Morris <rgm@gnu.org>
2826 * progmodes/f90.el (f90-electric-insert): Give it a delete-selection
2827 property. (Bug#5593)
2829 2010-02-18 Sam Steingold <sds@gnu.org>
2831 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
2833 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
2835 Use abbreviated file names in bookmarks (bug#5591).
2836 * bookmark.el (bookmark-maybe-load-default-file): Remove redundant
2837 calls to expand-file-name.
2838 (bookmark-relocate): Use abbreviated file names in bookmarks.
2839 (bookmark-load): Use abbreviated file names in messages.
2841 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
2843 * net/tramp.el (tramp-handle-directory-files): When FULL, do not
2844 expand "." and "..". Reported by Thierry Volpiatto
2845 <thierry.volpiatto@gmail.com>.
2847 2010-02-18 Michael Albinus <michael.albinus@gmx.de>
2849 * net/tramp.el (tramp-handle-insert-file-contents): Set always the
2850 permissions of the temporary file to "0600". In case the remote
2851 file has no read permissions for the owner, there might be
2852 problems otherwise. Reported by Ole Laursen <olau@iola.dk>.
2854 22010-02-18 Glenn Morris <rgm@gnu.org>
2856 * emacs-lisp/authors.el (authors-renamed-files-alist):
2857 Add entries for INSTALL.CVS.
2859 2010-02-17 Mark A. Hershberger <mah@everybody.org>
2861 * vc-bzr.el: Fix typo in Known Bugs section.
2863 * isearch.el (isearch-update-post-hook): New hook.
2864 (isearch-update): Use the new hook.
2866 2010-02-16 Michael Albinus <michael.albinus@gmx.de>
2868 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
2869 Fix errors in copying directories.
2870 (tramp-handle-add-name-to-file, tramp-handle-copy-directory)
2871 (tramp-do-copy-or-rename-file, tramp-handle-delete-directory)
2872 (tramp-handle-delete-file)
2873 (tramp-handle-dired-recursive-delete-directory)
2874 (tramp-handle-write-region): Flush also the cache for the upper
2877 2010-02-16 Chong Yidong <cyd@stupidchicken.com>
2879 * simple.el (save-interprogram-paste-before-kill): Doc fix.
2881 * cus-edit.el (hardware): Doc fix.
2883 * man.el (man): Add to external custom group.
2885 * delim-col.el (columns): Move to wp custom group.
2887 * doc-view.el (doc-view): Add to data custom group.
2889 * cedet/data-debug.el (data-debug): Move to extensions group.
2891 * cedet/ede.el (ede):
2892 * cedet/srecode.el (srecode):
2893 * cedet/semantic.el (semantic): Put in tools and extensions group.
2895 * nxml/nxml-mode.el (nxml-faces): Remove from font-lock-faces group.
2897 * textmodes/flyspell.el (flyspell-word): Obey the offset specified
2898 by ispell-parse-output (Bug#5575).
2900 2010-02-16 Kenichi Handa <handa@m17n.org>
2902 * international/ja-dic-cnv.el (iso-2022-7bit-short): Delete it.
2903 (skkdic-convert-okuri-ari): Ignore lines starting with '>'.
2904 (skkdic-convert): Use `euc-japan' coding system for writing.
2906 2010-02-16 Glenn Morris <rgm@gnu.org>
2908 * textmodes/tex-mode.el (tex-bibtex-file): Expand the result of
2909 tex-main-file before using it. (Bug#5562)
2911 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
2913 * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler
2914 warnings, since it is annoying for the user to see them each time he
2917 2010-02-15 Michael Albinus <michael.albinus@gmx.de>
2919 * net/tramp.el (tramp-process-actions, tramp-read-passwd):
2920 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection): Use VEC
2921 instead of PROC for caching "first-password-request". Otherwise,
2922 new processes would not profit from passwords already entered.
2924 * net/tramp-cache.el (tramp-dump-connection-properties):
2925 Don't save "first-password-request" property.
2927 2010-02-14 Juanma Barranquero <lekktu@gmail.com>
2929 * outline.el (outline-head-from-level):
2930 * simple.el (with-wrapper-hook):
2931 * cedet/ede.el (ede-run-target, project-delete-target)
2932 (project-dist-files, ede-name, ede-documentation, ede-parent-project)
2933 (ede-adebug-project, ede-adebug-project-parent)
2934 (ede-adebug-project-root):
2935 * emacs-lisp/elint.el (elint-extra-errors, elint-current-buffer)
2936 (elint-defun, elint-buffer-env, elint-top-form-logged)
2937 (elint-unbound-variable):
2938 * textmodes/reftex-toc.el (reftex-toc-newhead-from-alist):
2939 Fix typos in docstrings.
2941 2010-02-14 Michael Albinus <michael.albinus@gmx.de>
2943 * files.el (insert-directory): When WILDCARD-REGEXP and
2944 FULL-DIRECTORY-P are nil, insert the file entry instead of the
2945 whole directory. (Bug#5551)
2947 * net/ange-ftp.el (ange-ftp-insert-directory): Insert " " for
2948 dired's alignment sanity. (Bug#5516)
2950 2010-02-14 Juri Linkov <juri@jurta.org>
2952 * man.el (Man-fontify-manpage, Man-cleanup-manpage):
2953 Remove remaining ^H with their preceding chars. (Bug#5566)
2955 2010-02-13 Glenn Morris <rgm@gnu.org>
2957 * simple.el (transpose-subr): Give it a doc-string.
2959 * textmodes/paragraphs.el (transpose-paragraphs, transpose-sentences):
2962 2010-02-12 Juri Linkov <juri@jurta.org>
2964 * arc-mode.el (archive-unique-fname): Make directories for nested
2965 archives. (Bug#5540)
2967 2010-02-12 Juri Linkov <juri@jurta.org>
2969 * ffap.el (dired-at-point): Fix docstring. (Bug#5565)
2971 2010-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
2973 * subr.el (copy-overlay): Handle deleted overlays.
2975 * man.el (Man-completion-table): Don't signal an error if we can't run
2976 manual-program (bug#4056).
2978 2010-02-10 Juanma Barranquero <lekktu@gmail.com>
2980 * textmodes/artist.el (artist-mt): Fix typos in docstring.
2982 2010-02-10 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2984 * info.el (Info-bookmark-jump): Simplify.
2986 * bookmark.el (bookmark-handle-bookmark): Catch the right error.
2987 (bookmark-default-handler): Accept new bookmark field `buffer'.
2989 2010-02-10 Chong Yidong <cyd@stupidchicken.com>
2991 * iswitchb.el (iswitchb-completions): Revert last change.
2993 2010-02-10 Michael Albinus <michael.albinus@gmx.de>
2995 * ls-lisp.el (ls-lisp-insert-directory): When WILDCARD-REGEXP and
2996 FULL-DIRECTORY-P are nil, and FILE is absolute, expand it.
2997 This prevents file names like "~/" being listed literally.
2999 2010-02-10 Dan Nicolaescu <dann@ics.uci.edu>
3001 * term/xterm.el (xterm-maybe-set-dark-background-mode):
3002 Remove dead code. (Bug#5546)
3004 2010-02-09 Chong Yidong <cyd@stupidchicken.com>
3006 * eshell/em-ls.el (eshell-ls-applicable): Frob file attributes
3007 correctly (Bug#5548).
3009 2010-02-08 Jose E. Marchesi <jemarch@gnu.org>
3011 * progmodes/ada-mode.el (ada-in-numeric-literal-p): New function.
3012 (ada-adjust-case): Don't adjust case in hexadecimal number literals.
3014 2010-02-08 Kenichi Handa <handa@m17n.org>
3016 * international/mule-util.el (with-coding-priority): Add autoload
3017 cookie for putting `lisp-indent-function'.
3019 2010-02-07 Glenn Morris <rgm@gnu.org>
3021 * progmodes/f90.el (f90-font-lock-keywords-1, f90-font-lock-keywords-2):
3022 Move F2003 named interfaces from keywords-2 to keywords-1, and
3023 use function-name-face rather than constant-face.
3024 Simplify "abstract interface" regexp.
3026 2010-02-07 Chong Yidong <cyd@stupidchicken.com>
3028 * eshell/esh-util.el (eshell-file-attributes): New optional arg
3029 ID-FORMAT. Pass it to `file-attributes'.
3031 * eshell/em-ls.el (eshell-do-ls): Use it (Bug#5528).
3033 2010-02-07 sj <prime.wizard+emacs@gmail.com> (tiny change)
3035 * faces.el (set-face-attribute): Allow calling
3036 internal-set-lisp-face-attribute with 'unspecified family and
3037 foundry argument (Bug#5536).
3039 2010-02-07 Glenn Morris <rgm@gnu.org>
3041 * progmodes/f90.el (f90-font-lock-keywords-2)
3042 (f90-looking-at-type-like, f90-looking-at-program-block-end):
3043 Handle F2003 named interfaces.
3045 2010-02-06 Chong Yidong <cyd@stupidchicken.com>
3047 * progmodes/cc-mode.el (c-common-init): Bind temporary variables
3048 beg and end before calling c-get-state-before-change-functions.
3050 2010-02-06 Dan Nicolaescu <dann@ics.uci.edu>
3052 * vc-bzr.el (vc-bzr-dir-extra-headers): Disable the pending merges header.
3054 2010-02-05 Juri Linkov <juri@jurta.org>
3056 * doc-view.el (doc-view-mode):
3057 * image-mode.el (image-mode): Put property mode-class=special.
3060 2010-02-05 Mark A. Hershberger <mah@everybody.org>
3062 * vc-svn.el (vc-svn-revision-table): New function.
3064 2010-02-05 Michael Albinus <michael.albinus@gmx.de>
3066 * net/ange-ftp.el (ange-ftp-insert-directory):
3067 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
3068 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
3069 Handle also directories. (Bug#5478)
3071 2010-02-05 Glenn Morris <rgm@gnu.org>
3073 * progmodes/f90.el (f90-font-lock-keywords-2): Fix `enum'.
3075 2010-02-05 Chong Yidong <cyd@stupidchicken.com>
3077 * startup.el (command-line-1): Convert options beginning with a
3078 single dash as well (Bug#5519).
3080 2010-02-05 Stefan Monnier <monnier@iro.umontreal.ca>
3082 Make `initials' completion work for /hh -> /home/horn again (bug#5524).
3083 * minibuffer.el (completion-initials-expand): Only check the presence
3084 of delims *within* the boundaries, since otherwise the / delim is
3085 always found for files.
3087 Fix up various corner case problems.
3088 * doc-view.el (doc-view-last-page-number): New function.
3089 (doc-view-mode, doc-view-last-page, doc-view-goto-page): Use it.
3090 (doc-view-goto-page): Avoid inf-loops when the conversion fails.
3091 (doc-view-kill-proc): Avoid inf-loop in freak cases.
3092 (doc-view-reconvert-doc): Use the new recursive delete-directory.
3093 (doc-view-convert-current-doc): Don't create the resolution.el file
3095 (doc-view-pdf/ps->png): Do it here instead.
3096 (doc-view-already-converted-p): Check that resolution.el is present.
3097 (doc-view-pdf->png): Don't rely on doc-view-pdf/ps->png for the few
3098 windows that are not yet showing images.
3100 2010-02-04 Michael Albinus <michael.albinus@gmx.de>
3102 * dired.el (dired-revert): If DIRED-DIRECTORY is a cons cell, call
3103 `dired-uncache' for every elemnt which is an absolute file name.
3105 * net/tramp.el (tramp-handle-dired-uncache): When DIR is not a
3106 directory, handle its directory component.
3107 (tramp-handle-file-remote-p): Let-bind `tramp-verbose' to 3; this
3108 function is called permanently and creates noise, otherwise.
3110 * net/tramp-imap.el (tramp-imap-handle-insert-directory):
3111 * net/tramp-smb.el (tramp-smb-handle-insert-directory):
3112 Handle the case, FILENAME is not in `default-directory'. (Bug#5478)
3114 2010-02-04 David Burger <dburger@google.com> (tiny change)
3116 * macros.el (apply-macro-to-region-lines):
3117 Minor simplification. (Bug#5485)
3119 2010-02-04 Glenn Morris <rgm@gnu.org>
3121 * mail/rmail.el (rmail-show-message-1): Handle malformed
3122 quoted-printable text. (Bug#5441)
3124 * mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
3126 * simple.el (visual-line-mode): Capitalize lighter.
3128 2010-02-03 John Wiegley <jwiegley@gmail.com>
3130 * iswitchb.el (iswitchb-completions): Add bookmark files to the
3131 list of files considered for "virtual buffer" completions.
3133 2010-02-03 Michael Albinus <michael.albinus@gmx.de>
3135 * net/ange-ftp.el (ange-ftp-insert-directory): Parse directory
3136 also in case of (and (not full) (not wildcard)). This is needed,
3137 when dired is called with a list of files, which are not in
3138 `default-directory'. (Bug#5478)
3140 2010-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
3142 * vc-hooks.el (vc-path): Make it an obsolete var, rather than function.
3144 2010-02-02 Juri Linkov <juri@jurta.org>
3146 * textmodes/ispell.el (ispell-message-text-end): Remove final newline
3147 from unidiff to allow function-line after @@.
3149 2010-02-02 Juri Linkov <juri@jurta.org>
3151 * ediff-util.el (ediff-file-checked-in-p): Replace '(nil CVS) by
3152 '(RCS SCCS) with inverted condition.
3154 2010-02-02 Michael Albinus <michael.albinus@gmx.de>
3156 * net/ange-ftp.el (ange-ftp-skip-msgs): Ignore all ""^500 .*AUTH"
3159 2010-02-01 Juri Linkov <juri@jurta.org>
3161 * arc-mode.el (archive-zip-extract): Use `member-ignore-case' to
3162 compare with "pkunzip" and "pkzip" instead of only "pkzip".
3163 In the `archive-extract-by-stdout' branch use `shell-quote-argument'
3164 only when (car archive-zip-extract) is "unzip". (Bug#5475)
3166 2010-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
3168 * doc-view.el (doc-view-new-window-function): Be a bit more defensive.
3169 (doc-view-revert-buffer): New command.
3170 (doc-view-mode-map): Use it.
3172 2010-02-01 Dan Nicolaescu <dann@ics.uci.edu>
3174 * vc-bzr.el (vc-bzr-dir-extra-headers): Add a header when a
3175 pending merge is detected.
3177 2010-01-31 Juri Linkov <juri@jurta.org>
3179 * progmodes/grep.el (zrgrep): Call `grep-compute-defaults' at the
3180 beginning of interactive spec like all other grep commands do.
3181 Put "all" in front of "gz". (Bug#5260)
3183 2010-01-29 Dan Nicolaescu <dann@ics.uci.edu>
3185 * vc-bzr.el (vc-bzr-after-dir-status): Match another renaming indicator.
3187 2010-01-29 Chong Yidong <cyd@stupidchicken.com>
3189 * dirtrack.el (dirtrack): Warn instead of signalling error if the
3190 regexp is incorrect (Bug#5476).
3192 2010-01-29 Michael Albinus <michael.albinus@gmx.de>
3194 * net/tramp.el (tramp-handle-insert-directory): Handle also
3195 symlinks, when FILENAME is not in `default-directory'.
3197 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
3199 * net/ange-ftp.el (ange-ftp-insert-directory): Handle the case,
3200 FILE is not in `default-directory'. (Bug#5478)
3202 * net/tramp.el (tramp-handle-insert-directory): Simplify handling
3203 of SWITCHES. Handle the case, FILENAME is not in
3204 `default-directory'. (Bug#5478)
3205 (tramp-register-file-name-handlers): Add safe-magic property.
3207 2010-01-28 Chong Yidong <cyd@stupidchicken.com>
3209 * arc-mode.el (archive-zip-extract): Quote the argument passed to
3212 2010-01-28 Nil Geisweiller <ngeiswei@googlemail.com> (tiny change)
3214 * progmodes/flymake.el (flymake-allowed-file-name-masks)
3215 (flymake-master-make-header-init): Add other C++ filename masks.
3216 (flymake-find-possible-master-files)
3217 (flymake-check-patch-master-file-buffer): Doc fixes (Bug#5488).
3219 2010-01-28 Michael Albinus <michael.albinus@gmx.de>
3221 Fix some busybox annoyances.
3223 * net/tramp.el (tramp-wrong-passwd-regexp): Add "Timeout, server
3224 not responding." string.
3225 (tramp-open-connection-setup-interactive-shell): Dump stty
3226 settings. Enable "neveropen" arg for all `tramp-send-command'
3227 calls. Handle "=" in variable values properly.
3228 (tramp-find-inline-encoding): Raise an error, when no encoding is
3230 (tramp-wait-for-output): Check, whether PROC buffer is available.
3231 Remove spurious " ^H" sequences, sent by busybox.
3232 (tramp-get-ls-command): Suppress coloring, if possible.
3234 2010-01-28 Glenn Morris <rgm@gnu.org>
3236 * vc-svn.el (vc-svn-update): Use "svn --non-interactive". (Bug#4280)
3238 * log-edit.el (log-edit-strip-single-file-name): Add missing
3239 :safe, :group, and :version tags.
3241 2010-01-27 Stephen Berman <stephen.berman@gmx.net>
3243 * calendar/diary-lib.el (diary-unhide-everything): Handle narrowed
3246 2010-01-27 David De La Harpe Golden <david@harpegolden.net>
3248 * files.el (delete-directory): Handle moving to trash without
3249 first doing recursion (Bug#5436).
3251 2010-01-26 Dan Nicolaescu <dann@ics.uci.edu>
3253 * vc-hooks.el (vc-path): Mark as obsolete.
3255 2010-01-25 Dan Nicolaescu <dann@ics.uci.edu>
3257 * vc-annotate.el (vc-annotate-revision-at-line): Compare file
3260 * vc-bzr.el (vc-bzr-print-log): Use the more compact --line option
3262 (vc-bzr-log-view-mode): Adjust regexp for the above change.
3264 2010-01-25 Mark A. Hershberger <mah@everybody.org>
3266 * progmodes/python.el: Replace reference to obsolete c-subword-mode.
3268 * vc-bzr.el (vc-bzr-revision-table): New function.
3270 2010-01-25 Eric Hanchrow <eric.hanchrow@gmail.com> (tiny change)
3272 * vc-git.el (vc-git-dir-status-goto-stage): Pass --relative to the
3273 diff-index command. This requires at least git-1.5.5. (Bug#1589).
3275 2010-01-24 Dan Nicolaescu <dann@ics.uci.edu>
3277 Remove support for adding --signoff on commit.
3278 Future support will use an incompatible generic mechanism.
3279 * vc-git.el (vc-git-add-signoff): Remove variable.
3280 (vc-git-toggle-signoff): Remove function.
3281 (vc-git-extra-menu-map): Do not bind vc-git-toggle-signoff.
3283 * term/xterm.el (xterm-maybe-set-dark-background-mode): Rename
3284 from xterm-set-background-mode. Return t if the background mode
3286 (terminal-init-xterm): Move tty-set-up-initial-frame-faces
3287 earlier, call it again in case the background mode has changed.
3289 2010-01-23 Dmitri Paduchikh <dpaduch@k66.ru> (tiny change)
3291 * emacs-lisp/advice.el (ad-set-orig-definition): Fix typo
3294 2010-01-23 Chong Yidong <cyd@stupidchicken.com>
3296 * emacs-lisp/assoc.el (aelement): Doc fix.
3297 (aput, adelete, amake): Use lexical-let (Bug#5450).
3299 2010-01-23 Stephen Leake <stephen_leake@member.fsf.org>
3301 * progmodes/ada-mode.el (ada-in-paramlist-p): Pragma syntax
3302 is the same as subprogram call, not declaration. (Bug#5435).
3304 2010-01-23 Michael Albinus <michael.albinus@gmx.de>
3306 * net/tramp-smb.el (tramp-smb-conf): New defcustom.
3307 (tramp-smb-maybe-open-connection): Use it.
3309 2010-01-22 Michael Albinus <michael.albinus@gmx.de>
3311 * net/tramp-imap.el (top): Autoload needed packages. (Bug#5448)
3313 2010-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
3315 * mail/rmailmm.el (rmail-mime-handle): Don't set the buffer to unibyte
3316 just because we see "encoding: 8bit".
3317 * mail/rmail.el (rmail-show-message-1): Decode the body's QP into bytes.
3319 2010-01-22 Chong Yidong <cyd@stupidchicken.com>
3321 * isearch.el (isearch-allow-scroll): Doc fix (Bug#5446).
3323 2010-01-22 Eli Zaretskii <eliz@gnu.org>
3325 * jka-compr.el (jka-compr-load): If load-file is not in
3326 load-history, try its file-truename version. (bug#5447)
3328 2010-01-21 Alan Mackenzie <acm@muc.de>
3330 Fix a situation where deletion of a cpp construct throws an error.
3331 * progmodes/cc-engine.el (c-invalidate-state-cache): Before
3332 invoking c-with-all-but-one-cpps-commented-out, check that the
3333 special cpp construct is still in the buffer.
3334 (c-parse-state): Record the special cpp with markers, not numbers.
3336 2010-01-21 Kenichi Handa <handa@m17n.org>
3338 * textmodes/sgml-mode.el (sgml-maybe-name-self): No need to
3339 process last-command-event, as it is now decoded first (Bug#5380).
3341 2010-01-20 Chong Yidong <cyd@stupidchicken.com>
3343 * term.el (term-send-raw-meta): Revert 2009-12-04 change (Bug#5330).
3345 2010-01-20 Glenn Morris <rgm@gnu.org>
3347 * indent.el (tab-always-indent): Fix custom-type.
3349 2010-01-19 Alan Mackenzie <acm@muc.de>
3351 * progmodes/cc-defs.el: Fix bug#5395: typing '#' in an empty
3352 buffer throws "args out of range".
3353 (c-set-cpp-delimiters, c-clear-cpp-delimiters): Check for EOB
3354 playing the role of delimiter.
3356 2010-01-18 Stephen Leake <stephen_leake@member.fsf.org>
3358 * progmodes/ada-mode.el: Fix bug#5400.
3359 (ada-matching-decl-start-re): Move into ada-goto-decl-start.
3360 (ada-goto-decl-start): Rename from ada-goto-matching-decl-start; callers
3361 changed. Delete RECURSIVE parameter; never used. Improve doc string.
3362 Improve comments in "is" portion. Handle null procedure declaration.
3363 (ada-move-to-end): Improve doc string.
3365 2010-01-18 Óscar Fuentes <ofv@wanadoo.es>
3367 * ido.el (ido-cur-list): Initialize to nil.
3368 Remove obsolete information from commentary.
3369 (ido-choice-list): Initialize to nil.
3370 (ido-get-bufname): Reject minibuffers.
3371 (ido-make-buffer-list): If "default" is a nonexistent
3372 buffer, ignore it, as per the function's comment.
3373 (ido-kill-buffer-internal): New function.
3374 (ido-kill-buffer-at-head): Use it.
3375 (ido-visit-buffer): Likewise.
3377 2010-01-18 Chong Yidong <cyd@stupidchicken.com>
3379 * calendar/time-date.el (date-to-time): Doc fix (Bug#5408).
3381 2010-01-18 Juanma Barranquero <lekktu@gmail.com>
3383 * cedet/ede/locate.el (ede-locate-file-in-project)
3384 (ede-locate-file-in-project-impl): Fix typos in docstrings.
3385 (ede-enable-locate-on-project): Fix typos in error messages.
3387 * cedet/semantic/util-modes.el (semantic-unmatched-syntax-face)
3388 (semantic-stickyfunc-old-hlf, semantic-stickyfunc-header-line-format)
3389 (semantic-stickyfunc-sticky-classes, semantic-highlight-func-mode-setup)
3390 (semantic-stickyfunc-fetch-stickyline): Fix typos in docstrings.
3391 (semantic-stickyfunc-popup-menu, semantic-highlight-func-popup-menu):
3392 Fix typos in menu help.
3394 * emacs-lisp/chart.el (chart-file-count, chart-rmail-from):
3395 Fix typos in chart titles.
3397 * whitespace.el (whitespace-style, global-whitespace-newline-mode):
3398 * cedet/semantic.el (semantic-require-version, semantic--buffer-cache)
3399 (semantic-unmatched-syntax-cache-check, semantic-unmatched-syntax-hook)
3400 (semantic--before-fetch-tags-hook, semantic-new-buffer-fcn-was-run)
3401 (semantic--umatched-syntax-needs-refresh-p, semantic-elapsed-time)
3402 (semantic-parse-stream, semantic-parse-region)
3403 (semantic-parse-region-default, semantic--set-buffer-cache)
3404 (semantic-minimum-working-buffer-size, semantic-refresh-tags-safe)
3405 (semantic-bovinate-toplevel, semantic-load-system-cache-loaded)
3406 (semantic-default-submodes):
3407 * cedet/semantic/db-ebrowse.el (semanticdb-table-ebrowse)
3408 (semanticdb-create-ebrowse-database)
3409 (semanticdb-find-tags-for-completion-method)
3410 (semanticdb-find-tags-by-class-method)
3411 (semanticdb-deep-find-tags-by-name-method)
3412 (semanticdb-deep-find-tags-for-completion-method):
3413 * cedet/semantic/db-el.el (semanticdb-elisp-mapatom-collector)
3414 (semanticdb-find-tags-by-name-method, emacs-lisp-mode)
3415 (semanticdb-find-tags-for-completion-method)
3416 (semanticdb-find-tags-by-class-method)
3417 (semanticdb-deep-find-tags-for-completion-method):
3418 * cedet/semantic/db-find.el (semanticdb-find-translate-path)
3419 (semanticdb-find-need-cache-update-p, semanticdb-find-result-with-nil-p)
3420 (semanticdb-find-scanned-include-tags, semanticdb-find-tags-collector)
3421 (semanticdb-find-tags-by-name-method)
3422 (semanticdb-find-tags-by-name-regexp-method)
3423 (semanticdb-find-tags-for-completion-method)
3424 (semanticdb-find-tags-by-class-method)
3425 (semanticdb-find-tags-external-children-of-type-method)
3426 (semanticdb-find-tags-subclasses-of-type-method)
3427 (semanticdb-deep-find-tags-by-name-method)
3428 (semanticdb-deep-find-tags-by-name-regexp-method)
3429 (semanticdb-deep-find-tags-for-completion-method):
3430 * cedet/semantic/db-global.el (semanticdb-enable-gnu-global-hook)
3431 (semanticdb-enable-gnu-global-in-buffer)
3432 (semanticdb-find-tags-for-completion-method)
3433 (semanticdb-deep-find-tags-by-name-method)
3434 (semanticdb-deep-find-tags-for-completion-method):
3435 * cedet/semantic/db-javascript.el (semanticdb-javascript-tags)
3436 (javascript-mode, semanticdb-find-translate-path)
3437 (semanticdb-find-tags-for-completion-method)
3438 (semanticdb-find-tags-by-class-method)
3439 (semanticdb-deep-find-tags-by-name-method)
3440 (semanticdb-deep-find-tags-for-completion-method)
3441 (semanticdb-find-tags-external-children-of-type-method):
3442 * cedet/semantic/idle.el (semantic-idle-work-core-handler)
3443 (define-semantic-idle-service, semantic-idle-summary-useful-context-p)
3444 (global-semantic-idle-scheduler-mode):
3445 * cedet/srecode/dictionary.el (srecode-field-value)
3446 (srecode-dictionary-add-section-dictionary):
3447 * emacs-lisp/eieio.el (eieio-error-unsupported-class-tags)
3448 (eieio-generic-form, eieio-help-mode-augmentation-maybee, eieio-browse)
3449 (describe-class, eieio-describe-generic, describe-generic):
3450 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click)
3451 (eieio-speedbar-expand):
3452 * emulation/viper-cmd.el (viper-exec-form-in-vi)
3453 (viper-exec-form-in-emacs, viper-harness-minor-mode, viper-ESC)
3454 (viper-repeat, viper-replace-state-exit-cmd, viper-toggle-search-style)
3455 (viper-del-backward-char-in-replace, viper-backward-indent)
3456 (viper-brac-function, viper-register-to-point, viper-submit-report):
3457 * net/tramp.el (tramp-remote-coding-commands):
3458 * term/x-win.el (emacs-session-save, x-menu-bar-open, icon-map-list):
3459 Fix typos in docstrings.
3461 2010-01-17 Chong Yidong <cyd@stupidchicken.com>
3463 * mail/sendmail.el (mail-yank-original): Set the mark if the
3464 specified function for yanking does not do it.
3466 2010-01-17 Dan Nicolaescu <dann@ics.uci.edu>
3468 * vc.el (with-vc-properties): Deal with directory arguments. (Bug#5298)
3470 * vc-dir.el (vc-dir-resynch-file): Update the vc-dir header when
3471 resyncing a directory.
3473 2010-01-17 Stephen Leake <stephen_leake@member.fsf.org>
3475 * progmodes/ada-mode.el: Fix bug#1920.
3476 (ada-ident-re): Delete ., allow multibyte characters.
3477 (ada-goto-label-re): New; matches goto labels.
3478 (ada-block-label-re): New; matches block labels.
3479 (ada-label-re): New; matches both.
3480 (ada-named-block-re): Deleted; callers changed to use
3481 `ada-block-label-re' instead.
3482 (ada-get-current-indent, ada-get-indent-noindent, ada-get-indent-loop):
3483 Use `ada-block-label-re'.
3484 (ada-indent-on-previous-lines): Improve handling of goto labels.
3485 (ada-get-indent-block-start): Special-case block label.
3486 (ada-get-indent-label): Split into `ada-indent-block-label' and
3487 `ada-indent-goto-label'.
3488 (ada-goto-stmt-start, ada-goto-next-non-ws):
3489 Optionally ignore goto labels.
3490 (ada-goto-next-word): Simplify.
3491 (ada-indent-newline-indent-conditional): Insert newline before
3492 trying to fix indentation; doc fix.
3494 2010-01-17 Jay Belanger <jay.p.belanger@gmail.com>
3496 * calc/calc.el (calc-command-flags): Give it an initial value.
3498 2010-01-17 Glenn Morris <rgm@gnu.org>
3500 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer): Doc fix.
3502 2010-01-17 Juanma Barranquero <lekktu@gmail.com>
3504 * cedet/semantic.el (semantic-mode):
3505 * files.el (minibuffer-with-setup-hook):
3506 * textmodes/artist.el (artist-mt, artist-key-undraw-continously)
3507 (artist-key-draw-continously, artist-key-do-continously-continously)
3508 (artist-key-set-point-continously, artist-mouse-draw-continously):
3509 Fix typos in docstrings.
3511 2010-01-16 Lennart Borgman <lennart.borgman@gmail.com>
3513 * nxml/nxml-mode.el (nxml-extend-after-change-region): Never
3514 return t (Bug#3898).
3516 2010-01-16 Frédéric Perrin <frederic.perrin@resel.fr> (tiny change)
3518 * vc-dispatcher.el (vc-do-command): Set LC_MESSAGES, so that we
3519 can parse the output of the external commands (Bug#5279).
3521 2010-01-16 Jari Aalto <jari.aalto@cante.net>
3523 * pcmpl-unix.el (pcmpl-unix-read-passwd-file): Doc fix.
3525 2010-01-16 Chong Yidong <cyd@stupidchicken.com>
3527 * emacs-lisp/advice.el (ad-add-advice): Doc fix (Bug#5274)
3529 * emacs-lisp/cl-macs.el (defstruct): Doc fix (Bug#5267).
3531 * startup.el (command-line): Remove unused --icon-type arg.
3532 Handle --display arg, passing it to command-line-1 (Bug#5392).
3534 2010-01-16 Mario Lang <mlang@delysid.org>
3536 * cedet/ede/cpp-root.el (ede-cpp-root-project):
3537 * cedet/ede/files.el (ede-expand-filename):
3538 * cedet/ede/simple.el (ede-simple-project):
3539 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
3540 (semantic-complete-inline-tag-engine):
3541 * cedet/semantic/db-el.el (semanticdb-equivalent-mode):
3542 * cedet/semantic/db-global.el (semanticdb-equivalent-mode):
3543 * cedet/semantic/db-javascript.el (semanticdb-equivalent-mode):
3544 * cedet/semantic/db.el (semanticdb-equivalent-mode):
3545 * cedet/semantic/decorate/include.el (semantic-decoration-unknown-include-describe):
3546 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer):
3547 * emacs-lisp/chart.el (chart-translate-namezone):
3548 * textmodes/artist.el (artist-compute-popup-menu-table):
3549 Remove duplicated words in doc-strings.
3551 2010-01-15 David Abrahams <dave@boostpro.com> (tiny change)
3553 * net/mairix.el (mairix-widget-send-query): Send -1 instead of nil
3554 to mairix-search to suppress threading (Bug#5342).
3556 2010-01-15 Kenichi Handa <handa@m17n.org>
3558 * international/mule-cmds.el (canonicalize-coding-system-name):
3559 Convert "msXXX", "ibmXXX", "windows-XXX" to "cpXXX" (Bug#5387).
3561 2010-01-15 Glenn Morris <rgm@gnu.org>
3563 * log-view.el (top-level): Require 'wid-edit. (Bug#5311)
3565 * wid-edit.el (widget-keymap): Doc fix.
3567 * vc-svn.el (vc-svn-print-log): Use --limit rather than -l since the
3568 former seems to be more widely accepted by various svn versions.
3570 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
3572 * find-cmd.el (find-constituents):
3573 * vc-arch.el (vc-arch-root):
3574 * window.el (window-body-height, pop-up-frames):
3575 * cedet/semantic/edit.el (semantic-reparse-needed-change-hook)
3576 (semantic-no-reparse-needed-change-hook):
3577 * cedet/srecode/insert.el (srecode-resolve-argument-list)
3578 (srecode-template-inserter-blank, srecode-template-inserter-variable)
3579 (srecode-template-inserter-ask, srecode-template-inserter-width)
3580 (srecode-template-inserter-section-start)
3581 (srecode-template-inserter-section-end, srecode-insert-method):
3582 * emacs-lisp/eieio-base.el (eieio-singleton, slot-missing):
3583 * progmodes/ada-stmt.el (ada-if):
3584 * progmodes/gdb-ui.el (gdb-jsonify-buffer):
3585 * textmodes/ispell.el (ispell-grep-options, ispell-dictionary-alist)
3586 (ispell-encoding8-command, ispell-aspell-supports-utf8)
3587 (ispell-last-program-name, ispell-help): Fix typos in docstrings.
3589 * progmodes/flymake.el (flymake-post-syntax-check):
3590 Fix typo in error message.
3592 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
3594 * hexl.el (hexl-printable-character): Fix check of `hexl-iso',
3595 which is always a string. (Bug#5313)
3597 2010-01-14 Juanma Barranquero <lekktu@gmail.com>
3599 * progmodes/ada-xref.el (ada-default-prj-properties):
3600 Simplify previous change.
3602 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
3604 * progmodes/ada-xref.el (ada-default-prj-properties):
3605 Default ada_project_path to $ADA_PROJECT_PATH.
3607 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
3609 * progmodes/ada-mode.el (ada-create-keymap):
3610 Override `narrow-to-defun' with `ada-narrow-to-defun'.
3612 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
3614 * progmodes/ada-mode.el: Deal with Ada 2005 "overriding" keyword.
3615 (ada-subprog-start-re, ada-imenu-subprogram-menu-re): Add keyword.
3616 (ada-get-current-indent, ada-imenu-generic-expression)
3617 (ada-which-function): Check for it.
3619 2010-01-14 Stephen Leake <stephen_leake@member.fsf.org>
3621 * progmodes/ada-mode.el (ada-clean-buffer-before-saving): Make obsolete.
3622 (ada-mode): Don't obey `ada-clean-buffer-before-saving' anymore.
3624 2010-01-14 Glenn Morris <rgm@gnu.org>
3626 * frame.el (show-trailing-whitespace): Safe if boolean. (Bug#5312)
3628 2010-01-14 Kenichi Handa <handa@m17n.org>
3630 * composite.el (auto-composition-mode): Make it a buffer local
3631 variable (permanent-local).
3632 (auto-composition-function): Set the default value to
3634 (auto-composition-mode): Make it a simple function, not a minor mode.
3635 (global-auto-composition-mode): Likewise.
3636 (turn-on-auto-composition-if-enabled): Delete it.
3638 2010-01-13 Karl Fogel <kfogel@red-bean.com>
3640 * bookmark.el (bookmark-bmenu-execute-deletions): Doc fix (Bug#5276).
3642 2010-01-12 Michael Albinus <michael.albinus@gmx.de>
3644 * files.el (copy-directory): Compute target for recursive
3645 directories with identical names. (Bug#5343)
3647 2010-01-12 Glenn Morris <rgm@gnu.org>
3649 * mail/emacsbug.el (report-emacs-bug-pretest-address): Set
3650 it to bug-gnu-emacs rather than emacs-pretest-bug.
3652 2010-01-12 Juanma Barranquero <lekktu@gmail.com>
3654 * cedet/data-debug.el (data-debug): Fix customization group reference.
3656 2010-01-12 Juanma Barranquero <lekktu@gmail.com>
3658 * cedet/semantic/analyze.el (semantic-analyze-push-error)
3659 (semantic-analyze-context, semantic-analyze-context-assignment)
3660 (semantic-analyze-find-tag-sequence, semantic-analyze-find-tag):
3661 * cedet/semantic/java.el (java-mode, semantic-tag-include-filename)
3662 (semantic-java-doc-keywords-map):
3663 * cedet/semantic/bovine/c.el (c-mode, semantic-c-member-of-autocast)
3664 (semantic-lex-c-nested-namespace-ignore-second, semantic-parse-region)
3665 (semantic-c-parse-lexical-token, semantic-c-debug-mode-init-pch)
3666 (semantic-c-classname, semantic-format-tag-uml-prototype)
3667 (semantic-c-dereference-namespace, semantic-analyze-type-constants):
3668 * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string)
3669 (semantic-emacs-lisp-obsoleted-doc, semantic-up-context)
3670 (semantic-get-local-variables, semantic-end-of-command)
3671 (semantic-beginning-of-command, semantic-ctxt-current-class-list)
3673 * cedet/semantic/bovine/make.el (makefile-mode):
3674 * cedet/semantic/wisent/python.el (wisent-python-string-re)
3675 (wisent-python-implicit-line-joining-p, wisent-python-forward-string)
3676 (wisent-python-lex-beginning-of-line, wisent-python-lex-end-of-line)
3677 (semantic-lex, semantic-get-local-variables, python-mode):
3678 * cedet/semantic/wisent/python-wy.el (wisent-python-wy--keyword-table):
3679 * cedet/srecode/extract.el (srecode-extract-state-set)
3680 (srecode-extract-method): Fix typos in docstrings.
3682 2010-01-11 Sam Steingold <sds@gnu.org>
3684 * imenu.el (imenu-default-create-index-function): Detect infinite
3685 loops caused by imenu-prev-index-position-function.
3687 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
3689 * htmlfontify.el (htmlfontify-load-rgb-file)
3690 (htmlfontify-unload-rgb-file, hfy-fallback-colour-values)
3691 (htmlfontify-manual, htmlfontify, hfy-page-header, hfy-page-footer)
3692 (hfy-src-doc-link-style, hfy-src-doc-link-unstyle, hfy-link-extn)
3693 (hfy-link-style-fun, hfy-index-file, hfy-instance-file)
3694 (hfy-html-quote-regex, hfy-init-kludge-hook, hfy-post-html-hooks)
3695 (hfy-default-face-def, hfy-etag-regex, hfy-html-quote-map)
3696 (hfy-etags-cmd-alist-default, hfy-etags-bin, hfy-ignored-properties)
3697 (hfy-which-etags, hfy-etags-cmd, hfy-istext-command, hfy-display-class)
3698 (hfy-optimisations, hfy-tags-cache, hfy-tags-sortl, hfy-tags-rmap)
3699 (hfy-style-assoc, hfy-sheet-assoc, hfy-facemap-assoc, hfy-interq)
3700 (hfy-colour-vals, hfy-default-header, hfy-link-style-string)
3701 (hfy-triplet, hfy-slant, hfy-weight, hfy-combined-face-spec)
3702 (hfy-face-attr-for-class, hfy-face-to-style-i, hfy-size-to-int)
3703 (hfy-flatten-style, hfy-face-to-style, hfy-face-or-def-to-name)
3704 (hfy-face-to-css, hfy-p-to-face, hfy-p-to-face-lennart, hfy-face-at)
3705 (hfy-fontified-p, hfy-merge-adjacent-spans, hfy-buffer)
3706 (hfy-html-enkludge-buffer, hfy-html-quote, hfy-html-dekludge-buffer)
3707 (hfy-force-fontification, htmlfontify-buffer, hfy-dirname)
3708 (hfy-make-directory, hfy-text-p, hfy-mark-tag-names, hfy-relstub)
3709 (hfy-href-stub, hfy-href, hfy-mark-tag-hrefs, hfy-prepare-index-i)
3710 (hfy-prepare-index, hfy-prepare-tag-map, hfy-subtract-maps)
3711 (htmlfontify-run-etags): Fix typos in docstrings and remove superfluous
3712 backslash-quoting from parentheses, etc.
3714 2010-01-11 Chong Yidong <cyd@stupidchicken.com>
3716 * progmodes/js.el: Autoload javascript-mode alias.
3718 2010-01-11 Juanma Barranquero <lekktu@gmail.com>
3720 * ffap.el (ffap-shell-prompt-regexp, ffap-all-subdirs, ffap-url-p)
3721 (ffap-alist, ffap-tex-path, ffap-url-at-point, ffap-gopher-regexp)
3722 (ffap-gopher-at-point, ffap-file-at-point, ffap-read-file-or-url)
3723 (ffap-read-url-internal, ffap-menu, ffap-at-mouse):
3724 Fix typos in docstrings.
3725 (ffap-url-regexp): Doc fix.
3726 (ffap-at-mouse): Fix typo in message.
3728 2010-01-11 Glenn Morris <rgm@gnu.org>
3730 * version.el (emacs-copyright): Set copyright year to 2010.
3732 2010-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3734 * format.el (format-annotate-function): Only set
3735 write-region-post-annotation-function after running to-fn so as not to
3736 affect nested write-region calls (bug#5273).
3738 2010-01-10 Chong Yidong <cyd@stupidchicken.com>
3740 * cedet/semantic.el (semantic-new-buffer-setup-functions):
3743 * Makefile.in (ELCFILES): Add wisent/python-wy.el and
3746 2010-01-10 Richard Kim <emacs18@gmail.com>
3748 * cedet/semantic/wisent/python-wy.el:
3749 * cedet/semantic/wisent/python.el: New files.
3751 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
3753 * man.el (Man-goto-section): Signal error if the section is not
3756 2010-01-09 Juanma Barranquero <lekktu@gmail.com>
3758 * vc-bzr.el (vc-bzr-working-revision): On Windows and MS-DOS, accept
3759 URLs with a leading triple slash in the file: scheme. (Bug#5345)
3761 2010-01-09 Chong Yidong <cyd@stupidchicken.com>
3763 * progmodes/compile.el: Don't treat compile-command as safe if
3764 compilation-read-command might be nil (Bug#4218).
3766 2010-01-09 Jan Djärv <jan.h.d@swipnet.se>
3768 * startup.el (command-line-1): Use orig-argi to check for ignored X and
3771 2010-01-08 Kenichi Handa <handa@m17n.org>
3773 * international/fontset.el (build-default-fontset-data):
3774 Exclude characters in scripts kana, hangul, han, or cjk-misc.
3776 2010-01-07 Juanma Barranquero <lekktu@gmail.com>
3778 * vc-dir.el (vc-dir-prepare-status-buffer): Pass a (fake) filename
3779 to `create-file-buffer' as it expects, not just a buffer name.
3780 (vc-dir-mode): Include the buffer name in `list-buffers-directory',
3781 to help uniquify. (Bug#3224)
3783 2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
3785 * font-setting.el (font-setting-change-default-font): Use user-spec
3788 2010-01-06 Dan Nicolaescu <dann@ics.uci.edu>
3790 * vc-bzr.el (vc-bzr-after-dir-status): Ignore pending merges.
3792 2010-01-05 Tom Tromey <tromey@redhat.com>
3794 * progmodes/python.el (python-font-lock-keywords):
3795 Handle qualified decorators (Bug#881).
3797 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
3799 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
3800 in a lightweight checkout.
3802 2010-01-05 Kenichi Handa <handa@m17n.org>
3804 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and ZWJ.
3806 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
3808 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
3810 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
3812 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
3813 checkouts. (Bug#618)
3814 (vc-bzr-log-view-mode): Also highlight the author.
3815 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
3816 (vc-bzr-shelve-menu-map):
3817 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
3818 (vc-bzr-shelve-apply): Make prompt more explicit.
3820 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
3822 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
3823 They are valid characters in URL paths (rfc3986), and at least
3824 Firefox does not understand the encoded version (Bug#3166).
3826 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
3828 * progmodes/octave-mod.el (octave-end-keywords)
3829 (octave-block-begin-or-end-regexp, octave-block-match-alist):
3830 Add "end" keyword (Bug#3061).
3831 (octave-end-as-array-index-p): New function.
3832 (calculate-octave-indent): Use it.
3834 2010-01-02 Karl Fogel <kfogel@red-bean.com>
3836 * bookmark.el: Consistently put the text property on the bookmark name.
3837 (bookmark-bmenu-marks-width): Bump back to 2, to include
3839 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
3840 property on the bookmark name, instead of not putting it at all.
3841 (bookmark-bmenu-list): Fix where we put the text property.
3843 2010-01-02 Karl Fogel <kfogel@red-bean.com>
3845 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
3846 for showing buffer modified state (as added in the previous change).
3848 2010-01-02 Karl Fogel <kfogel@red-bean.com>
3850 * bookmark.el: Show modified state of bookmark buffer more accurately.
3851 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
3852 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
3853 (with-buffer-modified-unmodified): New macro.
3854 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
3855 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
3856 Use new macro to preserve the buffer modified state.
3858 2010-01-02 Karl Fogel <kfogel@red-bean.com>
3860 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window)
3861 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
3862 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
3863 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
3864 (bookmark-bmenu-rename, bookmark-bmenu-locate)
3865 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark):
3866 Remove unnecessary calls to `bookmark-bmenu-ensure-position'.
3868 2010-01-02 Eli Zaretskii <eliz@gnu.org>
3870 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
3871 Make the lines in the generated doc string shorter. (Bug#4668)
3873 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
3875 * net/rcirc.el: Add follow-link binding (Bug#4738).
3877 2010-01-02 Eli Zaretskii <eliz@gnu.org>
3879 * Makefile.in (bzr-update): Rename from cvs-update.
3880 (cvs-update): New target for backward compatibility.
3882 * makefile.w32-in (bzr-update): Rename from cvs-update.
3883 (cvs-update): New target for backward compatibility.
3885 2010-01-02 Karl Fogel <kfogel@red-bean.com>
3887 * bookmark.el: Remove gratuitous gratitude.
3889 2010-01-02 Karl Fogel <kfogel@red-bean.com>
3891 * bookmark.el (bookmark-bmenu-any-marks): New function
3892 (bookmark-bmenu-save): Clear buffer modification if no marks.
3894 2010-01-02 Karl Fogel <kfogel@red-bean.com>
3896 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
3897 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
3898 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
3899 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
3901 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
3902 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
3903 To: emacs-devel {_AT_} gnu.org
3904 Subject: bookmark.el bug report
3905 Date: Mon, 28 Dec 2009 14:19:16 +0800
3906 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
3908 2010-01-02 Karl Fogel <kfogel@red-bean.com>
3910 * bookmark.el: Improvements suggested by Drew Adams:
3911 (bookmark-bmenu-ensure-position): New name for
3912 `bookmark-bmenu-check-position'. Just ensure the position,
3913 don't return any meaningful value.
3914 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
3917 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
3919 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
3920 (bookmark-yank-point, bookmark-bmenu-check-position):
3921 Fix typos in docstrings.
3922 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
3923 (bookmark-name-from-full-record, bookmark-get-position)
3924 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
3925 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
3926 Remove useless quoting of parenthesis, etc. in docstrings.
3928 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
3929 (ediff-append-custom-diff): Fix typo in error message.
3930 (ediff-meta-mark-equal-files): Fix typos in messages.
3932 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
3934 * cedet/semantic/db-typecache.el (semanticdb-typecache-find-default):
3935 Fix typo in docstring.
3937 * net/imap-hash.el (imap-hash-make): Doc fix.
3938 (imap-hash-test): Fix typo in error message; reflow docstring.
3939 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
3940 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
3941 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
3942 Fix typos in docstrings.
3943 (imap-hash-open-connection): Fix typo in error message.
3945 * play/gomoku.el (gomoku): Fix typos in docstring.
3947 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
3948 (gdb-jsonify-buffer): Fix typos in docstring.
3949 (gdb-goto-breakpoint): Fix typo in error message.
3950 ("Display Other Windows"): Fix typo in help message.
3951 (gdb-speedbar-expand-node): Fix typo in question.
3953 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
3954 (idlwave-html-system-help-location, idlwave-html-help-location)
3955 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
3956 (idlwave-help-browser-generic-args, idlwave-help-directory)
3957 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
3958 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
3959 (idlwave-online-help, idlwave-help-html-link)
3960 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
3961 Fix typos in docstrings.
3962 (idlwave-help-with-source, idlwave-help-find-routine-definition):
3964 (idlwave-help-assistant-start): Fix typo in error message.
3966 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
3967 (octave-electric-space): Fix typos in docstrings.
3969 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
3971 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
3973 2010-01-01 Juri Linkov <juri@jurta.org>
3975 * comint.el (comint-input-ring-size): Make it a defcustom and
3976 increase the default to 500 (Bug#5148).
3978 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
3980 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
3981 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
3982 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
3984 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
3986 Show working revision correctly for mercurial.
3987 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
3988 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
3990 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
3992 Declare some functions for the byte-compiler.
3993 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
3994 (speedbar-timer-fn, speedbar-change-expand-button-char)
3995 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
3997 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
3999 This changeset reverts GDB Graphical Interface to use annotations.
4000 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
4002 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
4004 Make vc-dir work on subdirectories of the bzr root.
4005 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument. Return
4006 file names relative to it.
4007 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
4008 relative directory to vc-bzr-after-dir-status.
4010 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
4012 * font-lock.el (font-lock-refresh-defaults): New function, which
4013 can be used to let font-lock react to external changes in
4014 variables like font-lock-defaults and keywords.
4015 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
4017 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
4019 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
4021 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
4023 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
4025 Supersede color.diff settings in git log (bug#5211).
4027 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
4028 escape chars in its output when the user has color.diff set to `always'.
4029 This fix works on git 1.4.2 and newer (released on 2006-08-13).
4031 2009-12-26 Kevin Ryde <user42@zip.com.au>
4033 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
4034 node. Keep previous "Index" name to work with past coreutils too.
4036 * man.el (man): Revise docstring a bit to show -a and -l as
4037 examples. Add -k description since support for it has otherwise
4038 been a secret. (Further to bug#3717.)
4039 (Man-bgproc-sentinel): When "-k foo" produces no output show error
4040 "no matches" rather than "Can't find manpage", as the latter reads
4041 like -k was interpreted as a page name, which is not so. (Bug#5431)
4043 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
4045 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
4046 switches. Check also for //SUBDIRED// line.
4048 2009-12-25 Kenichi Handa <handa@m17n.org>
4050 * language/indian.el (devanagari-composable-pattern): Fixed to
4051 handle ZWNJ and ZWJ. Use it in composition-function-table for
4053 (malayalam-composable-pattern): Fix previous change.
4055 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4057 * ps-print.el (ps-face-attributes): It was not returning the
4058 attribute face for faces specified as string. Reported by harven
4060 (ps-print-version): New version 7.3.5.
4062 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
4064 * calendar/icalendar.el (icalendar--convert-tz-offset):
4066 (icalendar--convert-tz-offset): Fix the "last-day-problem".
4067 (icalendar--add-diary-entry): Remove the trailing blank that
4068 diary-make-entry inserts.
4070 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
4072 Make `file-expand-wildcards' work for remote files.
4074 * files.el (file-expand-wildcards): In case of remote files, check
4075 only local file name part for wildcards. Provide feature 'files
4076 and subfeature 'remote-wildcards. (Bug#5198)
4078 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
4079 if there is already an established connection.
4080 (tramp-advice-file-expand-wildcards): Remove it.
4082 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
4083 (tramp-advice-file-expand-wildcards): Move from tramp.el.
4084 Activate advice for older GNU Emacs versions. (Bug#5237)
4086 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
4088 Some doc fixes (more needed).
4090 * find-cmd.el (find-constituents): Reflow docstring.
4091 (find-cmd, find-prune, find-command): Fix typos in docstrings.
4092 (find-generic): Doc fix.
4094 2009-12-17 Juri Linkov <juri@jurta.org>
4096 Fix regression from 23.1 to allow multiple modes in Local Variables.
4098 * files.el (hack-local-variables-filter): While ignoring duplicates,
4099 don't take `mode' into account.
4100 (hack-local-variables-filter, hack-dir-local-variables):
4101 Don't remove duplicate `mode' from local-variables-alist (like `eval').
4103 2009-12-17 Juri Linkov <juri@jurta.org>
4105 Make `dired-diff' safer. (Bug#5225)
4107 * dired-aux.el (dired-diff): Signal an error when `file' equals to
4108 `current' or when `file' is a directory of the `current' file.
4110 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
4112 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
4113 unconditionally preloaded files.
4115 2009-12-16 Juri Linkov <juri@jurta.org>
4117 Revert to old 23.1 logic of using the file at the mark as default.
4118 * dired-aux.el (dired-diff): Use the file at the mark as default
4119 if it's not the same as the current file, and the target dir is
4120 the current dir or the mark is active. Add the current file
4121 as the arg of `dired-dwim-target-defaults'. Use the default file
4122 in the prompt. (Bug#5225)
4124 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
4126 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
4127 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
4128 (tramp-check-for-regexp): Check also, when an echoing shell stops
4129 to echo sent commands.
4131 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
4133 * Makefile.in: Revert last change (Bug#5191).
4135 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
4137 * vc-hg.el (vc-hg-print-log): Fix argument order.
4138 (vc-hg-working-revision): Make sure the command is executed in a
4139 known environment so that we can parse the output. (Bug#4417)
4141 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
4143 * progmodes/python.el (python-symbol-completions): Remove text
4144 properties from symbol string before calling python-send-receive.
4146 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
4148 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
4149 when there are values for both file and line. (Bug#5060)
4151 2009-12-14 Juri Linkov <juri@jurta.org>
4153 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
4154 whitespace after the file name of the first line of unified format,
4155 because git-diff doesn't output whitespace and file modification time
4156 after the file name.
4158 2009-12-14 David Kastrup <dak@gnu.org>
4160 * info.el (Info-hide-cookies-node): Before hiding a cookie,
4161 check if it already has the `display' property added by
4162 `Info-display-images-node', and not put the `invisible' property
4165 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
4167 * cedet/semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
4168 (semantic-mru-bookmark-mode): Doc fixes.
4170 * cedet/semantic/db.el (semanticdb-cache-get): Use error instead
4173 2009-12-13 Glenn Morris <rgm@gnu.org>
4175 * mail/emacsbug.el (message-sort-headers): Define for compiler.
4176 (report-emacs-bug): In message-mode, sort manually before storing
4177 original report text. (Bug#5178)
4178 Remove superfluous save-excursion.
4180 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
4182 * net/dbus.el (dbus-property-handler): Filter lambda forms out
4183 when responding to "GetAll" properties.
4185 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
4187 * simple.el (compose-mail): Remove mail-setup-with-from from
4188 customization checks.
4190 2009-12-12 Eli Zaretskii <eliz@gnu.org>
4192 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
4193 RAR archives created on Unix systems.
4195 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
4197 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
4198 the varalias that was accidentally removed by the 2009-11-19 change
4201 2009-12-12 Kenichi Handa <handa@m17n.org>
4203 * language/indian.el (indian-compose-regexp): New function.
4204 (malayalam-composable-pattern): Fix the pattern.
4205 (composition-function-table): Set malayalam-composable-pattern for
4206 Malayalam characters.
4208 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
4210 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
4211 rather than down-mouse-1, based on follow-link conventions.
4213 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
4216 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
4218 * progmodes/verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
4219 (verilog-vmm-statement-re, verilog-ovm-statement-re)
4220 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
4221 (verilog-leap-to-head, verilog-backward-token):
4222 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
4224 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
4226 * progmodes/verilog-mode.el (verilog-auto-lineup)
4227 (verilog-nameable-item-re): Cleanup user-visible spelling and
4228 documentation errors. One reported by Gary Delp.
4229 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
4230 (verilog-read-decls): Fix AUTOWIRE with types declared in a
4231 package, bug195. Reported by Pierre-David Pfister.
4233 2009-12-11 Glenn Morris <rgm@gnu.org>
4235 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
4237 * mail/emacsbug.el: No longer require sendmail.
4238 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
4239 (report-emacs-bug-orig-text): Doc fix.
4240 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
4241 New local variables, to adapt to different mail-user-agents.
4242 (report-emacs-bug): Fix test for a gnu.org address.
4243 Use overlays for emphasis, since font-lock defeats 'face property.
4244 Pretest bugs also end up at the newsgroup these days.
4245 Stop message-mode stripping text properties.
4246 Set and use the new buffer-local variables.
4247 (report-emacs-bug-hook): Add doc-string.
4248 Remove some unnecessary save-excursions and simplify.
4249 Use the appropriate hook and send-command.
4251 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
4252 capitalization of some menu entries.
4254 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4256 * whitespace.el (whitespace-display-char-on): Ensure
4257 `buffer-display-table' is unique when two or more windows are
4258 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
4261 2009-12-10 Eli Zaretskii <eliz@gnu.org>
4263 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
4264 characters in the Attribute field.
4266 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
4268 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
4270 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
4272 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
4273 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4274 Disregard autoload-excludes.
4275 (update-directory-autoloads): Obey autoload-excludes here instead.
4276 But don't store its contents in no-autoloads and remove entries that
4277 refer to excludes files.
4279 2009-12-10 Glenn Morris <rgm@gnu.org>
4281 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
4282 (expand-mail-aliases): Define for compiler.
4284 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
4285 Define for compiler.
4287 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
4288 appropriate for the mail-user-agent in use.
4290 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
4292 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
4294 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
4296 Fix short log parsing and fontification.
4297 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
4298 Fix fontification for the [merge] label.
4300 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
4302 Drop some properties to avoid surprises (bug#5002).
4303 * htmlfontify.el (hfy-ignored-properties): New defcustom.
4304 (hfy-fontify-buffer): Use it.
4306 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
4309 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
4311 (ffap-locate-file): Remove unused arg `dir-ok' and make other
4312 args compulsory. Adjust callers.
4313 (ffap-gopher-at-point): Remove unused var `name'.
4315 Get rid of the ELCFILES abomination.
4316 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
4317 (compile-elcfiles): New phony target.
4318 (compile-main): Compute ELCFILES dynamically.
4319 (compile-clean): New target to remove left-over elc files.
4320 (compile, all): Use it.
4322 2009-12-09 Kenichi Handa <handa@etlken>
4324 * international/mule-diag.el: Require help-mode instead of help-fns.
4326 2009-12-09 Kenichi Handa <handa@m17n.org>
4328 * international/mule-cmds.el (ucs-names): Supply sufficiently
4329 fine ranges instead of pre-calculating accurate ranges.
4330 Iterate with bigger gc-cons-threshold.
4332 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
4334 Add support for stashing a snapshot of the current tree.
4335 * vc-git.el (vc-git-stash-snapshot): New function.
4336 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
4338 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
4340 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
4341 instead of `(beginning|end)-of-line'.
4343 2009-12-08 Glenn Morris <rgm@gnu.org>
4345 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
4347 * Makefile.in (ELCFILES): Regenerate.
4349 2009-12-07 Juri Linkov <juri@jurta.org>
4351 Don't lazy-highlight the comint output in history Isearch mode.
4353 * comint.el (comint-history-isearch-search): Instead of
4354 `comint-line-beginning-position', use `comint-after-pmark-p'
4355 to check if point if before the process mark, and go to
4356 `process-mark' in this case.
4358 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4360 * textmodes/tex-mode.el (latex-complete)
4361 (latex-indent-or-complete): Remove.
4362 (latex-mode): Set completion-at-point-functions instead.
4364 Provide a standard completion command and hook it into TAB.
4365 * minibuffer.el (completion-at-point-functions): New var.
4366 (completion-at-point): New command.
4367 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
4368 * progmodes/python.el (python-mode-map): Use completion-at-point.
4369 (python-completion-at-point): Rename from python-partial-symbol and
4370 adjust for use in completion-at-point-functions.
4371 (python-mode): Setup completion-at-point for Python completion.
4372 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
4373 extracted from lisp-complete-symbol.
4374 (lisp-complete-symbol): Use it.
4375 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
4376 setup completion-at-point for Elisp completion.
4377 (emacs-lisp-mode-map, lisp-interaction-mode-map):
4378 Use completion-at-point.
4379 * ielm.el (ielm-map): Use completion-at-point.
4380 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
4381 * progmodes/sym-comp.el: Move to...
4382 * obsolete/sym-comp.el: Move from progmodes.
4384 2009-12-07 Eli Zaretskii <eliz@gnu.org>
4386 Prevent save-buffer in Rmail buffers from using the coding-system
4387 of the current message, and from clobbering the encoding mnemonics
4388 in the mode line (Bug#4623).
4390 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
4392 (rmail-message-encoding): New variable.
4393 (rmail-write-region-annotate): Record the encoding of the current
4394 message in rmail-message-encoding.
4395 (rmail-after-save-hook): New function, restores the encoding of
4396 the current message after the message collection is saved.
4398 2009-12-07 Juri Linkov <juri@jurta.org>
4400 * progmodes/grep.el (grep-read-files): Use `completing-read'
4401 instead of `read-string'. Set its `collection' arg to
4402 `read-file-name-internal'. (Bug#4301)
4404 2009-12-07 Juri Linkov <juri@jurta.org>
4406 Correctly restore original Isearch point. (Bug#4994)
4408 * isearch.el (isearch-mode): Move `isearch-push-state' after
4409 `(run-hooks 'isearch-mode-hook)'.
4410 (isearch-cancel): When `isearch-push-state-function' is defined,
4411 let-bind `isearch-cmds' to the first state (the last element of
4412 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
4413 function and restores the original point). Otherwise, move point
4414 to `isearch-opoint'.
4416 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4418 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
4419 chars that don't have names, so the table can be built much faster at
4422 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
4424 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
4425 change. Suggested by David Kastrup.
4427 * simple.el (compose-mail): Check for incompatibilities and warn.
4428 (compose-mail-user-agent-warnings): New option.
4430 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
4432 Support showing a single log entry from vc-annotate.
4433 * vc.el (print-log): Add a new argument: START-REVISION.
4434 (vc-print-log-internal): Add a new optional argument and
4435 pass it to the backend.
4436 (vc-print-log, vc-print-root-log): Adjust callers.
4437 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
4438 buffer already displays the requested log entry, use it.
4439 Otherwise display only the log entry in question.
4440 * vc-svn.el (vc-svn-print-log):
4441 * vc-mtn.el (vc-mtn-print-log):
4442 * vc-hg.el (vc-hg-state):
4443 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
4444 (vc-git-show-log-entry): Return t on success.
4445 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
4446 (vc-bzr-show-log-entry): Return t on success.
4447 * vc-rcs.el (vc-rcs-print-log):
4448 * vc-sccs.el (vc-sccs-print-log):
4449 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
4451 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
4453 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
4454 Add menus to the meta mode. (Bug#5043)
4456 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
4458 * ediff-init.el (ediff-event-key): Use event-to-character instead of
4461 * ediff.el (ediff-buffers-internal): Add unwind-protect.
4463 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
4465 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
4466 Berbain <raphael.berbain@gmail.com>.
4468 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
4470 (tramp-initial-end-of-output): New defconst.
4471 (tramp-methods, tramp-find-shell)
4472 (tramp-open-connection-setup-interactive-shell)
4473 (tramp-maybe-open-connection): Use it.
4474 (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
4475 existence of `#' and `$'.
4477 * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
4478 `tramp-initial-end-of-output'.
4480 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
4482 Get the background mode from the terminal for xterm, and set
4484 * term/xterm.el (xterm-set-background-mode): New function.
4485 (terminal-init-xterm): Use it in case xterm supports background
4486 color queries. Recompute faces after getting the background
4489 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
4491 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
4492 number comment back on its own line, for easier parsing.
4494 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4496 Make it work for non-file buffers (bug#5102).
4497 * doc-view.el (doc-view-current-cache-dir):
4498 Use doc-view-buffer-file-name rather than buffer-file-name.
4499 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
4501 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
4503 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
4504 author field is too short.
4506 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
4508 * vc-git.el (vc-git-print-log): Handle a limit argument.
4509 Display the short log in graph form and with labels.
4510 (vc-git-log-view-mode): Handle labels.
4512 Make vc-revert change VC state from 'added to 'unregistered.
4513 * vc-git.el (vc-git-revert): Call git reset first.
4515 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
4517 * net/newst-backend.el, net/newst-plainview.el:
4518 * net/newst-reader.el, net/newst-ticker.el:
4519 * net/newst-treeview.el, net/newsticker.el:
4520 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
4522 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
4524 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
4526 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
4527 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
4528 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
4529 Update annotation regexp.
4531 * simple.el (beginning-of-visual-line): Constrain to field
4532 boundaries (Bug#5106).
4534 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
4536 * xml.el (xml-substitute-numeric-entities): Move
4537 newsticker--decode-numeric-entities in newst-backend.el to
4538 xml-substitute-numeric-entities in xml.el. (Bug#5008)
4539 * net/newst-backend.el (newsticker--parse-generic-feed)
4540 (newsticker--parse-generic-items)
4541 (newsticker--decode-numeric-entities): Move
4542 newsticker--decode-numeric-entities in newst-backend.el to
4543 xml-substitute-numeric-entities in xml.el. (Bug#5008)
4545 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
4547 * progmodes/js.el (js--js-not): Add null to the list of values.
4549 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
4551 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
4553 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
4555 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
4556 delimiter if it is at the end of the current line.
4557 (bibtex-generate-url-list): Fix docstring.
4559 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4561 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
4562 minibuffer's content with itself.
4563 Fold the confirm-after-completion case into the `confirm' case.
4564 (completion-pcm-word-delimiters): Add : and / to the delimiters.
4566 2009-12-06 Kevin Ryde <user42@zip.com.au>
4568 * ffap.el (ffap-rfc-path): Make this a defcustom since
4569 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
4571 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
4572 manuals, similar to existing setup for help-mode. (Bug#3913.)
4574 2009-12-05 Juri Linkov <juri@jurta.org>
4576 Save and restore dired buffer's point positions too. (Bug#4880)
4578 * dired.el (dired-save-positions): Return in the first element
4579 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
4581 (dired-restore-positions): First restore buffer's position.
4582 While restoring window's positions, check if window still displays
4583 the original buffer.
4585 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
4587 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
4590 * cedet/semantic/ia.el (semantic-ia-complete-symbol):
4591 Make argument optional.
4593 * shell.el (shell): Require ansi-color (Bug#5113).
4595 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
4597 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
4599 2009-12-05 Alan Mackenzie <acm@muc.de>
4601 * progmodes/cc-mode.el (c-before-hack-hook)
4602 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
4603 `c-file-style' to work again. This reversion restores the current
4604 software to its state in Emacs 23.1. (Bug#4146)
4606 2009-12-05 Kevin Ryde <user42@zip.com.au>
4608 * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
4609 comment-start-skip to comment-end-skip as comment (Bug#4781).
4611 2009-12-05 Juri Linkov <juri@jurta.org>
4613 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
4614 for virtual nodes. (Bug#4147)
4615 (Info-find-node-2): Set `Info-current-node-virtual' to nil
4616 when moving from a virtual node.
4617 (Info-mode-menu): Add `Info-virtual-index' to the menu.
4618 (Info-mode): Add `Info-virtual-index' to the docstring.
4620 2009-12-05 Eric Ludlam <zappo@gnu.org>
4622 * cedet/semantic/bovine/c.el (semantic-c-describe-environment):
4623 Describe project macro symbols.
4625 * cedet/semantic/complete.el (semantic-complete-do-completion):
4626 Don't call semantic-collector-current-exact-match.
4628 * cedet/ede.el (ede-apply-preprocessor-map): Accept lists of
4629 ede-objects as targets.
4631 * cedet/ede/pmake.el (ede-proj-makefile-insert-variables): Output
4632 a target's object list even if compiler vars are already in the
4635 * cedet/ede/emacs.el (ede-preprocessor-map): Add config.h to the
4636 list of headers producing necessary macros.
4638 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
4640 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
4641 track of the buffer position of the end of a BibTeX entry as this
4642 position may change during reformatting.
4643 (bibtex-format-entry): Remove whitespace before processing
4644 numerical fields so that we recognize the latter properly.
4645 (bibtex-reformat): Do not use push which changes the global value
4646 of bibtex-entry-format.
4647 (bibtex-field-braces-alist, bibtex-field-strings-alist)
4648 (bibtex-field-re-init): Replace only space characters by regexp
4650 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
4651 (bibtex-initialize): Also update bibtex-strings.
4652 (bibtex-kill-field): Preserve white space at end of entry.
4653 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
4654 Update bibtex-reference-keys.
4656 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
4658 * minibuffer.el (completion-pcm--merge-try): Also consider placing
4659 point after a star, if that's the only place where modifications can
4662 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
4664 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
4667 2009-12-04 Juri Linkov <juri@jurta.org>
4669 * proced.el (proced): Call `(proced-update t)' to update process
4670 information instead of only running proced-post-display-hook.
4671 (proced-send-signal): Add a leading space to the buffer name
4672 " *Marked Processes*" to make this buffer ephemeral.
4674 2009-12-04 Juri Linkov <juri@jurta.org>
4676 * dired.el (dired-auto-revert-buffer): New defcustom.
4677 (dired-internal-noselect): Use it.
4679 2009-12-04 Juri Linkov <juri@jurta.org>
4681 Change roles of modes and functions in image-mode.el (Bug#5062).
4683 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
4684 in `auto-mode-alist'.
4685 (image-mode-previous-major-mode): New variable.
4686 (image-minor-mode-map): Rename from `image-mode-text-map'.
4687 (image-mode): Move graceful error-handling code from
4688 `image-minor-mode' to here. On errors call `image-mode-as-text'.
4689 (image-minor-mode): Remove all image-handling code.
4690 Replace `image-mode-text-map' with `image-minor-mode-map'.
4691 Check for `image-type' in mode-line format string.
4692 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
4693 (image-mode-as-text): New function with most code from
4695 (image-toggle-display-text): Move code that removes image
4696 properties from `image-toggle-display' to here.
4697 (image-toggle-display-image): New function with code that adds
4698 image properties copied from `image-toggle-display'.
4699 (image-toggle-display): Remove most code with leaving only code
4700 that toggles between `image-mode-as-text' and `image-mode'.
4702 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
4704 * net/newst-treeview.el
4705 (newsticker--treeview-list-highlight-start): Restored call to
4706 save-excursion: Selected item was stuck.
4707 (newsticker--treeview-list-select): New.
4708 (newsticker--treeview-item-show-text)
4709 (newsticker--treeview-item-show)
4710 (newsticker--treeview-item-update): Use new
4711 newsticker-treeview-item-mode.
4712 (newsticker-treeview-update): Keep current item.
4713 (newsticker-treeview-next-new-or-immortal-item): Doc change.
4714 (newsticker--treeview-first-feed): Doc change.
4715 (newsticker-treeview-list-menu)
4716 (newsticker-treeview-item-menu): Added menu entries.
4717 (newsticker-treeview-item-mode): New.
4719 * net/newst-backend.el (newsticker-customize): Delete other
4722 2009-12-04 Sam Steingold <sds@gnu.org>
4724 * log-view.el (log-view-mode-map): "q" calls quit-window,
4725 like in all the other non-self-insert buffers.
4727 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4730 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
4731 key decoding rather than do it manually via last-input-event +
4733 (term-exec): Use delete-and-extract-region.
4734 (term-handle-ansi-terminal-messages): Remove unused var `end'.
4735 (term-process-pager): Remove unused var `i'.
4736 (term-dynamic-simple-complete): Make obsolete.
4737 (serial-update-config-menu): Remove unused vars `y' and `str'.
4738 (term-update-mode-line): Remove unused var `temp'.
4740 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
4742 Limit the number of log entries displayed by default.
4743 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
4744 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
4745 using a prefix argument.
4747 2009-12-03 Glenn Morris <rgm@gnu.org>
4749 * progmodes/idlwave.el (class): Restore still useful declaration.
4751 2009-12-03 Alan Mackenzie <acm@muc.de>
4753 Enhance `c-parse-state' to run efficiently in "brace deserts".
4755 * progmodes/cc-mode.el (c-basic-common-init):
4756 Call c-state-cache-init.
4757 (c-neutralize-syntax-in-and-mark-CPP): Rename from
4758 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
4759 placing `category' properties value 'c-cpp-delimiter at its boundaries.
4761 * progmodes/cc-langs.el (c-before-font-lock-function):
4762 c-extend-and-neutralize-syntax-in-CPP has been renamed
4763 c-neutralize-syntax-in-and-mark-CPP.
4765 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
4766 with `category' properties now, not `syntax-table' ones.
4768 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
4769 enhanced (but slower) version of c-end-of-macro that won't land
4770 inside a literal or on another awkward character.
4771 (c-state-cache-too-far, c-state-cache-start)
4772 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
4773 (c-state-nonlit-pos-cache-limit, c-state-point-min)
4774 (c-state-point-min-lit-type, c-state-point-min-lit-start)
4775 (c-state-min-scan-pos, c-state-brace-pair-desert)
4776 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
4777 buffer local variables.
4778 (c-state-literal-at, c-state-lit-beg)
4779 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
4780 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
4781 (c-state-cache-top-paren, c-state-cache-after-top-paren)
4782 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
4783 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
4784 (c-renarrow-state-cache)
4785 (c-append-lower-brace-pair-to-state-cache)
4786 (c-state-push-any-brace-pair, c-append-to-state-cache)
4787 (c-remove-stale-state-cache)
4788 (c-remove-stale-state-cache-backwards, c-state-cache-init)
4789 (c-invalidate-state-cache-1, c-parse-state-1)
4790 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
4791 (c-parse-state): Enhance and refactor.
4792 (c-debug-parse-state): Amend to deal with all the new variables.
4794 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
4795 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
4796 modify to use category text properties rather than syntax-table ones.
4797 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
4798 to switch off/on the syntactic paren property of C++ template
4799 delimiters using the category property.
4800 (c-with-<->-as-parens-suppressed): Macro to invoke code with
4801 template delims suppressed.
4802 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
4803 New constant/macros which apply category properties to the start
4804 and end of preprocessor constructs.
4805 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
4806 "comment out" the syntactic value of characters in preprocessor
4808 (c-with-cpps-commented-out)
4809 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
4810 with characters in all or all but one preprocessor constructs
4813 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
4815 * proced.el (proced-filter-alist): Use regexp-quote.
4817 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
4820 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
4821 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
4822 arguments. Expand `default-directory'.
4824 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
4825 the benefit of returning an expanded localname.
4826 (tramp-tramp-file-p): Handle the case NAME is not a string.
4828 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
4830 Add support for bzr shelve/unshelve.
4831 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
4832 (vc-bzr-extra-menu-map): New variables.
4833 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
4834 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
4835 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
4836 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
4837 (vc-bzr-dir-extra-headers): Display shelves.
4839 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
4841 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4843 * textmodes/bibtex.el (bibtex-complete-internal):
4844 Use completion-in-region.
4845 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
4847 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
4849 Support applying stashes. Improve UI.
4850 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
4851 (vc-git-stash-apply, vc-git-stash-pop)
4852 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
4853 (vc-git-stash-menu): New functions.
4854 (vc-git-stash-menu-map): New variable.
4855 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
4857 2009-12-03 Glenn Morris <rgm@gnu.org>
4859 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
4860 (vc-print-log-internal): Fix previous change.
4861 (vc-revert): Correct pluralization.
4863 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4865 * progmodes/make-mode.el (makefile-special-targets-list): No need for
4866 it to be an alist any more.
4867 (makefile-complete): Use completion-in-region.
4869 * progmodes/octave-mod.el (octave-complete-symbol):
4870 Use completion-in-region.
4873 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
4874 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
4875 (idlwave-complete-class): Don't quote lambda.
4876 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
4877 (idlwave-mode-map): Move initialization into declaration.
4878 (idlwave-action-and-binding): Use backquotes.
4879 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
4881 (idlwave-is-pointer-dereference): Remove unused var `pos'.
4882 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
4883 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
4884 `parts', and `all-parts'.
4885 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
4886 (idlwave-convert-xml-system-routine-info): Remove unused string
4888 (idlwave-display-user-catalog-widget): Use dolist.
4889 (idlwave-scanning-lib): Declare dynamically-scoped var.
4890 (idlwave-scan-library-catalogs): Remove unused var `flags'.
4891 (completion-highlight-first-word-only): Declare to silence bytecomp.
4892 (idlwave-popup-select): Tighten scope of `resp'.
4893 (idlwave-find-struct-tag): Remove unused var `beg'.
4894 (idlwave-after-load-rinfo-hook): Declare.
4895 (idlwave-sintern-class-info): Remove unused var `taglist'.
4896 (idlwave-find-class-definition): Remove unused var `list'.
4897 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
4898 (idlwave-what-module-find-class): Remove unused var `classes'.
4900 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
4902 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
4904 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
4906 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
4907 buffers visited. Remove redundant current-buffer-saving.
4909 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4911 Use completion-in-buffer and remove uses of dynamic scoping.
4912 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
4913 (pascal-buffer-to-use, pascal-flag): Don't declare.
4914 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
4915 (pascal-get-completion-decl, pascal-keyword-completion):
4916 Add `pascal-str' argument, save-excursion,
4917 return the found completions, and don't filter with pascal-pred.
4918 (pascal-completion-cache): New var.
4919 (pascal-completion): Don't switch buffer any more (it was never
4920 necessary). Don't save-excursion any more (it's done by the called
4921 subroutines). Use a cache to avoid redundant computations.
4922 Use complete-with-action rather than pascal-completion-response and
4923 let it apply the predicate as well.
4924 (pascal-complete-word): Use completion-in-buffer when
4925 pascal-toggle-completions is nil.
4926 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
4928 (pascal-comp-defun): Don't change buffer any more.
4929 Use complete-with-action rather than pascal-completion-response and
4930 let it apply the predicate as well.
4931 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
4934 2009-12-02 Kenichi Handa <handa@m17n.org>
4936 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
4937 shape for all Indic scripts.
4939 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
4941 Use completion-in-buffer.
4942 * wid-edit.el (widget-field-text-end): New function.
4943 (widget-field-value-get): Use it.
4944 (widget-string-complete, widget-file-complete)
4945 (widget-color-complete): Use it and completion-in-region.
4946 (widget-complete): Don't narrow the buffer.
4948 2009-12-02 Glenn Morris <rgm@gnu.org>
4950 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
4951 (rmail-select-summary): Use rmail-pop-to-buffer.
4952 * mail/rmailsum.el: Replace all pop-to-buffer calls with
4953 rmail-pop-to-buffer, to prevent horizontal splits.
4955 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
4956 save-excursion with save-current-buffer.
4957 Widen before searching. (Bug#5093)
4958 (diary-list-sexp-entries): Remove superfluous save-excursion.
4960 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
4962 * woman.el (woman-make-bufname): Handle man-pages with "." in the
4965 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
4967 * ido.el (ido-file-internal): Handle filenames at point that do
4968 not have a directory part. (Bug#5049)
4970 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
4972 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
4973 (mpc-songs-jump-to, mpc-resume): Doc fixes.
4975 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
4977 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
4978 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
4981 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
4983 * comint.el (comint-insert-input): Ignore clicks to the right of
4984 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
4986 * vc.el (vc-print-log-internal): Don't wait for the process to
4987 terminate before setting up the major mode.
4989 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
4992 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
4995 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
4997 2009-12-01 Glenn Morris <rgm@gnu.org>
4999 * window.el (window--display-buffer-2): Fix previous changes.
5001 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
5003 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
5005 2009-12-01 Glenn Morris <rgm@gnu.org>
5007 * Makefile.in (ELCFILES): Add mpc.elc.
5009 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
5013 2009-12-01 Glenn Morris <rgm@gnu.org>
5015 * window.el (window-to-use): Define for compiler.
5017 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
5018 consistent with others (no final period).
5020 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
5021 (rmail-mime-show): Downcase the encoding. (Bug#5070)
5023 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
5025 Make vc-print-log buttons work.
5026 * log-view.el (log-view-mode-map): Inherit from widget-keymap.
5028 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
5030 * savehist.el (savehist-autosave-interval): Allow setting to nil
5031 through customize. (Bug#5056)
5033 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
5035 Fix references to jit-lock properties.
5036 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
5037 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
5038 (perl-font-lock-special-syntactic-constructs):
5039 Quote jit-lock-defer-multiline property.
5041 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
5043 * vc-git.el (vc-git-registered): Call vc-git-root only once.
5045 2009-11-30 Juri Linkov <juri@jurta.org>
5047 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
5048 value `buffer' of `multi-isearch-next-buffer-current-function'.
5049 Use `(current-buffer)' when `buffer' is nil.
5050 (multi-isearch-next-buffer-from-list): Don't fallback to
5051 `(current-buffer)' when `buffer' is nil. (Bug#4947)
5053 2009-11-30 Juri Linkov <juri@jurta.org>
5055 * misearch.el (multi-isearch-read-buffers): Move canonicalization
5056 of buffers with `get-buffer' to `multi-isearch-buffers'.
5057 (multi-isearch-buffers, multi-isearch-buffers-regexp):
5058 Canonicalize BUFFERS with `get-buffer'. Doc fix.
5059 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
5060 FILES with `expand-file-name' converting relative file names
5061 to absolute. Doc fix. (Bug#4727)
5063 2009-11-30 Juri Linkov <juri@jurta.org>
5065 * misearch.el (multi-isearch-read-buffers)
5066 (multi-isearch-read-matching-buffers): New functions.
5067 (multi-isearch-buffers, multi-isearch-buffers-regexp):
5068 Use them in the `interactive' spec. Doc fix.
5069 (multi-isearch-read-files, multi-isearch-read-matching-files):
5071 (multi-isearch-files, multi-isearch-files-regexp):
5072 Use them in the `interactive' spec. Doc fix. (Bug#4725)
5074 2009-11-30 Juri Linkov <juri@jurta.org>
5076 * doc-view.el (doc-view-continuous):
5077 Rename from `doc-view-continuous-mode'.
5078 (doc-view-menu): Move "Toggle display" to the top.
5079 Add submenu "Continuous" with radio buttons "Off"/"On"
5080 and "Save as Default".
5081 (doc-view-scroll-up-or-next-page)
5082 (doc-view-scroll-down-or-previous-page)
5083 (doc-view-next-line-or-next-page)
5084 (doc-view-previous-line-or-previous-page): Rename
5085 `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
5087 2009-11-30 Juri Linkov <juri@jurta.org>
5089 * comint.el (comint-mode-map): Rebind `M-r' from
5090 `comint-previous-matching-input' to
5091 `comint-history-isearch-backward-regexp'.
5092 Unbind `M-s' to allow global key binding `M-s'.
5093 Add menu items for `comint-history-isearch-backward' and
5094 `comint-history-isearch-backward-regexp'. (Bug#3746)
5096 2009-11-30 Juri Linkov <juri@jurta.org>
5098 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
5099 For def=recenter, replace `recenter' with `recenter-top-bottom'
5100 that is called with `this-command' and `last-command' let-bound
5101 to `recenter-top-bottom'. When the last `def' was not `recenter',
5102 set `recenter-last-op' to nil. (Bug#4981)
5104 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
5106 Minor cleanup and simplification.
5107 * filecache.el (file-cache-add-directory)
5108 (file-cache-add-directory-recursively)
5109 (file-cache-add-from-file-cache-buffer)
5110 (file-cache-delete-file-regexp, file-cache-delete-directory)
5111 (file-cache-files-matching-internal, file-cache-display): Use dolist.
5112 (file-cache-temp-minibuffer-message): Delete function.
5113 (file-cache-minibuffer-complete): Use minibuffer-message instead.
5115 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
5116 Don't signal an error when bumping into EOB in tr, s, or y.
5118 2009-11-29 Juri Linkov <juri@jurta.org>
5120 * startup.el (fancy-about-text): Fix wording of Guided Tour.
5123 * descr-text.el (describe-char-unidata-list): Use lowercase name
5124 for "Unicode name" like in other tags.
5126 2009-11-29 Juri Linkov <juri@jurta.org>
5128 * ediff-util.el (ediff-minibuffer-with-setup-hook):
5129 New compatibility macro.
5130 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
5132 2009-11-29 Juri Linkov <juri@jurta.org>
5134 Add defcustom to define the cycling order of `recenter-top-bottom'.
5137 * window.el (recenter-last-op): Doc fix.
5138 (recenter-positions): New defcustom.
5139 (recenter-top-bottom): Rewrite to use `recenter-positions'.
5140 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
5142 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
5144 Improve integration of Tramp and ange-ftp in eshell.
5146 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
5147 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
5148 (eshell/sudo): Flatten args. Let-bind `default-directory'.
5150 * eshell/esh-util.el (top): Require also Tramp when compiling.
5151 (eshell-directory-files-and-attributes): Check for FTP remote
5153 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
5154 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
5155 (eshell-file-attributes): Handle ".". Return `entry'.
5157 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
5158 (ange-ftp-directory-files-and-attributes)
5159 (ange-ftp-real-directory-files-and-attributes): New defuns.
5161 * net/tramp.el (tramp-maybe-open-connection): Open the remote
5162 shell with "exec" when possible. This prevents trailing prompts
5163 in `start-file-process'.
5165 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
5167 Try and remove assumptions about point-min==1.
5168 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
5169 (rng-compute-mode-line-string): Show the validation percentage in
5170 terms of the narrowed text, not the widened text.
5171 (rng-do-some-validation): Don't catch internal errors when debugging.
5172 (rng-first-error): Simplify.
5173 (rng-after-change-function): Remove work around. AFAIK the bug has
5174 been fixed a while ago.
5176 * image-mode.el (image-minor-mode): Exit more gracefully when the image
5177 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
5179 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
5181 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
5182 `cd' doesn't always do it for us (bug#5067).
5184 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
5185 on 2009-10-25 as part of some other change (bug#5067).
5187 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5189 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
5191 (byte-compile-warnings): Use byte-compile-warning-types.
5192 (byte-compile-save-excursion): Warn about use of set-buffer right
5193 after save-excursion.
5195 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
5196 the excursion as well.
5198 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
5200 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
5201 providing a Tramp related implementation of "su" and "sudo".
5202 (eshell-unix-initialize): Add "su" and "sudo".
5204 2009-11-27 Daiki Ueno <ueno@unixuser.org>
5206 * net/socks.el (socks-send-command): Convert binary request to
5207 unibyte before sending. This fixes mishandling of some port
5208 numbers such as 129.
5210 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
5212 * help.el (describe-bindings-internal): Remove `interactive'.
5214 * man.el (Man-completion-table): Trim a terminating "(".
5215 Remove the space between name page a section.
5216 Add the command's description on the `help-echo' property.
5217 Remove `process-connection-type' binding since it's unused by
5219 Provide completion for the "<section> <name>" format as well.
5220 (Man-default-man-entry): Remove spurious var shadowing the argument.
5222 2009-11-26 Kevin Ryde <user42@zip.com.au>
5224 * log-view.el: Add "Keywords: tools", since its other keywords
5225 aren't in finder-known-keywords, and following vc.el.
5227 * sha1.el (sha1-string-external): default-directory "/" in case
5228 otherwise non-existent. process-connection-type pipe for touch of
5229 efficiency recommended by elisp manual. (An aside in Bug#3911.)
5231 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
5233 Misc coding convention cleanups.
5234 * htmlfontify.el (hfy-init-kludge-hook): Rename from
5235 hfy-init-kludge-hooks.
5236 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
5237 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
5238 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
5240 (hfy-slant, hfy-weight): Use tables rather than code.
5241 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
5242 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
5243 (hfy-face-attr-for-class): Initialize `face-spec' directly.
5244 (hfy-face-to-css): Remove `nconc' with single arg.
5245 (hfy-p-to-face-lennart): Use `or'.
5246 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
5247 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
5248 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
5249 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
5250 (hfy-force-fontification): Use run-hooks.
5252 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
5254 Various minor fixes.
5255 * htmlfontify.el (hfy-default-header): Add toggle_invis since
5256 Javascript belongs in the header, not the body.
5257 (hfy-javascript): Remove.
5258 (hfy-fontify-buffer): Don't insert it any more.
5259 (hfy-face-at): Handle (face0 face1 face2) style face properties.
5260 Fix bug in invis handling when there were no invis props in a chunk.
5262 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
5264 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
5266 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
5268 * finder.el (finder-mode-map): Add a menu.
5270 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
5272 * progmodes/verilog-mode.el (verilog-at-struct-p): Support "signed" and
5275 (verilog-leap-to-head, verilog-backward-token): Handle "disable
5276 fork" statement better.
5278 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
5280 * progmodes/verilog-mode.el (verilog-auto-insert-lisp)
5281 (verilog-delete-auto, verilog-delete-empty-auto-pair)
5282 (verilog-library-filenames): Fix AUTOINSERTLISP to support insert-file.
5283 Reported by Clay Douglass.
5285 (verilog-auto-inst, verilog-auto-star-safe)
5286 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
5287 Fix removing "// Interfaces" when saving .* expansions. Reported by
5288 Pierre-David Pfister.
5290 2009-11-26 Glenn Morris <rgm@gnu.org>
5292 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
5295 2009-11-25 Johan Bockgård <bojohan@gnu.org>
5297 * vc-annotate.el (vc-annotate-revision-previous-to-line):
5298 Really use previous revision.
5300 2009-11-25 Kevin Ryde <user42@zip.com.au>
5302 * man.el (Man-completion-table): default-directory "/" in case
5303 doesn't otherwise exist. process-environment COLUMNS=999 so as
5304 not to truncate long names. process-connection-type pipe to avoid
5305 any chance of hitting the pseudo-tty TIOCGWINSZ.
5306 (man): completion-ignore-case t for friendliness and since man
5307 itself is case-insensitive on the command line.
5308 Further to Bug#3717.
5310 * arc-mode.el: Add "Keywords: files", so the details in its
5311 commentary can be reached from finder-by-keyword.
5312 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
5313 editing mode, but it's comms related and sgml-mode.el has "comm"
5315 * textmodes/bibtex-style.el: Add "Keywords: tex".
5316 * international/isearch-x.el, international/ja-dic-cnv.el:
5317 * international/ja-dic-utl.el, international/kkc.el:
5318 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
5320 2009-11-25 Juri Linkov <juri@jurta.org>
5322 * man.el (Man-completion-table): Modify regexp to include
5323 section names to completion strings. (Bug#3717)
5325 2009-11-25 Juri Linkov <juri@jurta.org>
5327 Search recursively in gzipped files. (Bug#4982)
5329 * progmodes/grep.el (grep-highlight-matches): Add new options
5330 `always' and `auto'. Doc fix.
5331 (grep-process-setup): Check `grep-highlight-matches' for
5332 `auto-detect' to determine the need to compute grep defaults.
5333 Move Windows/DOS specific --colors settings handling
5334 to `grep-compute-defaults'. Check `grep-highlight-matches'
5335 to get the value of "--color=".
5336 (grep-compute-defaults): Compute `grep-highlight-matches' when it
5337 has the value `auto-detect'. Move Windows/DOS specific settings
5338 from `grep-process-setup'.
5339 (zrgrep): New command with alias `rzgrep'.
5341 2009-11-25 Juri Linkov <juri@jurta.org>
5343 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
5344 to nil instead of switching off view-mode. (Bug#4896)
5346 2009-11-25 Juri Linkov <juri@jurta.org>
5348 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
5350 * mwheel.el (mwheel-scroll-up-function)
5351 (mwheel-scroll-down-function): New defvars.
5352 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
5353 `scroll-up', and `mwheel-scroll-down-function' instead of
5356 * doc-view.el (doc-view-scroll-up-or-next-page)
5357 (doc-view-scroll-down-or-previous-page): Add optional ARG.
5358 Use this ARG in the call to image-scroll-up/image-scroll-down.
5359 Change `interactive' spec to "P". Goto next/previous page only
5360 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
5361 SPC/DEL case). Doc fix.
5362 (doc-view-next-line-or-next-page)
5363 (doc-view-previous-line-or-previous-page): Rename arg to ARG
5365 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
5366 `doc-view-scroll-up-or-next-page', and buffer-local
5367 `mwheel-scroll-down-function' to
5368 `doc-view-scroll-down-or-previous-page'.
5370 2009-11-25 Juri Linkov <juri@jurta.org>
5372 Provide additional default values (directories at other Dired
5373 windows) via M-n in the minibuffer of some Dired commands.
5375 * dired-aux.el (dired-diff, dired-compare-directories)
5376 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
5377 `minibuffer-default' in `minibuffer-with-setup-hook'.
5378 (dired-dwim-target-directory): Find a window that displays Dired
5379 buffer instead of failing when the next window is not Dired.
5380 Use `get-window-with-predicate' to find for the next Dired window.
5381 (dired-dwim-target-defaults): New function.
5383 * ediff-util.el (ediff-read-file-name):
5384 Use `dired-dwim-target-defaults' to set `minibuffer-default'
5385 in `minibuffer-with-setup-hook'.
5387 2009-11-25 Juri Linkov <juri@jurta.org>
5389 Provide additional default values (file name at point or at the
5390 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
5392 * minibuffer.el (read-file-name-defaults): New function.
5393 (read-file-name): Reset `minibuffer-default' to nil when
5394 it duplicates initial input `insdef'.
5395 Bind `minibuffer-default-add-function' to lambda that
5396 calls `read-file-name-defaults' in `minibuffer-selected-window'.
5397 (minibuffer-insert-file-name-at-point): New command.
5399 * files.el (file-name-at-point-functions): New defcustom.
5400 (find-file-default): Remove defvar.
5401 (find-file-read-args): Don't use `find-file-default'.
5402 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
5403 to `read-file-name'.
5404 (find-file-literally): Use `read-file-name' with
5405 `confirm-nonexistent-file-or-buffer'.
5407 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
5409 * dired.el (dired-read-dir-and-switches):
5410 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
5411 to `read-file-name'.
5412 (dired-file-name-at-point): New function.
5413 (dired-mode): Add hook `dired-file-name-at-point' to
5414 `file-name-at-point-functions'.
5416 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5418 Really make the *Completions* window soft-dedicated (bug#5030).
5419 * window.el (window--display-buffer-2): Add `dedicated' argument.
5420 (display-buffer): Pass it when needed so the dedicated flag is set
5421 after calling set-window-buffer, which would otherwise reset it.
5423 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
5425 * progmodes/meta-mode.el (meta-complete-symbol):
5426 * progmodes/etags.el (complete-tag):
5427 * mail/mailabbrev.el (mail-abbrev-complete-alias):
5428 Use completion-in-region.
5430 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
5431 (dabbrev-completion): Use completion-in-region.
5432 (dabbrev--abbrev-at-point): Simplify regexp.
5434 * abbrev.el (abbrev--before-point): Use word-motion functions
5435 if :regexp is not specified (bug#5031).
5437 * subr.el (string-prefix-p): New function.
5439 * man.el (Man-completion-cache): New var.
5440 (Man-completion-table): Use it.
5442 * vc.el (vc-print-log-internal): Make `limit' optional for better
5443 compatibility (e.g. with vc-annotate.el).
5445 2009-11-24 Kevin Ryde <user42@zip.com.au>
5447 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
5448 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
5450 * emacs-lisp/elint.el (elint-add-required-env): Better error message
5451 when .el source file not found or other error.
5453 2009-11-24 Markus Triska <markus.triska@gmx.at>
5455 * linum.el (linum-update-window): Ignore intangible (bug#4996).
5457 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
5459 Handle the [back] button properly (bug#4979).
5460 * descr-text.el (describe-text-properties): Add a `buffer' argument.
5461 Use help-setup-xref, help-buffer, and with-help-window.
5462 (describe-char): Add `buffer' argument.
5463 Pass proper command to help-setup-xref. Don't meddle with
5464 help-xref-stack-item directly.
5465 (describe-text-category): Use with-help-window and help-buffer.
5467 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
5468 for the displayed buffer (bug#4887).
5470 * man.el (Man-completion-table): New function.
5473 2009-11-24 David Reitter <david.reitter@gmail.com>
5475 * vc-git.el (vc-git-registered): Use checkout directory (where
5476 .git is) rather than the file's directory and a relative path spec
5477 to work around a bug in git.
5479 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
5481 Improve handling of processes on remote hosts.
5483 * eshell/esh-util.el (eshell-path-env): New defvar.
5484 (eshell-parse-colon-path): New defun.
5485 (eshell-file-attributes): Use `eshell-parse-colon-path'.
5487 * eshell/esh-ext.el (eshell-search-path):
5488 Use `eshell-parse-colon-path'.
5489 (eshell-remote-command): Remove argument HANDLER.
5490 (eshell-external-command): Check for FTP remote connection.
5492 * eshell/esh-proc.el (eshell-gather-process-output):
5493 Use `file-truename', in order to start also symlinked files.
5494 Apply `start-file-process' instead of `start-process'.
5495 Shorten `command' to the local file name part.
5497 * eshell/em-cmpl.el (eshell-complete-commands-list):
5498 Use `eshell-parse-colon-path'.
5500 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
5502 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
5503 to `eshell-directory-change-hook'.
5505 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
5507 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
5508 because it could be enabled automatically if view-read-only is non-nil.
5510 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
5512 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
5515 2009-11-24 Glenn Morris <rgm@gnu.org>
5517 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
5518 deleted variable bookmark-bmenu-bookmark-column.
5520 * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
5521 Move after definition of global-semantic-idle-tag-highlight-mode.
5523 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
5525 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
5527 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
5529 * net/browse-url.el (browse-url-filename-alist): On Windows, add
5530 two slashes to the "file:" prefix.
5531 (browse-url-file-url): De-munge Cygwin filenames before passing
5532 them to Windows browser.
5533 (browse-url-default-windows-browser): Use call-process.
5535 2009-11-23 Juri Linkov <juri@jurta.org>
5537 Implement DocView Continuous mode. (Bug#4896)
5538 * doc-view.el (doc-view-continuous-mode): New defcustom.
5539 (doc-view-mode-map): Bind C-n/<down> to
5540 `doc-view-next-line-or-next-page', C-p/<up> to
5541 `doc-view-previous-line-or-previous-page'.
5542 (doc-view-next-line-or-next-page)
5543 (doc-view-previous-line-or-previous-page): New commands.
5545 2009-11-23 Juri Linkov <juri@jurta.org>
5547 Implement Isearch in comint input history. (Bug#3746)
5548 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
5549 `isearch-mode-hook'.
5550 (comint-history-isearch): New defcustom.
5551 (comint-history-isearch-backward)
5552 (comint-history-isearch-backward-regexp): New commands.
5553 (comint-history-isearch-message-overlay): New buffer-local variable.
5554 (comint-history-isearch-setup, comint-history-isearch-end)
5555 (comint-goto-input, comint-history-isearch-search)
5556 (comint-history-isearch-message, comint-history-isearch-wrap)
5557 (comint-history-isearch-push-state)
5558 (comint-history-isearch-pop-state): New functions.
5560 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
5562 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
5564 (tramp-handle-make-symbolic-link)
5565 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
5567 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
5568 (tramp-handle-process-file): Use it.
5570 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
5572 * window.el (move-to-window-line-last-op): Remove.
5573 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
5575 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
5577 Make M-r mirror the new cycling behavior of C-l.
5578 * window.el (move-to-window-line-last-op): New var.
5579 (move-to-window-line-top-bottom): New command.
5580 (global-map): Bind M-r move-to-window-line-top-bottom.
5582 2009-11-23 Sven Joachim <svenjoac@gmx.de>
5584 * dired-x.el (dired-guess-shell-alist-default):
5585 Support xz format. (Bug#4953)
5587 2009-11-22 Chong Yidong <cyd@stupidchicken.com>
5589 * cedet/srecode/map.el (srecode-get-maps):
5590 * cedet/semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag):
5591 * cedet/semantic/wisent/comp.el (wisent-toggle-verbose-flag):
5592 * cedet/semantic/decorate/mode.el (semantic-decoration-mode)
5593 (semantic-toggle-decoration-style):
5594 * cedet/semantic/decorate/include.el
5595 (semantic-decoration-include-describe)
5596 (semantic-decoration-unknown-include-describe)
5597 (semantic-decoration-unparsed-include-describe)
5598 (semantic-decoration-all-include-summary):
5599 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init):
5600 * cedet/semantic/analyze/complete.el
5601 (semantic-analyze-possible-completions):
5602 * cedet/semantic/util-modes.el (semantic-highlight-edits-mode)
5603 (semantic-show-unmatched-syntax-mode)
5604 (semantic-show-parser-state-mode, semantic-stickyfunc-mode)
5605 (semantic-highlight-func-mode):
5606 * cedet/semantic/util.el (semantic-describe-buffer):
5607 * cedet/semantic/symref.el (semantic-symref-find-references-by-name)
5608 (semantic-symref-find-tags-by-name)
5609 (semantic-symref-find-tags-by-regexp)
5610 (semantic-symref-find-tags-by-completion)
5611 (semantic-symref-find-file-references-by-name)
5612 (semantic-symref-find-text):
5613 * cedet/semantic/senator.el (senator-copy-tag, senator-kill-tag)
5615 * cedet/semantic/scope.el (semantic-calculate-scope):
5616 * cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
5617 * cedet/semantic/idle.el (semantic-idle-scheduler-mode)
5618 (define-semantic-idle-service):
5619 * cedet/semantic/complete.el (semantic-complete-analyze-inline)
5620 (semantic-complete-analyze-inline-idle):
5621 * cedet/semantic/analyze.el (semantic-analyze-current-context):
5622 * cedet/mode-local.el (describe-mode-local-bindings)
5623 (describe-mode-local-bindings-in-mode):
5624 * cedet/ede/make.el (ede-make-check-version):
5625 * cedet/ede/locate.el (ede-enable-locate-on-project):
5626 * cedet/cedet-idutils.el (cedet-idutils-expand-filename)
5627 (cedet-idutils-version-check):
5628 * cedet/cedet-global.el (cedet-gnu-global-expand-filename)
5629 (cedet-gnu-global-version-check):
5630 * cedet/cedet-cscope.el (cedet-cscope-expand-filename)
5631 (cedet-cscope-version-check): Use called-interactively-p instead
5634 * cedet/semantic/ia.el (semantic-ia-completion-format-tag-function):
5635 Use semantic-format-tag-prototype.
5637 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
5639 * emulation/viper-cmd.el: Use viper-last-command-char instead of
5640 last-command-char/last-command-event.
5641 (viper-prefix-arg-value): Do correct conversion of event-char for
5644 * emulation/viper-util.el, emulation/viper.el:
5645 Use viper-last-command-char instead of
5646 last-command-char/last-command-event.
5648 * ediff-init.el, ediff-mult.el, ediff-util.el:
5649 Replace last-command-char and last-command-event
5650 with (ediff-last-command-char) everywhere.
5652 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
5653 created in fundamental mode.
5655 * ediff.el (ediff-version): Revert the change of interactive-p to
5656 called-interactively-p.
5658 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
5660 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
5661 generation from word-movement command names.
5663 2009-11-21 Chong Yidong <cyd@stupidchicken.com>
5665 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
5666 (semantic-complete-jump-local, semantic-complete-jump):
5667 Improve prompt string.
5669 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
5671 * cus-start.el (all): Add native condition for font-use-system-font.
5673 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
5675 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
5676 Correct the patch from 2009-11-18. (Bug#3910)
5678 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
5680 * progmodes/subword.el: Rename from lisp/subword.el.
5682 * subword.el: Rename to progmodes/subword.el.
5684 * Makefile.in (ELCFILES): Adapt to subword.el move.
5686 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5687 Stefan Monnier <monnier@iro.umontreal.ca>
5689 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
5690 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
5691 (bookmark-bmenu-show-filenames): Use push.
5692 (bookmark-bmenu-hide-filenames): Use local var instead of
5693 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
5694 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
5695 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
5696 filenames now that the bookmark names are always available.
5698 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
5700 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
5701 (bookmark-search-pattern): Move and leave unbound.
5702 (bookmark-bmenu-mode-map): Change binding.
5703 (bookmark-read-search-input): Simplify.
5704 Don't use text-char-description. Don't error on non-char events.
5705 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
5706 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
5707 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
5708 Use a local var for the timer.
5709 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
5710 (i.e. bookmark-bmenu-search).
5712 2009-11-21 Glenn Morris <rgm@gnu.org>
5714 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
5716 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
5718 * net/browse-url.el (browse-url-default-windows-browser):
5719 Use cygstart for cygwin.
5721 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
5723 * bookmark.el: Formatting and doc fixes only:
5724 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
5725 (bookmark-bmenu-search): Wrap to fit within 80 columns.
5726 Minor grammar and punctuation fixes in doc string.
5727 (bookmark-read-search-input): Adjust to fit within 80 columns.
5729 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
5731 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
5732 (c-backward-into-nomenclature): Adapt to subword renaming.
5734 * subword.el (subword-forward, subword-backward, subword-mark)
5735 (subword-kill, subword-backward-kill, subword-transpose)
5736 (subword-downcase, subword-upcase, subword-capitalize)
5737 (subword-forward-internal, subword-backward-internal):
5738 Rename from forward-subword, backward-subword, mark-subword,
5739 kill-subword, backward-kill-subword, transpose-subwords,
5740 downcase-subword, upcase-subword, capitalize-subword,
5741 forward-subword-internal, backward-subword-internal.
5743 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5745 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
5747 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
5749 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
5750 (bookmark-bmenu-filter-alist-by-regexp)
5751 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
5752 (bookmark-bmenu-search): New command.
5753 (bookmark-bmenu-mode-map): Bind it.
5755 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
5757 * cedet/semantic/complete.el (semantic-complete-inline-map): Doc fix.
5759 * cedet/semantic/idle.el (define-semantic-idle-service)
5760 (semantic-idle-summary-mode, semantic-idle-completions): Doc fix.
5762 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
5764 * progmodes/cc-cmds.el: declare-functioned forward-subword and
5765 backward-subword to quit the byte-compiler.
5767 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
5769 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
5771 * progmodes/cc-cmds.el (c-update-modeline)
5772 (c-forward-into-nomenclature, c-backward-into-nomenclature):
5773 Refer to subword.el functions instead of cc-subword.el.
5775 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
5776 subword.el functions instead of cc-subword.el.
5778 * progmodes/cc-subword.el: Rename to subword.el.
5779 * subword.el: Rename from progmodes/cc-subword.el.
5780 (subword-mode-map): Rename from c-subword-mode-map.
5781 (subword-mode): Rename from c-subword-mode.
5782 (global-subword-mode): New global minor mode.
5783 (forward-subword): Rename from c-forward-subword.
5784 (backward-subword): Rename from c-backward-subword.
5785 (mark-subword): Rename from c-mark-subword.
5786 (kill-subword): Rename from c-kill-subword.
5787 (backward-kill-subword): Rename from c-backward-kill-subword.
5788 (transpose-subwords): Rename from c-tranpose-subword.
5789 (downcase-subword): Rename from c-downcase-subword.
5790 (capitalize-subword): Rename from c-capitalize-subword.
5791 (forward-subword-internal): Rename from c-forward-subword-internal.
5792 (backward-subword-internal): Rename from c-backward-subword-internal.
5794 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
5796 * vc.el (vc-deduce-fileset): Allow non-state changing operations
5797 from a dired buffer.
5798 (vc-dired-deduce-fileset): New function.
5799 (vc-root-diff, vc-print-root-log): Use it.
5801 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
5802 nil LIMIT argument to vc-print-log-internal.
5804 2009-11-20 Glenn Morris <rgm@gnu.org>
5806 * Makefile.in (ELCFILES): Regenerate.
5808 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
5810 * cedet/cedet.el (cedet-menu-map): Re-order menu items.
5812 * cedet/semantic.el: Enable idle-mode menu items only if
5813 global-semantic-idle-scheduler-mode is enabled.
5814 (semantic-default-submodes): Doc fix.
5816 * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
5817 When turning off, disable other idle modes.
5819 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
5821 * calc/calc.el (calc-set-mode-line):
5822 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
5823 (math-format-number): Rename `math-format-complement-signed' to
5824 `math-format-twos-complement'.
5826 * calc/calc-bin.el (math-format-twos-complement): Rename from
5827 math-format-complement-signed.
5828 (calc-radix): Rename `calc-complement-signed-mode' to
5829 `calc-twos-complement-mode'.
5830 (calc-octal-radix, calc-hex-radix): Add an argument for
5833 * calc/calc-embed.el (calc-embedded-mode-vars):
5834 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
5836 * calc/calc-ext.el (calc-init-extensions):
5837 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
5838 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
5840 * calc/calc-units.el (math-build-units-table-buffer):
5841 Let `calc-twos-complement-mode' be nil.
5843 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
5846 * calc/calc-vec.el (calcFunc-vunpack):
5847 * calc/calc-aent.el (calc-do-calc-eval):
5848 * calc/calc-forms.el (math-format-date):
5849 * calc/calc-graph.el (calc-graph-plot):
5850 * calc/calc-math.el (math-use-emacs-fn):
5851 * calc/calccomp.el (math-compose-expr):
5852 Let `calc-twos-complement-mode' be nil.
5854 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
5856 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
5857 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
5858 * minibuffer.el (completion-in-region-functions): New hook.
5859 (completion-in-region): New function.
5860 * emacs-lisp/lisp.el (lisp-complete-symbol):
5861 * pcomplete.el (pcomplete-std-complete): Use it.
5863 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
5865 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
5866 (latex-complete-alist): New vars.
5867 (latex-string-prefix-p, latex-complete-bibtex-keys)
5868 (latex-complete-envnames, latex-complete-refkeys)
5869 (latex-complete-data): New functions.
5870 (latex-complete, latex-indent-or-complete): New commands.
5872 * window.el (display-buffer-mark-dedicated): New var.
5873 (display-buffer): Obey it.
5874 * minibuffer.el (minibuffer-completion-help): Use it.
5876 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
5878 * filecache.el (file-cache-add-file): Use push and cons.
5879 (file-cache-delete-file-regexp): Use push.
5880 (file-cache-complete): Use completion-in-region.
5882 * simple.el (with-wrapper-hook): Fix thinko.
5884 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
5885 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
5886 Use with-current-buffer and string-to-number.
5887 (hfy-fallback-colour-values): Use assoc-string.
5888 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
5889 (hfy-face-at): Remove unused var `found-face'.
5890 (hfy-compile-stylesheet): Remove unused var `css'.
5891 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
5893 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
5894 Use with-current-buffer.
5895 (hfy-text-p): Use expand-file-name and fewer setq.
5897 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
5899 * htmlfontify.el, hfy-cmap.el: New files.
5901 2009-11-19 Juri Linkov <juri@jurta.org>
5903 * minibuffer.el (completions-format): New defcustom.
5904 (completion--insert-strings): Implement vertical format.
5906 * simple.el (switch-to-completions): Move point to the first
5907 completion when point was at the beginning of the buffer.
5909 2009-11-19 Juri Linkov <juri@jurta.org>
5911 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
5913 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
5915 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
5917 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
5918 (mail-signature): Change default to t.
5919 (mail-from-style): Deprecate `system-default' value.
5920 (mail-insert-from-field): For default value of mail-from-style,
5921 default to `angles' unless `angles' needs quoting and `parens'
5923 (mail-citation-prefix-regexp): Use citation regexp from
5926 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
5928 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
5929 Set variables for computing the prompt for reading password.
5931 2009-11-19 Glenn Morris <rgm@gnu.org>
5933 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
5935 * textmodes/flyspell.el (sgml-lexical-context): Declare.
5937 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
5938 (newsticker-treeview-listwindow-height): Fix custom type.
5940 2009-11-19 Kenichi Handa <handa@m17n.org>
5942 * descr-text.el (describe-char-padded-string): Compose with TAB
5943 only if there's a font for CH.
5944 (describe-char): Fix the condition for detecting a trivial composition.
5946 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
5948 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
5949 more accurate version of the regexp. (Bug#3910)
5951 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
5953 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
5955 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
5957 * font-setting.el (font-use-system-font): Declare for byte-compiler.
5958 (font-setting-change-default-font): Fix typo in docstring.
5960 2009-11-18 Alan Mackenzie <acm@muc.de>
5962 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
5964 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
5966 * font-setting.el (font-use-system-font): Move ...
5968 * cus-start.el (all): ... to here.
5970 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
5972 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
5973 Don't set `ad-return-value' if `ad-do-it' doesn't.
5975 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
5978 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
5980 * menu-bar.el: Put "Use system font" in Option-menu.
5981 (menu-bar-options-save): Add font-use-system-font.
5983 * loadup.el: If feature system-font-setting or font-render-setting is
5984 there, load font-setting.
5986 * Makefile.in (ELCFILES): Add font-settings.el.
5987 * font-setting.el: New file.
5989 2009-11-17 Glenn Morris <rgm@gnu.org>
5991 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
5993 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
5994 Preserve point in the list buffer. (Bug#4939)
5996 (newsticker--treeview-list-update-highlight)
5997 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
5999 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
6001 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
6004 * calc/calc-ext.el (calc-init-extensions): Remove references to
6007 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
6009 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
6010 * calc/calc-help.el (calc-b-prefix-help): Remove references to
6013 2009-11-16 Kevin Ryde <user42@zip.com.au>
6015 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
6016 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
6018 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
6019 (lm-keywords-list): Allow comma-only separator like "foo,bar".
6020 Ignore trailing spaces by omit-nulls to split-string (fixing
6021 regression from Emacs 21 due to the incompatible split-string
6022 change). (Bug #4928.)
6024 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
6026 * vc.el (vc-log-show-limit): Default to 2000.
6027 (vc-print-log-internal): Insert buttons to request more entries
6028 when limiting the output.
6030 * vc-sccs.el (vc-sccs-print-log):
6031 * vc-rcs.el (vc-rcs-print-log):
6032 * vc-cvs.el (vc-cvs-print-log):
6033 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
6036 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
6038 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
6039 error when `tramp-gvfs-dbus-event-vector' is set.
6040 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
6042 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
6044 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
6046 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
6048 * net/dbus.el (dbus-unregister-service): New defun.
6049 (dbus-register-property): Register the handlers of
6050 "org.freedesktop.DBus.Properties" for SERVICE.
6051 (dbus-property-handler): Fix docstring.
6053 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
6055 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
6056 Quote doc string reference in defvaralias as it is not in special form.
6057 (byte-compile-output-docform): Doc fix.
6059 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
6061 * calc/calc.el (math-2-word-size, math-half-2-word-size)
6062 (calc-complement-signed-mode): New variables.
6063 (calc-set-mode-line): Add indicator for twos-complements.
6064 (math-format-number): Format twos-complement notation.
6066 * calc/calc-bin.el (calc-word-size): Reset the variables
6067 `math-2-word-size' and `math-half-2-word-size'.
6068 (math-format-complement-signed, math-symclip, calcFunc-symclip)
6069 (calc-symclip): New functions.
6071 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
6073 * calc/calc-embed.el (calc-embedded-mode-vars):
6074 Add `calc-complement-signed-mode' to the list of modes.
6076 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
6077 (calc-b-oper-keys): Add `calc-symclip' to list.
6079 * calc/calc-ext.el (math-read-number-fancy): Read complement
6081 (calc-init-extensions): Add binding for `calc-symclip'.
6082 Add autoload for `calcFunc-symclip' and `calc-symclip'.
6084 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
6086 (calc-modes-menu): Add item for twos complement mode.
6088 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
6090 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
6092 * register.el (jump-to-register, insert-register): Handle Semantic
6093 tags. From commented-out advice in semantic/senator.el.
6095 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
6097 * vc.el (vc-log-show-limit): New variable.
6098 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
6099 when using a prefix argument.
6100 (vc-print-log-internal): Add new argument LIMIT.
6102 * vc-svn.el (vc-svn-print-log):
6103 * vc-mtn.el (vc-mtn-print-log):
6104 * vc-hg.el (vc-hg-print-log):
6105 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
6106 pass it to the log command when set. Make the BUFFER argument
6109 * vc-sccs.el (vc-sccs-print-log):
6110 * vc-rcs.el (vc-rcs-print-log):
6111 * vc-git.el (vc-git-print-log):
6112 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
6113 ignore it. Make the BUFFER argument non-optional
6115 * bindings.el (mode-line-buffer-identification): Do not purecopy.
6117 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
6119 * dired.el (dired-mode-map): Move encryption items to "Operate"
6122 * strokes.el (strokes-update-window-configuration): Make strokes
6123 buffer current before erasing (Bug#4906).
6125 * cedet/semantic/idle.el (semantic-idle-summary-mode)
6126 (semantic-idle-summary-mode): Define using define-minor-mode
6127 instead of define-semantic-idle-service.
6128 (semantic-idle-summary-mode): New function.
6129 (semantic-idle-summary-mode-setup): Use pre-command-hook to ensure
6130 that mouse motion does not reset the echo area.
6132 2009-11-15 Juri Linkov <juri@jurta.org>
6134 * simple.el (set-mark-default-inactive): Add :type, :group
6135 and :version. (Bug#4876)
6137 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
6139 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
6140 (archive-unique-fname): ... here. (Bug#4929)
6142 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
6144 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
6147 * novice.el (disabled-command-function): Add useful args.
6148 Setup the help buffer so that [back] works.
6149 Remove redundant call to help-mode.
6150 (disabled-command-function): Use `case'.
6151 (en/disable-command): New function extracted from enable-command.
6152 (enable-command, disable-command): Use it.
6154 2009-11-14 Glenn Morris <rgm@gnu.org>
6156 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
6157 constants. (Bug#4913)
6159 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
6161 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
6163 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
6164 defined in C that have no doc-strings. (Bug#1063)
6166 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
6168 * cus-edit.el (data, files):
6169 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
6171 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
6173 * simple.el (shell-command): Doc fix (Bug#4891).
6175 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
6177 2009-11-14 Glenn Morris <rgm@gnu.org>
6179 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
6180 statements for vc-diff, emerge-quit, and rmail-cease-edit.
6181 If they are already loaded, eval-after-load will do the right thing.
6183 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
6186 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
6188 * simple.el (x-selection-owner-p): Declare.
6189 (read-mail-command): Use custom radio type rather than choice.
6190 (completion-no-auto-exit): Doc fix.
6192 * custom.el (defgroup):
6193 * epg-config.el (epg): Doc fixes.
6195 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
6197 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
6198 * international/ccl.el (define-ccl-program): Do not purecopy the
6199 docstring, defconst does it anyway.
6201 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6203 * add-log.el (add-change-log-entry): Avoid displaying the changelog
6206 * x-dnd.el (x-dnd-maybe-call-test-function):
6207 * window.el (split-window-vertically):
6208 * whitespace.el (whitespace-help-on):
6209 * vc-rcs.el (vc-rcs-consult-headers):
6210 * userlock.el (ask-user-about-lock-help)
6211 (ask-user-about-supersession-help):
6212 * type-break.el (type-break-force-mode-line-update):
6213 * time-stamp.el (time-stamp-conv-warn):
6214 * terminal.el (te-set-output-log, te-more-break, te-filter)
6215 (te-sentinel, terminal-emulator):
6216 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
6217 (term-write-input-ring, term-check-source, term-start-output-log):
6218 (term-display-buffer-line, term-dynamic-list-completions):
6219 (term-ansi-make-term, serial-term):
6220 * subr.el (selective-display):
6221 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
6222 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
6223 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
6224 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
6225 (speedbar-remove-localized-speedbar-support)
6226 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
6227 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
6228 (speedbar-buffers-line-directory):
6229 * simple.el (shell-command-on-region, append-to-buffer)
6230 (prepend-to-buffer):
6231 * shadowfile.el (shadow-save-todo-file):
6232 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
6233 (scroll-bar-maybe-set-window-start):
6234 * sb-image.el (speedbar-image-dump):
6235 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
6236 (load-save-place-alist-from-file):
6237 * ps-samp.el (ps-print-message-from-summary):
6238 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
6239 (ps-background-image, ps-begin-job, ps-do-despool):
6240 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
6241 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
6242 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
6243 (pr-call-process, pr-file-list, pr-interface-save):
6244 * novice.el (disabled-command-function)
6245 (enable-command, disable-command):
6246 * mouse.el (mouse-buffer-menu-alist):
6247 * mouse-copy.el (mouse-kill-preserving-secondary):
6248 * macros.el (kbd-macro-query):
6249 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
6250 * informat.el (batch-info-validate):
6251 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
6252 * hippie-exp.el (try-expand-dabbrev-visible):
6253 * help-mode.el (help-make-xrefs):
6254 * help-fns.el (describe-variable):
6255 * generic-x.el (bat-generic-mode-run-as-comint):
6256 * finder.el (finder-mouse-select):
6257 * find-dired.el (find-dired-sentinel):
6258 * filesets.el (filesets-file-close):
6259 * files.el (list-directory):
6260 * faces.el (list-faces-display, describe-face):
6261 * facemenu.el (list-colors-display):
6262 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
6263 * epg.el (epg--process-filter, epg-cancel):
6264 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
6265 (epa--read-signature-type):
6266 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
6267 (emerge-file-names):
6268 * ehelp.el (electric-helpify):
6269 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
6270 * ediff-vers.el (rcs-ediff-view-revision):
6271 * ediff-util.el (ediff-setup):
6272 * ediff-mult.el (ediff-append-custom-diff):
6273 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
6275 * echistory.el (Electric-command-history-redo-expression):
6276 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
6277 * disp-table.el (describe-display-table):
6278 * dired.el (dired-find-buffer-nocreate):
6279 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
6280 * dabbrev.el (dabbrev--same-major-mode-p):
6281 * chistory.el (list-command-history):
6282 * apropos.el (apropos-documentation):
6283 * allout.el (allout-obtain-passphrase):
6284 (allout-copy-exposed-to-buffer):
6285 (allout-verify-passphrase): Use with-current-buffer.
6287 2009-11-13 Glenn Morris <rgm@gnu.org>
6289 * Makefile.in (ELCFILES): Regenerate.
6291 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
6293 * net/dbus.el (dbus-registered-objects-table): Rename from
6294 `dbus-registered-functions-table', because it contains also properties.
6295 (dbus-unregister-object): Unregister also properties.
6296 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
6297 Use a timeout of 500 msec, in order to not block.
6298 (dbus-register-property, dbus-property-handler): New defuns.
6300 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
6302 * simple.el (minibuffer-default-add-completions): Drop deprecated
6305 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
6307 * textmodes/artist.el (artist-mouse-choose-operation):
6308 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
6309 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
6310 (artist-compute-up-event-key): New function.
6311 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
6313 2009-11-13 Kenichi Handa <handa@m17n.org>
6315 * language/japan-util.el: Make sure that the value of jisx0208
6316 property is jisx0208 character.
6318 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
6320 * international/mule.el (auto-coding-regexp-alist): Only purecopy
6321 car or each item, not the whole list.
6323 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
6325 * minibuffer.el (minibuffer-completion-help):
6326 Use minibuffer-hide-completions.
6328 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
6330 * dired.el (dired-save-positions, dired-restore-positions): New funs.
6331 (dired-revert): Use them (bug#4880).
6333 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
6335 * tooltip.el (tooltip-frame-parameters): Undo previous change.
6337 2009-11-12 Juri Linkov <juri@jurta.org>
6339 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
6341 (find-file-literally-at-point): Alias of `ffap-literally'.
6343 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
6345 * textmodes/ispell.el (ispell-skip-region-alist):
6346 * textmodes/css-mode.el (auto-mode-alist):
6347 * progmodes/compile.el (auto-mode-alist):
6348 * international/mule.el (ctext-non-standard-encodings-alist)
6349 (ctext-non-standard-encodings-regexp):
6350 * simple.el (shell-command-switch, text-read-only):
6351 * replace.el (occur-mode-map):
6352 * paths.el (rmail-file-name):
6353 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
6354 * find-file.el (ff-special-constructs):
6355 * files.el (file-name-handler-alist):
6356 * composite.el: Purecopy strings.
6358 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
6360 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
6362 * widget.el (define-widget): Purecopy the docstring.
6363 * international/mule-cmds.el (charset): Do not purecopy the
6364 docstring here, define-widget does it.
6366 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
6367 * textmodes/bibtex-style.el (auto-mode-alist):
6368 * progmodes/inf-lisp.el (inferior-lisp-prompt):
6369 * progmodes/compile.el (compile-command):
6370 * language/korea-util.el (default-korean-keyboard):
6371 * international/mule-conf.el (file-coding-system-alist):
6372 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
6373 * tooltip.el (tooltip-frame-parameters):
6374 * newcomment.el (comment-end, comment-padding):
6375 * dired.el (dired-trivial-filenames):
6376 * comint.el (comint-file-name-prefix): Purecopy initial values.
6378 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
6380 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
6381 (tramp-advice-minibuffer-electric-tilde): Unload advices via
6383 (tramp-advice-make-auto-save-file-name)
6384 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
6385 after removing the advice.
6387 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
6389 * progmodes/grep.el (grep-regexp-alist):
6390 * international/mule-cmds.el (iso-2022-control-alist):
6391 * emacs-lisp/timer.el (timer-duration-words):
6392 * subr.el (version-separator, version-regexp-alist):
6393 * minibuffer.el (completion-styles-alist):
6394 * faces.el (face-attribute-name-alist, list-faces-sample-text):
6395 Change defvars to defconsts.
6397 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
6398 * loadup.el ("international/mule-conf"): Load the byte compiled version.
6399 * international/mule-conf.el: Allow to be byte compiled.
6401 * international/mule.el (define-charset): Purecopy props.
6402 (load-with-code-conversion): Purecopy doc string and file name.
6403 (put-charset-property): Purecopy strings.
6404 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
6406 * international/mule-cmds.el (register-input-method): Purecopy arguments.
6407 (define-char-code-property): Correctly purecopy the table.
6409 * international/ccl.el (define-ccl-program): Purecopy the docstring.
6411 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
6413 * subr.el (add-hook): Purecopy strings.
6414 (eval-after-load): Purecopy load-history-regexp and the form.
6416 * custom.el (custom-declare-group): Purecopy load-file-name.
6418 * subr.el (menu-bar-separator): New defconst.
6419 * net/eudc.el (eudc-tools-menu):
6420 * international/mule-cmds.el (set-coding-system-map)
6422 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
6423 * vc-hooks.el (vc-menu-map):
6424 * replace.el (occur-mode-map):
6425 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
6426 (menu-bar-edit-menu, menu-bar-goto-menu)
6427 (menu-bar-custom-menu, menu-bar-showhide-menu)
6428 (menu-bar-options-menu, menu-bar-tools-menu)
6429 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
6430 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
6431 (menu-bar-help-menu):
6432 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
6433 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
6435 * term/x-win.el (x-gtk-stock-map):
6436 * progmodes/vera-mode.el (auto-mode-alist):
6437 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
6438 (inferior-lisp-program, inferior-lisp-load-command):
6439 * progmodes/hideshow.el (hs-special-modes-alist):
6440 * progmodes/gud.el (same-window-regexps):
6441 * progmodes/grep.el (grep-program, find-program, xargs-program):
6442 * net/telnet.el (same-window-regexps):
6443 * net/rlogin.el (same-window-regexps):
6444 * language/ethiopic.el (font-ccl-encoder-alist):
6445 * vc-sccs.el (vc-sccs-master-templates):
6446 * vc-rcs.el (vc-rcs-master-templates):
6447 * subr.el (cl-assertion-failed):
6448 * simple.el (next-error-overlay-arrow-position):
6449 * lpr.el (lpr-command):
6450 * locate.el (locate-ls-subdir-switches):
6451 * info.el (same-window-regexps, info)
6452 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
6453 * image-mode.el (image-mode, auto-mode-alist):
6454 * hippie-exp.el (hippie-expand-ignore-buffers):
6455 * format.el (format-alist):
6456 * find-dired.el (find-ls-subdir-switches, find-grep-options)
6458 * facemenu.el (facemenu-keybindings):
6459 * dired.el (dired-listing-switches, dired-chown-program):
6460 * diff.el (diff-switches, diff-command):
6461 * cus-edit.el (same-window-regexps):
6462 * bindings.el (mode-line-mule-info)
6463 (mode-line-buffer-identification): Purecopy strings.
6465 2009-11-11 Juri Linkov <juri@jurta.org>
6467 * simple.el (dired-get-filename) <declare-function>:
6468 Tell the byte-compiler about dired-get-filename.
6469 (shell-command): In Dired mode, get filename from the current line
6470 as the default value.
6472 2009-11-10 Glenn Morris <rgm@gnu.org>
6474 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
6475 * calendar/holidays.el, progmodes/cperl-mode.el:
6476 Update x-popup-menu declarations.
6478 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
6479 (list-load-path-shadows): Use dolist.
6480 (list-load-path-shadows): Use with-current-buffer.
6482 2009-11-10 Juri Linkov <juri@jurta.org>
6484 * minibuffer.el (read-file-name): Support a list of default values
6485 in `default-filename'. Use the first file name where only one
6486 element is required. Doc fix.
6488 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
6490 * net/dbus.el (dbus-unregister-object): Release service, if no
6491 other method is registered for it.
6493 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
6495 * bookmark.el (bookmark-completing-read): Sort bookmark names if
6496 bookmark-sort-flag is non-nil (Bug#4653).
6498 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
6500 * cedet/semantic/ctxt.el (semantic-get-local-variables): Disable
6501 the progress reporter entirely.
6503 * emulation/cua-base.el: Add CUA property to some CC mode commands
6506 2009-11-08 Kevin Ryde <user42@zip.com.au>
6508 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
6509 at end of sentence (Bug#4818).
6511 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
6513 * progmodes/compile.el (compilation-error-regexp-alist-alist):
6514 Handle "see declaration of" MSFT statements (Bug#4100).
6516 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
6518 * net/tramp.el (tramp-advice-make-auto-save-file-name)
6519 (tramp-advice-file-expand-wildcards): Unload via
6522 * net/trampver.el: Update release number.
6524 2009-11-08 Kevin Ryde <user42@zip.com.au>
6526 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
6529 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
6531 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
6532 in order to keep context in SELinux.
6534 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
6536 * dired-aux.el (dired-query): Place cursor in echo area and allow
6539 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
6540 menu item if not on a directory (Bug#4701).
6542 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
6544 Sync with Tramp 2.1.17.
6546 * net/tramp.el (tramp-handle-copy-directory): Don't use
6547 `file-remote-p' (due to compatibility).
6549 * net/tramp-compat.el (tramp-compat-copy-directory)
6550 (tramp-compat-delete-directory): New defuns.
6552 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
6553 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
6554 `tramp-compat-delete-directory'.
6556 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6557 (tramp-smb-handle-delete-directory): Use
6558 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
6560 * net/trampver.el: Update release number.
6562 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
6564 * tar-mode.el (tar-copy): Call write-region on the right buffer
6567 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
6568 by hand, if necessary (Bug#4878).
6570 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
6572 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
6573 align size column (Bug#4839).
6575 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
6578 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
6580 * progmodes/ld-script.el (auto-mode-alist):
6581 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
6583 * cus-face.el (custom-declare-face): Purecopy face spec.
6585 2009-11-06 Kenichi Handa <handa@m17n.org>
6587 * international/uni-bidi.el: Re-generated.
6588 * international/uni-category.el: Re-generated.
6589 * international/uni-combining.el: Re-generated.
6590 * international/uni-mirrored.el: Re-generated.
6592 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
6594 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
6595 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
6596 (tex-start-options, slitex-run-command, latex-run-command)
6597 (tex-run-command, tex-directory):
6598 * textmodes/ispell.el (ispell-html-skip-alists)
6599 (ispell-tex-skip-alists, ispell-tex-skip-alists):
6600 * textmodes/fill.el (adaptive-fill-first-line-regexp):
6601 (adaptive-fill-regexp):
6602 * textmodes/dns-mode.el (auto-mode-alist):
6603 * progmodes/python.el (interpreter-mode-alist):
6604 * progmodes/etags.el (tags-compression-info-list):
6605 * progmodes/etags.el (tags-file-name):
6606 * net/browse-url.el (browse-url-galeon-program)
6607 (browse-url-firefox-program):
6608 * mail/sendmail.el (mail-signature-file)
6609 (mail-citation-prefix-regexp):
6610 * international/mule-conf.el (eight-bit):
6611 * international/latexenc.el (latex-inputenc-coding-alist):
6612 * international/fontset.el (x-pixel-size-width-font-regexp):
6613 * emacs-lisp/warnings.el (warning-type-format):
6614 * emacs-lisp/trace.el (trace-buffer):
6615 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
6616 (emacs-lisp-mode-map):
6617 * calendar/holidays.el (holiday-solar-holidays)
6618 (holiday-bahai-holidays, holiday-islamic-holidays)
6619 (holiday-christian-holidays, holiday-hebrew-holidays)
6620 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
6621 (hebrew-holidays-1, holiday-oriental-holidays)
6622 (holiday-general-holidays):
6623 * x-dnd.el (x-dnd-known-types):
6624 * tool-bar.el (tool-bar):
6625 * startup.el (site-run-file):
6626 * shell.el (shell-dumb-shell-regexp):
6627 * rfn-eshadow.el (file-name-shadow-tty-properties)
6628 (file-name-shadow-properties):
6629 * paths.el (remote-shell-program, news-directory):
6630 * mouse.el ([C-down-mouse-3]):
6631 * menu-bar.el (menu-bar-tools-menu):
6632 * jka-cmpr-hook.el (jka-compr-load-suffixes)
6633 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
6634 (jka-compr-compression-info-list):
6635 * isearch.el (search-whitespace-regexp):
6636 * image-file.el (image-file-name-extensions):
6637 * find-dired.el (find-ls-option):
6638 * files.el (directory-listing-before-filename-regexp)
6639 (directory-free-space-args, insert-directory-program)
6640 (list-directory-brief-switches, magic-fallback-mode-alist)
6641 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
6642 (automount-dir-prefix):
6643 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
6644 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
6645 (face-font-registry-alternatives, face-font-registry-alternatives)
6646 (face-font-family-alternatives):
6647 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
6648 (facemenu-foreground-menu, facemenu-face-menu):
6649 * epa-hook.el (epa-file-name-regexp):
6650 * dnd.el (dnd-protocol-alist):
6651 * textmodes/rst.el (auto-mode-alist):
6652 * button.el (default-button): Purecopy strings.
6654 2009-11-06 Glenn Morris <rgm@gnu.org>
6656 * Makefile.in (ELCFILES): Update.
6658 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
6660 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
6661 * emacs-lisp/levents.el: Move to obsolete/levents.el.
6663 * nxml/xsd-regexp.el (xsdre-gen-categories):
6664 * nxml/xmltok.el (xmltok-parse-entity):
6665 * nxml/rng-parse.el (rng-parse-validate-file):
6666 * nxml/rng-maint.el (rng-format-manual)
6667 (rng-manual-output-force-new-line):
6668 * nxml/rng-loc.el (rng-save-schema-location-1):
6669 * nxml/rng-cmpct.el (rng-c-parse-file):
6670 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
6671 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
6673 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
6675 * progmodes/verilog-mode.el (verilog-getopt-file, verilog-set-define):
6676 Remove extra save-excursions and make-variable-buffer-local's.
6677 Suggested by Stefan Monnier.
6679 (verilog-getopt-file, verilog-module-inside-filename-p)
6680 (verilog-set-define): Merge GNU 1.35 and repair changes from
6681 switching to using with-current-buffer.
6683 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
6684 being treated as a number and confusing AUTORESET.
6685 Reported by Dan Dever.
6687 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
6688 Add verilog-auto-ignore-concat to fix backward compatibility with
6689 older verilog-modes. Reported by Dan Katz.
6691 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
6692 containing closing anchors "...$".
6694 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
6695 Reported by Wade Smith.
6697 (verilog-batch-execute-func): Comment on function usage.
6699 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
6701 * progmodes/verilog-mode.el (verilog-label-re): Fix regular expression
6704 (verilog-label-re, verilog-calc-1): Support proper indent of named
6707 (verilog-backward-token, verilog-basic-complete-re)
6708 (verilog-beg-of-statement, verilog-indent-re): Support proper
6709 indent of the assert statement at the beginning of a block of text.
6711 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
6712 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
6715 2009-11-05 Glenn Morris <rgm@gnu.org>
6717 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
6718 Emacs 19. (Bug#1531)
6719 (byte-compile-fix-header): Update for the above change.
6720 Drop test for epoch::version.
6722 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
6723 * cus-dep.el (custom-make-dependencies):
6724 * finder.el (finder-compile-keywords):
6725 Use autoload-rubric's feature argument.
6727 * calendar/diary-lib.el (top-level): Make load behave more like require.
6729 * vc-git.el (vc-git-stash-map): Move definition before use.
6731 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
6733 * custom.el (custom-declare-group): Purecopy standard-value.
6734 (custom-declare-group): Purecopy custom-prefix.
6736 * international/mule.el (load-with-code-conversion):
6737 Call do-after-load-evaluation unconditionally.
6739 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
6741 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
6743 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
6745 2009-11-04 Glenn Morris <rgm@gnu.org>
6747 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
6748 (byte-compile-compatibility): Remove option.
6749 (byte-compile-close-variables, byte-compile-fix-header)
6750 (byte-compile-insert-header, byte-compile-output-docform)
6751 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
6752 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
6753 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
6754 (byte-compile-insert, byte-compile-defun):
6755 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
6756 (byte-defop-compiler19): Remove.
6757 Without byte-compile-compatibility, the 'emacs19-opcode property is not
6758 used by anything. Replace all calls with byte-defop-compiler.
6760 2009-11-04 Juri Linkov <juri@jurta.org>
6762 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
6763 (menu-bar-options-menu): Don't quote the `prop' arg of
6764 `menu-bar-make-mm-toggle'.
6766 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
6768 * calendar/calendar.el (cal-loaddefs):
6769 * calendar/diary-lib.el (diary-loaddefs):
6770 * calendar/holidays.el (hol-loaddefs):
6771 * eshell/esh-module.el (esh-groups): Load rather than require.
6773 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6775 * calendar/todo-mode.el (todo-add-category): Don't hardcode
6777 (todo-top-priorities): Only display-buffer when called interactively.
6778 (todo-item-start): Don't save excursion point.
6779 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
6780 (todo-insert-item-here, todo-file-item, todo-remove-item):
6781 Adjust uses of todo-item-start and todo-item-end.
6783 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
6784 (autoload-rubric): Don't use any more.
6785 * cedet/semantic/fw.el (semantic/loaddefs):
6786 * cedet/srecode.el (srecode/loaddefs):
6787 * cedet/ede.el (ede/loaddefs): Load rather than require.
6788 * cedet/ede/cpp-root.el:
6789 * cedet/ede/emacs.el:
6790 * cedet/ede/files.el:
6791 * cedet/ede/linux.el:
6792 * cedet/ede/locate.el:
6793 * cedet/ede/make.el:
6794 * cedet/ede/shell.el:
6795 * cedet/ede/speedbar.el:
6796 * cedet/ede/system.el:
6797 * cedet/ede/util.el:
6798 * cedet/semantic/analyze.el:
6799 * cedet/semantic/bovine.el:
6800 * cedet/semantic/complete.el:
6801 * cedet/semantic/ctxt.el:
6802 * cedet/semantic/db-file.el:
6803 * cedet/semantic/db-find.el:
6804 * cedet/semantic/db-global.el:
6805 * cedet/semantic/db-mode.el:
6806 * cedet/semantic/db-typecache.el:
6807 * cedet/semantic/db.el:
6808 * cedet/semantic/debug.el:
6809 * cedet/semantic/dep.el:
6810 * cedet/semantic/doc.el:
6811 * cedet/semantic/edit.el:
6812 * cedet/semantic/find.el:
6813 * cedet/semantic/format.el:
6814 * cedet/semantic/html.el:
6815 * cedet/semantic/ia-sb.el:
6816 * cedet/semantic/ia.el:
6817 * cedet/semantic/idle.el:
6818 * cedet/semantic/lex-spp.el:
6819 * cedet/semantic/lex.el:
6820 * cedet/semantic/mru-bookmark.el:
6821 * cedet/semantic/scope.el:
6822 * cedet/semantic/senator.el:
6823 * cedet/semantic/sort.el:
6824 * cedet/semantic/symref.el:
6825 * cedet/semantic/tag-file.el:
6826 * cedet/semantic/tag-ls.el:
6827 * cedet/semantic/tag-write.el:
6828 * cedet/semantic/tag.el:
6829 * cedet/semantic/util-modes.el:
6830 * cedet/semantic/analyze/complete.el:
6831 * cedet/semantic/analyze/refs.el:
6832 * cedet/semantic/bovine/c.el:
6833 * cedet/semantic/bovine/gcc.el:
6834 * cedet/semantic/bovine/make.el:
6835 * cedet/semantic/bovine/scm.el:
6836 * cedet/semantic/decorate/include.el:
6837 * cedet/semantic/decorate/mode.el:
6838 * cedet/semantic/symref/cscope.el:
6839 * cedet/semantic/symref/global.el:
6840 * cedet/semantic/symref/grep.el:
6841 * cedet/semantic/symref/idutils.el:
6842 * cedet/semantic/symref/list.el:
6843 * cedet/semantic/wisent/java-tags.el:
6844 * cedet/semantic/wisent/javascript.el:
6845 * cedet/srecode/compile.el:
6846 * cedet/srecode/cpp.el:
6847 * cedet/srecode/document.el:
6848 * cedet/srecode/el.el:
6849 * cedet/srecode/expandproto.el:
6850 * cedet/srecode/getset.el:
6851 * cedet/srecode/insert.el:
6852 * cedet/srecode/java.el:
6853 * cedet/srecode/map.el:
6854 * cedet/srecode/mode.el:
6855 * cedet/srecode/template.el:
6856 * cedet/srecode/texi.el: Remove the file-local setting of
6857 generated-autoload-feature.
6859 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
6860 and only put a prop if it is non-nil.
6862 2009-11-03 Juri Linkov <juri@jurta.org>
6864 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
6865 (menu-bar-options-menu): Fix list quoting (Bug#4429).
6867 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
6868 and "Menu" to make top-level menu item visually one unit (like
6869 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
6870 multi-word menu items). Fix :help string for quit-window.
6872 2009-11-03 Glenn Morris <rgm@gnu.org>
6874 * cedet/mode-local.el (with-mode-local): Doc fix.
6876 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
6877 (byte-compile-file-form-define-abbrev-table)
6878 (byte-compile-file-form-custom-declare-variable)
6879 (byte-compile-variable-ref, byte-compile-defvar):
6880 Whether or not a warning is enabled should only affect whether we issue
6881 the warning, not whether or not we collect the relevant data.
6882 Eg warnings can be turned on and off throughout the course of a file.
6884 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
6885 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
6887 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
6889 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
6890 * play/mpuz.el (mpuz-create-buffer):
6891 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
6892 (lm-print-y,s,noise, lm-print-w0, lm-init):
6893 * play/gomoku.el (gomoku-prompt-for-move):
6894 * play/fortune.el (fortune-in-buffer):
6895 * play/dissociate.el (dissociated-press):
6896 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
6897 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
6898 * mail/supercite.el (sc-eref-show):
6899 * mail/smtpmail.el (smtpmail-send-it):
6900 * mail/rmailsum.el (rmail-summary-next-labeled-message)
6901 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
6902 (rmail-summary-undelete-many, rmail-summary-rmail-update)
6903 (rmail-summary-goto-msg, rmail-summary-expunge)
6904 (rmail-summary-get-new-mail, rmail-summary-search-backward)
6905 (rmail-summary-add-label, rmail-summary-output-menu)
6906 (rmail-summary-output-body):
6907 * mail/rfc822.el (rfc822-addresses):
6908 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
6909 * mail/mailpost.el (post-mail-send-it):
6910 * mail/hashcash.el (hashcash-generate-payment):
6911 * mail/feedmail.el (feedmail-run-the-queue)
6912 (feedmail-queue-send-edit-prompt-help-first)
6913 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
6914 (feedmail-deduce-address-list):
6915 * eshell/esh-ext.el (eshell-remote-command):
6916 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
6917 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
6918 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
6919 (viper-save-string-in-file, viper-valid-marker):
6920 * emulation/viper-keym.el (viper-toggle-key):
6921 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
6922 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
6923 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
6924 * emulation/viper-cmd.el (viper-exec-form-in-vi)
6925 (viper-exec-form-in-emacs, viper-brac-function):
6926 * emulation/viper.el (viper-delocalize-var):
6927 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
6928 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
6929 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
6930 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
6931 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
6932 * emulation/edt.el (edt-electric-helpify):
6933 * emulation/cua-rect.el (cua--rectangle-aux-replace):
6934 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
6935 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
6936 (cua-indent-to-global-mark-column):
6937 * calendar/diary-lib.el (calendar-mark-1):
6938 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
6939 Use with-current-buffer.
6940 * emulation/viper.el (viper-delocalize-var): Use dolist.
6942 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
6944 * comint.el (comint-replace-by-expanded-history-before-point):
6945 Replace !! with the previous input string literally (Bug#1795).
6947 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
6949 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
6950 to be made up of whitespace.
6952 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
6954 * minibuffer.el (read-file-name): Don't use file dialogs for
6955 remote directories (Bug#99).
6957 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
6959 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
6961 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
6963 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
6964 instead of deleting the window or frame.
6966 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
6968 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
6969 Support face colors.
6971 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
6972 New function. Support face colors (Bug#1168).
6973 (tex-common-initialization): Use it.
6975 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
6976 mode allows it (Bug#1168).
6978 2009-10-31 Juri Linkov <juri@jurta.org>
6980 * facemenu.el (list-colors-display): Don't mark buffer as
6981 modified (Bug#3948).
6983 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
6985 * international/mule-diag.el (list-character-sets-1): Minor
6986 message fix (Bug#3526).
6988 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
6989 face property (Bug#4834).
6990 (etags-list-tags, etags-tags-apropos-additional)
6991 (etags-tags-apropos, tags-select-tags-table): Add follow-link
6994 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
6997 * cedet/cedet.el (cedet-menu-map): Remove Semantic and EDE menu
7000 * cedet/ede.el (ede-minor-mode):
7001 * cedet/semantic.el (semantic-mode): Toggle menu separators.
7003 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
7005 * textmodes/two-column.el (2C-split):
7006 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
7007 * textmodes/tex-mode.el (tex-set-buffer-directory):
7008 * textmodes/spell.el (spell-region, spell-string):
7009 * textmodes/reftex.el (reftex-erase-buffer):
7010 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
7011 * textmodes/reftex-toc.el (reftex-toc-promote-action):
7012 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
7013 (reftex-select-item):
7014 * textmodes/reftex-ref.el (reftex-label-info-update)
7015 (reftex-offer-label-menu):
7016 * textmodes/reftex-index.el (reftex-index-change-entry)
7017 (reftex-index-phrases-info):
7018 * textmodes/reftex-global.el (reftex-create-tags-file)
7019 (reftex-save-all-document-buffers, reftex-ensure-write-access):
7020 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
7021 (reftex-view-crossref-from-bibtex):
7022 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
7023 (reftex-extract-bib-entries-from-thebibliography)
7024 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
7025 * textmodes/refbib.el (r2b-capitalize-title):
7026 (r2b-convert-buffer, r2b-help):
7027 * textmodes/page-ext.el (pages-directory)
7028 (pages-directory-goto-with-mouse):
7029 * textmodes/bibtex.el (bibtex-validate-globally):
7030 * textmodes/bib-mode.el (bib-capitalize-title):
7031 * textmodes/artist.el (artist-clear-buffer, artist-system):
7032 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
7033 (local-set-scheme-interaction-buffer, xscheme-process-filter)
7034 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
7035 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
7036 (xscheme-send-control-g-interrupt, xscheme-start-process)
7037 (xscheme-process-sentinel, xscheme-cd):
7038 * progmodes/verilog-mode.el (verilog-read-always-signals)
7039 (verilog-set-define, verilog-getopt-file)
7040 (verilog-module-inside-filename-p):
7041 * progmodes/sh-script.el:
7042 * progmodes/python.el (python-pdbtrack-get-source-buffer)
7043 (python-pdbtrack-grub-for-buffer, python-execute-file):
7044 * progmodes/octave-inf.el (inferior-octave):
7045 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7046 (idlwave-shell-compile-helper-routines, idlwave-set-local)
7047 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
7048 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
7049 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
7050 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
7051 (idlwave-shell-filter, idlwave-shell-examine-highlight)
7052 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
7053 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
7054 (idlwave-shell-examine-display, idlwave-shell-run-region)
7055 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
7056 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
7057 * progmodes/idlw-help.el (idlwave-help-get-special-help)
7058 (idlwave-help-get-help-buffer):
7059 * progmodes/gud.el (gud-basic-call, gud-find-class)
7060 (gud-tooltip-activate-mouse-motions-if-enabled):
7061 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7062 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
7063 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
7064 (ebrowse-tags-next-file):
7065 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
7066 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
7067 (ebnf-eps-finish-and-write):
7068 * progmodes/cpp.el (cpp-edit-save):
7069 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
7070 * progmodes/cc-defs.el (c-emacs-features):
7071 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
7072 (antlr-directory-dependencies):
7073 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
7074 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
7075 (ada-find-any-references, ada-make-filename-from-adaname)
7076 (ada-make-body-gnatstub):
7077 * obsolete/rnews.el (news-list-news-groups):
7078 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
7079 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
7080 * net/rcirc.el (rcirc-debug):
7081 * net/newst-treeview.el (newsticker--treeview-list-add-item)
7082 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
7083 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
7084 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
7085 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
7086 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
7087 (newsticker--treeview-list-clear-highlight)
7088 (newsticker--treeview-list-update-highlight)
7089 (newsticker--treeview-list-highlight-start)
7090 (newsticker--treeview-tree-update-highlight)
7091 (newsticker--treeview-get-selected-item)
7092 (newsticker-treeview-mark-list-items-old)
7093 (newsticker--treeview-set-current-node):
7094 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7095 * net/newst-backend.el (newsticker--get-news-by-funcall)
7096 (newsticker--get-news-by-wget, newsticker--image-get)
7097 (newsticker--image-sentinel):
7098 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
7099 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
7100 (eudc-ph-close-session):
7101 * net/eudc.el (eudc-save-options):
7102 * language/thai-word.el (thai-update-word-table):
7103 * language/japan-util.el (japanese-string-conversion):
7104 * international/titdic-cnv.el (tsang-quick-converter)
7105 (ziranma-converter, ctlau-converter):
7106 * international/mule-cmds.el (describe-language-environment):
7107 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
7108 (skkdic-convert-postfix, skkdic-convert-prefix):
7109 (skkdic-convert-okuri-nasi, skkdic-convert):
7110 * emacs-lisp/re-builder.el (reb-update-overlays):
7111 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
7112 * emacs-lisp/gulp.el (gulp-send-requests):
7113 * emacs-lisp/find-gc.el (trace-call-tree):
7114 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
7115 (eieio-describe-generic):
7116 * emacs-lisp/eieio-base.el (eieio-persistent-read):
7117 * emacs-lisp/edebug.el (edebug-outside-excursion):
7118 * emacs-lisp/debug.el (debugger-make-xrefs):
7119 * emacs-lisp/cust-print.el (custom-prin1-to-string):
7120 * emacs-lisp/chart.el (chart-new-buffer):
7121 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
7122 Use with-current-buffer.
7123 * textmodes/artist.el (artist-system): Don't call
7124 copy-sequence on a fresh string.
7125 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
7127 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
7129 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
7130 is no item to edit. (Bug#4820)
7131 (todo-top-priorities): Restore point and restore narrowing in Todo
7134 2009-10-31 Glenn Morris <rgm@gnu.org>
7136 * net/ange-ftp.el (top-level): Don't require dired when compiling.
7137 (comint-last-output-start, comint-last-input-start)
7138 (comint-last-input-end): Don't defvar when compiling.
7139 (ange-ftp-process-file): Use bound-and-true-p.
7141 * pcmpl-rpm.el (top-level): Move provide statement to end.
7142 (pcmpl-rpm): Remove unused custom group.
7144 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
7146 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
7148 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
7149 (byte-compile-warnings): Add `constants' as an option.
7150 (byte-compile-callargs-warn, byte-compile-arglist-warn)
7151 (display-call-tree): Update for byte-compile-fdefinition possibly
7152 returning `(macro lambda ...)'. (Bug#4778)
7153 (byte-compile-variable-ref, byte-compile-setq-default):
7154 Respect `constants' member of byte-compile-warnings.
7156 * cedet/semantic/tag.el (semantic--tag-link-list-to-buffer):
7157 Use mapc rather than mapcar because the return value is never used.
7159 * cedet/srecode/template.el, cedet/semantic/wisent/javascript.el:
7160 * cedet/semantic/wisent/java-tags.el, cedet/semantic/texi.el:
7161 * cedet/semantic/html.el:
7162 Suppress harmless warnings about setting up semantic-imenu (not
7163 part of Emacs) variables.
7165 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
7167 * vc-bzr.el (vc-bzr-revision-keywords): New var.
7168 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
7171 * cedet/srecode/srt-mode.el (semantic-analyze-possible-completions):
7172 * cedet/semantic/symref/list.el (semantic-symref-rb-toggle-expand-tag):
7173 * cedet/semantic/symref/grep.el (semantic-symref-perform-search):
7174 * cedet/semantic/bovine/gcc.el (semantic-gcc-query):
7175 * cedet/semantic/bovine/c.el (semantic-c-parse-lexical-token):
7176 * cedet/semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons)
7177 (semantic-analyzer-debug-global-symbol)
7178 (semantic-analyzer-debug-missing-innertype)
7179 (semantic-analyzer-debug-insert-include-summary):
7180 * cedet/semantic/util.el (semantic-file-tag-table):
7181 (semantic-describe-buffer-var-helper, semantic-something-to-tag-table)
7182 (semantic-recursive-find-nonterminal-by-name):
7183 * cedet/semantic/tag-ls.el (semantic-tag-calculate-parent-default):
7184 * cedet/semantic/tag-file.el (semantic-prototype-file):
7185 * cedet/semantic/symref.el (semantic-symref-parse-tool-output):
7186 * cedet/semantic/sb.el (semantic-sb-fetch-tag-table):
7187 * cedet/semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
7188 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer):
7189 (semantic-idle-summary-maybe-highlight):
7190 * cedet/semantic/ia-sb.el (semantic-ia-speedbar)
7191 (semantic-ia-sb-tag-info):
7192 * cedet/semantic/grammar.el (semantic-analyze-possible-completions):
7193 * cedet/semantic/find.el (semantic-brute-find-tag-by-position):
7194 * cedet/semantic/ede-grammar.el (project-compile-target):
7195 (ede-proj-makefile-insert-variables):
7196 * cedet/semantic/debug.el (semantic-debug-set-parser-location):
7197 (semantic-debug-set-source-location, semantic-debug-interface-layout)
7198 (semantic-debug-mode, semantic-debug):
7199 * cedet/semantic/db.el (semanticdb-needs-refresh-p):
7200 * cedet/semantic/db-typecache.el (semanticdb-typecache-refresh-for-buffer):
7201 * cedet/semantic/db-javascript.el (semanticdb-equivalent-mode):
7202 * cedet/semantic/db-find.el (semanticdb-find-log-new-search)
7203 (semanticdb-find-translate-path-includes--internal)
7204 (semanticdb-reset-log, semanticdb-find-log-activity):
7205 * cedet/semantic/db-file.el (object-write):
7206 * cedet/semantic/db-el.el (semanticdb-equivalent-mode):
7207 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-C-file-p)
7208 (semanticdb-create-ebrowse-database):
7209 * cedet/semantic/db-debug.el (semanticdb-table-sanity-check):
7210 * cedet/semantic/complete.el (semantic-displayor-focus-request)
7211 (semantic-collector-calculate-completions-raw)
7212 (semantic-complete-read-tag-analyzer):
7213 * cedet/semantic/analyze.el (semantic-analyze-pulse):
7214 * cedet/ede/util.el (ede-update-version-in-source):
7215 * cedet/ede/proj.el (project-delete-target):
7216 * cedet/ede/proj-elisp.el (ede-update-version-in-source)
7217 (ede-proj-flush-autoconf):
7218 * cedet/ede/pconf.el (ede-proj-configure-synchronize)
7219 (ede-proj-configure-synchronize):
7220 * cedet/ede/locate.el (ede-locate-file-in-project-impl):
7221 * cedet/ede/linux.el (ede-linux-version):
7222 * cedet/ede/emacs.el (ede-emacs-version):
7223 * cedet/ede/dired.el (ede-dired-add-to-target):
7224 * cedet/ede.el (ede-buffer-header-file, ede-find-target)
7225 (ede-buffer-documentation-files, ede-project-buffers, ede-set)
7226 (ede-target-buffers, ede-buffers, ede-make-project-local-variable):
7227 * cedet/cedet-idutils.el (cedet-idutils-fnid-call):
7228 (cedet-idutils-lid-call, cedet-idutils-expand-filename)
7229 (cedet-idutils-version-check):
7230 * cedet/cedet-global.el (cedet-gnu-global-call):
7231 (cedet-gnu-global-expand-filename, cedet-gnu-global-root)
7232 (cedet-gnu-global-version-check, cedet-gnu-global-scan-hits):
7233 * cedet/cedet-cscope.el (cedet-cscope-call)
7234 (cedet-cscope-expand-filename, cedet-cscope-version-check):
7235 Use with-current-buffer.
7236 * cedet/ede.el (ede-make-project-local-variable)
7237 (ede-set-project-variables, ede-set): Use dolist.
7239 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
7241 * textmodes/ispell.el (ispell-skip-region-alist):
7242 * international/mule-conf.el (eight-bit):
7243 * international/fontset.el (font-encoding-alist):
7244 * startup.el (pure-space-overflow-message):
7245 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
7246 * paths.el (gnus-nntp-service, rmail-spool-directory)
7248 * files.el (save-some-buffers-action-alist):
7249 * cmuscheme.el (same-window-buffer-names):
7250 * ielm.el (same-window-buffer-names):
7251 * shell.el (same-window-buffer-names):
7252 * mail/sendmail.el (same-window-buffer-names):
7253 * progmodes/inf-lisp.el (same-window-buffer-names):
7254 * bindings.el (mode-line-client)
7255 (mode-line-column-line-number-mode-map):
7256 * language/tibetan.el (tibetan-precomposition-rule-regexp)
7257 (tibetan-precomposed-regexp): Purecopy string arguments.
7259 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
7261 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
7262 (calcDigit-nondigit):
7263 * calc/calc-yank.el (calc-copy-to-buffer):
7264 * calc/calc-units.el (calc-invalidate-units-table):
7265 * calc/calc-trail.el (calc-trail-yank):
7266 * calc/calc-store.el (calc-insert-variables):
7267 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
7268 * calc/calc-prog.el (calc-read-parse-table):
7269 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
7270 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
7271 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
7272 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
7273 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
7274 (calc-graph-name, calc-graph-find-command, calc-graph-view)
7275 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
7276 * calc/calc-ext.el (calc-realign):
7277 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
7278 (calc-embedded-finish-edit, calc-embedded-make-info)
7279 (calc-embedded-finish-command, calc-embedded-stack-change):
7280 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
7282 * cedet/mode-local.el (make-obsolete-overload): Add `when' argument.
7283 (overload-docstring-extension): Use that info.
7284 * cedet/semantic/fw.el (semantic-alias-obsolete): Pass the `when' info.
7285 * cedet/semantic/idle.el (semantic-eldoc-current-symbol-info):
7286 * cedet/semantic/tag-ls.el (semantic-nonterminal-protection)
7287 (semantic-nonterminal-abstract, semantic-nonterminal-leaf)
7288 (semantic-nonterminal-full-name): Add the new `when' info.
7289 * cedet/semantic/decorate/mode.el (semantic/decorate): Require CL for
7292 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
7293 shell-dynamic-complete-filename in preference to
7294 comint-dynamic-complete-filename.
7296 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
7297 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
7298 Don't consider whether the display supports colors.
7299 (bookmark-import-new-list): Use dolist.
7300 (bookmark-bmenu-mode-map): Move initialization into declaration.
7301 (bookmark-bmenu-list): Use dolist, simplify.
7302 (bookmark-show-all-annotations): Use save-selected-window and dolist.
7303 (menu-bar-final-items): Use push.
7305 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
7307 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
7308 it works on remote files.
7309 (vc-hg-diff): Don't pass any `--cwd' argument.
7311 2009-10-27 Kevin Ryde <user42@zip.com.au>
7313 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
7314 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
7315 (Further to Bug#3921).
7317 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
7319 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
7320 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
7321 calling `tramp-imap-put-file'. Add file size to the call.
7322 (tramp-imap-get-file-entries): Compute also user name, file size,
7324 (tramp-imap-handle-insert-directory): Insert uid and gid.
7325 (tramp-imap-handle-file-attributes): Transform uid and gid
7326 according to `id-format'.
7327 (tramp-imap-put-file): New optional parameter SIZE. Encode file
7328 size in header X-Size.
7330 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
7332 * simple.el (transpose-subr): Give clearer error when the mark
7333 is not set. (Bug#4807)
7335 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
7337 * net/tramp.el (tramp-perl-file-truename): New defconst.
7338 Perl code contributed by yary <not.com@gmail.com> (tiny change).
7339 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
7340 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
7341 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
7343 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
7344 Ignore `dired-call-process'.
7345 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
7347 2009-10-26 Julian Scheid <julians37@gmail.com>
7349 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
7350 (tramp-get-remote-readlink): New defun.
7351 (tramp-handle-file-truename): Use it.
7352 (tramp-handle-file-exists-p): Check file-attributes cache, assume
7353 file exists if cache value present.
7354 (tramp-check-cached-permissions): New defun.
7355 (tramp-handle-file-readable-p): Use it.
7356 (tramp-handle-file-writable-p): Likewise.
7357 (tramp-handle-file-executable-p): Likewise.
7358 (tramp-handle-file-name-all-completions): Try using Perl to get
7359 partial completions. When perl not available, combine `cd' and
7360 `ls' into single remote operation and use shell expansion to get
7361 partial remote directory contents. Set `file-exists-p' cache for
7362 directory and any files returned by ls. Change cache handling to
7363 support partial directory contents. Use error message emitted by
7364 remote `cd' or Perl code for local tramp-error.
7365 (tramp-do-copy-or-rename-file-directly): Avoid separate
7366 tramp-send-command-and-check call.
7367 (tramp-handle-process-file): Merge three remote ops into one.
7368 Do not flush all caches when `process-file-side-effects' is set.
7369 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
7370 file-attributes shows uid/gid to be set already.
7372 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
7374 * textmodes/tex-mode.el (tex-dvi-view-command)
7375 (tex-show-queue-command, tex-open-quote):
7376 * progmodes/ruby-mode.el (auto-mode-alist)
7377 (interpreter-mode-alist): Purecopy strings.
7379 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
7381 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
7382 string for the hook, keymap and abbrev table.
7384 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
7386 * x-dnd.el (x-dnd-xdnd-to-action):
7387 * startup.el (fancy-startup-text, fancy-about-text): Change to
7388 defconst from defvar.
7390 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
7392 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
7393 Purecopy initialization strings.
7395 * mail/sendmail.el (mail-header-separator)
7396 (mail-personal-alias-file):
7397 * mail/rmail.el (rmail-default-dont-reply-to-names)
7398 (rmail-ignored-headers, rmail-retry-ignored-headers)
7399 (rmail-highlighted-headers, rmail-secondary-file-directory)
7400 (rmail-secondary-file-regexp):
7401 * files.el (null-device, file-name-invalid-regexp)
7402 (locate-dominating-stop-dir-regexp)
7403 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
7404 (interpreter-mode-alist): Use mapcar instead of mapc.
7406 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
7408 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
7409 (completion-ignored-extensions):
7410 (debug-ignored-errors): Purecopy strings.
7412 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
7414 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
7415 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
7416 (pcomplete--here): Use push.
7418 * subr.el (all-completions): Declare the 4th arg obsolete.
7420 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7422 * pcomplete.el (pcomplete-unquote-argument-function): New var.
7423 (pcomplete-unquote-argument): New function.
7424 (pcomplete--common-suffix): Always pay attention to case.
7425 (pcomplete--table-subvert): Quote and unquote the text.
7426 (pcomplete--common-quoted-suffix): New function.
7427 (pcomplete-std-complete): Use it and pcomplete-begin.
7429 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
7430 we're inside a dedicated or minibuffer window.
7432 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
7434 * cedet/semantic/fw.el (semantic-alias-obsolete)
7435 (semantic-varalias-obsolete): Make the `when' arg mandatory.
7436 (define-mode-overload-implementation):
7437 * cedet/semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks):
7438 * cedet/semantic/wisent.el (wisent-lex-make-token-table):
7439 * cedet/semantic/util.el (semantic-file-token-stream)
7440 (semantic-something-to-stream):
7441 * cedet/semantic/tag.el (semantic-tag-make-assoc-list)
7442 (semantic-expand-nonterminal):
7443 * cedet/semantic/tag-file.el (semantic-find-nonterminal)
7444 (semantic-find-dependency, semantic-find-nonterminal)
7445 (semantic-find-dependency):
7446 * cedet/semantic/lex.el (semantic-flex-start, semantic-flex-end)
7447 (semantic-flex-text, semantic-flex-make-keyword-table)
7448 (semantic-flex-keyword-p, semantic-flex-keyword-put)
7449 (semantic-flex-keyword-get, semantic-flex-map-keywords)
7450 (semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list):
7451 * cedet/semantic/java.el (semantic-java-prototype-nonterminal):
7452 * cedet/semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks)
7453 (semantic-after-idle-scheduler-reparse-hooks):
7454 * cedet/semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks):
7455 * cedet/semantic/db-mode.el (semanticdb-mode-hooks):
7456 * cedet/semantic.el (semantic-toplevel-bovine-table)
7457 (semantic-toplevel-bovine-cache)
7458 (semantic-before-toplevel-bovination-hook, semantic-init-hooks)
7459 (semantic-init-mode-hooks, semantic-init-db-hooks)
7460 (semantic-bovination-working-type): Provide the `when' arg.
7462 2009-10-24 Karl Fogel <kfogel@red-bean.com>
7464 * bookmark.el: Update documentation, especially documentation
7465 of `bookmark-alist' and of the bookmark file format.
7466 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
7468 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
7470 * mail/emacsbug.el (report-emacs-bug): Clarify that the
7471 keybindings apply to the mail buffer (Bug#4003). Shrink help
7474 * whitespace.el (whitespace-mode, whitespace-newline-mode)
7475 (global-whitespace-mode, global-whitespace-newline-mode)
7476 (whitespace-toggle-options, global-whitespace-toggle-options):
7479 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
7480 of xmltok-start before the end tag was inserted (Bug#2840).
7482 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
7483 patterns that are preceded by an open-paren (Bug#1320).
7485 2009-10-24 Sven Joachim <svenjoac@gmx.de>
7487 * files.el (delete-directory): Delete symlinks to directories with
7488 delete-file (Bug#4739).
7490 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
7492 * cedet/semantic/util.el (semantic-recursive-find-nonterminal-by-name):
7493 * cedet/semantic/tag.el (semantic-token-type-parent): Add WHEN
7494 argument to make-obsolete.
7496 * cedet/semantic/fw.el (semantic-alias-obsolete)
7497 (semantic-varalias-obsolete): Add optional WHEN argument.
7499 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
7501 * vc.el (vc-backend-for-registration): Rename from
7502 vc-get-backend-for-registration. Update callers.
7504 * international/mule-cmds.el (set-language-info-alist):
7506 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
7507 (charset): Purecopy the name.
7508 (define-char-code-property): Purecopy string arguments.
7510 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
7511 Purecopy string arguments.
7513 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
7514 * ediff-hook.el (menu-bar-ediff-menu):
7515 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
7516 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
7518 2009-10-24 Glenn Morris <rgm@gnu.org>
7520 * comint.el (comint-dynamic-list-completions):
7521 * term.el (term-dynamic-list-completions): Use choose-completion rather
7522 than obsolete alias mouse-choose-completion.
7524 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
7525 file-cache-choose-completion.
7526 (file-cache-choose-completion): Handle an optional event argument.
7527 (file-cache-mouse-choose-completion): Make it an obsolete alias.
7529 * progmodes/octave-mod.el (octave-complete-symbol):
7530 Use choose-completion if mouse-choose-completion is ever removed.
7532 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
7535 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
7538 * vc-hooks.el (vc-responsible-backend): Fix declaration.
7540 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
7542 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
7543 Ignore `pred' now that we receive one.
7544 Handle test-completion specially.
7546 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
7548 * vc.el (vc-responsible-backend): Throw an error if not backend is
7549 found. Remove the REGISTER argument. Move the code dealing with
7551 (vc-get-backend-for-registration): ... here. New function.
7552 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
7553 of vc-responsible-backend, pass the file name instead of the
7556 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
7558 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
7560 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
7561 (pcomplete-comint-setup): Don't modify a global var via
7562 accidental side-effects.
7563 (pcomplete-shell-setup): Adjust call accordingly.
7564 (pcomplete-parse-comint-arguments): Use push.
7566 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
7568 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
7569 Allow uncapitalized info node names (Bug#3921).
7571 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
7572 to the DEBUG file (Bug#3781).
7574 2009-10-23 Jari Aalto <jari.aalto@cante.net>
7576 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
7577 dictionary entry (Bug#4579).
7579 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
7581 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
7582 from `rfn-eshadow-update-overlay-hook' when unloading.
7583 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
7584 "rsyncc". Adjust doc string.
7585 (tramp-temp-buffer-file-name): New buffer-local defvar.
7586 (tramp-handle-insert-file-contents, tramp-handle-write-region):
7587 Keep temporary file when indicated by method ("rsync" and
7589 (tramp-handle-write-region): Handle APPEND.
7590 (tramp-delete-temp-file-function): New defun. Added to
7593 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
7595 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
7597 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
7599 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
7600 (color-name-rgb-alist, tty-standard-colors)
7601 (tty-color-mode-alist): Change to defconst.
7603 * simple.el (mark-inactive): Purecopy message.
7605 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
7606 (global-map, yank-menu):
7607 * textmodes/ispell.el (ispell-menu-map):
7608 * net/eudc.el (eudc-tools-menu):
7609 * international/mule-cmds.el (describe-language-environment-map)
7610 (setup-language-environment-map, set-coding-system-map)
7612 * vc-hooks.el (vc-menu-entry, vc-menu-map):
7613 * replace.el (occur-mode-map):
7614 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
7616 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
7618 * calc/calc.el (math-read-number, math-read-number-simple): Use
7621 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7623 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
7624 rather than fiddling with global-map bindings, since it should only
7625 affect per-terminal settings.
7626 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
7628 * minibuffer.el (completion-table-with-terminator): Allow to specify
7629 the terminator-regexp.
7631 * simple.el (switch-to-completions): Look for *Completions* in other
7634 * pcomplete.el: Allow the use of completion-tables.
7635 (pcomplete-std-complete): New command.
7636 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
7637 (pcomplete--here): Use a function for `form' rather than an expression,
7638 so it can be byte-compiled.
7639 (pcomplete-here, pcomplete-here*): Adjust accordingly.
7640 Add edebug declaration.
7641 (pcomplete-show-completions): Remove unused var `curbuf'.
7642 (pcomplete-do-complete, pcomplete-stub):
7643 Don't assume `completions' is a list of strings any more.
7645 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
7647 * find-dired.el (find-name-arg): Fix typo in docstring.
7649 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
7651 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
7652 (pcmpl-linux-fs-types): Same, and update to new modules layout.
7654 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
7657 * comint.el (comint-read-input-ring, comint-write-input-ring)
7658 (comint-substitute-in-file-name)
7659 (comint-dynamic-complete-as-filename)
7660 (comint-dynamic-simple-complete)
7661 (comint-dynamic-list-filename-completions)
7662 (comint-dynamic-list-completions)
7663 (comint-redirect-results-list-from-process): Minor simplifications.
7665 2009-10-21 Kevin Ryde <user42@zip.com.au>
7667 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
7668 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
7669 the first form. And insert a blank line after ";;; Code" since
7670 that's usual style. (Bug#4612)
7672 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
7674 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7676 * minibuffer.el (completion-table-with-terminator): Properly implement
7677 boundaries, in case `terminator' appears in the suffix.
7678 (completion--embedded-envvar-table): Don't return boundaries if
7679 there's no valid completion. Simplify.
7680 (completion-file-name-table): New completion table extracted from
7681 completion--file-name-table.
7682 (completion--file-name-table): Use it.
7683 (read-file-name-predicate): Declare obsolete.
7684 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
7685 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
7686 completion-file-name-table, and use the `pred' argument.
7687 * files.el (locate-file-completion-table): Use the `pred' arg rather
7688 than read-file-name-predicate.
7689 (abbreviate-file-name): Use \` rather than ^ for BOS.
7691 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
7693 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
7694 vc-responsible-backend to register, it causes problems.
7696 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
7698 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
7700 2009-10-21 Eric Ludlam <zappo@gnu.org>
7702 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init)
7703 (semantic-c-debug-mode-init-pch): New functions.
7704 (semantic-c-debug-mode-init-last-mode): New var.
7705 (semantic-c-parse-lexical-token): Use them.
7707 * cedet/semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace):
7708 When extracting the argument list, limit only by point-max.
7710 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
7712 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
7713 (tramp-smb-handle-file-attributes): Use it.
7714 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
7715 (tramp-smb-handle-insert-directory): Use `mapc' rather than
7716 `mapcar'. Use `tramp-smb-get-stat-capability'.
7717 Add `dired-filename' text properties.
7718 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
7719 (tramp-smb-maybe-open-connection): Simplify check for smbclient
7722 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
7724 * subr.el (read-key-delay): Reduce to 0.01.
7725 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
7728 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
7730 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
7732 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
7733 (Info-menu): Remove unused vars `last' and `completions'.
7734 (Info-index-nodes): Remove unused var `node'.
7736 * info.el (Info-complete-menu-item): Use complete-with-action.
7738 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
7740 Make vc-annotate work through copies and renames.
7741 * vc-annotate.el (vc-annotate-extract-revision-at-line):
7742 Return the file name too.
7743 (vc-annotate-revision-at-line)
7744 (vc-annotate-find-revision-at-line)
7745 (vc-annotate-revision-previous-to-line)
7746 (vc-annotate-show-log-revision-at-line): Update to get the file
7747 name from vc-annotate-extract-revision-at-line.
7748 (vc-annotate-show-diff-revision-at-line-internal): Change the
7749 argument to mean whether to show a file diff or not. Get the file
7750 name from vc-annotate-extract-revision-at-line.
7751 (vc-annotate-show-diff-revision-at-line):
7752 Update vc-annotate-show-diff-revision-at-line call.
7753 (vc-annotate-warp-revision): Add an optional file argument.
7755 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
7756 (vc-git-annotate-extract-revision-at-line): Also return the file
7759 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
7760 command. Remove unused code.
7761 (vc-hg-annotate-re): Update to match --follow output.
7762 (vc-hg-annotate-extract-revision-at-line): Also return the file
7765 * vc.el: Update annotate-extract-revision-at-line documentation.
7767 2009-10-18 Kevin Ryde <user42@zip.com.au>
7769 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
7770 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
7772 * net/browse-url.el (browse-url): Identify alist with "consp and
7773 not functionp" and let all other things go down the `apply' leg,
7774 as suggested by Stefan. (Further to bug#4531.)
7776 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
7778 * minibuffer.el (read-file-name): Check for repeat before putting
7779 a default argument in file-name-history (Bug#4657).
7781 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
7782 read syntax (Bug#4737).
7784 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
7786 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
7788 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
7789 (html-tag-alist, html-tag-help): Add descriptions for undocumented
7790 entries and make note of obsolete tags.
7792 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
7794 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
7796 2009-10-18 Glenn Morris <rgm@gnu.org>
7798 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
7799 grep, so that binary files (eg international/uni-bidi.el) can match.
7800 Remove test for "UnicodeData" files, since it is hopefully unnecessary
7801 now, and in any case the file header format has changed.
7803 2009-10-17 Glenn Morris <rgm@gnu.org>
7805 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
7806 (flyspell-get-word, flyspell-large-region)
7807 (flyspell-auto-correct-previous-word): Doc/error message fixes.
7809 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
7811 * Makefile.in (ELCFILES): Add ede/shell.
7813 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
7815 * term/common-win.el (x-colors): Purecopy it.
7817 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7819 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
7820 permissive for when the buffer is empty.
7821 (tar-header-block-tokenize): Decode the username and groupname.
7822 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
7824 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
7826 * cedet/srecode/srt.el:
7827 * cedet/srecode/compile.el:
7828 * cedet/semantic/mru-bookmark.el:
7829 * cedet/semantic/debug.el:
7830 * cedet/semantic/complete.el:
7831 * cedet/semantic/analyze.el: Require CL when compiling.
7833 2009-10-17 Eric Ludlam <zappo@gnu.org>
7835 * cedet/semantic/scope.el
7836 (semantic-analyze-scoped-inherited-tag-map): Wrap calculation of
7837 tmpscope so that the regular scope will continue to work.
7839 * cedet/semantic/idle.el (semantic-idle-tag-highlight):
7840 Use semantic-idle-summary-highlight-face as the highlighting.
7842 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
7843 contains multibyte characters, choose first applicable coding
7844 system automatically.
7846 * cedet/ede/project-am.el (project-run-target): New method.
7847 (project-run-target): New method.
7849 * cedet/ede.el (ede-target): Add run target menu item.
7850 (ede-project, ede-minor-keymap): Add ede-run-target binding.
7851 (ede-run-target): New function.
7852 (ede-target::project-run-target): New method.
7854 * cedet/ede/proj.el (project-run-target): New method.
7856 * cedet/ede/proj-shared.el (ede-gcc-libtool-shared-compiler)
7857 (ede-g++-libtool-shared-compiler): Remove SHELL. Remove COMMANDS.
7859 (ede-proj-target-makefile-shared-object): Only libtool compilers
7860 now available. Add linkers for libtool.
7861 (ede-cc-linker-libtool, ede-g++-linker-libtool): New.
7862 (ede-proj-makefile-target-name): Always use .la extension.
7864 * cedet/ede/proj-prog.el (project-run-target): New method.
7866 * cedet/ede/proj-obj.el (ede-cc-linker): Rename from ede-gcc-linker.
7867 (ede-g++-linker): Change Change link lines.
7869 * cedet/ede/pmake.el (ede-pmake-insert-variable-shared):
7870 When searching for old variables, go to the end of the buffer and
7871 search backward from there.
7872 (ede-proj-makefile-automake-insert-subdirs)
7873 (ede-proj-makefile-automake-insert-extradist): New methods.
7874 (ede-proj-makefile-create): Use them.
7876 * cedet/ede/pconf.el (ede-proj-configure-test-required-file):
7877 Force FILE to expand to the current target. Use file-exists-p to
7878 check that it exists.
7880 * cedet/ede/linux.el (ede-linux-version): Don't call "head".
7881 (ede-linux-load): Wrap dir in file-name-as-directory.
7884 * cedet/ede/files.el (ede-get-locator-object): When enabling
7885 locate, do so on "top".
7887 * cedet/ede/emacs.el (ede-emacs-file-existing): Wrap "dir" in
7888 file-name-as-directory during compare.
7889 (ede-emacs-version): Return Emacs/XEmacs differentiator.
7890 Get version number from different places. Don't call egrep.
7891 (ede-emacs-load): Set :version slot. Call file-name-as-directory
7892 to set the directory.
7894 * cedet/ede/shell.el: New file.
7896 * cedet/inversion.el (inversion-decoders): Allow for stray . in
7897 alpha/beta variants.
7899 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
7901 * international/mule-cmds.el (select-safe-coding-system): If the file
7902 has a coding cookie, use it regardless of any other setting (bug#4712).
7904 2009-10-17 Glenn Morris <rgm@gnu.org>
7906 * cedet/semantic/grammar.el (semantic-grammar--lex-delim-spec):
7907 All errors should have messages.
7909 * foldout.el (foldout-mouse-swallow-events):
7910 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
7912 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
7913 (dired-keep-marker-copy, dired-keep-marker-hardlink)
7914 (dired-keep-marker-symlink, dired-dwim-target)
7915 (dired-copy-preserve-time): Do not autoload these defcustoms.
7917 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
7918 messages from messing up the file coding. (Bug#4623)
7920 2009-10-17 Jari Aalto <jari.aalto@cante.net>
7922 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
7923 if no match is found for the current dictionary. (Bug#4578)
7925 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
7926 optional, since that is how it is documented, and this is often called
7927 with a nil argument. (Bug#4577)
7928 (flyspell-external-point-words, flyspell-auto-correct-word)
7929 (flyspell-correct-word-before-point, flyspell-word-search-forward)
7930 (flyspell-word-search-backward): Remove nil argument in calls to
7931 flyspell-get-word, since it is not needed now.
7933 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
7935 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
7937 2009-10-16 Glenn Morris <rgm@gnu.org>
7939 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
7941 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
7943 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
7944 (ange-ftp-file-size): New function.
7945 (ange-ftp-file-attributes): Use it.
7947 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
7949 * net/tramp-smb.el (tramp-smb-version): New defvar.
7950 (tramp-smb-maybe-open-connection): Use it, in order to avoid
7953 2009-10-16 Glenn Morris <rgm@gnu.org>
7955 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
7956 Maybe copy some custom properties from old to new name. (Bug#4706)
7958 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
7960 * subr.el (error, sit-for, start-process-shell-command)
7961 (start-file-process-shell-command): Set the calling convention
7962 after the function definition.
7964 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
7966 * subr.el (error, sit-for, start-process-shell-command)
7967 (start-file-process-shell-command): Use the new
7968 set-advertised-calling-convention feature.
7970 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
7972 * international/ucs-normalize.el (ucs-normalize-version):
7974 (check-range): Adjust for Unicode 5.2.
7976 2009-10-15 Juri Linkov <juri@jurta.org>
7978 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
7979 to the `menu-item' format.
7981 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
7983 * net/tramp.el (tramp-replace-environment-variables): Do not fail
7984 if the environment variable does not exist.
7986 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
7987 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
7989 (tramp-smb-handle-add-name-to-file)
7990 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
7991 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
7992 (tramp-smb-handle-file-attributes)
7993 (tramp-smb-do-file-attributes-with-stat)
7994 (tramp-smb-handle-file-local-copy)
7995 (tramp-smb-handle-insert-directory)
7996 (tramp-smb-handle-make-directory)
7997 (tramp-smb-handle-make-directory-internal)
7998 (tramp-smb-handle-make-symbolic-link)
7999 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
8000 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
8001 (tramp-smb-maybe-open-connection): Apply the changed parameters.
8002 (tramp-smb-read-file-entry): Read Disk names in compressed format.
8003 Handle long file names.
8004 (tramp-smb-get-cifs-capabilities): Check, whether the connection
8006 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
8007 Read share names with "-g" option.
8009 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
8011 * net/rcirc.el (rcirc-view-log-file): New command.
8012 (rcirc-track-minor-mode-map): Remove C-c ` binding.
8013 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
8016 2009-10-15 Glenn Morris <rgm@gnu.org>
8018 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
8019 from the second command-line argument.
8020 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
8021 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
8022 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
8023 w32-batch-update-autoloads.
8024 * emacs-lisp/autoload.el (autoload-make-program): New variable.
8025 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
8027 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
8028 the headers cannot be located. Simplify, subtracting superflous
8031 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
8033 Replace completion-base-size by completion-base-position to fix bugs
8035 * simple.el (completion-base-position): New var.
8036 (completion-base-size): Mark as obsolete.
8037 (choose-completion): Make it work for mouse events as well.
8038 Pass the new base-position to choose-completion-string.
8039 (choose-completion-guess-base-position): New function, extracted from
8040 choose-completion-delete-max-match.
8041 (choose-completion-delete-max-match): Use it. Make obsolete.
8042 (choose-completion-string): Use the new base-position info.
8043 (completion-root-regexp): Delete.
8044 (completion-setup-function): Preserve completion-base-position.
8045 Eliminate obsolete base-size manipulation.
8046 * minibuffer.el (display-completion-list): Don't mess with base-size.
8047 (minibuffer-completion-help): Set completion-base-position instead.
8048 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
8050 * textmodes/bibtex.el (bibtex-complete):
8051 * emacs-lisp/crm.el (crm--choose-completion-string):
8052 Adjust to new calling convention.
8053 * complete.el (partial-completion-mode): Use minibufferp to avoid
8054 bumping into incompatible change to choose-completion-string-functions.
8055 * ido.el (ido-choose-completion-string): Make its calling convention
8057 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
8058 base-size manipulation.
8059 (comint-dynamic-list-input-ring): Use dotimes and push.
8060 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
8061 fundamental-mode. Use `or'.
8063 2009-10-14 Juri Linkov <juri@jurta.org>
8065 * misearch.el (multi-isearch-next-buffer-from-list)
8066 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
8068 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8070 * Makefile.in (compile-onefile): Load `bytecomp' rather than
8073 * minibuffer.el (completion-pcm--merge-completions): Make sure the
8074 string we return is all made up of text from the completions rather
8075 than part from the completions and part from the input (bug#4219).
8077 * ido.el (ido-everywhere): Use define-minor-mode.
8079 * buff-menu.el (list-buffers, ctl-x-map):
8080 Mark the entry points with ;;;###autoload cookies.
8082 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
8084 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
8085 correctly in the detached head case.
8086 (vc-git-print-log): Remove unused binding.
8088 * vc.el (vc-responsible-backend): When a directory is passed for
8089 for registration create a VC repository if no backend is
8090 responsible for the directory argument.
8091 (vc-deduce-fileset): Tell vc-responsible-backend to register.
8093 * vc.el: Move comments about RCS and SCCS ...
8095 * vc-sccs.el: ... here, respectively.
8097 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
8099 * minibuffer.el (completion--file-name-table): Return nil if there's
8100 no file completion, even if substitute-in-file-name changed
8101 the string (bug#4708).
8103 2009-10-13 Juri Linkov <juri@jurta.org>
8105 * files-x.el (read-file-local-variable-value): Don't filter out
8106 minor modes from mode name completion (bug#4664).
8108 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
8110 * international/mule-cmds.el (ucs-names): Remove exclusion of
8111 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
8113 2009-10-13 Kenichi Handa <handa@m17n.org>
8115 * international/uni-name.el: Regenerated.
8117 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
8119 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
8120 should be automatically buffer-local, but isn't.)
8122 2009-10-12 Sam Steingold <sds@gnu.org>
8124 * progmodes/compile.el (compilation-next-error-function): Fix the
8125 timestamps if the buffer has been visited before.
8126 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
8127 non-anchored patterns, like the perl one (bug#3928).
8129 2009-10-12 Glenn Morris <rgm@gnu.org>
8131 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
8134 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
8136 * proced.el (proced-unload-function): New function.
8138 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
8139 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
8142 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
8144 2009-10-11 Juri Linkov <juri@jurta.org>
8146 * files-x.el (read-file-local-variable-value):
8147 Provide default value only for bound variables (bug#4664).
8149 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
8151 * net/tramp.el (tramp-local-host-p): Function shall return nil for
8152 connection methods like smb.
8154 * net/tramp-cache.el (tramp-flush-connection-property): The hash
8157 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
8158 (tramp-smb-file-name-handler-alist): Add handlers for
8159 `add-name-to-file', `make-symbolic-link'.
8160 (tramp-smb-handle-add-name-to-file)
8161 (tramp-smb-do-file-attributes-with-stat)
8162 (tramp-smb-handle-make-symbolic-link)
8163 (tramp-smb-get-cifs-capabilities): New defuns.
8164 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
8165 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
8166 (tramp-smb-handle-file-local-copy)
8167 (tramp-smb-handle-make-directory-internal)
8168 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
8169 The file name syntax depends on cifs capabilities.
8170 (tramp-smb-handle-file-attributes):
8171 Call `tramp-smb-do-file-attributes-with-stat' if possible.
8172 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
8173 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
8175 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
8177 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
8178 (eieio-defclass): Apply deftype handler and setf-method properties
8180 (eieio-add-new-slot): Avoid union function from cl library.
8181 (eieio--typep): New function.
8182 (eieio-perform-slot-validation): Use it.
8184 2009-10-10 Karl Fogel <kfogel@red-bean.com>
8186 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
8187 Update documentation to refer to the variables documented in r1.135.
8190 2009-10-10 Karl Fogel <kfogel@red-bean.com>
8192 * bookmark.el (Info-suffix-list): Remove this unused variable.
8193 (bookmark-current-point): Remove this obsolete variable.
8194 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
8195 Adjust for removal of bookmark-current-point.
8197 (bookmarks-already-loaded, bookmark-current-buffer)
8198 (bookmark-yank-point): Document. (Bug#4188)
8200 2009-10-10 Glenn Morris <rgm@gnu.org>
8202 * frame.el (frame-height): Doc fix.
8204 * calendar/calendar.el (calendar-split-width-threshold): New option.
8205 (calendar-basic-setup): Use calendar-split-width-threshold.
8207 2009-10-10 Sascha Wilde <wilde@sha-bang.de>
8209 * cedet/ede/proj-shared.el (ede-proj-makefile-target-name):
8210 Use .la for Automake.
8212 2009-10-09 Chong Yidong <cyd@stupidchicken.com>
8214 * cedet/ede/pconf.el (ede-proj-configure-synchronize):
8215 Use "autoreconf -i". Suggested by Andreas Schwab.
8217 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
8219 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
8220 Ideographic Supplement" range (U+1F200..U+1F2FF).
8222 2009-10-09 Karl Fogel <kfogel@red-bean.com>
8224 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
8225 since the list will have been rebuilt anyway. (Bug#4349)
8227 2009-10-09 Karl Fogel <kfogel@red-bean.com>
8229 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
8230 (bookmark-bmenu-execute-deletions): Don't save here, as
8231 bookmark-delete will now do so if necessary.
8232 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
8235 2009-10-09 Glenn Morris <rgm@gnu.org>
8237 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
8239 2009-10-09 Karl Fogel <kfogel@red-bean.com>
8241 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
8242 (bookmark-jump-other-window): Just invoke bookmark-jump with new
8243 argument now, so the two function's behaviors will match. (Bug#3645)
8245 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
8247 * cedet/ede/proj.el (project-make-dist, project-compile-project):
8249 (ede-proj-dist-makefile): Use expand-file-name instead of concat
8250 to expand file names.
8252 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
8254 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
8255 (tramp-file-name-real-host, tramp-file-name-port):
8256 Apply `save-match-data'.
8258 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
8259 case both directories are remote.
8260 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
8261 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
8263 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
8265 * cedet/ede/proj-obj.el (ede-gcc-linker): New var.
8266 (ede-proj-target-makefile-objectcode): Use it.
8268 * cedet/ede/source.el (ede-want-any-source-files-p)
8269 (ede-want-any-auxiliary-files-p, ede-want-any-files-p):
8270 Return search result. This error was introduced while merging.
8272 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
8274 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
8276 2009-10-07 Glenn Morris <rgm@gnu.org>
8278 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
8281 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
8283 * files-x.el (read-file-local-variable): Include some
8284 non-user-variables in the completion table (bug#4664).
8286 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
8288 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
8291 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
8292 (tramp-smb-file-name-handler-alist): Add handler for
8293 `copy-directory', `expand-file-name', `set-file-modes'.
8294 (tramp-smb-handle-copy-directory)
8295 (tramp-smb-handle-expand-file-name)
8296 (tramp-smb-handle-set-file-modes): New defuns.
8297 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
8298 (tramp-smb-handle-file-attributes): Simplify check for retrieving
8300 (tramp-smb-handle-insert-directory): Don't flush the cache.
8301 (tramp-smb-maybe-open-connection): Check for samba client and
8304 2009-10-07 Eli Zaretskii <eliz@gnu.org>
8306 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
8307 to not error out of search for "^lisp=" fails.
8309 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
8311 * makefile.w32-in (WINS_UPDATES): New macro.
8312 (custom-deps, finder-data, autoloads): Use it.
8314 2009-10-07 Glenn Morris <rgm@gnu.org>
8316 * Makefile.in (autoloads): Revert previous change.
8317 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
8318 the list of preloaded files passed on the command-line, get
8319 it from src/Makefile.
8321 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
8322 show the original buffer rather than a random one.
8324 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
8326 * help.el (describe-no-warranty): Place point in a slightly better
8327 position in the GPLv3 text.
8329 2009-10-06 Sam Steingold <sds@gnu.org>
8331 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
8332 the comm attribute is present before calling regexp-quote.
8334 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
8336 * play/animate.el (animate-string): For good effect, make sure
8337 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
8339 * play/animate.el (animate-sequence, animate-birthday-present):
8340 * misc.el (butterfly): Don't set `indent-tabs-mode'.
8342 2009-10-06 Glenn Morris <rgm@gnu.org>
8344 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
8346 * emacs-lisp/autoload.el (autoload-excludes): New variable.
8347 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
8348 (batch-update-autoloads): Process a string value of autoload-excludes,
8349 set during the build process.
8350 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
8352 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
8353 inside with-parsed... macro so that `v' is defined.
8355 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
8356 * progmodes/fortran.el (fortran-end-of-block)
8357 (fortran-beginning-of-block):
8358 Also push mark in the macro case.
8360 * emerge.el (emerge-show-file-name):
8361 * calc/calc.el (calc-quit):
8362 * calc/calc-misc.el (calc-big-or-small):
8363 * calc/calc-graph.el (calc-graph-view):
8364 * calc/calc-ext.el (calc-reset):
8365 * calendar/calendar.el (calendar-basic-setup):
8366 Use window-full-height-p.
8368 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
8369 header we don't understand, don't insert another. (Bug#4624)
8370 If changing mime charset, insert the new one in the right place.
8372 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
8374 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
8375 (cal-tex-cursor-month): Correctly increment the end date for diary and
8376 holiday listing. (Bug#4626)
8378 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8380 * help-fns.el (describe-function-1): Don't burp if the function is not
8383 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
8385 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
8386 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
8387 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
8388 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
8390 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
8391 (eieio-default-superclass): Reflow docstrings.
8392 (this, class-option-assoc, defclass, eieio-class-un-autoload)
8393 (eieio-unbind-method-implementations, defmethod)
8394 (eieio-validate-slot-value, eieio-validate-class-slot-value)
8395 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
8396 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
8397 (eieio-slot-originating-class-p, eieio-slot-name-index)
8398 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
8399 (constructor, initialize-instance, no-next-method, object-print)
8400 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
8401 Fix typos in docstrings.
8402 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
8403 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
8404 (next-method-p): Doc fixes.
8405 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
8406 Fix typos in error messages.
8407 (eieio-defmethod): Fix typo in description of generic method.
8409 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
8410 (eieio-persistent-save-interactive, slot-missing):
8411 Fix typos in docstrings.
8412 (eieio-instance-inheritor-slot-boundp): Doc fix.
8414 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
8415 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
8417 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
8418 (eieio-custom-object-apply-reset):
8419 Fix typos in docstrings and error messages.
8421 * emacs-lisp/eieio-datadebug.el (data-debug-show):
8422 Fix typo in docstring.
8424 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
8425 (eieio-browse-tree): Doc fix.
8426 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
8427 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
8428 Fix typos in docstrings.
8430 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
8431 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
8432 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
8433 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
8436 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
8438 * vc-hg.el (log-view-vc-backend): Declare for compiler.
8439 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
8440 Set log-view-vc-backend so that diff can work.
8442 * log-view.el (log-view-diff): Use vc-diff-internal instead of
8444 (vc-diff-internal): Autoload this instead of vc-version-diff.
8446 2009-10-05 Eli Zaretskii <eliz@gnu.org>
8448 * simple.el (eval-expression): Doc fix.
8450 * progmodes/cwarn.el (cwarn-mode): Doc fix.
8452 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
8454 * files.el (directory-files-no-dot-files-regexp): New defconst.
8455 (delete-directory): Use it.
8456 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
8458 * net/tramp.el (tramp-verbose): Fix docstring.
8459 (tramp-methods): Add recursive option to `tramp-copy-args'.
8460 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
8461 "scp1_old", "scp2_old", "rsync", "rsyncc".
8462 (tramp-default-method): Check also for `auth-source-user-or-password'.
8463 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
8464 Add handler for `copy-directory'.
8465 (tramp-handle-copy-directory): New defun.
8466 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
8467 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
8468 Optimize sent command.
8470 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
8472 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
8473 window if necessary.
8475 * calendar/calendar.el (calendar-basic-setup): Don't call
8476 switch-to-buffer in a dedicated window.
8478 2009-10-05 Karl Fogel <kfogel@red-bean.com>
8480 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
8481 don't do anything related to relocating, just return nil.
8482 (bookmark-error-no-filename): New error.
8483 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
8484 bookmark has no file. Don't even attempt to handle things that
8485 are not files; the whole point of custom handlers is to keep that
8486 knowledge elsewhere anyway. Tighten some comments.
8487 (bookmark-file-or-variation-thereof): Remove now-unused function.
8488 (bookmark-location): Doc string fix.
8491 2009-10-04 Karl Fogel <kfogel@red-bean.com>
8493 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
8494 don't use a file dialog, because they usually don't know how to read
8495 a directory target from the user. (Bug#4230)
8496 Also, make sure the prompt can display directories as well as files.
8498 2009-10-04 Karl Fogel <kfogel@red-bean.com>
8500 * bookmark.el (bookmark-set, bookmark-buffer-name):
8501 Improve doc strings. (Bug#1193)
8503 2009-10-04 Karl Fogel <kfogel@red-bean.com>
8505 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
8506 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
8507 (bookmark-get-annotation, bookmark-set-annotation)
8508 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
8509 (bookmark-set-position, bookmark-get-front-context-string)
8510 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
8511 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
8512 (bookmark-jump-other-window, bookmark-handle-bookmark)
8513 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
8514 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
8515 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
8516 Improve doc strings to say whether bookmark can be a string or
8517 a record or both, and make other consistency and clarity fixes.
8518 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
8519 (bookmark-default-annotation-text, bookmark-yank-word)
8520 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
8521 (bookmark-import-new-list, bookmark-maybe-rename)
8522 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
8523 (bookmark-bmenu-bookmark): Give these doc strings.
8524 (bookmark-bmenu-check-position): Give this a doc string, but also
8525 add a FIXME comment about how the function may be pointless.
8526 (bookmark-default-handler): Rework doc string and change a
8527 parameter name, to clarify that this takes a bookmark record
8528 not a bookmark name.
8529 (bookmark-set): Change a parameter name to indicate its meaning,
8530 and improve the doc string a bit.
8533 2009-10-04 Karl Fogel <kfogel@red-bean.com>
8535 * bookmark.el (bookmark-alist): Document the new `handler' element
8537 (bookmark-make-record-function): Adjust documentation for above.
8540 2009-10-04 Karl Fogel <kfogel@red-bean.com>
8542 * info.el (Info-bookmark-make-record): Document this function.
8543 (Info-bookmark-jump): Document with a doc string, not just a comment.
8546 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
8548 * cedet/semantic.el (semantic-new-buffer-setup-functions): New option.
8549 (semantic-new-buffer-fcn): Call parser setup functions here.
8550 (semantic-mode): Don't call parser setup functions here, it's done
8551 in semantic-new-buffer-fcn now.
8552 (semantic-mode): Parse all existing buffers when enabled.
8554 * cedet/srecode/compile.el (srecode-compile-file):
8555 Call semantic-new-buffer-fcn if the buffer has not been parsed.
8557 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
8559 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): Delete.
8561 * cedet/ede/proj-comp.el: Don't require ede/pmake at toplevel.
8562 (proj-comp-insert-variable-once): New macro, renamed from
8563 ede-pmake-insert-variable-once in ede/pmake.edl.
8564 (ede-proj-makefile-insert-variables): Use it.
8566 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
8568 * files.el (copy-directory): New defun.
8570 * dired-aux.el (dired-copy-file-recursive): Use it.
8572 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
8574 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
8575 (makefile-end-of-command):
8576 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
8577 (semantic-end-of-context): Fix previous change. Doc fixes.
8579 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
8581 * files-x.el (modify-dir-local-variable)
8582 (copy-dir-locals-to-file-locals-prop-line):
8583 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
8584 (makefile-end-of-command):
8585 * cedet/semantic/lex.el (semantic-lex-token):
8586 * cedet/semantic/analyze/fcn.el
8587 (semantic-analyze-dereference-metatype-1):
8588 * cedet/semantic/bovine/c.el (semantic-lex-cpp-define)
8589 (semantic-lex-cpp-undef):
8590 * cedet/semantic/wisent/wisent.el (wisent-skip-block):
8591 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
8592 (semantic-end-of-context): Fix typos in docstrings.
8594 * recentf.el (recentf-unload-function): New function.
8596 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
8598 * cedet/ede.el (ede-project-placeholder-cache-file):
8599 * cedet/semantic/db-file.el (semanticdb-default-save-directory):
8600 * cedet/srecode/map.el (srecode-map-save-file):
8601 Use locate-user-emacs-file. Suggested by Juanma Barranquero.
8603 2009-10-04 Glenn Morris <rgm@gnu.org>
8605 * window.el (window-full-height-p): Add doc string.
8607 2009-10-04 Martin Rudalics <rudalics@gmx.at>
8609 * window.el (window-full-height-p): New function. (Bug#4543)
8611 2009-10-03 Chong Yidong <cyd@stupidchicken.com>
8613 * cedet/srecode/insert.el: Require srecode/args.
8615 * cedet/srecode/args.el: Require srecode/dictionary instead of
8618 * cedet/srecode/srt-mode.el (srecode-template-mode): Doc fix.
8620 * files.el (auto-mode-alist): Add .srt and Project.ede.
8622 * cedet/semantic.el (semantic-mode):
8623 Handle srecode-template-mode-hook as well.
8624 (semantic-mode): Use js-mode-hook for Javascript hook.
8626 * cedet/srecode/template.el: Remove hook variable.
8628 * cedet/ede/proj-comp.el: Require ede/pmake when compiling.
8630 * cedet/ede.el (ede-target-forms-menu): Don't enable if no
8632 (ede-project-placeholder-cache-file): Default to a file in
8633 user-emacs-directory.
8635 * cedet/srecode/map.el (srecode-map-base-template-dir): Look for
8636 templates in data-directory.
8637 (srecode-map-save-file): Default to a file in user-emacs-directory.
8639 * cedet/ede/srecode.el (ede-srecode-setup): Use default templates
8642 2009-09-30 Eric Ludlam <zappo@gnu.org>
8644 * cedet/semantic/util-modes.el (semantic-highlight-func-mode):
8647 * cedet/ede/proj-comp.el (ede-proj-makefile-insert-variables):
8648 Only insert each variable once.
8650 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): New macro.
8651 (ede-pmake-insert-variable-shared): Use it.
8653 * cedet/ede/cpp-root.el (ede-preprocessor-map): Do not deref table
8654 for lexical table iff table is nil.
8656 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
8658 * vc.el: Remove commented out code.
8659 (vc-derived-from-dir-mode): Remove, unused.
8660 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
8662 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
8664 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
8665 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
8666 there could be recursive loading when `default-directory' is a
8667 remote file name. (Bug#4614)
8669 2009-10-03 Glenn Morris <rgm@gnu.org>
8671 * calendar/calendar.el (calendar-basic-setup): Handle the case where
8673 (calendar-generate-window): Test for shrinkability rather than width.
8675 * cedet/semantic/db-find.el (data-debug-insert-tag-list): Comment out
8676 declaration, currently false.
8678 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
8679 reusing existing buffers, in case we happen to visit two files with the
8680 same basename. (Bug#4593)
8682 2009-10-02 Eli Zaretskii <eliz@gnu.org>
8684 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
8685 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
8686 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
8687 subdirs of cedet as well.
8688 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
8690 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
8692 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
8693 Obey advertised-signature-table.
8695 * help-fns.el (help-function-arglist): Don't check
8696 advertised-signature-table.
8697 (describe-function-1): Do it here instead so it also applies to subrs.
8699 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
8701 * simple.el (start-file-process): Say in the doc-string, that file
8702 handlers might not support pty association, if PROGRAM is nil.
8704 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
8705 HOST and USER are strings. They are nil, when there are
8706 incomplete entries in ~/.netrc, for example.
8707 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
8708 root directory ("device busy" error otherwise).
8710 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
8711 Flush file properties of created directory.
8713 2009-10-02 Eli Zaretskii <eliz@gnu.org>
8715 * makefile.w32-in (WINS_BASIC): Remove cedet.
8716 (WINS_CEDET): Add cedet.
8717 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
8719 2009-10-02 Kevin Ryde <user42@zip.com.au>
8721 * net/browse-url.el (browse-url): Pass any symbol in
8722 browse-url-browser-function to `apply', since if you've mistakenly put
8723 an unbound symbol then the error is clearer. (Bug#4531)
8725 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
8727 * allout.el (allout-init, allout-back-to-current-heading)
8728 (allout-beginning-of-current-entry, allout-ascend-to-depth)
8729 (allout-ascend, allout-up-current-level, allout-end-of-level)
8730 (allout-previous-visible-heading, allout-forward-current-level)
8731 (allout-backward-current-level, allout-show-children):
8732 * apropos.el (apropos-describe-plist):
8733 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
8734 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
8735 * completion.el (add-completion, add-permanent-completion):
8736 * descr-text.el (describe-text-category, describe-char):
8737 * desktop.el (desktop-lazy-abort):
8738 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
8739 * dired.el (dired-build-subdir-alist):
8740 * ediff.el (ediff-version):
8741 * elide-head.el (elide-head, elide-head-show):
8742 * emerge.el (emerge-version):
8744 * face-remap.el (variable-pitch-mode):
8745 * faces.el (describe-face):
8746 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
8748 * files.el (find-file-existing, auto-save-mode):
8749 * font-lock.el (font-lock-fontify-buffer):
8750 * help-fns.el (describe-function, describe-variable)
8751 (describe-syntax, describe-categories):
8752 * help.el (view-lossage, describe-bindings, describe-key)
8754 * hexl.el (hexl-current-address):
8755 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
8756 * info.el (Info-goto-emacs-key-command-node):
8757 * log-edit.el (log-edit-insert-cvs-template)
8758 (log-edit-insert-cvs-rcstemplate):
8759 * menu-bar.el (menu-bar-mode):
8760 * mouse.el (mouse-appearance-menu):
8761 * newcomment.el (comment-indent-new-line):
8762 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
8763 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
8764 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
8765 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
8766 * recentf.el (recentf-mode):
8767 * savehist.el (savehist-mode, savehist-save):
8768 * shadowfile.el (shadow-copy-files):
8769 * simple.el (kill-ring-save, next-line, previous-line)
8770 (normal-erase-is-backspace-mode):
8771 * strokes.el (strokes-update-window-configuration)
8772 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
8773 (strokes-xpm-for-stroke):
8774 * time.el (emacs-uptime, emacs-init-time):
8775 * tutorial.el (tutorial--describe-nonstandard-key)
8776 (tutorial--detailed-help):
8777 * type-break.el (type-break-mode)
8778 (type-break-mode-line-message-mode, type-break-query-mode)
8779 (type-break-guesstimate-keystroke-threshold):
8780 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
8781 * version.el (emacs-version):
8782 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
8783 * winner.el (winner-mode):
8784 * calendar/timeclock.el (timeclock-in, timeclock-out)
8785 (timeclock-status-string, timeclock-change)
8786 (timeclock-workday-remaining-string)
8787 (timeclock-workday-elapsed-string)
8788 (timeclock-when-to-leave-string):
8789 * calendar/todo-mode.el (todo-add-category):
8790 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
8791 * emacs-lisp/autoload.el (update-file-autoloads):
8792 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
8793 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
8794 (checkdoc-message-text, checkdoc-defun):
8795 * emacs-lisp/debug.el (debugger-list-functions):
8796 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
8797 * emacs-lisp/eieio-opt.el (eieio-describe-class)
8798 (eieio-describe-generic):
8799 * emacs-lisp/lisp-mnt.el (lm-synopsis):
8800 * emacs-lisp/shadow.el (list-load-path-shadows):
8801 * emulation/cua-base.el (cua-mode):
8802 * emulation/edt.el (edt-set-scroll-margins):
8803 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
8804 (tpu-toggle-regexp, tpu-toggle-search-direction)
8805 (tpu-toggle-rectangle, tpu-toggle-control-keys):
8806 * emulation/tpu-extras.el (tpu-set-scroll-margins):
8807 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
8808 (viper-set-parsing-style-toggling-macro)
8809 (viper-set-emacs-state-searchstyle-macros):
8810 * emulation/viper.el (viper-set-hooks):
8811 * eshell/esh-mode.el (eshell-truncate-buffer):
8812 * international/mule-cmds.el (prefer-coding-system)
8813 (describe-input-method, describe-language-environment):
8814 * international/mule-diag.el (list-character-sets)
8815 (describe-character-set, describe-coding-system)
8816 (describe-fontset, list-fontsets, list-input-methods):
8817 * mail/sendmail.el (mail-signature):
8818 * net/ange-ftp.el (ange-ftp-copy-file):
8819 * net/browse-url.el (browse-url):
8820 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
8821 * net/quickurl.el (quickurl-add-url):
8822 * net/rcirc.el (names, topic):
8823 * net/xesam.el (xesam-mode):
8824 * play/5x5.el (5x5-new-game):
8825 * play/yow.el (apropos-zippy):
8826 * progmodes/ada-mode.el (ada-mode-version):
8827 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
8829 (f90-beginning-of-block):
8830 * progmodes/fortran.el (fortran-end-of-block)
8831 (fortran-beginning-of-block):
8832 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
8833 * progmodes/python.el (python-describe-symbol, python-shell):
8834 * term/ns-win.el (ns-print-buffer):
8835 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
8836 * textmodes/flyspell.el (flyspell-mode-on):
8837 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
8838 (pages-directory-for-addresses):
8839 * textmodes/table.el (table-recognize-cell)
8840 (table-query-dimension, table-generate-source)
8841 (table-insert-sequence, table--warn-incompatibility):
8842 * textmodes/tex-mode.el (tex-validate-buffer):
8843 * textmodes/texinfmt.el (texinfmt-version)
8844 (texinfo-format-buffer):
8845 Use `called-interactively-p' instead of `interactive-p'.
8847 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
8849 * image-mode.el (image-toggle-display):
8850 * emacs-lisp/elp.el (elp-instrument-function):
8851 * emacs-lisp/advice.el (ad-make-advised-definition):
8852 * emacs-lisp/easy-mmode.el (define-minor-mode):
8853 * net/browse-url.el (browse-url-maybe-new-window):
8854 * progmodes/sh-script.el (sh-learn-buffer-indent):
8855 Pass new argument 'any to `called-interactively-p'.
8857 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
8859 * international/uni-bidi.el:
8860 * international/uni-category.el:
8861 * international/uni-combining.el:
8862 * international/uni-comment.el:
8863 * international/uni-decimal.el:
8864 * international/uni-decomposition.el:
8865 * international/uni-digit.el:
8866 * international/uni-lowercase.el:
8867 * international/uni-mirrored.el:
8868 * international/uni-name.el:
8869 * international/uni-numeric.el:
8870 * international/uni-old-name.el:
8871 * international/uni-titlecase.el:
8872 * international/uni-uppercase.el:
8873 Regenerate from Unicode 5.2.0 data.
8875 2009-10-01 Glenn Morris <rgm@gnu.org>
8877 * Makefile.in (ELCFILES): Regenerate.
8879 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8881 * subr.el (interactive-p): Mark obsolete.
8882 (called-interactively-p): Make the optional-ness of `kind' obsolete.
8883 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
8884 advertised-signature-table for subroutines as well.
8886 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
8887 (set-advertised-calling-convention): New function.
8888 (make-obsolete, define-obsolete-function-alias)
8889 (make-obsolete-variable, define-obsolete-variable-alias):
8890 Make the optional-ness of `when' obsolete.
8891 (define-obsolete-face-alias): Make `when' non-optional.
8892 * help-fns.el (help-function-arglist):
8893 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
8894 Use advertised-signature-table.
8896 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
8898 * files.el (delete-directory): New defun. The original function
8899 in fileio.c has been renamed to `delete-directory-internal'.
8901 * dired.el (dired-delete-file): Call `delete-directory' with
8902 RECURSIVE parameter.
8904 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
8905 parameter RECURSIVE. Implementation is missing.
8907 * net/tramp.el (tramp-handle-make-directory): Flush upper
8908 directory's file properties.
8909 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
8910 (tramp-handle-dired-recursive-delete-directory): Flush directory
8911 properties after the remove command only.
8913 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
8914 Handle optional parameter RECURSIVE.
8916 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
8917 Handle optional parameter RECURSIVE.
8919 * net/tramp-smb.el (tramp-smb-errors): Add error message for
8921 (tramp-smb-handle-delete-directory): Handle optional parameter
8924 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
8926 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
8927 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
8928 (byte-compile-defmacro): Use backquotes.
8930 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
8932 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
8933 has no associated file.
8934 (vc-resynch-buffer): Use vc-dir-buffers.
8936 2009-10-01 Glenn Morris <rgm@gnu.org>
8938 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
8940 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
8941 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
8942 * emacs-lisp/eieio-opt.el (eieio-describe-class):
8943 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
8944 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
8945 (eieio-copy-parents-into-subclass, make-instance, class-children)
8946 (eieio-generic-form):
8947 * cedet/cedet-files.el (cedet-directory-name-to-file-name):
8948 * cedet/cedet-idutils.el (cedet-idutils-search)
8949 (cedet-idutils-expand-filename, cedet-idutils-support-for-directory)
8950 (cedet-idutils-version-check):
8951 * cedet/cedet.el (cedet-version):
8952 * cedet/data-debug.el (data-debug-insert-overlay-button)
8953 (data-debug-insert-overlay-list-button)
8954 (data-debug-insert-buffer-button)
8955 (data-debug-insert-buffer-list-button)
8956 (data-debug-insert-process-button, data-debug-insert-ring-button)
8957 (data-debug-insert-widget, data-debug-insert-stuff-list-button)
8958 (data-debug-insert-stuff-vector-button)
8959 (data-debug-insert-symbol-button, data-debug-insert-string)
8960 (data-debug-insert-number, data-debug-insert-lambda-expression)
8961 (data-debug-insert-nil, data-debug-insert-simple-thing)
8962 (data-debug-insert-custom, data-debug-edebug-expr):
8963 * cedet/ede.el (ede-auto-add-method, ede-project-class-files)
8964 (global-ede-mode-map, ede-new, ede-debug-target)
8965 (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set):
8966 * cedet/semantic.el (semantic-minimum-working-buffer-size)
8967 (semantic-fetch-tags, semantic-submode-list)
8968 (semantic-default-submodes):
8969 * cedet/ede/source.el (ede-source-match):
8970 * cedet/ede/project-am.el (project-am-type-alist, project-add-file)
8971 (project-am-package-info):
8972 * cedet/ede/proj.el (ede-proj-target, project-new-target):
8973 * cedet/ede/proj-elisp.el (ede-proj-tweak-autoconf):
8974 * cedet/ede/proj-comp.el (ede-current-build-list):
8975 * cedet/ede/makefile-edit.el (makefile-move-to-macro):
8976 * cedet/ede/files.el (ede-toplevel-project-or-nil):
8977 * cedet/ede/cpp-root.el (initialize-instance):
8978 * cedet/ede/autoconf-edit.el (autoconf-find-last-macro)
8979 (autoconf-parameter-strip, autoconf-insert-new-macro):
8980 * cedet/semantic/wisent.el (wisent-lex-eoi):
8981 * cedet/semantic/util-modes.el (global-semantic-show-parser-state-mode)
8982 (semantic-show-parser-state-mode):
8983 * cedet/semantic/texi.el (semantic-texi-environment-regexp):
8984 * cedet/semantic/tag.el (semantic-tag-new-variable)
8985 (semantic-tag-class, semantic-tag-new-variable, semantic-tag-copy)
8986 (semantic--tag-deep-copy-attributes, semantic--tag-deep-copy-value)
8987 (semantic--tag-deep-copy-tag-list)
8988 (semantic-tag-components-with-overlays-default):
8989 * cedet/semantic/symref.el (semantic-symref-find-text):
8990 * cedet/semantic/senator.el (senator-yank-tag)
8991 (senator-transpose-tags-up):
8992 * cedet/semantic/scope.el (semantic-analyze-scoped-tags-default)
8993 (semantic-analyze-scoped-inherited-tags, semantic-scope-find):
8994 * cedet/semantic/sb.el (semantic-sb-autoexpand-length):
8995 * cedet/semantic/lex.el (semantic-lex-comment-regex)
8996 (semantic-lex-maximum-depth, define-lex, semantic-lex-token)
8997 (semantic-lex-unterminated-syntax-protection, define-lex-analyzer):
8998 * cedet/semantic/lex-spp.el
8999 (semantic-lex-spp-dynamic-macro-symbol-obarray-stack)
9000 (semantic-lex-spp-symbol, semantic-lex-spp-one-token-to-txt):
9001 * cedet/semantic/idle.el
9002 (semantic-idle-summary-current-symbol-info-brutish)
9003 (semantic-idle-summary-current-symbol-info-default):
9004 * cedet/semantic/grammar.el (semantic-grammar-recreate-package)
9005 (semantic--grammar-macro-compl-dict):
9006 * cedet/semantic/grammar-wy.el (semantic-grammar-wy--parse-table):
9007 * cedet/semantic/format.el (semantic-format-tag-custom-list)
9008 (semantic-format-tag-canonical-name-default):
9009 * cedet/semantic/find.el (semantic-find-tag-by-overlay-in-region)
9010 (semantic-find-tags-for-completion)
9011 (semantic-find-tags-by-scope-protection-default)
9012 (semantic-deep-find-tags-for-completion):
9013 * cedet/semantic/edit.el
9014 (semantic-edits-incremental-reparse-failed-hook)
9015 (semantic-edits-verbose-flag, semantic-edits-assert-valid-region)
9016 (semantic-edits-splice-remove, semantic-edits-splice-replace):
9017 * cedet/semantic/doc.el (semantic-documentation-comment-preceeding-tag):
9018 * cedet/semantic/dep.el (semantic-dependency-include-path):
9019 * cedet/semantic/db.el (semanticdb-default-find-index-class)
9020 (semanticdb-match-any-mode, semanticdb-with-match-any-mode)
9021 (semanticdb-project-roots):
9022 * cedet/semantic/db-find.el (semanticdb-implied-include-tags)
9023 (semanticdb-find-adebug-insert-scanned-tag-cons)
9024 (semanticdb-find-log-buffer-name, semanticdb-find-result-mapc)
9025 (semanticdb-brute-deep-find-tags-for-completion):
9026 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-add-tree-to-table):
9027 * cedet/semantic/ctxt.el (semantic-beginning-of-context-default)
9028 (semantic-end-of-context-default)
9029 (semantic-ctxt-current-function-default)
9030 (semantic-ctxt-scoped-types-default):
9031 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
9032 (semantic-complete-inline-tag-engine)
9033 (semantic-complete-inline-custom-type)
9034 (semantic-complete-read-tag-analyzer):
9035 * cedet/semantic/chart.el (semantic-chart-tags-by-class)
9036 (semantic-chart-database-size):
9037 * cedet/semantic/analyze.el (semantic-analyze-current-symbol)
9038 (semantic-analyze-current-context):
9039 * cedet/semantic/symref/list.el (semantic-symref)
9040 (semantic-symref-hide-buffer, semantic-symref-symbol):
9041 * cedet/semantic/symref/grep.el (semantic-symref-grep-use-template):
9042 * cedet/semantic/symref/filter.el (semantic-symref-hits-in-region):
9043 * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string):
9044 * cedet/semantic/bovine/c.el (semantic-lex-c-preprocessor-symbol-map)
9045 (semantic-c-parse-token-hack-depth, semantic-c--template-name-1)
9046 (semantic-c-dereference-template):
9047 * cedet/semantic/analyze/refs.el (semantic--analyze-refs-full-lookup)
9048 (semantic--analyze-refs-full-lookup-with-parents)
9049 (semantic--analyze-refs-full-lookup-simple):
9050 * cedet/semantic/analyze/complete.el
9051 (semantic-analyze-possible-completions):
9052 * cedet/srecode/table.el (srecode-mode-table-new):
9053 * cedet/srecode/srt.el (srecode-read-variable-name):
9054 * cedet/srecode/srt-mode.el (srecode-macro-help, srecode-in-macro-p):
9055 * cedet/srecode/semantic.el (srecode-semantic-handle-:tag)
9056 (srecode-semantic-handle-:tagtype, srecode-semantic-insert-tag):
9057 * cedet/srecode/map.el (srecode-current-map):
9058 * cedet/srecode/insert.el (srecode-insert)
9059 (srecode-insert-variable-secondname-handler, srecode-insert-method)
9060 (srecode-template-inserter-point-override)
9061 (srecode-insert-include-lookup):
9062 * cedet/srecode/getset.el (srecode-auto-choose-class):
9063 * cedet/srecode/extract.el (srecode-inserter-extract):
9064 * cedet/srecode/document.el
9065 (srecode-document-autocomment-return-last-alist)
9066 (srecode-document-autocomment-param-type-alist)
9067 (srecode-document-insert-function-comment)
9068 (srecode-document-insert-variable-one-line-comment)
9069 (srecode-document-function-name-comment):
9070 * cedet/srecode/dictionary.el (srecode-create-dictionary)
9071 (srecode-compound-toString):
9072 * cedet/srecode/compile.el (srecode-flush-active-templates):
9073 * cedet/srecode/args.el (srecode-semantic-handle-:blank):
9076 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
9077 match-data. (Bug#4555).
9079 * cedet/semantic/bovine/gcc.el
9080 (semantic-c-reset-preprocessor-symbol-map): Fix declaration.
9081 (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes.
9083 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
9084 rather than parsing it as a regexp. This relaxes the layout
9085 requirements and makes errors easier to detect.
9086 (check-declare-verify): Check file is regular.
9087 (check-declare-directory): Doc fix.
9088 * subr.el (declare-function): Doc fix.
9090 * ibuffer.el (ibuffer-format-qualifier):
9091 * isearch.el (hi-lock-regexp-okay):
9092 * calc/calc.el (math-zerop):
9093 * mail/uce.el (rmail-msgbeg, rmail-msgend):
9094 * term/w32-win.el (setup-default-fontset, set-fontset-font):
9095 Remove unused declarations.
9097 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
9099 * cedet/semantic/wisent/javat-wy.el
9100 (wisent-java-tags-wy--keyword-table): Use \000 instead of literal ^@.
9102 2009-09-30 Juanma Barranquero <lekktu@gmail.com>
9104 * cedet/srecode/expandproto.el: Fix provide statement.
9106 2009-09-30 Eric Ludlam <zappo@gnu.org>
9108 * emacs-lisp/eieio.el (boolean-p): Delete.
9110 2009-09-30 Sascha Wilde <wilde@sha-bang.de>
9112 * cedet/ede/srecode.el: Fix provide statement.
9114 2009-09-30 Glenn Morris <rgm@gnu.org>
9116 * cedet/ede/proj.el (ede-proj-target-makefile-miscelaneous):
9117 * cedet/ede/proj-aux.el (ede-aux-source):
9118 * cedet/ede/proj-misc.el (ede-proj-target-makefile-miscelaneous)
9120 * cedet/semantic/mru-bookmark.el (semantic-mrub-completing-read)
9121 (semantic-mrub-switch-tags): Fix doc typos.
9123 * cedet/semantic/db-global.el (data-debug-new-buffer)
9124 (data-debug-insert-thing): Remove unneeded declarations (one broken).
9125 (semanticdb-enable-gnu-global-databases): Fix prompt typo.
9127 * cedet/semantic/analyze/fcn.el (semantic-scope-find): Fix declaration.
9129 * cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime
9130 use of CL function `remove-if-not'.
9132 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
9134 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
9135 filename is not a string.
9137 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
9139 * files.el (safe-local-eval-forms): Fix typo.
9141 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
9143 * vc-hooks.el (vc-dir-buffers): New var.
9144 (vc-state-refresh): New function.
9146 (vc-after-save): Always ask the backend to recompute the new state.
9147 Always call vc-dir if necessary, using vc-dir-buffers.
9148 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
9150 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
9151 (vc-dir-prepare-status-buffer, vc-dir-update)
9152 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
9153 Don't call expand-file-name on default-directory.
9155 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
9157 * speedbar.el (speedbar-item-delete):
9158 * calc/calc-prog.el (calc-kbd-if):
9159 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
9161 * epa.el (epa-key-list-mode-map):
9162 * hi-lock.el (hi-lock-menu): Fix typos in menus.
9164 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
9165 (hs-show-hook): Fix typo in docstring.
9167 2009-09-29 Glenn Morris <rgm@gnu.org>
9169 * cedet/semantic/symref/idutils.el:
9170 * cedet/semantic/symref/list.el: Relicense under GPLv3+.
9172 * cedet/ede/srecode.el (srecode-resolve-arguments): Fix declaration.
9174 * cedet/semantic/complete.el (semantic-displayor-focus-abstract-child-p):
9175 * cedet/semantic/tag-file.el (semanticdb-table-child-p):
9176 * cedet/srecode/compile.el (srecode-template-inserter-newline-child-p):
9177 Mark declarations not understood by check-declare.
9179 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
9180 file-name-nondirectory call preventing location of cedet files.
9181 (check-declare-verify): Use literal search rather than re-search.
9182 Add basic defmethod and defclass, and define-overloadable-function.
9184 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
9185 Use tramp-compat-file-attributes rather than nonexistent
9186 tramp-compat-handle-file-attributes.
9188 * Makefile.in (lisptagsfiles4): New.
9189 (AUTOGENEL): Add cedet loaddefs files.
9190 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
9191 (update-elclist, compile-always, backup-compiled-files)
9192 (bootstrap-clean): Add yet another directory level.
9193 (update-elclist): Use LC_COLLATE rather than COLLATE.
9194 (ELCFILES): Update, via `make update-elclist'.
9196 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
9198 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
9199 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
9200 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
9202 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
9204 * Makefile.in (lisptagsfiles3): Define.
9205 (TAGS, TAGS-LISP): Use it.
9206 (update-elclist): Add third directory level to look for elc files.
9207 (compile-always): Likewise.
9208 (backup-compiled-files): Likewise.
9209 (bootstrap-clean): Likewise.
9212 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
9214 * Makefile.in (ELCFILES): Add CEDET files.
9216 2009-09-28 Eric Ludlam <zappo@gnu.org>
9218 CEDET (development tools) package merged.
9222 * cedet/semantic/*.el:
9223 * cedet/srecode/*.el: New files.
9225 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
9227 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
9229 * net/tramp.el (top): Require tramp-imap.
9231 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
9232 Use `tramp-compat-handle-file-attributes'.
9234 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
9236 * net/tramp-imap.el: New package.
9238 2009-09-28 Eric Ludlam <zappo@gnu.org>
9240 * emacs-lisp/chart.el:
9241 * emacs-lisp/eieio-base.el:
9242 * emacs-lisp/eieio-comp.el:
9243 * emacs-lisp/eieio-custom.el:
9244 * emacs-lisp/eieio-datadebug.el:
9245 * emacs-lisp/eieio-opt.el:
9246 * emacs-lisp/eieio-speedbar.el:
9247 * emacs-lisp/eieio.el: New files.
9249 * cedet/cedet-cscope.el:
9250 * cedet/cedet-files.el:
9251 * cedet/cedet-global.el:
9252 * cedet/cedet-idutils.el:
9253 * cedet/data-debug.el:
9254 * cedet/inversion.el:
9255 * cedet/mode-local.el:
9256 * cedet/pulse.el: New files.
9258 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9260 * whitespace.el (whitespace-trailing-regexp)
9261 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
9264 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
9266 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
9269 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
9270 menu-bar-ediff-menu.
9272 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
9273 define-overloadable-function.
9275 * progmodes/autoconf.el: Provide autoconf as well, so that this
9276 file can be `require'd.
9278 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
9280 * emacs-lisp/autoload.el (generated-autoload-feature)
9281 (generated-autoload-load-name): New vars.
9282 (autoload-rubric, autoload-generate-file-autoloads): Use them.
9283 (make-autoload): Recognize define-overloadable-function and
9284 defclass forms (for EIEIO).
9286 * Makefile.in (update-subdirs): Exclude cedet directory.
9288 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
9290 * term/ns-win.el: Don't set the region face background. (Bug#4381)
9292 * faces.el: Default light-background background for region face to
9293 ns_selection_color under NS.
9295 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
9297 * net/imap-hash.el: New library, see NEWS.
9299 * Makefile.in (ELCFILES): Add imap-hash.el.
9301 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
9303 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
9304 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
9305 * help-macro.el (make-help-screen): Avoid using an ambiguous function
9306 definition where the docstring could be taken for the return value.
9308 2009-09-26 Glenn Morris <rgm@gnu.org>
9310 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
9311 Add option to only show images below a certain size.
9312 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
9313 save-excursion calls.
9315 2009-09-26 Eli Zaretskii <eliz@gnu.org>
9317 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
9318 subdirectories) and eieio.
9320 2009-09-26 Alan Mackenzie <acm@muc.de>
9322 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
9323 buggy bracketing. (Bug#4289)
9325 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
9326 character constants (as case labels). (Bug#4289)
9328 2009-09-25 Juri Linkov <juri@jurta.org>
9330 * files.el (safe-local-eval-forms): Allow time-stamp in
9331 before-save-hook (Bug#4554).
9333 2009-09-25 Drew Adams <drew.adams@oracle.com>
9335 * menu-bar.el (list-buffers-directory): Doc fix.
9337 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
9339 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
9340 Try and avoid copying twice the same paragraph.
9341 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
9342 Remove save-excursion.
9343 (log-edit-changelog-entry): Do it here instead.
9345 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
9347 * bs.el (bs--get-file-name): Use `list-buffers-directory'
9348 when available, instead of hardcoding mode names. Doc fix.
9350 * menu-bar.el (list-buffers-directory): Add docstring.
9351 Make automatically buffer-local.
9353 * dired.el (dired-mode):
9354 * files.el (cd-absolute):
9355 * pcvs.el (cvs-temp-buffer):
9356 * pcvs-util.el (cvs-get-buffer-create):
9357 * shell.el (shell-mode):
9358 * vc-dir.el (vc-dir-mode):
9359 Don't make `list-buffers-directory' buffer local.
9361 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
9363 * comint.el (comint-exec, comint-run, make-comint):
9364 Doc fixes (Bug#4542).
9366 2009-09-25 Glenn Morris <rgm@gnu.org>
9368 * mail/rmailmm.el (rmail-mime): New custom group.
9369 Move all defcustoms in this file into this group.
9370 (rmail-mime-media-type-handlers-alist): Revert previous change.
9371 (rmail-mime-show-images): New option.
9372 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
9373 references to it, since it wasn't actually used for anything.
9374 (rmail-mime-insert-image): New function.
9375 (rmail-mime-image): Use rmail-mime-insert-image.
9376 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
9377 obey the value of `rmail-mime-show-images' option. Print the size of
9380 2009-09-25 David Engster <deng@randomsample.de>
9382 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
9384 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9386 * whitespace.el: Does not highlight trailing spaces While point is
9387 at end of line. Does not highligt spaces at beginning of buffer
9388 while point is at beginning of buffer. Does not highlight spaces
9389 at end of buffer while point is at end of buffer. (Bug#4177)
9391 (whitespace-display-mappings): Adjust initialization.
9392 (whitespace-point, whitespace-font-lock-refontify): New vars.
9393 (whitespace-color-on, whitespace-color-off): Adjust code.
9394 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
9395 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
9396 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
9398 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
9400 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
9402 * textmodes/sgml-mode.el: Remove xml-mode alias.
9404 * files.el (auto-mode-alist, conf-mode-maybe)
9405 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
9407 2009-09-24 Alan Mackenzie <acm@muc.de>
9409 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
9410 c-forward-conditionals, but it doesn't move point and doesn't set
9412 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
9413 (c-down-conditional-with-else, c-backward-conditional)
9414 (c-forward-conditional): Refactor to use c-scan-conditionals.
9416 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
9418 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
9419 (help-default-arg-highlight): Remove.
9420 (help-highlight-arg): New function.
9421 (help-do-arg-highlight): Use it.
9422 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
9424 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
9426 * term.el (term-set-scroll-region, term-handle-ansi-escape):
9427 Undo last change, which didn't fix the problem and introduced others.
9429 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
9431 * progmodes/gdb-mi.el: Don't require speedbar.
9432 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
9434 2009-09-24 Glenn Morris <rgm@gnu.org>
9436 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
9438 * term/ns-win.el (ns-reg-to-script): Define for compiler.
9440 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
9441 there is no newline after the final mime boundary. (Bug#4539)
9442 Move markers on insertion so that any buttons inserted don't end up in
9443 the next part of a multipart message.
9444 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
9445 (rmail-mime-bulk-handler): Optionally handle images.
9446 (rmail-mime-image): New button action.
9447 (rmail-mime-image-handler): New function.
9448 (rmail-mime-mode): New mode.
9449 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
9451 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
9453 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
9454 than just dropping elements from it (bug#4504).
9456 * term.el (term-set-scroll-region): Don't move cursor any more.
9457 (term-handle-ansi-escape): Call term-goto here instead.
9458 Suggested by Ivan Kanis <apple@kanis.eu>.
9460 * term.el: Require CL.
9461 (term-ansi-reset): New function.
9462 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
9463 (term-handle-colors-array): Simplify.
9465 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
9467 * allout.el (allout-overlay-interior-modification-handler)
9468 (allout-obtain-passphrase):
9469 * epa-file.el (epa-file-write-region):
9470 * ps-print.el (ps-begin-job):
9471 * vc-hooks.el (vc-toggle-read-only):
9472 * vc-rcs.el (vc-rcs-rollback):
9473 * vc-sccs.el (vc-sccs-rollback):
9474 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
9475 (vc-version-diff, vc-revert, vc-rollback):
9476 * wdired.el (wdired-check-kill-buffer):
9477 * emacs-lisp/authors.el (authors):
9478 * net/socks.el (socks-open-connection):
9479 * net/zeroconf.el (zeroconf-service-add-hook):
9480 * obsolete/vc-mcvs.el (vc-mcvs-register):
9481 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
9483 * progmodes/grep.el (lgrep, rgrep):
9484 * progmodes/idlw-help.el (idlwave-help-check-locations)
9485 (idlwave-help-html-link, idlwave-help-assistant-open-link):
9486 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
9487 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
9488 (reftex-toc-rename-label): Fix typos in error messages.
9490 * dired-aux.el (dired-do-shell-command): Reflow docstring.
9491 (dired-copy-how-to-fn): Doc fix.
9492 (dired-files-attributes, dired-read-shell-command):
9493 Fix typos in docstrings.
9495 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
9496 (dired-x-find-file-other-window): Reflow docstrings.
9497 (dired-omit-marker-char, dired-read-shell-command)
9498 (dired-x-submit-report): Fix typos in docstrings.
9500 * shell.el (shell-mode-hook):
9501 * view.el (View-scroll-line-forward):
9502 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
9503 Fix typos in docstrings.
9505 * net/dig.el (dig-invoke): Fix typo in docstring.
9506 (query-dig): Reflow docstring.
9508 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
9509 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
9510 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
9511 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
9512 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
9513 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
9514 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
9515 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
9516 (idlwave-completion-map, idlwave-current-indent)
9517 (idlwave-custom-ampersand-surround, idlwave-customize)
9518 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
9519 (idlwave-define-abbrev, idlwave-determine-class-special)
9520 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
9521 (idlwave-end-block-reg, idlwave-end-of-statement)
9522 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
9523 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
9524 (idlwave-explicit-class-listed, idlwave-file-header)
9525 (idlwave-fill-paragraph, idlwave-find-class-definition)
9526 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
9527 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
9528 (idlwave-in-quote, idlwave-indent-action-table)
9529 (idlwave-indent-expand-table, idlwave-indent-line)
9530 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
9531 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
9532 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
9533 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
9534 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
9535 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
9536 (idlwave-outlawed-buffers, idlwave-popup-select)
9537 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
9538 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
9539 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
9540 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
9541 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
9542 (idlwave-statement-type, idlwave-struct-skip)
9543 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
9544 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
9545 (idlwave-what-module-find-class): Fix typos in docstrings.
9546 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
9547 (idlwave-calculate-cont-indent, idlwave-expand-equal)
9548 (idlwave-find-module, idlwave-find-structure-definition)
9549 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
9550 (idlwave-list-load-path-shadows, idlwave-next-statement)
9551 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
9552 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
9553 (idlwave-template): Reflow docstrings.
9555 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
9556 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
9557 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
9558 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
9559 (idlwave-shell-display-line, idlwave-shell-display-wframe)
9560 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
9561 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
9562 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
9563 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
9564 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
9565 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
9566 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
9567 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
9568 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
9569 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
9570 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
9571 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
9572 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
9573 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
9574 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
9575 Fix typos in docstrings.
9576 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
9577 (idlwave-shell-hide-output, idlwave-shell-mode)
9578 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
9581 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
9583 2009-09-24 Ivan Kanis <apple@kanis.eu>
9585 * term.el (term-bold-attribute): New var.
9586 (term-handle-colors-array): Use it.
9588 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
9590 * progmodes/gdb-mi.el (gdb-version): New variable.
9591 (gdb-non-stop-handler): Set gdb-version.
9592 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
9593 Condition "--thread" option on gdb-version.
9594 (gdb-invalidate-threads): Remove unused argument.
9596 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
9598 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
9599 to looking-back to avoid ridiculous slow down in large files (bug#4511).
9601 2009-09-23 Glenn Morris <rgm@gnu.org>
9603 * mail/rmail.el (rmail-reply): Don't try to add a References header when
9604 replying to mail without References or Message-Id. (Bug#4525)
9606 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
9608 * term/ns-win.el (ns-reg-to-script): New variable.
9610 2009-09-23 Daiki Ueno <ueno@unixuser.org>
9612 * epg.el (epg-wait-for-status): Preserve existing 'error results.
9614 2009-09-22 Sam Steingold <sds@gnu.org>
9616 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
9617 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
9618 to 1 because hg returns status 1 when nothing is found.
9619 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
9621 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
9623 * textmodes/fill.el: Convert to utf-8 encoding.
9624 (fill-french-nobreak-p): Remove redundant » and « inherited from our
9627 * add-log.el (change-log-fill-forward-paragraph): New function.
9628 (change-log-mode): Use it so fill-region DTRT.
9629 Set fill-indent-according-to-mode here rather than in
9630 change-log-fill-paragraph.
9631 (change-log-fill-paragraph): Remove.
9633 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
9635 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
9636 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
9638 2009-09-22 Glenn Morris <rgm@gnu.org>
9640 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
9641 the scroll-bar scroll the calendar window rather than the buffer.
9643 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
9644 commands that move point (as opposed to scrolling).
9646 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
9648 * emacs-lisp/elint.el (elint): New custom group.
9649 (elint-log-buffer): Make it a defcustom.
9650 (elint-scan-preloaded, elint-ignored-warnings)
9651 (elint-directory-skip-re): New options.
9652 (elint-builtin-variables): Doc fix.
9653 (elint-preloaded-env): New variable.
9654 (elint-unknown-builtin-args): Add an entry for encode-time.
9655 (elint-extra-errors): Make it a variable rather than a constant.
9656 (elint-preloaded-skip-re): New constant.
9657 (elint-directory): Skip files matching elint-directory-skip-re.
9658 (elint-features): New variable, local to linted buffers.
9659 (elint-update-env): Initialize elint-features. Possibly add
9660 elint-preloaded-env to the buffer's environment.
9661 (elint-get-top-forms): Bind elint-current-pos, for log messages.
9663 (elint-init-form): New function, extracted from elint-init-env.
9664 Make non-list forms a warning rather than an error.
9665 Add the mode-map for define-derived-mode. Handle define-minor-mode,
9666 easy-menu-define, put that adds an error-condition, and provide.
9667 When requiring cl, also require cl-macs. Really require cl, to handle
9668 some cl macros. Store required libraries in the list elint-features,
9669 so as not to re-load them. Treat cc-require like require.
9670 (elint-init-env): Call elint-init-form to do the work.
9671 Handle eval-and-compile and such like.
9672 (elint-add-required-env): Do not clear messages.
9673 (elint-special-forms): Add handlers for function, defalias, if, when,
9675 (elint-form): Add optional argument to ignore elint-special-forms,
9676 useful to prevent recursive calls from handlers. Doc fix.
9677 Respect elint-ignored-warnings.
9678 (elint-form): Respect elint-ignored-warnings.
9679 (elint-bound-variable, elint-bound-function): New variables.
9680 (elint-unbound-variable): Respect elint-bound-variable.
9681 (elint-get-args): Respect elint-bound-function.
9682 (elint-check-cond-form): Add some simple handling for (f)boundp and
9684 (elint-check-defalias-form): New handler.
9685 (elint-check-let-form): Make an empty let a warning rather than an
9687 (elint-check-setq-form): Make an empty setq a warning rather than an
9688 error. Respect elint-ignored-warnings.
9689 (elint-check-defvar-form): Accept null doc-strings.
9690 (elint-check-conditional-form): New handler. Does some simple-minded
9691 checking of featurep and (f)boundp tests.
9692 (elint-put-function-args): New function.
9693 (elint-initialize): Use elint-scan-doc-file rather than
9694 elint-find-builtin-variables. Use elint-put-function-args.
9695 Possibly scan preloaded-file-list.
9696 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
9697 extend to handle functions as well.
9699 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
9701 * linum.el (linum-delete-overlays, linum-update-window):
9702 Do not modify the right margin. (Bug#3971)
9704 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
9706 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
9707 nxml-mode instead of xml-mode.
9709 2009-09-21 Kevin Ryde <user42@zip.com.au>
9711 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
9713 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
9715 * net/dig.el (dig-mode): Use define-derived-mode.
9717 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
9719 * vc-dispatcher.el (vc-do-command): Return the process object in
9720 the asynchronous case. Use when instead of if. Do not run
9721 vc-exec-after to display a message if not enabled. (Bug#4463)
9723 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
9724 properties to the stash strings.
9725 (vc-git-stash-list): Return a list of strings.
9726 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
9727 (vc-git-stash-show-at-point): New functions.
9728 (vc-git-stash-map): New keymap.
9730 * register.el (ctl-x-r-map): Define the keys here instead of
9733 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
9735 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
9736 list, to workaround performance problem (bug#4485).
9738 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
9740 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
9742 2009-09-20 Daiki Ueno <ueno@unixuser.org>
9744 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
9745 Document that this option is not recommended to use.
9747 2009-09-19 Glenn Morris <rgm@gnu.org>
9749 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
9752 * calc/calc-alg.el (var):
9753 * calc/calcalg2.el (var): Define for compiler.
9755 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
9757 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
9760 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
9762 * time-stamp.el (time-stamp-month-dd-yyyy)
9763 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
9764 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
9765 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
9766 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
9767 Remove functions that have been obsolete since 1995 (Bug#4436).
9769 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
9770 indent buffer only if called interactively (Bug#4452).
9772 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
9773 Eli Zaretskii <eliz@gnu.org>
9775 This fixes bug#4197 (merged to bug#865, though not identical).
9776 * server.el (server-auth-dir): Add docstring note about FAT32.
9777 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
9778 but warn against using them.
9780 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
9782 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
9783 older GDB where there is no has_more field.
9785 2009-09-19 Glenn Morris <rgm@gnu.org>
9787 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
9789 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
9791 * files.el (auto-mode-alist): Change default for XML files to nXML
9794 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
9796 * server.el (server-ensure-safe-dir): Pass 'integer
9797 to `file-attributes', as suggested.
9799 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
9801 * dired-aux.el (dired-query-alist): Remove spurious backslash.
9802 (dired-query): Use read-key.
9804 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
9806 * cus-start.el (ns-use-qd-smoothing): Remove.
9808 2009-09-18 Glenn Morris <rgm@gnu.org>
9810 * allout.el (top-level): Remove unnecessary progn.
9812 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
9814 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
9815 definition of abbrev table.
9817 * speedbar.el (speedbar-track-mouse):
9818 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
9819 * net/eudc.el (eudc-expand-inline):
9820 * net/newst-backend.el (newsticker--cache-read-feed):
9821 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
9822 condition-case handlers.
9824 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
9826 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
9827 (gdb-var-list): Add an element for has_more field.
9828 (gdb-non-stop-handler): Enable pretty printing for STL containers.
9829 (gdb-var-create-handler, gdb-var-list-children-handler-1)
9830 (gdb-var-update-handler-1): Parse output of dynamic variable
9831 objects (STL containers).
9832 (gdb-var-delete-1): Pass var1 as an explicit second argument.
9833 (gdb-get-field): Delete alias. Use bindat-get-field directly.
9835 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
9837 (gud-speedbar-buttons): Make node expandable if expression "has more"
9840 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
9842 * startup.el (emacs-quick-startup): Remove variable and all uses.
9843 (command-line): Set `inhibit-x-resources' instead.
9844 (command-line-1): Use `inhibit-x-resources' instead.
9846 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
9848 * subr.el: Fix last change to avoid using the `unless' macro,
9849 which breaks bootstrapping.
9851 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9853 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
9854 extended definitions, in case we reload subr.el after having
9856 (eval-next-after-load): Mark as obsolete.
9858 2009-09-17 Juri Linkov <juri@jurta.org>
9860 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
9861 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
9862 (menu-bar-showhide-menu, menu-bar-tools-menu)
9863 (menu-bar-describe-menu, menu-bar-help-menu)
9864 (minibuffer-local-completion-map, minibuffer-local-map):
9867 2009-09-17 Glenn Morris <rgm@gnu.org>
9869 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
9870 arguments, whether or not it has a handler.
9872 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
9874 * simple.el (hard-newline): Give it a doc-string.
9876 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
9877 (lisp-mode-syntax-table): Give them doc-strings.
9879 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
9881 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
9882 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
9883 (menu-bar-options-menu, menu-bar-showhide-menu)
9884 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
9885 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
9886 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
9887 (menu-bar-options-menu, menu-bar-tools-menu)
9888 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
9889 (menu-bar-help-menu):
9890 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
9893 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
9894 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
9895 calls for the menu names and :help.
9897 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
9899 * mouse.el (minor-mode-menu-from-indicator): Pay attention
9900 to :minor-mode-function (bug#4455).
9902 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
9904 * startup.el (command-line): Initialize the window-system after
9905 processing the command-line.
9907 * textmodes/page.el (what-page): Make sure we don't inf-loop if
9908 page-delimiter matches the empty string.
9910 2009-09-16 Glenn Morris <rgm@gnu.org>
9912 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
9913 byte-compile-not-obsolete-var. It's a list now.
9914 (byte-compile-not-obsolete-funcs): New variable.
9915 (byte-compile-warn-obsolete): Don't warn about functions if they are in
9916 byte-compile-not-obsolete-funcs.
9917 (byte-compile-variable-ref, byte-compile-defvar): Update for
9918 byte-compile-not-obsolete-vars name-change and list nature.
9919 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
9920 and variables behind (f)boundp tests.
9921 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
9923 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
9925 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
9927 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
9929 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
9930 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
9933 2009-09-15 Stephen Eglen <stephen@gnu.org>
9935 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
9936 the virtual-buffers, use the name of the buffer specified by
9937 find-file-noselect, as the match may be a symlink. (This was a
9938 problem if the target and the symlink had different names.)
9940 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
9942 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
9944 * desktop.el (desktop-path): Check user-emacs-directory.
9946 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
9948 * loadup.el: Use after-load-functions to GC after loading each file.
9949 Remove the explicit GC calls that used to be sprinkled around.
9951 * subr.el (after-load-functions): New hook.
9952 (do-after-load-evaluation): Run it. Use string-match-p to detect
9953 `obsolete' packages, rather than painfully extracting the relevant
9956 2009-09-15 Glenn Morris <rgm@gnu.org>
9958 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
9959 free variable `doc'.
9961 * dired.el (dired-mode-map): Add menu entry for async shell command.
9963 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
9964 variables, also consider the .elc files, since the .el files are
9965 normally gzipped (subsequent code locates the .el.gz from the .elc).
9967 * calc/calc-prog.el (arglist): Define for compiler.
9969 * calendar/diary-lib.el (diary-display-function): Change the default to
9971 (body): Define for compiler.
9973 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
9974 (byte-compile-file-form, byte-compile-lambda)
9975 (byte-compile-top-level-body, byte-compile-form)
9976 (byte-compile-variable-ref, byte-compile-setq)
9977 (byte-compile-setq-default, byte-compile-body)
9978 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
9979 (batch-byte-compile): Give some more local variables with common names
9980 a "bytecomp-" prefix to avoid masking warnings about free variables.
9982 * startup.el (command-line-1): Give local variables with common names a
9983 distinguishing prefix, so as not to hide free variable warnings during
9986 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
9987 clever and add a suffix to make a unique name, just let the user decide
9988 whether or not to overwrite it. If the input is a directory, write the
9989 default filename to that directory. (Bug#4388)
9990 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
9991 is a filename-as-a-directory.
9993 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
9995 * textmodes/page.el (what-page): Don't move to beginning of line.
9996 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
9998 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
10000 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
10002 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
10004 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
10005 * help.el (help-for-help-internal): Add purecopy calls for text.
10007 * vc.el (top): print-log method now takes an optional SHORTLOG
10008 argument. Add a new method: root.
10009 (vc-root-diff, vc-print-root-log): New functions.
10010 (vc-log-short-style): New variable.
10011 (vc-print-log-internal): Add support for showing short logs.
10013 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
10014 vc-print-root-log and vc-print-root-diff.
10016 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
10017 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
10018 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
10021 * vc-cvs.el (vc-cvs-print-log):
10022 * vc-mtn.el (vc-mtn-print-log):
10023 * vc-rcs.el (vc-rcs-print-log):
10024 * vc-sccs.el (vc-sccs-print-log):
10025 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
10026 that is ignored for now.
10028 * vc-mtn.el (vc-mtn-annotate-command):
10029 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
10031 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10033 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
10034 to function-key-map, and give them ascii-character property.
10035 * term/x-win.el (x-alternatives-map):
10036 * term/ns-win.el (ns-alternatives-map):
10037 * term/internal.el (msdos-key-remapping-map):
10038 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
10040 2009-09-14 Glenn Morris <rgm@gnu.org>
10042 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
10043 temp-buffers (2009-09-12).
10045 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
10047 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
10048 the new read-key function.
10050 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
10052 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
10053 is defined (Bug#4405).
10055 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
10057 * recentf.el (recentf-cleanup): Use a hash table to find
10058 duplicates (Bug#4407).
10060 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
10062 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
10063 kp-0 to ascii equivalents (Bug#4325).
10065 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
10067 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
10069 * eshell/em-hist.el:
10070 * eshell/em-dirs.el (eshell-complete-user-reference):
10071 Declare pcomplete functions and variables to avoid compiler warnings.
10073 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
10075 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
10076 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
10077 * eshell/em-alias.el (eshell-aliases-file):
10078 * eshell/em-hist.el (eshell-history-file-name):
10079 Use expand-file-name instead of concat to make file names (Bug#4308).
10081 2009-09-13 Glenn Morris <rgm@gnu.org>
10083 * ediff-merg.el (ediff-do-merge):
10084 * filesets.el (filesets-run-cmd):
10085 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
10086 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
10087 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
10088 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
10089 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
10090 Replace empty `let's with `progn'.
10092 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
10094 * mail/sendmail.el (send-mail-function):
10095 * tooltip.el (tooltip-mode):
10096 * simple.el (transient-mark-mode):
10097 * rfn-eshadow.el (file-name-shadow-mode):
10098 * frame.el (blink-cursor-mode):
10099 * font-core.el (global-font-lock-mode):
10100 * files.el (temporary-file-directory)
10101 (small-temporary-file-directory, auto-save-file-name-transforms):
10102 * epa-hook.el (auto-encryption-mode):
10103 * composite.el (global-auto-composition-mode):
10104 Use custom-initialize-delay.
10105 * startup.el (command-line): Don't explicitly call
10106 custom-reevaluate-setting for all the above vars.
10107 * custom.el (custom-initialize-safe-set)
10108 (custom-initialize-safe-default): Delete.
10110 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10112 * term/x-win.el (x-initialize-window-system):
10113 * term/w32-win.el (w32-initialize-window-system):
10114 * term/ns-win.el (ns-initialize-window-system): Don't call
10115 mouse-wheel-mode since it's enabled globally by default already.
10117 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
10118 actually define the variable, but only silences the byte-compiler.
10119 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
10120 before looking it up.
10121 (mouse-wheel-scroll-amount): Also reset the bindings if this value
10124 2009-09-12 Glenn Morris <rgm@gnu.org>
10126 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
10128 (elint-add-required-env): Don't beep on error.
10129 (elint-forms): In case of error, return ENV unchanged.
10130 (elint-init-env): Skip non-list forms.
10131 (elint-log): Handle unknown file positions.
10133 2009-09-12 Daiki Ueno <ueno@unixuser.org>
10135 * epg.el (epg-make-context): Add autoload cookie.
10136 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
10137 (epg-decrypt-string, epg-start-verify, epg-verify-file)
10138 (epg-verify-string, epg-start-sign, epg-sign-file)
10139 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
10140 (epg-encrypt-string, epg-start-export-keys)
10141 (epg-export-keys-to-file, epg-export-keys-to-string)
10142 (epg-start-import-keys, epg-import-keys-from-file)
10143 (epg-import-keys-from-string, epg-start-receive-keys)
10144 (epg-receive-keys, epg-import-keys-from-server)
10145 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
10146 (epg-sign-keys, epg-start-generate-key)
10147 (epg-generate-key-from-file, epg-generate-key-from-string):
10148 Remove autoload cookie.
10150 2009-09-12 Eli Zaretskii <eliz@gnu.org>
10152 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
10153 reevaluation of trash-directory.
10155 * mwheel.el: Fix last change.
10156 (mouse-wheel-mode): New defvar.
10157 (mouse-wheel-mode): Remove autoload cookie.
10159 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10161 * mwheel.el (mwheel-installed-bindings): New var.
10162 (mouse-wheel-mode): Use it, so as to make sure we really remove all
10163 the bindings we set last time. Use custom-initialize-delay.
10164 * loadup.el: Load mwheel after term/*-win.el.
10165 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
10166 and mouse-wheel-up-event now that their first evaluation is done
10167 sufficiently late to be correct.
10169 * startup.el (tutorial-directory): Make it a defcustom.
10170 Use custom-initialize-delay rather than eval-at-startup to set it.
10171 * image.el (image-load-path): Make it a defcustom.
10172 Use custom-initialize-delay rather than eval-at-startup to set it.
10173 * subr.el (eval-at-startup): Remove.
10174 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
10176 * subr.el (do-after-load-evaluation): Warn the user after loading an
10179 2009-09-12 Glenn Morris <rgm@gnu.org>
10181 * proced.el (proced-mark-alt): Remove alias.
10182 (proced-mode-map): Remove proced-mark-alt.
10184 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
10185 Elint file and directory. Remove initialization entry.
10187 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
10189 (elint-current-buffer): Set mode-line-process.
10190 (elint-init-env): Handle define-derived-mode.
10191 Fix declare-function with unspecified arglist. Guard against odd
10192 defalias statements (eg iso-insert's 8859-1-map).
10193 (elint-add-required-env): Use a temp buffer.
10194 (elint-form): Just print the function/macro name, not the whole form.
10195 Return env unchanged if we fail to parse a macro.
10196 (elint-forms): Guard against parse errors.
10197 (elint-output): New function, to handle batch mode.
10198 (elint-log-message): Add optional argument. Use elint-output.
10199 (elint-set-mode-line): New function.
10201 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
10203 * emacs-lisp/elp.el (elp-not-profilable): Add more
10204 functions (Bug#4233).
10206 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
10208 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
10209 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
10211 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
10213 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
10214 (gdb-var-list-children): Use json parsing.
10216 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
10218 * progmodes/js.el (js--proper-indentation): Handle the case where
10219 char-before is null. Reported by Deniz Dogan.
10221 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
10223 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
10225 2009-09-11 Daiki Ueno <ueno@unixuser.org>
10227 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
10228 (epg-digest-algorithm-alist): Add SHA224.
10229 (epg-context-set-passphrase-callback)
10230 (epg-context-set-progress-callback): Add description about
10233 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
10235 * custom.el (custom-delayed-init-variables): New var.
10236 (custom-initialize-delay): New function.
10237 * startup.el (command-line): "Re"evaluate all vars in
10238 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
10239 explicitly any more.
10240 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
10241 to avoid creating a ~/.emacs.d at build-time (bug#4347).
10243 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
10245 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
10247 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
10248 (gdb-var-update-handler): Use json parsing.
10250 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
10252 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
10253 decode annotated text, regardless of language environment. (Bug#2741)
10255 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
10257 * Makefile.in (autoloads): Make rmail.el writable as well.
10259 2009-09-11 Glenn Morris <rgm@gnu.org>
10261 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
10263 * dired.el: Regenerate with extracted autoloads.
10264 * Makefile.in (autoloads): Make dired.el writable.
10266 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
10267 * ibuffer.el: Regenerate with extracted autoloads.
10268 * Makefile.in (autoloads): Make ibuffer.el writable.
10270 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
10271 * version.el (emacs-copyright, emacs-major-version)
10272 (emacs-minor-version): Reformat doc-strings for make-docfile.
10274 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
10275 functions and variables, since they must be stuff specific to some other
10277 (apropos-print): Make mouse-click message less specific about button.
10279 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
10280 that records where a macro was defined.
10281 * help-fns.el (describe-function-1): Mention if a function has a
10283 * help-mode.el (help-function-cmacro): New button.
10285 * locate.el (top-level): Always require dired.
10286 (locate-mode-map): Initialize inside the defvar.
10288 * net/ange-ftp.el (dired-compress-file): Declare.
10289 (ange-ftp-dired-compress-file): Add doc string.
10291 * term/ns-win.el (x-display-name, x-setup-function-keys):
10292 Unify doc-strings with X versions.
10294 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
10296 * emulation/crisp.el (crisp-mode-map): Move initialization
10298 (crisp-mode): Use define-minor-mode.
10300 * progmodes/xscheme.el (xscheme-evaluation-commands):
10301 Put a :advertised-binding property rather than using
10302 advertised-xscheme-send-previous-expression.
10303 (advertised-xscheme-send-previous-expression): Declare obsolete.
10304 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
10306 (crisp-mode): Add corresponding bindings to
10307 undo's :advertised-binding instead.
10308 * dired.el (dired-mode-map): Put a :advertised-binding property rather
10309 than using dired-advertised-find-file.
10310 (dired-advertised-find-file):
10311 * simple.el (advertised-undo):
10312 * wid-edit.el (advertised-widget-backward): Declare obsolete.
10313 (widget-keymap): Put a :advertised-binding property rather
10314 than using advertised-widget-backward.
10315 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
10316 than using advertised-undo.
10317 * tutorial.el (tutorial--default-keys): Adjust accordingly.
10319 2009-09-10 Simon South <ssouth@slowcomputing.org>
10321 * progmodes/delphi.el (delphi-tab): Indent region when Transient
10322 Mark mode is enabled and region is active; otherwise indent or
10323 insert TAB as usual.
10324 (delphi-mode): Update description of TAB-key binding.
10326 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
10328 * subr.el (define-key-rebound-commands): Mark obsolete.
10329 * startup.el (precompute-menubar-bindings): Remove.
10330 (normal-top-level): Remove obsolete code that tried to precompute
10332 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
10333 define-key-rebound-commands and precompute-menubar-bindings.
10335 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
10337 * net/imap.el (imap-interactive-login): Better messages.
10338 (imap-open): Fix bug with renamed buffer on reconnect.
10339 (imap-authenticate): Add buffer-local imap-last-authenticator variable
10340 for easier debugging and cleaner code. On successful (guessed based on
10341 server capabilities) secondary authentication, set imap-state
10343 (imap-last-authenticator): Define imap-last-authenticator as a variable
10346 2009-09-10 Glenn Morris <rgm@gnu.org>
10348 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
10350 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
10351 (byte-compile-file-form-autoload): Don't warn about unknown functions
10352 where the autoload statement comes after the use.
10353 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
10354 that any handlers inside the body (eg require) are in turn respected.
10356 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
10359 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
10360 and syntax and abbrev tables basic docs, if they don't have any.
10362 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
10364 * international/mule-cmds.el (top-level): Require cl when compiling.
10365 (view-hello-file): Use default-value rather than
10366 default-enable-multibyte-characters.
10368 * progmodes/fortran.el: Move all safe and risky properties into the
10371 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
10372 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
10373 * mail/undigest.el:
10374 Put autoloads in rmail.el rather than loaddefs.el.
10375 * mail/rmail.el: Regenerate with extracted autoloads.
10377 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
10378 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
10380 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
10382 Reported in thread for Bug#4375.
10383 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
10384 "-data-evaluate-expression" instead of print.
10385 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
10386 (gdb-tooltip-print): Parse output from above MI command.
10387 (gdb): Revert 2009-08-11 change. User should detach inferior
10390 Remove the word "separate" from IO functions as inferior
10391 output is now never displayed in the GUD buffer.
10393 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
10395 * startup.el (command-line-normalize-file-name): On Windows and
10396 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
10398 2009-09-10 Juri Linkov <juri@jurta.org>
10400 * isearch.el (isearch-text-char-description): Propertize escape
10401 character sequences with the `escape-glyph' face. (Bug#4344)
10403 * simple.el (shell-command): Set asynchronous process filter to
10404 `comint-output-filter'. (Bug#4343)
10406 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
10407 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
10408 the list. Move "asm" to the bottom.
10409 (grep-find-ignored-directories): Add `choice' with nil value
10410 to empty the list easily.
10411 (grep-find-ignored-files): New option.
10412 (grep-files-history): Set to nil by default instead of '("ch" "el").
10413 (grep-compute-defaults): Add "<X>" to `grep-template'.
10414 (grep-read-files): Bind new local variables `default-alias' and
10415 `default-extension'. Use a list of default values for the file prompt.
10416 (lgrep): Add `--exclude=' command line options composed from
10417 `grep-find-ignored-files'.
10418 (rgrep): Add `-name' command line options composed from
10419 `grep-find-ignored-files'. (Bug#4301)
10421 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
10423 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
10426 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
10428 * calendar/time-date.el (autoload):
10429 Expand define-obsolete-function-alias into defalias and make-obsolete
10430 for old Emacsen that Gnus supports.
10431 (with-no-warnings): Define it for old Emacsen.
10432 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
10434 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
10435 float-time is available; suppress compile warning for time-to-seconds.
10437 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
10439 * net/imap.el (imap-message-map): Docstring fix.
10441 2009-09-09 Glenn Morris <rgm@gnu.org>
10443 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
10444 line numbers too. (Bug#4374)
10446 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
10448 * smerge-mode.el (smerge-remove-props, smerge-refine):
10449 Use with-silent-modifications (bug#4342).
10451 * subr.el (with-silent-modifications): New macro.
10453 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
10455 * files.el (top-level): Require `cl' when compiling.
10457 2009-09-07 Glenn Morris <rgm@gnu.org>
10459 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
10461 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
10462 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
10464 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
10466 * vc-git.el (vc-git-annotate-command): Use separator to parse
10467 arguments correctly.
10469 2009-09-06 Eli Zaretskii <eliz@gnu.org>
10471 * proced.el (proced-mode): Doc fix.
10473 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
10475 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
10477 (tramp-do-file-attributes-with-ls): Check for file existence at
10479 (tramp-do-file-attributes-with-stat): Likewise.
10480 (tramp-convert-file-attributes): Return nil when attr is nil.
10482 2009-09-05 Glenn Morris <rgm@gnu.org>
10484 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
10485 properties to this button.
10486 (diary-fancy-display): Don't extend the button to the final newline.
10487 (diary-fancy-display-mode): Continue to define "q" as a local key.
10489 * calendar/cal-china.el (holiday-chinese): Make it slightly more
10492 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
10494 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
10495 (byte-compile-dest-file-function): New option.
10496 (byte-compile-dest-file): Doc fix.
10497 Obey byte-compile-dest-file-function.
10498 (byte-compile-cl-file-p): New function.
10499 (byte-compile-eval): Only suppress noruntime warnings about cl functions
10500 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
10501 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
10502 than for file being previously loaded.
10503 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
10504 (byte-compile-file-form-require): Handle the case where requiring a file
10505 indirectly causes CL to be loaded.
10507 2009-09-05 Karl Fogel <kfogel@red-bean.com>
10509 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
10510 before killing the old buffer, since by the time `kill-buffer' is
10511 run so many buffer variables have been set to nil that it may not
10512 behave as expected. (Bug#4061)
10514 2009-09-05 Karl Fogel <kfogel@red-bean.com>
10516 * files.el (find-alternate-file): If the old buffer is modified
10517 and visiting a file, behave similarly to `kill-buffer' when
10518 killing it, thus reverting to the pre-1.878 behavior; see
10519 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
10520 for discussion. Also, consult `buffer-file-name' as a variable
10521 not as a function, for consistency with the rest of the code.
10523 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
10525 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
10526 also when adding a new directory.
10528 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
10531 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
10533 * files.el (locate-file-completion-table): Make it provide boundary
10534 information, so partial-completion works better.
10536 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
10538 * mail/footnote.el (Footnote-text-under-cursor):
10539 Check footnote-text-marker-alist before using it (bug#4324).
10541 2009-09-04 Glenn Morris <rgm@gnu.org>
10543 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
10544 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
10545 * play/solitaire.el, play/tetris.el:
10546 Remove leading * from defcustom and defface docs.
10548 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
10550 (diary-fancy-overriding-map): New variable.
10551 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
10554 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
10557 2009-09-03 Glenn Morris <rgm@gnu.org>
10559 * arc-mode.el (archive-mode):
10560 * dos-fns.el (set-default-process-coding-system):
10561 * man.el (Man-getpage-in-background):
10562 * menu-bar.el (menu-bar-describe-menu):
10563 * server.el (server-process-filter):
10564 * startup.el (command-line):
10565 * tar-mode.el (tar-header-block-tokenize, tar-extract):
10566 * w32-fns.el (set-default-process-coding-system):
10567 * x-dnd.el (x-dnd-handle-file-name):
10568 * international/mule-cmds.el (mule-menu-keymap)
10569 (set-default-coding-systems, language-info-alist, set-language-info)
10570 (set-language-environment, standard-display-european-internal)
10571 (set-locale-environment):
10572 * international/mule-diag.el (mule-diag):
10573 * mail/emacsbug.el (report-emacs-bug):
10574 * mail/rmail.el (rmail-mode):
10575 * mail/sendmail.el (mail-setup):
10576 Use default-value rather than default-enable-multibyte-characters.
10578 * progmodes/f90.el: Move all safe properties into the defcustoms.
10579 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
10581 * calendar/appt.el (appt-check):
10582 * calendar/diary-lib.el (diary-set-header, diary-live-p)
10583 (diary-check-diary-file, diary-list-entries)
10584 (diary-include-other-diary-files, diary-simple-display)
10585 (diary-fancy-display, diary-print-entries)
10586 (diary-mark-included-diary-files, diary-make-entry):
10587 Don't call substitute-in-file-name on diary-file.
10589 2009-09-03 Eduard Wiebe <usenet@pusto.de>
10590 Stefan Monnier <monnier@iro.umontreal.ca>
10592 * mail/footnote.el (footnote-prefix): Make it a defcustom.
10593 (footnote-mode-map): Move initialization into the declaration.
10594 (footnote-minor-mode-map): Define it rather than changing global-map.
10595 (footnote-mode): Use define-minor-mode.
10597 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
10599 * net/tramp.el (tramp-handle-file-attributes-with-ls)
10600 (tramp-do-file-attributes-with-perl)
10601 (tramp-do-file-attributes-with-stat): Rename from
10602 `tramp-handle-file-attributes-with-*'.
10603 (tramp-handle-file-attributes): Use them.
10604 (tramp-do-directory-files-and-attributes-with-perl)
10605 (tramp-do-directory-files-and-attributes-with-stat): Rename from
10606 `tramp-handle-directory-files-and-attributes-with-*'.
10607 (tramp-handle-directory-files-and-attributes): Use them.
10608 (tramp-method-out-of-band-p): Additional parameter SIZE.
10609 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
10610 (tramp-handle-write-region): Use it.
10611 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
10612 (tramp-handle-vc-registered): Check, whether the first run did
10613 return files to be tested.
10614 (tramp-advice-make-auto-save-file-name): Do not call directly
10615 `tramp-handle-make-auto-save-file-name', because this would bypass
10616 the locking mechanism.
10618 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
10619 (file-remote-p, process-file, start-file-process, set-file-times)
10620 (tramp-compat-file-attributes): Compatibility functions shall not
10621 call directly `tramp-handle-*', because this would bypass the
10623 (tramp-compat-number-sequence): New defun.
10625 2009-09-02 Glenn Morris <rgm@gnu.org>
10627 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
10628 alias for float-time.
10629 (time-to-number-of-days): In Emacs, use float-time.
10630 * net/newst-backend.el (time-add): Suppress warnings from compat
10632 * time.el (emacs-uptime, emacs-init-time):
10633 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
10634 Use float-time rather than time-to-seconds.
10636 * minibuffer.el (completion-initials-expand): Fix typo.
10638 * faces.el (modeline, modeline-inactive, modeline-highlight)
10639 (modeline-buffer-id):
10640 * info.el (info-menu-5): Mark these face aliases as obsolete.
10642 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
10644 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
10646 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
10647 no "--thread" option.
10648 (gdb-stopped): Don't print "Switched to thread" message when it is
10651 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
10653 * minibuffer.el (completion-try-completion)
10654 (completion-all-completions): Remove ill-defined (and
10655 mistakenly installed and luckily never used nor documented)
10656 `completion-styles' property.
10657 (completion-initials-expand, completion-initials-all-completions)
10658 (completion-initials-try-completion): New functions.
10659 (completion-styles-alist): Add doc to each entry.
10660 Add new `initials' entry.
10662 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
10664 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
10665 MI command -var-evaluate-expression.
10666 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
10667 and tweak for case of string child.
10668 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
10670 2009-09-01 Glenn Morris <rgm@gnu.org>
10672 * add-log.el (change-log-date-face, change-log-name-face)
10673 (change-log-email-face, change-log-file-face, change-log-list-face)
10674 (change-log-conditionals-face, change-log-function-face)
10675 (change-log-acknowledgement-face):
10676 * cus-edit.el (custom-invalid-face, custom-rogue-face)
10677 (custom-modified-face, custom-set-face, custom-changed-face)
10678 (custom-saved-face, custom-button-face, custom-button-pressed-face)
10679 (custom-documentation-face, custom-state-face, custom-comment-face)
10680 (custom-comment-tag-face, custom-variable-tag-face)
10681 (custom-variable-button-face, custom-face-tag-face)
10682 (custom-group-tag-face-1, custom-group-tag-face):
10683 * diff-mode.el (diff-header-face, diff-file-header-face)
10684 (diff-index-face, diff-hunk-header-face, diff-removed-face)
10685 (diff-added-face, diff-changed-face, diff-function-face)
10686 (diff-context-face, diff-nonexistent-face):
10687 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
10688 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
10689 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
10690 (Info-title-4-face):
10691 * isearch.el (isearch-lazy-highlight-face):
10692 * log-view.el (log-view-file-face, log-view-message-face):
10693 * paren.el (show-paren-match-face, show-paren-mismatch-face):
10694 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
10695 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
10697 * smerge-mode.el (smerge-mine-face, smerge-other-face)
10698 (smerge-base-face, smerge-markers-face):
10699 * wid-edit.el (widget-documentation-face, widget-button-face)
10700 (widget-field-face, widget-single-line-field-face)
10701 (widget-inactive-face, widget-button-pressed-face):
10702 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
10703 (woman-addition-face):
10704 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
10705 (eshell-ls-executable-face, eshell-ls-readonly-face)
10706 (eshell-ls-unreadable-face, eshell-ls-special-face)
10707 (eshell-ls-missing-face, eshell-ls-archive-face)
10708 (eshell-ls-backup-face, eshell-ls-product-face)
10709 (eshell-ls-clutter-face):
10710 * eshell/em-prompt.el (eshell-prompt-face):
10711 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
10712 * obsolete/old-whitespace.el (whitespace-highlight-face):
10713 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
10714 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
10715 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
10716 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
10717 (antlr-font-lock-literal-face):
10718 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
10719 (ebrowse-root-class-face, ebrowse-file-name-face)
10720 (ebrowse-default-face, ebrowse-member-attribute-face)
10721 (ebrowse-member-class-face, ebrowse-progress-face):
10722 * progmodes/make-mode.el (makefile-space-face):
10723 * progmodes/sh-script.el (sh-heredoc-face):
10724 * textmodes/flyspell.el (flyspell-incorrect-face)
10725 (flyspell-duplicate-face):
10726 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
10727 * textmodes/texinfo.el (texinfo-heading-face):
10728 Mark face aliases with "-face" suffix as obsolete.
10730 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
10733 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
10734 (eudc-bob-sound-menu): Use defvar rather than defconst, since
10735 easy-menu-define wants to modify these.
10737 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
10739 * net/browse-url.el (browse-url-file-url):
10740 * term/internal.el (dos-codepage-setup):
10741 Use default-value rather than default-enable-multibyte-characters.
10743 * progmodes/etags.el (etags-goto-tag-location):
10744 * progmodes/flymake.el (flymake-highlight-line)
10745 (flymake-goto-file-and-line, flymake-goto-line):
10746 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
10747 (gdb-goto-breakpoint):
10748 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
10749 * progmodes/python.el (python-find-function)
10750 (python-pdbtrack-track-stack-file):
10751 * progmodes/verilog-mode.el (verilog-surelint-off):
10752 * term/ns-win.el (ns-open-file-select-line):
10753 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
10754 Use forward-line rather than goto-line.
10756 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
10757 * textmodes/reftex-index.el (reftex-display-index):
10758 * textmodes/reftex-ref.el (reftex-offer-label-menu):
10759 * textmodes/reftex-toc.el (reftex-toc):
10760 Remove unnecessary bindings of default-major-mode (all are followed by
10761 major-mode check and possible mode switch).
10763 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
10765 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
10766 Handle watchpoints (bug#4282).
10767 (def-gdb-thread-buffer-command): Enable thread to be selected by
10768 clicking without selecting threads buffer first.
10769 (gdb-current-context-command): Use selected frame so that "up",
10770 "down" etc work in the GUD buffer.
10771 (gdb-update): Find selected frame before rendering stack buffer.
10772 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
10774 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
10776 * progmodes/sym-comp.el (displayed-completions): Remove.
10777 (symbol-complete): Use minibuffer-complete.
10779 2009-08-31 Glenn Morris <rgm@gnu.org>
10781 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
10783 * apropos.el (apropos-symbols-internal):
10784 Handle (obsolete) face aliases.
10786 * faces.el (describe-face): Adjust the output format to be more like
10787 describe-variable, and to mention (obsolete) face aliases.
10788 Adjust the whitespace so that help-setup-xref works.
10790 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
10791 * calendar/diary-lib.el (diary-button-face):
10792 Mark these face aliases as obsolete.
10794 * calendar/calendar.el (calendar-today): Doc fix.
10796 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
10798 * progmodes/gdb-mi.el (gdb-control-all-threads)
10799 (gdb-control-current-thread): Force tool bar update.
10800 (gdb-non-stop-handler): New function.
10801 (gdb-init-1): Use it to test if non-stop mode is supported.
10802 Remove unused gdbmi buffer type.
10804 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
10806 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
10807 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
10809 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
10811 * comint.el (comint-exec-1): Check command is non-null first.
10812 Part of gdb-mi.el change (2009-08-28).
10814 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10816 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
10818 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
10820 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
10821 instead of `dolist' to avoid a recursive require when bootstrapping.
10823 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10825 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
10827 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
10829 * net/imap.el (imap-send-command): Simplify.
10830 (imap-wait-for-tag): point-max -> buffer-size.
10832 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
10834 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
10835 with constant argument.
10837 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
10839 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
10841 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
10842 Change default, since most of our files don't have a history.
10843 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
10846 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
10849 * calc/calc.el: Improve commenting convention.
10850 (calc-digit-map, toplevel): Simplify.
10852 * comint.el (comint-insert-input): Be careful to only set point if we
10853 don't delegate to some other command.
10855 * proced.el (proced-signal-list): Make it an alist.
10856 (proced-grammar-alist): Capitalize names.
10857 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
10858 Disable undo manually and make it read-only.
10859 Use completion-annotate-function.
10861 * minibuffer.el (minibuffer-message): If the current buffer is not
10862 a minibuffer, insert the message in the echo area rather than at the
10864 (completion-annotate-function): New variable.
10865 (minibuffer-completion-help): Use it.
10866 (completion--embedded-envvar-table): Environment vars are
10867 always case-sensitive.
10869 2009-08-30 Glenn Morris <rgm@gnu.org>
10871 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
10872 from fortran-current-defun.
10873 (fortran-beginning-of-subprogram): Be more precise about finding the
10874 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
10875 (fortran-end-of-subprogram): Simplify.
10876 (fortran-current-defun): Use fortran-start-prog-re.
10878 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
10880 * subr.el (do-after-load-evaluation): Simplify.
10882 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
10884 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
10886 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
10887 (vc-rcs-print-log): Use it.
10889 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
10891 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
10893 * paths.el (abbrev-file-name): Move to abbrev.el.
10894 * abbrev.el (abbrev-file-name): Move from paths.el.
10895 Obey user-emacs-directory.
10896 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
10897 user-emacs-directory.
10898 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
10899 abbrev-file-name and calc-settings-file any more.
10900 * startup.el (command-line): Recompute abbrev-file-name and
10901 abbreviated-home-dir.
10902 (normal-no-mouse-startup-screen): Improve the generic code and get rid
10903 of the special code for when C-h bindings haven't been changed.
10904 (display-startup-echo-area-message): Use with-current-buffer.
10905 (command-line-1): Use a list of strings, rather than a list of lists
10906 of strings for longopts.
10908 * files.el (get-free-disk-space): Use / for default-directory.
10910 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
10911 Use with-current-buffer.
10913 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
10914 Recognize immutable variables like most-positive-fixnum.
10915 (byte-compile-setq-default): Check and warn if trying to assign
10916 to an immutable variable, or a non-variable.
10918 * progmodes/cc-vars.el (c-comment-continuation-stars):
10919 * progmodes/cc-engine.el (c-looking-at-bos):
10920 * progmodes/cc-cmds.el (c-toggle-auto-state)
10921 (c-forward-into-nomenclature, c-backward-into-nomenclature)
10922 (c-comment-line-break-function): Add version of obsolescence.
10924 2009-08-28 Juri Linkov <juri@jurta.org>
10926 * files.el (magic-fallback-mode-alist): Add ZIP magic number
10927 associated with `archive-mode'.
10929 * image.el (image-type-header-regexps): Use only JPEG magic number
10930 to determine JPEG images, and don't use `image-jpeg-p' because
10931 Emacs can display non-JFIF non-Exif JPEG images.
10933 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
10935 * arc-mode.el (archive-mode):
10936 * emacs-lisp/re-builder.el (re-builder-unload-function):
10937 Protect against the default value of `major-mode' being nil.
10939 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
10941 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
10942 Fix typos in docstrings.
10944 * progmodes/js.el (js--macro-decl-re): Doc fix.
10945 (js--plain-method-re, js--split-name): Refloc docstring.
10946 (js--class-styles, js--make-merged-item, js--splice-into-items):
10947 Fix typos in docstrings; reflow docstrings.
10948 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
10949 (js--variable-decl-matcher, js--inside-pitem-p)
10950 (js--parse-state-at-point, js--get-all-known-symbols)
10951 (js--symbol-history, js-find-symbol, js--js-references)
10952 (js--moz-interactor, js--js-encode-value, js--read-tab):
10953 Fix typos in docstrings.
10955 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10957 * textmodes/reftex.el (reftex-get-file-buffer-force):
10958 * progmodes/verilog-mode.el (verilog-batch-execute-func):
10959 * emulation/viper.el (viper-go-away, viper-set-hooks):
10960 * emacs-lisp/re-builder.el (re-builder-unload-function):
10961 * emacs-lisp/bytecomp.el (byte-compile-file):
10962 * ses.el (ses-unload-function):
10963 * hexl.el (hexl-find-file):
10964 * files.el (normal-mode):
10965 * ehelp.el (with-electric-help):
10966 * autoinsert.el (auto-insert-alist):
10967 * arc-mode.el (archive-mode):
10968 Use (default-value 'major-mode) instead of default-major-mode.
10970 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
10971 * international/mule.el (load-with-code-conversion):
10972 * emacs-lisp/debug.el (debug):
10973 * ediff-vers.el (ediff-rcs-get-output-buffer):
10974 * dired.el (dired-internal-noselect): Don't let-bind
10975 default-major-mode around code that doesn't use it.
10976 E.g. buffer creation via get-buffer-create doesn't use it.
10978 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
10980 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
10981 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
10982 when writing the temp file. Otherwise, epa-file gets confused.
10983 (tramp-register-file-name-handlers): Make it a defun. Move also
10984 `epa-file-handler' to the front of `file-name-handler-alist'.
10986 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
10988 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
10989 start right after a ^M.
10990 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
10991 (tramp-completion-file-name-regexp-separate)
10992 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
10993 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
10994 Don't modify last-coding-system-used by accident.
10995 (tramp-completion-file-name-handler): Apply the checks here,
10996 instead during registration.
10997 (tramp-register-file-name-handlers): Renamed from
10998 `tramp-register-file-name-handler'. Register both
10999 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
11000 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
11002 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
11004 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
11005 Remove variable ...
11006 (gdb-init-1, gdb-display-separate-io-buffer)
11007 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
11009 (gdb-inferior-io-mode): Use make-comint-in-buffer.
11010 (gdb-inferior-filter): Use comint-output-filter to stop
11011 echoing and remove ^M characters.
11013 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
11015 * emulation/viper-init.el (viper-restore-cursor-type):
11016 * emulation/cua-base.el (cua--update-indications):
11017 Replace default-cursor-type with (default-value 'cursor-type).
11019 * mail/sendmail.el (mail-recover-1):
11020 * international/mule-diag.el (describe-current-coding-system-briefly)
11021 (describe-current-coding-system):
11022 * international/mule-cmds.el (select-safe-coding-system)
11023 (select-message-coding-system)
11024 (set-language-environment-coding-systems, set-locale-environment):
11025 * hexl.el (hexl-insert-multibyte-char):
11026 * dos-w32.el (find-buffer-file-type-coding-system):
11027 * simple.el (what-cursor-position):
11028 Replace uses of default-buffer-file-coding-system
11029 with (default-value 'buffer-file-coding-system).
11031 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
11032 Replace uses of default-cursor-in-non-selected-windows
11033 with (default-value 'cursor-in-non-selected-windows).
11034 Use with-current-buffer.
11036 * mail/feedmail.el: Use CL macros.
11037 (feedmail-run-the-queue, feedmail-send-it-immediately):
11038 * dos-w32.el (find-buffer-file-type): Replace uses of
11039 default-buffer-file-type with (default-value 'buffer-file-type).
11041 2009-08-28 Glenn Morris <rgm@gnu.org>
11043 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
11044 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
11045 Use default-value of major-mode rather than default-major-mode.
11047 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
11049 * Makefile.in (update-elcfiles): Report left over elc files.
11051 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
11052 expand-file-name and with-current-buffer.
11053 (mail-get-names, mail-directory): Use with-current-buffer.
11055 * vc.el (vc-read-revision): New function.
11056 (vc-version-diff, vc-merge): Use it.
11058 2009-08-27 Sam Steingold <sds@gnu.org>
11060 * simple.el (kill-do-not-save-duplicates): New user option.
11061 (kill-new): When it is non-nil, and the new string is the same as
11062 the latest kill, set replace to t to avoid duplicates in kill-ring.
11064 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
11066 * net/tramp.el (tramp-handle-process-file): Do not flush all
11067 caches when `process-file-side-effects' is set.
11068 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
11069 instead of `tramp-find-file-exists-command'.
11070 Unset `process-file-side-effects'.
11072 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
11074 * net/tramp.el (tramp-methods): New method "rsyncc".
11075 (top): Add completion function for "rsyncc".
11076 (tramp-message-show-message): New defvar.
11077 (tramp-message, tramp-error): Use it.
11078 (tramp-do-copy-or-rename-file-directly): Extend check for direct
11080 (tramp-do-copy-or-rename-file-out-of-band): Handle new
11081 `tramp-methods' entry `copy-env' of "rsyncc".
11082 (tramp-vc-registered-read-file-names): New defconst.
11083 (tramp-vc-registered-file-names): New defvar.
11084 (tramp-handle-vc-registered): Implement optimization strategy.
11085 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
11086 (tramp-vc-file-name-handler): New defun.
11087 (tramp-get-ls-command, tramp-get-test-command)
11088 (tramp-get-file-exists-command, tramp-get-remote-ln)
11089 (tramp-get-remote-perl, tramp-get-remote-stat)
11090 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
11092 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
11093 (tramp-cache-inhibit-cache): Extend doc string. It allows also
11095 (tramp-get-file-property): Check for timestamps in
11096 `tramp-cache-inhibit-cache'.
11097 (tramp-set-file-property): Write timestamp.
11099 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
11101 * language/japan-util.el (japanese-symbol-table): Add entries for
11104 * international/characters.el: Add category `j' to cp932-2-byte.
11106 2009-08-27 Kenichi Handa <handa@m17n.org>
11108 * international/fontset.el (build-default-fontset-data): New macro.
11109 (setup-default-fontset): Use build-default-fontset-data for CJK,
11110 tibetan, ethiopic, and ipa.
11112 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
11114 * cus-start.el (default-major-mode): Customize `major-mode' instead.
11115 (enable-multibyte-characters): Not customizable any more.
11117 * subr.el (default-mode-line-format, default-header-line-format)
11118 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
11119 (default-direction-reversed, default-truncate-lines)
11120 (default-left-margin, default-tab-width, default-case-fold-search)
11121 (default-left-margin-width, default-right-margin-width)
11122 (default-left-fringe-width, default-right-fringe-width)
11123 (default-fringes-outside-margins, default-scroll-bar-width)
11124 (default-vertical-scroll-bar, default-indicate-empty-lines)
11125 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
11126 (default-fringe-cursor-alist, default-scroll-up-aggressively)
11127 (default-scroll-down-aggressively, default-fill-column)
11128 (default-cursor-type, default-buffer-file-type)
11129 (default-cursor-in-non-selected-windows)
11130 (default-buffer-file-coding-system, default-major-mode)
11131 (default-enable-multibyte-characters): Mark as obsolete.
11133 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
11135 * vc-dir.el (vc-dir-update): Remove debug helper.
11137 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
11139 2009-08-26 Sam Steingold <sds@gnu.org>
11141 * simple.el (save-interprogram-paste-before-kill): New user option.
11142 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
11143 save the interprogram-paste into kill-ring before overriding it
11144 with the Emacs kill.
11146 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
11148 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
11149 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
11150 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
11151 and move to vc-rcs.el.
11152 (vc-default-next-revision): Rename to vc-rcs-next-revision and
11154 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
11155 (vc-rcs-update-changelog): Remove.
11156 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
11157 and move to vc-rcs.el.
11159 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
11160 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
11162 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
11163 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
11164 vc.el, renamed to be RCS specific.
11166 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
11168 (vc-cvs-update-changelog): Move here from vc.el.
11170 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
11173 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
11175 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
11177 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
11179 * vc-git.el (vc-git-register): Use "git add" for directories.
11180 (vc-git-stash, vc-git-stash-show): New functions.
11181 (vc-git-extra-menu-map): Bind them.
11183 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
11184 directory correctly in case the item is a directory itself.
11186 * vc.el: Document the desired behavior for reverted files in the
11188 (vc-default-prettify-state-info): Remove function, unused.
11190 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
11192 2009-08-26 Glenn Morris <rgm@gnu.org>
11194 * bindings.el (standard-mode-line-format): Reposition dashes in
11195 which-func entry. (Bug#4217)
11197 * files.el (enable-local-variables, enable-local-eval)
11198 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
11200 (auto-mode-alist, ignored-local-variables)
11201 (save-some-buffers-action-alist): Move risky declarations to the
11203 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
11204 (font-lock-defaults, format-alist, imenu--index-alist)
11205 (imenu-generic-expression, input-method-alist, minor-mode-alist)
11206 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
11207 (mode-line-modified, mode-line-mule-info, mode-line-position)
11208 (mode-line-process, mode-line-remote, outline-level)
11209 (parse-time-rules, rmail-output-file-alist)
11210 (special-display-buffer-names, vc-mode):
11211 Move risky declarations to the relevant files.
11212 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
11213 (mode-line-modified, mode-line-process, mode-line-position)
11214 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
11215 * font-core.el (font-lock-defaults):
11216 * format.el (format-alist):
11217 * vc-hooks.el (vc-mode):
11218 * window.el (special-display-buffer-names):
11219 * international/mule-cmds.el (input-method-alist):
11220 Define riskiness here (dumped file) rather than in files.el.
11221 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
11222 * imenu.el (imenu-generic-expression, imenu--index-alist):
11223 * outline.el (outline-level):
11224 * time.el (display-time-string):
11225 * calendar/parse-time.el (parse-time-rules):
11226 * mail/rmailout.el (rmail-output-file-alist):
11227 Autoload riskiness here, rather than placing in files.el.
11229 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
11231 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
11233 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
11235 * simple.el (process-file-side-effects): New defvar.
11237 * dired-aux.el (dired-show-file-type):
11238 * vc.el (vc-diff-internal):
11239 * vc-arch.el (vc-arch-diff):
11240 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
11241 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
11242 * vc-git.el (vc-git-registered, vc-git-working-revision)
11243 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
11244 (vc-git--empty-db-p):
11245 * vc-hooks.el (vc-user-login-name):
11246 * vc-svn.el (vc-svn-registered, vc-svn-state)
11247 (vc-svn-dir-extra-headers, vc-svn-find-revision):
11248 * progmodes/grep.el (grep-probe): Let-bind
11249 `process-file-side-effects' with nil.
11251 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
11253 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
11254 daemon. Replace ping by checking for running service for bluez
11255 and zeroconf. (Bug#4239)
11257 2009-08-25 Kevin Ryde <user42@zip.com.au>
11259 * net/dig.el (dig): Add autoload cookie.
11261 2009-08-25 Glenn Morris <rgm@gnu.org>
11263 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
11264 load-history for absolute file-names.
11265 (byte-compile-file-form-require): Warn about use of the cl package.
11267 * format.el (format-alist): Doc fix.
11269 * play/bubbles.el (top-level): Don't require cl at run-time.
11271 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
11274 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
11276 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
11278 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
11280 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
11282 * calc/calc-alg.el (math-trig-rewrite)
11283 (math-hyperbolic-trig-rewrite): New functions.
11284 (calc-simplify): Simplify trig functions when asked.
11286 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
11288 * diff-mode.el (diff-find-source-location): Avoid goto-line.
11290 2009-08-24 Kenichi Handa <handa@m17n.org>
11292 * language/ind-util.el (mapthread): Delete it.
11293 (combinatorial): New function.
11294 (indian--puthash-cv): Use combinatorial instead of mapthread.
11296 2009-08-22 Kevin Ryde <user42@zip.com.au>
11298 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
11299 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
11300 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
11301 Clarify docstring that the value is strings not symbols.
11302 (checkdoc-list-of-strings-p): New function.
11304 2009-08-22 Glenn Morris <rgm@gnu.org>
11306 * files.el (auto-mode-alist):
11307 * hippie-exp.el (he-concat-directory-file-name):
11308 * lpr.el (lpr-windows-system, printer-name):
11309 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
11310 * ps-print.el (ps-windows-system):
11311 * startup.el (command-line):
11312 * emulation/viper-ex.el (viper-glob-function):
11313 * international/mule-cmds.el (set-language-environment-coding-systems):
11314 * net/ange-ftp.el (ange-ftp-write-region):
11315 * obsolete/fast-lock.el (fast-lock-cache-name):
11316 Remove code for defunct system-types emx, macos, mswindows, next-mach,
11317 unisoft-unix, vax-vms, win32, w32.
11319 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
11320 given name if the pattern is not more specific.
11322 * calendar/lunar.el (lunar-phase-names): New option.
11323 (lunar-phase): Doc fix.
11324 (lunar-cycles-per-year): New constant.
11325 (lunar-index): New function.
11326 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
11327 (lunar-phase-name): Use lunar-phase-names.
11328 (calendar-lunar-phases): Use format.
11329 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
11331 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
11332 Copy imenu-example--name-and-position function here for own use.
11333 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
11335 * bs.el (bs--redisplay):
11336 * cus-edit.el (custom-redraw):
11337 * ibuffer.el (ibuffer-bury-buffer):
11338 * server.el (server-goto-line-column):
11339 * startup.el (command-line-1):
11340 * strokes.el (strokes-xpm-for-stroke):
11341 * term.el (term-display-buffer-line):
11342 * view.el (View-goto-line):
11343 * calc/calc.el (calc-do, calc-trail-buffer):
11344 * play/gamegrid.el (gamegrid-add-score-insecure):
11345 * progmodes/ada-mode.el (ada-compile-goto-error):
11346 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
11347 (ebrowse-select-1st-to-9nth):
11348 * progmodes/cperl-mode.el (cperl-time-fontification):
11349 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
11350 * progmodes/gud.el (gud-display-line):
11351 (idlwave-shell-display-line):
11352 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
11353 * progmodes/make-mode.el (makefile-browser-toggle):
11354 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
11355 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
11356 * textmodes/picture.el (picture-draw-rectangle):
11357 * textmodes/reftex-index.el (reftex-index-goto-letter):
11358 (reftex-select-jump-to-previous):
11359 * textmodes/reftex-sel.el (reftex-find-start-point)
11360 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
11361 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
11362 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
11363 * textmodes/tex-mode.el (tex-compilation-parse-errors):
11364 * textmodes/two-column.el (2C-associated-buffer):
11365 Use forward-line rather than goto-line.
11367 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
11370 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
11371 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
11372 (quick-check-list-to-regexp): Declare.
11374 * progmodes/make-mode.el (makefile-browser-insert-selection):
11375 Use goto-char rather than goto-line.
11377 * progmodes/prolog.el (compilation-error-regexp-alist)
11378 (compilation-forget-errors): Declare.
11380 2009-08-22 Juri Linkov <juri@jurta.org>
11382 * progmodes/grep.el (lgrep, rgrep): At the beginning
11383 set `dir' to `default-directory' unless `dir' is a non-nil
11384 readable directory. (Bug#4052)
11385 (lgrep, rgrep): Change a weird way to report an error
11386 from using `read-string' to using `error'.
11387 Instead of using interactive arguments in the function body,
11388 add new argument `confirm'.
11390 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
11392 * textmodes/remember.el (remember-buffer):
11393 * progmodes/cperl-mode.el (cperl-vc-header-alist):
11394 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
11395 (icalendar-extract-ical-from-buffer):
11396 * net/newst-treeview.el (newsticker-groups-filename):
11397 * net/newst-backend.el (newsticker-cache-filename):
11398 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
11399 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
11400 (speedbar-add-ignored-path-regexp, speedbar-line-path)
11401 (speedbar-buffers-line-path, speedbar-path-line)
11402 (speedbar-buffers-line-path):
11403 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
11405 * epa.el (epa-display-verify-result):
11406 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
11408 2009-08-21 Glenn Morris <rgm@gnu.org>
11410 * progmodes/js.el (inferior-moz-process): Fix declaration.
11412 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
11414 * obsolete/rnewspost.el (news-mail-reply):
11415 Use goto-char rather than goto-line.
11417 * term/ns-win.el (ns-open-file-select-line):
11418 Use line-beginning-position rather than goto-line.
11420 * apropos.el (apropos-command):
11421 * ehelp.el (electric-helpify):
11422 * printing.el (pr-show-setup):
11423 * strokes.el (strokes-help):
11424 * tutorial.el (tutorial--describe-nonstandard-key)
11425 (tutorial--detailed-help):
11426 * woman.el (woman-mini-help, woman-display-extended-fonts):
11427 * calc/calc-help.el (calc-describe-key):
11428 * emulation/edt.el (edt-electric-helpify):
11429 * international/mule-diag.el (mule-diag):
11430 * play/yow.el (apropos-zippy):
11431 * progmodes/python.el (python-describe-symbol):
11432 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
11433 * textmodes/table.el (*table--cell-describe-mode)
11434 (*table--cell-describe-bindings):
11435 Use help-print-return-message rather than the now obsolete alias.
11437 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
11438 (calendar-cursor-to-visible-date):
11439 * play/5x5.el (5x5-position-cursor):
11440 * play/decipher.el (decipher):
11441 * play/gomoku.el (gomoku-goto-xy):
11442 * play/landmark.el (lm-goto-xy):
11443 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
11444 (mpuz-paint-digit):
11445 Use forward-line, not goto-line.
11447 * mail/rmail.el (rmail-obsolete): Delete custom group.
11448 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
11449 (rmail-remote-password, rmail-remote-password-required):
11450 Remove unneeded :set-after and :set properties.
11452 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
11454 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
11456 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
11458 * loadup.el: Remove leftover macos code.
11460 * vc-git.el (vc-git-annotate-command): Run asynchronously.
11461 Explicitly pass the date format to git blame so that user local
11462 so that the output format can be parsed.
11464 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
11466 * net/dbus.el (top): Don't check for (getenv
11467 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
11469 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
11471 * log-edit.el (log-edit-strip-single-file-name): New var.
11472 (log-edit-insert-changelog): Use it. Bug#3571
11474 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
11476 * subr.el (read-passwd): Use read-key so keypad keys work as well.
11479 * help.el (help-print-return-message): Rename from
11480 print-help-return-message.
11482 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
11483 cvs-mode-map parent hack.
11484 (log-view-mode): Derive from special-mode.
11486 * linum.el (linum-mode): window-size-change-functions is redundant.
11487 Adapt to new window-configuration-change-hook behavior.
11488 (linum-after-size, linum-after-config): Remove.
11490 * imenu.el (imenu-example--name-and-position)
11491 (imenu-example--lisp-extract-index-name)
11492 (imenu-example--create-lisp-index, imenu-example--create-c-index):
11495 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
11496 (inferior-prolog-mode): Use it.
11497 (inferior-prolog-load-file): Reset list of errors.
11499 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
11501 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
11503 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
11505 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
11507 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
11508 is running already.
11510 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
11512 * subr.el (listify-key-sequence-1): Use normal syntax since those
11513 integers are nowadays always represented by the same (positive) number
11515 (read-key-empty-map): New const.
11516 (read-key-delay): New var.
11517 (read-key): New function.
11518 (force-mode-line-update): Use with-current-buffer.
11519 (locate-user-emacs-file): Don't forget to abbreviate the file name.
11520 (start-process-shell-command, start-file-process-shell-command):
11521 Discourage the use of command-args.
11523 2009-08-19 Glenn Morris <rgm@gnu.org>
11525 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
11527 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
11529 * simple.el (choose-completion-string): Don't rely on
11530 minibuffer-completing-file-name and ad-hoc checks to decide whether
11531 to continue completion or not.
11533 * minibuffer.el (minibuffer-hide-completions): New function.
11534 (completion--do-completion): Use it.
11535 (completions-annotations): New face.
11536 (completion--insert-strings): Use it.
11537 (completion-pcm--delim-wild-regex): Add docstring.
11538 (completion-pcm--string->pattern): Add support for 0-width delimiters
11539 in completion-pcm--delim-wild-regex.
11541 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
11543 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
11544 Remove unused var `buffer-modified-p'.
11546 * minibuffer.el (completion--do-completion): Move point for the #b001
11547 case as well (bug#4176).
11548 (minibuffer-complete, minibuffer-complete-word): Don't move point.
11550 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
11552 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
11553 and :session buses.
11555 2009-08-18 Kenichi Handa <handa@m17n.org>
11557 * international/ucs-normalize.el (ucs-normalize-version):
11559 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
11560 (utf-8-hfs): Make it perform normalization on encoding too.
11562 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
11563 (sentence-end-without-space): Delete duplicated chars.
11564 (sentence-end-base): Likewise.
11566 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
11567 (html-mode): Delete duplicated chars from sentence-end-base.
11569 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
11570 (texinfo-mode): Delete duplicated chars from sentence-end-base.
11572 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
11574 * files.el (hack-one-local-variable): If the mode function is for
11575 a minor mode, pass it an argument (Bug#4148).
11577 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
11579 * net/tramp.el (tramp-register-completion-file-name-handler):
11580 Check also for (member 'partial-completion completion-styles).
11582 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
11584 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
11587 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
11589 * progmodes/cperl-mode.el: Merge upstream 6.2.
11590 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
11591 (cperl-forward-re): Check cperl-brace-recursing.
11592 (cperl-highlight-charclass): New function.
11593 (cperl-find-pods-heres): Use it.
11594 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
11595 (cperl-beautify-regexp-piece): Fix column calculation.
11596 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
11597 (cperl-beautify-level): Don't process entire regexp.
11598 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
11600 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
11601 (cperl-init-faces): Build a list in the normal way.
11603 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
11605 * calendar/parse-time.el (parse-time-string-chars): Save match
11608 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
11610 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
11611 (sql-product): Use it.
11612 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
11613 (sql-set-product): Add completion.
11614 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
11615 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
11616 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
11617 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
11618 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
11619 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
11620 (sql-highlight-db2-keywords): Remove.
11621 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
11622 (sql-highlight-product): Use derived-mode-p.
11623 (sql-set-sqli-buffer): Use with-current-buffer.
11624 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
11627 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
11629 * term.el: Fix commenting convention, turn comments into docstrings.
11631 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
11633 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
11635 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
11637 * calendar/parse-time.el (parse-time-string-chars): Compute using
11638 character classes, to handle non-ascii characters (Bug#3190).
11640 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
11642 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
11643 another heredoc if the user adds another < (Bug#3226).
11645 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
11646 Don't initialize based on window-system (Bug#4124).
11648 * facemenu.el (facemenu-read-color): Use a completion function
11649 that accepts any defined color, such as RGB triplets (Bug#3677).
11651 * files.el (get-free-disk-space): Change fallback default
11652 directory to /. Expand DIR argument before switching to fallback.
11653 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
11655 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
11657 * files.el (load-library): Doc fix.
11659 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
11661 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
11662 (viper-if-string): Redefine C-s in the minibuffer to insert the last
11663 incremental search string.
11665 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
11668 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
11669 (ediff-merge-region-is-non-clash)
11670 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
11671 Also check if the job is really a merge job.
11673 * ediff.el (ediff-current-file): New function.
11675 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
11677 * progmodes/js.el: Edit docstrings throughout to follow Emacs
11679 (js-insert-and-indent): Delete function.
11680 (js-mode-map): Don't bind keys to js-insert-and-indent.
11681 (js-beginning-of-defun): Rename from js--beginning-of-defun.
11682 (js-end-of-defun): Rename from js--end-of-defun.
11683 (js-auto-indent-flag): Delete variable.
11685 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
11687 * progmodes/js.el: Remove proclaim statement.
11688 Defvar which-func-imenu-joiner-function to silence compiler.
11690 * files.el (auto-mode-alist): Use js-mode for .js files.
11692 * progmodes/js2-mode.el: Remove file.
11694 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
11696 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
11698 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
11700 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
11701 Karl Landstrom <karl.landstrom@brgeight.se>
11703 * progmodes/js.el: New file.
11705 2009-08-14 Mark A. Hershberger <mah@everybody.org>
11707 * timezone.el (timezone-parse-date): Add ability to understand ISO
11708 basic format (minimal separators) dates in addition to the
11709 already-supported extended format dates.
11711 2009-08-14 Eli Zaretskii <eliz@gnu.org>
11713 * international/ucs-normalize.el: Add a `coding' file variable.
11715 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
11717 2009-08-14 Sam Steingold <sds@gnu.org>
11719 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
11721 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
11723 * faces.el (help-argument-name): Define it here instead of
11724 help-fns.el, because in daemon mode help-fns.el may be loaded when
11725 faces are still uninitialized (Bug#1078).
11727 * help-fns.el (help-argument-name): Move defface to faces.el.
11729 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
11731 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
11732 create buffer with a pty but no process so that GDB can make the
11733 inferior the controlling process.
11735 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
11737 * international/ucs-normalize.el: New file.
11739 2009-08-13 Richard Stallman <rms@gnu.org>
11741 * mail/rmail.el (rmail-get-attr-names):
11742 Accept an attribute header that is too short.
11744 * mail/rmail.el (rmail-forget-messages):
11745 Ignore nil elt in rmail-message-vector. Use dotimes.
11747 * progmodes/compile.el (compilation-goto-locus):
11748 Use next-error-move-function.
11750 * simple.el (next-error-move-function): New variable.
11752 2009-08-12 Juri Linkov <juri@jurta.org>
11754 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
11755 always non-nil. (Bug#4052)
11757 * replace.el (read-regexp): Return empty string when
11758 `default-value' is nil.
11759 (keep-lines-read-args): Don't use empty string as the
11760 default value for `read-regexp'. (Bug#2495)
11762 2009-08-12 Juri Linkov <juri@jurta.org>
11764 * international/mule-cmds.el (ucs-insert): Change arguments
11765 from `arg' to `character', `count', `inherit' to be the same
11766 as in `insert-char'. Doc fix. (Bug#4039)
11768 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
11770 2009-08-12 Juri Linkov <juri@jurta.org>
11772 * files-x.el: New file.
11774 * files.el: Move code that deals with adding/deleting
11775 file/directory-local variables to files-x.el.
11777 * Makefile.in (ELCFILES): Add files-x.elc.
11779 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
11781 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
11782 to use `goto-line'.
11783 (gdb-place-breakpoints, gdb-get-location): Rewritten without
11785 (gdb-invalidate-disassembly): Do not refresh upon receiving
11786 'update signal. Instead, update all disassembly buffers only after
11788 (gdb): Send -target-detach when buffer is killed (Bug#3794).
11789 (gdb-starting): Moved -data-list-register-names...
11790 (gdb-stopped): ...here so it's sent when first thread stops.
11791 (gdb-registers-handler-custom): Do nothing if register names are
11794 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
11795 from `gdb-mi.el' to avoid extra tangling.
11797 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
11798 change which breaks `gud-def' definitions used in `gdb'.
11799 (gdb-update-gud-running): No extra fuss for updating frame number.
11801 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
11803 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
11804 (describe-language-environment-map, setup-language-environment-map)
11805 (set-coding-system-map): Move initialization into declaration.
11806 (set-language-info-alist): Last arg to define-key-after can be skipped.
11808 * international/quail.el (quail-completion-1): Simplify.
11809 (quail-define-rules): Use slightly more compact code.
11810 (quail-insert-decode-map): Propertize keys, compact columns.
11812 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11815 2009-08-10 Miles Bader <miles@gnu.org>
11817 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
11818 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
11819 (js2-instance-member, js2-private-member, js2-private-function-call)
11820 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
11821 (js2-magic-paren, js2-external-variable):
11822 Remove "-face" suffix from face names.
11823 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
11824 (js2-highlight-undeclared-vars, js2-peek-token)
11825 (js2-parse-function-params, js2-mode-show-errors)
11826 (js2-mode-show-warnings, js2-make-magic-delimiter)
11827 (js2-mode-highlight-magic-parens): Update to use new face names.
11829 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
11831 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
11832 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
11834 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
11836 * subr.el: Provide hashtable-print-readable.
11838 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
11839 hs-c-like-adjust-block-beginning.
11840 (hs-hide-block-at-point): Stop hiding at the beginning of
11841 hs-block-end-regexp (Bug#700).
11843 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
11845 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
11847 (gdb-registers-handler-custom): Do not fail when register names
11850 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
11852 * progmodes/gdb-mi.el (gdb-control-all-threads)
11853 (gdb-control-current-thread): Interactive setters for
11854 `gdb-gud-control-all-threads' to use in menu.
11855 (gdb-show-run-p): Show «Go» when process is not active.
11856 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
11857 gud/thread.xpm and gud/all.xpm.
11859 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
11861 * net/net-utils.el (net-utils-font-lock-keywords): New var.
11862 (nslookup-font-lock-keywords): Make it a variable.
11863 (net-utils-mode): New mode for viewing diagnostic network output.
11864 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
11865 (net-utils-run-simple): New function.
11866 (ifconfig, iwconfig, netstat, arp, route): Use it.
11868 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
11870 * progmodes/gdb-mi.el (gdb-read-memory-custom)
11871 (gdb-memory-set-address, def-gdb-set-positive-number)
11872 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
11873 after changing settings.
11874 (gdb-invalidate-disassembly): Update when first shown.
11875 (gdb-edit-locals-value): Fixed.
11876 (gdb-registers-handler-custom): Print registers in right order and
11877 allow changing register values (only for current thread yet).
11878 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
11879 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
11880 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
11881 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
11883 (gdb-registers-mode-map): TAB to switch to locals.
11885 2009-08-08 Eli Zaretskii <eliz@gnu.org>
11887 * mail/rmail.el (rmail-add-mbox-headers)
11888 (rmail-set-message-counters-counter): Search for
11889 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
11891 2009-08-08 Glenn Morris <rgm@gnu.org>
11893 * Makefile.in (ELCFILES): Update.
11895 2009-08-07 Eli Zaretskii <eliz@gnu.org>
11897 * mail/sendmail.el (mail-yank-original): Set
11898 buffer-file-coding-system from the one used by the message whose
11901 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
11902 to "windows" when "pgnuplot" is used.
11903 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
11904 call accept-process-output if "pgnuplot" is used.
11905 (calc-graph-init): Don't send -display and -geometry to
11906 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
11907 running "pgnuplot -V" with shell-command-to-string.
11909 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
11912 2009-08-07 Eli Zaretskii <eliz@gnu.org>
11914 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
11917 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
11919 * vc-dispatcher.el (vc-resynch-window): Update comment.
11921 * term.el (term-handle-ansi-escape): Add comments with the
11922 terminfo capabilities implemented.
11924 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
11926 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
11927 (gdb-var-create-handler): Rewritten using JSON parser.
11928 (gdb-propertize-header): Moved earlier.
11929 (gdb-set-header): Removed to avoid duplication.
11930 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
11931 Refresh disassembly buffers only after threads list have been
11933 (gdb-threads-header, gdb-registers-header): Per-buffer header line
11936 2009-08-04 Juri Linkov <juri@jurta.org>
11938 * files.el: Commands to add/delete file/directory-local variables.
11939 (read-file-local-variable, read-file-local-variable-value)
11940 (read-file-local-variable-mode, modify-file-local-variable)
11941 (modify-file-local-variable-prop-line)
11942 (modify-dir-local-variable): New functions.
11943 (add-file-local-variable, delete-file-local-variable)
11944 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
11945 (add-dir-local-variable, delete-dir-local-variable)
11946 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
11947 (copy-dir-locals-to-file-locals-prop-line): New commands.
11949 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
11951 * abbrev.el (insert-abbrev-table-description): Prettify output.
11952 Suggested by Karl Chen.
11954 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
11956 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
11957 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
11958 (gdb-overlay-arrow-position, gdb-thread-position)
11959 (gdb-disassembly-position): Declare variables.
11960 (gdb-wait-for-pending): Function now.
11961 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
11962 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
11963 compilation goes smoothly.
11964 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
11965 (gdb-non-stop-setting): New customization setting which replaces
11966 `gdb-non-stop' so changing it doesn't break active GDB session.
11967 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
11968 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
11969 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
11970 (gdb-show-threads-by-default): New customization options.
11971 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
11973 (gdb-get-buffer-create): Send buffers update signal when they are
11975 (gdb-invalidate-locals, gdb-invalidate-registers)
11976 (gdb-invalidate-breakpoints)
11977 (gdb-invalidate-threads, gdb-invalidate-disassembly)
11978 (gdb-invalidate-memory): Accept update signal.
11979 (gdb-current-context-command): Use --frame option.
11980 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
11981 Implement `gdb-frame-number' selection logic.
11982 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
11983 whether to show GUD toolbar buttons.
11984 (gdb-thread-exited): Unselect current thread when it exits.
11985 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
11986 (gdb-mark-line): Routine which sets overlay arrow or inverses
11987 video on fringeless displays.
11988 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
11989 to build aligned columns of data in GDB buffers and set text
11990 properties line-by-line.
11991 (gdb-invalidate-breakpoints)
11992 (gdb-breakpoints-list-handler-custom)
11993 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
11994 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
11995 (gdb-registers-handler-custom): Align data columns.
11996 (gdb-locals-handler-custom): Now prints data like in variable
11998 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
11999 Removed confusing buttons.
12000 (gdb-invalidate-threads): Append --frame.
12001 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
12002 between breakpoints/threads buffers.
12003 (gdb-set-window-buffer): Now can ignore dedicated windows.
12004 (gdb-propertize-header): Use `gdb-set-window-buffer'.
12005 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
12006 (def-gdb-thread-buffer-gud-command): Replaces
12007 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
12008 for fine thread control.
12009 (gdb-preempt-existing-or-display-buffer): New function used to
12010 display bound buffers without breaking window layout.
12011 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
12012 (gdb-select-frame): New version of `gdb-frames-select' which now
12013 sets `gdb-frame-number' so commands may use --frame option instead
12014 of inner debugger state.
12015 (gdb-frame-handler): Do not set `gdb-frame-number'.
12016 (gdb-threads-mode-map): Select threads with mouse.
12018 * progmodes/gud.el (gdb-gud-context-call): Declare function to
12019 avoid compilation warning.
12020 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
12023 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
12024 Argument `key' renamed to `buffer-type'.
12025 (gdb-current-context-buffer-name): Do not add thread info to
12026 buffer name when no thread is selected.
12027 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
12028 command (bug 3794).
12029 (gdb-thread-selected): Handle `=thread-selected' notification.
12030 (gdb-wait-for-pending): New macro to deal with congestion problems.
12031 (gdb-breakpoints-list-handler-custom): Don't fail on pending
12033 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
12034 This fixes problem similar to one described in bug 3947.
12035 (gud-menu-map): More menu items.
12036 (gdb-init-1): Reset `gdb-thread-number' to nil.
12038 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
12041 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
12042 (gdb-current-context-command): Do not append --thread if
12043 `gdb-thread-number' is nil.
12044 (gdb-running-threads-count, gdb-stopped-threads-count): New
12046 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
12047 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
12048 customization options.
12049 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
12051 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
12052 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
12053 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
12054 set `gdb-thread-number' and update `gud-running' properly.
12055 (gdb-running): Update threads list when new threads appear.
12056 (gdb-stopped): Support non-stop operation and new thread switching
12058 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
12059 (gdb-json-partial-output): New set of JSON routines.
12060 (def-gdb-auto-update-trigger): New `signal-list' optional
12062 (gdb-thread-list-handler-custom): Update `gud-running',
12063 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
12064 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
12065 (gdb-continue-thread, gdb-step-thread): New commands for fine
12066 thread execution control.
12067 (gud-menu-map): New menu items to switch non-stop options.
12068 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
12069 (gdb-send): Mimic RET properly (bug 3794).
12071 * progmodes/gdb-mi.el (gdb-rules-name-maker)
12072 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
12074 (def-gdb-auto-update-handler): New nopreserve optional argument.
12075 (gdb-stack-list-frames-custom): Print stack from top to bottom.
12077 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
12078 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
12079 (gdb-parent-mode): New mode to derive other GDB modes from.
12080 (gdb-display-disassembly-for-thread)
12081 (gdb-frame-disassembly-for-thread): New commands for threads
12084 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
12085 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
12086 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
12087 (gdb-update): We now store all GDB buffers in a list so that they
12088 can be updated by traversing a list instead of calling invalidate
12089 triggers explicitly.
12090 (def-gdb-trigger-and-handler): New macro to define trigger-handler
12091 pair for GDB buffer.
12092 (gdb-stack-buffer-name): Add thread information.
12093 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
12094 handle pending triggers.
12095 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
12096 (def-gdb-thread-buffer-simple-command)
12097 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
12098 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
12099 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
12100 New commands which show buffers bound to thread.
12101 (gdb-stack-list-locals-regexp): Removed unused regexp.
12103 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
12104 (gdb-locals-buffer-name, gdb-registers-buffer-name)
12105 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
12106 to (gud-comint-buffer) in *-buffer-name functions
12107 because (gdb-get-target-string) already does that.
12108 (gdb-locals-handler-custom, gdb-registers-handler-custom)
12109 (gdb-changed-registers-handler): Rewritten without regexps.
12111 * progmodes/gdb-mi.el: Basic thread selection support.
12112 (gdb-thread-number): New variable.
12113 (gdb-current-context-command): New macro which adds --thread
12115 (gdb-threads-mode-map): Select thread with SPC.
12116 (gdb-thread-list-handler-custom): Mark current thread with overlay
12117 arrow. Synchronize GDB thread and Emacs thread.
12118 (gdb-select-thread): New command which selects current thread.
12119 (gdb-invalidate-frames, gdb-invalidate-locals)
12120 (gdb-invalidate-registers): Use --thread option.
12122 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
12124 * net/tramp.el (top): Make check for tramp-gvfs loading more
12126 (tramp-handle-insert-file-contents): `unwind-protect' must be
12127 inside `with-parsed-tramp-file-name'.
12129 * net/tramp-gvfs.el (top): Remove superfluous message when loading
12132 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
12134 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
12135 directory if CLASSPATH is not set.
12137 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
12139 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
12141 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
12143 2009-08-02 Kevin Ryde <user42@zip.com.au>
12145 * net/newst-backend.el (newsticker--raw-url-list-defaults):
12146 Update freshmeat link. Delete newsforge.com as it seems gone.
12148 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
12150 * select.el (x-set-selection): Doc fix (Bug#4021).
12152 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
12154 * help-fns.el (describe-variable): Treat list return values from
12155 dir-locals-find-file properly (Bug#4005).
12157 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
12159 * net/tramp.el (tramp-debug-message): Print also microseconds.
12161 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
12163 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
12165 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
12166 (tramp-get-debug-buffer): Change `outline-regexp' according to new
12169 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
12170 (tramp-get-file-property): Use it.
12172 * autorevert.el (auto-revert-handler): Allow
12173 `auto-revert-tail-mode' for remote files.
12175 2009-08-02 Jason Rumney <jasonr@gnu.org>
12177 * minibuffer.el (read-file-name): Treat confirm options to
12178 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
12180 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
12182 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
12183 (font-lock-variable-name-face, font-lock-constant-face): Darken
12184 the colors for light backgrounds.
12186 2009-08-01 Eli Zaretskii <eliz@gnu.org>
12188 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
12189 month names. (Bug#3987)
12191 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
12193 * simple.el (line-move-finish): Pass whole number to
12194 line-move-to-column.
12195 (line-move-visual): Perform hscroll to the recorded position.
12197 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
12199 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
12201 2009-07-29 Alan Mackenzie <acm@muc.de>
12203 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
12205 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
12207 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
12208 (gdb-place-breakpoints): Use full path when setting breakpoints.
12210 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
12212 * calc/calc.el (calc-mode-map): Add keybinding for
12213 `calc-transpose-lines'.
12215 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
12217 * calc/calc-misc.el (calc-transpose-lines): New function.
12219 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
12221 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
12222 Simplify check for out-of-band methods.
12223 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
12224 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
12226 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
12228 * vc-git.el (vc-git-checkin): Fix typo.
12230 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
12232 * progmodes/js2-mode.el: New file.
12234 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
12236 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
12237 (gud-menu-map): Adjust tooltip accordingly.
12239 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
12241 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
12242 (vc-bzr-log-view-mode): Adjust log-view-file-re.
12244 * add-log.el (change-log-mode-map): Add a menu.
12246 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
12248 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
12249 function returns nil.
12250 (dbus-handle-event): Handle special return value :ignore.
12251 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
12253 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
12255 * view.el (view-mode-enable): Don't define Helper-return-blurb if
12258 2009-07-25 Eli Zaretskii <eliz@gnu.org>
12262 * w32-vars.el (x-select-enable-clipboard): Doc fix.
12264 * term/pc-win.el (x-display-name, x-colors)
12265 (x-select-enable-clipboard, x-select-text): Doc fix.
12267 * term/common-win.el (x-display-name, x-colors): Doc fix.
12269 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
12270 (xw-defined-colors): Doc fix.
12272 * w32-fns.el (x-select-text, x-setup-function-keys)
12273 (x-get-selection, x-set-selection): Doc fix.
12275 * term/x-win.el (x-select-text, x-setup-function-keys)
12276 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
12278 * select.el (x-set-selection): Doc fix.
12280 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
12282 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
12283 instead of "IsNSSSupportAvailable". Avahi ought to work also when
12284 "IsNSSSupportAvailable" method is not available. Reported by
12285 Steve Youngs <steve@sxemacs.org>.
12287 2009-07-24 Kenichi Handa <handa@m17n.org>
12289 * international/characters.el: Fix setting of category ?C, ?|, ?K,
12290 and ?H. Fix setting of case for Latin Extended and Greek Extended.
12291 (build-unicode-category-table): Fix range checks.
12293 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
12295 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
12296 the buffer we try to sync is current when calling
12299 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
12300 not show up to date files.
12302 2009-07-24 Glenn Morris <rgm@gnu.org>
12304 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
12305 Add autoload cookies. If necessary, initialize.
12306 (elint-log): Handle non-file buffers.
12307 (elint-initialize): Add optional argument to reinitialize.
12308 (elint-find-builtin-variables): Save excursion.
12310 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
12312 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
12315 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
12317 * vc.el (vc-print-log-internal): New function, split out from ...
12318 (vc-print-log): ... here.
12319 (vc-dir-move-to-goal-column): Declare.
12321 * vc-git.el (vc-git-add-signoff): New variable.
12322 (vc-git-checkin): Use it.
12323 (vc-git-toggle-signoff): New function.
12324 (vc-git-extra-menu-map): Bind it to menu.
12325 (vc-git--run-command-string): Accept a nil FILE argument.
12326 (vc-git-stash-list): New function.
12327 (vc-git-dir-extra-headers): Use it.
12329 2009-07-23 Glenn Morris <rgm@gnu.org>
12331 * help-fns.el (describe-variable): Describe ignored and risky local
12332 variables in a similar way to that in which we describe safe ones.
12334 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
12335 (byte-compile-output-file-form, byte-compile-output-docform)
12336 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
12337 Give some more local variables with common names a "bytecomp-" prefix,
12338 so as not to shadow things during compilation.
12339 * emacs-lisp/cl-macs.el (load-time-value)
12340 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
12341 `outbuffer' to `bytecomp-outbuffer'.
12343 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
12344 since the next two variables cover them automatically now.
12345 (elint-builtin-variables, elint-autoloaded-variables): New.
12346 (elint-unknown-builtin-args): Remove all members, since they can be
12347 parsed automatically now.
12348 (elint-extra-errors): New.
12349 (elint-env-add-env, elint-env-add-macro): Use cadr.
12350 (elint-current-buffer): Use or. Change final message.
12351 (elint-get-top-forms): Use line-end-position.
12352 (elint-init-env): Use cadr. Handle autoload, declare-function,
12354 (elint-add-required-env): Doc fix. Use or. Standardize error.
12355 (regexp-assoc): Remove unused function.
12356 (elint-top-form): Set elint-current-pos, to record the start of the
12357 top-level form, for compilation-mode.
12358 (elint-form): Trap errors in macro expansion. Use dolist.
12359 (elint-unbound-variable): Use elint-builtin-variables and
12360 elint-autoloaded-variables.
12361 (elint-get-args): Use cadr, or.
12362 (elint-check-cond-form): Use dolist, cadr.
12363 (elint-check-condition-case-form): Doc fix. Use cadr.
12364 Use elint-extra-errors.
12365 (elint-log): New function.
12366 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
12367 Distinguish errors and warnings.
12368 (elint-log-message): Use with-current-buffer. Inhibit read-only.
12369 Use a bytecomp-style format.
12370 (elint-clear-log): Preserve default-directory. Inhibit read-only.
12371 (elint-get-log-buffer): Use compilation mode. Disable undo.
12372 Don't truncate lines.
12373 (elint-initialize): Set builtin and autoloaded variable lists.
12374 Only process elint-unknown-builtin-args if non-nil.
12375 (elint-find-builtin-variables, elint-find-autoloaded-variables):
12377 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
12379 2009-07-22 Kevin Ryde <user42@zip.com.au>
12381 * net/newst-backend.el (newsticker--parse-atom-1.0)
12382 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
12383 (newsticker--parse-rss-1.0):
12384 * progmodes/idlwave.el (idlwave-mode):
12385 * progmodes/idlw-shell.el (idlwave-shell-mode):
12386 * progmodes/vera-mode.el (vera-mode):
12387 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
12388 * progmodes/vhdl-mode.el (vhdl-mode):
12389 * textmodes/table.el (table-generate-source)
12390 (table--warn-incompatibility):
12391 Hyperlink urls in docstrings with URL `...'.
12393 2009-07-22 Glenn Morris <rgm@gnu.org>
12395 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
12396 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
12397 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
12398 Remove leading * from defcustom docs.
12400 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
12402 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
12404 (list-load-path-shadows): Optionally, just return shadows as a string.
12406 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
12408 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
12410 * mail/rmailedit.el (rmail-edit-mode): Use
12411 auto-save-include-big-deletions.
12413 * mail/rmail.el (rmail-variables): Use
12414 auto-save-include-big-deletions.
12416 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
12419 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
12421 * calc/calc.el (calc-undo-length): New variable.
12422 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
12424 2009-07-21 Richard Stallman <rms@gnu.org>
12426 * files.el (auto-save-mode): Handle buffer-save-size = -2
12429 2009-07-21 Glenn Morris <rgm@gnu.org>
12431 * textmodes/ispell.el (ispell-looking-back): Update declaration.
12433 * calendar/todo-mode.el (calendar-current-date): Update declaration.
12435 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
12436 silence compiler. Instead...
12437 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
12438 (ps-print-ensure-fontified): Update for above function name changes.
12440 * printing.el (pr-mh-get-msg-num, pr-mh-show)
12441 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
12442 silence compiler. Instead...
12443 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
12444 (mh-show-buffer): Only define for compiler.
12445 (pr-mh-current-message): Update for above function name changes.
12447 * files.el (abort-if-file-too-large): Explicitly pass `filename'
12449 (find-file-noselect, insert-file-1): Update for above change.
12451 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
12453 * mail/mailclient.el (mailclient-send-it): Fix message.
12455 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
12456 (edebug-eval): Check cl-debug-env is bound.
12457 (print-level, print-circle): Don't redefine built-in variables.
12459 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
12460 (custom-print-vectors): Remove old comments from doc.
12462 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
12463 (emerge-version): Make the variable an obsolete alias for the
12464 emacs-version variable. Make the function obsolete.
12465 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
12466 Emerge options, rather than merging in into the main Options menu.
12467 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
12468 and auto advance modes. Disable edit/fast items when not relevant.
12470 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
12472 * term/vt420.el (terminal-init-vt420): Fix typo.
12474 2009-07-20 Sam Steingold <sds@gnu.org>
12476 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
12477 variable (removed from compile.el on 2004-03-11).
12479 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
12481 * files.el (hack-local-variables-filter): Fix last change.
12483 2009-07-19 Juri Linkov <juri@jurta.org>
12485 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
12486 (dir-local-variables-alist): New buffer-local variable.
12487 (hack-local-variables-filter): If variable is not dir-local,
12488 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
12489 because file-local overrides dir-local.
12490 (c-postprocess-file-styles) <declare-function>:
12491 Remove obsolete declaration.
12492 (hack-dir-local-variables): Add dir-local variable/value pair to
12493 `dir-local-variables-alist' and remove duplicates. Doc fix.
12495 * help-fns.el (describe-variable): Add information about
12496 file-local and dir-local variables.
12498 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
12500 * files.el (hack-local-variables-filter): Rewrite.
12502 2009-07-19 Glenn Morris <rgm@gnu.org>
12504 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
12505 Silence compiler by only defining on XEmacs.
12507 * international/mule.el (auto-coding-regexp-alist): Only match
12508 BABYL... at the start of buffer, not of lines. (Bug#3790)
12510 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
12511 non-calendar buffers (Bug#3862). Restore "not on a date" message.
12512 (cal-menu-context-mouse-menu): Doc fix.
12514 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
12516 * simple.el (mail-user-agent): Doc fix. Set :version tag.
12518 2009-07-18 Juri Linkov <juri@jurta.org>
12520 * info.el: Virtual Info keyword finder.
12521 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
12522 (Info-finder-file): New variable.
12523 (Info-finder-find-file): New function.
12524 (finder-known-keywords, finder-package-info)
12525 (find-library-name, lm-commentary): Use defvar and
12526 declare-function to silence compiler warnings.
12527 (Info-finder-find-node): New function.
12528 (info-finder): New command.
12530 * subr.el (process-kill-buffer-query-function): New function.
12531 (add-hook)<kill-buffer-query-functions>: Add hook
12532 `process-kill-buffer-query-function'.
12534 2009-07-18 Alan Mackenzie <acm@muc.de>
12536 * progmodes/cc-mode.el (c-before-hack-hook)
12537 (c-postprocess-file-styles): Give invocation of `c-set-style'
12538 DONT-OVERRIDE parameter of t. Already set style variables will
12539 thus not be overridden by style settings given by `c-file-syle'.
12541 * files.el (hack-local-variables-filter): Remove entries with
12542 duplicate keys from `file-local-variables-alist'.
12544 2009-07-18 Eli Zaretskii <eliz@gnu.org>
12546 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
12547 x-set-selection if display-selections-p returns nil for the
12550 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
12552 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
12554 2009-07-18 Eli Zaretskii <eliz@gnu.org>
12556 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
12557 Accept nil in addition to a regexp.
12558 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
12559 Accept nil in addition to a regexp.
12560 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
12561 buffers that have an associated file. Handle nil values of
12562 desktop-buffers-not-to-save and desktop-files-not-to-save.
12565 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
12566 (x-disown-selection-internal): New functions.
12568 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
12570 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
12572 (gdb-breakpoints-header): Move forward to avoid compiler warning.
12573 (gdb-make-header-line-mouse-map): Remove duplicate definition.
12575 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
12577 * simple.el (set-mark): Revert last change.
12579 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
12581 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
12582 rendering of pngs is not possible instead of messaging a long
12585 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
12587 * w32-fns.el (x-selection-owner-p): New function.
12589 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
12590 (mouse-yank-at-click, mouse-yank-primary): If
12591 select-active-regions is non-nil, deactivate the mark before
12594 * simple.el (deactivate-mark, set-mark): Only save selection if we
12597 2009-07-17 Kenichi Handa <handa@m17n.org>
12599 * case-table.el (describe-buffer-case-table): Fix for the case
12600 that KEY is a cons.
12602 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
12604 * vc-rcs.el (vc-rcs-find-file-hook):
12605 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
12607 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
12609 * net/tramp.el (tramp-wait-for-output): Handle the case when
12610 commands do not return a newline but a null byte before the shell
12613 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12615 * term/ns-win.el (ns-set-alpha): Don't declare.
12616 (ns-set-background-alpha): Remove function.
12618 2009-07-16 Kevin Ryde <user42@zip.com.au>
12620 * emacs-lisp/copyright.el (copyright-update): Save match-data across
12621 y-or-n-p, for safety.
12623 2009-07-16 Richard Stallman <rms@gnu.org>
12625 * files.el (auto-save-mode): If buffer-saved-size is -2,
12628 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
12629 (rmail-retry-ignored-headers): Add more uninteresting fields.
12631 2009-07-15 Jari Aalto <jari.aalto@cante.net>
12633 * net/rcirc.el (rcirc): Use history variables.
12634 (rcirc-server-name-history, rcirc-nick-name-history)
12635 (rcirc-server-port-history): New variables.
12637 2009-07-15 Kenichi Handa <handa@m17n.org>
12639 * international/mule-cmds.el (set-language-environment-charset):
12640 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
12643 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
12644 Delete unibyte-display.
12646 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
12648 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
12650 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
12652 * simple.el (deactivate-mark): Optional argument FORCE.
12653 (set-mark): Use deactivate-mark.
12655 * info.el (Info-search): No need to check transient-mark-mode
12656 before calling deactivate-mark.
12658 * select.el (x-set-selection): Doc fix.
12659 (x-valid-simple-selection-p): Allow buffer values.
12660 (xselect--selection-bounds): Handle buffer values. Suggested by
12661 David De La Harpe Golden.
12663 * mouse.el (mouse-set-region, mouse-drag-track): Call
12664 copy-region-as-kill before setting the mark, to let
12665 select-active-regions work.
12667 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
12669 * simple.el (deactivate-mark): If select-active-regions is
12670 non-nil, copy the selection data into a string.
12671 (activate-mark): If select-active-regions is non-nil, set the
12672 selection to the current buffer.
12673 (set-mark): Update selection if select-active-regions is non-nil.
12675 * select.el (x-valid-simple-selection-p): Allow buffer values.
12677 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
12679 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
12680 and more featureful message-mode.
12682 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
12684 * select.el (x-set-selection): Doc fix.
12685 (x-valid-simple-selection-p): Disallow selection data consisting
12686 of a list or cons of integers, since that is not used.
12687 (xselect--selection-bounds, xselect--int-to-cons): New functions.
12688 (xselect-convert-to-string, xselect-convert-to-length)
12689 (xselect-convert-to-filename, xselect-convert-to-charpos)
12690 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
12692 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
12694 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
12695 output in -break-info command (Emacs bug #3794).
12697 2009-07-14 Glenn Morris <rgm@gnu.org>
12699 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
12700 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
12701 (edebug-print-length, edebug-print-level, edebug-print-circle)
12702 (edebug-sit-for-seconds, edebug-view-outside)
12703 (edebug-bounce-point, edebug-set-global-break-condition)
12704 (edebug-Go-nonstop-mode, edebug-trace-mode)
12705 (edebug-Trace-fast-mode, edebug-continue-mode)
12706 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
12707 (edebug-visit-eval-list): Doc fixes.
12709 * subr.el (def-edebug-spec): Doc fix.
12711 2009-07-14 Kenichi Handa <handa@m17n.org>
12713 * international/characters.el: Fix setting of category ?C.
12715 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
12717 * term/ns-win.el (x-select-font): defalias x-select-font to
12718 ns-popup-font-panel instead of generate-fontset-menu.
12720 2009-07-12 Eli Zaretskii <eliz@gnu.org>
12722 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
12724 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
12726 * arc-mode.el (archive-find-type): Allow for a PK00 string before
12727 the PK\003\004 header (Bug#3770).
12729 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
12731 * pcomplete.el (pcomplete-comint-setup): Check for
12732 shell-dynamic-complete-filename too.
12734 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
12736 * simple.el (temporary-goal-column): Change the value for
12737 line-move-visual to a cons cell.
12738 (line-move-visual): Record or set the window hscroll, if
12739 necessary (Bug#3494).
12740 (line-move-1): Handle cons value of temporary-goal-column.
12742 2009-07-11 Kenichi Handa <handa@m17n.org>
12744 * international/mule-diag.el (describe-character-set): Don't show
12747 2009-07-10 Sam Steingold <sds@gnu.org>
12749 * progmodes/compile.el (compilation-mode-font-lock-keywords):
12750 Omake sometimes indents the errors it prints, so allow all
12751 regexps to start with spaces.
12753 2009-07-10 Eli Zaretskii <eliz@gnu.org>
12755 * cus-edit.el (customize-changed-options-previous-release):
12756 Bump value to 22.1. (Bug#3804)
12758 2009-07-08 Sam Steingold <sds@gnu.org>
12760 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
12761 to be a cons cell (test . ignored-directory) to selectively ignore
12762 some directories depending on the location of the search.
12764 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
12766 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
12767 remote user is root, on the local host.
12768 (tramp-local-host-p): Either the local user or the remote user
12769 must be root. (Bug#3771)
12771 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
12773 * progmodes/gdb-mi.el (gdb): Remove description of
12774 gdb-use-separate-io-buffer.
12775 (menu): Don't allow toggling of or enable
12776 gdb-use-separate-io-buffer from menubar.
12778 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
12780 * mail/unrmail.el (unrmail): Make sure the message ends with two
12781 newlines (Bug#3769).
12783 2009-07-08 Glenn Morris <rgm@gnu.org>
12785 * calendar/calendar.el (calendar-current-date): Rework previous change.
12787 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
12789 * calendar/calendar.el (calendar-current-date):
12790 Add an optional argument giving an offset from today.
12792 2009-07-08 Glenn Morris <rgm@gnu.org>
12794 * tutorial.el (tutorial--describe-nonstandard-key):
12795 Adjust the message for when a key has been unbound.
12796 (help-with-tutorial): Hide the arch-tag.
12798 2009-07-08 Kenichi Handa <handa@m17n.org>
12800 * international/fontset.el (setup-default-fontset): For each
12801 script, append (not set) font-specs.
12803 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
12806 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
12808 * progmodes/gdb-mi.el (gdb-init-1): Move sending
12809 -data-list-register-names to ...
12810 (gdb-starting): ... here because GDB 7.0 requires execution to
12811 have started when using this MI command.
12812 (gdb-set-header): New function to distinguish select and
12813 unselected tabs in gdb buffers.
12814 (gdb-propertize-header): New macro that uses gdb-set-header.
12815 (gdb-breakpoints-header, gdb-locals-header): Use it.
12816 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
12818 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
12820 * Makefile.in (ELCFILES): Remove fadr.elc.
12822 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
12824 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
12825 may contain frame information, so `string-match' should be used.
12826 (gdb-update): Disassembly is invalidated through
12827 `gdb-get-selected-frame'.
12828 (gdb-pad-string): New function to pad string with spaces.
12829 (gdb-invalidate-disassembly): Invalidate only if the buffer
12831 (gdb-disassembly-handler-custom): Column alignment.
12832 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
12834 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
12836 (gdb-frame-handler): Match convention to for disassembly buffer
12838 (gdb-stack-list-frames-handler): Rewritten without regexps.
12839 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
12840 not highlight breakpoints without line information.
12841 (gdb-input): Add trailing newline to command.
12843 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
12845 (gdb-breakpoints-list-handler-custom): Replacement for
12846 `gdb-break-list-handler'. Using real parser instead of regexps
12848 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
12849 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
12850 to place breakpoints.
12851 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
12853 (gdb-disassembly-handler-custom): Show overlay arrow.
12854 (gdb-disassembly-place-breakpoints): Show breakpoints in
12855 disassembly buffer.
12856 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
12857 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
12858 instead of parsing breakpoints buffer. Fixed old menu references
12863 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
12864 (gdb-memory-address): New variable which holds top address of
12865 memory page shown in memory buffer.
12866 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
12867 customization variables.
12869 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
12870 display the memory buffer.
12871 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
12872 buffer display parameters.
12873 (def-gdb-memory-format, gdb-memory-format-binary)
12874 (gdb-memory-format-octal, gdb-memory-format-unsigned)
12875 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
12876 Functions for setting memory buffer format.
12877 (gdb-memory-unit-word, gdb-memory-unit-halfword)
12878 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
12879 unit size used in memory buffer.
12880 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
12881 to next/previous page of memory buffer.
12882 Now using (bindat-get-field) instead of fadr functions.
12884 2009-07-07 Sam Steingold <sds@gnu.org>
12886 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
12887 non-top-level files.
12889 2009-07-07 Kenichi Handa <handa@m17n.org>
12891 * international/mule-cmds.el (reset-language-environment): Put
12892 the highset priority to the charset iso-8859-1.
12894 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
12896 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
12897 to the end of the line when locating the block (Bug#700).
12899 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
12901 * net/tramp.el (tramp-handle-write-region): Flush file properties
12902 in case of short track.
12904 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
12906 * progmodes/verilog-mode.el (verilog-error-regexp-emacs-alist):
12907 Coded custom representation of verilog error regular expressions
12908 to work with Emacs-22's new format.
12909 (verilog-error-regexp-xemacs-alist): Coded custom representation
12910 of verilog error regular expressions to work with XEmacs format.
12911 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
12912 error recognition into XEmacs.
12913 (verilog-error-regexp-add-emacs): Hook routine to install verilog
12914 error recognition into Emacs-22.
12916 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
12918 * woman.el: Remove stand-alone closing parentheses.
12919 (woman-file-name, woman2-format-paragraphs)
12920 (woman-leave-blank-lines): Code cleanup.
12921 (woman-use-own-frame): Change default to nil.
12922 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
12923 defaults to inherit from default faces.
12924 (woman2-process-escapes): Consume the newline after a stand-alone
12925 filler character (Bug#3651).
12927 2009-07-06 Glenn Morris <rgm@gnu.org>
12929 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
12930 (top-level): Move provide to the end.
12931 (ffap): Remove defunct URL from custom group.
12933 * subr.el (eval-after-load): Doc fix.
12935 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
12937 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
12938 `calc-embedded-word' is called twice.
12940 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12942 * files.el (find-alternate-file-other-window, find-alternate-file):
12943 Obey confirm-nonexistent-file-or-buffer.
12945 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
12947 * dired-aux.el (dired-show-file-type): Handle remote files.
12949 2009-07-05 Jari Aalto <jari.aalto@cante.net>
12951 * desktop.el (desktop-globals-to-save):
12952 Add file-name-history (Bug#2750).
12954 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
12956 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
12958 2009-07-04 Johan Bockgård <bojohan@gnu.org>
12960 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
12961 property on entire argument since this is what eshell-lisp-command
12964 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
12966 * net/tramp-gvfs.el (tramp-gvfs-methods)
12967 (tramp-gvfs-zeroconf-domain)
12968 (tramp-bluez-discover-devices-timeout): Add version flag.
12969 (tramp-gvfs-handler-mounted-unmounted)
12970 (tramp-gvfs-connection-mounted-p): Polish handling of
12971 incompatibilities between GVFS 0.2 and 1.0.
12973 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
12975 * cus-start.el (all): Add make-pointer-invisible.
12977 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
12979 * calc/calc-math.el (math-use-emacs-fn): Make sure that the number is
12980 formatted correctly.
12982 2009-07-02 Juri Linkov <juri@jurta.org>
12984 * info.el: Virtual Info files and nodes.
12985 (Info-virtual-files, Info-virtual-nodes): New variables.
12986 (Info-current-node-virtual): New variable.
12987 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
12989 (Info-file-supports-index-cookies): Use Info-virtual-file-p
12990 to check for a virtual file instead of checking a fixed list
12992 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
12993 instead of ad-hoc processing of "dir" and (apropos history toc).
12994 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
12995 instead of ad-hoc processing of "dir" and (apropos history toc).
12996 Reread a file when moving from a virtual node.
12997 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
12998 (Info-directory-toc-nodes, Info-directory-find-file)
12999 (Info-directory-find-node): New functions.
13000 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
13001 (Info-history): Move part of code to
13002 `Info-history-find-node'.
13003 (Info-history-toc-nodes, Info-history-find-file)
13004 (Info-history-find-node): New functions.
13005 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
13006 (Info-toc): Move part of code to `Info-toc-find-node'.
13007 (Info-toc-find-node): New function.
13008 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
13009 the current Info file name to references because now the node
13010 "*TOC*" belongs to the same Info manual.
13011 (Info-toc-build): Rename from `Info-build-toc'.
13012 (Info-toc-nodes): Rename input argument `file' to `filename'.
13013 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
13014 instead of ad-hoc processing of ("dir" apropos history toc).
13015 (Info-index-nodes): Use Info-virtual-file-p
13016 to check for a virtual file instead of checking a fixed list
13018 (Info-index-node): Add check for `Info-current-node-virtual'.
13019 Raise `save-match-data' higher up the tree to contain
13020 `search-forward' too (bug fix).
13021 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
13022 (Info-virtual-index-nodes): New variable.
13023 (Info-virtual-index-find-node, Info-virtual-index): New functions.
13024 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
13025 (Info-apropos-file, Info-apropos-nodes): New variables.
13026 (Info-apropos-toc-nodes, Info-apropos-find-file)
13027 (Info-apropos-find-node, Info-apropos-matches): New functions.
13028 (info-apropos): Move part of code to `Info-apropos-find-node' and
13029 `Info-apropos-matches'.
13030 (Info-mode-map): Bind "I" to `Info-virtual-index'.
13031 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
13032 for a virtual file instead of checking a fixed list of node names.
13034 * simple.el (async-shell-command): New command.
13036 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
13038 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
13039 instead of `mount-info'.
13041 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
13043 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
13044 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
13046 2009-07-02 Kenichi Handa <handa@m17n.org>
13048 * international/mule.el (set-keyboard-coding-system): Force *-unix
13049 coding-system to avoid eol conversion.
13051 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
13053 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
13054 Add handler for `process-file', `shell-command' and
13055 `start-file-process'.
13056 (tramp-gvfs-handle-shell-command)
13057 (tramp-gvfs-handle-start-file-process)
13058 (tramp-gvfs-handle-process-file): New defuns.
13059 (tramp-synce-list-devices): Simplify check for existence of property.
13061 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
13063 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
13065 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
13067 * language/korean.el (set-language-info-alist): Add korean-cp949,
13070 2009-07-01 Kenichi Handa <handa@m17n.org>
13072 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
13074 * international/encoded-kb.el: Deleted.
13076 * international/mule.el (set-keyboard-coding-system): Perform the
13077 necessary setup here instead of calling encoded-kbd-setup-display.
13079 2009-07-01 Glenn Morris <rgm@gnu.org>
13081 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
13083 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
13085 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
13087 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
13089 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
13090 Handle also the 'rename case, when setting file modes. (Bug#3712)
13091 (tramp-default-file-modes): Remove execute permissions.
13093 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
13094 (top): Add a default for "synce" in `tramp-default-user-alist'.
13095 Add completion function for "synce" method.
13096 (tramp-hal-service, tramp-hal-path-manager)
13097 (tramp-hal-interface-manager, tramp-hal-interface-device):
13099 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
13100 (tramp-synce-list-devices, tramp-synce-parse-device-names):
13103 * net/trampver.el: Update release number.
13105 2009-06-30 Kenichi Handa <handa@m17n.org>
13107 * international/fontset.el (setup-default-fontset): Add CJK fonts
13108 for symbols and the other miscellaneous characters.
13110 * language/korea-util.el (setup-korean-environment-internal):
13111 Make char-width-table suitable for Korean environments.
13112 (exit-korean-environment): Cancel above.
13114 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
13115 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
13116 setup-function to make char-width-table suitable for respective
13117 environments, and an exit-function to cancel that.
13119 * language/japan-util.el (setup-japanese-environment-internal):
13120 Call use-cjk-char-width-table with arg `ja_JP'.
13122 * international/characters.el (cjk-char-width-table): Delete it.
13123 (cjk-char-width-table-list): New variable.
13124 (use-cjk-char-width-table): New arg local-name.
13125 (use-default-char-width-table): Fix for the case that Emacs is
13126 already using the default char-width-table.
13128 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
13130 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
13131 modes mandatory. (Bug#3712)
13133 2009-06-29 Alan Mackenzie <acm@muc.de>
13135 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
13136 correction between the visible width of TABs and their number of bytes.
13138 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
13140 * server.el (server-buffer-done): Prevent kill-buffer from
13141 prompting by clearing the buffer modification flag (Bug#3696).
13143 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
13145 * progmodes/verilog-mode.el (verilog-beg-of-statement)
13146 (verilog-endcomment-reason-re): Support unique case and priority case.
13147 (verilog-basic-complete-re): Support localparam lineup.
13148 (verilog-beg-of-statement-1): Fix for robustness, unique case.
13149 (verilog-set-auto-endcomments): Fix for unique case, always_comb
13151 (verilog-leap-to-case-head): Now support *nested* unique &
13152 priority case statements.
13153 (verilog-auto-lineup): Make just declarations the default (as it
13155 (verilog-leap-to-case-head): Support priority/unique case statements.
13156 (verilog-auto-lineup): Rework to give users radio buttons to
13157 select the various styles of automatic lineup.
13158 (verilog-error-regexp-alist): Rework to support the XEmacs style
13159 of error regular expressions from compilers, lint tools &
13160 simulators. Note that GNU Emacs has made it impossible for a mode
13161 to load such things.
13162 (electric-verilog-terminate-line, verilog-indent-declaration)
13163 (verilog-auto-wiure): Rework for radio button selection of
13164 auto-lineup selection of specification of auto lineup.
13165 (verilog-beg-of-statement-1): Redesign to support proper operation
13166 in additional code, based on testing with auto-lineup.
13167 (verilog-calculate-indent, assignments & declarations)
13168 (verilog-backward-token): Enhance to support auto-lineup of
13169 assignments & declarations.
13170 (verilog-in-directive-p, verilog-at-struct-p): New function for
13171 easy test of whether we are.
13172 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
13173 to support safe execution at almost anyline.
13174 (verilog-calc-1): Properly support indenting deep inside generate
13176 (verilog-init-font): Remove definition & use of verilog-init-font,
13177 as it is redundant with font-lock-defaults.
13178 (verilog-mode): Alter the definition of verilog-font-lock-defaults
13179 to avoid circular calls if syntax-ppss is a function (as is the
13180 case now in 22.x GNU Emacs) as that function would sometimes call
13181 itself, leading to (nearly) infinite recursion.
13182 (verilog-ovm-begin-re, verilog-ovm-end-re)
13183 (verilog-ovm-statement-re, verilog-leap-to-head)
13184 (verilog-backward-token): Add support for OVM macros. Some are
13185 complete statements, and others open and close scopes like begin
13187 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
13188 (verilog-defun-level-generate-only-re): Really fix the defun-list
13190 (verilog-calc-1, verilog-beg-of-statement): Enhance support for
13191 coverpoint, constraint and cross statements.
13192 (verilog-defun-level-list, verilog-generate-defun-level-list)
13193 (verilog-all-defun-level-list): Redo these specifications - it is
13194 too hard to support eval-when compile aggregation of lists also
13195 built at when-compile time.
13196 (verilog-defun-level-list): Place defconsts of variables used in
13197 building regular expressions which are built in eval-when-compile
13198 bodies in the same eval-when-compile body to facilitate compile
13200 (verilog-beg-block-re-ordered): Support indenting
13201 virtual/protected tasks and functions.
13202 (verilog-defun-level-list, verilog-in-generate-region-p)
13203 (verilog-backward-ws&directives, verilog-calc-1): Speed up
13204 indentation of some module items (generate items).
13205 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
13206 across virtual/protected tasks and functions.
13208 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
13210 * progmodes/verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
13211 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
13212 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
13213 in concatenations. Reported by Yishay Belkind.
13214 (verilog-auto-ascii-enum): Support one-hot state machines in
13215 AUTOASCIIENUM. Suggested by Lloyd Gomez.
13216 (verilog-auto-inst, verilog-auto-inst-port): Include interface
13217 modport in AUTOINST and add vl-modport for users. Reported by
13219 (verilog-auto-inout-module, verilog-auto-inst)
13220 (verilog-decls-get-interfaces, verilog-insert-definition)
13221 (verilog-insert-one-definition, verilog-read-decls)
13222 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
13223 (verilog-sig-modport, verilog-signals-combine-bus)
13224 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
13225 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
13226 Suggested by David Rogoff.
13227 (verilog-repair-open-comma): Fix non-insertion of comma when
13228 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
13229 (verilog-make-width-expression): Simplify [A-1:0] expression
13230 widths to just {A{1'b0}}.
13231 (verilog-mode): Cleanup checkdoc warnings.
13232 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
13233 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
13234 inputs/outputs or data type. Suggested by Vasu Kandadi.
13235 (next-error-last-buffer): Fix byte-compiler warning.
13236 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
13237 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
13238 or shell command text during AUTO expansion. Suggested by Tad Truex.
13239 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
13240 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
13241 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
13242 in AUTOINOUT. Reported by Matthew Lovell.
13243 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
13244 causing use of <= assignments. Reported by Alex Reed.
13245 (verilog-read-decls): Fix triand, trior, wand, wor to be
13246 recognized by AUTOWIRE. Reported by Spencer Isaacson.
13247 (verilog-extended-complete-re): Support import "DPI-C" functions.
13248 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
13249 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
13250 (verilog-insert-date, verilog-insert-year)
13251 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
13252 Windows systems. Reported by Michael Potts.
13253 (verilog-read-module-name): Fix AUTOINST when the child module
13254 declaration's name is a tick define. Reported by Elliot Mednick.
13255 (verilog-read-decls): Fix V2K parameter bit subscripts getting
13256 passed to next parameter's definition. Reported by Bruce T.
13257 (verilog-read-decls): Fix detecting "parameter int" when using
13258 AUTOINSTPARAM. Reported by Bruce T.
13259 (verilog-goto-defun): Fix goto not finding modules unless first
13260 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
13261 (verilog-mode): Expand -f flag arguments on entry to mode so
13262 verilog-goto-defun will work. Reported by Lawrence Butcher.
13263 (verilog-getopt): Expand environment variables in -f file
13264 arguments. Suggested by Lawrence Butcher.
13265 (verilog-set-define): Fix "Symbol's value as variable is void"
13266 when reading enumerations.
13267 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
13268 Suggested by Stephen Peltan.
13269 (verilog-read-defines): Fix reading of enumerations in include
13270 files. Reported by Steve Peltan.
13272 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
13274 * files.el (trash-directory): Fix defcustom type.
13276 2009-06-28 Juri Linkov <juri@jurta.org>
13278 * help-fns.el (describe-function-1): Correctly locate adviced
13279 functions in hyperlink (Bug#2438).
13281 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
13283 * files.el (trash-directory): Change default to nil.
13284 (move-file-to-trash): If trash-directory is nil and
13285 system-move-file-to-trash is unbound, perform freedesktop-style
13288 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
13290 * files.el (move-file-to-trash): Add freedesktop trash
13293 2009-06-28 Glenn Morris <rgm@gnu.org>
13295 * autorevert.el (global-auto-revert-non-file-buffers)
13296 (global-auto-revert-mode): Doc fixes.
13298 2009-06-27 Johan Bockgård <bojohan@gnu.org>
13300 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
13302 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
13304 * faces.el (x-handle-named-frame-geometry): Ensure that we have
13305 opened an X connection before calling x-get-resource (Bug#3194).
13307 * play/doctor.el: Remove reference to obsolete website.
13308 (make-doctor-variables): Correct grammar mistake (Bug#2633).
13310 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
13312 Remove find-file-not-found-hook VC method. (Bug#2757)
13313 * vc-hooks.el (vc-file-not-found-hook)
13314 (vc-default-find-file-not-found-hook): Remove functions.
13315 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
13316 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
13319 * vc-git.el: Do not mention find-file-not-found-hook VC method.
13321 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
13323 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
13324 compatibility function for `looking-back'.
13326 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
13327 Use `ispell-looking-back'.
13329 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
13331 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
13332 rather than `filename'.
13334 2009-06-23 Miles Bader <miles@gnu.org>
13336 * face-remap.el (text-scale-set): New function.
13338 2009-06-23 Glenn Morris <rgm@gnu.org>
13340 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
13342 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
13344 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
13346 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
13348 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
13349 Simplify Persian conditionals.
13351 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
13352 variable `filename'.
13354 * comint.el (comint-insert-input): Doc fix.
13356 * Makefile.in (ELCFILES): Fix typo in previous change.
13358 2009-06-23 Miles Bader <miles@gnu.org>
13360 * cus-start.el: Add entry for `recenter-redisplay'.
13362 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
13364 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
13365 Add an optional argument for the backend, use it instead of
13366 calling vc-backend.
13367 (vc-mode-line): Add an optional argument for the backend.
13368 Pass the backend to vc-state and vc-working-revision. Move code for
13369 special handling for vc-state being a buffer to ...
13371 * vc-rcs.el (vc-rcs-find-file-hook):
13372 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
13374 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
13375 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
13376 vc-stay-local-p and vc-mode-line calls.
13378 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
13379 (vc-cvs-diff, vc-cvs-annotate-command)
13380 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
13381 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
13382 vc-mode-line calls.
13384 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
13386 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
13387 backend when calling vc-mode-line.
13388 (vc-register): Do not create a closure for calling the vc register
13389 function, call it directly.
13391 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
13393 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
13394 to make it obvious item can be clicked.
13396 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
13398 2009-06-23 Kenichi Handa <handa@m17n.org>
13400 * language/korea-util.el (korean-key-bindings): Change the binding
13401 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
13404 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
13406 Sync with Tramp 2.1.16.
13408 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
13410 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
13411 when a loading of a package fails. Completion function for rsync
13412 is `tramp-completion-function-alist-ssh'.
13413 (all): Replace all calls of `split-string' and
13414 `tramp-split-string' by `tramp-compat-split-string'.
13415 (tramp-default-method): Use `tramp-compat-process-running-p'.
13416 (tramp-default-proxies-alist): Allow also Lisp forms.
13417 (tramp-remote-path): Add choice "Private Directories".
13418 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
13419 (tramp-domain-regexp): Allow also "-", "_" and ".".
13420 (tramp-end-of-output): Remove newlines, and add "$" at the end.
13421 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
13422 (tramp-debug-message): Insert header line in debug buffer.
13423 (tramp-handle-directory-files-and-attributes-with-stat):
13424 Care about filenames with spaces, or starting with "-".
13425 (tramp-handle-dired-uncache): New defun.
13426 (tramp-handle-insert-directory): Don't flush the directory from
13427 cache, this is handled by `dired-uncache' now.
13428 (tramp-handle-insert-file-contents): Improve error handling.
13429 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
13430 Quote `tramp-end-of-output'.
13431 (tramp-action-password): Improve trace message.
13432 (tramp-check-for-regexp): Both echoes must be present, before removing.
13433 (tramp-open-connection-setup-interactive-shell): Trace coding system.
13434 (tramp-compute-multi-hops): Eval cons cells of
13435 `tramp-default-proxies-alist'.
13436 (tramp-maybe-open-connection): Use the same command pattern for
13437 first hop and further hops.
13438 (tramp-wait-for-output): Remove handling of newlines.
13439 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
13440 (tramp-split-string): Remove function. It is handled in
13443 * net/tramp-cmds.el (tramp-bug):
13444 Recommend `tramp-cleanup-all-connections' in the bug mail.
13446 * net/tramp-compat.el (tramp-compat-split-string)
13447 (tramp-compat-process-running-p): New defuns.
13449 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
13450 for `dired-uncache'.
13452 * net/tramp-gvfs.el: New package.
13454 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
13455 Add handler for `dired-uncache'.
13456 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
13458 * net/trampver.el: Update release number. Make version check fit
13461 2009-06-22 Jim Meyering <meyering@redhat.com>
13463 Automatically handle .xz suffix (XZ-compressed files), too.
13464 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
13465 XZ is the successor to LZMA: <http://tukaani.org/xz/>
13467 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
13468 Nick Roberts <nickrob@snap.net.nz>
13470 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
13471 repository (http://sphinx.net.ru/hg/gdb-mi/).
13473 2009-06-22 Glenn Morris <rgm@gnu.org>
13475 * files.el (dir-locals-collect-mode-variables): Allow for any number of
13476 `mode' and `eval' entries. (Bug#3430)
13478 * Makefile.in (ELCFILES): Add fadr.elc.
13480 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
13481 differing behavior of \n and ^ in strings. (Bug#3385)
13483 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
13485 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
13487 (lisp-indent-function): Make it a defcustom.
13489 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
13491 * progmodes/gdb-ui.el: Replace with ...
13492 * progmodes/gdb-mi.el: ... this file.
13493 * progmodes/gud.el: Modify for gdb-mi.el.
13495 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
13497 * fadr.el: New file.
13499 See ChangeLog.14 for earlier changes.
13501 ;; Local Variables:
13505 Copyright (C) 2009, 2010 Free Software Foundation, Inc.
13507 This file is part of GNU Emacs.
13509 GNU Emacs is free software: you can redistribute it and/or modify
13510 it under the terms of the GNU General Public License as published by
13511 the Free Software Foundation, either version 3 of the License, or
13512 (at your option) any later version.
13514 GNU Emacs is distributed in the hope that it will be useful,
13515 but WITHOUT ANY WARRANTY; without even the implied warranty of
13516 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13517 GNU General Public License for more details.
13519 You should have received a copy of the GNU General Public License
13520 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
13522 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1