1 2009-12-10 Glenn Morris <rgm@gnu.org>
3 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
4 appropriate for the mail-user-agent in use.
6 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
8 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
10 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
12 Fix short log parsing and fontification.
13 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
14 Fix fontification for the [merge] label.
16 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
18 Drop some properties to avoid surprises.
19 * htmlfontify.el (hfy-ignored-properties): New defcustom.
20 (hfy-fontify-buffer): Use it.
22 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
25 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
27 (ffap-locate-file): Remove unused arg `dir-ok' and make other
28 args compulsory. Adjust callers.
29 (ffap-gopher-at-point): Remove unused var `name'.
31 Get rid of the ELCFILES abomination.
32 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
33 (compile-elcfiles): New phony target.
34 (compile-main): Compute ELCFILES dynamically.
35 (compile-clean): New target to remove left-over elc files.
36 (compile, all): Use it.
38 2009-12-09 Kenichi Handa <handa@etlken>
40 * international/mule-diag.el: Require help-mode instead of help-fns.
42 2009-12-09 Kenichi Handa <handa@m17n.org>
44 * international/mule-cmds.el (ucs-names): Supply a sufficiently
45 fine ranges instead of pre-calculating accurate ranges.
46 Iterate with bigger gc-cons-threshold.
48 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
50 Add support for stashing a snapshot of the current tree.
51 * vc-git.el (vc-git-stash-snapshot): New function.
52 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
54 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
56 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
57 instead of `(beginning|end)-of-line'.
59 2009-12-08 Glenn Morris <rgm@gnu.org>
61 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
63 * Makefile.in (ELCFILES): Regenerate.
65 2009-12-07 Juri Linkov <juri@jurta.org>
67 Don't lazy-highlight the comint output in history Isearch mode.
69 * comint.el (comint-history-isearch-search): Instead of
70 `comint-line-beginning-position', use `comint-after-pmark-p'
71 to check if point if before the process mark, and go to
72 `process-mark' in this case.
74 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
76 * textmodes/tex-mode.el (latex-complete)
77 (latex-indent-or-complete): Remove.
78 (latex-mode): Set completion-at-point-functions instead.
80 Provide a standard completion command and hook it into TAB.
81 * minibuffer.el (completion-at-point-functions): New var.
82 (completion-at-point): New command.
83 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
84 * progmodes/python.el (python-mode-map): Use completion-at-point.
85 (python-completion-at-point): Rename from python-partial-symbol and
86 adjust for use in completion-at-point-functions.
87 (python-mode): Setup completion-at-point for Python completion.
88 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
89 extracted from lisp-complete-symbol.
90 (lisp-complete-symbol): Use it.
91 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
92 setup completion-at-point for Elisp completion.
93 (emacs-lisp-mode-map, lisp-interaction-mode-map):
94 Use completion-at-point.
95 * ielm.el (ielm-map): Use completion-at-point.
96 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
97 * progmodes/sym-comp.el: Move to...
98 * obsolete/sym-comp.el: Move from progmodes.
100 2009-12-07 Eli Zaretskii <eliz@gnu.org>
102 Prevent save-buffer in Rmail buffers from using the coding-system
103 of the current message, and from clobbering the encoding mnemonics
104 in the mode line (Bug#4623).
106 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
108 (rmail-message-encoding): New variable.
109 (rmail-write-region-annotate): Record the encoding of the current
110 message in rmail-message-encoding.
111 (rmail-after-save-hook): New function, restores the encoding of
112 the current message after the message collection is saved.
114 2009-12-07 Juri Linkov <juri@jurta.org>
116 * progmodes/grep.el (grep-read-files): Use `completing-read'
117 instead of `read-string'. Set its `collection' arg to
118 `read-file-name-internal'. (Bug#4301)
120 2009-12-07 Juri Linkov <juri@jurta.org>
122 Correctly restore original Isearch point. (Bug#4994)
124 * isearch.el (isearch-mode): Move `isearch-push-state' after
125 `(run-hooks 'isearch-mode-hook)'.
126 (isearch-cancel): When `isearch-push-state-function' is defined,
127 let-bind `isearch-cmds' to the first state (the last element of
128 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
129 function and restores the original point). Otherwise, move point
132 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
134 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
135 chars that don't have names, so the table can be built much faster at
138 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
140 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
141 change. Suggested by David Kastrup.
143 * simple.el (compose-mail): Check for incompatibilities and warn.
144 (compose-mail-user-agent-warnings): New option.
146 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
148 Support showing a single log entry from vc-annotate.
149 * vc.el (print-log): Add a new argument: START-REVISION.
150 (vc-print-log-internal): Add a new optional argument and
151 pass it to the backend.
152 (vc-print-log, vc-print-root-log): Adjust callers.
153 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
154 buffer already displays the requested log entry, use it.
155 Otherwise display only the log entry in question.
156 * vc-svn.el (vc-svn-print-log):
157 * vc-mtn.el (vc-mtn-print-log):
158 * vc-hg.el (vc-hg-state):
159 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
160 (vc-git-show-log-entry): Return t on success.
161 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
162 (vc-bzr-show-log-entry): Return t on success.
163 * vc-rcs.el (vc-rcs-print-log):
164 * vc-sccs.el (vc-sccs-print-log):
165 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
167 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
169 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer): Add
170 menus to the meta mode. (Bug#5043)
172 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
174 * ediff-init.el (ediff-event-key): Use event-to-character instead of
177 * ediff.el (ediff-buffers-internal): Add unwind-protect.
179 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
181 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
182 Berbain <raphael.berbain@gmail.com>.
184 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
186 (tramp-initial-end-of-output): New defconst.
187 (tramp-methods, tramp-find-shell)
188 (tramp-open-connection-setup-interactive-shell)
189 (tramp-maybe-open-connection): Use it.
190 (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
191 existence of `#' and `$'.
193 * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
194 `tramp-initial-end-of-output'.
196 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
198 Get the background mode from the terminal for xterm, and set
200 * term/xterm.el (xterm-set-background-mode): New function.
201 (terminal-init-xterm): Use it in case xterm supports background
202 color queries. Recompute faces after getting the background
205 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
207 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
208 number comment back on its own line, for easier parsing.
210 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
212 Make it work for non-file buffers (bug#5102).
213 * doc-view.el (doc-view-current-cache-dir):
214 Use doc-view-buffer-file-name rather than buffer-file-name.
215 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
217 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
219 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
220 author field is too short.
222 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
224 * vc-git.el (vc-git-print-log): Handle a limit argument.
225 Display the short log in graph form and with labels.
226 (vc-git-log-view-mode): Handle labels.
228 Make vc-revert change VC state from 'added to 'unregistered.
229 * vc-git.el (vc-git-revert): Call git reset first.
231 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
233 * net/newst-backend.el, net/newst-plainview.el:
234 * net/newst-reader.el, net/newst-ticker.el:
235 * net/newst-treeview.el, net/newsticker.el:
236 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
238 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
240 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
242 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
243 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
244 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
245 Update annotation regexp.
247 * simple.el (beginning-of-visual-line): Constrain to field
248 boundaries (Bug#5106).
250 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
252 * xml.el (xml-substitute-numeric-entities): Move
253 newsticker--decode-numeric-entities in newst-backend.el to
254 xml-substitute-numeric-entities in xml.el. (Bug#5008)
255 * net/newst-backend.el (newsticker--parse-generic-feed)
256 (newsticker--parse-generic-items)
257 (newsticker--decode-numeric-entities): Move
258 newsticker--decode-numeric-entities in newst-backend.el to
259 xml-substitute-numeric-entities in xml.el. (Bug#5008)
261 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
263 * progmodes/js.el (js--js-not): Add null to the list of values.
265 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
267 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
269 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
271 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
272 delimiter if it is at the end of the current line.
273 (bibtex-generate-url-list): Fix docstring.
275 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
277 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
278 minibuffer's content with itself.
279 Fold the confirm-after-completion case into the `confirm' case.
280 (completion-pcm-word-delimiters): Add : and / to the delimiters.
282 2009-12-06 Kevin Ryde <user42@zip.com.au>
284 * ffap.el (ffap-rfc-path): Make this a defcustom since
285 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
287 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
288 manuals, similar to existing setup for help-mode. (Bug#3913.)
290 2009-12-05 Juri Linkov <juri@jurta.org>
292 Save and restore dired buffer's point positions too. (Bug#4880)
294 * dired.el (dired-save-positions): Return in the first element
295 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
297 (dired-restore-positions): First restore buffer's position.
298 While restoring window's positions, check if window still displays
301 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
303 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
306 * cedet/semantic/ia.el (semantic-ia-complete-symbol):
307 Make argument optional.
309 * shell.el (shell): Require ansi-color (Bug#5113).
311 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
313 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
315 2009-12-05 Alan Mackenzie <acm@muc.de>
317 * progmodes/cc-mode.el (c-before-hack-hook)
318 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
319 `c-file-style' to work again. This reversion restores the current
320 software to its state in Emacs 23.1. (Bug#4146)
322 2009-12-05 Kevin Ryde <user42@zip.com.au>
324 * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
325 comment-start-skip to comment-end-skip as comment (Bug#4781).
327 2009-12-05 Juri Linkov <juri@jurta.org>
329 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
330 for virtual nodes. (Bug#4147)
331 (Info-find-node-2): Set `Info-current-node-virtual' to nil
332 when moving from a virtual node.
333 (Info-mode-menu): Add `Info-virtual-index' to the menu.
334 (Info-mode): Add `Info-virtual-index' to the docstring.
336 2009-12-05 Eric Ludlam <zappo@gnu.org>
338 * cedet/semantic/bovine/c.el (semantic-c-describe-environment):
339 Describe project macro symbols.
341 * cedet/semantic/complete.el (semantic-complete-do-completion):
342 Don't call semantic-collector-current-exact-match.
344 * cedet/ede.el (ede-apply-preprocessor-map): Accept lists of
345 ede-objects as targets.
347 * cedet/ede/pmake.el (ede-proj-makefile-insert-variables): Output
348 a target's object list even if compiler vars are already in the
351 * cedet/ede/emacs.el (ede-preprocessor-map): Add config.h to the
352 list of headers producing necessary macros.
354 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
356 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
357 track of the buffer position of the end of a BibTeX entry as this
358 position may change during reformatting.
359 (bibtex-format-entry): Remove whitespace before processing
360 numerical fields so that we recognize the latter properly.
361 (bibtex-reformat): Do not use push which changes the global value
362 of bibtex-entry-format.
363 (bibtex-field-braces-alist, bibtex-field-strings-alist)
364 (bibtex-field-re-init): Replace only space characters by regexp
366 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
367 (bibtex-initialize): Also update bibtex-strings.
368 (bibtex-kill-field): Preserve white space at end of entry.
369 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
370 Update bibtex-reference-keys.
372 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
374 * minibuffer.el (completion-pcm--merge-try): Also consider placing
375 point after a star, if that's the only place where modifications can
378 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
380 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
383 2009-12-04 Juri Linkov <juri@jurta.org>
385 * proced.el (proced): Call `(proced-update t)' to update process
386 information instead of only running proced-post-display-hook.
387 (proced-send-signal): Add a leading space to the buffer name
388 " *Marked Processes*" to make this buffer ephemeral.
390 2009-12-04 Juri Linkov <juri@jurta.org>
392 * dired.el (dired-auto-revert-buffer): New defcustom.
393 (dired-internal-noselect): Use it.
395 2009-12-04 Juri Linkov <juri@jurta.org>
397 Change roles of modes and functions in image-mode.el (Bug#5062).
399 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
400 in `auto-mode-alist'.
401 (image-mode-previous-major-mode): New variable.
402 (image-minor-mode-map): Rename from `image-mode-text-map'.
403 (image-mode): Move graceful error-handling code from
404 `image-minor-mode' to here. On errors call `image-mode-as-text'.
405 (image-minor-mode): Remove all image-handling code.
406 Replace `image-mode-text-map' with `image-minor-mode-map'.
407 Check for `image-type' in mode-line format string.
408 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
409 (image-mode-as-text): New function with most code from
411 (image-toggle-display-text): Move code that removes image
412 properties from `image-toggle-display' to here.
413 (image-toggle-display-image): New function with code that adds
414 image properties copied from `image-toggle-display'.
415 (image-toggle-display): Remove most code with leaving only code
416 that toggles between `image-mode-as-text' and `image-mode'.
418 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
420 * net/newst-treeview.el
421 (newsticker--treeview-list-highlight-start): Restored call to
422 save-excursion: Selected item was stuck.
423 (newsticker--treeview-list-select): New.
424 (newsticker--treeview-item-show-text)
425 (newsticker--treeview-item-show)
426 (newsticker--treeview-item-update): Use new
427 newsticker-treeview-item-mode.
428 (newsticker-treeview-update): Keep current item.
429 (newsticker-treeview-next-new-or-immortal-item): Doc change.
430 (newsticker--treeview-first-feed): Doc change.
431 (newsticker-treeview-list-menu)
432 (newsticker-treeview-item-menu): Added menu entries.
433 (newsticker-treeview-item-mode): New.
435 * net/newst-backend.el (newsticker-customize): delete other
438 2009-12-04 Sam Steingold <sds@gnu.org>
440 * log-view.el (log-view-mode-map): "q" calls quit-window,
441 like in all the other non-self-insert buffers.
443 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
446 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
447 key decoding rather than do it manually via last-input-event +
449 (term-exec): Use delete-and-extract-region.
450 (term-handle-ansi-terminal-messages): Remove unused var `end'.
451 (term-process-pager): Remove unused var `i'.
452 (term-dynamic-simple-complete): Make obsolete.
453 (serial-update-config-menu): Remove unused vars `y' and `str'.
454 (term-update-mode-line): Remove unused var `temp'.
456 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
458 Limit the number of log entries displayed by default.
459 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
460 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
461 using a prefix argument.
463 2009-12-03 Glenn Morris <rgm@gnu.org>
465 * progmodes/idlwave.el (class): Restore still useful declaration.
467 2009-12-03 Alan Mackenzie <acm@muc.de>
469 Enhance `c-parse-state' to run efficiently in "brace deserts".
471 * progmodes/cc-mode.el (c-basic-common-init):
472 Call c-state-cache-init.
473 (c-neutralize-syntax-in-and-mark-CPP): Rename from
474 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
475 placing `category' properties value 'c-cpp-delimiter at its boundaries.
477 * progmodes/cc-langs.el (c-before-font-lock-function):
478 c-extend-and-neutralize-syntax-in-CPP has been renamed
479 c-neutralize-syntax-in-and-mark-CPP.
481 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
482 with `category' properties now, not `syntax-table' ones.
484 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
485 enhanced (but slower) version of c-end-of-macro that won't land
486 inside a literal or on another awkward character.
487 (c-state-cache-too-far, c-state-cache-start)
488 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
489 (c-state-nonlit-pos-cache-limit, c-state-point-min)
490 (c-state-point-min-lit-type, c-state-point-min-lit-start)
491 (c-state-min-scan-pos, c-state-brace-pair-desert)
492 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
493 buffer local variables.
494 (c-state-literal-at, c-state-lit-beg)
495 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
496 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
497 (c-state-cache-top-paren, c-state-cache-after-top-paren)
498 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
499 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
500 (c-renarrow-state-cache)
501 (c-append-lower-brace-pair-to-state-cache)
502 (c-state-push-any-brace-pair, c-append-to-state-cache)
503 (c-remove-stale-state-cache)
504 (c-remove-stale-state-cache-backwards, c-state-cache-init)
505 (c-invalidate-state-cache-1, c-parse-state-1)
506 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
507 (c-parse-state): Enhance and refactor.
508 (c-debug-parse-state): Amend to deal with all the new variables.
510 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
511 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
512 modify to use category text properties rather than syntax-table ones.
513 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
514 to switch off/on the syntactic paren property of C++ template
515 delimiters using the category property.
516 (c-with-<->-as-parens-suppressed): Macro to invoke code with
517 template delims suppressed.
518 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
519 New constant/macros which apply category properties to the start
520 and end of preprocessor constructs.
521 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
522 "comment out" the syntactic value of characters in preprocessor
524 (c-with-cpps-commented-out)
525 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
526 with characters in all or all but one preprocessor constructs
529 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
531 * proced.el (proced-filter-alist): Use regexp-quote.
533 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
536 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
537 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
538 arguments. Expand `default-directory'.
540 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
541 the benefit of returning an expanded localname.
542 (tramp-tramp-file-p): Handle the case NAME is not a string.
544 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
546 Add support for bzr shelve/unshelve.
547 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
548 (vc-bzr-extra-menu-map): New variables.
549 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
550 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
551 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
552 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
553 (vc-bzr-dir-extra-headers): Display shelves.
555 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
557 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
559 * textmodes/bibtex.el (bibtex-complete-internal):
560 Use completion-in-region.
561 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
563 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
565 Support applying stashes. Improve UI.
566 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
567 (vc-git-stash-apply, vc-git-stash-pop)
568 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
569 (vc-git-stash-menu): New functions.
570 (vc-git-stash-menu-map): New variable.
571 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
573 2009-12-03 Glenn Morris <rgm@gnu.org>
575 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
576 (vc-print-log-internal): Fix previous change.
577 (vc-revert): Correct pluralization.
579 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
581 * progmodes/make-mode.el (makefile-special-targets-list): No need for
582 it to be an alist any more.
583 (makefile-complete): Use completion-in-region.
585 * progmodes/octave-mod.el (octave-complete-symbol):
586 Use completion-in-region.
589 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
590 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
591 (idlwave-complete-class): Don't quote lambda.
592 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
593 (idlwave-mode-map): Move initialization into declaration.
594 (idlwave-action-and-binding): Use backquotes.
595 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
597 (idlwave-is-pointer-dereference): Remove unused var `pos'.
598 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
599 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
600 `parts', and `all-parts'.
601 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
602 (idlwave-convert-xml-system-routine-info): Remove unused string
604 (idlwave-display-user-catalog-widget): Use dolist.
605 (idlwave-scanning-lib): Declare dynamically-scoped var.
606 (idlwave-scan-library-catalogs): Remove unused var `flags'.
607 (completion-highlight-first-word-only): Declare to silence bytecomp.
608 (idlwave-popup-select): Tighten scope of `resp'.
609 (idlwave-find-struct-tag): Remove unused var `beg'.
610 (idlwave-after-load-rinfo-hook): Declare.
611 (idlwave-sintern-class-info): Remove unused var `taglist'.
612 (idlwave-find-class-definition): Remove unused var `list'.
613 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
614 (idlwave-what-module-find-class): Remove unused var `classes'.
616 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
618 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
620 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
622 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
623 buffers visited. Remove redundant current-buffer-saving.
625 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
627 Use completion-in-buffer and remove uses of dynamic scoping.
628 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
629 (pascal-buffer-to-use, pascal-flag): Don't declare.
630 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
631 (pascal-get-completion-decl, pascal-keyword-completion):
632 Add `pascal-str' argument, save-excursion,
633 return the found completions, and don't filter with pascal-pred.
634 (pascal-completion-cache): New var.
635 (pascal-completion): Don't switch buffer any more (it was never
636 necessary). Don't save-excursion any more (it's done by the called
637 subroutines). Use a cache to avoid redundant computations.
638 Use complete-with-action rather than pascal-completion-response and
639 let it apply the predicate as well.
640 (pascal-complete-word): Use completion-in-buffer when
641 pascal-toggle-completions is nil.
642 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
644 (pascal-comp-defun): Don't change buffer any more.
645 Use complete-with-action rather than pascal-completion-response and
646 let it apply the predicate as well.
647 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
650 2009-12-02 Kenichi Handa <handa@m17n.org>
652 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
653 shape for all Indic scripts.
655 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
657 Use completion-in-buffer.
658 * wid-edit.el (widget-field-text-end): New function.
659 (widget-field-value-get): Use it.
660 (widget-string-complete, widget-file-complete)
661 (widget-color-complete): Use it and completion-in-region.
662 (widget-complete): Don't narrow the buffer.
664 2009-12-02 Glenn Morris <rgm@gnu.org>
666 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
667 (rmail-select-summary): Use rmail-pop-to-buffer.
668 * mail/rmailsum.el: Replace all pop-to-buffer calls with
669 rmail-pop-to-buffer, to prevent horizontal splits.
671 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
672 save-excursion with save-current-buffer.
673 Widen before searching. (Bug#5093)
674 (diary-list-sexp-entries): Remove superfluous save-excursion.
676 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
678 * woman.el (woman-make-bufname): Handle man-pages with "." in the
681 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
683 * ido.el (ido-file-internal): Handle filenames at point that do
684 not have a directory part. (Bug#5049)
686 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
688 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
689 (mpc-songs-jump-to, mpc-resume): Doc fixes.
691 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
693 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
694 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
697 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
699 * comint.el (comint-insert-input): Ignore clicks to the right of
700 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
702 * vc.el (vc-print-log-internal): Don't wait for the process to
703 terminate before setting up the major mode.
705 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
708 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
711 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
713 2009-12-01 Glenn Morris <rgm@gnu.org>
715 * window.el (window--display-buffer-2): Fix previous changes.
717 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
719 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
721 2009-12-01 Glenn Morris <rgm@gnu.org>
723 * Makefile.in (ELCFILES): Add mpc.elc.
725 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
729 2009-12-01 Glenn Morris <rgm@gnu.org>
731 * window.el (window-to-use): Define for compiler.
733 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
734 consistent with others (no final period).
736 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
737 (rmail-mime-show): Downcase the encoding. (Bug#5070)
739 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
741 Make vc-print-log buttons work.
742 * log-view.el (log-view-mode-map): Inherit from from widget-keymap.
744 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
746 * savehist.el (savehist-autosave-interval): Allow setting to nil
747 through customize. (Bug#5056)
749 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
751 Fix references to jit-lock properties.
752 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
753 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
754 (perl-font-lock-special-syntactic-constructs):
755 Quote jit-lock-defer-multiline property.
757 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
759 * vc-git.el (vc-git-registered): Call vc-git-root only once.
761 2009-11-30 Juri Linkov <juri@jurta.org>
763 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
764 value `buffer' of `multi-isearch-next-buffer-current-function'.
765 Use `(current-buffer)' when `buffer' is nil.
766 (multi-isearch-next-buffer-from-list): Don't fallback to
767 `(current-buffer)' when `buffer' is nil. (Bug#4947)
769 2009-11-30 Juri Linkov <juri@jurta.org>
771 * misearch.el (multi-isearch-read-buffers): Move canonicalization
772 of buffers with `get-buffer' to `multi-isearch-buffers'.
773 (multi-isearch-buffers, multi-isearch-buffers-regexp):
774 Canonicalize BUFFERS with `get-buffer'. Doc fix.
775 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
776 FILES with `expand-file-name' converting relative file names
777 to absolute. Doc fix. (Bug#4727)
779 2009-11-30 Juri Linkov <juri@jurta.org>
781 * misearch.el (multi-isearch-read-buffers)
782 (multi-isearch-read-matching-buffers): New functions.
783 (multi-isearch-buffers, multi-isearch-buffers-regexp):
784 Use them in the `interactive' spec. Doc fix.
785 (multi-isearch-read-files, multi-isearch-read-matching-files):
787 (multi-isearch-files, multi-isearch-files-regexp):
788 Use them in the `interactive' spec. Doc fix. (Bug#4725)
790 2009-11-30 Juri Linkov <juri@jurta.org>
792 * doc-view.el (doc-view-continuous):
793 Rename from `doc-view-continuous-mode'.
794 (doc-view-menu): Move "Toggle display" to the top.
795 Add submenu "Continuous" with radio buttons "Off"/"On"
796 and "Save as Default".
797 (doc-view-scroll-up-or-next-page)
798 (doc-view-scroll-down-or-previous-page)
799 (doc-view-next-line-or-next-page)
800 (doc-view-previous-line-or-previous-page): Rename
801 `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
803 2009-11-30 Juri Linkov <juri@jurta.org>
805 * comint.el (comint-mode-map): Rebind `M-r' from
806 `comint-previous-matching-input' to
807 `comint-history-isearch-backward-regexp'.
808 Unbind `M-s' to allow global key binding `M-s'.
809 Add menu items for `comint-history-isearch-backward' and
810 `comint-history-isearch-backward-regexp'. (Bug#3746)
812 2009-11-30 Juri Linkov <juri@jurta.org>
814 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
815 For def=recenter, replace `recenter' with `recenter-top-bottom'
816 that is called with `this-command' and `last-command' let-bound
817 to `recenter-top-bottom'. When the last `def' was not `recenter',
818 set `recenter-last-op' to nil. (Bug#4981)
820 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
822 Minor cleanup and simplification.
823 * filecache.el (file-cache-add-directory)
824 (file-cache-add-directory-recursively)
825 (file-cache-add-from-file-cache-buffer)
826 (file-cache-delete-file-regexp, file-cache-delete-directory)
827 (file-cache-files-matching-internal, file-cache-display): Use dolist.
828 (file-cache-temp-minibuffer-message): Delete function.
829 (file-cache-minibuffer-complete): Use minibuffer-message instead.
831 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
832 Don't signal an error when bumping into EOB in tr, s, or y.
834 2009-11-29 Juri Linkov <juri@jurta.org>
836 * startup.el (fancy-about-text): Fix wording of Guided Tour.
839 * descr-text.el (describe-char-unidata-list): Use lowercase name
840 for "Unicode name" like in other tags.
842 2009-11-29 Juri Linkov <juri@jurta.org>
844 * ediff-util.el (ediff-minibuffer-with-setup-hook):
845 New compatibility macro.
846 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
848 2009-11-29 Juri Linkov <juri@jurta.org>
850 Add defcustom to define the cycling order of `recenter-top-bottom'.
853 * window.el (recenter-last-op): Doc fix.
854 (recenter-positions): New defcustom.
855 (recenter-top-bottom): Rewrite to use `recenter-positions'.
856 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
858 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
860 Improve integration of Tramp and ange-ftp in eshell.
862 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
863 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
864 (eshell/sudo): Flatten args. Let-bind `default-directory'.
866 * eshell/esh-util.el (top): Require also Tramp when compiling.
867 (eshell-directory-files-and-attributes): Check for FTP remote
869 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
870 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
871 (eshell-file-attributes): Handle ".". Return `entry'.
873 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
874 (ange-ftp-directory-files-and-attributes)
875 (ange-ftp-real-directory-files-and-attributes): New defuns.
877 * net/tramp.el (tramp-maybe-open-connection): Open the remote
878 shell with "exec" when possible. This prevents trailing prompts
879 in `start-file-process'.
881 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
883 Try and remove assumptions about point-min==1.
884 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
885 (rng-compute-mode-line-string): Show the validation percentage in
886 terms of the narrowed text, not the widened text.
887 (rng-do-some-validation): Don't catch internal errors when debugging.
888 (rng-first-error): Simplify.
889 (rng-after-change-function): Remove work around. AFAIK the bug has
890 been fixed a while ago.
892 * image-mode.el (image-minor-mode): Exit more gracefully when the image
893 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
895 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
897 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
898 `cd' doesn't always do it for us (bug#5067).
900 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
901 on 2009-10-25 as part of some other change (bug#5067).
903 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
905 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
907 (byte-compile-warnings): Use byte-compile-warning-types.
908 (byte-compile-save-excursion): Warn about use of set-buffer right
909 after save-excursion.
911 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
912 the excursion as well.
914 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
916 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
917 providing a Tramp related implementation of "su" and "sudo".
918 (eshell-unix-initialize): Add "su" and "sudo".
920 2009-11-27 Daiki Ueno <ueno@unixuser.org>
922 * net/socks.el (socks-send-command): Convert binary request to
923 unibyte before sending. This fixes mishandling of some port
926 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
928 * help.el (describe-bindings-internal): Remove `interactive'.
930 * man.el (Man-completion-table): Trim a terminating "(".
931 Remove the space between name page a section.
932 Add the command's description on the `help-echo' property.
933 Remove `process-connection-type' binding since it's unused by
935 Provide completion for the "<section> <name>" format as well.
936 (Man-default-man-entry): Remove spurious var shadowing the argument.
938 2009-11-26 Kevin Ryde <user42@zip.com.au>
940 * log-view.el: Add "Keywords: tools", since its other keywords
941 aren't in finder-known-keywords, and following vc.el.
943 * sha1.el (sha1-string-external): default-directory "/" in case
944 otherwise non-existent. process-connection-type pipe for touch of
945 efficiency recommended by elisp manual. (An aside in Bug#3911.)
947 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
949 Misc coding convention cleanups.
950 * htmlfontify.el (hfy-init-kludge-hook): Rename from
951 hfy-init-kludge-hooks.
952 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
953 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
954 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
956 (hfy-slant, hfy-weight): Use tables rather than code.
957 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
958 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
959 (hfy-face-attr-for-class): Initialize `face-spec' directly.
960 (hfy-face-to-css): Remove `nconc' with single arg.
961 (hfy-p-to-face-lennart): Use `or'.
962 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
963 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
964 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
965 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
966 (hfy-force-fontification): Use run-hooks.
968 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
971 * htmlfontify.el (hfy-default-header): Add toggle_invis since
972 Javascript belongs in the header, not the body.
973 (hfy-javascript): Remove.
974 (hfy-fontify-buffer): Don't insert it any more.
975 (hfy-face-at): Handle (face0 face1 face2) style face properties.
976 Fix bug in invis handling when there were no invis props in a chunk.
978 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
980 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
982 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
984 * finder.el (finder-mode-map): Add a menu.
986 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
988 * verilog-mode.el (verilog-at-struct-p): Support "signed" and
991 (verilog-leap-to-head, verilog-backward-token): Handle "disable
992 fork" statement better.
994 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
996 * verilog-mode.el (verilog-auto-insert-lisp, verilog-delete-auto)
997 (verilog-delete-empty-auto-pair, verilog-library-filenames):
998 Fix AUTOINSERTLISP to support insert-file. Reported by Clay Douglass.
1000 (verilog-auto-inst, verilog-auto-star-safe)
1001 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
1002 Fix removing "// Interfaces" when saving .* expansions. Reported by
1003 Pierre-David Pfister.
1005 2009-11-26 Glenn Morris <rgm@gnu.org>
1007 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
1010 2009-11-25 Johan Bockgård <bojohan@gnu.org>
1012 * vc-annotate.el (vc-annotate-revision-previous-to-line):
1013 Really use previous revision.
1015 2009-11-25 Kevin Ryde <user42@zip.com.au>
1017 * man.el (Man-completion-table): default-directory "/" in case
1018 doesn't otherwise exist. process-environment COLUMNS=999 so as
1019 not to truncate long names. process-connection-type pipe to avoid
1020 any chance of hitting the pseudo-tty TIOCGWINSZ.
1021 (man): completion-ignore-case t for friendliness and since man
1022 itself is case-insensitive on the command line.
1023 Further to Bug#3717.
1025 * arc-mode.el: Add "Keywords: files", so the details in its
1026 commentary can be reached from finder-by-keyword.
1027 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
1028 editing mode, but it's comms related and sgml-mode.el has "comm"
1030 * textmodes/bibtex-style.el: Add "Keywords: tex".
1031 * international/isearch-x.el, international/ja-dic-cnv.el:
1032 * international/ja-dic-utl.el, international/kkc.el:
1033 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
1035 2009-11-25 Juri Linkov <juri@jurta.org>
1037 * man.el (Man-completion-table): Modify regexp to include
1038 section names to completion strings. (Bug#3717)
1040 2009-11-25 Juri Linkov <juri@jurta.org>
1042 Search recursively in gzipped files. (Bug#4982)
1044 * progmodes/grep.el (grep-highlight-matches): Add new options
1045 `always' and `auto'. Doc fix.
1046 (grep-process-setup): Check `grep-highlight-matches' for
1047 `auto-detect' to determine the need to compute grep defaults.
1048 Move Windows/DOS specific --colors settings handling
1049 to `grep-compute-defaults'. Check `grep-highlight-matches'
1050 to get the value of "--color=".
1051 (grep-compute-defaults): Compute `grep-highlight-matches' when it
1052 has the value `auto-detect'. Move Windows/DOS specific settings
1053 from `grep-process-setup'.
1054 (zrgrep): New command with alias `rzgrep'.
1056 2009-11-25 Juri Linkov <juri@jurta.org>
1058 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
1059 to nil instead of switching off view-mode. (Bug#4896)
1061 2009-11-25 Juri Linkov <juri@jurta.org>
1063 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
1065 * mwheel.el (mwheel-scroll-up-function)
1066 (mwheel-scroll-down-function): New defvars.
1067 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
1068 `scroll-up', and `mwheel-scroll-down-function' instead of
1071 * doc-view.el (doc-view-scroll-up-or-next-page)
1072 (doc-view-scroll-down-or-previous-page): Add optional ARG.
1073 Use this ARG in the call to image-scroll-up/image-scroll-down.
1074 Change `interactive' spec to "P". Goto next/previous page only
1075 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
1076 SPC/DEL case). Doc fix.
1077 (doc-view-next-line-or-next-page)
1078 (doc-view-previous-line-or-previous-page): Rename arg to ARG
1080 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
1081 `doc-view-scroll-up-or-next-page', and buffer-local
1082 `mwheel-scroll-down-function' to
1083 `doc-view-scroll-down-or-previous-page'.
1085 2009-11-25 Juri Linkov <juri@jurta.org>
1087 Provide additional default values (directories at other Dired
1088 windows) via M-n in the minibuffer of some Dired commands.
1090 * dired-aux.el (dired-diff, dired-compare-directories)
1091 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
1092 `minibuffer-default' in `minibuffer-with-setup-hook'.
1093 (dired-dwim-target-directory): Find a window that displays Dired
1094 buffer instead of failing when the next window is not Dired.
1095 Use `get-window-with-predicate' to find for the next Dired window.
1096 (dired-dwim-target-defaults): New function.
1098 * ediff-util.el (ediff-read-file-name):
1099 Use `dired-dwim-target-defaults' to set `minibuffer-default'
1100 in `minibuffer-with-setup-hook'.
1102 2009-11-25 Juri Linkov <juri@jurta.org>
1104 Provide additional default values (file name at point or at the
1105 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
1107 * minibuffer.el (read-file-name-defaults): New function.
1108 (read-file-name): Reset `minibuffer-default' to nil when
1109 it duplicates initial input `insdef'.
1110 Bind `minibuffer-default-add-function' to lambda that
1111 calls `read-file-name-defaults' in `minibuffer-selected-window'.
1112 (minibuffer-insert-file-name-at-point): New command.
1114 * files.el (file-name-at-point-functions): New defcustom.
1115 (find-file-default): Remove defvar.
1116 (find-file-read-args): Don't use `find-file-default'.
1117 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
1118 to `read-file-name'.
1119 (find-file-literally): Use `read-file-name' with
1120 `confirm-nonexistent-file-or-buffer'.
1122 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
1124 * dired.el (dired-read-dir-and-switches):
1125 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
1126 to `read-file-name'.
1127 (dired-file-name-at-point): New function.
1128 (dired-mode): Add hook `dired-file-name-at-point' to
1129 `file-name-at-point-functions'.
1131 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1133 Really make the *Completions* window soft-dedicated (bug#5030).
1134 * window.el (window--display-buffer-2): Add `dedicated' argument.
1135 (display-buffer): Pass it when needed so the dedicated flag is set
1136 after calling set-window-buffer, which would otherwise reset it.
1138 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1140 * progmodes/meta-mode.el (meta-complete-symbol):
1141 * progmodes/etags.el (complete-tag):
1142 * mail/mailabbrev.el (mail-abbrev-complete-alias):
1143 Use completion-in-region.
1145 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
1146 (dabbrev-completion): Use completion-in-region.
1147 (dabbrev--abbrev-at-point): Simplify regexp.
1149 * abbrev.el (abbrev--before-point): Use word-motion functions
1150 if :regexp is not specified (bug#5031).
1152 * subr.el (string-prefix-p): New function.
1154 * man.el (Man-completion-cache): New var.
1155 (Man-completion-table): Use it.
1157 * vc.el (vc-print-log-internal): Make `limit' optional for better
1158 compatibility (e.g. with vc-annotate.el).
1160 2009-11-24 Kevin Ryde <user42@zip.com.au>
1162 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
1163 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
1165 * emacs-lisp/elint.el (elint-add-required-env): Better error message
1166 when .el source file not found or other error.
1168 2009-11-24 Markus Triska <markus.triska@gmx.at>
1170 * linum.el (linum-update-window): Ignore intangible (bug#4996).
1172 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1174 Handle the [back] button properly (bug#4979).
1175 * descr-text.el (describe-text-properties): Add a `buffer' argument.
1176 Use help-setup-xref, help-buffer, and with-help-window.
1177 (describe-char): Add `buffer' argument.
1178 Pass proper command to help-setup-xref. Don't meddle with
1179 help-xref-stack-item directly.
1180 (describe-text-category): Use with-help-window and help-buffer.
1182 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
1183 for the displayed buffer (bug#4887).
1185 * man.el (Man-completion-table): New function.
1188 2009-11-24 David Reitter <david.reitter@gmail.com>
1190 * vc-git.el (vc-git-registered): Use checkout directory (where
1191 .git is) rather than the file's directory and a relative path spec
1192 to work around a bug in git.
1194 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
1196 Improve handling of processes on remote hosts.
1198 * eshell/esh-util.el (eshell-path-env): New defvar.
1199 (eshell-parse-colon-path): New defun.
1200 (eshell-file-attributes): Use `eshell-parse-colon-path'.
1202 * eshell/esh-ext.el (eshell-search-path):
1203 Use `eshell-parse-colon-path'.
1204 (eshell-remote-command): Remove argument HANDLER.
1205 (eshell-external-command): Check for FTP remote connection.
1207 * eshell/esh-proc.el (eshell-gather-process-output):
1208 Use `file-truename', in order to start also symlinked files.
1209 Apply `start-file-process' instead of `start-process'.
1210 Shorten `command' to the local file name part.
1212 * eshell/em-cmpl.el (eshell-complete-commands-list):
1213 Use `eshell-parse-colon-path'.
1215 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
1217 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
1218 to `eshell-directory-change-hook'.
1220 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
1222 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
1223 because it could be enabled automatically if view-read-only is non-nil.
1225 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
1227 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
1230 2009-11-24 Glenn Morris <rgm@gnu.org>
1232 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
1233 deleted variable bookmark-bmenu-bookmark-column.
1235 * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
1236 Move after definition of global-semantic-idle-tag-highlight-mode.
1238 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1240 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
1242 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
1244 * net/browse-url.el (browse-url-filename-alist): On Windows, add
1245 two slashes to the "file:" prefix.
1246 (browse-url-file-url): De-munge Cygwin filenames before passing
1247 them to Windows browser.
1248 (browse-url-default-windows-browser): Use call-process.
1250 2009-11-23 Juri Linkov <juri@jurta.org>
1252 Implement DocView Continuous mode. (Bug#4896)
1253 * doc-view.el (doc-view-continuous-mode): New defcustom.
1254 (doc-view-mode-map): Bind C-n/<down> to
1255 `doc-view-next-line-or-next-page', C-p/<up> to
1256 `doc-view-previous-line-or-previous-page'.
1257 (doc-view-next-line-or-next-page)
1258 (doc-view-previous-line-or-previous-page): New commands.
1260 2009-11-23 Juri Linkov <juri@jurta.org>
1262 Implement Isearch in comint input history. (Bug#3746)
1263 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
1264 `isearch-mode-hook'.
1265 (comint-history-isearch): New defcustom.
1266 (comint-history-isearch-backward)
1267 (comint-history-isearch-backward-regexp): New commands.
1268 (comint-history-isearch-message-overlay): New buffer-local variable.
1269 (comint-history-isearch-setup, comint-history-isearch-end)
1270 (comint-goto-input, comint-history-isearch-search)
1271 (comint-history-isearch-message, comint-history-isearch-wrap)
1272 (comint-history-isearch-push-state)
1273 (comint-history-isearch-pop-state): New functions.
1275 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
1277 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
1279 (tramp-handle-make-symbolic-link)
1280 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
1282 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
1283 (tramp-handle-process-file): Use it.
1285 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1287 * window.el (move-to-window-line-last-op): Remove.
1288 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
1290 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
1292 Make M-r mirror the new cycling behavior of C-l.
1293 * window.el (move-to-window-line-last-op): New var.
1294 (move-to-window-line-top-bottom): New command.
1295 (global-map): Bind M-r move-to-window-line-top-bottom.
1297 2009-11-23 Sven Joachim <svenjoac@gmx.de>
1299 * dired-x.el (dired-guess-shell-alist-default):
1300 Support xz format. (Bug#4953)
1302 2009-11-22 Chong Yidong <cyd@stupidchicken.com>
1304 * cedet/srecode/map.el (srecode-get-maps):
1305 * cedet/semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag):
1306 * cedet/semantic/wisent/comp.el (wisent-toggle-verbose-flag):
1307 * cedet/semantic/decorate/mode.el (semantic-decoration-mode)
1308 (semantic-toggle-decoration-style):
1309 * cedet/semantic/decorate/include.el
1310 (semantic-decoration-include-describe)
1311 (semantic-decoration-unknown-include-describe)
1312 (semantic-decoration-unparsed-include-describe)
1313 (semantic-decoration-all-include-summary):
1314 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init):
1315 * cedet/semantic/analyze/complete.el
1316 (semantic-analyze-possible-completions):
1317 * cedet/semantic/util-modes.el (semantic-highlight-edits-mode)
1318 (semantic-show-unmatched-syntax-mode)
1319 (semantic-show-parser-state-mode, semantic-stickyfunc-mode)
1320 (semantic-highlight-func-mode):
1321 * cedet/semantic/util.el (semantic-describe-buffer):
1322 * cedet/semantic/symref.el (semantic-symref-find-references-by-name)
1323 (semantic-symref-find-tags-by-name)
1324 (semantic-symref-find-tags-by-regexp)
1325 (semantic-symref-find-tags-by-completion)
1326 (semantic-symref-find-file-references-by-name)
1327 (semantic-symref-find-text):
1328 * cedet/semantic/senator.el (senator-copy-tag, senator-kill-tag)
1330 * cedet/semantic/scope.el (semantic-calculate-scope):
1331 * cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
1332 * cedet/semantic/idle.el (semantic-idle-scheduler-mode)
1333 (define-semantic-idle-service):
1334 * cedet/semantic/complete.el (semantic-complete-analyze-inline)
1335 (semantic-complete-analyze-inline-idle):
1336 * cedet/semantic/analyze.el (semantic-analyze-current-context):
1337 * cedet/mode-local.el (describe-mode-local-bindings)
1338 (describe-mode-local-bindings-in-mode):
1339 * cedet/ede/make.el (ede-make-check-version):
1340 * cedet/ede/locate.el (ede-enable-locate-on-project):
1341 * cedet/cedet-idutils.el (cedet-idutils-expand-filename)
1342 (cedet-idutils-version-check):
1343 * cedet/cedet-global.el (cedet-gnu-global-expand-filename)
1344 (cedet-gnu-global-version-check):
1345 * cedet/cedet-cscope.el (cedet-cscope-expand-filename)
1346 (cedet-cscope-version-check): Use called-interactively-p instead
1349 * cedet/semantic/ia.el (semantic-ia-completion-format-tag-function):
1350 Use semantic-format-tag-prototype.
1352 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
1354 * emulation/viper-cmd.el: Use viper-last-command-char instead of
1355 last-command-char/last-command-event.
1356 (viper-prefix-arg-value): Do correct conversion of event-char for
1359 * emulation/viper-util.el, emulation/viper.el:
1360 Use viper-last-command-char instead of
1361 last-command-char/last-command-event.
1363 * ediff-init.el, ediff-mult.el, ediff-util.el:
1364 Replace last-command-char and last-command-event
1365 with (ediff-last-command-char) everywhere.
1367 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
1368 created in fundamental mode.
1370 * ediff.el (ediff-version): Revert the change of interactive-p to
1371 called-interactively-p.
1373 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
1375 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
1376 generation from word-movement command names.
1378 2009-11-21 Chong Yidong <cyd@stupidchicken.com>
1380 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
1381 (semantic-complete-jump-local, semantic-complete-jump):
1382 Improve prompt string.
1384 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
1386 * cus-start.el (all): Add native condition for font-use-system-font.
1388 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
1390 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
1391 Correct the patch from 2009-11-18. (Bug#3910)
1393 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
1395 * progmodes/subword.el: Rename from lisp/subword.el.
1397 * subword.el: Rename to progmodes/subword.el.
1399 * Makefile.in (ELCFILES): Adapt to subword.el move.
1401 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1402 Stefan Monnier <monnier@iro.umontreal.ca>
1404 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
1405 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
1406 (bookmark-bmenu-show-filenames): Use push.
1407 (bookmark-bmenu-hide-filenames): Use local var instead of
1408 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
1409 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
1410 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
1411 filenames now that the bookmark names are always available.
1413 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1415 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
1416 (bookmark-search-pattern): Move and leave unbound.
1417 (bookmark-bmenu-mode-map): Change binding.
1418 (bookmark-read-search-input): Simplify.
1419 Don't use text-char-description. Don't error on non-char events.
1420 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
1421 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
1422 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
1423 Use a local var for the timer.
1424 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
1425 (i.e. bookmark-bmenu-search).
1427 2009-11-21 Glenn Morris <rgm@gnu.org>
1429 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
1431 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
1433 * net/browse-url.el (browse-url-default-windows-browser):
1434 Use cygstart for cygwin.
1436 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
1438 * bookmark.el: Formatting and doc fixes only:
1439 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
1440 (bookmark-bmenu-search): Wrap to fit within 80 columns.
1441 Minor grammar and punctuation fixes in doc string.
1442 (bookmark-read-search-input): Adjust to fit within 80 columns.
1444 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
1446 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
1447 (c-backward-into-nomenclature): Adapt to subword renaming.
1449 * subword.el (subword-forward, subword-backward, subword-mark)
1450 (subword-kill, subword-backward-kill, subword-transpose)
1451 (subword-downcase, subword-upcase, subword-capitalize)
1452 (subword-forward-internal, subword-backward-internal):
1453 Rename from forward-subword, backward-subword, mark-subword,
1454 kill-subword, backward-kill-subword, transpose-subwords,
1455 downcase-subword, upcase-subword, capitalize-subword,
1456 forward-subword-internal, backward-subword-internal.
1458 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1460 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
1462 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
1464 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
1465 (bookmark-bmenu-filter-alist-by-regexp)
1466 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
1467 (bookmark-bmenu-search): New command.
1468 (bookmark-bmenu-mode-map): Bind it.
1470 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
1472 * cedet/semantic/complete.el (semantic-complete-inline-map): Doc fix.
1474 * cedet/semantic/idle.el (define-semantic-idle-service)
1475 (semantic-idle-summary-mode, semantic-idle-completions): Doc fix.
1477 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
1479 * progmodes/cc-cmds.el: declare-functioned forward-subword and
1480 backward-subword to quit the byte-compiler.
1482 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
1484 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
1486 * progmodes/cc-cmds.el (c-update-modeline)
1487 (c-forward-into-nomenclature, c-backward-into-nomenclature):
1488 Refer to subword.el functions instead of cc-subword.el.
1490 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
1491 subword.el functions instead of cc-subword.el.
1493 * progmodes/cc-subword.el: Rename to subword.el.
1494 * subword.el: Rename from progmodes/cc-subword.el.
1495 (subword-mode-map): Rename from c-subword-mode-map.
1496 (subword-mode): Rename from c-subword-mode.
1497 (global-subword-mode): New global minor mode.
1498 (forward-subword): Rename from c-forward-subword.
1499 (backward-subword): Rename from c-backward-subword.
1500 (mark-subword): Rename from c-mark-subword.
1501 (kill-subword): Rename from c-kill-subword.
1502 (backward-kill-subword): Rename from c-backward-kill-subword.
1503 (transpose-subwords): Rename from c-tranpose-subword.
1504 (downcase-subword): Rename from c-downcase-subword.
1505 (capitalize-subword): Rename from c-capitalize-subword.
1506 (forward-subword-internal): Rename from c-forward-subword-internal.
1507 (backward-subword-internal): Rename from c-backward-subword-internal.
1509 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
1511 * vc.el (vc-deduce-fileset): Allow non-state changing operations
1512 from a dired buffer.
1513 (vc-dired-deduce-fileset): New function.
1514 (vc-root-diff, vc-print-root-log): Use it.
1516 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
1517 nil LIMIT argument to vc-print-log-internal.
1519 2009-11-20 Glenn Morris <rgm@gnu.org>
1521 * Makefile.in (ELCFILES): Regenerate.
1523 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
1525 * cedet/cedet.el (cedet-menu-map): Re-order menu items.
1527 * cedet/semantic.el: Enable idle-mode menu items only if
1528 global-semantic-idle-scheduler-mode is enabled.
1529 (semantic-default-submodes): Doc fix.
1531 * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
1532 When turning off, disable other idle modes.
1534 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
1536 * calc/calc.el (calc-set-mode-line):
1537 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
1538 (math-format-number): Rename `math-format-complement-signed' to
1539 `math-format-twos-complement'.
1541 * calc/calc-bin.el (math-format-twos-complement): Rename from
1542 math-format-complement-signed.
1543 (calc-radix): Rename `calc-complement-signed-mode' to
1544 `calc-twos-complement-mode'.
1545 (calc-octal-radix, calc-hex-radix): Add an argument for
1548 * calc/calc-embed.el (calc-embedded-mode-vars):
1549 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
1551 * calc/calc-ext.el (calc-init-extensions):
1552 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
1553 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
1555 * calc/calc-units.el (math-build-units-table-buffer):
1556 Let `calc-twos-complement-mode' be nil.
1558 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
1561 * calc/calc-vec.el (calcFunc-vunpack):
1562 * calc/calc-aent.el (calc-do-calc-eval):
1563 * calc/calc-forms.el (math-format-date):
1564 * calc/calc-graph.el (calc-graph-plot):
1565 * calc/calc-math.el (math-use-emacs-fn):
1566 * calc/calccomp.el (math-compose-expr):
1567 Let `calc-twos-complement-mode' be nil.
1569 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
1571 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
1572 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
1573 * minibuffer.el (completion-in-region-functions): New hook.
1574 (completion-in-region): New function.
1575 * emacs-lisp/lisp.el (lisp-complete-symbol):
1576 * pcomplete.el (pcomplete-std-complete): Use it.
1578 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
1580 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
1581 (latex-complete-alist): New vars.
1582 (latex-string-prefix-p, latex-complete-bibtex-keys)
1583 (latex-complete-envnames, latex-complete-refkeys)
1584 (latex-complete-data): New functions.
1585 (latex-complete, latex-indent-or-complete): New commands.
1587 * window.el (display-buffer-mark-dedicated): New var.
1588 (display-buffer): Obey it.
1589 * minibuffer.el (minibuffer-completion-help): Use it.
1591 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
1593 * filecache.el (file-cache-add-file): Use push and cons.
1594 (file-cache-delete-file-regexp): Use push.
1595 (file-cache-complete): Use completion-in-region.
1597 * simple.el (with-wrapper-hook): Fix thinko.
1599 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
1600 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
1601 Use with-current-buffer and string-to-number.
1602 (hfy-fallback-colour-values): Use assoc-string.
1603 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
1604 (hfy-face-at): Remove unused var `found-face'.
1605 (hfy-compile-stylesheet): Remove unused var `css'.
1606 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
1608 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
1609 Use with-current-buffer.
1610 (hfy-text-p): Use expand-file-name and fewer setq.
1612 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
1614 * htmlfontify.el, hfy-cmap.el: New files.
1616 2009-11-19 Juri Linkov <juri@jurta.org>
1618 * minibuffer.el (completions-format): New defcustom.
1619 (completion--insert-strings): Implement vertical format.
1621 * simple.el (switch-to-completions): Move point to the first
1622 completion when point was at the beginning of the buffer.
1624 2009-11-19 Juri Linkov <juri@jurta.org>
1626 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
1628 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
1630 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
1632 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
1633 (mail-signature): Change default to t.
1634 (mail-from-style): Deprecate `system-default' value.
1635 (mail-insert-from-field): For default value of mail-from-style,
1636 default to `angles' unless `angles' needs quoting and `parens'
1638 (mail-citation-prefix-regexp): Use citation regexp from
1641 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
1643 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
1644 Set variables for computing the prompt for reading password.
1646 2009-11-19 Glenn Morris <rgm@gnu.org>
1648 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
1650 * textmodes/flyspell.el (sgml-lexical-context): Declare.
1652 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
1653 (newsticker-treeview-listwindow-height): Fix custom type.
1655 2009-11-19 Kenichi Handa <handa@m17n.org>
1657 * descr-text.el (describe-char-padded-string): Compose with TAB
1658 only if there's a font for CH.
1659 (describe-char): Fix the condition for detecting a trivial composition.
1661 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
1663 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
1664 more accurate version of the regexp. (Bug#3910)
1666 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
1668 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
1670 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
1672 * font-setting.el (font-use-system-font): Declare for byte-compiler.
1673 (font-setting-change-default-font): Fix typo in docstring.
1675 2009-11-18 Alan Mackenzie <acm@muc.de>
1677 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
1679 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
1681 * font-setting.el (font-use-system-font): Move ...
1683 * cus-start.el (all): ... to here.
1685 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
1687 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
1688 Don't set `ad-return-value' if `ad-do-it' doesn't.
1690 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
1693 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
1695 * menu-bar.el: Put "Use system font" in Option-menu.
1696 (menu-bar-options-save): Add font-use-system-font.
1698 * loadup.el: If feature system-font-setting or font-render-setting is
1699 there, load font-setting.
1701 * Makefile.in (ELCFILES): Add font-settings.el.
1702 * font-setting.el: New file.
1704 2009-11-17 Glenn Morris <rgm@gnu.org>
1706 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
1708 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
1709 Preserve point in the list buffer. (Bug#4939)
1711 (newsticker--treeview-list-update-highlight)
1712 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
1714 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
1716 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
1719 * calc/calc-ext.el (calc-init-extensions): Remove references to
1722 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
1724 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
1725 * calc/calc-help.el (calc-b-prefix-help): Remove references to
1728 2009-11-16 Kevin Ryde <user42@zip.com.au>
1730 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
1731 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
1733 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
1734 (lm-keywords-list): Allow comma-only separator like "foo,bar".
1735 Ignore trailing spaces by omit-nulls to split-string (fixing
1736 regression from Emacs 21 due to the incompatible split-string
1737 change). (Bug #4928.)
1739 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
1741 * vc.el (vc-log-show-limit): Default to 2000.
1742 (vc-print-log-internal): Insert buttons to request more entries
1743 when limiting the output.
1745 * vc-sccs.el (vc-sccs-print-log):
1746 * vc-rcs.el (vc-rcs-print-log):
1747 * vc-cvs.el (vc-cvs-print-log):
1748 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
1751 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
1753 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
1754 error when `tramp-gvfs-dbus-event-vector' is set.
1755 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
1757 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
1759 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
1761 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
1763 * net/dbus.el (dbus-unregister-service): New defun.
1764 (dbus-register-property): Register the handlers of
1765 "org.freedesktop.DBus.Properties" for SERVICE.
1766 (dbus-property-handler): Fix docstring.
1768 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
1770 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
1771 Quote doc string reference in defvaralias as it is not in special form.
1772 (byte-compile-output-docform): Doc fix.
1774 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
1776 * calc/calc.el (math-2-word-size, math-half-2-word-size)
1777 (calc-complement-signed-mode): New variables.
1778 (calc-set-mode-line): Add indicator for twos-complements.
1779 (math-format-number): Format twos-complement notation.
1781 * calc/calc-bin.el (calc-word-size): Reset the variables
1782 `math-2-word-size' and `math-half-2-word-size'.
1783 (math-format-complement-signed, math-symclip, calcFunc-symclip)
1784 (calc-symclip): New functions.
1786 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
1788 * calc/calc-embed.el (calc-embedded-mode-vars):
1789 Add `calc-complement-signed-mode' to the list of modes.
1791 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
1792 (calc-b-oper-keys): Add `calc-symclip' to list.
1794 * calc/calc-ext.el (math-read-number-fancy): Read complement
1796 (calc-init-extensions): Add binding for `calc-symclip'.
1797 Add autoload for `calcFunc-symclip' and `calc-symclip'.
1799 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
1801 (calc-modes-menu): Add item for twos complement mode.
1803 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
1805 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
1807 * register.el (jump-to-register, insert-register): Handle Semantic
1808 tags. From commented-out advice in semantic/senator.el.
1810 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
1812 * vc.el (vc-log-show-limit): New variable.
1813 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
1814 when using a prefix argument.
1815 (vc-print-log-internal): Add new argument LIMIT.
1817 * vc-svn.el (vc-svn-print-log):
1818 * vc-mtn.el (vc-mtn-print-log):
1819 * vc-hg.el (vc-hg-print-log):
1820 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
1821 pass it to the log command when set. Make the BUFFER argument
1824 * vc-sccs.el (vc-sccs-print-log):
1825 * vc-rcs.el (vc-rcs-print-log):
1826 * vc-git.el (vc-git-print-log):
1827 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
1828 ignore it. Make the BUFFER argument non-optional
1830 * bindings.el (mode-line-buffer-identification): Do not purecopy.
1832 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
1834 * dired.el (dired-mode-map): Move encryption items to "Operate"
1837 * strokes.el (strokes-update-window-configuration): Make strokes
1838 buffer current before erasing (Bug#4906).
1840 * cedet/semantic/idle.el (semantic-idle-summary-mode)
1841 (semantic-idle-summary-mode): Define using define-minor-mode
1842 instead of define-semantic-idle-service.
1843 (semantic-idle-summary-mode): New function.
1844 (semantic-idle-summary-mode-setup): Use pre-command-hook to ensure
1845 that mouse motion does not reset the echo area.
1847 2009-11-15 Juri Linkov <juri@jurta.org>
1849 * simple.el (set-mark-default-inactive): Add :type, :group
1850 and :version. (Bug#4876)
1852 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
1854 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
1855 (archive-unique-fname): ... here. (Bug#4929)
1857 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
1859 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
1862 * novice.el (disabled-command-function): Add useful args.
1863 Setup the help buffer so that [back] works.
1864 Remove redundant call to help-mode.
1865 (disabled-command-function): Use `case'.
1866 (en/disable-command): New function extracted from enable-command.
1867 (enable-command, disable-command): Use it.
1869 2009-11-14 Glenn Morris <rgm@gnu.org>
1871 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
1872 constants. (Bug#4913)
1874 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
1876 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1878 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
1879 defined in C that have no doc-strings. (Bug#1063)
1881 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
1883 * cus-edit.el (data, files):
1884 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
1886 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
1888 * simple.el (shell-command): Doc fix (Bug#4891).
1890 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
1892 2009-11-14 Glenn Morris <rgm@gnu.org>
1894 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
1895 statements for vc-diff, emerge-quit, and rmail-cease-edit.
1896 If they are already loaded, eval-after-load will do the right thing.
1898 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
1901 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
1903 * simple.el (x-selection-owner-p): Declare.
1904 (read-mail-command): Use custom radio type rather than choice.
1905 (completion-no-auto-exit): Doc fix.
1907 * custom.el (defgroup):
1908 * epg-config.el (epg): Doc fixes.
1910 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
1912 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
1913 * international/ccl.el (define-ccl-program): Do not purecopy the
1914 docstring, defconst does it anyway.
1916 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
1918 * add-log.el (add-change-log-entry): Avoid displaying the changelog
1921 * x-dnd.el (x-dnd-maybe-call-test-function):
1922 * window.el (split-window-vertically):
1923 * whitespace.el (whitespace-help-on):
1924 * vc-rcs.el (vc-rcs-consult-headers):
1925 * userlock.el (ask-user-about-lock-help)
1926 (ask-user-about-supersession-help):
1927 * type-break.el (type-break-force-mode-line-update):
1928 * time-stamp.el (time-stamp-conv-warn):
1929 * terminal.el (te-set-output-log, te-more-break, te-filter)
1930 (te-sentinel,terminal-emulator):
1931 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
1932 (term-write-input-ring, term-check-source, term-start-output-log):
1933 (term-display-buffer-line, term-dynamic-list-completions):
1934 (term-ansi-make-term, serial-term):
1935 * subr.el (selective-display):
1936 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
1937 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
1938 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
1939 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
1940 (speedbar-remove-localized-speedbar-support)
1941 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
1942 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
1943 (speedbar-buffers-line-directory):
1944 * simple.el (shell-command-on-region, append-to-buffer)
1945 (prepend-to-buffer):
1946 * shadowfile.el (shadow-save-todo-file):
1947 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
1948 (scroll-bar-maybe-set-window-start):
1949 * sb-image.el (speedbar-image-dump):
1950 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
1951 (load-save-place-alist-from-file):
1952 * ps-samp.el (ps-print-message-from-summary):
1953 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
1954 (ps-background-image, ps-begin-job, ps-do-despool):
1955 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
1956 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
1957 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
1958 (pr-call-process, pr-file-list, pr-interface-save):
1959 * novice.el (disabled-command-function)
1960 (enable-command, disable-command):
1961 * mouse.el (mouse-buffer-menu-alist):
1962 * mouse-copy.el (mouse-kill-preserving-secondary):
1963 * macros.el (kbd-macro-query):
1964 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
1965 * informat.el (batch-info-validate):
1966 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
1967 * hippie-exp.el (try-expand-dabbrev-visible):
1968 * help-mode.el (help-make-xrefs):
1969 * help-fns.el (describe-variable):
1970 * generic-x.el (bat-generic-mode-run-as-comint):
1971 * finder.el (finder-mouse-select):
1972 * find-dired.el (find-dired-sentinel):
1973 * filesets.el (filesets-file-close):
1974 * files.el (list-directory):
1975 * faces.el (list-faces-display, describe-face):
1976 * facemenu.el (list-colors-display):
1977 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
1978 * epg.el (epg--process-filter, epg-cancel):
1979 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
1980 (epa--read-signature-type):
1981 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
1982 (emerge-file-names):
1983 * ehelp.el (electric-helpify):
1984 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
1985 * ediff-vers.el (rcs-ediff-view-revision):
1986 * ediff-util.el (ediff-setup):
1987 * ediff-mult.el (ediff-append-custom-diff):
1988 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
1990 * echistory.el (Electric-command-history-redo-expression):
1991 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
1992 * disp-table.el (describe-display-table):
1993 * dired.el (dired-find-buffer-nocreate):
1994 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
1995 * dabbrev.el (dabbrev--same-major-mode-p):
1996 * chistory.el (list-command-history):
1997 * apropos.el (apropos-documentation):
1998 * allout.el (allout-obtain-passphrase):
1999 (allout-copy-exposed-to-buffer):
2000 (allout-verify-passphrase): Use with-current-buffer.
2002 2009-11-13 Glenn Morris <rgm@gnu.org>
2004 * Makefile.in (ELCFILES): Regenerate.
2006 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
2008 * net/dbus.el (dbus-registered-objects-table): Rename from
2009 `dbus-registered-functions-table', because it contains also properties.
2010 (dbus-unregister-object): Unregister also properties.
2011 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2012 Use a timeout of 500 msec, in order to not block.
2013 (dbus-register-property, dbus-property-handler): New defuns.
2015 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2017 * simple.el (minibuffer-default-add-completions): Drop deprecated
2020 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
2022 * textmodes/artist.el (artist-mouse-choose-operation):
2023 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
2024 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
2025 (artist-compute-up-event-key): New function.
2026 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
2028 2009-11-13 Kenichi Handa <handa@m17n.org>
2030 * language/japan-util.el: Make sure that the value of jisx0208
2031 property is jisx0208 character.
2033 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
2035 * international/mule.el (auto-coding-regexp-alist): Only purecopy
2036 car or each item, not the whole list.
2038 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2040 * minibuffer.el (minibuffer-completion-help):
2041 Use minibuffer-hide-completions.
2043 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
2045 * dired.el (dired-save-positions, dired-restore-positions): New funs.
2046 (dired-revert): Use them (bug#4880).
2048 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
2050 * tooltip.el (tooltip-frame-parameters): Undo previous change.
2052 2009-11-12 Juri Linkov <juri@jurta.org>
2054 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
2056 (find-file-literally-at-point): Alias of `ffap-literally'.
2058 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
2060 * textmodes/ispell.el (ispell-skip-region-alist):
2061 * textmodes/css-mode.el (auto-mode-alist):
2062 * progmodes/compile.el (auto-mode-alist):
2063 * international/mule.el (ctext-non-standard-encodings-alist)
2064 (ctext-non-standard-encodings-regexp):
2065 * simple.el (shell-command-switch, text-read-only):
2066 * replace.el (occur-mode-map):
2067 * paths.el (rmail-file-name):
2068 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
2069 * find-file.el (ff-special-constructs):
2070 * files.el (file-name-handler-alist):
2071 * composite.el: Purecopy strings.
2073 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
2075 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
2077 * widget.el (define-widget): Purecopy the docstring.
2078 * international/mule-cmds.el (charset): Do not purecopy the
2079 docstring here, define-widget does it.
2081 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
2082 * textmodes/bibtex-style.el (auto-mode-alist):
2083 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2084 * progmodes/compile.el (compile-command):
2085 * language/korea-util.el (default-korean-keyboard):
2086 * international/mule-conf.el (file-coding-system-alist):
2087 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
2088 * tooltip.el (tooltip-frame-parameters):
2089 * newcomment.el (comment-end, comment-padding):
2090 * dired.el (dired-trivial-filenames):
2091 * comint.el (comint-file-name-prefix): Purecopy initial values.
2093 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
2095 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
2096 (tramp-advice-minibuffer-electric-tilde): Unload advices via
2098 (tramp-advice-make-auto-save-file-name)
2099 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
2100 after removing the advice.
2102 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
2104 * progmodes/grep.el (grep-regexp-alist):
2105 * international/mule-cmds.el (iso-2022-control-alist):
2106 * emacs-lisp/timer.el (timer-duration-words):
2107 * subr.el (version-separator, version-regexp-alist):
2108 * minibuffer.el (completion-styles-alist):
2109 * faces.el (face-attribute-name-alist, list-faces-sample-text):
2110 Change defvars to defconsts.
2112 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
2113 * loadup.el ("international/mule-conf"): Load the byte compiled version.
2114 * international/mule-conf.el: Allow to be byte compiled.
2116 * international/mule.el (define-charset): Purecopy props.
2117 (load-with-code-conversion): Purecopy doc string and file name.
2118 (put-charset-property): Purecopy strings.
2119 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
2121 * international/mule-cmds.el (register-input-method): Purecopy arguments.
2122 (define-char-code-property): Correctly purecopy the table.
2124 * international/ccl.el (define-ccl-program): Purecopy the docstring.
2126 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
2128 * subr.el (add-hook): Purecopy strings.
2129 (eval-after-load): Purecopy load-history-regexp and the form.
2131 * custom.el (custom-declare-group): Purecopy load-file-name.
2133 * subr.el (menu-bar-separator): New defconst.
2134 * net/eudc.el (eudc-tools-menu):
2135 * international/mule-cmds.el (set-coding-system-map)
2137 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2138 * vc-hooks.el (vc-menu-map):
2139 * replace.el (occur-mode-map):
2140 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
2141 (menu-bar-edit-menu, menu-bar-goto-menu)
2142 (menu-bar-custom-menu, menu-bar-showhide-menu)
2143 (menu-bar-options-menu, menu-bar-tools-menu)
2144 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
2145 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
2146 (menu-bar-help-menu):
2147 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
2148 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
2150 * term/x-win.el (x-gtk-stock-map):
2151 * progmodes/vera-mode.el (auto-mode-alist):
2152 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2153 (inferior-lisp-program, inferior-lisp-load-command):
2154 * progmodes/hideshow.el (hs-special-modes-alist):
2155 * progmodes/gud.el (same-window-regexps):
2156 * progmodes/grep.el (grep-program, find-program, xargs-program):
2157 * net/telnet.el (same-window-regexps):
2158 * net/rlogin.el (same-window-regexps):
2159 * language/ethiopic.el (font-ccl-encoder-alist):
2160 * vc-sccs.el (vc-sccs-master-templates):
2161 * vc-rcs.el (vc-rcs-master-templates):
2162 * subr.el (cl-assertion-failed):
2163 * simple.el (next-error-overlay-arrow-position):
2164 * lpr.el (lpr-command):
2165 * locate.el (locate-ls-subdir-switches):
2166 * info.el (same-window-regexps, info)
2167 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
2168 * image-mode.el (image-mode, auto-mode-alist):
2169 * hippie-exp.el (hippie-expand-ignore-buffers):
2170 * format.el (format-alist):
2171 * find-dired.el (find-ls-subdir-switches, find-grep-options)
2173 * facemenu.el (facemenu-keybindings):
2174 * dired.el (dired-listing-switches, dired-chown-program):
2175 * diff.el (diff-switches, diff-command):
2176 * cus-edit.el (same-window-regexps):
2177 * bindings.el (mode-line-mule-info)
2178 (mode-line-buffer-identification): Purecopy strings.
2180 2009-11-11 Juri Linkov <juri@jurta.org>
2182 * simple.el (dired-get-filename)<declare-function>:
2183 Tell the byte-compiler about dired-get-filename.
2184 (shell-command): In Dired mode, get filename from the current line
2185 as the default value.
2187 2009-11-10 Glenn Morris <rgm@gnu.org>
2189 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
2190 * calendar/holidays.el, progmodes/cperl-mode.el:
2191 Update x-popup-menu declarations.
2193 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
2194 (list-load-path-shadows): Use dolist.
2195 (list-load-path-shadows): Use with-current-buffer.
2197 2009-11-10 Juri Linkov <juri@jurta.org>
2199 * minibuffer.el (read-file-name): Support a list of default values
2200 in `default-filename'. Use the first file name where only one
2201 element is required. Doc fix.
2203 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
2205 * net/dbus.el (dbus-unregister-object): Release service, if no
2206 other method is registered for it.
2208 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
2210 * bookmark.el (bookmark-completing-read): Sort bookmark names if
2211 bookmark-sort-flag is non-nil (Bug#4653).
2213 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
2215 * cedet/semantic/ctxt.el (semantic-get-local-variables): Disable
2216 the progress reporter entirely.
2218 * emulation/cua-base.el: Add CUA property to some CC mode commands
2221 2009-11-08 Kevin Ryde <user42@zip.com.au>
2223 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
2224 at end of sentence (Bug#4818).
2226 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
2228 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2229 Handle "see declaration of" MSFT statements (Bug#4100).
2231 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
2233 * net/tramp.el (tramp-advice-make-auto-save-file-name)
2234 (tramp-advice-file-expand-wildcards): Unload via
2237 * net/trampver.el: Update release number.
2239 2009-11-08 Kevin Ryde <user42@zip.com.au>
2241 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
2244 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
2246 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
2247 in order to keep context in SELinux.
2249 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
2251 * dired-aux.el (dired-query): Place cursor in echo area and allow
2254 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
2255 menu item if not on a directory (Bug#4701).
2257 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
2259 Sync with Tramp 2.1.17.
2261 * net/tramp.el (tramp-handle-copy-directory): Don't use
2262 `file-remote-p' (due to compatibility).
2264 * net/tramp-compat.el (tramp-compat-copy-directory)
2265 (tramp-compat-delete-directory): New defuns.
2267 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
2268 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
2269 `tramp-compat-delete-directory'.
2271 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2272 (tramp-smb-handle-delete-directory ): Use
2273 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
2275 * net/trampver.el: Update release number.
2277 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
2279 * tar-mode.el (tar-copy): Call write-region on the right buffer
2282 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
2283 by hand, if necessary (Bug#4878).
2285 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
2287 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
2288 align size column (Bug#4839).
2290 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
2293 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
2295 * progmodes/ld-script.el (auto-mode-alist):
2296 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
2298 * cus-face.el (custom-declare-face): Purecopy face spec.
2300 2009-11-06 Kenichi Handa <handa@m17n.org>
2302 * international/uni-bidi.el: Re-generated.
2303 * international/uni-category.el: Re-generated.
2304 * international/uni-combining.el: Re-generated.
2305 * international/uni-mirrored.el: Re-generated.
2307 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
2309 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
2310 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
2311 (tex-start-options, slitex-run-command, latex-run-command)
2312 (tex-run-command, tex-directory):
2313 * textmodes/ispell.el (ispell-html-skip-alists)
2314 (ispell-tex-skip-alists, ispell-tex-skip-alists):
2315 * textmodes/fill.el (adaptive-fill-first-line-regexp):
2316 (adaptive-fill-regexp):
2317 * textmodes/dns-mode.el (auto-mode-alist):
2318 * progmodes/python.el (interpreter-mode-alist):
2319 * progmodes/etags.el (tags-compression-info-list):
2320 * progmodes/etags.el (tags-file-name):
2321 * net/browse-url.el (browse-url-galeon-program)
2322 (browse-url-firefox-program):
2323 * mail/sendmail.el (mail-signature-file)
2324 (mail-citation-prefix-regexp):
2325 * international/mule-conf.el (eight-bit):
2326 * international/latexenc.el (latex-inputenc-coding-alist):
2327 * international/fontset.el (x-pixel-size-width-font-regexp):
2328 * emacs-lisp/warnings.el (warning-type-format):
2329 * emacs-lisp/trace.el (trace-buffer):
2330 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
2331 (emacs-lisp-mode-map):
2332 * calendar/holidays.el (holiday-solar-holidays)
2333 (holiday-bahai-holidays, holiday-islamic-holidays)
2334 (holiday-christian-holidays, holiday-hebrew-holidays)
2335 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
2336 (hebrew-holidays-1, holiday-oriental-holidays)
2337 (holiday-general-holidays):
2338 * x-dnd.el (x-dnd-known-types):
2339 * tool-bar.el (tool-bar):
2340 * startup.el (site-run-file):
2341 * shell.el (shell-dumb-shell-regexp):
2342 * rfn-eshadow.el (file-name-shadow-tty-properties)
2343 (file-name-shadow-properties):
2344 * paths.el (remote-shell-program, news-directory):
2345 * mouse.el ([C-down-mouse-3]):
2346 * menu-bar.el (menu-bar-tools-menu):
2347 * jka-cmpr-hook.el (jka-compr-load-suffixes)
2348 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
2349 (jka-compr-compression-info-list):
2350 * isearch.el (search-whitespace-regexp):
2351 * image-file.el (image-file-name-extensions):
2352 * find-dired.el (find-ls-option):
2353 * files.el (directory-listing-before-filename-regexp)
2354 (directory-free-space-args, insert-directory-program)
2355 (list-directory-brief-switches, magic-fallback-mode-alist)
2356 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
2357 (automount-dir-prefix):
2358 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
2359 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
2360 (face-font-registry-alternatives, face-font-registry-alternatives)
2361 (face-font-family-alternatives):
2362 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
2363 (facemenu-foreground-menu, facemenu-face-menu):
2364 * epa-hook.el (epa-file-name-regexp):
2365 * dnd.el (dnd-protocol-alist):
2366 * textmodes/rst.el (auto-mode-alist):
2367 * button.el (default-button): Purecopy strings.
2369 2009-11-06 Glenn Morris <rgm@gnu.org>
2371 * Makefile.in (ELCFILES): Update.
2373 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2375 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
2376 * emacs-lisp/levents.el: Move to obsolete/levents.el.
2378 * nxml/xsd-regexp.el (xsdre-gen-categories):
2379 * nxml/xmltok.el (xmltok-parse-entity):
2380 * nxml/rng-parse.el (rng-parse-validate-file):
2381 * nxml/rng-maint.el (rng-format-manual)
2382 (rng-manual-output-force-new-line):
2383 * nxml/rng-loc.el (rng-save-schema-location-1):
2384 * nxml/rng-cmpct.el (rng-c-parse-file):
2385 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
2386 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
2388 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
2390 * verilog-mode.el (verilog-getopt-file, verilog-set-define):
2391 Remove extra save-excursions and make-variable-buffer-local's.
2392 Suggested by Stefan Monnier.
2394 (verilog-getopt-file, verilog-module-inside-filename-p)
2395 (verilog-set-define): Merge GNU 1.35 and repair changes from
2396 switching to using with-current-buffer.
2398 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
2399 being treated as a number and confusing AUTORESET.
2400 Reported by Dan Dever.
2402 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
2403 Add verilog-auto-ignore-concat to fix backward compatibility with
2404 older verilog-modes. Reported by Dan Katz.
2406 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
2407 containing closing anchors "...$".
2409 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
2410 Reported by Wade Smith.
2412 (verilog-batch-execute-func) Comment on function usage.
2414 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
2416 * verilog-mode.el (verilog-label-re): Fix regular expression for
2419 (verilog-label-re, verilog-calc-1): Support proper indent of named
2422 (verilog-backward-token, verilog-basic-complete-re)
2423 (verilog-beg-of-statement, verilog-indent-re): Support proper
2424 indent of the assert statement at the beginning of a block of text.
2426 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
2427 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
2430 2009-11-05 Glenn Morris <rgm@gnu.org>
2432 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
2433 Emacs 19. (Bug#1531)
2434 (byte-compile-fix-header): Update for the above change.
2435 Drop test for epoch::version.
2437 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
2438 * cus-dep.el (custom-make-dependencies):
2439 * finder.el (finder-compile-keywords):
2440 Use autoload-rubric's feature argument.
2442 * calendar/diary-lib.el (top-level): Make load behave more like require.
2444 * vc-git.el (vc-git-stash-map): Move definition before use.
2446 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
2448 * custom.el (custom-declare-group): Purecopy standard-value.
2449 (custom-declare-group): Purecopy custom-prefix.
2451 * international/mule.el (load-with-code-conversion):
2452 Call do-after-load-evaluation unconditionally.
2454 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
2456 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2458 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
2460 2009-11-04 Glenn Morris <rgm@gnu.org>
2462 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
2463 (byte-compile-compatibility): Remove option.
2464 (byte-compile-close-variables, byte-compile-fix-header)
2465 (byte-compile-insert-header, byte-compile-output-docform)
2466 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
2467 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
2468 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
2469 (byte-compile-insert, byte-compile-defun):
2470 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
2471 (byte-defop-compiler19): Remove.
2472 Without byte-compile-compatibility, the 'emacs19-opcode property is not
2473 used by anything. Replace all calls with byte-defop-compiler.
2475 2009-11-04 Juri Linkov <juri@jurta.org>
2477 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
2478 (menu-bar-options-menu): Don't quote the `prop' arg of
2479 `menu-bar-make-mm-toggle'.
2481 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
2483 * calendar/calendar.el (cal-loaddefs):
2484 * calendar/diary-lib.el (diary-loaddefs):
2485 * calendar/holidays.el (hol-loaddefs):
2486 * eshell/esh-module.el (esh-groups): Load rather than require.
2488 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2490 * calendar/todo-mode.el (todo-add-category): Don't hardcode
2492 (todo-top-priorities): Only display-buffer when called interactively.
2493 (todo-item-start): Don't save excursion point.
2494 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
2495 (todo-insert-item-here, todo-file-item, todo-remove-item):
2496 Adjust uses of todo-item-start and todo-item-end.
2498 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
2499 (autoload-rubric): Don't use any more.
2500 * cedet/semantic/fw.el (semantic/loaddefs):
2501 * cedet/srecode.el (srecode/loaddefs):
2502 * cedet/ede.el (ede/loaddefs): Load rather than require.
2503 * cedet/ede/cpp-root.el:
2504 * cedet/ede/emacs.el:
2505 * cedet/ede/files.el:
2506 * cedet/ede/linux.el:
2507 * cedet/ede/locate.el:
2508 * cedet/ede/make.el:
2509 * cedet/ede/shell.el:
2510 * cedet/ede/speedbar.el:
2511 * cedet/ede/system.el:
2512 * cedet/ede/util.el:
2513 * cedet/semantic/analyze.el:
2514 * cedet/semantic/bovine.el:
2515 * cedet/semantic/complete.el:
2516 * cedet/semantic/ctxt.el:
2517 * cedet/semantic/db-file.el:
2518 * cedet/semantic/db-find.el:
2519 * cedet/semantic/db-global.el:
2520 * cedet/semantic/db-mode.el:
2521 * cedet/semantic/db-typecache.el:
2522 * cedet/semantic/db.el:
2523 * cedet/semantic/debug.el:
2524 * cedet/semantic/dep.el:
2525 * cedet/semantic/doc.el:
2526 * cedet/semantic/edit.el:
2527 * cedet/semantic/find.el:
2528 * cedet/semantic/format.el:
2529 * cedet/semantic/html.el:
2530 * cedet/semantic/ia-sb.el:
2531 * cedet/semantic/ia.el:
2532 * cedet/semantic/idle.el:
2533 * cedet/semantic/lex-spp.el:
2534 * cedet/semantic/lex.el:
2535 * cedet/semantic/mru-bookmark.el:
2536 * cedet/semantic/scope.el:
2537 * cedet/semantic/senator.el:
2538 * cedet/semantic/sort.el:
2539 * cedet/semantic/symref.el:
2540 * cedet/semantic/tag-file.el:
2541 * cedet/semantic/tag-ls.el:
2542 * cedet/semantic/tag-write.el:
2543 * cedet/semantic/tag.el:
2544 * cedet/semantic/util-modes.el:
2545 * cedet/semantic/analyze/complete.el:
2546 * cedet/semantic/analyze/refs.el:
2547 * cedet/semantic/bovine/c.el:
2548 * cedet/semantic/bovine/gcc.el:
2549 * cedet/semantic/bovine/make.el:
2550 * cedet/semantic/bovine/scm.el:
2551 * cedet/semantic/decorate/include.el:
2552 * cedet/semantic/decorate/mode.el:
2553 * cedet/semantic/symref/cscope.el:
2554 * cedet/semantic/symref/global.el:
2555 * cedet/semantic/symref/grep.el:
2556 * cedet/semantic/symref/idutils.el:
2557 * cedet/semantic/symref/list.el:
2558 * cedet/semantic/wisent/java-tags.el:
2559 * cedet/semantic/wisent/javascript.el:
2560 * cedet/srecode/compile.el:
2561 * cedet/srecode/cpp.el:
2562 * cedet/srecode/document.el:
2563 * cedet/srecode/el.el:
2564 * cedet/srecode/expandproto.el:
2565 * cedet/srecode/getset.el:
2566 * cedet/srecode/insert.el:
2567 * cedet/srecode/java.el:
2568 * cedet/srecode/map.el:
2569 * cedet/srecode/mode.el:
2570 * cedet/srecode/template.el:
2571 * cedet/srecode/texi.el: Remove the file-local setting of
2572 generated-autoload-feature.
2574 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
2575 and only put a prop if it is non-nil.
2577 2009-11-03 Juri Linkov <juri@jurta.org>
2579 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
2580 (menu-bar-options-menu): Fix list quoting (Bug#4429).
2582 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
2583 and "Menu" to make top-level menu item visually one unit (like
2584 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
2585 multi-word menu items). Fix :help string for quit-window.
2587 2009-11-03 Glenn Morris <rgm@gnu.org>
2589 * cedet/mode-local.el (with-mode-local): Doc fix.
2591 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
2592 (byte-compile-file-form-define-abbrev-table)
2593 (byte-compile-file-form-custom-declare-variable)
2594 (byte-compile-variable-ref, byte-compile-defvar):
2595 Whether or not a warning is enabled should only affect whether we issue
2596 the warning, not whether or not we collect the relevant data.
2597 Eg warnings can be turned on and off throughout the course of a file.
2599 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
2600 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
2602 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2604 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
2605 * play/mpuz.el (mpuz-create-buffer):
2606 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
2607 (lm-print-y,s,noise, lm-print-w0, lm-init):
2608 * play/gomoku.el (gomoku-prompt-for-move):
2609 * play/fortune.el (fortune-in-buffer):
2610 * play/dissociate.el (dissociated-press):
2611 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
2612 (decipher-analyze-buffer, decipher-stats-buffer,decipher-stats-buffer):
2613 * mail/supercite.el (sc-eref-show):
2614 * mail/smtpmail.el (smtpmail-send-it):
2615 * mail/rmailsum.el (rmail-summary-next-labeled-message)
2616 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
2617 (rmail-summary-undelete-many, rmail-summary-rmail-update)
2618 (rmail-summary-goto-msg, rmail-summary-expunge)
2619 (rmail-summary-get-new-mail, rmail-summary-search-backward)
2620 (rmail-summary-add-label, rmail-summary-output-menu)
2621 (rmail-summary-output-body):
2622 * mail/rfc822.el (rfc822-addresses):
2623 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
2624 * mail/mailpost.el (post-mail-send-it):
2625 * mail/hashcash.el (hashcash-generate-payment):
2626 * mail/feedmail.el (feedmail-run-the-queue)
2627 (feedmail-queue-send-edit-prompt-help-first)
2628 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
2629 (feedmail-deduce-address-list):
2630 * eshell/esh-ext.el (eshell-remote-command):
2631 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
2632 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
2633 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
2634 (viper-save-string-in-file, viper-valid-marker):
2635 * emulation/viper-keym.el (viper-toggle-key):
2636 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
2637 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
2638 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
2639 * emulation/viper-cmd.el (viper-exec-form-in-vi)
2640 (viper-exec-form-in-emacs, viper-brac-function):
2641 * emulation/viper.el (viper-delocalize-var):
2642 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
2643 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
2644 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
2645 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
2646 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
2647 * emulation/edt.el (edt-electric-helpify):
2648 * emulation/cua-rect.el (cua--rectangle-aux-replace):
2649 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
2650 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
2651 (cua-indent-to-global-mark-column):
2652 * calendar/diary-lib.el (calendar-mark-1):
2653 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
2654 Use with-current-buffer.
2655 * emulation/viper.el (viper-delocalize-var): Use dolist.
2657 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
2659 * comint.el (comint-replace-by-expanded-history-before-point):
2660 Replace !! with the previous input string literally (Bug#1795).
2662 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
2664 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
2665 to be made up of whitespace.
2667 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
2669 * minibuffer.el (read-file-name): Don't use file dialogs for
2670 remote directories (Bug#99).
2672 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
2674 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
2676 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
2678 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
2679 instead of deleting the window or frame.
2681 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
2683 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
2684 Support face colors.
2686 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
2687 New function. Support face colors (Bug#1168).
2688 (tex-common-initialization): Use it.
2690 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
2691 mode allows it (Bug#1168).
2693 2009-10-31 Juri Linkov <juri@jurta.org>
2695 * facemenu.el (list-colors-display): Don't mark buffer as
2696 modified (Bug#3948).
2698 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
2700 * international/mule-diag.el (list-character-sets-1): Minor
2701 message fix (Bug#3526).
2703 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
2704 face property (Bug#4834).
2705 (etags-list-tags, etags-tags-apropos-additional)
2706 (etags-tags-apropos, tags-select-tags-table): Add follow-link
2709 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
2712 * cedet/cedet.el (cedet-menu-map): Remove Semantic and EDE menu
2715 * cedet/ede.el (ede-minor-mode):
2716 * cedet/semantic.el (semantic-mode): Toggle menu separators.
2718 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
2720 * textmodes/two-column.el (2C-split):
2721 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
2722 * textmodes/tex-mode.el (tex-set-buffer-directory):
2723 * textmodes/spell.el (spell-region, spell-string):
2724 * textmodes/reftex.el (reftex-erase-buffer):
2725 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
2726 * textmodes/reftex-toc.el (reftex-toc-promote-action):
2727 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
2728 (reftex-select-item):
2729 * textmodes/reftex-ref.el (reftex-label-info-update)
2730 (reftex-offer-label-menu):
2731 * textmodes/reftex-index.el (reftex-index-change-entry)
2732 (reftex-index-phrases-info):
2733 * textmodes/reftex-global.el (reftex-create-tags-file)
2734 (reftex-save-all-document-buffers, reftex-ensure-write-access):
2735 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
2736 (reftex-view-crossref-from-bibtex):
2737 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
2738 (reftex-extract-bib-entries-from-thebibliography)
2739 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
2740 * textmodes/refbib.el (r2b-capitalize-title):
2741 (r2b-convert-buffer, r2b-help):
2742 * textmodes/page-ext.el (pages-directory)
2743 (pages-directory-goto-with-mouse):
2744 * textmodes/bibtex.el (bibtex-validate-globally):
2745 * textmodes/bib-mode.el (bib-capitalize-title):
2746 * textmodes/artist.el (artist-clear-buffer, artist-system):
2747 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
2748 (local-set-scheme-interaction-buffer, xscheme-process-filter)
2749 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
2750 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
2751 (xscheme-send-control-g-interrupt, xscheme-start-process)
2752 (xscheme-process-sentinel, xscheme-cd):
2753 * progmodes/verilog-mode.el (verilog-read-always-signals)
2754 (verilog-set-define, verilog-getopt-file)
2755 (verilog-module-inside-filename-p):
2756 * progmodes/sh-script.el:
2757 * progmodes/python.el (python-pdbtrack-get-source-buffer)
2758 (python-pdbtrack-grub-for-buffer, python-execute-file):
2759 * progmodes/octave-inf.el (inferior-octave):
2760 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
2761 (idlwave-shell-compile-helper-routines, idlwave-set-local)
2762 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
2763 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
2764 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
2765 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
2766 (idlwave-shell-filter, idlwave-shell-examine-highlight)
2767 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
2768 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
2769 (idlwave-shell-examine-display, idlwave-shell-run-region)
2770 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
2771 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
2772 * progmodes/idlw-help.el (idlwave-help-get-special-help)
2773 (idlwave-help-get-help-buffer):
2774 * progmodes/gud.el (gud-basic-call, gud-find-class)
2775 (gud-tooltip-activate-mouse-motions-if-enabled):
2776 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
2777 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
2778 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
2779 (ebrowse-tags-next-file):
2780 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
2781 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
2782 (ebnf-eps-finish-and-write):
2783 * progmodes/cpp.el (cpp-edit-save):
2784 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
2785 * progmodes/cc-defs.el (c-emacs-features):
2786 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
2787 (antlr-directory-dependencies):
2788 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
2789 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
2790 (ada-find-any-references, ada-make-filename-from-adaname)
2791 (ada-make-body-gnatstub):
2792 * obsolete/rnews.el (news-list-news-groups):
2793 * obsolete/resume.el (resume-suspend-hook,resume-write-buffer-to-file):
2794 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
2795 * net/rcirc.el (rcirc-debug):
2796 * net/newst-treeview.el (newsticker--treeview-list-add-item)
2797 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
2798 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
2799 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
2800 (newsticker--treeview-tree-update-tag,newsticker--treeview-buffer-init)
2801 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
2802 (newsticker--treeview-list-clear-highlight)
2803 (newsticker--treeview-list-update-highlight)
2804 (newsticker--treeview-list-highlight-start)
2805 (newsticker--treeview-tree-update-highlight)
2806 (newsticker--treeview-get-selected-item)
2807 (newsticker-treeview-mark-list-items-old)
2808 (newsticker--treeview-set-current-node):
2809 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
2810 * net/newst-backend.el (newsticker--get-news-by-funcall)
2811 (newsticker--get-news-by-wget, newsticker--image-get)
2812 (newsticker--image-sentinel):
2813 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
2814 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
2815 (eudc-ph-close-session):
2816 * net/eudc.el (eudc-save-options):
2817 * language/thai-word.el (thai-update-word-table):
2818 * language/japan-util.el (japanese-string-conversion):
2819 * international/titdic-cnv.el (tsang-quick-converter)
2820 (ziranma-converter, ctlau-converter):
2821 * international/mule-cmds.el (describe-language-environment):
2822 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
2823 (skkdic-convert-postfix, skkdic-convert-prefix):
2824 (skkdic-convert-okuri-nasi, skkdic-convert):
2825 * emacs-lisp/re-builder.el (reb-update-overlays):
2826 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
2827 * emacs-lisp/gulp.el (gulp-send-requests):
2828 * emacs-lisp/find-gc.el (trace-call-tree):
2829 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
2830 (eieio-describe-generic):
2831 * emacs-lisp/eieio-base.el (eieio-persistent-read):
2832 * emacs-lisp/edebug.el (edebug-outside-excursion):
2833 * emacs-lisp/debug.el (debugger-make-xrefs):
2834 * emacs-lisp/cust-print.el (custom-prin1-to-string):
2835 * emacs-lisp/chart.el (chart-new-buffer):
2836 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
2837 Use with-current-buffer.
2838 * textmodes/artist.el (artist-system): Don't call
2839 copy-sequence on a fresh string.
2840 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
2842 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
2844 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
2845 is no item to edit. (Bug#4820)
2846 (todo-top-priorities): Restore point and restore narrowing in Todo
2849 2009-10-31 Glenn Morris <rgm@gnu.org>
2851 * net/ange-ftp.el (top-level): Don't require dired when compiling.
2852 (comint-last-output-start, comint-last-input-start)
2853 (comint-last-input-end): Don't defvar when compiling.
2854 (ange-ftp-process-file): Use bound-and-true-p.
2856 * pcmpl-rpm.el (top-level): Move provide statement to end.
2857 (pcmpl-rpm): Remove unused custom group.
2859 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
2861 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
2863 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
2864 (byte-compile-warnings): Add `constants' as an option.
2865 (byte-compile-callargs-warn, byte-compile-arglist-warn)
2866 (display-call-tree): Update for byte-compile-fdefinition possibly
2867 returning `(macro lambda ...)'. (Bug#4778)
2868 (byte-compile-variable-ref, byte-compile-setq-default):
2869 Respect `constants' member of byte-compile-warnings.
2871 * cedet/semantic/tag.el (semantic--tag-link-list-to-buffer):
2872 Use mapc rather than mapcar because the return value is never used.
2874 * cedet/srecode/template.el, cedet/semantic/wisent/javascript.el:
2875 * cedet/semantic/wisent/java-tags.el, cedet/semantic/texi.el:
2876 * cedet/semantic/html.el:
2877 Suppress harmless warnings about setting up semantic-imenu (not
2878 part of Emacs) variables.
2880 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
2882 * vc-bzr.el (vc-bzr-revision-keywords): New var.
2883 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
2886 * cedet/srecode/srt-mode.el (semantic-analyze-possible-completions):
2887 * cedet/semantic/symref/list.el (semantic-symref-rb-toggle-expand-tag):
2888 * cedet/semantic/symref/grep.el (semantic-symref-perform-search):
2889 * cedet/semantic/bovine/gcc.el (semantic-gcc-query):
2890 * cedet/semantic/bovine/c.el (semantic-c-parse-lexical-token):
2891 * cedet/semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons)
2892 (semantic-analyzer-debug-global-symbol)
2893 (semantic-analyzer-debug-missing-innertype)
2894 (semantic-analyzer-debug-insert-include-summary):
2895 * cedet/semantic/util.el (semantic-file-tag-table):
2896 (semantic-describe-buffer-var-helper, semantic-something-to-tag-table)
2897 (semantic-recursive-find-nonterminal-by-name):
2898 * cedet/semantic/tag-ls.el (semantic-tag-calculate-parent-default):
2899 * cedet/semantic/tag-file.el (semantic-prototype-file):
2900 * cedet/semantic/symref.el (semantic-symref-parse-tool-output):
2901 * cedet/semantic/sb.el (semantic-sb-fetch-tag-table):
2902 * cedet/semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
2903 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer):
2904 (semantic-idle-summary-maybe-highlight):
2905 * cedet/semantic/ia-sb.el (semantic-ia-speedbar)
2906 (semantic-ia-sb-tag-info):
2907 * cedet/semantic/grammar.el (semantic-analyze-possible-completions):
2908 * cedet/semantic/find.el (semantic-brute-find-tag-by-position):
2909 * cedet/semantic/ede-grammar.el (project-compile-target):
2910 (ede-proj-makefile-insert-variables):
2911 * cedet/semantic/debug.el (semantic-debug-set-parser-location):
2912 (semantic-debug-set-source-location, semantic-debug-interface-layout)
2913 (semantic-debug-mode, semantic-debug):
2914 * cedet/semantic/db.el (semanticdb-needs-refresh-p):
2915 * cedet/semantic/db-typecache.el (semanticdb-typecache-refresh-for-buffer):
2916 * cedet/semantic/db-javascript.el (semanticdb-equivalent-mode):
2917 * cedet/semantic/db-find.el (semanticdb-find-log-new-search)
2918 (semanticdb-find-translate-path-includes--internal)
2919 (semanticdb-reset-log, semanticdb-find-log-activity):
2920 * cedet/semantic/db-file.el (object-write):
2921 * cedet/semantic/db-el.el (semanticdb-equivalent-mode):
2922 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-C-file-p)
2923 (semanticdb-create-ebrowse-database):
2924 * cedet/semantic/db-debug.el (semanticdb-table-sanity-check):
2925 * cedet/semantic/complete.el (semantic-displayor-focus-request)
2926 (semantic-collector-calculate-completions-raw)
2927 (semantic-complete-read-tag-analyzer):
2928 * cedet/semantic/analyze.el (semantic-analyze-pulse):
2929 * cedet/ede/util.el (ede-update-version-in-source):
2930 * cedet/ede/proj.el (project-delete-target):
2931 * cedet/ede/proj-elisp.el (ede-update-version-in-source)
2932 (ede-proj-flush-autoconf):
2933 * cedet/ede/pconf.el (ede-proj-configure-synchronize)
2934 (ede-proj-configure-synchronize):
2935 * cedet/ede/locate.el (ede-locate-file-in-project-impl):
2936 * cedet/ede/linux.el (ede-linux-version):
2937 * cedet/ede/emacs.el (ede-emacs-version):
2938 * cedet/ede/dired.el (ede-dired-add-to-target):
2939 * cedet/ede.el (ede-buffer-header-file, ede-find-target)
2940 (ede-buffer-documentation-files, ede-project-buffers, ede-set)
2941 (ede-target-buffers, ede-buffers, ede-make-project-local-variable):
2942 * cedet/cedet-idutils.el (cedet-idutils-fnid-call):
2943 (cedet-idutils-lid-call, cedet-idutils-expand-filename)
2944 (cedet-idutils-version-check):
2945 * cedet/cedet-global.el (cedet-gnu-global-call):
2946 (cedet-gnu-global-expand-filename, cedet-gnu-global-root)
2947 (cedet-gnu-global-version-check, cedet-gnu-global-scan-hits):
2948 * cedet/cedet-cscope.el (cedet-cscope-call)
2949 (cedet-cscope-expand-filename, cedet-cscope-version-check):
2950 Use with-current-buffer.
2951 * cedet/ede.el (ede-make-project-local-variable)
2952 (ede-set-project-variables, ede-set): Use dolist.
2954 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
2956 * textmodes/ispell.el (ispell-skip-region-alist):
2957 * international/mule-conf.el (eight-bit):
2958 * international/fontset.el (font-encoding-alist):
2959 * startup.el (pure-space-overflow-message):
2960 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
2961 * paths.el (gnus-nntp-service, rmail-spool-directory)
2963 * files.el (save-some-buffers-action-alist):
2964 * cmuscheme.el (same-window-buffer-names):
2965 * ielm.el (same-window-buffer-names):
2966 * shell.el (same-window-buffer-names):
2967 * mail/sendmail.el (same-window-buffer-names):
2968 * progmodes/inf-lisp.el (same-window-buffer-names):
2969 * bindings.el (mode-line-client)
2970 (mode-line-column-line-number-mode-map):
2971 * language/tibetan.el (tibetan-precomposition-rule-regexp)
2972 (tibetan-precomposed-regexp): Purecopy string arguments.
2974 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
2976 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
2977 (calcDigit-nondigit):
2978 * calc/calc-yank.el (calc-copy-to-buffer):
2979 * calc/calc-units.el (calc-invalidate-units-table):
2980 * calc/calc-trail.el (calc-trail-yank):
2981 * calc/calc-store.el (calc-insert-variables):
2982 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
2983 * calc/calc-prog.el (calc-read-parse-table):
2984 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
2985 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
2986 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
2987 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
2988 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
2989 (calc-graph-name, calc-graph-find-command, calc-graph-view)
2990 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
2991 * calc/calc-ext.el (calc-realign):
2992 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
2993 (calc-embedded-finish-edit, calc-embedded-make-info)
2994 (calc-embedded-finish-command, calc-embedded-stack-change):
2995 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
2997 * cedet/mode-local.el (make-obsolete-overload): Add `when' argument.
2998 (overload-docstring-extension): Use that info.
2999 * cedet/semantic/fw.el (semantic-alias-obsolete): Pass the `when' info.
3000 * cedet/semantic/idle.el (semantic-eldoc-current-symbol-info):
3001 * cedet/semantic/tag-ls.el (semantic-nonterminal-protection)
3002 (semantic-nonterminal-abstract, semantic-nonterminal-leaf)
3003 (semantic-nonterminal-full-name): Add the new `when' info.
3004 * cedet/semantic/decorate/mode.el (semantic/decorate): Require CL for
3007 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
3008 shell-dynamic-complete-filename in preference to
3009 comint-dynamic-complete-filename.
3011 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
3012 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
3013 Don't consider whether the display supports colors.
3014 (bookmark-import-new-list): Use dolist.
3015 (bookmark-bmenu-mode-map): Move initialization into declaration.
3016 (bookmark-bmenu-list): Use dolist, simplify.
3017 (bookmark-show-all-annotations): Use save-selected-window and dolist.
3018 (menu-bar-final-items): Use push.
3020 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
3022 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
3023 it works on remote files.
3024 (vc-hg-diff): Don't pass any `--cwd' argument.
3026 2009-10-27 Kevin Ryde <user42@zip.com.au>
3028 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
3029 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
3030 (Further to Bug#3921).
3032 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
3034 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
3035 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
3036 calling `tramp-imap-put-file'. Add file size to the call.
3037 (tramp-imap-get-file-entries): Compute also user name, file size,
3039 (tramp-imap-handle-insert-directory): Insert uid and gid.
3040 (tramp-imap-handle-file-attributes): Transform uid and gid
3041 according to `id-format'.
3042 (tramp-imap-put-file): New optional parameter SIZE. Encode file
3043 size in header X-Size.
3045 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
3047 * simple.el (transpose-subr): Give clearer error when the mark
3048 is not set. (Bug#4807)
3050 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
3052 * net/tramp.el (tramp-perl-file-truename): New defconst.
3053 Perl code contributed by yary <not.com@gmail.com> (tiny change).
3054 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
3055 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
3056 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
3058 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
3059 Ignore `dired-call-process'.
3060 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
3062 2009-10-26 Julian Scheid <julians37@gmail.com>
3064 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
3065 (tramp-get-remote-readlink): New defun.
3066 (tramp-handle-file-truename): Use it.
3067 (tramp-handle-file-exists-p): Check file-attributes cache, assume
3068 file exists if cache value present.
3069 (tramp-check-cached-permissions) New defun.
3070 (tramp-handle-file-readable-p): Use it.
3071 (tramp-handle-file-writable-p): Likewise.
3072 (tramp-handle-file-executable-p): Likewise.
3073 (tramp-handle-file-name-all-completions): Try using Perl to get
3074 partial completions. When perl not available, combine `cd' and
3075 `ls' into single remote operation and use shell expansion to get
3076 partial remote directory contents. Set `file-exists-p' cache for
3077 directory and any files returned by ls. Change cache handling to
3078 support partial directory contents. Use error message emitted by
3079 remote `cd' or Perl code for local tramp-error.
3080 (tramp-do-copy-or-rename-file-directly): Avoid separate
3081 tramp-send-command-and-check call.
3082 (tramp-handle-process-file): Merge three remote ops into one.
3083 Do not flush all caches when `process-file-side-effects' is set.
3084 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
3085 file-attributes shows uid/gid to be set already.
3087 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
3089 * textmodes/tex-mode.el (tex-dvi-view-command)
3090 (tex-show-queue-command, tex-open-quote):
3091 * progmodes/ruby-mode.el (auto-mode-alist)
3092 (interpreter-mode-alist): Purecopy strings.
3094 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
3096 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
3097 string for the hook, keymap and abbrev table.
3099 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
3101 * x-dnd.el (x-dnd-xdnd-to-action):
3102 * startup.el (fancy-startup-text, fancy-about-text): Change to
3103 defconst from defvar.
3105 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
3107 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
3108 Purecopy initialization strings.
3110 * mail/sendmail.el (mail-header-separator)
3111 (mail-personal-alias-file):
3112 * mail/rmail.el (rmail-default-dont-reply-to-names)
3113 (rmail-ignored-headers, rmail-retry-ignored-headers)
3114 (rmail-highlighted-headers, rmail-secondary-file-directory)
3115 (rmail-secondary-file-regexp):
3116 * files.el (null-device, file-name-invalid-regexp)
3117 (locate-dominating-stop-dir-regexp)
3118 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
3119 (interpreter-mode-alist): Use mapcar instead of mapc.
3121 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
3123 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
3124 (completion-ignored-extensions):
3125 (debug-ignored-errors): Purecopy strings.
3127 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3129 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
3130 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
3131 (pcomplete--here): Use push.
3133 * subr.el (all-completions): Declare the 4th arg obsolete.
3135 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3137 * pcomplete.el (pcomplete-unquote-argument-function): New var.
3138 (pcomplete-unquote-argument): New function.
3139 (pcomplete--common-suffix): Always pay attention to case.
3140 (pcomplete--table-subvert): Quote and unquote the text.
3141 (pcomplete--common-quoted-suffix): New function.
3142 (pcomplete-std-complete): Use it and pcomplete-begin.
3144 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
3145 we're inside a dedicated or minibuffer window.
3147 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3149 * cedet/semantic/fw.el (semantic-alias-obsolete)
3150 (semantic-varalias-obsolete): Make the `when' arg mandatory.
3151 (define-mode-overload-implementation):
3152 * cedet/semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks):
3153 * cedet/semantic/wisent.el (wisent-lex-make-token-table):
3154 * cedet/semantic/util.el (semantic-file-token-stream)
3155 (semantic-something-to-stream):
3156 * cedet/semantic/tag.el (semantic-tag-make-assoc-list)
3157 (semantic-expand-nonterminal):
3158 * cedet/semantic/tag-file.el (semantic-find-nonterminal)
3159 (semantic-find-dependency, semantic-find-nonterminal)
3160 (semantic-find-dependency):
3161 * cedet/semantic/lex.el (semantic-flex-start, semantic-flex-end)
3162 (semantic-flex-text, semantic-flex-make-keyword-table)
3163 (semantic-flex-keyword-p, semantic-flex-keyword-put)
3164 (semantic-flex-keyword-get, semantic-flex-map-keywords)
3165 (semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list):
3166 * cedet/semantic/java.el (semantic-java-prototype-nonterminal):
3167 * cedet/semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks)
3168 (semantic-after-idle-scheduler-reparse-hooks):
3169 * cedet/semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks):
3170 * cedet/semantic/db-mode.el (semanticdb-mode-hooks):
3171 * cedet/semantic.el (semantic-toplevel-bovine-table)
3172 (semantic-toplevel-bovine-cache)
3173 (semantic-before-toplevel-bovination-hook, semantic-init-hooks)
3174 (semantic-init-mode-hooks, semantic-init-db-hooks)
3175 (semantic-bovination-working-type): Provide the `when' arg.
3177 2009-10-24 Karl Fogel <kfogel@red-bean.com>
3179 * bookmark.el: Update documentation, especially documentation
3180 of `bookmark-alist' and of the bookmark file format.
3181 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
3183 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
3185 * mail/emacsbug.el (report-emacs-bug): Clarify that the
3186 keybindings apply to the mail buffer (Bug#4003). Shrink help
3189 * whitespace.el (whitespace-mode, whitespace-newline-mode)
3190 (global-whitespace-mode, global-whitespace-newline-mode)
3191 (whitespace-toggle-options, global-whitespace-toggle-options):
3194 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
3195 of xmltok-start before the end tag was inserted (Bug#2840).
3197 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
3198 patterns that are preceded by an open-paren (Bug#1320).
3200 2009-10-24 Sven Joachim <svenjoac@gmx.de>
3202 * files.el (delete-directory): Delete symlinks to directories with
3203 delete-file (Bug#4739).
3205 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
3207 * cedet/semantic/util.el (semantic-recursive-find-nonterminal-by-name):
3208 * cedet/semantic/tag.el (semantic-token-type-parent): Add WHEN
3209 argument to make-obsolete.
3211 * cedet/semantic/fw.el (semantic-alias-obsolete)
3212 (semantic-varalias-obsolete): Add optional WHEN argument.
3214 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
3216 * vc.el (vc-backend-for-registration): Rename from
3217 vc-get-backend-for-registration. Update callers.
3219 * international/mule-cmds.el (set-language-info-alist):
3221 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
3222 (charset): Purecopy the name.
3223 (define-char-code-property): Purecopy string arguments.
3225 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
3226 Purecopy string arguments.
3228 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
3229 * ediff-hook.el (menu-bar-ediff-menu):
3230 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
3231 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
3233 2009-10-24 Glenn Morris <rgm@gnu.org>
3235 * comint.el (comint-dynamic-list-completions):
3236 * term.el (term-dynamic-list-completions): Use choose-completion rather
3237 than obsolete alias mouse-choose-completion.
3239 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
3240 file-cache-choose-completion.
3241 (file-cache-choose-completion): Handle an optional event argument.
3242 (file-cache-mouse-choose-completion): Make it an obsolete alias.
3244 * progmodes/octave-mod.el (octave-complete-symbol):
3245 Use choose-completion if mouse-choose-completion is ever removed.
3247 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
3250 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
3253 * vc-hooks.el (vc-responsible-backend): Fix declaration.
3255 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3257 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
3258 Ignore `pred' now that we receive one.
3259 Handle test-completion specially.
3261 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
3263 * vc.el (vc-responsible-backend): Throw an error if not backend is
3264 found. Remove the REGISTER argument. Move the code dealing with
3266 (vc-get-backend-for-registration): ... here. New function.
3267 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
3268 of vc-responsible-backend, pass the file name instead of the
3271 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3273 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
3275 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
3276 (pcomplete-comint-setup): Don't modify a global var via
3277 accidental side-effects.
3278 (pcomplete-shell-setup): Adjust call accordingly.
3279 (pcomplete-parse-comint-arguments): Use push.
3281 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
3283 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
3284 Allow uncapitalized info node names (Bug#3921).
3286 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
3287 to the DEBUG file (Bug#3781).
3289 2009-10-23 Jari Aalto <jari.aalto@cante.net>
3291 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
3292 dictionary entry (Bug#4579).
3294 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
3296 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
3297 from `rfn-eshadow-update-overlay-hook' when unloading.
3298 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
3299 "rsyncc". Adjust doc string.
3300 (tramp-temp-buffer-file-name) New buffer-local defvar.
3301 (tramp-handle-insert-file-contents, tramp-handle-write-region):
3302 Keep temporary file when indicated by method ("rsync" and
3304 (tramp-handle-write-region): Handle APPEND.
3305 (tramp-delete-temp-file-function): New defun. Added to
3308 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
3310 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
3312 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
3314 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
3315 (color-name-rgb-alist, tty-standard-colors)
3316 (tty-color-mode-alist): Change to defconst.
3318 * simple.el (mark-inactive): Purecopy message.
3320 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
3321 (global-map, yank-menu):
3322 * textmodes/ispell.el (ispell-menu-map):
3323 * net/eudc.el (eudc-tools-menu):
3324 * international/mule-cmds.el (describe-language-environment-map)
3325 (setup-language-environment-map, set-coding-system-map)
3327 * vc-hooks.el (vc-menu-entry, vc-menu-map):
3328 * replace.el (occur-mode-map):
3329 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
3331 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
3333 * calc/calc.el (math-read-number, math-read-number-simple): Use
3336 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3338 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
3339 rather than fiddling with global-map bindings, since it should only
3340 affect per-terminal settings.
3341 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
3343 * minibuffer.el (completion-table-with-terminator): Allow to specify
3344 the terminator-regexp.
3346 * simple.el (switch-to-completions): Look for *Completions* in other
3349 * pcomplete.el: Allow the use of completion-tables.
3350 (pcomplete-std-complete): New command.
3351 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
3352 (pcomplete--here): Use a function for `form' rather than an expression,
3353 so it can be byte-compiled.
3354 (pcomplete-here, pcomplete-here*): Adjust accordingly.
3355 Add edebug declaration.
3356 (pcomplete-show-completions): Remove unused var `curbuf'.
3357 (pcomplete-do-complete, pcomplete-stub):
3358 Don't assume `completions' is a list of strings any more.
3360 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
3362 * find-dired.el (find-name-arg): Fix typo in docstring.
3364 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3366 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
3367 (pcmpl-linux-fs-types): Same, and update to new modules layout.
3369 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
3372 * comint.el (comint-read-input-ring, comint-write-input-ring)
3373 (comint-substitute-in-file-name)
3374 (comint-dynamic-complete-as-filename)
3375 (comint-dynamic-simple-complete)
3376 (comint-dynamic-list-filename-completions)
3377 (comint-dynamic-list-completions)
3378 (comint-redirect-results-list-from-process): Minor simplifications.
3380 2009-10-21 Kevin Ryde <user42@zip.com.au>
3382 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
3383 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
3384 the first form. And insert a blank line after ";;; Code" since
3385 that's usual style. (Bug#4612)
3387 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
3389 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3391 * minibuffer.el (completion-table-with-terminator): Properly implement
3392 boundaries, in case `terminator' appears in the suffix.
3393 (completion--embedded-envvar-table): Don't return boundaries if
3394 there's no valid completion. Simplify.
3395 (completion-file-name-table): New completion table extracted from
3396 completion--file-name-table.
3397 (completion--file-name-table): Use it.
3398 (read-file-name-predicate): Declare obsolete.
3399 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
3400 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
3401 completion-file-name-table, and use the `pred' argument.
3402 * files.el (locate-file-completion-table): Use the `pred' arg rather
3403 than read-file-name-predicate.
3404 (abbreviate-file-name): Use \` rather than ^ for BOS.
3406 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
3408 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
3409 vc-responsible-backend to register, it causes problems.
3411 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3413 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
3415 2009-10-21 Eric Ludlam <zappo@gnu.org>
3417 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init)
3418 (semantic-c-debug-mode-init-pch): New functions.
3419 (semantic-c-debug-mode-init-last-mode): New var.
3420 (semantic-c-parse-lexical-token): Use them.
3422 * cedet/semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace):
3423 When extracting the argument list, limit only by point-max.
3425 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
3427 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
3428 (tramp-smb-handle-file-attributes): Use it.
3429 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
3430 (tramp-smb-handle-insert-directory): Use `mapc' rather than
3431 `mapcar'. Use `tramp-smb-get-stat-capability'.
3432 Add `dired-filename' text properties.
3433 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
3434 (tramp-smb-maybe-open-connection): Simplify check for smbclient
3437 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
3439 * subr.el (read-key-delay): Reduce to 0.01.
3440 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
3443 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3445 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
3447 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
3448 (Info-menu): Remove unused vars `last' and `completions'.
3449 (Info-index-nodes): Remove unused var `node'.
3451 * info.el (Info-complete-menu-item): Use complete-with-action.
3453 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
3455 Make vc-annotate work through copies and renames.
3456 * vc-annotate.el (vc-annotate-extract-revision-at-line):
3457 Return the file name too.
3458 (vc-annotate-revision-at-line)
3459 (vc-annotate-find-revision-at-line)
3460 (vc-annotate-revision-previous-to-line)
3461 (vc-annotate-show-log-revision-at-line): Update to get the file
3462 name from vc-annotate-extract-revision-at-line.
3463 (vc-annotate-show-diff-revision-at-line-internal): Change the
3464 argument to mean whether to show a file diff or not. Get the file
3465 name from vc-annotate-extract-revision-at-line.
3466 (vc-annotate-show-diff-revision-at-line):
3467 Update vc-annotate-show-diff-revision-at-line call.
3468 (vc-annotate-warp-revision): Add an optional file argument.
3470 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
3471 (vc-git-annotate-extract-revision-at-line): Also return the file
3474 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
3475 command. Remove unused code.
3476 (vc-hg-annotate-re): Update to match --follow output.
3477 (vc-hg-annotate-extract-revision-at-line): Also return the file
3480 * vc.el: Update annotate-extract-revision-at-line documentation.
3482 2009-10-18 Kevin Ryde <user42@zip.com.au>
3484 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
3485 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
3487 * net/browse-url.el (browse-url): Identify alist with "consp and
3488 not functionp" and let all other things go down the `apply' leg,
3489 as suggested by Stefan. (Further to bug#4531.)
3491 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
3493 * minibuffer.el (read-file-name): Check for repeat before putting
3494 a default argument in file-name-history (Bug#4657).
3496 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
3497 read syntax (Bug#4737).
3499 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
3501 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3503 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
3504 (html-tag-alist, html-tag-help): Add descriptions for undocumented
3505 entries and make note of obsolete tags.
3507 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3509 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
3511 2009-10-18 Glenn Morris <rgm@gnu.org>
3513 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
3514 grep, so that binary files (eg international/uni-bidi.el) can match.
3515 Remove test for "UnicodeData" files, since it is hopefully unnecessary
3516 now, and in any case the file header format has changed.
3518 2009-10-17 Glenn Morris <rgm@gnu.org>
3520 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
3521 (flyspell-get-word, flyspell-large-region)
3522 (flyspell-auto-correct-previous-word): Doc/error message fixes.
3524 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
3526 * Makefile.in (ELCFILES): Add ede/shell.
3528 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
3530 * term/common-win.el (x-colors): Purecopy it.
3532 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3534 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
3535 permissive for when the buffer is empty.
3536 (tar-header-block-tokenize): Decode the username and groupname.
3537 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
3539 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
3541 * cedet/srecode/srt.el:
3542 * cedet/srecode/compile.el:
3543 * cedet/semantic/mru-bookmark.el:
3544 * cedet/semantic/debug.el:
3545 * cedet/semantic/complete.el:
3546 * cedet/semantic/analyze.el: Require CL when compiling.
3548 2009-10-17 Eric Ludlam <zappo@gnu.org>
3550 * cedet/semantic/scope.el
3551 (semantic-analyze-scoped-inherited-tag-map): Wrap calculation of
3552 tmpscope so that the regular scope will continue to work.
3554 * cedet/semantic/idle.el (semantic-idle-tag-highlight):
3555 Use semantic-idle-summary-highlight-face as the highlighting.
3557 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
3558 contains multibyte characters, choose first applicable coding
3559 system automatically.
3561 * cedet/ede/project-am.el (project-run-target): New method.
3562 (project-run-target): New method.
3564 * cedet/ede.el (ede-target): Add run target menu item.
3565 (ede-project, ede-minor-keymap): Add ede-run-target binding.
3566 (ede-run-target): New function.
3567 (ede-target::project-run-target): New method.
3569 * cedet/ede/proj.el (project-run-target): New method.
3571 * cedet/ede/proj-shared.el (ede-gcc-libtool-shared-compiler)
3572 (ede-g++-libtool-shared-compiler): Remove SHELL. Remove COMMANDS.
3574 (ede-proj-target-makefile-shared-object): Only libtool compilers
3575 now available. Add linkers for libtool.
3576 (ede-cc-linker-libtool, ede-g++-linker-libtool): New.
3577 (ede-proj-makefile-target-name): Always use .la extension.
3579 * cedet/ede/proj-prog.el (project-run-target): New method.
3581 * cedet/ede/proj-obj.el (ede-cc-linker): Rename from ede-gcc-linker.
3582 (ede-g++-linker): Change Change link lines.
3584 * cedet/ede/pmake.el (ede-pmake-insert-variable-shared):
3585 When searching for old variables, go to the end of the buffer and
3586 search backward from there.
3587 (ede-proj-makefile-automake-insert-subdirs)
3588 (ede-proj-makefile-automake-insert-extradist): New methods.
3589 (ede-proj-makefile-create): Use them.
3591 * cedet/ede/pconf.el (ede-proj-configure-test-required-file):
3592 Force FILE to expand to the current target. Use file-exists-p to
3593 check that it exists.
3595 * cedet/ede/linux.el (ede-linux-version): Don't call "head".
3596 (ede-linux-load): Wrap dir in file-name-as-directory.
3599 * cedet/ede/files.el (ede-get-locator-object): When enabling
3600 locate, do so on "top".
3602 * cedet/ede/emacs.el (ede-emacs-file-existing): Wrap "dir" in
3603 file-name-as-directory during compare.
3604 (ede-emacs-version): Return Emacs/XEmacs differentiator.
3605 Get version number from different places. Don't call egrep.
3606 (ede-emacs-load): Set :version slot. Call file-name-as-directory
3607 to set the directory.
3609 * cedet/ede/shell.el: New file.
3611 * cedet/inversion.el (inversion-decoders): Allow for stray . in
3612 alpha/beta variants.
3614 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
3616 * international/mule-cmds.el (select-safe-coding-system): If the file
3617 has a coding cookie, use it regardless of any other setting (bug#4712).
3619 2009-10-17 Glenn Morris <rgm@gnu.org>
3621 * cedet/semantic/grammar.el (semantic-grammar--lex-delim-spec):
3622 All errors should have messages.
3624 * foldout.el (foldout-mouse-swallow-events):
3625 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
3627 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
3628 (dired-keep-marker-copy, dired-keep-marker-hardlink)
3629 (dired-keep-marker-symlink, dired-dwim-target)
3630 (dired-copy-preserve-time): Do not autoload these defcustoms.
3632 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
3633 messages from messing up the file coding. (Bug#4623)
3635 2009-10-17 Jari Aalto <jari.aalto@cante.net>
3637 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
3638 if no match is found for the current dictionary. (Bug#4578)
3640 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
3641 optional, since that is how it is documented, and this is often called
3642 with a nil argument. (Bug#4577)
3643 (flyspell-external-point-words, flyspell-auto-correct-word)
3644 (flyspell-correct-word-before-point, flyspell-word-search-forward)
3645 (flyspell-word-search-backward): Remove nil argument in calls to
3646 flyspell-get-word, since it is not needed now.
3648 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
3650 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
3652 2009-10-16 Glenn Morris <rgm@gnu.org>
3654 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
3656 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
3658 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
3659 (ange-ftp-file-size): New function.
3660 (ange-ftp-file-attributes): Use it.
3662 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
3664 * net/tramp-smb.el (tramp-smb-version): New defvar.
3665 (tramp-smb-maybe-open-connection): Use it, in order to avoid
3668 2009-10-16 Glenn Morris <rgm@gnu.org>
3670 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
3671 Maybe copy some custom properties from old to new name. (Bug#4706)
3673 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
3675 * subr.el (error, sit-for, start-process-shell-command)
3676 (start-file-process-shell-command): Set the calling convention
3677 after the function definition.
3679 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
3681 * subr.el (error, sit-for, start-process-shell-command)
3682 (start-file-process-shell-command): Use the new
3683 set-advertised-calling-convention feature.
3685 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
3687 * international/ucs-normalize.el (ucs-normalize-version):
3689 (check-range): Adjust for Unicode 5.2.
3691 2009-10-15 Juri Linkov <juri@jurta.org>
3693 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
3694 to the `menu-item' format.
3696 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
3698 * net/tramp.el (tramp-replace-environment-variables): Do not fail
3699 if the environment variable does not exist.
3701 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
3702 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
3704 (tramp-smb-handle-add-name-to-file)
3705 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
3706 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
3707 (tramp-smb-handle-file-attributes)
3708 (tramp-smb-do-file-attributes-with-stat)
3709 (tramp-smb-handle-file-local-copy)
3710 (tramp-smb-handle-insert-directory)
3711 (tramp-smb-handle-make-directory)
3712 (tramp-smb-handle-make-directory-internal)
3713 (tramp-smb-handle-make-symbolic-link)
3714 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
3715 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
3716 (tramp-smb-maybe-open-connection): Apply the changed parameters.
3717 (tramp-smb-read-file-entry): Read Disk names in compressed format.
3718 Handle long file names.
3719 (tramp-smb-get-cifs-capabilities): Check, whether the connection
3721 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
3722 Read share names with "-g" option.
3724 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
3726 * net/rcirc.el (rcirc-view-log-file): New command.
3727 (rcirc-track-minor-mode-map): Remove C-c ` binding.
3728 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
3731 2009-10-15 Glenn Morris <rgm@gnu.org>
3733 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
3734 from the second command-line argument.
3735 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
3736 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
3737 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
3738 w32-batch-update-autoloads.
3739 * emacs-lisp/autoload.el (autoload-make-program): New variable.
3740 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
3742 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
3743 the headers cannot be located. Simplify, subtracting superflous
3746 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
3748 Replace completion-base-size by completion-base-position to fix bugs
3750 * simple.el (completion-base-position): New var.
3751 (completion-base-size): Mark as obsolete.
3752 (choose-completion): Make it work for mouse events as well.
3753 Pass the new base-position to choose-completion-string.
3754 (choose-completion-guess-base-position): New function, extracted from
3755 choose-completion-delete-max-match.
3756 (choose-completion-delete-max-match): Use it. Make obsolete.
3757 (choose-completion-string): Use the new base-position info.
3758 (completion-root-regexp): Delete.
3759 (completion-setup-function): Preserve completion-base-position.
3760 Eliminate obsolete base-size manipulation.
3761 * minibuffer.el (display-completion-list): Don't mess with base-size.
3762 (minibuffer-completion-help): Set completion-base-position instead.
3763 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
3765 * textmodes/bibtex.el (bibtex-complete):
3766 * emacs-lisp/crm.el (crm--choose-completion-string):
3767 Adjust to new calling convention.
3768 * complete.el (partial-completion-mode): Use minibufferp to avoid
3769 bumping into incompatible change to choose-completion-string-functions.
3770 * ido.el (ido-choose-completion-string): Make its calling convention
3772 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
3773 base-size manipulation.
3774 (comint-dynamic-list-input-ring): Use dotimes and push.
3775 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
3776 fundamental-mode. Use `or'.
3778 2009-10-14 Juri Linkov <juri@jurta.org>
3780 * misearch.el (multi-isearch-next-buffer-from-list)
3781 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
3783 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3785 * Makefile.in (compile-onefile): Load `bytecomp' rather than
3788 * minibuffer.el (completion-pcm--merge-completions): Make sure the
3789 string we return is all made up of text from the completions rather
3790 than part from the completions and part from the input (bug#4219).
3792 * ido.el (ido-everywhere): Use define-minor-mode.
3794 * buff-menu.el (list-buffers, ctl-x-map):
3795 Mark the entry points with ;;;###autoload cookies.
3797 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
3799 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
3800 correctly in the detached head case.
3801 (vc-git-print-log): Remove unused binding.
3803 * vc.el (vc-responsible-backend): When a directory is passed for
3804 for registration create a VC repository if no backend is
3805 responsible for the directory argument.
3806 (vc-deduce-fileset): Tell vc-responsible-backend to register.
3808 * vc.el: Move comments about RCS and SCCS ...
3810 * vc-sccs.el: ... here, respectively.
3812 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
3814 * minibuffer.el (completion--file-name-table): Return nil if there's
3815 no file completion, even if substitute-in-file-name changed
3816 the string (bug#4708).
3818 2009-10-13 Juri Linkov <juri@jurta.org>
3820 * files-x.el (read-file-local-variable-value): Don't filter out
3821 minor modes from mode name completion (bug#4664).
3823 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
3825 * international/mule-cmds.el (ucs-names): Remove exclusion of
3826 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
3828 2009-10-13 Kenichi Handa <handa@m17n.org>
3830 * international/uni-name.el: Regenerated.
3832 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
3834 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
3835 should be automatically buffer-local, but isn't.)
3837 2009-10-12 Sam Steingold <sds@gnu.org>
3839 * progmodes/compile.el (compilation-next-error-function): Fix the
3840 timestamps if the buffer has been visited before.
3841 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
3842 non-anchored patterns, like the perl one (bug#3928).
3844 2009-10-12 Glenn Morris <rgm@gnu.org>
3846 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
3849 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
3851 * proced.el (proced-unload-function): New function.
3853 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
3854 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
3857 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
3859 2009-10-11 Juri Linkov <juri@jurta.org>
3861 * files-x.el (read-file-local-variable-value):
3862 Provide default value only for bound variables (bug#4664).
3864 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
3866 * net/tramp.el (tramp-local-host-p): Function shall return nil for
3867 connection methods like smb.
3869 * net/tramp-cache.el (tramp-flush-connection-property): The hash
3872 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
3873 (tramp-smb-file-name-handler-alist): Add handlers for
3874 `add-name-to-file', `make-symbolic-link'.
3875 (tramp-smb-handle-add-name-to-file)
3876 (tramp-smb-do-file-attributes-with-stat)
3877 (tramp-smb-handle-make-symbolic-link)
3878 (tramp-smb-get-cifs-capabilities): New defuns.
3879 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
3880 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
3881 (tramp-smb-handle-file-local-copy)
3882 (tramp-smb-handle-make-directory-internal)
3883 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
3884 The file name syntax depends on cifs capabilities.
3885 (tramp-smb-handle-file-attributes):
3886 Call `tramp-smb-do-file-attributes-with-stat' if possible.
3887 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
3888 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
3890 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
3892 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
3893 (eieio-defclass): Apply deftype handler and setf-method properties
3895 (eieio-add-new-slot): Avoid union function from cl library.
3896 (eieio--typep): New function.
3897 (eieio-perform-slot-validation): Use it.
3899 2009-10-10 Karl Fogel <kfogel@red-bean.com>
3901 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
3902 Update documentation to refer to the variables documented in r1.135.
3905 2009-10-10 Karl Fogel <kfogel@red-bean.com>
3907 * bookmark.el (Info-suffix-list): Remove this unused variable.
3908 (bookmark-current-point): Remove this obsolete variable.
3909 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
3910 Adjust for removal of bookmark-current-point.
3912 (bookmarks-already-loaded, bookmark-current-buffer)
3913 (bookmark-yank-point): Document. (Bug#4188)
3915 2009-10-10 Glenn Morris <rgm@gnu.org>
3917 * frame.el (frame-height): Doc fix.
3919 * calendar/calendar.el (calendar-split-width-threshold): New option.
3920 (calendar-basic-setup): Use calendar-split-width-threshold.
3922 2009-10-10 Sascha Wilde <wilde@sha-bang.de>
3924 * cedet/ede/proj-shared.el (ede-proj-makefile-target-name):
3925 Use .la for Automake.
3927 2009-10-09 Chong Yidong <cyd@stupidchicken.com>
3929 * cedet/ede/pconf.el (ede-proj-configure-synchronize):
3930 Use "autoreconf -i". Suggested by Andreas Schwab.
3932 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
3934 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
3935 Ideographic Supplement" range (U+1F200..U+1F2FF).
3937 2009-10-09 Karl Fogel <kfogel@red-bean.com>
3939 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
3940 since the list will have been rebuilt anyway. (Bug#4349)
3942 2009-10-09 Karl Fogel <kfogel@red-bean.com>
3944 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
3945 (bookmark-bmenu-execute-deletions): Don't save here, as
3946 bookmark-delete will now do so if necessary.
3947 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
3950 2009-10-09 Glenn Morris <rgm@gnu.org>
3952 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
3954 2009-10-09 Karl Fogel <kfogel@red-bean.com>
3956 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
3957 (bookmark-jump-other-window): Just invoke bookmark-jump with new
3958 argument now, so the two function's behaviors will match. (Bug#3645)
3960 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
3962 * cedet/ede/proj.el (project-make-dist, project-compile-project):
3964 (ede-proj-dist-makefile): Use expand-file-name instead of concat
3965 to expand file names.
3967 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
3969 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
3970 (tramp-file-name-real-host, tramp-file-name-port):
3971 Apply `save-match-data'.
3973 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
3974 case both directories are remote.
3975 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
3976 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
3978 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
3980 * cedet/ede/proj-obj.el (ede-gcc-linker): New var.
3981 (ede-proj-target-makefile-objectcode): Use it.
3983 * cedet/ede/source.el (ede-want-any-source-files-p)
3984 (ede-want-any-auxiliary-files-p, ede-want-any-files-p):
3985 Return search result. This error was introduced while merging.
3987 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
3989 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
3991 2009-10-07 Glenn Morris <rgm@gnu.org>
3993 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
3996 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
3998 * files-x.el (read-file-local-variable): Include some
3999 non-user-variables in the completion table (bug#4664).
4001 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
4003 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
4006 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
4007 (tramp-smb-file-name-handler-alist): Add handler for
4008 `copy-directory', `expand-file-name', `set-file-modes'.
4009 (tramp-smb-handle-copy-directory)
4010 (tramp-smb-handle-expand-file-name)
4011 (tramp-smb-handle-set-file-modes): New defuns.
4012 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
4013 (tramp-smb-handle-file-attributes): Simplify check for retrieving
4015 (tramp-smb-handle-insert-directory): Don't flush the cache.
4016 (tramp-smb-maybe-open-connection): Check for samba client and
4019 2009-10-07 Eli Zaretskii <eliz@gnu.org>
4021 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
4022 to not error out of search for "^lisp=" fails.
4024 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
4026 * makefile.w32-in (WINS_UPDATES): New macro.
4027 (custom-deps, finder-data, autoloads): Use it.
4029 2009-10-07 Glenn Morris <rgm@gnu.org>
4031 * Makefile.in (autoloads): Revert previous change.
4032 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
4033 the list of preloaded files passed on the command-line, get
4034 it from src/Makefile.
4036 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
4037 show the original buffer rather than a random one.
4039 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
4041 * help.el (describe-no-warranty): Place point in a slightly better
4042 position in the GPLv3 text.
4044 2009-10-06 Sam Steingold <sds@gnu.org>
4046 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
4047 the comm attribute is present before calling regexp-quote.
4049 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
4051 * play/animate.el (animate-string): For good effect, make sure
4052 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
4054 * play/animate.el (animate-sequence, animate-birthday-present):
4055 * misc.el (butterfly): Don't set `indent-tabs-mode'.
4057 2009-10-06 Glenn Morris <rgm@gnu.org>
4059 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
4061 * emacs-lisp/autoload.el (autoload-excludes): New variable.
4062 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
4063 (batch-update-autoloads): Process a string value of autoload-excludes,
4064 set during the build process.
4065 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
4067 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
4068 inside with-parsed... macro so that `v' is defined.
4070 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
4071 * progmodes/fortran.el (fortran-end-of-block)
4072 (fortran-beginning-of-block):
4073 Also push mark in the macro case.
4075 * emerge.el (emerge-show-file-name):
4076 * calc/calc.el (calc-quit):
4077 * calc/calc-misc.el (calc-big-or-small):
4078 * calc/calc-graph.el (calc-graph-view):
4079 * calc/calc-ext.el (calc-reset):
4080 * calendar/calendar.el (calendar-basic-setup):
4081 Use window-full-height-p.
4083 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
4084 header we don't understand, don't insert another. (Bug#4624)
4085 If changing mime charset, insert the new one in the right place.
4087 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
4089 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
4090 (cal-tex-cursor-month): Correctly increment the end date for diary and
4091 holiday listing. (Bug#4626)
4093 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4095 * help-fns.el (describe-function-1): Don't burp if the function is not
4098 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
4100 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
4101 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
4102 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
4103 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
4105 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
4106 (eieio-default-superclass): Reflow docstrings.
4107 (this, class-option-assoc, defclass, eieio-class-un-autoload)
4108 (eieio-unbind-method-implementations, defmethod)
4109 (eieio-validate-slot-value, eieio-validate-class-slot-value)
4110 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
4111 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
4112 (eieio-slot-originating-class-p, eieio-slot-name-index)
4113 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
4114 (constructor, initialize-instance, no-next-method, object-print)
4115 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
4116 Fix typos in docstrings.
4117 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
4118 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
4119 (next-method-p): Doc fixes.
4120 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
4121 Fix typos in error messages.
4122 (eieio-defmethod): Fix typo in description of generic method.
4124 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
4125 (eieio-persistent-save-interactive, slot-missing):
4126 Fix typos in docstrings.
4127 (eieio-instance-inheritor-slot-boundp): Doc fix.
4129 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
4130 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
4132 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
4133 (eieio-custom-object-apply-reset):
4134 Fix typos in docstrings and error messages.
4136 * emacs-lisp/eieio-datadebug.el (data-debug-show):
4137 Fix typo in docstring.
4139 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
4140 (eieio-browse-tree): Doc fix.
4141 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
4142 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
4143 Fix typos in docstrings.
4145 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
4146 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
4147 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
4148 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
4151 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
4153 * vc-hg.el (log-view-vc-backend): Declare for compiler.
4154 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
4155 Set log-view-vc-backend so that diff can work.
4157 * log-view.el (log-view-diff): Use vc-diff-internal instead of
4159 (vc-diff-internal): Autoload this instead of vc-version-diff.
4161 2009-10-05 Eli Zaretskii <eliz@gnu.org>
4163 * simple.el (eval-expression): Doc fix.
4165 * progmodes/cwarn.el (cwarn-mode): Doc fix.
4167 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
4169 * files.el (directory-files-no-dot-files-regexp): New defconst.
4170 (delete-directory): Use it.
4171 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
4173 * net/tramp.el (tramp-verbose): Fix docstring.
4174 (tramp-methods): Add recursive option to `tramp-copy-args'.
4175 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
4176 "scp1_old", "scp2_old", "rsync", "rsyncc".
4177 (tramp-default-method): Check also for `auth-source-user-or-password'.
4178 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
4179 Add handler for `copy-directory'.
4180 (tramp-handle-copy-directory): New defun.
4181 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
4182 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
4183 Optimize sent command.
4185 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4187 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
4188 window if necessary.
4190 * calendar/calendar.el (calendar-basic-setup): Don't call
4191 switch-to-buffer in a dedicated window.
4193 2009-10-05 Karl Fogel <kfogel@red-bean.com>
4195 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
4196 don't do anything related to relocating, just return nil.
4197 (bookmark-error-no-filename): New error.
4198 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
4199 bookmark has no file. Don't even attempt to handle things that
4200 are not files; the whole point of custom handlers is to keep that
4201 knowledge elsewhere anyway. Tighten some comments.
4202 (bookmark-file-or-variation-thereof): Remove now-unused function.
4203 (bookmark-location): Doc string fix.
4206 2009-10-04 Karl Fogel <kfogel@red-bean.com>
4208 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
4209 don't use a file dialog, because they usually don't know how to read
4210 a directory target from the user. (Bug#4230)
4211 Also, make sure the prompt can display directories as well as files.
4213 2009-10-04 Karl Fogel <kfogel@red-bean.com>
4215 * bookmark.el (bookmark-set, bookmark-buffer-name):
4216 Improve doc strings. (Bug#1193)
4218 2009-10-04 Karl Fogel <kfogel@red-bean.com>
4220 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
4221 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
4222 (bookmark-get-annotation, bookmark-set-annotation)
4223 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
4224 (bookmark-set-position, bookmark-get-front-context-string)
4225 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
4226 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
4227 (bookmark-jump-other-window, bookmark-handle-bookmark)
4228 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
4229 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
4230 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
4231 Improve doc strings to say whether bookmark can be a string or
4232 a record or both, and make other consistency and clarity fixes.
4233 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
4234 (bookmark-default-annotation-text, bookmark-yank-word)
4235 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
4236 (bookmark-import-new-list, bookmark-maybe-rename)
4237 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
4238 (bookmark-bmenu-bookmark): Give these doc strings.
4239 (bookmark-bmenu-check-position): Give this a doc string, but also
4240 add a FIXME comment about how the function may be pointless.
4241 (bookmark-default-handler): Rework doc string and change a
4242 parameter name, to clarify that this takes a bookmark record
4243 not a bookmark name.
4244 (bookmark-set): Change a parameter name to indicate its meaning,
4245 and improve the doc string a bit.
4248 2009-10-04 Karl Fogel <kfogel@red-bean.com>
4250 * bookmark.el (bookmark-alist): Document the new `handler' element
4252 (bookmark-make-record-function): Adjust documentation for above.
4255 2009-10-04 Karl Fogel <kfogel@red-bean.com>
4257 * info.el (Info-bookmark-make-record): Document this function.
4258 (Info-bookmark-jump): Document with a doc string, not just a comment.
4261 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
4263 * cedet/semantic.el (semantic-new-buffer-setup-functions): New option.
4264 (semantic-new-buffer-fcn): Call parser setup functions here.
4265 (semantic-mode): Don't call parser setup functions here, it's done
4266 in semantic-new-buffer-fcn now.
4267 (semantic-mode): Parse all existing buffers when enabled.
4269 * cedet/srecode/compile.el (srecode-compile-file):
4270 Call semantic-new-buffer-fcn if the buffer has not been parsed.
4272 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
4274 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): Delete.
4276 * cedet/ede/proj-comp.el: Don't require ede/pmake at toplevel.
4277 (proj-comp-insert-variable-once): New macro, renamed from
4278 ede-pmake-insert-variable-once in ede/pmake.edl.
4279 (ede-proj-makefile-insert-variables): Use it.
4281 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
4283 * files.el (copy-directory): New defun.
4285 * dired-aux.el (dired-copy-file-recursive): Use it.
4287 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
4289 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
4290 (makefile-end-of-command):
4291 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
4292 (semantic-end-of-context): Fix previous change. Doc fixes.
4294 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
4296 * files-x.el (modify-dir-local-variable)
4297 (copy-dir-locals-to-file-locals-prop-line):
4298 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
4299 (makefile-end-of-command):
4300 * cedet/semantic/lex.el (semantic-lex-token):
4301 * cedet/semantic/analyze/fcn.el
4302 (semantic-analyze-dereference-metatype-1):
4303 * cedet/semantic/bovine/c.el (semantic-lex-cpp-define)
4304 (semantic-lex-cpp-undef):
4305 * cedet/semantic/wisent/wisent.el (wisent-skip-block):
4306 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
4307 (semantic-end-of-context): Fix typos in docstrings.
4309 * recentf.el (recentf-unload-function): New function.
4311 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
4313 * cedet/ede.el (ede-project-placeholder-cache-file):
4314 * cedet/semantic/db-file.el (semanticdb-default-save-directory):
4315 * cedet/srecode/map.el (srecode-map-save-file):
4316 Use locate-user-emacs-file. Suggested by Juanma Barranquero.
4318 2009-10-04 Glenn Morris <rgm@gnu.org>
4320 * window.el (window-full-height-p): Add doc string.
4322 2009-10-04 Martin Rudalics <rudalics@gmx.at>
4324 * window.el (window-full-height-p): New function. (Bug#4543)
4326 2009-10-03 Chong Yidong <cyd@stupidchicken.com>
4328 * cedet/srecode/insert.el: Require srecode/args.
4330 * cedet/srecode/args.el: Require srecode/dictionary instead of
4333 * cedet/srecode/srt-mode.el (srecode-template-mode): Doc fix.
4335 * files.el (auto-mode-alist): Add .srt and Project.ede.
4337 * cedet/semantic.el (semantic-mode):
4338 Handle srecode-template-mode-hook as well.
4339 (semantic-mode): Use js-mode-hook for Javascript hook.
4341 * cedet/srecode/template.el: Remove hook variable.
4343 * cedet/ede/proj-comp.el: Require ede/pmake when compiling.
4345 * cedet/ede.el (ede-target-forms-menu): Don't enable if no
4347 (ede-project-placeholder-cache-file): Default to a file in
4348 user-emacs-directory.
4350 * cedet/srecode/map.el (srecode-map-base-template-dir): Look for
4351 templates in data-directory.
4352 (srecode-map-save-file): Default to a file in user-emacs-directory.
4354 * cedet/ede/srecode.el (ede-srecode-setup): Use default templates
4357 2009-09-30 Eric Ludlam <zappo@gnu.org>
4359 * cedet/semantic/util-modes.el (semantic-highlight-func-mode):
4362 * cedet/ede/proj-comp.el (ede-proj-makefile-insert-variables):
4363 Only insert each variable once.
4365 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): New macro.
4366 (ede-pmake-insert-variable-shared): Use it.
4368 * cedet/ede/cpp-root.el (ede-preprocessor-map): Do not deref table
4369 for lexical table iff table is nil.
4371 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
4373 * vc.el: Remove commented out code.
4374 (vc-derived-from-dir-mode): Remove, unused.
4375 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
4377 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
4379 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
4380 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
4381 there could be recursive loading when `default-directory' is a
4382 remote file name. (Bug#4614)
4384 2009-10-03 Glenn Morris <rgm@gnu.org>
4386 * calendar/calendar.el (calendar-basic-setup): Handle the case where
4388 (calendar-generate-window): Test for shrinkability rather than width.
4390 * cedet/semantic/db-find.el (data-debug-insert-tag-list): Comment out
4391 declaration, currently false.
4393 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
4394 reusing existing buffers, in case we happen to visit two files with the
4395 same basename. (Bug#4593)
4397 2009-10-02 Eli Zaretskii <eliz@gnu.org>
4399 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
4400 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
4401 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
4402 subdirs of cedet as well.
4403 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
4405 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4407 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
4408 Obey advertised-signature-table.
4410 * help-fns.el (help-function-arglist): Don't check
4411 advertised-signature-table.
4412 (describe-function-1): Do it here instead so it also applies to subrs.
4414 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
4416 * simple.el (start-file-process): Say in the doc-string, that file
4417 handlers might not support pty association, if PROGRAM is nil.
4419 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
4420 HOST and USER are strings. They are nil, when there are
4421 incomplete entries in ~/.netrc, for example.
4422 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
4423 root directory ("device busy" error otherwise).
4425 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
4426 Flush file properties of created directory.
4428 2009-10-02 Eli Zaretskii <eliz@gnu.org>
4430 * makefile.w32-in (WINS_BASIC): Remove cedet.
4431 (WINS_CEDET): Add cedet.
4432 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
4434 2009-10-02 Kevin Ryde <user42@zip.com.au>
4436 * net/browse-url.el (browse-url): Pass any symbol in
4437 browse-url-browser-function to `apply', since if you've mistakenly put
4438 an unbound symbol then the error is clearer. (Bug#4531)
4440 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
4442 * allout.el (allout-init, allout-back-to-current-heading)
4443 (allout-beginning-of-current-entry, allout-ascend-to-depth)
4444 (allout-ascend, allout-up-current-level, allout-end-of-level)
4445 (allout-previous-visible-heading, allout-forward-current-level)
4446 (allout-backward-current-level, allout-show-children):
4447 * apropos.el (apropos-describe-plist):
4448 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
4449 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
4450 * completion.el (add-completion, add-permanent-completion):
4451 * descr-text.el (describe-text-category, describe-char):
4452 * desktop.el (desktop-lazy-abort):
4453 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
4454 * dired.el (dired-build-subdir-alist):
4455 * ediff.el (ediff-version):
4456 * elide-head.el (elide-head, elide-head-show):
4457 * emerge.el (emerge-version):
4459 * face-remap.el (variable-pitch-mode):
4460 * faces.el (describe-face):
4461 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
4463 * files.el (find-file-existing, auto-save-mode):
4464 * font-lock.el (font-lock-fontify-buffer):
4465 * help-fns.el (describe-function, describe-variable)
4466 (describe-syntax, describe-categories):
4467 * help.el (view-lossage, describe-bindings, describe-key)
4469 * hexl.el (hexl-current-address):
4470 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
4471 * info.el (Info-goto-emacs-key-command-node):
4472 * log-edit.el (log-edit-insert-cvs-template)
4473 (log-edit-insert-cvs-rcstemplate):
4474 * menu-bar.el (menu-bar-mode):
4475 * mouse.el (mouse-appearance-menu):
4476 * newcomment.el (comment-indent-new-line):
4477 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
4478 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
4479 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt, )
4480 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
4481 * recentf.el (recentf-mode):
4482 * savehist.el (savehist-mode, savehist-save):
4483 * shadowfile.el (shadow-copy-files):
4484 * simple.el (kill-ring-save, next-line, previous-line)
4485 (normal-erase-is-backspace-mode):
4486 * strokes.el (strokes-update-window-configuration)
4487 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
4488 (strokes-xpm-for-stroke):
4489 * time.el (emacs-uptime, emacs-init-time):
4490 * tutorial.el (tutorial--describe-nonstandard-key)
4491 (tutorial--detailed-help):
4492 * type-break.el (type-break-mode)
4493 (type-break-mode-line-message-mode, type-break-query-mode)
4494 (type-break-guesstimate-keystroke-threshold):
4495 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
4496 * version.el (emacs-version):
4497 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
4498 * winner.el (winner-mode):
4499 * calendar/timeclock.el (timeclock-in, timeclock-out)
4500 (timeclock-status-string, timeclock-change)
4501 (timeclock-workday-remaining-string)
4502 (timeclock-workday-elapsed-string)
4503 (timeclock-when-to-leave-string):
4504 * calendar/todo-mode.el (todo-add-category):
4505 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
4506 * emacs-lisp/autoload.el (update-file-autoloads):
4507 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
4508 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
4509 (checkdoc-message-text, checkdoc-defun):
4510 * emacs-lisp/debug.el (debugger-list-functions):
4511 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4512 * emacs-lisp/eieio-opt.el (eieio-describe-class)
4513 (eieio-describe-generic):
4514 * emacs-lisp/lisp-mnt.el (lm-synopsis):
4515 * emacs-lisp/shadow.el (list-load-path-shadows):
4516 * emulation/cua-base.el (cua-mode):
4517 * emulation/edt.el (edt-set-scroll-margins):
4518 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
4519 (tpu-toggle-regexp, tpu-toggle-search-direction)
4520 (tpu-toggle-rectangle, tpu-toggle-control-keys):
4521 * emulation/tpu-extras.el (tpu-set-scroll-margins):
4522 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
4523 (viper-set-parsing-style-toggling-macro)
4524 (viper-set-emacs-state-searchstyle-macros):
4525 * emulation/viper.el (viper-set-hooks):
4526 * eshell/esh-mode.el (eshell-truncate-buffer):
4527 * international/mule-cmds.el (prefer-coding-system)
4528 (describe-input-method, describe-language-environment):
4529 * international/mule-diag.el (list-character-sets)
4530 (describe-character-set, describe-coding-system)
4531 (describe-fontset, list-fontsets, list-input-methods):
4532 * mail/sendmail.el (mail-signature):
4533 * net/ange-ftp.el (ange-ftp-copy-file):
4534 * net/browse-url.el (browse-url):
4535 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
4536 * net/quickurl.el (quickurl-add-url):
4537 * net/rcirc.el (names, topic):
4538 * net/xesam.el (xesam-mode):
4539 * play/5x5.el (5x5-new-game):
4540 * play/yow.el (apropos-zippy):
4541 * progmodes/ada-mode.el (ada-mode-version):
4542 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
4544 (f90-beginning-of-block):
4545 * progmodes/fortran.el (fortran-end-of-block)
4546 (fortran-beginning-of-block):
4547 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
4548 * progmodes/python.el (python-describe-symbol, python-shell):
4549 * term/ns-win.el (ns-print-buffer):
4550 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
4551 * textmodes/flyspell.el (flyspell-mode-on):
4552 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
4553 (pages-directory-for-addresses):
4554 * textmodes/table.el (table-recognize-cell)
4555 (table-query-dimension, table-generate-source)
4556 (table-insert-sequence, table--warn-incompatibility):
4557 * textmodes/tex-mode.el (tex-validate-buffer):
4558 * textmodes/texinfmt.el (texinfmt-version)
4559 (texinfo-format-buffer):
4560 Use `called-interactively-p' instead of `interactive-p'.
4562 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
4564 * image-mode.el (image-toggle-display):
4565 * emacs-lisp/elp.el (elp-instrument-function):
4566 * emacs-lisp/advice.el (ad-make-advised-definition):
4567 * emacs-lisp/easy-mmode.el (define-minor-mode):
4568 * net/browse-url.el (browse-url-maybe-new-window):
4569 * progmodes/sh-script.el (sh-learn-buffer-indent):
4570 Pass new argument 'any to `called-interactively-p'.
4572 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
4574 * international/uni-bidi.el:
4575 * international/uni-category.el:
4576 * international/uni-combining.el:
4577 * international/uni-comment.el:
4578 * international/uni-decimal.el:
4579 * international/uni-decomposition.el:
4580 * international/uni-digit.el:
4581 * international/uni-lowercase.el:
4582 * international/uni-mirrored.el:
4583 * international/uni-name.el:
4584 * international/uni-numeric.el:
4585 * international/uni-old-name.el:
4586 * international/uni-titlecase.el:
4587 * international/uni-uppercase.el:
4588 Regenerate from Unicode 5.2.0 data.
4590 2009-10-01 Glenn Morris <rgm@gnu.org>
4592 * Makefile.in (ELCFILES): Regenerate.
4594 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4596 * subr.el (interactive-p): Mark obsolete.
4597 (called-interactively-p): Make the optional-ness of `kind' obsolete.
4598 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
4599 advertised-signature-table for subroutines as well.
4601 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
4602 (set-advertised-calling-convention): New function.
4603 (make-obsolete, define-obsolete-function-alias)
4604 (make-obsolete-variable, define-obsolete-variable-alias):
4605 Make the optional-ness of `when' obsolete.
4606 (define-obsolete-face-alias): Make `when' non-optional.
4607 * help-fns.el (help-function-arglist):
4608 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
4609 Use advertised-signature-table.
4611 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
4613 * files.el (delete-directory): New defun. The original function
4614 in fileio.c has been renamed to `delete-directory-internal'.
4616 * dired.el (dired-delete-file): Call `delete-directory' with
4617 RECURSIVE parameter.
4619 * net/ange-ftp.el (ange-ftp-delete-directory ): Add optional
4620 parameter RECURSIVE. Implementation is missing.
4622 * net/tramp.el (tramp-handle-make-directory): Flush upper
4623 directory's file properties.
4624 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
4625 (tramp-handle-dired-recursive-delete-directory): Flush directory
4626 properties after the remove command only.
4628 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
4629 Handle optional parameter RECURSIVE.
4631 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
4632 Handle optional parameter RECURSIVE.
4634 * net/tramp-smb.el (tramp-smb-errors): Add error message for
4636 (tramp-smb-handle-delete-directory): Handle optional parameter
4639 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4641 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
4642 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
4643 (byte-compile-defmacro): Use backquotes.
4645 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
4647 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
4648 has no associated file.
4649 (vc-resynch-buffer): Use vc-dir-buffers.
4651 2009-10-01 Glenn Morris <rgm@gnu.org>
4653 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
4655 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
4656 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
4657 * emacs-lisp/eieio-opt.el (eieio-describe-class):
4658 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
4659 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
4660 (eieio-copy-parents-into-subclass, make-instance, class-children)
4661 (eieio-generic-form):
4662 * cedet/cedet-files.el (cedet-directory-name-to-file-name):
4663 * cedet/cedet-idutils.el (cedet-idutils-search)
4664 (cedet-idutils-expand-filename, cedet-idutils-support-for-directory)
4665 (cedet-idutils-version-check):
4666 * cedet/cedet.el (cedet-version):
4667 * cedet/data-debug.el (data-debug-insert-overlay-button)
4668 (data-debug-insert-overlay-list-button)
4669 (data-debug-insert-buffer-button)
4670 (data-debug-insert-buffer-list-button)
4671 (data-debug-insert-process-button, data-debug-insert-ring-button)
4672 (data-debug-insert-widget, data-debug-insert-stuff-list-button)
4673 (data-debug-insert-stuff-vector-button)
4674 (data-debug-insert-symbol-button, data-debug-insert-string)
4675 (data-debug-insert-number, data-debug-insert-lambda-expression)
4676 (data-debug-insert-nil, data-debug-insert-simple-thing)
4677 (data-debug-insert-custom, data-debug-edebug-expr):
4678 * cedet/ede.el (ede-auto-add-method, ede-project-class-files)
4679 (global-ede-mode-map, ede-new, ede-debug-target)
4680 (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set):
4681 * cedet/semantic.el (semantic-minimum-working-buffer-size)
4682 (semantic-fetch-tags, semantic-submode-list)
4683 (semantic-default-submodes):
4684 * cedet/ede/source.el (ede-source-match):
4685 * cedet/ede/project-am.el (project-am-type-alist, project-add-file)
4686 (project-am-package-info):
4687 * cedet/ede/proj.el (ede-proj-target, project-new-target):
4688 * cedet/ede/proj-elisp.el (ede-proj-tweak-autoconf):
4689 * cedet/ede/proj-comp.el (ede-current-build-list):
4690 * cedet/ede/makefile-edit.el (makefile-move-to-macro):
4691 * cedet/ede/files.el (ede-toplevel-project-or-nil):
4692 * cedet/ede/cpp-root.el (initialize-instance):
4693 * cedet/ede/autoconf-edit.el (autoconf-find-last-macro)
4694 (autoconf-parameter-strip, autoconf-insert-new-macro):
4695 * cedet/semantic/wisent.el (wisent-lex-eoi):
4696 * cedet/semantic/util-modes.el (global-semantic-show-parser-state-mode)
4697 (semantic-show-parser-state-mode):
4698 * cedet/semantic/texi.el (semantic-texi-environment-regexp):
4699 * cedet/semantic/tag.el (semantic-tag-new-variable)
4700 (semantic-tag-class, semantic-tag-new-variable, semantic-tag-copy)
4701 (semantic--tag-deep-copy-attributes, semantic--tag-deep-copy-value)
4702 (semantic--tag-deep-copy-tag-list)
4703 (semantic-tag-components-with-overlays-default):
4704 * cedet/semantic/symref.el (semantic-symref-find-text):
4705 * cedet/semantic/senator.el (senator-yank-tag)
4706 (senator-transpose-tags-up):
4707 * cedet/semantic/scope.el (semantic-analyze-scoped-tags-default)
4708 (semantic-analyze-scoped-inherited-tags, semantic-scope-find):
4709 * cedet/semantic/sb.el (semantic-sb-autoexpand-length):
4710 * cedet/semantic/lex.el (semantic-lex-comment-regex)
4711 (semantic-lex-maximum-depth, define-lex, semantic-lex-token)
4712 (semantic-lex-unterminated-syntax-protection, define-lex-analyzer):
4713 * cedet/semantic/lex-spp.el
4714 (semantic-lex-spp-dynamic-macro-symbol-obarray-stack)
4715 (semantic-lex-spp-symbol, semantic-lex-spp-one-token-to-txt):
4716 * cedet/semantic/idle.el
4717 (semantic-idle-summary-current-symbol-info-brutish)
4718 (semantic-idle-summary-current-symbol-info-default):
4719 * cedet/semantic/grammar.el (semantic-grammar-recreate-package)
4720 (semantic--grammar-macro-compl-dict):
4721 * cedet/semantic/grammar-wy.el (semantic-grammar-wy--parse-table):
4722 * cedet/semantic/format.el (semantic-format-tag-custom-list)
4723 (semantic-format-tag-canonical-name-default):
4724 * cedet/semantic/find.el (semantic-find-tag-by-overlay-in-region)
4725 (semantic-find-tags-for-completion)
4726 (semantic-find-tags-by-scope-protection-default)
4727 (semantic-deep-find-tags-for-completion):
4728 * cedet/semantic/edit.el
4729 (semantic-edits-incremental-reparse-failed-hook)
4730 (semantic-edits-verbose-flag, semantic-edits-assert-valid-region)
4731 (semantic-edits-splice-remove, semantic-edits-splice-replace):
4732 * cedet/semantic/doc.el (semantic-documentation-comment-preceeding-tag):
4733 * cedet/semantic/dep.el (semantic-dependency-include-path):
4734 * cedet/semantic/db.el (semanticdb-default-find-index-class)
4735 (semanticdb-match-any-mode, semanticdb-with-match-any-mode)
4736 (semanticdb-project-roots):
4737 * cedet/semantic/db-find.el (semanticdb-implied-include-tags)
4738 (semanticdb-find-adebug-insert-scanned-tag-cons)
4739 (semanticdb-find-log-buffer-name, semanticdb-find-result-mapc)
4740 (semanticdb-brute-deep-find-tags-for-completion):
4741 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-add-tree-to-table):
4742 * cedet/semantic/ctxt.el (semantic-beginning-of-context-default)
4743 (semantic-end-of-context-default)
4744 (semantic-ctxt-current-function-default)
4745 (semantic-ctxt-scoped-types-default):
4746 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
4747 (semantic-complete-inline-tag-engine)
4748 (semantic-complete-inline-custom-type)
4749 (semantic-complete-read-tag-analyzer):
4750 * cedet/semantic/chart.el (semantic-chart-tags-by-class)
4751 (semantic-chart-database-size):
4752 * cedet/semantic/analyze.el (semantic-analyze-current-symbol)
4753 (semantic-analyze-current-context):
4754 * cedet/semantic/symref/list.el (semantic-symref)
4755 (semantic-symref-hide-buffer, semantic-symref-symbol):
4756 * cedet/semantic/symref/grep.el (semantic-symref-grep-use-template):
4757 * cedet/semantic/symref/filter.el (semantic-symref-hits-in-region):
4758 * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string):
4759 * cedet/semantic/bovine/c.el (semantic-lex-c-preprocessor-symbol-map)
4760 (semantic-c-parse-token-hack-depth, semantic-c--template-name-1)
4761 (semantic-c-dereference-template):
4762 * cedet/semantic/analyze/refs.el (semantic--analyze-refs-full-lookup)
4763 (semantic--analyze-refs-full-lookup-with-parents)
4764 (semantic--analyze-refs-full-lookup-simple):
4765 * cedet/semantic/analyze/complete.el
4766 (semantic-analyze-possible-completions):
4767 * cedet/srecode/table.el (srecode-mode-table-new):
4768 * cedet/srecode/srt.el (srecode-read-variable-name):
4769 * cedet/srecode/srt-mode.el (srecode-macro-help, srecode-in-macro-p):
4770 * cedet/srecode/semantic.el (srecode-semantic-handle-:tag)
4771 (srecode-semantic-handle-:tagtype, srecode-semantic-insert-tag):
4772 * cedet/srecode/map.el (srecode-current-map):
4773 * cedet/srecode/insert.el (srecode-insert)
4774 (srecode-insert-variable-secondname-handler, srecode-insert-method)
4775 (srecode-template-inserter-point-override)
4776 (srecode-insert-include-lookup):
4777 * cedet/srecode/getset.el (srecode-auto-choose-class):
4778 * cedet/srecode/extract.el (srecode-inserter-extract):
4779 * cedet/srecode/document.el
4780 (srecode-document-autocomment-return-last-alist)
4781 (srecode-document-autocomment-param-type-alist)
4782 (srecode-document-insert-function-comment)
4783 (srecode-document-insert-variable-one-line-comment)
4784 (srecode-document-function-name-comment):
4785 * cedet/srecode/dictionary.el (srecode-create-dictionary)
4786 (srecode-compound-toString):
4787 * cedet/srecode/compile.el (srecode-flush-active-templates):
4788 * cedet/srecode/args.el (srecode-semantic-handle-:blank):
4791 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
4792 match-data. (Bug#4555).
4794 * cedet/semantic/bovine/gcc.el
4795 (semantic-c-reset-preprocessor-symbol-map): Fix declaration.
4796 (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes.
4798 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
4799 rather than parsing it as a regexp. This relaxes the layout
4800 requirements and makes errors easier to detect.
4801 (check-declare-verify): Check file is regular.
4802 (check-declare-directory): Doc fix.
4803 * subr.el (declare-function): Doc fix.
4805 * ibuffer.el (ibuffer-format-qualifier):
4806 * isearch.el (hi-lock-regexp-okay):
4807 * calc/calc.el (math-zerop):
4808 * mail/uce.el (rmail-msgbeg, rmail-msgend):
4809 * term/w32-win.el (setup-default-fontset, set-fontset-font):
4810 Remove unused declarations.
4812 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
4814 * cedet/semantic/wisent/javat-wy.el
4815 (wisent-java-tags-wy--keyword-table): Use \000 instead of literal ^@.
4817 2009-09-30 Juanma Barranquero <lekktu@gmail.com>
4819 * cedet/srecode/expandproto.el: Fix provide statement.
4821 2009-09-30 Eric Ludlam <zappo@gnu.org>
4823 * emacs-lisp/eieio.el (boolean-p): Delete.
4825 2009-09-30 Sascha Wilde <wilde@sha-bang.de>
4827 * cedet/ede/srecode.el: Fix provide statement.
4829 2009-09-30 Glenn Morris <rgm@gnu.org>
4831 * cedet/ede/proj.el (ede-proj-target-makefile-miscelaneous):
4832 * cedet/ede/proj-aux.el (ede-aux-source):
4833 * cedet/ede/proj-misc.el (ede-proj-target-makefile-miscelaneous)
4835 * cedet/semantic/mru-bookmark.el (semantic-mrub-completing-read)
4836 (semantic-mrub-switch-tags): Fix doc typos.
4838 * cedet/semantic/db-global.el (data-debug-new-buffer)
4839 (data-debug-insert-thing): Remove unneeded declarations (one broken).
4840 (semanticdb-enable-gnu-global-databases): Fix prompt typo.
4842 * cedet/semantic/analyze/fcn.el (semantic-scope-find): Fix declaration.
4844 * cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime
4845 use of CL function `remove-if-not'.
4847 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
4849 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
4850 filename is not a string.
4852 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
4854 * files.el (safe-local-eval-forms): Fix typo.
4856 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
4858 * vc-hooks.el (vc-dir-buffers): New var.
4859 (vc-state-refresh): New function.
4861 (vc-after-save): Always ask the backend to recompute the new state.
4862 Always call vc-dir if necessary, using vc-dir-buffers.
4863 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
4865 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
4866 (vc-dir-prepare-status-buffer, vc-dir-update)
4867 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
4868 Don't call expand-file-name on default-directory.
4870 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
4872 * speedbar.el (speedbar-item-delete):
4873 * calc/calc-prog.el (calc-kbd-if):
4874 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
4876 * epa.el (epa-key-list-mode-map):
4877 * hi-lock.el (hi-lock-menu): Fix typos in menus.
4879 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
4880 (hs-show-hook): Fix typo in docstring.
4882 2009-09-29 Glenn Morris <rgm@gnu.org>
4884 * cedet/semantic/symref/idutils.el:
4885 * cedet/semantic/symref/list.el: Relicense under GPLv3+.
4887 * cedet/ede/srecode.el (srecode-resolve-arguments): Fix declaration.
4889 * cedet/semantic/complete.el (semantic-displayor-focus-abstract-child-p):
4890 * cedet/semantic/tag-file.el (semanticdb-table-child-p):
4891 * cedet/srecode/compile.el (srecode-template-inserter-newline-child-p):
4892 Mark declarations not understood by check-declare.
4894 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
4895 file-name-nondirectory call preventing location of cedet files.
4896 (check-declare-verify): Use literal search rather than re-search.
4897 Add basic defmethod and defclass, and define-overloadable-function.
4899 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
4900 Use tramp-compat-file-attributes rather than nonexistent
4901 tramp-compat-handle-file-attributes.
4903 * Makefile.in (lisptagsfiles4): New.
4904 (AUTOGENEL): Add cedet loaddefs files.
4905 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
4906 (update-elclist, compile-always, backup-compiled-files)
4907 (bootstrap-clean): Add yet another directory level.
4908 (update-elclist): Use LC_COLLATE rather than COLLATE.
4909 (ELCFILES): Update, via `make update-elclist'.
4911 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
4913 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
4914 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
4915 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
4917 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
4919 * Makefile.in (lisptagsfiles3): Define.
4920 (TAGS, TAGS-LISP): Use it.
4921 (update-elclist): Add third directory level to look for elc files.
4922 (compile-always): Likewise.
4923 (backup-compiled-files): Likewise.
4924 (bootstrap-clean): Likewise.
4927 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
4929 * Makefile.in (ELCFILES): Add CEDET files.
4931 2009-09-28 Eric Ludlam <zappo@gnu.org>
4933 CEDET (development tools) package merged.
4937 * cedet/semantic/*.el:
4938 * cedet/srecode/*.el: New files.
4940 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
4942 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
4944 * net/tramp.el (top): Require tramp-imap.
4946 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
4947 Use `tramp-compat-handle-file-attributes'.
4949 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
4951 * net/tramp-imap.el: New package.
4953 2009-09-28 Eric Ludlam <zappo@gnu.org>
4955 * emacs-lisp/chart.el:
4956 * emacs-lisp/eieio-base.el:
4957 * emacs-lisp/eieio-comp.el:
4958 * emacs-lisp/eieio-custom.el:
4959 * emacs-lisp/eieio-datadebug.el:
4960 * emacs-lisp/eieio-opt.el:
4961 * emacs-lisp/eieio-speedbar.el:
4962 * emacs-lisp/eieio.el: New files.
4964 * cedet/cedet-cscope.el:
4965 * cedet/cedet-files.el:
4966 * cedet/cedet-global.el:
4967 * cedet/cedet-idutils.el:
4968 * cedet/data-debug.el:
4969 * cedet/inversion.el:
4970 * cedet/mode-local.el:
4971 * cedet/pulse.el: New files.
4973 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
4975 * whitespace.el (whitespace-trailing-regexp)
4976 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
4979 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
4981 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
4984 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
4985 menu-bar-ediff-menu.
4987 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
4988 define-overloadable-function.
4990 * progmodes/autoconf.el: Provide autoconf as well, so that this
4991 file can be `require'd.
4993 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
4995 * emacs-lisp/autoload.el (generated-autoload-feature)
4996 (generated-autoload-load-name): New vars.
4997 (autoload-rubric, autoload-generate-file-autoloads): Use them.
4998 (make-autoload): Recognize define-overloadable-function and
4999 defclass forms (for EIEIO).
5001 * Makefile.in (update-subdirs): Exclude cedet directory.
5003 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
5005 * term/ns-win.el: Don't set the region face background. (Bug#4381)
5007 * faces.el: Default light-background background for region face to
5008 ns_selection_color under NS.
5010 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
5012 * net/imap-hash.el: New library, see NEWS.
5014 * Makefile.in (ELCFILES): Add imap-hash.el.
5016 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5018 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
5019 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
5020 * help-macro.el (make-help-screen): Avoid using an ambiguous function
5021 definition where the docstring could be taken for the return value.
5023 2009-09-26 Glenn Morris <rgm@gnu.org>
5025 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
5026 Add option to only show images below a certain size.
5027 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
5028 save-excursion calls.
5030 2009-09-26 Eli Zaretskii <eliz@gnu.org>
5032 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
5033 subdirectories) and eieio.
5035 2009-09-26 Alan Mackenzie <acm@muc.de>
5037 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
5038 buggy bracketing. (Bug#4289)
5040 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
5041 character constants (as case labels). (Bug#4289)
5043 2009-09-25 Juri Linkov <juri@jurta.org>
5045 * files.el (safe-local-eval-forms): Allow time-stamp in
5046 before-save-hook (Bug#4554).
5048 2009-09-25 Drew Adams <drew.adams@oracle.com>
5050 * menu-bar.el (list-buffers-directory): Doc fix.
5052 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
5054 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
5055 Try and avoid copying twice the same paragraph.
5056 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
5057 Remove save-excursion.
5058 (log-edit-changelog-entry): Do it here instead.
5060 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
5062 * bs.el (bs--get-file-name): Use `list-buffers-directory'
5063 when available, instead of hardcoding mode names. Doc fix.
5065 * menu-bar.el (list-buffers-directory): Add docstring.
5066 Make automatically buffer-local.
5068 * dired.el (dired-mode):
5069 * files.el (cd-absolute):
5070 * pcvs.el (cvs-temp-buffer):
5071 * pcvs-util.el (cvs-get-buffer-create):
5072 * shell.el (shell-mode):
5073 * vc-dir.el (vc-dir-mode):
5074 Don't make `list-buffers-directory' buffer local.
5076 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
5078 * comint.el (comint-exec, comint-run, make-comint):
5079 Doc fixes (Bug#4542).
5081 2009-09-25 Glenn Morris <rgm@gnu.org>
5083 * mail/rmailmm.el (rmail-mime): New custom group.
5084 Move all defcustoms in this file into this group.
5085 (rmail-mime-media-type-handlers-alist): Revert previous change.
5086 (rmail-mime-show-images): New option.
5087 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
5088 references to it, since it wasn't actually used for anything.
5089 (rmail-mime-insert-image): New function.
5090 (rmail-mime-image): Use rmail-mime-insert-image.
5091 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
5092 obey the value of `rmail-mime-show-images' option. Print the size of
5095 2009-09-25 David Engster <deng@randomsample.de>
5097 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
5099 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5101 * whitespace.el: Does not highlight trailing spaces While point is
5102 at end of line. Does not highligt spaces at beginning of buffer
5103 while point is at beginning of buffer. Does not highlight spaces
5104 at end of buffer while point is at end of buffer. (Bug#4177)
5106 (whitespace-display-mappings): Adjust initialization.
5107 (whitespace-point, whitespace-font-lock-refontify): New vars.
5108 (whitespace-color-on, whitespace-color-off): Adjust code.
5109 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
5110 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
5111 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
5113 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
5115 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
5117 * textmodes/sgml-mode.el: Remove xml-mode alias.
5119 * files.el (auto-mode-alist, conf-mode-maybe)
5120 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
5122 2009-09-24 Alan Mackenzie <acm@muc.de>
5124 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
5125 c-forward-conditionals, but it doesn't move point and doesn't set
5127 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
5128 (c-down-conditional-with-else, c-backward-conditional)
5129 (c-forward-conditional): Refactor to use c-scan-conditionals.
5131 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
5133 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
5134 (help-default-arg-highlight): Remove.
5135 (help-highlight-arg): New function.
5136 (help-do-arg-highlight): Use it.
5137 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
5139 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
5141 * term.el (term-set-scroll-region, term-handle-ansi-escape):
5142 Undo last change, which didn't fix the problem and introduced others.
5144 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
5146 * progmodes/gdb-mi.el: Don't require speedbar.
5147 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
5149 2009-09-24 Glenn Morris <rgm@gnu.org>
5151 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
5153 * term/ns-win.el (ns-reg-to-script): Define for compiler.
5155 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
5156 there is no newline after the final mime boundary. (Bug#4539)
5157 Move markers on insertion so that any buttons inserted don't end up in
5158 the next part of a multipart message.
5159 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
5160 (rmail-mime-bulk-handler): Optionally handle images.
5161 (rmail-mime-image): New button action.
5162 (rmail-mime-image-handler): New function.
5163 (rmail-mime-mode): New mode.
5164 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
5166 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
5168 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
5169 than just dropping elements from it (bug#4504).
5171 * term.el (term-set-scroll-region): Don't move cursor any more.
5172 (term-handle-ansi-escape): Call term-goto here instead.
5173 Suggested by Ivan Kanis <apple@kanis.eu>.
5175 * term.el: Require CL.
5176 (term-ansi-reset): New function.
5177 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
5178 (term-handle-colors-array): Simplify.
5180 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
5182 * allout.el (allout-overlay-interior-modification-handler)
5183 (allout-obtain-passphrase):
5184 * epa-file.el (epa-file-write-region):
5185 * ps-print.el (ps-begin-job):
5186 * vc-hooks.el (vc-toggle-read-only):
5187 * vc-rcs.el (vc-rcs-rollback):
5188 * vc-sccs.el (vc-sccs-rollback):
5189 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
5190 (vc-version-diff, vc-revert, vc-rollback):
5191 * wdired.el (wdired-check-kill-buffer):
5192 * emacs-lisp/authors.el (authors):
5193 * net/socks.el (socks-open-connection):
5194 * net/zeroconf.el (zeroconf-service-add-hook):
5195 * obsolete/vc-mcvs.el (vc-mcvs-register):
5196 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
5198 * progmodes/grep.el (lgrep, rgrep):
5199 * progmodes/idlw-help.el (idlwave-help-check-locations)
5200 (idlwave-help-html-link, idlwave-help-assistant-open-link):
5201 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5202 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
5203 (reftex-toc-rename-label): Fix typos in error messages.
5205 * dired-aux.el (dired-do-shell-command): Reflow docstring.
5206 (dired-copy-how-to-fn): Doc fix.
5207 (dired-files-attributes, dired-read-shell-command):
5208 Fix typos in docstrings.
5210 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
5211 (dired-x-find-file-other-window): Reflow docstrings.
5212 (dired-omit-marker-char, dired-read-shell-command)
5213 (dired-x-submit-report): Fix typos in docstrings.
5215 * shell.el (shell-mode-hook):
5216 * view.el (View-scroll-line-forward):
5217 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
5218 Fix typos in docstrings.
5220 * net/dig.el (dig-invoke): Fix typo in docstring.
5221 (query-dig): Reflow docstring.
5223 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
5224 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
5225 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
5226 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
5227 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
5228 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
5229 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
5230 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
5231 (idlwave-completion-map, idlwave-current-indent)
5232 (idlwave-custom-ampersand-surround, idlwave-customize)
5233 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
5234 (idlwave-define-abbrev, idlwave-determine-class-special)
5235 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
5236 (idlwave-end-block-reg, idlwave-end-of-statement)
5237 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
5238 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
5239 (idlwave-explicit-class-listed, idlwave-file-header)
5240 (idlwave-fill-paragraph, idlwave-find-class-definition)
5241 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
5242 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
5243 (idlwave-in-quote, idlwave-indent-action-table)
5244 (idlwave-indent-expand-table, idlwave-indent-line)
5245 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
5246 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
5247 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
5248 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
5249 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
5250 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
5251 (idlwave-outlawed-buffers, idlwave-popup-select)
5252 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
5253 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
5254 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
5255 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
5256 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
5257 (idlwave-statement-type, idlwave-struct-skip)
5258 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
5259 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
5260 (idlwave-what-module-find-class): Fix typos in docstrings.
5261 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
5262 (idlwave-calculate-cont-indent, idlwave-expand-equal)
5263 (idlwave-find-module, idlwave-find-structure-definition)
5264 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
5265 (idlwave-list-load-path-shadows, idlwave-next-statement)
5266 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
5267 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
5268 (idlwave-template): Reflow docstrings.
5270 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
5271 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
5272 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
5273 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
5274 (idlwave-shell-display-line, idlwave-shell-display-wframe)
5275 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
5276 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
5277 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
5278 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
5279 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
5280 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
5281 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
5282 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
5283 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
5284 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
5285 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
5286 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
5287 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
5288 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
5289 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
5290 Fix typos in docstrings.
5291 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
5292 (idlwave-shell-hide-output, idlwave-shell-mode)
5293 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
5296 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
5298 2009-09-24 Ivan Kanis <apple@kanis.eu>
5300 * term.el (term-bold-attribute): New var.
5301 (term-handle-colors-array): Use it.
5303 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
5305 * progmodes/gdb-mi.el (gdb-version): New variable.
5306 (gdb-non-stop-handler): Set gdb-version.
5307 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
5308 Condition "--thread" option on gdb-version.
5309 (gdb-invalidate-threads): Remove unused argument.
5311 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5313 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
5314 to looking-back to avoid ridiculous slow down in large files (bug#4511).
5316 2009-09-23 Glenn Morris <rgm@gnu.org>
5318 * mail/rmail.el (rmail-reply): Don't try to add a References header when
5319 replying to mail without References or Message-Id. (Bug#4525)
5321 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
5323 * term/ns-win.el (ns-reg-to-script): New variable.
5325 2009-09-23 Daiki Ueno <ueno@unixuser.org>
5327 * epg.el (epg-wait-for-status): Preserve existing 'error results.
5329 2009-09-22 Sam Steingold <sds@gnu.org>
5331 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
5332 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
5333 to 1 because hg returns status 1 when nothing is found.
5334 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
5336 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
5338 * textmodes/fill.el: Convert to utf-8 encoding.
5339 (fill-french-nobreak-p): Remove redundant » and « inherited from our
5342 * add-log.el (change-log-fill-forward-paragraph): New function.
5343 (change-log-mode): Use it so fill-region DTRT.
5344 Set fill-indent-according-to-mode here rather than in
5345 change-log-fill-paragraph.
5346 (change-log-fill-paragraph): Remove.
5348 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
5350 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
5351 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
5353 2009-09-22 Glenn Morris <rgm@gnu.org>
5355 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
5356 the scroll-bar scroll the calendar window rather than the buffer.
5358 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
5359 commands that move point (as opposed to scrolling).
5361 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
5363 * emacs-lisp/elint.el (elint): New custom group.
5364 (elint-log-buffer): Make it a defcustom.
5365 (elint-scan-preloaded, elint-ignored-warnings)
5366 (elint-directory-skip-re): New options.
5367 (elint-builtin-variables): Doc fix.
5368 (elint-preloaded-env): New variable.
5369 (elint-unknown-builtin-args): Add an entry for encode-time.
5370 (elint-extra-errors): Make it a variable rather than a constant.
5371 (elint-preloaded-skip-re): New constant.
5372 (elint-directory): Skip files matching elint-directory-skip-re.
5373 (elint-features): New variable, local to linted buffers.
5374 (elint-update-env): Initialize elint-features. Possibly add
5375 elint-preloaded-env to the buffer's environment.
5376 (elint-get-top-forms): Bind elint-current-pos, for log messages.
5378 (elint-init-form): New function, extracted from elint-init-env.
5379 Make non-list forms a warning rather than an error.
5380 Add the mode-map for define-derived-mode. Handle define-minor-mode,
5381 easy-menu-define, put that adds an error-condition, and provide.
5382 When requiring cl, also require cl-macs. Really require cl, to handle
5383 some cl macros. Store required libraries in the list elint-features,
5384 so as not to re-load them. Treat cc-require like require.
5385 (elint-init-env): Call elint-init-form to do the work.
5386 Handle eval-and-compile and such like.
5387 (elint-add-required-env): Do not clear messages.
5388 (elint-special-forms): Add handlers for function, defalias, if, when,
5390 (elint-form): Add optional argument to ignore elint-special-forms,
5391 useful to prevent recursive calls from handlers. Doc fix.
5392 Respect elint-ignored-warnings.
5393 (elint-form): Respect elint-ignored-warnings.
5394 (elint-bound-variable, elint-bound-function): New variables.
5395 (elint-unbound-variable): Respect elint-bound-variable.
5396 (elint-get-args): Respect elint-bound-function.
5397 (elint-check-cond-form): Add some simple handling for (f)boundp and
5399 (elint-check-defalias-form): New handler.
5400 (elint-check-let-form): Make an empty let a warning rather than an
5402 (elint-check-setq-form): Make an empty setq a warning rather than an
5403 error. Respect elint-ignored-warnings.
5404 (elint-check-defvar-form): Accept null doc-strings.
5405 (elint-check-conditional-form): New handler. Does some simple-minded
5406 checking of featurep and (f)boundp tests.
5407 (elint-put-function-args): New function.
5408 (elint-initialize): Use elint-scan-doc-file rather than
5409 elint-find-builtin-variables. Use elint-put-function-args.
5410 Possibly scan preloaded-file-list.
5411 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
5412 extend to handle functions as well.
5414 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
5416 * linum.el (linum-delete-overlays, linum-update-window):
5417 Do not modify the right margin. (Bug#3971)
5419 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
5421 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
5422 nxml-mode instead of xml-mode.
5424 2009-09-21 Kevin Ryde <user42@zip.com.au>
5426 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
5428 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5430 * net/dig.el (dig-mode): Use define-derived-mode.
5432 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
5434 * vc-dispatcher.el (vc-do-command): Return the process object in
5435 the asynchronous case. Use when instead of if. Do not run
5436 vc-exec-after to display a message if not enabled. (Bug#4463)
5438 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
5439 properties to the stash strings.
5440 (vc-git-stash-list): Return a list of strings.
5441 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
5442 (vc-git-stash-show-at-point): New functions.
5443 (vc-git-stash-map): New keymap.
5445 * register.el (ctl-x-r-map): Define the keys here instead of
5448 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
5450 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
5451 list, to workaround performance problem (bug#4485).
5453 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
5455 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
5457 2009-09-20 Daiki Ueno <ueno@unixuser.org>
5459 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
5460 Document that this option is not recommended to use.
5462 2009-09-19 Glenn Morris <rgm@gnu.org>
5464 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
5467 * calc/calc-alg.el (var):
5468 * calc/calcalg2.el (var): Define for compiler.
5470 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
5472 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
5475 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
5477 * time-stamp.el (time-stamp-month-dd-yyyy)
5478 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
5479 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
5480 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
5481 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
5482 Remove functions that have been obsolete since 1995 (Bug#4436).
5484 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
5485 indent buffer only if called interactively (Bug#4452).
5487 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
5488 Eli Zaretskii <eliz@gnu.org>
5490 This fixes bug#4197 (merged to bug#865, though not identical).
5491 * server.el (server-auth-dir): Add docstring note about FAT32.
5492 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
5493 but warn against using them.
5495 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
5497 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
5498 older GDB where there is no has_more field.
5500 2009-09-19 Glenn Morris <rgm@gnu.org>
5502 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
5504 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
5506 * files.el (auto-mode-alist): Change default for XML files to nXML
5509 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
5511 * server.el (server-ensure-safe-dir): Pass 'integer
5512 to `file-attributes', as suggested.
5514 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5516 * dired-aux.el (dired-query-alist): Remove spurious backslash.
5517 (dired-query): Use read-key.
5519 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
5521 * cus-start.el (ns-use-qd-smoothing): Remove.
5523 2009-09-18 Glenn Morris <rgm@gnu.org>
5525 * allout.el (top-level): Remove unnecessary progn.
5527 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
5529 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
5530 definition of abbrev table.
5532 * speedbar.el (speedbar-track-mouse):
5533 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
5534 * net/eudc.el (eudc-expand-inline):
5535 * net/newst-backend.el (newsticker--cache-read-feed):
5536 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
5537 condition-case handlers.
5539 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
5541 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
5542 (gdb-var-list): Add an element for has_more field.
5543 (gdb-non-stop-handler): Enable pretty printing for STL containers.
5544 (gdb-var-create-handler, gdb-var-list-children-handler-1)
5545 (gdb-var-update-handler-1): Parse output of dynamic variable
5546 objects (STL containers).
5547 (gdb-var-delete-1): Pass var1 as an explicit second argument.
5548 (gdb-get-field): Delete alias. Use bindat-get-field directly.
5550 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
5552 (gud-speedbar-buttons): Make node expandable if expression "has more"
5555 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
5557 * startup.el (emacs-quick-startup): Remove variable and all uses.
5558 (command-line): Set `inhibit-x-resources' instead.
5559 (command-line-1): Use `inhibit-x-resources' instead.
5561 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
5563 * subr.el: Fix last change to avoid using the `unless' macro,
5564 which breaks bootstrapping.
5566 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5568 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
5569 extended definitions, in case we reload subr.el after having
5571 (eval-next-after-load): Mark as obsolete.
5573 2009-09-17 Juri Linkov <juri@jurta.org>
5575 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
5576 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
5577 (menu-bar-showhide-menu, menu-bar-tools-menu)
5578 (menu-bar-describe-menu, menu-bar-help-menu)
5579 (minibuffer-local-completion-map, minibuffer-local-map):
5582 2009-09-17 Glenn Morris <rgm@gnu.org>
5584 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
5585 arguments, whether or not it has a handler.
5587 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
5589 * simple.el (hard-newline): Give it a doc-string.
5591 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
5592 (lisp-mode-syntax-table): Give them doc-strings.
5594 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
5596 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
5597 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
5598 (menu-bar-options-menu, menu-bar-showhide-menu)
5599 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
5600 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
5601 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
5602 (menu-bar-options-menu, menu-bar-tools-menu)
5603 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
5604 (menu-bar-help-menu):
5605 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
5608 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
5609 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
5610 calls for the menu names and :help.
5612 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5614 * mouse.el (minor-mode-menu-from-indicator): Pay attention
5615 to :minor-mode-function (bug#4455).
5617 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5619 * startup.el (command-line): Initialize the window-system after
5620 processing the command-line.
5622 * textmodes/page.el (what-page): Make sure we don't inf-loop if
5623 page-delimiter matches the empty string.
5625 2009-09-16 Glenn Morris <rgm@gnu.org>
5627 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
5628 byte-compile-not-obsolete-var. It's a list now.
5629 (byte-compile-not-obsolete-funcs): New variable.
5630 (byte-compile-warn-obsolete): Don't warn about functions if they are in
5631 byte-compile-not-obsolete-funcs.
5632 (byte-compile-variable-ref, byte-compile-defvar): Update for
5633 byte-compile-not-obsolete-vars name-change and list nature.
5634 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
5635 and variables behind (f)boundp tests.
5636 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
5638 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
5640 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
5642 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
5644 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
5645 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
5648 2009-09-15 Stephen Eglen <stephen@gnu.org>
5650 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
5651 the virtual-buffers, use the name of the buffer specified by
5652 find-file-noselect, as the match may be a symlink. (This was a
5653 problem if the target and the symlink had different names.)
5655 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
5657 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
5659 * desktop.el (desktop-path): Check user-emacs-directory.
5661 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
5663 * loadup.el: Use after-load-functions to GC after loading each file.
5664 Remove the explicit GC calls that used to be sprinkled around.
5666 * subr.el (after-load-functions): New hook.
5667 (do-after-load-evaluation): Run it. Use string-match-p to detect
5668 `obsolete' packages, rather than painfully extracting the relevant
5671 2009-09-15 Glenn Morris <rgm@gnu.org>
5673 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
5674 free variable `doc'.
5676 * dired.el (dired-mode-map): Add menu entry for async shell command.
5678 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
5679 variables, also consider the .elc files, since the .el files are
5680 normally gzipped (subsequent code locates the .el.gz from the .elc).
5682 * calc/calc-prog.el (arglist): Define for compiler.
5684 * calendar/diary-lib.el (diary-display-function): Change the default to
5686 (body): Define for compiler.
5688 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
5689 (byte-compile-file-form, byte-compile-lambda)
5690 (byte-compile-top-level-body, byte-compile-form)
5691 (byte-compile-variable-ref, byte-compile-setq)
5692 (byte-compile-setq-default, byte-compile-body)
5693 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
5694 (batch-byte-compile): Give some more local variables with common names
5695 a "bytecomp-" prefix to avoid masking warnings about free variables.
5697 * startup.el (command-line-1): Give local variables with common names a
5698 distinguishing prefix, so as not to hide free variable warnings during
5701 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
5702 clever and add a suffix to make a unique name, just let the user decide
5703 whether or not to overwrite it. If the input is a directory, write the
5704 default filename to that directory. (Bug#4388)
5705 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
5706 is a filename-as-a-directory.
5708 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
5710 * textmodes/page.el (what-page): Don't move to beginning of line.
5711 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
5713 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
5715 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
5717 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
5719 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
5720 * help.el (help-for-help-internal): Add purecopy calls for text.
5722 * vc.el (top): print-log method now takes an optional SHORTLOG
5723 argument. Add a new method: root.
5724 (vc-root-diff, vc-print-root-log): New functions.
5725 (vc-log-short-style): New variable.
5726 (vc-print-log-internal): Add support for showing short logs.
5728 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
5729 vc-print-root-log and vc-print-root-diff.
5731 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
5732 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
5733 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
5736 * vc-cvs.el (vc-cvs-print-log):
5737 * vc-mtn.el (vc-mtn-print-log):
5738 * vc-rcs.el (vc-rcs-print-log):
5739 * vc-sccs.el (vc-sccs-print-log):
5740 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
5741 that is ignored for now.
5743 * vc-mtn.el (vc-mtn-annotate-command):
5744 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
5746 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
5748 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
5749 to function-key-map, and give them ascii-character property.
5750 * term/x-win.el (x-alternatives-map):
5751 * term/ns-win.el (ns-alternatives-map):
5752 * term/internal.el (msdos-key-remapping-map):
5753 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
5755 2009-09-14 Glenn Morris <rgm@gnu.org>
5757 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
5758 temp-buffers (2009-09-12).
5760 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5762 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
5763 the new read-key function.
5765 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
5767 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
5768 is defined (Bug#4405).
5770 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
5772 * recentf.el (recentf-cleanup): Use a hash table to find
5773 duplicates (Bug#4407).
5775 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
5777 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
5778 kp-0 to ascii equivalents (Bug#4325).
5780 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
5782 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
5784 * eshell/em-hist.el:
5785 * eshell/em-dirs.el (eshell-complete-user-reference):
5786 Declare pcomplete functions and variables to avoid compiler warnings.
5788 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
5790 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
5791 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
5792 * eshell/em-alias.el (eshell-aliases-file):
5793 * eshell/em-hist.el (eshell-history-file-name):
5794 Use expand-file-name instead of concat to make file names (Bug#4308).
5796 2009-09-13 Glenn Morris <rgm@gnu.org>
5798 * ediff-merg.el (ediff-do-merge):
5799 * filesets.el (filesets-run-cmd):
5800 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
5801 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
5802 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
5803 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
5804 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
5805 Replace empty `let's with `progn'.
5807 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5809 * mail/sendmail.el (send-mail-function):
5810 * tooltip.el (tooltip-mode):
5811 * simple.el (transient-mark-mode):
5812 * rfn-eshadow.el (file-name-shadow-mode):
5813 * frame.el (blink-cursor-mode):
5814 * font-core.el (global-font-lock-mode):
5815 * files.el (temporary-file-directory)
5816 (small-temporary-file-directory, auto-save-file-name-transforms):
5817 * epa-hook.el (auto-encryption-mode):
5818 * composite.el (global-auto-composition-mode):
5819 Use custom-initialize-delay.
5820 * startup.el (command-line): Don't explicitly call
5821 custom-reevaluate-setting for all the above vars.
5822 * custom.el (custom-initialize-safe-set)
5823 (custom-initialize-safe-default): Delete.
5825 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5827 * term/x-win.el (x-initialize-window-system):
5828 * term/w32-win.el (w32-initialize-window-system):
5829 * term/ns-win.el (ns-initialize-window-system): Don't call
5830 mouse-wheel-mode since it's enabled globally by default already.
5832 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
5833 actually define the variable, but only silences the byte-compiler.
5834 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
5835 before looking it up.
5836 (mouse-wheel-scroll-amount): Also reset the bindings if this value
5839 2009-09-12 Glenn Morris <rgm@gnu.org>
5841 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
5843 (elint-add-required-env): Don't beep on error.
5844 (elint-forms): In case of error, return ENV unchanged.
5845 (elint-init-env): Skip non-list forms.
5846 (elint-log): Handle unknown file positions.
5848 2009-09-12 Daiki Ueno <ueno@unixuser.org>
5850 * epg.el (epg-make-context): Add autoload cookie.
5851 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
5852 (epg-decrypt-string, epg-start-verify, epg-verify-file)
5853 (epg-verify-string, epg-start-sign, epg-sign-file)
5854 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
5855 (epg-encrypt-string, epg-start-export-keys)
5856 (epg-export-keys-to-file, epg-export-keys-to-string)
5857 (epg-start-import-keys, epg-import-keys-from-file)
5858 (epg-import-keys-from-string, epg-start-receive-keys)
5859 (epg-receive-keys, epg-import-keys-from-server)
5860 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
5861 (epg-sign-keys, epg-start-generate-key)
5862 (epg-generate-key-from-file, epg-generate-key-from-string):
5863 Remove autoload cookie.
5865 2009-09-12 Eli Zaretskii <eliz@gnu.org>
5867 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
5868 reevaluation of trash-directory.
5870 * mwheel.el: Fix last change.
5871 (mouse-wheel-mode): New defvar.
5872 (mouse-wheel-mode): Remove autoload cookie.
5874 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5876 * mwheel.el (mwheel-installed-bindings): New var.
5877 (mouse-wheel-mode): Use it, so as to make sure we really remove all
5878 the bindings we set last time. Use custom-initialize-delay.
5879 * loadup.el: Load mwheel after term/*-win.el.
5880 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
5881 and mouse-wheel-up-event now that their first evaluation is done
5882 sufficiently late to be correct.
5884 * startup.el (tutorial-directory): Make it a defcustom.
5885 Use custom-initialize-delay rather than eval-at-startup to set it.
5886 * image.el (image-load-path): Make it a defcustom.
5887 Use custom-initialize-delay rather than eval-at-startup to set it.
5888 * subr.el (eval-at-startup): Remove.
5889 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
5891 * subr.el (do-after-load-evaluation): Warn the user after loading an
5894 2009-09-12 Glenn Morris <rgm@gnu.org>
5896 * proced.el (proced-mark-alt): Remove alias.
5897 (proced-mode-map): Remove proced-mark-alt.
5899 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
5900 Elint file and directory. Remove initialization entry.
5902 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
5904 (elint-current-buffer): Set mode-line-process.
5905 (elint-init-env): Handle define-derived-mode.
5906 Fix declare-function with unspecified arglist. Guard against odd
5907 defalias statements (eg iso-insert's 8859-1-map).
5908 (elint-add-required-env): Use a temp buffer.
5909 (elint-form): Just print the function/macro name, not the whole form.
5910 Return env unchanged if we fail to parse a macro.
5911 (elint-forms): Guard against parse errors.
5912 (elint-output): New function, to handle batch mode.
5913 (elint-log-message): Add optional argument. Use elint-output.
5914 (elint-set-mode-line): New function.
5916 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
5918 * emacs-lisp/elp.el (elp-not-profilable): Add more
5919 functions (Bug#4233).
5921 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
5923 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
5924 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
5926 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
5928 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
5929 (gdb-var-list-children): Use json parsing.
5931 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
5933 * progmodes/js.el (js--proper-indentation): Handle the case where
5934 char-before is null. Reported by Deniz Dogan.
5936 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
5938 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
5940 2009-09-11 Daiki Ueno <ueno@unixuser.org>
5942 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
5943 (epg-digest-algorithm-alist): Add SHA224.
5944 (epg-context-set-passphrase-callback)
5945 (epg-context-set-progress-callback): Add description about
5948 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5950 * custom.el (custom-delayed-init-variables): New var.
5951 (custom-initialize-delay): New function.
5952 * startup.el (command-line): "Re"evaluate all vars in
5953 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
5954 explicitly any more.
5955 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
5956 to avoid creating a ~/.emacs.d at build-time (bug#4347).
5958 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
5960 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
5962 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
5963 (gdb-var-update-handler): Use json parsing.
5965 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
5967 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
5968 decode annotated text, regardless of language environment. (Bug#2741)
5970 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5972 * Makefile.in (autoloads): Make rmail.el writable as well.
5974 2009-09-11 Glenn Morris <rgm@gnu.org>
5976 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
5978 * dired.el: Regenerate with extracted autoloads.
5979 * Makefile.in (autoloads): Make dired.el writable.
5981 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
5982 * ibuffer.el: Regenerate with extracted autoloads.
5983 * Makefile.in (autoloads): Make ibuffer.el writable.
5985 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
5986 * version.el (emacs-copyright, emacs-major-version)
5987 (emacs-minor-version): Reformat doc-strings for make-docfile.
5989 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
5990 functions and variables, since they must be stuff specific to some other
5992 (apropos-print): Make mouse-click message less specific about button.
5994 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
5995 that records where a macro was defined.
5996 * help-fns.el (describe-function-1): Mention if a function has a
5998 * help-mode.el (help-function-cmacro): New button.
6000 * locate.el (top-level): Always require dired.
6001 (locate-mode-map): Initialize inside the defvar.
6003 * net/ange-ftp.el (dired-compress-file): Declare.
6004 (ange-ftp-dired-compress-file): Add doc string.
6006 * term/ns-win.el (x-display-name, x-setup-function-keys):
6007 Unify doc-strings with X versions.
6009 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6011 * emulation/crisp.el (crisp-mode-map): Move initialization
6013 (crisp-mode): Use define-minor-mode.
6015 * progmodes/xscheme.el (xscheme-evaluation-commands):
6016 Put a :advertised-binding property rather than using
6017 advertised-xscheme-send-previous-expression.
6018 (advertised-xscheme-send-previous-expression): Declare obsolete.
6019 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
6021 (crisp-mode): Add corresponding bindings to
6022 undo's :advertised-binding instead.
6023 * dired.el (dired-mode-map): Put a :advertised-binding property rather
6024 than using dired-advertised-find-file.
6025 (dired-advertised-find-file):
6026 * simple.el (advertised-undo):
6027 * wid-edit.el (advertised-widget-backward): Declare obsolete.
6028 (widget-keymap): Put a :advertised-binding property rather
6029 than using advertised-widget-backward.
6030 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
6031 than using advertised-undo.
6032 * tutorial.el (tutorial--default-keys): Adjust accordingly.
6034 2009-09-10 Simon South <ssouth@slowcomputing.org>
6036 * progmodes/delphi.el (delphi-tab): Indent region when Transient
6037 Mark mode is enabled and region is active; otherwise indent or
6038 insert TAB as usual.
6039 (delphi-mode): Update description of TAB-key binding.
6041 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6043 * subr.el (define-key-rebound-commands): Mark obsolete.
6044 * startup.el (precompute-menubar-bindings): Remove.
6045 (normal-top-level): Remove obsolete code that tried to precompute
6047 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
6048 define-key-rebound-commands and precompute-menubar-bindings.
6050 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
6052 * net/imap.el (imap-interactive-login): Better messages.
6053 (imap-open): Fix bug with renamed buffer on reconnect.
6054 (imap-authenticate): Add buffer-local imap-last-authenticator variable
6055 for easier debugging and cleaner code. On successful (guessed based on
6056 server capabilities) secondary authentication, set imap-state
6058 (imap-last-authenticator): Define imap-last-authenticator as a variable
6061 2009-09-10 Glenn Morris <rgm@gnu.org>
6063 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
6065 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
6066 (byte-compile-file-form-autoload): Don't warn about unknown functions
6067 where the autoload statement comes after the use.
6068 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
6069 that any handlers inside the body (eg require) are in turn respected.
6071 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
6074 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
6075 and syntax and abbrev tables basic docs, if they don't have any.
6077 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
6079 * international/mule-cmds.el (top-level): Require cl when compiling.
6080 (view-hello-file): Use default-value rather than
6081 default-enable-multibyte-characters.
6083 * progmodes/fortran.el: Move all safe and risky properties into the
6086 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
6087 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
6089 Put autoloads in rmail.el rather than loaddefs.el.
6090 * mail/rmail.el: Regenerate with extracted autoloads.
6092 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
6093 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
6095 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
6097 Reported in thread for Bug#4375.
6098 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
6099 "-data-evaluate-expression" instead of print.
6100 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
6101 (gdb-tooltip-print): Parse output from above MI command.
6102 (gdb): Revert 2009-08-11 change. User should detach inferior
6105 Remove the word "separate" from IO functions as inferior
6106 output is now never displayed in the GUD buffer.
6108 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
6110 * startup.el (command-line-normalize-file-name): On Windows and
6111 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
6113 2009-09-10 Juri Linkov <juri@jurta.org>
6115 * isearch.el (isearch-text-char-description): Propertize escape
6116 character sequences with the `escape-glyph' face. (Bug#4344)
6118 * simple.el (shell-command): Set asynchronous process filter to
6119 `comint-output-filter'. (Bug#4343)
6121 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
6122 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
6123 the list. Move "asm" to the bottom.
6124 (grep-find-ignored-directories): Add `choice' with nil value
6125 to empty the list easily.
6126 (grep-find-ignored-files): New option.
6127 (grep-files-history): Set to nil by default instead of '("ch" "el").
6128 (grep-compute-defaults): Add "<X>" to `grep-template'.
6129 (grep-read-files): Bind new local variables `default-alias' and
6130 `default-extension'. Use a list of default values for the file prompt.
6131 (lgrep): Add `--exclude=' command line options composed from
6132 `grep-find-ignored-files'.
6133 (rgrep): Add `-name' command line options composed from
6134 `grep-find-ignored-files'. (Bug#4301)
6136 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6138 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
6141 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
6143 * calendar/time-date.el (autoload):
6144 Expand define-obsolete-function-alias into defalias and make-obsolete
6145 for old Emacsen that Gnus supports.
6146 (with-no-warnings): Define it for old Emacsen.
6147 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
6149 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
6150 float-time is available; suppress compile warning for time-to-seconds.
6152 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
6154 * net/imap.el (imap-message-map): Docstring fix.
6156 2009-09-09 Glenn Morris <rgm@gnu.org>
6158 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
6159 line numbers too. (Bug#4374)
6161 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6163 * smerge-mode.el (smerge-remove-props, smerge-refine):
6164 Use with-silent-modifications (bug#4342).
6166 * subr.el (with-silent-modifications): New macro.
6168 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
6170 * files.el (top-level): Require `cl' when compiling.
6172 2009-09-07 Glenn Morris <rgm@gnu.org>
6174 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
6176 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
6177 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
6179 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
6181 * vc-git.el (vc-git-annotate-command): Use separator to parse
6182 arguments correctly.
6184 2009-09-06 Eli Zaretskii <eliz@gnu.org>
6186 * proced.el (proced-mode): Doc fix.
6188 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
6190 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
6192 (tramp-do-file-attributes-with-ls): Check for file existence at
6194 (tramp-do-file-attributes-with-stat): Likewise.
6195 (tramp-convert-file-attributes): Return nil when attr is nil.
6197 2009-09-05 Glenn Morris <rgm@gnu.org>
6199 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
6200 properties to this button.
6201 (diary-fancy-display): Don't extend the button to the final newline.
6202 (diary-fancy-display-mode): Continue to define "q" as a local key.
6204 * calendar/cal-china.el (holiday-chinese): Make it slightly more
6207 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
6209 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
6210 (byte-compile-dest-file-function): New option.
6211 (byte-compile-dest-file): Doc fix.
6212 Obey byte-compile-dest-file-function.
6213 (byte-compile-cl-file-p): New function.
6214 (byte-compile-eval): Only suppress noruntime warnings about cl functions
6215 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
6216 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
6217 than for file being previously loaded.
6218 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
6219 (byte-compile-file-form-require): Handle the case where requiring a file
6220 indirectly causes CL to be loaded.
6222 2009-09-05 Karl Fogel <kfogel@red-bean.com>
6224 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
6225 before killing the old buffer, since by the time `kill-buffer' is
6226 run so many buffer variables have been set to nil that it may not
6227 behave as expected. (Bug#4061)
6229 2009-09-05 Karl Fogel <kfogel@red-bean.com>
6231 * files.el (find-alternate-file): If the old buffer is modified
6232 and visiting a file, behave similarly to `kill-buffer' when
6233 killing it, thus reverting to the pre-1.878 behavior; see
6234 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
6235 for discussion. Also, consult `buffer-file-name' as a variable
6236 not as a function, for consistency with the rest of the code.
6238 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
6240 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
6241 also when adding a new directory.
6243 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
6246 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6248 * files.el (locate-file-completion-table): Make it provide boundary
6249 information, so partial-completion works better.
6251 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
6253 * mail/footnote.el (Footnote-text-under-cursor):
6254 Check footnote-text-marker-alist before using it (bug#4324).
6256 2009-09-04 Glenn Morris <rgm@gnu.org>
6258 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
6259 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
6260 * play/solitaire.el, play/tetris.el:
6261 Remove leading * from defcustom and defface docs.
6263 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
6265 (diary-fancy-overriding-map): New variable.
6266 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
6269 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
6272 2009-09-03 Glenn Morris <rgm@gnu.org>
6274 * arc-mode.el (archive-mode):
6275 * dos-fns.el (set-default-process-coding-system):
6276 * man.el (Man-getpage-in-background):
6277 * menu-bar.el (menu-bar-describe-menu):
6278 * server.el (server-process-filter):
6279 * startup.el (command-line):
6280 * tar-mode.el (tar-header-block-tokenize, tar-extract):
6281 * w32-fns.el (set-default-process-coding-system):
6282 * x-dnd.el (x-dnd-handle-file-name):
6283 * international/mule-cmds.el (mule-menu-keymap)
6284 (set-default-coding-systems, language-info-alist, set-language-info)
6285 (set-language-environment, standard-display-european-internal)
6286 (set-locale-environment):
6287 * international/mule-diag.el (mule-diag):
6288 * mail/emacsbug.el (report-emacs-bug):
6289 * mail/rmail.el (rmail-mode):
6290 * mail/sendmail.el (mail-setup):
6291 Use default-value rather than default-enable-multibyte-characters.
6293 * progmodes/f90.el: Move all safe properties into the defcustoms.
6294 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
6296 * calendar/appt.el (appt-check):
6297 * calendar/diary-lib.el (diary-set-header, diary-live-p)
6298 (diary-check-diary-file, diary-list-entries)
6299 (diary-include-other-diary-files, diary-simple-display)
6300 (diary-fancy-display, diary-print-entries)
6301 (diary-mark-included-diary-files, diary-make-entry):
6302 Don't call substitute-in-file-name on diary-file.
6304 2009-09-03 Eduard Wiebe <usenet@pusto.de>
6305 Stefan Monnier <monnier@iro.umontreal.ca>
6307 * mail/footnote.el (footnote-prefix): Make it a defcustom.
6308 (footnote-mode-map): Move initialization into the declaration.
6309 (footnote-minor-mode-map): Define it rather than changing global-map.
6310 (footnote-mode): Use define-minor-mode.
6312 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
6314 * net/tramp.el (tramp-handle-file-attributes-with-ls)
6315 (tramp-do-file-attributes-with-perl)
6316 (tramp-do-file-attributes-with-stat): Rename from
6317 `tramp-handle-file-attributes-with-*'.
6318 (tramp-handle-file-attributes): Use them.
6319 (tramp-do-directory-files-and-attributes-with-perl)
6320 (tramp-do-directory-files-and-attributes-with-stat): Rename from
6321 `tramp-handle-directory-files-and-attributes-with-*'.
6322 (tramp-handle-directory-files-and-attributes): Use them.
6323 (tramp-method-out-of-band-p): Additional parameter SIZE.
6324 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
6325 (tramp-handle-write-region): Use it.
6326 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
6327 (tramp-handle-vc-registered): Check, whether the first run did
6328 return files to be tested.
6329 (tramp-advice-make-auto-save-file-name): Do not call directly
6330 `tramp-handle-make-auto-save-file-name', because this would bypass
6331 the locking mechanism.
6333 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
6334 (file-remote-p, process-file, start-file-process, set-file-times)
6335 (tramp-compat-file-attributes): Compatibility functions shall not
6336 call directly `tramp-handle-*', because this would bypass the
6338 (tramp-compat-number-sequence): New defun.
6340 2009-09-02 Glenn Morris <rgm@gnu.org>
6342 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
6343 alias for float-time.
6344 (time-to-number-of-days): In Emacs, use float-time.
6345 * net/newst-backend.el (time-add): Suppress warnings from compat
6347 * time.el (emacs-uptime, emacs-init-time):
6348 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
6349 Use float-time rather than time-to-seconds.
6351 * minibuffer.el (completion-initials-expand): Fix typo.
6353 * faces.el (modeline, modeline-inactive, modeline-highlight)
6354 (modeline-buffer-id):
6355 * info.el (info-menu-5): Mark these face aliases as obsolete.
6357 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
6359 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
6361 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
6362 no "--thread" option.
6363 (gdb-stopped): Don't print "Switched to thread" message when it is
6366 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6368 * minibuffer.el (completion-try-completion)
6369 (completion-all-completions): Remove ill-defined (and
6370 mistakenly installed and luckily never used nor documented)
6371 `completion-styles' property.
6372 (completion-initials-expand, completion-initials-all-completions)
6373 (completion-initials-try-completion): New functions.
6374 (completion-styles-alist): Add doc to each entry.
6375 Add new `initials' entry.
6377 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
6379 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
6380 MI command -var-evaluate-expression.
6381 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
6382 and tweak for case of string child.
6383 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
6385 2009-09-01 Glenn Morris <rgm@gnu.org>
6387 * add-log.el (change-log-date-face, change-log-name-face)
6388 (change-log-email-face, change-log-file-face, change-log-list-face)
6389 (change-log-conditionals-face, change-log-function-face)
6390 (change-log-acknowledgement-face):
6391 * cus-edit.el (custom-invalid-face, custom-rogue-face)
6392 (custom-modified-face, custom-set-face, custom-changed-face)
6393 (custom-saved-face, custom-button-face, custom-button-pressed-face)
6394 (custom-documentation-face, custom-state-face, custom-comment-face)
6395 (custom-comment-tag-face, custom-variable-tag-face)
6396 (custom-variable-button-face, custom-face-tag-face)
6397 (custom-group-tag-face-1, custom-group-tag-face):
6398 * diff-mode.el (diff-header-face, diff-file-header-face)
6399 (diff-index-face, diff-hunk-header-face, diff-removed-face)
6400 (diff-added-face, diff-changed-face, diff-function-face)
6401 (diff-context-face, diff-nonexistent-face):
6402 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
6403 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
6404 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
6405 (Info-title-4-face):
6406 * isearch.el (isearch-lazy-highlight-face):
6407 * log-view.el (log-view-file-face, log-view-message-face):
6408 * paren.el (show-paren-match-face, show-paren-mismatch-face):
6409 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
6410 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
6412 * smerge-mode.el (smerge-mine-face, smerge-other-face)
6413 (smerge-base-face, smerge-markers-face):
6414 * wid-edit.el (widget-documentation-face, widget-button-face)
6415 (widget-field-face, widget-single-line-field-face)
6416 (widget-inactive-face, widget-button-pressed-face):
6417 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
6418 (woman-addition-face):
6419 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
6420 (eshell-ls-executable-face, eshell-ls-readonly-face)
6421 (eshell-ls-unreadable-face, eshell-ls-special-face)
6422 (eshell-ls-missing-face, eshell-ls-archive-face)
6423 (eshell-ls-backup-face, eshell-ls-product-face)
6424 (eshell-ls-clutter-face):
6425 * eshell/em-prompt.el (eshell-prompt-face):
6426 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
6427 * obsolete/old-whitespace.el (whitespace-highlight-face):
6428 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
6429 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
6430 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
6431 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
6432 (antlr-font-lock-literal-face):
6433 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
6434 (ebrowse-root-class-face, ebrowse-file-name-face)
6435 (ebrowse-default-face, ebrowse-member-attribute-face)
6436 (ebrowse-member-class-face, ebrowse-progress-face):
6437 * progmodes/make-mode.el (makefile-space-face):
6438 * progmodes/sh-script.el (sh-heredoc-face):
6439 * textmodes/flyspell.el (flyspell-incorrect-face)
6440 (flyspell-duplicate-face):
6441 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
6442 * textmodes/texinfo.el (texinfo-heading-face):
6443 Mark face aliases with "-face" suffix as obsolete.
6445 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
6448 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
6449 (eudc-bob-sound-menu): Use defvar rather than defconst, since
6450 easy-menu-define wants to modify these.
6452 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
6454 * net/browse-url.el (browse-url-file-url):
6455 * term/internal.el (dos-codepage-setup):
6456 Use default-value rather than default-enable-multibyte-characters.
6458 * progmodes/etags.el (etags-goto-tag-location):
6459 * progmodes/flymake.el (flymake-highlight-line)
6460 (flymake-goto-file-and-line, flymake-goto-line):
6461 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
6462 (gdb-goto-breakpoint):
6463 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
6464 * progmodes/python.el (python-find-function)
6465 (python-pdbtrack-track-stack-file):
6466 * progmodes/verilog-mode.el (verilog-surelint-off):
6467 * term/ns-win.el (ns-open-file-select-line):
6468 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
6469 Use forward-line rather than goto-line.
6471 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
6472 * textmodes/reftex-index.el (reftex-display-index):
6473 * textmodes/reftex-ref.el (reftex-offer-label-menu):
6474 * textmodes/reftex-toc.el (reftex-toc):
6475 Remove unnecessary bindings of default-major-mode (all are followed by
6476 major-mode check and possible mode switch).
6478 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
6480 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6481 Handle watchpoints (bug#4282).
6482 (def-gdb-thread-buffer-command): Enable thread to be selected by
6483 clicking without selecting threads buffer first.
6484 (gdb-current-context-command): Use selected frame so that "up",
6485 "down" etc work in the GUD buffer.
6486 (gdb-update): Find selected frame before rendering stack buffer.
6487 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
6489 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
6491 * progmodes/sym-comp.el (displayed-completions): Remove.
6492 (symbol-complete): Use minibuffer-complete.
6494 2009-08-31 Glenn Morris <rgm@gnu.org>
6496 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
6498 * apropos.el (apropos-symbols-internal):
6499 Handle (obsolete) face aliases.
6501 * faces.el (describe-face): Adjust the output format to be more like
6502 describe-variable, and to mention (obsolete) face aliases.
6503 Adjust the whitespace so that help-setup-xref works.
6505 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
6506 * calendar/diary-lib.el (diary-button-face):
6507 Mark these face aliases as obsolete.
6509 * calendar/calendar.el (calendar-today): Doc fix.
6511 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
6513 * progmodes/gdb-mi.el (gdb-control-all-threads)
6514 (gdb-control-current-thread): Force tool bar update.
6515 (gdb-non-stop-handler): New function.
6516 (gdb-init-1): Use it to test if non-stop mode is supported.
6517 Remove unused gdbmi buffer type.
6519 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6521 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
6522 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
6524 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
6526 * comint.el (comint-exec-1): Check command is non-null first.
6527 Part of gdb-mi.el change (2009-08-28).
6529 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6531 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
6533 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
6535 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
6536 instead of `dolist' to avoid a recursive require when bootstrapping.
6538 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
6540 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
6542 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
6544 * net/imap.el (imap-send-command): Simplify.
6545 (imap-wait-for-tag): point-max -> buffer-size.
6547 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
6549 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
6550 with constant argument.
6552 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
6554 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
6556 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
6557 Change default, since most of our files don't have a history.
6558 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
6561 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
6564 * calc/calc.el: Improve commenting convention.
6565 (calc-digit-map, toplevel): Simplify.
6567 * comint.el (comint-insert-input): Be careful to only set point if we
6568 don't delegate to some other command.
6570 * proced.el (proced-signal-list): Make it an alist.
6571 (proced-grammar-alist): Capitalize names.
6572 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
6573 Disable undo manually and make it read-only.
6574 Use completion-annotate-function.
6576 * minibuffer.el (minibuffer-message): If the current buffer is not
6577 a minibuffer, insert the message in the echo area rather than at the
6579 (completion-annotate-function): New variable.
6580 (minibuffer-completion-help): Use it.
6581 (completion--embedded-envvar-table): Environment vars are
6582 always case-sensitive.
6584 2009-08-30 Glenn Morris <rgm@gnu.org>
6586 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
6587 from fortran-current-defun.
6588 (fortran-beginning-of-subprogram): Be more precise about finding the
6589 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
6590 (fortran-end-of-subprogram): Simplify.
6591 (fortran-current-defun): Use fortran-start-prog-re.
6593 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
6595 * subr.el (do-after-load-evaluation): Simplify.
6597 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
6599 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
6601 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
6602 (vc-rcs-print-log): Use it.
6604 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
6606 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6608 * paths.el (abbrev-file-name): Move to abbrev.el.
6609 * abbrev.el (abbrev-file-name): Move from paths.el.
6610 Obey user-emacs-directory.
6611 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
6612 user-emacs-directory.
6613 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
6614 abbrev-file-name and calc-settings-file any more.
6615 * startup.el (command-line): Recompute abbrev-file-name and
6616 abbreviated-home-dir.
6617 (normal-no-mouse-startup-screen): Improve the generic code and get rid
6618 of the special code for when C-h bindings haven't been changed.
6619 (display-startup-echo-area-message): Use with-current-buffer.
6620 (command-line-1): Use a list of strings, rather than a list of lists
6621 of strings for longopts.
6623 * files.el (get-free-disk-space): Use / for default-directory.
6625 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
6626 Use with-current-buffer.
6628 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
6629 Recognize immutable variables like most-positive-fixnum.
6630 (byte-compile-setq-default): Check and warn if trying to assign
6631 to an immutable variable, or a non-variable.
6633 * progmodes/cc-vars.el (c-comment-continuation-stars):
6634 * progmodes/cc-engine.el (c-looking-at-bos):
6635 * progmodes/cc-cmds.el (c-toggle-auto-state)
6636 (c-forward-into-nomenclature, c-backward-into-nomenclature)
6637 (c-comment-line-break-function): Add version of obsolescence.
6639 2009-08-28 Juri Linkov <juri@jurta.org>
6641 * files.el (magic-fallback-mode-alist): Add ZIP magic number
6642 associated with `archive-mode'.
6644 * image.el (image-type-header-regexps): Use only JPEG magic number
6645 to determine JPEG images, and don't use `image-jpeg-p' because
6646 Emacs can display non-JFIF non-Exif JPEG images.
6648 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
6650 * arc-mode.el (archive-mode):
6651 * emacs-lisp/re-builder.el (re-builder-unload-function):
6652 Protect against the default value of `major-mode' being nil.
6654 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
6656 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
6657 Fix typos in docstrings.
6659 * progmodes/js.el (js--macro-decl-re): Doc fix.
6660 (js--plain-method-re, js--split-name): Refloc docstring.
6661 (js--class-styles, js--make-merged-item, js--splice-into-items):
6662 Fix typos in docstrings; reflow docstrings.
6663 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
6664 (js--variable-decl-matcher, js--inside-pitem-p)
6665 (js--parse-state-at-point, js--get-all-known-symbols)
6666 (js--symbol-history, js-find-symbol, js--js-references)
6667 (js--moz-interactor, js--js-encode-value, js--read-tab):
6668 Fix typos in docstrings.
6670 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6672 * textmodes/reftex.el (reftex-get-file-buffer-force):
6673 * progmodes/verilog-mode.el (verilog-batch-execute-func):
6674 * emulation/viper.el (viper-go-away, viper-set-hooks):
6675 * emacs-lisp/re-builder.el (re-builder-unload-function):
6676 * emacs-lisp/bytecomp.el (byte-compile-file):
6677 * ses.el (ses-unload-function):
6678 * hexl.el (hexl-find-file):
6679 * files.el (normal-mode):
6680 * ehelp.el (with-electric-help):
6681 * autoinsert.el (auto-insert-alist):
6682 * arc-mode.el (archive-mode):
6683 Use (default-value 'major-mode) instead of default-major-mode.
6685 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
6686 * international/mule.el (load-with-code-conversion):
6687 * emacs-lisp/debug.el (debug):
6688 * ediff-vers.el (ediff-rcs-get-output-buffer):
6689 * dired.el (dired-internal-noselect): Don't let-bind
6690 default-major-mode around code that doesn't use it.
6691 E.g. buffer creation via get-buffer-create doesn't use it.
6693 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
6695 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
6696 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
6697 when writing the temp file. Otherwise, epa-file gets confused.
6698 (tramp-register-file-name-handlers): Make it a defun. Move also
6699 `epa-file-handler' to the front of `file-name-handler-alist'.
6701 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6703 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
6704 start right after a ^M.
6705 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
6706 (tramp-completion-file-name-regexp-separate)
6707 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
6708 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
6709 Don't modify last-coding-system-used by accident.
6710 (tramp-completion-file-name-handler): Apply the checks here,
6711 instead during registration.
6712 (tramp-register-file-name-handlers) Renamed from
6713 `tramp-register-file-name-handler'. Register both
6714 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
6715 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
6717 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
6719 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
6721 (gdb-init-1, gdb-display-separate-io-buffer)
6722 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
6724 (gdb-inferior-io-mode): Use make-comint-in-buffer.
6725 (gdb-inferior-filter): Use comint-output-filter to stop
6726 echoing and remove ^M characters.
6728 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6730 * emulation/viper-init.el (viper-restore-cursor-type):
6731 * emulation/cua-base.el (cua--update-indications):
6732 Replace default-cursor-type with (default-value 'cursor-type).
6734 * mail/sendmail.el (mail-recover-1):
6735 * international/mule-diag.el (describe-current-coding-system-briefly)
6736 (describe-current-coding-system):
6737 * international/mule-cmds.el (select-safe-coding-system)
6738 (select-message-coding-system)
6739 (set-language-environment-coding-systems, set-locale-environment):
6740 * hexl.el (hexl-insert-multibyte-char):
6741 * dos-w32.el (find-buffer-file-type-coding-system):
6742 * simple.el (what-cursor-position):
6743 Replace uses of default-buffer-file-coding-system
6744 with (default-value 'buffer-file-coding-system).
6746 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
6747 Replace uses of default-cursor-in-non-selected-windows
6748 with (default-value 'cursor-in-non-selected-windows).
6749 Use with-current-buffer.
6751 * mail/feedmail.el: Use CL macros.
6752 (feedmail-run-the-queue, feedmail-send-it-immediately):
6753 * dos-w32.el (find-buffer-file-type): Replace uses of
6754 default-buffer-file-type with (default-value 'buffer-file-type).
6756 2009-08-28 Glenn Morris <rgm@gnu.org>
6758 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
6759 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
6760 Use default-value of major-mode rather than default-major-mode.
6762 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6764 * Makefile.in (update-elcfiles): Report left over elc files.
6766 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
6767 expand-file-name and with-current-buffer.
6768 (mail-get-names, mail-directory): Use with-current-buffer.
6770 * vc.el (vc-read-revision): New function.
6771 (vc-version-diff, vc-merge): Use it.
6773 2009-08-27 Sam Steingold <sds@gnu.org>
6775 * simple.el (kill-do-not-save-duplicates): New user option.
6776 (kill-new): When it is non-nil, and the new string is the same as
6777 the latest kill, set replace to t to avoid duplicates in kill-ring.
6779 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
6781 * net/tramp.el (tramp-handle-process-file): Do not flush all
6782 caches when `process-file-side-effects' is set.
6783 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
6784 instead of `tramp-find-file-exists-command'.
6785 Unset `process-file-side-effects'.
6787 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
6789 * net/tramp.el (tramp-methods): New method "rsyncc".
6790 (top): Add completion function for "rsyncc".
6791 (tramp-message-show-message): New defvar.
6792 (tramp-message, tramp-error): Use it.
6793 (tramp-do-copy-or-rename-file-directly): Extend check for direct
6795 (tramp-do-copy-or-rename-file-out-of-band): Handle new
6796 `tramp-methods' entry `copy-env' of "rsyncc".
6797 (tramp-vc-registered-read-file-names): New defconst.
6798 (tramp-vc-registered-file-names): New defvar.
6799 (tramp-handle-vc-registered): Implement optimization strategy.
6800 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
6801 (tramp-vc-file-name-handler): New defun.
6802 (tramp-get-ls-command, tramp-get-test-command)
6803 (tramp-get-file-exists-command, tramp-get-remote-ln)
6804 (tramp-get-remote-perl, tramp-get-remote-stat)
6805 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
6807 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
6808 (tramp-cache-inhibit-cache): Extend doc string. It allows also
6810 (tramp-get-file-property): Check for timestamps in
6811 `tramp-cache-inhibit-cache'.
6812 (tramp-set-file-property): Write timestamp.
6814 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
6816 * language/japan-util.el (japanese-symbol-table): Add entries for
6819 * international/characters.el: Add category `j' to cp932-2-byte.
6821 2009-08-27 Kenichi Handa <handa@m17n.org>
6823 * international/fontset.el (build-default-fontset-data): New macro.
6824 (setup-default-fontset): Use build-default-fontset-data for CJK,
6825 tibetan, ethiopic, and ipa.
6827 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6829 * cus-start.el (default-major-mode): Customize `major-mode' instead.
6830 (enable-multibyte-characters): Not customizable any more.
6832 * subr.el (default-mode-line-format, default-header-line-format)
6833 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
6834 (default-direction-reversed, default-truncate-lines)
6835 (default-left-margin, default-tab-width, default-case-fold-search)
6836 (default-left-margin-width, default-right-margin-width)
6837 (default-left-fringe-width, default-right-fringe-width)
6838 (default-fringes-outside-margins, default-scroll-bar-width)
6839 (default-vertical-scroll-bar, default-indicate-empty-lines)
6840 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
6841 (default-fringe-cursor-alist, default-scroll-up-aggressively)
6842 (default-scroll-down-aggressively, default-fill-column)
6843 (default-cursor-type, default-buffer-file-type)
6844 (default-cursor-in-non-selected-windows)
6845 (default-buffer-file-coding-system, default-major-mode)
6846 (default-enable-multibyte-characters): Mark as obsolete.
6848 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
6850 * vc-dir.el (vc-dir-update): Remove debug helper.
6852 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
6854 2009-08-26 Sam Steingold <sds@gnu.org>
6856 * simple.el (save-interprogram-paste-before-kill): New user option.
6857 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
6858 save the interprogram-paste into kill-ring before overriding it
6859 with the Emacs kill.
6861 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
6863 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
6864 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
6865 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
6866 and move to vc-rcs.el.
6867 (vc-default-next-revision): Rename to vc-rcs-next-revision and
6869 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
6870 (vc-rcs-update-changelog): Remove.
6871 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
6872 and move to vc-rcs.el.
6874 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
6875 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
6877 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
6878 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
6879 vc.el, renamed to be RCS specific.
6881 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
6883 (vc-cvs-update-changelog): Move here from vc.el.
6885 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
6888 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
6890 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
6892 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
6894 * vc-git.el (vc-git-register): Use "git add" for directories.
6895 (vc-git-stash, vc-git-stash-show): New functions.
6896 (vc-git-extra-menu-map): Bind them.
6898 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
6899 directory correctly in case the item is a directory itself.
6901 * vc.el: Document the desired behavior for reverted files in the
6903 (vc-default-prettify-state-info): Remove function, unused.
6905 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
6907 2009-08-26 Glenn Morris <rgm@gnu.org>
6909 * bindings.el (standard-mode-line-format): Reposition dashes in
6910 which-func entry. (Bug#4217)
6912 * files.el (enable-local-variables, enable-local-eval)
6913 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
6915 (auto-mode-alist, ignored-local-variables)
6916 (save-some-buffers-action-alist): Move risky declarations to the
6918 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
6919 (font-lock-defaults, format-alist, imenu--index-alist)
6920 (imenu-generic-expression, input-method-alist, minor-mode-alist)
6921 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
6922 (mode-line-modified, mode-line-mule-info, mode-line-position)
6923 (mode-line-process, mode-line-remote, outline-level)
6924 (parse-time-rules, rmail-output-file-alist)
6925 (special-display-buffer-names, vc-mode):
6926 Move risky declarations to the relevant files.
6927 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
6928 (mode-line-modified, mode-line-process, mode-line-position)
6929 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
6930 * font-core.el (font-lock-defaults):
6931 * format.el (format-alist):
6932 * vc-hooks.el (vc-mode):
6933 * window.el (special-display-buffer-names):
6934 * international/mule-cmds.el (input-method-alist):
6935 Define riskiness here (dumped file) rather than in files.el.
6936 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
6937 * imenu.el (imenu-generic-expression, imenu--index-alist):
6938 * outline.el (outline-level):
6939 * time.el (display-time-string):
6940 * calendar/parse-time.el (parse-time-rules):
6941 * mail/rmailout.el (rmail-output-file-alist):
6942 Autoload riskiness here, rather than placing in files.el.
6944 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
6946 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
6948 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
6950 * simple.el (process-file-side-effects): New defvar.
6952 * dired-aux.el (dired-show-file-type):
6953 * vc.el (vc-diff-internal):
6954 * vc-arch.el (vc-arch-diff):
6955 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
6956 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
6957 * vc-git.el (vc-git-registered, vc-git-working-revision)
6958 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
6959 (vc-git--empty-db-p):
6960 * vc-hooks.el (vc-user-login-name):
6961 * vc-svn.el (vc-svn-registered, vc-svn-state)
6962 (vc-svn-dir-extra-headers, vc-svn-find-revision):
6963 * progmodes/grep.el (grep-probe): Let-bind
6964 `process-file-side-effects' with nil.
6966 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
6968 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
6969 daemon. Replace ping by checking for running service for bluez
6970 and zeroconf. (Bug#4239)
6972 2009-08-25 Kevin Ryde <user42@zip.com.au>
6974 * net/dig.el (dig): Add autoload cookie.
6976 2009-08-25 Glenn Morris <rgm@gnu.org>
6978 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
6979 load-history for absolute file-names.
6980 (byte-compile-file-form-require): Warn about use of the cl package.
6982 * format.el (format-alist): Doc fix.
6984 * play/bubbles.el (top-level): Don't require cl at run-time.
6986 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
6989 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
6991 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
6993 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
6995 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
6997 * calc/calc-alg.el (math-trig-rewrite)
6998 (math-hyperbolic-trig-rewrite): New functions.
6999 (calc-simplify): Simplify trig functions when asked.
7001 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7003 * diff-mode.el (diff-find-source-location): Avoid goto-line.
7005 2009-08-24 Kenichi Handa <handa@m17n.org>
7007 * language/ind-util.el (mapthread): Delete it.
7008 (combinatorial): New function.
7009 (indian--puthash-cv): Use combinatorial instead of mapthread.
7011 2009-08-22 Kevin Ryde <user42@zip.com.au>
7013 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
7014 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
7015 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
7016 Clarify docstring that the value is strings not symbols.
7017 (checkdoc-list-of-strings-p): New function.
7019 2009-08-22 Glenn Morris <rgm@gnu.org>
7021 * files.el (auto-mode-alist):
7022 * hippie-exp.el (he-concat-directory-file-name):
7023 * lpr.el (lpr-windows-system, printer-name):
7024 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
7025 * ps-print.el (ps-windows-system):
7026 * startup.el (command-line):
7027 * emulation/viper-ex.el (viper-glob-function):
7028 * international/mule-cmds.el (set-language-environment-coding-systems):
7029 * net/ange-ftp.el (ange-ftp-write-region):
7030 * obsolete/fast-lock.el (fast-lock-cache-name):
7031 Remove code for defunct system-types emx, macos, mswindows, next-mach,
7032 unisoft-unix, vax-vms, win32, w32.
7034 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
7035 given name if the pattern is not more specific.
7037 * calendar/lunar.el (lunar-phase-names): New option.
7038 (lunar-phase): Doc fix.
7039 (lunar-cycles-per-year): New constant.
7040 (lunar-index): New function.
7041 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
7042 (lunar-phase-name): Use lunar-phase-names.
7043 (calendar-lunar-phases): Use format.
7044 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
7046 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
7047 Copy imenu-example--name-and-position function here for own use.
7048 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
7050 * bs.el (bs--redisplay):
7051 * cus-edit.el (custom-redraw):
7052 * ibuffer.el (ibuffer-bury-buffer):
7053 * server.el (server-goto-line-column):
7054 * startup.el (command-line-1):
7055 * strokes.el (strokes-xpm-for-stroke):
7056 * term.el (term-display-buffer-line):
7057 * view.el (View-goto-line):
7058 * calc/calc.el (calc-do, calc-trail-buffer):
7059 * play/gamegrid.el (gamegrid-add-score-insecure):
7060 * progmodes/ada-mode.el (ada-compile-goto-error):
7061 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
7062 (ebrowse-select-1st-to-9nth):
7063 * progmodes/cperl-mode.el (cperl-time-fontification):
7064 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
7065 * progmodes/gud.el (gud-display-line):
7066 (idlwave-shell-display-line):
7067 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
7068 * progmodes/make-mode.el (makefile-browser-toggle):
7069 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
7070 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
7071 * textmodes/picture.el (picture-draw-rectangle):
7072 * textmodes/reftex-index.el (reftex-index-goto-letter):
7073 (reftex-select-jump-to-previous):
7074 * textmodes/reftex-sel.el (reftex-find-start-point)
7075 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
7076 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
7077 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
7078 * textmodes/tex-mode.el (tex-compilation-parse-errors):
7079 * textmodes/two-column.el (2C-associated-buffer):
7080 Use forward-line rather than goto-line.
7082 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
7085 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
7086 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
7087 (quick-check-list-to-regexp): Declare.
7089 * progmodes/make-mode.el (makefile-browser-insert-selection):
7090 Use goto-char rather than goto-line.
7092 * progmodes/prolog.el (compilation-error-regexp-alist)
7093 (compilation-forget-errors): Declare.
7095 2009-08-22 Juri Linkov <juri@jurta.org>
7097 * progmodes/grep.el (lgrep, rgrep): At the beginning
7098 set `dir' to `default-directory' unless `dir' is a non-nil
7099 readable directory. (Bug#4052)
7100 (lgrep, rgrep): Change a weird way to report an error
7101 from using `read-string' to using `error'.
7102 Instead of using interactive arguments in the function body,
7103 add new argument `confirm'.
7105 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7107 * textmodes/remember.el (remember-buffer):
7108 * progmodes/cperl-mode.el (cperl-vc-header-alist):
7109 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
7110 (icalendar-extract-ical-from-buffer):
7111 * net/newst-treeview.el (newsticker-groups-filename):
7112 * net/newst-backend.el (newsticker-cache-filename):
7113 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
7114 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
7115 (speedbar-add-ignored-path-regexp, speedbar-line-path)
7116 (speedbar-buffers-line-path, speedbar-path-line)
7117 (speedbar-buffers-line-path):
7118 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
7120 * epa.el (epa-display-verify-result):
7121 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
7123 2009-08-21 Glenn Morris <rgm@gnu.org>
7125 * progmodes/js.el (inferior-moz-process): Fix declaration.
7127 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
7129 * obsolete/rnewspost.el (news-mail-reply):
7130 Use goto-char rather than goto-line.
7132 * term/ns-win.el (ns-open-file-select-line):
7133 Use line-beginning-position rather than goto-line.
7135 * apropos.el (apropos-command):
7136 * ehelp.el (electric-helpify):
7137 * printing.el (pr-show-setup):
7138 * strokes.el (strokes-help):
7139 * tutorial.el (tutorial--describe-nonstandard-key)
7140 (tutorial--detailed-help):
7141 * woman.el (woman-mini-help, woman-display-extended-fonts):
7142 * calc/calc-help.el (calc-describe-key):
7143 * emulation/edt.el (edt-electric-helpify):
7144 * international/mule-diag.el (mule-diag):
7145 * play/yow.el (apropos-zippy):
7146 * progmodes/python.el (python-describe-symbol):
7147 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
7148 * textmodes/table.el (*table--cell-describe-mode)
7149 (*table--cell-describe-bindings):
7150 Use help-print-return-message rather than the now obsolete alias.
7152 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
7153 (calendar-cursor-to-visible-date):
7154 * play/5x5.el (5x5-position-cursor):
7155 * play/decipher.el (decipher):
7156 * play/gomoku.el (gomoku-goto-xy):
7157 * play/landmark.el (lm-goto-xy):
7158 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
7160 Use forward-line, not goto-line.
7162 * mail/rmail.el (rmail-obsolete): Delete custom group.
7163 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
7164 (rmail-remote-password, rmail-remote-password-required):
7165 Remove unneeded :set-after and :set properties.
7167 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
7169 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
7171 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
7173 * loadup.el: Remove leftover macos code.
7175 * vc-git.el (vc-git-annotate-command): Run asynchronously.
7176 Explicitly pass the date format to git blame so that user local
7177 so that the output format can be parsed.
7179 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
7181 * net/dbus.el (top): Don't check for (getenv
7182 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
7184 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
7186 * log-edit.el (log-edit-strip-single-file-name): New var.
7187 (log-edit-insert-changelog): Use it. Bug#3571
7189 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7191 * subr.el (read-passwd): Use read-key so keypad keys work as well.
7194 * help.el (help-print-return-message): Rename from
7195 print-help-return-message.
7197 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
7198 cvs-mode-map parent hack.
7199 (log-view-mode): Derive from special-mode.
7201 * linum.el (linum-mode): window-size-change-functions is redundant.
7202 Adapt to new window-configuration-change-hook behavior.
7203 (linum-after-size, linum-after-config): Remove.
7205 * imenu.el (imenu-example--name-and-position)
7206 (imenu-example--lisp-extract-index-name)
7207 (imenu-example--create-lisp-index, imenu-example--create-c-index):
7210 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
7211 (inferior-prolog-mode): Use it.
7212 (inferior-prolog-load-file): Reset list of errors.
7214 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
7216 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
7218 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
7220 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
7222 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
7225 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7227 * subr.el (listify-key-sequence-1): Use normal syntax since those
7228 integers are nowadays always represented by the same (positive) number
7230 (read-key-empty-map): New const.
7231 (read-key-delay): New var.
7232 (read-key): New function.
7233 (force-mode-line-update): Use with-current-buffer.
7234 (locate-user-emacs-file): Don't forget to abbreviate the file name.
7235 (start-process-shell-command, start-file-process-shell-command):
7236 Discourage the use of command-args.
7238 2009-08-19 Glenn Morris <rgm@gnu.org>
7240 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
7242 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7244 * simple.el (choose-completion-string): Don't rely on
7245 minibuffer-completing-file-name and ad-hoc checks to decide whether
7246 to continue completion or not.
7248 * minibuffer.el (minibuffer-hide-completions): New function.
7249 (completion--do-completion): Use it.
7250 (completions-annotations): New face.
7251 (completion--insert-strings): Use it.
7252 (completion-pcm--delim-wild-regex): Add docstring.
7253 (completion-pcm--string->pattern): Add support for 0-width delimiters
7254 in completion-pcm--delim-wild-regex.
7256 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7258 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
7259 Remove unused var `buffer-modified-p'.
7261 * minibuffer.el (completion--do-completion): Move point for the #b001
7262 case as well (bug#4176).
7263 (minibuffer-complete, minibuffer-complete-word): Don't move point.
7265 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
7267 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
7270 2009-08-18 Kenichi Handa <handa@m17n.org>
7272 * international/ucs-normalize.el (ucs-normalize-version):
7274 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
7275 (utf-8-hfs): Make it perform normalization on encoding too.
7277 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
7278 (sentence-end-without-space): Delete duplicated chars.
7279 (sentence-end-base): Likewise.
7281 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
7282 (html-mode): Delete duplicated chars from sentence-end-base.
7284 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
7285 (texinfo-mode): Delete duplicated chars from sentence-end-base.
7287 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
7289 * files.el (hack-one-local-variable): If the mode function is for
7290 a minor mode, pass it an argument (Bug#4148).
7292 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
7294 * net/tramp.el (tramp-register-completion-file-name-handler):
7295 Check also for (member 'partial-completion completion-styles).
7297 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
7299 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
7302 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
7304 * progmodes/cperl-mode.el: Merge upstream 6.2.
7305 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
7306 (cperl-forward-re): Check cperl-brace-recursing.
7307 (cperl-highlight-charclass): New function.
7308 (cperl-find-pods-heres): Use it.
7309 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
7310 (cperl-beautify-regexp-piece): Fix column calculation.
7311 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
7312 (cperl-beautify-level): Don't process entire regexp.
7313 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
7315 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
7316 (cperl-init-faces): Build a list in the normal way.
7318 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
7320 * calendar/parse-time.el (parse-time-string-chars): Save match
7323 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
7325 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
7326 (sql-product): Use it.
7327 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
7328 (sql-set-product): Add completion.
7329 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
7330 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
7331 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
7332 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
7333 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
7334 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
7335 (sql-highlight-db2-keywords): Remove.
7336 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7337 (sql-highlight-product): Use derived-mode-p.
7338 (sql-set-sqli-buffer): Use with-current-buffer.
7339 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
7342 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
7344 * term.el: Fix commenting convention, turn comments into docstrings.
7346 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
7348 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
7350 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
7352 * calendar/parse-time.el (parse-time-string-chars): Compute using
7353 character classes, to handle non-ascii characters (Bug#3190).
7355 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
7357 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
7358 another heredoc if the user adds another < (Bug#3226).
7360 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
7361 Don't initialize based on window-system (Bug#4124).
7363 * facemenu.el (facemenu-read-color): Use a completion function
7364 that accepts any defined color, such as RGB triplets (Bug#3677).
7366 * files.el (get-free-disk-space): Change fallback default
7367 directory to /. Expand DIR argument before switching to fallback.
7368 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
7370 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
7372 * files.el (load-library): Doc fix.
7374 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
7376 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
7377 (viper-if-string): Redefine C-s in the minibuffer to insert the last
7378 incremental search string.
7380 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
7383 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
7384 (ediff-merge-region-is-non-clash)
7385 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
7386 Also check if the job is really a merge job.
7388 * ediff.el (ediff-current-file): New function.
7390 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
7392 * progmodes/js.el: Edit docstrings throughout to follow Emacs
7394 (js-insert-and-indent): Delete function.
7395 (js-mode-map): Don't bind keys to js-insert-and-indent.
7396 (js-beginning-of-defun): Rename from js--beginning-of-defun.
7397 (js-end-of-defun): Rename from js--end-of-defun.
7398 (js-auto-indent-flag): Delete variable.
7400 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
7402 * progmodes/js.el: Remove proclaim statement.
7403 Defvar which-func-imenu-joiner-function to silence compiler.
7405 * files.el (auto-mode-alist): Use js-mode for .js files.
7407 * progmodes/js2-mode.el: Remove file.
7409 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
7411 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
7413 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
7415 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
7416 Karl Landstrom <karl.landstrom@brgeight.se>
7418 * progmodes/js.el: New file.
7420 2009-08-14 Mark A. Hershberger <mah@everybody.org>
7422 * timezone.el (timezone-parse-date): Add ability to understand ISO
7423 basic format (minimal separators) dates in addition to the
7424 already-supported extended format dates.
7426 2009-08-14 Eli Zaretskii <eliz@gnu.org>
7428 * international/ucs-normalize.el: Add a `coding' file variable.
7430 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
7432 2009-08-14 Sam Steingold <sds@gnu.org>
7434 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
7436 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
7438 * faces.el (help-argument-name): Define it here instead of
7439 help-fns.el, because in daemon mode help-fns.el may be loaded when
7440 faces are still uninitialized (Bug#1078).
7442 * help-fns.el (help-argument-name): Move defface to faces.el.
7444 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
7446 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
7447 create buffer with a pty but no process so that GDB can make the
7448 inferior the controlling process.
7450 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
7452 * international/ucs-normalize.el: New file.
7454 2009-08-13 Richard Stallman <rms@gnu.org>
7456 * mail/rmail.el (rmail-get-attr-names):
7457 Accept an attribute header that is too short.
7459 * mail/rmail.el (rmail-forget-messages):
7460 Ignore nil elt in rmail-message-vector. Use dotimes.
7462 * progmodes/compile.el (compilation-goto-locus):
7463 Use next-error-move-function.
7465 * simple.el (next-error-move-function): New variable.
7467 2009-08-12 Juri Linkov <juri@jurta.org>
7469 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
7470 always non-nil. (Bug#4052)
7472 * replace.el (read-regexp): Return empty string when
7473 `default-value' is nil.
7474 (keep-lines-read-args): Don't use empty string as the
7475 default value for `read-regexp'. (Bug#2495)
7477 2009-08-12 Juri Linkov <juri@jurta.org>
7479 * international/mule-cmds.el (ucs-insert): Change arguments
7480 from `arg' to `character', `count', `inherit' to be the same
7481 as in `insert-char'. Doc fix. (Bug#4039)
7483 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
7485 2009-08-12 Juri Linkov <juri@jurta.org>
7487 * files-x.el: New file.
7489 * files.el: Move code that deals with adding/deleting
7490 file/directory-local variables to files-x.el.
7492 * Makefile.in (ELCFILES): Add files-x.elc.
7494 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
7496 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
7498 (gdb-place-breakpoints, gdb-get-location): Rewritten without
7500 (gdb-invalidate-disassembly): Do not refresh upon receiving
7501 'update signal. Instead, update all disassembly buffers only after
7503 (gdb): Send -target-detach when buffer is killed (Bug#3794).
7504 (gdb-starting): Moved -data-list-register-names...
7505 (gdb-stopped): ...here so it's sent when first thread stops.
7506 (gdb-registers-handler-custom): Do nothing if register names are
7509 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
7510 from `gdb-mi.el' to avoid extra tangling.
7512 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
7513 change which breaks `gud-def' definitions used in `gdb'.
7514 (gdb-update-gud-running): No extra fuss for updating frame number.
7516 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7518 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
7519 (describe-language-environment-map, setup-language-environment-map)
7520 (set-coding-system-map): Move initialization into declaration.
7521 (set-language-info-alist): Last arg to define-key-after can be skipped.
7523 * international/quail.el (quail-completion-1): Simplify.
7524 (quail-define-rules): Use slightly more compact code.
7525 (quail-insert-decode-map): Propertize keys, compact columns.
7527 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7530 2009-08-10 Miles Bader <miles@gnu.org>
7532 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
7533 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
7534 (js2-instance-member, js2-private-member, js2-private-function-call)
7535 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
7536 (js2-magic-paren, js2-external-variable):
7537 Remove "-face" suffix from face names.
7538 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
7539 (js2-highlight-undeclared-vars, js2-peek-token)
7540 (js2-parse-function-params, js2-mode-show-errors)
7541 (js2-mode-show-warnings, js2-make-magic-delimiter)
7542 (js2-mode-highlight-magic-parens): Update to use new face names.
7544 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
7546 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
7547 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
7549 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
7551 * subr.el: Provide hashtable-print-readable.
7553 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
7554 hs-c-like-adjust-block-beginning.
7555 (hs-hide-block-at-point): Stop hiding at the beginning of
7556 hs-block-end-regexp (Bug#700).
7558 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
7560 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
7562 (gdb-registers-handler-custom): Do not fail when register names
7565 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
7567 * progmodes/gdb-mi.el (gdb-control-all-threads)
7568 (gdb-control-current-thread): Interactive setters for
7569 `gdb-gud-control-all-threads' to use in menu.
7570 (gdb-show-run-p): Show «Go» when process is not active.
7571 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
7572 gud/thread.xpm and gud/all.xpm.
7574 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
7576 * net/net-utils.el (net-utils-font-lock-keywords): New var.
7577 (nslookup-font-lock-keywords): Make it a variable.
7578 (net-utils-mode): New mode for viewing diagnostic network output.
7579 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
7580 (net-utils-run-simple): New function.
7581 (ifconfig, iwconfig, netstat, arp, route): Use it.
7583 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
7585 * progmodes/gdb-mi.el (gdb-read-memory-custom)
7586 (gdb-memory-set-address, def-gdb-set-positive-number)
7587 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
7588 after changing settings.
7589 (gdb-invalidate-disassembly): Update when first shown.
7590 (gdb-edit-locals-value): Fixed.
7591 (gdb-registers-handler-custom): Print registers in right order and
7592 allow changing register values (only for current thread yet).
7593 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
7594 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
7595 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
7596 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
7598 (gdb-registers-mode-map): TAB to switch to locals.
7600 2009-08-08 Eli Zaretskii <eliz@gnu.org>
7602 * mail/rmail.el (rmail-add-mbox-headers)
7603 (rmail-set-message-counters-counter): Search for
7604 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
7606 2009-08-08 Glenn Morris <rgm@gnu.org>
7608 * Makefile.in (ELCFILES): Update.
7610 2009-08-07 Eli Zaretskii <eliz@gnu.org>
7612 * mail/sendmail.el (mail-yank-original): Set
7613 buffer-file-coding-system from the one used by the message whose
7616 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
7617 to "windows" when "pgnuplot" is used.
7618 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
7619 call accept-process-output if "pgnuplot" is used.
7620 (calc-graph-init): Don't send -display and -geometry to
7621 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
7622 running "pgnuplot -V" with shell-command-to-string.
7624 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
7627 2009-08-07 Eli Zaretskii <eliz@gnu.org>
7629 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
7632 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
7634 * vc-dispatcher.el (vc-resynch-window): Update comment.
7636 * term.el (term-handle-ansi-escape): Add comments with the
7637 terminfo capabilities implemented.
7639 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
7641 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
7642 (gdb-var-create-handler): Rewritten using JSON parser.
7643 (gdb-propertize-header): Moved earlier.
7644 (gdb-set-header): Removed to avoid duplication.
7645 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
7646 Refresh disassembly buffers only after threads list have been
7648 (gdb-threads-header, gdb-registers-header): Per-buffer header line
7651 2009-08-04 Juri Linkov <juri@jurta.org>
7653 * files.el: Commands to add/delete file/directory-local variables.
7654 (read-file-local-variable, read-file-local-variable-value)
7655 (read-file-local-variable-mode, modify-file-local-variable)
7656 (modify-file-local-variable-prop-line)
7657 (modify-dir-local-variable): New functions.
7658 (add-file-local-variable, delete-file-local-variable)
7659 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
7660 (add-dir-local-variable, delete-dir-local-variable)
7661 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
7662 (copy-dir-locals-to-file-locals-prop-line): New commands.
7664 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
7666 * abbrev.el (insert-abbrev-table-description): Prettify output.
7667 Suggested by Karl Chen.
7669 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
7671 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
7672 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
7673 (gdb-overlay-arrow-position, gdb-thread-position)
7674 (gdb-disassembly-position): Declare variables.
7675 (gdb-wait-for-pending): Function now.
7676 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
7677 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
7678 compilation goes smoothly.
7679 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
7680 (gdb-non-stop-setting): New customization setting which replaces
7681 `gdb-non-stop' so changing it doesn't break active GDB session.
7682 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
7683 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
7684 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
7685 (gdb-show-threads-by-default): New customization options.
7686 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
7688 (gdb-get-buffer-create): Send buffers update signal when they are
7690 (gdb-invalidate-locals, gdb-invalidate-registers)
7691 (gdb-invalidate-breakpoints)
7692 (gdb-invalidate-threads, gdb-invalidate-disassembly)
7693 (gdb-invalidate-memory): Accept update signal.
7694 (gdb-current-context-command): Use --frame option.
7695 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
7696 Implement `gdb-frame-number' selection logic.
7697 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
7698 whether to show GUD toolbar buttons.
7699 (gdb-thread-exited): Unselect current thread when it exits.
7700 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
7701 (gdb-mark-line): Routine which sets overlay arrow or inverses
7702 video on fringeless displays.
7703 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
7704 to build aligned columns of data in GDB buffers and set text
7705 properties line-by-line.
7706 (gdb-invalidate-breakpoints)
7707 (gdb-breakpoints-list-handler-custom)
7708 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
7709 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
7710 (gdb-registers-handler-custom): Align data columns.
7711 (gdb-locals-handler-custom): Now prints data like in variable
7713 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
7714 Removed confusing buttons.
7715 (gdb-invalidate-threads): Append --frame.
7716 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
7717 between breakpoints/threads buffers.
7718 (gdb-set-window-buffer): Now can ignore dedicated windows.
7719 (gdb-propertize-header): Use `gdb-set-window-buffer'.
7720 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
7721 (def-gdb-thread-buffer-gud-command): Replaces
7722 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
7723 for fine thread control.
7724 (gdb-preempt-existing-or-display-buffer): New function used to
7725 display bound buffers without breaking window layout.
7726 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
7727 (gdb-select-frame): New version of `gdb-frames-select' which now
7728 sets `gdb-frame-number' so commands may use --frame option instead
7729 of inner debugger state.
7730 (gdb-frame-handler): Do not set `gdb-frame-number'.
7731 (gdb-threads-mode-map): Select threads with mouse.
7733 * progmodes/gud.el (gdb-gud-context-call): Declare function to
7734 avoid compilation warning.
7735 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
7738 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
7739 Argument `key' renamed to `buffer-type'.
7740 (gdb-current-context-buffer-name): Do not add thread info to
7741 buffer name when no thread is selected.
7742 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
7744 (gdb-thread-selected): Handle `=thread-selected' notification.
7745 (gdb-wait-for-pending): New macro to deal with congestion problems.
7746 (gdb-breakpoints-list-handler-custom): Don't fail on pending
7748 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
7749 This fixes problem similar to one described in bug 3947.
7750 (gud-menu-map): More menu items.
7751 (gdb-init-1): Reset `gdb-thread-number' to nil.
7753 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
7756 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
7757 (gdb-current-context-command): Do not append --thread if
7758 `gdb-thread-number' is nil.
7759 (gdb-running-threads-count, gdb-stopped-threads-count): New
7761 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
7762 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
7763 customization options.
7764 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
7766 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
7767 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
7768 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
7769 set `gdb-thread-number' and update `gud-running' properly.
7770 (gdb-running): Update threads list when new threads appear.
7771 (gdb-stopped): Support non-stop operation and new thread switching
7773 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
7774 (gdb-json-partial-output): New set of JSON routines.
7775 (def-gdb-auto-update-trigger): New `signal-list' optional
7777 (gdb-thread-list-handler-custom): Update `gud-running',
7778 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
7779 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
7780 (gdb-continue-thread, gdb-step-thread): New commands for fine
7781 thread execution control.
7782 (gud-menu-map): New menu items to switch non-stop options.
7783 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
7784 (gdb-send): Mimic RET properly (bug 3794).
7786 * progmodes/gdb-mi.el (gdb-rules-name-maker)
7787 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
7789 (def-gdb-auto-update-handler): New nopreserve optional argument.
7790 (gdb-stack-list-frames-custom): Print stack from top to bottom.
7792 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
7793 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
7794 (gdb-parent-mode): New mode to derive other GDB modes from.
7795 (gdb-display-disassembly-for-thread)
7796 (gdb-frame-disassembly-for-thread): New commands for threads
7799 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
7800 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
7801 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
7802 (gdb-update): We now store all GDB buffers in a list so that they
7803 can be updated by traversing a list instead of calling invalidate
7804 triggers explicitly.
7805 (def-gdb-trigger-and-handler): New macro to define trigger-handler
7806 pair for GDB buffer.
7807 (gdb-stack-buffer-name): Add thread information.
7808 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
7809 handle pending triggers.
7810 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
7811 (def-gdb-thread-buffer-simple-command)
7812 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
7813 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
7814 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
7815 New commands which show buffers bound to thread.
7816 (gdb-stack-list-locals-regexp): Removed unused regexp.
7818 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
7819 (gdb-locals-buffer-name, gdb-registers-buffer-name)
7820 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
7821 to (gud-comint-buffer) in *-buffer-name functions
7822 because (gdb-get-target-string) already does that.
7823 (gdb-locals-handler-custom, gdb-registers-handler-custom)
7824 (gdb-changed-registers-handler): Rewritten without regexps.
7826 * progmodes/gdb-mi.el: Basic thread selection support.
7827 (gdb-thread-number): New variable.
7828 (gdb-current-context-command): New macro which adds --thread
7830 (gdb-threads-mode-map): Select thread with SPC.
7831 (gdb-thread-list-handler-custom): Mark current thread with overlay
7832 arrow. Synchronize GDB thread and Emacs thread.
7833 (gdb-select-thread): New command which selects current thread.
7834 (gdb-invalidate-frames, gdb-invalidate-locals)
7835 (gdb-invalidate-registers): Use --thread option.
7837 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
7839 * net/tramp.el (top): Make check for tramp-gvfs loading more
7841 (tramp-handle-insert-file-contents): `unwind-protect' must be
7842 inside `with-parsed-tramp-file-name'.
7844 * net/tramp-gvfs.el (top): Remove superfluous message when loading
7847 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
7849 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
7850 directory if CLASSPATH is not set.
7852 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
7854 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
7856 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
7858 2009-08-02 Kevin Ryde <user42@zip.com.au>
7860 * net/newst-backend.el (newsticker--raw-url-list-defaults):
7861 Update freshmeat link. Delete newsforge.com as it seems gone.
7863 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
7865 * select.el (x-set-selection): Doc fix (Bug#4021).
7867 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
7869 * help-fns.el (describe-variable): Treat list return values from
7870 dir-locals-find-file properly (Bug#4005).
7872 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
7874 * net/tramp.el (tramp-debug-message): Print also microseconds.
7876 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
7878 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
7880 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
7881 (tramp-get-debug-buffer): Change `outline-regexp' according to new
7884 * net/tramp-cache.el (tramp-cache-inhibit-cache ): New defvar.
7885 (tramp-get-file-property): Use it.
7887 * autorevert.el (auto-revert-handler): Allow
7888 `auto-revert-tail-mode' for remote files.
7890 2009-08-02 Jason Rumney <jasonr@gnu.org>
7892 * minibuffer.el (read-file-name): Treat confirm options to
7893 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
7895 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
7897 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
7898 (font-lock-variable-name-face, font-lock-constant-face): Darken
7899 the colors for light backgrounds.
7901 2009-08-01 Eli Zaretskii <eliz@gnu.org>
7903 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
7904 month names. (Bug#3987)
7906 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
7908 * simple.el (line-move-finish): Pass whole number to
7909 line-move-to-column.
7910 (line-move-visual): Perform hscroll to the recorded position.
7912 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
7914 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
7916 2009-07-29 Alan Mackenzie <acm@muc.de>
7918 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
7920 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
7922 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
7923 (gdb-place-breakpoints): Use full path when setting breakpoints.
7925 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
7927 * calc/calc.el (calc-mode-map): Add keybinding for
7928 `calc-transpose-lines'.
7930 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
7932 * calc/calc-misc.el (calc-transpose-lines): New function.
7934 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
7936 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
7937 Simplify check for out-of-band methods.
7938 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
7939 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
7941 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
7943 * vc-git.el (vc-git-checkin): Fix typo.
7945 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
7947 * progmodes/js2-mode.el: New file.
7949 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
7951 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
7952 (gud-menu-map): Adjust tooltip accordingly.
7954 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
7956 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
7957 (vc-bzr-log-view-mode): Adjust log-view-file-re.
7959 * add-log.el (change-log-mode-map): Add a menu.
7961 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
7963 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
7964 function returns nil.
7965 (dbus-handle-event): Handle special return value :ignore.
7966 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
7968 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
7970 * view.el (view-mode-enable): Don't define Helper-return-blurb if
7973 2009-07-25 Eli Zaretskii <eliz@gnu.org>
7977 * w32-vars.el (x-select-enable-clipboard): Doc fix.
7979 * term/pc-win.el (x-display-name, x-colors)
7980 (x-select-enable-clipboard, x-select-text): Doc fix.
7982 * term/common-win.el (x-display-name, x-colors): Doc fix.
7984 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
7985 (xw-defined-colors): Doc fix.
7987 * w32-fns.el (x-select-text, x-setup-function-keys)
7988 (x-get-selection, x-set-selection): Doc fix.
7990 * term/x-win.el (x-select-text, x-setup-function-keys)
7991 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
7993 * select.el (x-set-selection): Doc fix.
7995 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
7997 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
7998 instead of "IsNSSSupportAvailable". Avahi ought to work also when
7999 "IsNSSSupportAvailable" method is not available. Reported by
8000 Steve Youngs <steve@sxemacs.org>.
8002 2009-07-24 Kenichi Handa <handa@m17n.org>
8004 * international/characters.el: Fix setting of category ?C, ?|, ?K,
8005 and ?H. Fix setting of case for Latin Extended and Greek Extended.
8006 (build-unicode-category-table): Fix range checks.
8008 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
8010 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
8011 the buffer we try to sync is current when calling
8014 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
8015 not show up to date files.
8017 2009-07-24 Glenn Morris <rgm@gnu.org>
8019 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
8020 Add autoload cookies. If necessary, initialize.
8021 (elint-log): Handle non-file buffers.
8022 (elint-initialize): Add optional argument to reinitialize.
8023 (elint-find-builtin-variables): Save excursion.
8025 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
8027 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
8030 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
8032 * vc.el (vc-print-log-internal): New function, split out from ...
8033 (vc-print-log): ... here.
8034 (vc-dir-move-to-goal-column): Declare.
8036 * vc-git.el (vc-git-add-signoff): New variable.
8037 (vc-git-checkin): Use it.
8038 (vc-git-toggle-signoff): New function.
8039 (vc-git-extra-menu-map): Bind it to menu.
8040 (vc-git--run-command-string): Accept a nil FILE argument.
8041 (vc-git-stash-list): New function.
8042 (vc-git-dir-extra-headers): Use it.
8044 2009-07-23 Glenn Morris <rgm@gnu.org>
8046 * help-fns.el (describe-variable): Describe ignored and risky local
8047 variables in a similar way to that in which we describe safe ones.
8049 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
8050 (byte-compile-output-file-form, byte-compile-output-docform)
8051 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
8052 Give some more local variables with common names a "bytecomp-" prefix,
8053 so as not to shadow things during compilation.
8054 * emacs-lisp/cl-macs.el (load-time-value)
8055 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
8056 `outbuffer' to `bytecomp-outbuffer'.
8058 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
8059 since the next two variables cover them automatically now.
8060 (elint-builtin-variables, elint-autoloaded-variables): New.
8061 (elint-unknown-builtin-args): Remove all members, since they can be
8062 parsed automatically now.
8063 (elint-extra-errors): New.
8064 (elint-env-add-env, elint-env-add-macro): Use cadr.
8065 (elint-current-buffer): Use or. Change final message.
8066 (elint-get-top-forms): Use line-end-position.
8067 (elint-init-env): Use cadr. Handle autoload, declare-function,
8069 (elint-add-required-env): Doc fix. Use or. Standardize error.
8070 (regexp-assoc): Remove unused function.
8071 (elint-top-form): Set elint-current-pos, to record the start of the
8072 top-level form, for compilation-mode.
8073 (elint-form): Trap errors in macro expansion. Use dolist.
8074 (elint-unbound-variable): Use elint-builtin-variables and
8075 elint-autoloaded-variables.
8076 (elint-get-args): Use cadr, or.
8077 (elint-check-cond-form): Use dolist, cadr.
8078 (elint-check-condition-case-form): Doc fix. Use cadr.
8079 Use elint-extra-errors.
8080 (elint-log): New function.
8081 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
8082 Distinguish errors and warnings.
8083 (elint-log-message): Use with-current-buffer. Inhibit read-only.
8084 Use a bytecomp-style format.
8085 (elint-clear-log): Preserve default-directory. Inhibit read-only.
8086 (elint-get-log-buffer): Use compilation mode. Disable undo.
8087 Don't truncate lines.
8088 (elint-initialize): Set builtin and autoloaded variable lists.
8089 Only process elint-unknown-builtin-args if non-nil.
8090 (elint-find-builtin-variables, elint-find-autoloaded-variables):
8092 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
8094 2009-07-22 Kevin Ryde <user42@zip.com.au>
8096 * net/newst-backend.el (newsticker--parse-atom-1.0)
8097 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
8098 (newsticker--parse-rss-1.0):
8099 * progmodes/idlwave.el (idlwave-mode):
8100 * progmodes/idlw-shell.el (idlwave-shell-mode):
8101 * progmodes/vera-mode.el (vera-mode):
8102 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
8103 * progmodes/vhdl-mode.el (vhdl-mode):
8104 * textmodes/table.el (table-generate-source)
8105 (table--warn-incompatibility):
8106 Hyperlink urls in docstrings with URL `...'.
8108 2009-07-22 Glenn Morris <rgm@gnu.org>
8110 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
8111 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
8112 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
8113 Remove leading * from defcustom docs.
8115 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
8117 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
8119 (list-load-path-shadows): Optionally, just return shadows as a string.
8121 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
8123 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
8125 * mail/rmailedit.el (rmail-edit-mode): Use
8126 auto-save-include-big-deletions.
8128 * mail/rmail.el (rmail-variables): Use
8129 auto-save-include-big-deletions.
8131 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
8134 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
8136 * calc/calc.el (calc-undo-length): New variable.
8137 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
8139 2009-07-21 Richard Stallman <rms@gnu.org>
8141 * files.el (auto-save-mode): Handle buffer-save-size = -2
8144 2009-07-21 Glenn Morris <rgm@gnu.org>
8146 * textmodes/ispell.el (ispell-looking-back): Update declaration.
8148 * calendar/todo-mode.el (calendar-current-date): Update declaration.
8150 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
8151 silence compiler. Instead...
8152 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
8153 (ps-print-ensure-fontified): Update for above function name changes.
8155 * printing.el (pr-mh-get-msg-num, pr-mh-show)
8156 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
8157 silence compiler. Instead...
8158 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
8159 (mh-show-buffer): Only define for compiler.
8160 (pr-mh-current-message): Update for above function name changes.
8162 * files.el (abort-if-file-too-large): Explicitly pass `filename'
8164 (find-file-noselect, insert-file-1): Update for above change.
8166 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
8168 * mail/mailclient.el (mailclient-send-it): Fix message.
8170 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
8171 (edebug-eval): Check cl-debug-env is bound.
8172 (print-level, print-circle): Don't redefine built-in variables.
8174 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
8175 (custom-print-vectors): Remove old comments from doc.
8177 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
8178 (emerge-version): Make the variable an obsolete alias for the
8179 emacs-version variable. Make the function obsolete.
8180 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
8181 Emerge options, rather than merging in into the main Options menu.
8182 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
8183 and auto advance modes. Disable edit/fast items when not relevant.
8185 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
8187 * term/vt420.el (terminal-init-vt420): Fix typo.
8189 2009-07-20 Sam Steingold <sds@gnu.org>
8191 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
8192 variable (removed from compile.el on 2004-03-11).
8194 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
8196 * files.el (hack-local-variables-filter): Fix last change.
8198 2009-07-19 Juri Linkov <juri@jurta.org>
8200 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
8201 (dir-local-variables-alist): New buffer-local variable.
8202 (hack-local-variables-filter): If variable is not dir-local,
8203 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
8204 because file-local overrides dir-local.
8205 (c-postprocess-file-styles)<declare-function>:
8206 Remove obsolete declaration.
8207 (hack-dir-local-variables): Add dir-local variable/value pair to
8208 `dir-local-variables-alist' and remove duplicates. Doc fix.
8210 * help-fns.el (describe-variable): Add information about
8211 file-local and dir-local variables.
8213 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
8215 * files.el (hack-local-variables-filter): Rewrite.
8217 2009-07-19 Glenn Morris <rgm@gnu.org>
8219 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
8220 Silence compiler by only defining on XEmacs.
8222 * international/mule.el (auto-coding-regexp-alist): Only match
8223 BABYL... at the start of buffer, not of lines. (Bug#3790)
8225 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
8226 non-calendar buffers (Bug#3862). Restore "not on a date" message.
8227 (cal-menu-context-mouse-menu): Doc fix.
8229 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
8231 * simple.el (mail-user-agent): Doc fix. Set :version tag.
8233 2009-07-18 Juri Linkov <juri@jurta.org>
8235 * info.el: Virtual Info keyword finder.
8236 (add-to-list)<Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
8237 (Info-finder-file): New variable.
8238 (Info-finder-find-file): New function.
8239 (finder-known-keywords, finder-package-info)
8240 (find-library-name, lm-commentary): Use defvar and
8241 declare-function to silence compiler warnings.
8242 (Info-finder-find-node): New function.
8243 (info-finder): New command.
8245 * subr.el (process-kill-buffer-query-function): New function.
8246 (add-hook)<kill-buffer-query-functions>: Add hook
8247 `process-kill-buffer-query-function'.
8249 2009-07-18 Alan Mackenzie <acm@muc.de>
8251 * progmodes/cc-mode.el (c-before-hack-hook)
8252 (c-postprocess-file-styles): Give invocation of `c-set-style'
8253 DONT-OVERRIDE parameter of t. Already set style variables will
8254 thus not be overridden by style settings given by `c-file-syle'.
8256 * files.el (hack-local-variables-filter): Remove entries with
8257 duplicate keys from `file-local-variables-alist'.
8259 2009-07-18 Eli Zaretskii <eliz@gnu.org>
8261 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
8262 x-set-selection if display-selections-p returns nil for the
8265 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
8267 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
8269 2009-07-18 Eli Zaretskii <eliz@gnu.org>
8271 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
8272 Accept nil in addition to a regexp.
8273 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
8274 Accept nil in addition to a regexp.
8275 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
8276 buffers that have an associated file. Handle nil values of
8277 desktop-buffers-not-to-save and desktop-files-not-to-save.
8280 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8281 (x-disown-selection-internal): New functions.
8283 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
8285 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
8287 (gdb-breakpoints-header): Move forward to avoid compiler warning.
8288 (gdb-make-header-line-mouse-map): Remove duplicate definition.
8290 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
8292 * simple.el (set-mark): Revert last change.
8294 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
8296 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
8297 rendering of pngs is not possible instead of messaging a long
8300 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
8302 * w32-fns.el (x-selection-owner-p): New function.
8304 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
8305 (mouse-yank-at-click, mouse-yank-primary): If
8306 select-active-regions is non-nil, deactivate the mark before
8309 * simple.el (deactivate-mark, set-mark): Only save selection if we
8312 2009-07-17 Kenichi Handa <handa@m17n.org>
8314 * case-table.el (describe-buffer-case-table): Fix for the case
8317 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
8319 * vc-rcs.el (vc-rcs-find-file-hook):
8320 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
8322 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
8324 * net/tramp.el (tramp-wait-for-output): Handle the case when
8325 commands do not return a newline but a null byte before the shell
8328 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8330 * term/ns-win.el (ns-set-alpha): Don't declare.
8331 (ns-set-background-alpha): Remove function.
8333 2009-07-16 Kevin Ryde <user42@zip.com.au>
8335 * emacs-lisp/copyright.el (copyright-update): Save match-data across
8336 y-or-n-p, for safety.
8338 2009-07-16 Richard Stallman <rms@gnu.org>
8340 * files.el (auto-save-mode): If buffer-saved-size is -2,
8343 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
8344 (rmail-retry-ignored-headers): Add more uninteresting fields.
8346 2009-07-15 Jari Aalto <jari.aalto@cante.net>
8348 * net/rcirc.el (rcirc): Use history variables.
8349 (rcirc-server-name-history, rcirc-nick-name-history)
8350 (rcirc-server-port-history): New variables.
8352 2009-07-15 Kenichi Handa <handa@m17n.org>
8354 * international/mule-cmds.el (set-language-environment-charset):
8355 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
8358 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
8359 Delete unibyte-display.
8361 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
8363 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
8365 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
8367 * simple.el (deactivate-mark): Optional argument FORCE.
8368 (set-mark): Use deactivate-mark.
8370 * info.el (Info-search): No need to check transient-mark-mode
8371 before calling deactivate-mark.
8373 * select.el (x-set-selection): Doc fix.
8374 (x-valid-simple-selection-p): Allow buffer values.
8375 (xselect--selection-bounds): Handle buffer values. Suggested by
8376 David De La Harpe Golden.
8378 * mouse.el (mouse-set-region, mouse-drag-track): Call
8379 copy-region-as-kill before setting the mark, to let
8380 select-active-regions work.
8382 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
8384 * simple.el (deactivate-mark): If select-active-regions is
8385 non-nil, copy the selection data into a string.
8386 (activate-mark): If select-active-regions is non-nil, set the
8387 selection to the current buffer.
8388 (set-mark): Update selection if select-active-regions is non-nil.
8390 * select.el (x-valid-simple-selection-p): Allow buffer values.
8392 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
8394 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
8395 and more featureful message-mode.
8397 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
8399 * select.el (x-set-selection): Doc fix.
8400 (x-valid-simple-selection-p): Disallow selection data consisting
8401 of a list or cons of integers, since that is not used.
8402 (xselect--selection-bounds, xselect--int-to-cons): New functions.
8403 (xselect-convert-to-string, xselect-convert-to-length)
8404 (xselect-convert-to-filename, xselect-convert-to-charpos)
8405 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
8407 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
8409 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
8410 output in -break-info command (Emacs bug #3794).
8412 2009-07-14 Glenn Morris <rgm@gnu.org>
8414 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
8415 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
8416 (edebug-print-length, edebug-print-level, edebug-print-circle)
8417 (edebug-sit-for-seconds, edebug-view-outside)
8418 (edebug-bounce-point, edebug-set-global-break-condition)
8419 (edebug-Go-nonstop-mode, edebug-trace-mode)
8420 (edebug-Trace-fast-mode, edebug-continue-mode)
8421 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
8422 (edebug-visit-eval-list): Doc fixes.
8424 * subr.el (def-edebug-spec): Doc fix.
8426 2009-07-14 Kenichi Handa <handa@m17n.org>
8428 * international/characters.el: Fix setting of category ?C.
8430 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
8432 * term/ns-win.el (x-select-font): defalias x-select-font to
8433 ns-popup-font-panel instead of generate-fontset-menu.
8435 2009-07-12 Eli Zaretskii <eliz@gnu.org>
8437 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
8439 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
8441 * arc-mode.el (archive-find-type): Allow for a PK00 string before
8442 the PK\003\004 header (Bug#3770).
8444 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
8446 * pcomplete.el (pcomplete-comint-setup): Check for
8447 shell-dynamic-complete-filename too.
8449 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
8451 * simple.el (temporary-goal-column): Change the value for
8452 line-move-visual to a cons cell.
8453 (line-move-visual): Record or set the window hscroll, if
8454 necessary (Bug#3494).
8455 (line-move-1): Handle cons value of temporary-goal-column.
8457 2009-07-11 Kenichi Handa <handa@m17n.org>
8459 * international/mule-diag.el (describe-character-set): Don't show
8462 2009-07-10 Sam Steingold <sds@gnu.org>
8464 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8465 Omake sometimes indents the errors it prints, so allow all
8466 regexps to start with spaces.
8468 2009-07-10 Eli Zaretskii <eliz@gnu.org>
8470 * cus-edit.el (customize-changed-options-previous-release):
8471 Bump value to 22.1. (Bug#3804)
8473 2009-07-08 Sam Steingold <sds@gnu.org>
8475 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
8476 to be a cons cell (test . ignored-directory) to selectively ignore
8477 some directories depending on the location of the search.
8479 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
8481 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
8482 remote user is root, on the local host.
8483 (tramp-local-host-p): Either the local user or the remote user
8484 must be root. (Bug#3771)
8486 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
8488 * progmodes/gdb-mi.el (gdb): Remove description of
8489 gdb-use-separate-io-buffer.
8490 (menu): Don't allow toggling of or enable
8491 gdb-use-separate-io-buffer from menubar.
8493 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
8495 * mail/unrmail.el (unrmail): Make sure the message ends with two
8496 newlines (Bug#3769).
8498 2009-07-08 Glenn Morris <rgm@gnu.org>
8500 * calendar/calendar.el (calendar-current-date): Rework previous change.
8502 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
8504 * calendar/calendar.el (calendar-current-date):
8505 Add an optional argument giving an offset from today.
8507 2009-07-08 Glenn Morris <rgm@gnu.org>
8509 * tutorial.el (tutorial--describe-nonstandard-key):
8510 Adjust the message for when a key has been unbound.
8511 (help-with-tutorial): Hide the arch-tag.
8513 2009-07-08 Kenichi Handa <handa@m17n.org>
8515 * international/fontset.el (setup-default-fontset): For each
8516 script, append (not set) font-specs.
8518 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
8521 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
8523 * progmodes/gdb-mi.el (gdb-init-1): Move sending
8524 -data-list-register-names to ...
8525 (gdb-starting): ... here because GDB 7.0 requires execution to
8526 have started when using this MI command.
8527 (gdb-set-header): New function to distinguish select and
8528 unselected tabs in gdb buffers.
8529 (gdb-propertize-header): New macro that uses gdb-set-header.
8530 (gdb-breakpoints-header, gdb-locals-header): Use it.
8531 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
8533 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
8535 * Makefile.in (ELCFILES): Remove fadr.elc.
8537 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
8539 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
8540 may contain frame information, so `string-match' should be used.
8541 (gdb-update): Disassembly is invalidated through
8542 `gdb-get-selected-frame'.
8543 (gdb-pad-string): New function to pad string with spaces.
8544 (gdb-invalidate-disassembly): Invalidate only if the buffer
8546 (gdb-disassembly-handler-custom): Column alignment.
8547 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
8549 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
8551 (gdb-frame-handler): Match convention to for disassembly buffer
8553 (gdb-stack-list-frames-handler): Rewritten without regexps.
8554 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
8555 not highlight breakpoints without line information.
8556 (gdb-input): Add trailing newline to command.
8558 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
8560 (gdb-breakpoints-list-handler-custom): Replacement for
8561 `gdb-break-list-handler'. Using real parser instead of regexps
8563 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
8564 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
8565 to place breakpoints.
8566 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
8568 (gdb-disassembly-handler-custom): Show overlay arrow.
8569 (gdb-disassembly-place-breakpoints): Show breakpoints in
8571 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
8572 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
8573 instead of parsing breakpoints buffer. Fixed old menu references
8578 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
8579 (gdb-memory-address): New variable which holds top address of
8580 memory page shown in memory buffer.
8581 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
8582 customization variables.
8584 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
8585 display the memory buffer.
8586 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
8587 buffer display parameters.
8588 (def-gdb-memory-format, gdb-memory-format-binary)
8589 (gdb-memory-format-octal, gdb-memory-format-unsigned)
8590 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
8591 Functions for setting memory buffer format.
8592 (gdb-memory-unit-word, gdb-memory-unit-halfword)
8593 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
8594 unit size used in memory buffer.
8595 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
8596 to next/previous page of memory buffer.
8597 Now using (bindat-get-field) instead of fadr functions.
8599 2009-07-07 Sam Steingold <sds@gnu.org>
8601 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
8602 non-top-level files.
8604 2009-07-07 Kenichi Handa <handa@m17n.org>
8606 * international/mule-cmds.el (reset-language-environment): Put
8607 the highset priority to the charset iso-8859-1.
8609 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
8611 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
8612 to the end of the line when locating the block (Bug#700).
8614 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
8616 * net/tramp.el (tramp-handle-write-region): Flush file properties
8617 in case of short track.
8619 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
8621 * verilog-mode.el (verilog-error-regexp-emacs-alist): Coded custom
8622 representation of verilog error regular expressions to work with
8623 Emacs-22's new format.
8624 (verilog-error-regexp-xemacs-alist): Coded custom representation
8625 of verilog error regular expressions to work with XEmacs format.
8626 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
8627 error recognition into XEmacs.
8628 (verilog-error-regexp-add-emacs): Hook routine to install verilog
8629 error recognition into Emacs-22.
8631 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
8633 * woman.el: Remove stand-alone closing parentheses.
8634 (woman-file-name, woman2-format-paragraphs)
8635 (woman-leave-blank-lines): Code cleanup.
8636 (woman-use-own-frame): Change default to nil.
8637 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
8638 defaults to inherit from default faces.
8639 (woman2-process-escapes): Consume the newline after a stand-alone
8640 filler character (Bug#3651).
8642 2009-07-06 Glenn Morris <rgm@gnu.org>
8644 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
8645 (top-level): Move provide to the end.
8646 (ffap): Remove defunct URL from custom group.
8648 * subr.el (eval-after-load): Doc fix.
8650 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
8652 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
8653 `calc-embedded-word' is called twice.
8655 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
8657 * files.el (find-alternate-file-other-window, find-alternate-file):
8658 Obey confirm-nonexistent-file-or-buffer.
8660 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
8662 * dired-aux.el (dired-show-file-type): Handle remote files.
8664 2009-07-05 Jari Aalto <jari.aalto@cante.net>
8666 * desktop.el (desktop-globals-to-save):
8667 Add file-name-history (Bug#2750).
8669 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
8671 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
8673 2009-07-04 Johan Bockgård <bojohan@gnu.org>
8675 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
8676 property on entire argument since this is what eshell-lisp-command
8679 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
8681 * net/tramp-gvfs.el (tramp-gvfs-methods)
8682 (tramp-gvfs-zeroconf-domain)
8683 (tramp-bluez-discover-devices-timeout): Add version flag.
8684 (tramp-gvfs-handler-mounted-unmounted)
8685 (tramp-gvfs-connection-mounted-p): Polish handling of
8686 incompatibilities between GVFS 0.2 and 1.0.
8688 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
8690 * cus-start.el (all): Add make-pointer-invisible.
8692 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
8694 * calc-math.el (math-use-emacs-fn): Make sure that the number is
8695 formatted correctly.
8697 2009-07-02 Juri Linkov <juri@jurta.org>
8699 * info.el: Virtual Info files and nodes.
8700 (Info-virtual-files, Info-virtual-nodes): New variables.
8701 (Info-current-node-virtual): New variable.
8702 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
8704 (Info-file-supports-index-cookies): Use Info-virtual-file-p
8705 to check for a virtual file instead of checking a fixed list
8707 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
8708 instead of ad-hoc processing of "dir" and (apropos history toc).
8709 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
8710 instead of ad-hoc processing of "dir" and (apropos history toc).
8711 Reread a file when moving from a virtual node.
8712 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
8713 (Info-directory-toc-nodes, Info-directory-find-file)
8714 (Info-directory-find-node): New functions.
8715 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
8716 (Info-history): Move part of code to
8717 `Info-history-find-node'.
8718 (Info-history-toc-nodes, Info-history-find-file)
8719 (Info-history-find-node): New functions.
8720 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
8721 (Info-toc): Move part of code to `Info-toc-find-node'.
8722 (Info-toc-find-node): New function.
8723 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
8724 the current Info file name to references because now the node
8725 "*TOC*" belongs to the same Info manual.
8726 (Info-toc-build): Rename from `Info-build-toc'.
8727 (Info-toc-nodes): Rename input argument `file' to `filename'.
8728 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
8729 instead of ad-hoc processing of ("dir" apropos history toc).
8730 (Info-index-nodes): Use Info-virtual-file-p
8731 to check for a virtual file instead of checking a fixed list
8733 (Info-index-node): Add check for `Info-current-node-virtual'.
8734 Raise `save-match-data' higher up the tree to contain
8735 `search-forward' too (bug fix).
8736 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
8737 (Info-virtual-index-nodes): New variable.
8738 (Info-virtual-index-find-node, Info-virtual-index): New functions.
8739 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
8740 (Info-apropos-file, Info-apropos-nodes): New variables.
8741 (Info-apropos-toc-nodes, Info-apropos-find-file)
8742 (Info-apropos-find-node, Info-apropos-matches): New functions.
8743 (info-apropos): Move part of code to `Info-apropos-find-node' and
8744 `Info-apropos-matches'.
8745 (Info-mode-map): Bind "I" to `Info-virtual-index'.
8746 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
8747 for a virtual file instead of checking a fixed list of node names.
8749 * simple.el (async-shell-command): New command.
8751 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
8753 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
8754 instead of `mount-info'.
8756 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
8758 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
8759 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
8761 2009-07-02 Kenichi Handa <handa@m17n.org>
8763 * international/mule.el (set-keyboard-coding-system): Force *-unix
8764 coding-system to avoid eol conversion.
8766 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
8768 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8769 Add handler for `process-file', `shell-command' and
8770 `start-file-process'.
8771 (tramp-gvfs-handle-shell-command)
8772 (tramp-gvfs-handle-start-file-process)
8773 (tramp-gvfs-handle-process-file): New defuns.
8774 (tramp-synce-list-devices): Simplify check for existence of property.
8776 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
8778 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
8780 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
8782 * language/korean.el (set-language-info-alist): Add korean-cp949,
8785 2009-07-01 Kenichi Handa <handa@m17n.org>
8787 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
8789 * international/encoded-kb.el: Deleted.
8791 * international/mule.el (set-keyboard-coding-system): Perform the
8792 necessary setup here instead of calling encoded-kbd-setup-display.
8794 2009-07-01 Glenn Morris <rgm@gnu.org>
8796 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
8798 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
8800 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
8802 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
8804 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
8805 Handle also the 'rename case, when setting file modes. (Bug#3712)
8806 (tramp-default-file-modes) Remove execute permissions.
8808 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
8809 (top): Add a default for "synce" in `tramp-default-user-alist'.
8810 Add completion function for "synce" method.
8811 (tramp-hal-service, tramp-hal-path-manager)
8812 (tramp-hal-interface-manager, tramp-hal-interface-device):
8814 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
8815 (tramp-synce-list-devices, tramp-synce-parse-device-names):
8818 * net/trampver.el: Update release number.
8820 2009-06-30 Kenichi Handa <handa@m17n.org>
8822 * international/fontset.el (setup-default-fontset): Add CJK fonts
8823 for symbols and the other miscellaneous characters.
8825 * language/korea-util.el (setup-korean-environment-internal):
8826 Make char-width-table suitable for Korean environments.
8827 (exit-korean-environment): Cancel above.
8829 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
8830 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
8831 setup-funcion to make char-widht-table suitable for respective
8832 environments, and an exit-function to cancel that.
8834 * language/japan-util.el (setup-japanese-environment-internal):
8835 Call use-cjk-char-width-table with arg `ja_JP'.
8837 * international/characters.el (cjk-char-width-table): Delete it.
8838 (cjk-char-width-table-list): New variable.
8839 (use-cjk-char-width-table): New arg local-name.
8840 (use-default-char-width-table): Fix for the case that Emacs is
8841 already using the default char-width-table.
8843 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
8845 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
8846 modes mandatory. (Bug#3712)
8848 2009-06-29 Alan Mackenzie <acm@muc.de>
8850 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
8851 correction between the visible width of TABs and their number of bytes.
8853 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
8855 * server.el (server-buffer-done): Prevent kill-buffer from
8856 prompting by clearing the buffer modification flag (Bug#3696).
8858 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
8860 * verilog-mode.el (verilog-beg-of-statement)
8861 (verilog-endcomment-reason-re): Support unique case and priority case.
8862 (verilog-basic-complete-re): Support localparam lineup.
8863 (verilog-beg-of-statement-1): Fix for robustness, unique case.
8864 (verilog-set-auto-endcomments): Fix for unique case, always_comb
8866 (verilog-leap-to-case-head): Now support *nested* unique &
8867 priority case statements.
8868 (verilog-auto-lineup): Make just declarations the default (as it
8870 (verilog-leap-to-case-head): Support priority/unique case statements.
8871 (verilog-auto-lineup): Rework to give users radio buttons to
8872 select the various styles of automatic lineup.
8873 (verilog-error-regexp-alist): Rework to support the XEmacs style
8874 of error regular expressions from compilers, lint tools &
8875 simulators. Note that GNU Emacs has made it impossible for a mode
8876 to load such things.
8877 (electric-verilog-terminate-line, verilog-indent-declaration)
8878 (verilog-auto-wiure): Rework for radio button selection of
8879 auto-lineup selection of specification of auto lineup.
8880 (verilog-beg-of-statement-1): Redesign to support proper operation
8881 in additional code, based on testing with auto-lineup.
8882 (verilog-calculate-indent, assignments & declarations)
8883 (verilog-backward-token): Enhance to support auto-lineup of
8884 assignments & declarations.
8885 (verilog-in-directive-p, verilog-at-struct-p): New function for
8886 easy test of whether we are.
8887 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
8888 to support safe execution at almost anyline.
8889 (verilog-calc-1): Properly support indenting deep inside generate
8891 (verilog-init-font) Remove definition & use of verilog-init-font,
8892 as it is redundant with font-lock-defaults.
8893 (verilog-mode): Alter the definition of verilog-font-lock-defaults
8894 to avoid circular calls if syntax-ppss is a function (as is the
8895 case now in 22.x GNU Emacs) as that function would sometimes call
8896 itself, leading to (nearly) infinite recursion.
8897 (verilog-ovm-begin-re, verilog-ovm-end-re)
8898 (verilog-ovm-statement-re, verilog-leap-to-head)
8899 (verilog-backward-token): Add support for OVM macros. Some are
8900 complete statements, and others open and close scopes like begin
8902 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
8903 (verilog-defun-level-generate-only-re): Really fix the defun-list
8905 (verilog-calc-1) (verilog-beg-of-statement): Enhance support for
8906 coverpoint, constraint and cross statements.
8907 (verilog-defun-level-list, verilog-generate-defun-level-list)
8908 (verilog-all-defun-level-list): Redo these specifications - it is
8909 too hard to support eval-when compile aggregation of lists also
8910 built at when-compile time.
8911 (verilog-defun-level-list): Place defconsts of variables used in
8912 building regular expressions which are built in eval-when-compile
8913 bodies in the same eval-when-compile body to facilitate compile
8915 (verilog-beg-block-re-ordered): Support indenting
8916 virtual/protected tasks and functions.
8917 (verilog-defun-level-list, verilog-in-generate-region-p)
8918 (verilog-backward-ws&directives, verilog-calc-1): Speed up
8919 indentation of some module items (generate items).
8920 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
8921 across virtual/protected tasks and functions.
8923 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
8925 * verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
8926 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
8927 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
8928 in concatenations. Reported by Yishay Belkind.
8929 (verilog-auto-ascii-enum): Support one-hot state machines in
8930 AUTOASCIIENUM. Suggested by Lloyd Gomez.
8931 (verilog-auto-inst, verilog-auto-inst-port): Include interface
8932 modport in AUTOINST and add vl-modport for users. Reported by
8934 (verilog-auto-inout-module, verilog-auto-inst)
8935 (verilog-decls-get-interfaces, verilog-insert-definition)
8936 (verilog-insert-one-definition, verilog-read-decls)
8937 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
8938 (verilog-sig-modport, verilog-signals-combine-bus)
8939 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
8940 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
8941 Suggested by David Rogoff.
8942 (verilog-repair-open-comma): Fix non-insertion of comma when
8943 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
8944 (verilog-make-width-expression): Simplify [A-1:0] expression
8945 widths to just {A{1'b0}}.
8946 (verilog-mode): Cleanup checkdoc warnings.
8947 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
8948 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
8949 inputs/outputs or data type. Suggested by Vasu Kandadi.
8950 (next-error-last-buffer): Fix byte-compiler warning.
8951 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
8952 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
8953 or shell command text during AUTO expansion. Suggested by Tad Truex.
8954 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
8955 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
8956 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
8957 in AUTOINOUT. Reported by Matthew Lovell.
8958 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
8959 causing use of <= assignments. Reported by Alex Reed.
8960 (verilog-read-decls): Fix triand, trior, wand, wor to be
8961 recognized by AUTOWIRE. Reported by Spencer Isaacson.
8962 (verilog-extended-complete-re): Support import "DPI-C" functions.
8963 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
8964 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
8965 (verilog-insert-date, verilog-insert-year)
8966 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
8967 Windows systems. Reported by Michael Potts.
8968 (verilog-read-module-name): Fix AUTOINST when the child module
8969 declaration's name is a tick define. Reported by Elliot Mednick.
8970 (verilog-read-decls): Fix V2K parameter bit subscripts getting
8971 passed to next parameter's definition. Reported by Bruce T.
8972 (verilog-read-decls): Fix detecting "parameter int" when using
8973 AUTOINSTPARAM. Reported by Bruce T.
8974 (verilog-goto-defun): Fix goto not finding modules unless first
8975 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
8976 (verilog-mode): Expand -f flag arguments on entry to mode so
8977 verilog-goto-defun will work. Reported by Lawrence Butcher.
8978 (verilog-getopt): Expand environment variables in -f file
8979 arguments. Suggested by Lawrence Butcher.
8980 (verilog-set-define): Fix "Symbol's value as variable is void"
8981 when reading enumerations.
8982 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
8983 Suggested by Stephen Peltan.
8984 (verilog-read-defines): Fix reading of enumerations in include
8985 files. Reported by Steve Peltan.
8987 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
8989 * files.el (trash-directory): Fix defcustom type.
8991 2009-06-28 Juri Linkov <juri@jurta.org>
8993 * help-fns.el (describe-function-1): Correctly locate adviced
8994 functions in hyperlink (Bug#2438).
8996 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
8998 * files.el (trash-directory): Change default to nil.
8999 (move-file-to-trash): If trash-directory is nil and
9000 system-move-file-to-trash is unbound, perform freedesktop-style
9003 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
9005 * files.el (move-file-to-trash): Add freedesktop trash
9008 2009-06-28 Glenn Morris <rgm@gnu.org>
9010 * autorevert.el (global-auto-revert-non-file-buffers)
9011 (global-auto-revert-mode): Doc fixes.
9013 2009-06-27 Johan Bockgård <bojohan@gnu.org>
9015 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
9017 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
9019 * faces.el (x-handle-named-frame-geometry): Ensure that we have
9020 opened an X connection before calling x-get-resource (Bug#3194).
9022 * play/doctor.el: Remove reference to obsolete website.
9023 (make-doctor-variables): Correct grammar mistake (Bug#2633).
9025 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
9027 Remove find-file-not-found-hook VC method. (Bug#2757)
9028 * vc-hooks.el (vc-file-not-found-hook)
9029 (vc-default-find-file-not-found-hook): Remove functions.
9030 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
9031 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
9034 * vc-git.el: Do not mention find-file-not-found-hook VC method.
9036 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
9038 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
9039 compatibility function for `looking-back'.
9041 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
9042 Use `ispell-looking-back'.
9044 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
9046 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
9047 rather than `filename'.
9049 2009-06-23 Miles Bader <miles@gnu.org>
9051 * face-remap.el (text-scale-set): New function.
9053 2009-06-23 Glenn Morris <rgm@gnu.org>
9055 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
9057 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
9059 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
9061 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
9063 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
9064 Simplify Persian conditionals.
9066 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
9067 variable `filename'.
9069 * comint.el (comint-insert-input): Doc fix.
9071 * Makefile.in (ELCFILES): Fix typo in previous change.
9073 2009-06-23 Miles Bader <miles@gnu.org>
9075 * cus-start.el: Add entry for `recenter-redisplay'.
9077 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
9079 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
9080 Add an optional argument for the backend, use it instead of
9082 (vc-mode-line): Add an optional argument for the backend.
9083 Pass the backend to vc-state and vc-working-revision. Move code for
9084 special handling for vc-state being a buffer to ...
9086 * vc-rcs.el (vc-rcs-find-file-hook):
9087 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
9089 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
9090 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
9091 vc-stay-local-p and vc-mode-line calls.
9093 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
9094 (vc-cvs-diff, vc-cvs-annotate-command)
9095 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
9096 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
9099 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
9101 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
9102 backend when calling vc-mode-line.
9103 (vc-register): Do not create a closure for calling the vc register
9104 function, call it directly.
9106 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
9108 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
9109 to make it obvious item can be clicked.
9111 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
9113 2009-06-23 Kenichi Handa <handa@m17n.org>
9115 * language/korea-util.el (korean-key-bindings): Change the binding
9116 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
9119 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
9121 Sync with Tramp 2.1.16.
9123 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
9125 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
9126 when a loading of a package fails. Completion function for rsync
9127 is `tramp-completion-function-alist-ssh'.
9128 (all): Replace all calls of `split-string' and
9129 `tramp-split-string' by `tramp-compat-split-string'.
9130 (tramp-default-method): Use `tramp-compat-process-running-p'.
9131 (tramp-default-proxies-alist): Allow also Lisp forms.
9132 (tramp-remote-path): Add choice "Private Directories".
9133 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
9134 (tramp-domain-regexp): Allow also "-", "_" and ".".
9135 (tramp-end-of-output): Remove newlines, and add "$" at the end.
9136 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
9137 (tramp-debug-message): Insert header line in debug buffer.
9138 (tramp-handle-directory-files-and-attributes-with-stat):
9139 Care about filenames with spaces, or starting with "-".
9140 (tramp-handle-dired-uncache): New defun.
9141 (tramp-handle-insert-directory): Don't flush the directory from
9142 cache, this is handled by `dired-uncache' now.
9143 (tramp-handle-insert-file-contents): Improve error handling.
9144 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9145 Quote `tramp-end-of-output'.
9146 (tramp-action-password): Improve trace message.
9147 (tramp-check-for-regexp): Both echoes must be present, before removing.
9148 (tramp-open-connection-setup-interactive-shell): Trace coding system.
9149 (tramp-compute-multi-hops): Eval cons cells of
9150 `tramp-default-proxies-alist'.
9151 (tramp-maybe-open-connection): Use the same command pattern for
9152 first hop and further hops.
9153 (tramp-wait-for-output): Remove handling of newlines.
9154 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
9155 (tramp-split-string): Remove function. It is handled in
9158 * net/tramp-cmds.el (tramp-bug):
9159 Recommend `tramp-cleanup-all-connections' in the bug mail.
9161 * net/tramp-compat.el (tramp-compat-split-string)
9162 (tramp-compat-process-running-p): New defuns.
9164 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
9165 for `dired-uncache'.
9167 * net/tramp-gvfs.el: New package.
9169 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9170 Add handler for `dired-uncache'.
9171 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
9173 * net/trampver.el: Update release number. Make version check fit
9176 2009-06-22 Jim Meyering <meyering@redhat.com>
9178 Automatically handle .xz suffix (XZ-compressed files), too.
9179 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
9180 XZ is the successor to LZMA: <http://tukaani.org/xz/>
9182 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
9183 Nick Roberts <nickrob@snap.net.nz>
9185 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
9186 repository (http://sphinx.net.ru/hg/gdb-mi/).
9188 2009-06-22 Glenn Morris <rgm@gnu.org>
9190 * files.el (dir-locals-collect-mode-variables): Allow for any number of
9191 `mode' and `eval' entries. (Bug#3430)
9193 * Makefile.in (ELCFILES): Add fadr.elc.
9195 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
9196 differing behavior of \n and ^ in strings. (Bug#3385)
9198 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
9200 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
9202 (lisp-indent-function): Make it a defcustom.
9204 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
9206 * progmodes/gdb-ui.el: Replace with ...
9207 * progmodes/gdb-mi.el: ... this file.
9208 * progmodes/gud.el: Modify for gdb-mi.el.
9210 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
9212 * fadr.el: New file.
9214 See ChangeLog.14 for earlier changes.
9220 Copyright (C) 2009 Free Software Foundation, Inc.
9222 This file is part of GNU Emacs.
9224 GNU Emacs is free software: you can redistribute it and/or modify
9225 it under the terms of the GNU General Public License as published by
9226 the Free Software Foundation, either version 3 of the License, or
9227 (at your option) any later version.
9229 GNU Emacs is distributed in the hope that it will be useful,
9230 but WITHOUT ANY WARRANTY; without even the implied warranty of
9231 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9232 GNU General Public License for more details.
9234 You should have received a copy of the GNU General Public License
9235 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
9237 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1