1 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
3 * vc-bzr.el (vc-bzr-working-revision): Fix looking for a revision
4 in a lightweight checkout.
6 2010-01-05 Kenichi Handa <handa@m17n.org>
8 * language/indian.el (malayalam-composable-pattern): Fix ZWNJ and
11 2010-01-05 Dan Nicolaescu <dann@ics.uci.edu>
13 * vc-bzr.el (vc-bzr-diff): Obey vc-disable-async-diff.
15 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
17 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
19 (vc-bzr-log-view-mode): Also highlight the author.
20 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
21 (vc-bzr-shelve-menu-map):
22 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
23 (vc-bzr-shelve-apply): Make prompt more explicit.
25 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
27 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
28 They are valid characters in URL paths (rfc3986), and at least
29 Firefox does not understand the encoded version (Bug#3166).
31 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
33 * progmodes/octave-mod.el (octave-end-keywords)
34 (octave-block-begin-or-end-regexp, octave-block-match-alist): Add
35 "end" keyword (Bug#3061).
36 (octave-end-as-array-index-p): New function.
37 (calculate-octave-indent): Use it.
39 2010-01-02 Karl Fogel <kfogel@red-bean.com>
41 * bookmark.el: Consistently put the text property on the bookmark name.
42 (bookmark-bmenu-marks-width): Bump back to 2, to include
44 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
45 property on the bookmark name, instead of not putting it at all.
46 (bookmark-bmenu-list): Fix where we put the text property.
48 2010-01-02 Karl Fogel <kfogel@red-bean.com>
50 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
51 for showing buffer modified state (as added in the previous change).
53 2010-01-02 Karl Fogel <kfogel@red-bean.com>
55 * bookmark.el: Show modified state of bookmark buffer more accurately.
56 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
57 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
58 (with-buffer-modified-unmodified): New macro.
59 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
60 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
61 Use new macro to preserve the buffer modified state.
63 2010-01-02 Karl Fogel <kfogel@red-bean.com>
65 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window,
66 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
67 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
68 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
69 (bookmark-bmenu-rename, bookmark-bmenu-locate)
70 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark): Remove
71 unnecessary calls to `bookmark-bmenu-ensure-position'.
73 2010-01-02 Eli Zaretskii <eliz@gnu.org>
75 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Make
76 the lines in the generated doc string shorter. (Bug#4668)
78 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
80 * net/rcirc.el: Add follow-link binding (Bug#4738).
82 2010-01-02 Eli Zaretskii <eliz@gnu.org>
84 * Makefile.in (bzr-update): Renamed from cvs-update.
85 (cvs-update): New target for backward compatibility.
87 * makefile.w32-in (bzr-update): Renamed from cvs-update.
88 (cvs-update): New target for backward compatibility.
90 2010-01-02 Karl Fogel <kfogel@red-bean.com>
92 * bookmark.el: Remove gratuitous gratitude.
94 2010-01-02 Karl Fogel <kfogel@red-bean.com>
96 * bookmark.el (bookmark-bmenu-any-marks): New function
97 (bookmark-bmenu-save): Clear buffer modification if no marks.
99 2010-01-02 Karl Fogel <kfogel@red-bean.com>
101 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
102 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
103 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
104 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
106 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
107 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
108 To: emacs-devel {_AT_} gnu.org
109 Subject: bookmark.el bug report
110 Date: Mon, 28 Dec 2009 14:19:16 +0800
111 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
113 2010-01-02 Karl Fogel <kfogel@red-bean.com>
115 * bookmark.el: Improvements suggested by Drew Adams:
116 (bookmark-bmenu-ensure-position): New name for
117 `bookmark-bmenu-check-position'. Just ensure the position,
118 don't return any meaningful value.
119 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
122 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
124 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
125 (bookmark-yank-point, bookmark-bmenu-check-position):
126 Fix typos in docstrings.
127 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
128 (bookmark-name-from-full-record, bookmark-get-position)
129 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
130 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
131 Remove useless quoting of parenthesis, etc. in docstrings.
133 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
134 (ediff-append-custom-diff): Fix typo in error message.
135 (ediff-meta-mark-equal-files): Fix typos in messages.
137 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
139 * cedet/semantic/db-typecache.el (semanticdb-typecache-find-default):
140 Fix typo in docstring.
142 * net/imap-hash.el (imap-hash-make): Doc fix.
143 (imap-hash-test): Fix typo in error message; reflow docstring.
144 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
145 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
146 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
147 Fix typos in docstrings.
148 (imap-hash-open-connection): Fix typo in error message.
150 * play/gomoku.el (gomoku): Fix typos in docstring.
152 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
153 (gdb-jsonify-buffer): Fix typos in docstring.
154 (gdb-goto-breakpoint): Fix typo in error message.
155 ("Display Other Windows"): Fix typo in help message.
156 (gdb-speedbar-expand-node): Fix typo in question.
158 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
159 (idlwave-html-system-help-location, idlwave-html-help-location)
160 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
161 (idlwave-help-browser-generic-args, idlwave-help-directory)
162 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
163 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
164 (idlwave-online-help, idlwave-help-html-link)
165 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
166 Fix typos in docstrings.
167 (idlwave-help-with-source, idlwave-help-find-routine-definition):
169 (idlwave-help-assistant-start): Fix typo in error message.
171 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
172 (octave-electric-space): Fix typos in docstrings.
174 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
176 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
178 2010-01-01 Juri Linkov <juri@jurta.org>
180 * comint.el (comint-input-ring-size): Make it a defcustom and
181 increase the default to 500 (Bug#5148).
183 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
185 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
186 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
187 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
189 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
191 Show working revision correctly for mercurial.
192 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
193 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
195 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
197 Declare some functions for the byte-compiler.
198 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
199 (speedbar-timer-fn, speedbar-change-expand-button-char)
200 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
202 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
204 This changeset reverts GDB Graphical Interface to use annotations.
205 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
207 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
209 Make vc-dir work on subdirectories of the bzr root.
210 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument. Return
211 file names relative to it.
212 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
213 relative directory to vc-bzr-after-dir-status.
215 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
217 * font-lock.el (font-lock-refresh-defaults): New function, which
218 can be used to let font-lock react to external changes in
219 variables like font-lock-defaults and keywords.
220 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
222 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
224 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
226 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
228 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
230 Supersede color.diff settings in git log (bug#5211).
232 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
233 escape chars in its output when the user has color.diff set to `always'.
234 This fix works on git 1.4.2 and newer (released on 2006-08-13).
236 2009-12-26 Kevin Ryde <user42@zip.com.au>
238 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
239 node. Keep previous "Index" name to work with past coreutils too.
241 * man.el (man): Revise docstring a bit to show -a and -l as
242 examples. Add -k description since support for it has otherwise
243 been a secret. (Further to bug#3717.)
244 (Man-bgproc-sentinel): When "-k foo" produces no output show error
245 "no matches" rather than "Can't find manpage", as the latter reads
246 like -k was interpreted as a page name, which is not so. (Bug#5431)
248 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
250 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
251 switches. Check also for //SUBDIRED// line.
253 2009-12-25 Kenichi Handa <handa@m17n.org>
255 * language/indian.el (devanagari-composable-pattern): Fixed to
256 handle ZWNJ and ZWJ. Use it in composition-function-table for
258 (malayalam-composable-pattern): Fix previous change.
260 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
262 * ps-print.el (ps-face-attributes): It was not returning the
263 attribute face for faces specified as string. Reported by harven
265 (ps-print-version): New version 7.3.5.
267 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
269 * calendar/icalendar.el (icalendar--convert-tz-offset): Fixed
271 (icalendar--convert-tz-offset): Fixed the "last-day-problem".
272 (icalendar--add-diary-entry): Remove the trailing blank that
273 diary-make-entry inserts.
275 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
277 Make `file-expand-wildcards' work for remote files.
279 * files.el (file-expand-wildcards): In case of remote files, check
280 only local file name part for wildcards. Provide feature 'files
281 and subfeature 'remote-wildcards. (Bug#5198)
283 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
284 if there is already an established connection.
285 (tramp-advice-file-expand-wildcards): Remove it.
287 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
288 (tramp-advice-file-expand-wildcards): Moved from tramp.el.
289 Activate advice for older GNU Emacs versions. (Bug#5237)
291 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
293 Some doc fixes (more needed).
295 * find-cmd.el (find-constituents): Reflow docstring.
296 (find-cmd, find-prune, find-command): Fix typos in docstrings.
297 (find-generic): Doc fix.
299 2009-12-17 Juri Linkov <juri@jurta.org>
301 Fix regression from 23.1 to allow multiple modes in Local Variables.
303 * files.el (hack-local-variables-filter): While ignoring duplicates,
304 don't take `mode' into account.
305 (hack-local-variables-filter, hack-dir-local-variables): Don't
306 remove duplicate `mode' from local-variables-alist (like `eval').
308 2009-12-17 Juri Linkov <juri@jurta.org>
310 Make `dired-diff' more safe. (Bug#5225)
312 * dired-aux.el (dired-diff): Signal an error when `file' equals to
313 `current' or when `file' is a directory of the `current' file.
315 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
317 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
318 unconditionally preloaded files.
320 2009-12-16 Juri Linkov <juri@jurta.org>
322 Revert to old 23.1 logic of using the file at the mark as default.
323 * dired-aux.el (dired-diff): Use the file at the mark as default
324 if it's not the same as the current file, and the target dir is
325 the current dir or the mark is active. Add the current file
326 as the arg of `dired-dwim-target-defaults'. Use the default file
327 in the prompt. (Bug#5225)
329 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
331 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
332 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
333 (tramp-check-for-regexp): Check also, when an echoing shell stops
334 to echo sent commands.
336 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
338 * Makefile.in: Revert last change (Bug#5191).
340 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
342 * vc-hg.el (vc-hg-print-log): Fix argument order.
343 (vc-hg-working-revision): Make sure the command is executed in a
344 known environment so that we can parse the output. (Bug#4417)
346 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
348 * progmodes/python.el (python-symbol-completions): Remove text
349 properties from symbol string before calling python-send-receive.
351 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
353 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
354 when there are values for both file and line. (Bug#5060)
356 2009-12-14 Juri Linkov <juri@jurta.org>
358 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
359 whitespace after the file name of the first line of unified format,
360 because git-diff doesn't output whitespace and file modification time
363 2009-12-14 David Kastrup <dak@gnu.org>
365 * info.el (Info-hide-cookies-node): Before hiding a cookie,
366 check if it already has the `display' property added by
367 `Info-display-images-node', and not put the `invisible' property
370 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
372 * cedet/semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
373 (semantic-mru-bookmark-mode): Doc fixes.
375 * cedet/semantic/db.el (semanticdb-cache-get): Use error instead
378 2009-12-13 Glenn Morris <rgm@gnu.org>
380 * mail/emacsbug.el (message-sort-headers): Define for compiler.
381 (report-emacs-bug): In message-mode, sort manually before storing
382 original report text. (Bug#5178)
383 Remove superfluous save-excursion.
385 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
387 * net/dbus.el (dbus-property-handler): Filter lambda forms out
388 when responding to "GetAll" properties.
390 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
392 * simple.el (compose-mail): Remove mail-setup-with-from from
393 customization checks.
395 2009-12-12 Eli Zaretskii <eliz@gnu.org>
397 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
398 RAR archives created on Unix systems.
400 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
402 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
403 the varalias that was accidentally removed by the 2009-11-19 change
406 2009-12-12 Kenichi Handa <handa@m17n.org>
408 * language/indian.el (indian-compose-regexp): New function.
409 (malayalam-composable-pattern): Fix the pattern.
410 (composition-function-table): Set malayalam-composable-pattern for
411 Malayalam characters.
413 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
415 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
416 rather than down-mouse-1, based on follow-link conventions.
418 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
421 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
423 * verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
424 (verilog-vmm-statement-re, verilog-ovm-statement-re)
425 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
426 (verilog-leap-to-head, verilog-backward-token):
427 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
429 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
431 * verilog-mode.el (verilog-auto-lineup, verilog-nameable-item-re):
432 Cleanup user-visible spelling and documentation errors.
433 One reported by Gary Delp.
434 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
435 (verilog-read-decls): Fix AUTOWIRE with types declared in a
436 package, bug195. Reported by Pierre-David Pfister.
438 2009-12-11 Glenn Morris <rgm@gnu.org>
440 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
442 * mail/emacsbug.el: No longer require sendmail.
443 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
444 (report-emacs-bug-orig-text): Doc fix.
445 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
446 New local variables, to adapt to different mail-user-agents.
447 (report-emacs-bug): Fix test for a gnu.org address.
448 Use overlays for emphasis, since font-lock defeats 'face property.
449 Pretest bugs also end up at the newsgroup these days.
450 Stop message-mode stripping text properties.
451 Set and use the new buffer-local variables.
452 (report-emacs-bug-hook): Add doc-string.
453 Remove some unnecessary save-excursions and simplify.
454 Use the appropriate hook and send-command.
456 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
457 capitalization of some menu entries.
459 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
461 * whitespace.el (whitespace-display-char-on): Ensure
462 `buffer-display-table' is unique when two or more windows are
463 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
466 2009-12-10 Eli Zaretskii <eliz@gnu.org>
468 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
469 characters in the Attribute field.
471 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
473 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
475 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
477 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
478 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
479 Disregard autoload-excludes.
480 (update-directory-autoloads): Obey autoload-excludes here instead.
481 But don't store its contents in no-autoloads and remove entries that
482 refer to excludes files.
484 2009-12-10 Glenn Morris <rgm@gnu.org>
486 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
487 (expand-mail-aliases): Define for compiler.
489 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
492 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
493 appropriate for the mail-user-agent in use.
495 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
497 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
499 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
501 Fix short log parsing and fontification.
502 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
503 Fix fontification for the [merge] label.
505 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
507 Drop some properties to avoid surprises.
508 * htmlfontify.el (hfy-ignored-properties): New defcustom.
509 (hfy-fontify-buffer): Use it.
511 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
514 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
516 (ffap-locate-file): Remove unused arg `dir-ok' and make other
517 args compulsory. Adjust callers.
518 (ffap-gopher-at-point): Remove unused var `name'.
520 Get rid of the ELCFILES abomination.
521 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
522 (compile-elcfiles): New phony target.
523 (compile-main): Compute ELCFILES dynamically.
524 (compile-clean): New target to remove left-over elc files.
525 (compile, all): Use it.
527 2009-12-09 Kenichi Handa <handa@etlken>
529 * international/mule-diag.el: Require help-mode instead of help-fns.
531 2009-12-09 Kenichi Handa <handa@m17n.org>
533 * international/mule-cmds.el (ucs-names): Supply sufficiently
534 fine ranges instead of pre-calculating accurate ranges.
535 Iterate with bigger gc-cons-threshold.
537 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
539 Add support for stashing a snapshot of the current tree.
540 * vc-git.el (vc-git-stash-snapshot): New function.
541 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
543 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
545 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
546 instead of `(beginning|end)-of-line'.
548 2009-12-08 Glenn Morris <rgm@gnu.org>
550 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
552 * Makefile.in (ELCFILES): Regenerate.
554 2009-12-07 Juri Linkov <juri@jurta.org>
556 Don't lazy-highlight the comint output in history Isearch mode.
558 * comint.el (comint-history-isearch-search): Instead of
559 `comint-line-beginning-position', use `comint-after-pmark-p'
560 to check if point if before the process mark, and go to
561 `process-mark' in this case.
563 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
565 * textmodes/tex-mode.el (latex-complete)
566 (latex-indent-or-complete): Remove.
567 (latex-mode): Set completion-at-point-functions instead.
569 Provide a standard completion command and hook it into TAB.
570 * minibuffer.el (completion-at-point-functions): New var.
571 (completion-at-point): New command.
572 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
573 * progmodes/python.el (python-mode-map): Use completion-at-point.
574 (python-completion-at-point): Rename from python-partial-symbol and
575 adjust for use in completion-at-point-functions.
576 (python-mode): Setup completion-at-point for Python completion.
577 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
578 extracted from lisp-complete-symbol.
579 (lisp-complete-symbol): Use it.
580 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
581 setup completion-at-point for Elisp completion.
582 (emacs-lisp-mode-map, lisp-interaction-mode-map):
583 Use completion-at-point.
584 * ielm.el (ielm-map): Use completion-at-point.
585 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
586 * progmodes/sym-comp.el: Move to...
587 * obsolete/sym-comp.el: Move from progmodes.
589 2009-12-07 Eli Zaretskii <eliz@gnu.org>
591 Prevent save-buffer in Rmail buffers from using the coding-system
592 of the current message, and from clobbering the encoding mnemonics
593 in the mode line (Bug#4623).
595 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
597 (rmail-message-encoding): New variable.
598 (rmail-write-region-annotate): Record the encoding of the current
599 message in rmail-message-encoding.
600 (rmail-after-save-hook): New function, restores the encoding of
601 the current message after the message collection is saved.
603 2009-12-07 Juri Linkov <juri@jurta.org>
605 * progmodes/grep.el (grep-read-files): Use `completing-read'
606 instead of `read-string'. Set its `collection' arg to
607 `read-file-name-internal'. (Bug#4301)
609 2009-12-07 Juri Linkov <juri@jurta.org>
611 Correctly restore original Isearch point. (Bug#4994)
613 * isearch.el (isearch-mode): Move `isearch-push-state' after
614 `(run-hooks 'isearch-mode-hook)'.
615 (isearch-cancel): When `isearch-push-state-function' is defined,
616 let-bind `isearch-cmds' to the first state (the last element of
617 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
618 function and restores the original point). Otherwise, move point
621 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
623 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
624 chars that don't have names, so the table can be built much faster at
627 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
629 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
630 change. Suggested by David Kastrup.
632 * simple.el (compose-mail): Check for incompatibilities and warn.
633 (compose-mail-user-agent-warnings): New option.
635 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
637 Support showing a single log entry from vc-annotate.
638 * vc.el (print-log): Add a new argument: START-REVISION.
639 (vc-print-log-internal): Add a new optional argument and
640 pass it to the backend.
641 (vc-print-log, vc-print-root-log): Adjust callers.
642 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
643 buffer already displays the requested log entry, use it.
644 Otherwise display only the log entry in question.
645 * vc-svn.el (vc-svn-print-log):
646 * vc-mtn.el (vc-mtn-print-log):
647 * vc-hg.el (vc-hg-state):
648 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
649 (vc-git-show-log-entry): Return t on success.
650 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
651 (vc-bzr-show-log-entry): Return t on success.
652 * vc-rcs.el (vc-rcs-print-log):
653 * vc-sccs.el (vc-sccs-print-log):
654 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
656 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
658 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
659 Add menus to the meta mode. (Bug#5043)
661 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
663 * ediff-init.el (ediff-event-key): Use event-to-character instead of
666 * ediff.el (ediff-buffers-internal): Add unwind-protect.
668 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
670 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
671 Berbain <raphael.berbain@gmail.com>.
673 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
675 (tramp-initial-end-of-output): New defconst.
676 (tramp-methods, tramp-find-shell)
677 (tramp-open-connection-setup-interactive-shell)
678 (tramp-maybe-open-connection): Use it.
679 (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
680 existence of `#' and `$'.
682 * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
683 `tramp-initial-end-of-output'.
685 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
687 Get the background mode from the terminal for xterm, and set
689 * term/xterm.el (xterm-set-background-mode): New function.
690 (terminal-init-xterm): Use it in case xterm supports background
691 color queries. Recompute faces after getting the background
694 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
696 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
697 number comment back on its own line, for easier parsing.
699 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
701 Make it work for non-file buffers (bug#5102).
702 * doc-view.el (doc-view-current-cache-dir):
703 Use doc-view-buffer-file-name rather than buffer-file-name.
704 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
706 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
708 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
709 author field is too short.
711 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
713 * vc-git.el (vc-git-print-log): Handle a limit argument.
714 Display the short log in graph form and with labels.
715 (vc-git-log-view-mode): Handle labels.
717 Make vc-revert change VC state from 'added to 'unregistered.
718 * vc-git.el (vc-git-revert): Call git reset first.
720 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
722 * net/newst-backend.el, net/newst-plainview.el:
723 * net/newst-reader.el, net/newst-ticker.el:
724 * net/newst-treeview.el, net/newsticker.el:
725 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
727 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
729 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
731 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
732 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
733 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
734 Update annotation regexp.
736 * simple.el (beginning-of-visual-line): Constrain to field
737 boundaries (Bug#5106).
739 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
741 * xml.el (xml-substitute-numeric-entities): Move
742 newsticker--decode-numeric-entities in newst-backend.el to
743 xml-substitute-numeric-entities in xml.el. (Bug#5008)
744 * net/newst-backend.el (newsticker--parse-generic-feed)
745 (newsticker--parse-generic-items)
746 (newsticker--decode-numeric-entities): Move
747 newsticker--decode-numeric-entities in newst-backend.el to
748 xml-substitute-numeric-entities in xml.el. (Bug#5008)
750 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
752 * progmodes/js.el (js--js-not): Add null to the list of values.
754 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
756 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
758 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
760 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
761 delimiter if it is at the end of the current line.
762 (bibtex-generate-url-list): Fix docstring.
764 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
766 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
767 minibuffer's content with itself.
768 Fold the confirm-after-completion case into the `confirm' case.
769 (completion-pcm-word-delimiters): Add : and / to the delimiters.
771 2009-12-06 Kevin Ryde <user42@zip.com.au>
773 * ffap.el (ffap-rfc-path): Make this a defcustom since
774 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
776 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
777 manuals, similar to existing setup for help-mode. (Bug#3913.)
779 2009-12-05 Juri Linkov <juri@jurta.org>
781 Save and restore dired buffer's point positions too. (Bug#4880)
783 * dired.el (dired-save-positions): Return in the first element
784 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
786 (dired-restore-positions): First restore buffer's position.
787 While restoring window's positions, check if window still displays
790 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
792 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
795 * cedet/semantic/ia.el (semantic-ia-complete-symbol):
796 Make argument optional.
798 * shell.el (shell): Require ansi-color (Bug#5113).
800 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
802 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
804 2009-12-05 Alan Mackenzie <acm@muc.de>
806 * progmodes/cc-mode.el (c-before-hack-hook)
807 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
808 `c-file-style' to work again. This reversion restores the current
809 software to its state in Emacs 23.1. (Bug#4146)
811 2009-12-05 Kevin Ryde <user42@zip.com.au>
813 * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
814 comment-start-skip to comment-end-skip as comment (Bug#4781).
816 2009-12-05 Juri Linkov <juri@jurta.org>
818 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
819 for virtual nodes. (Bug#4147)
820 (Info-find-node-2): Set `Info-current-node-virtual' to nil
821 when moving from a virtual node.
822 (Info-mode-menu): Add `Info-virtual-index' to the menu.
823 (Info-mode): Add `Info-virtual-index' to the docstring.
825 2009-12-05 Eric Ludlam <zappo@gnu.org>
827 * cedet/semantic/bovine/c.el (semantic-c-describe-environment):
828 Describe project macro symbols.
830 * cedet/semantic/complete.el (semantic-complete-do-completion):
831 Don't call semantic-collector-current-exact-match.
833 * cedet/ede.el (ede-apply-preprocessor-map): Accept lists of
834 ede-objects as targets.
836 * cedet/ede/pmake.el (ede-proj-makefile-insert-variables): Output
837 a target's object list even if compiler vars are already in the
840 * cedet/ede/emacs.el (ede-preprocessor-map): Add config.h to the
841 list of headers producing necessary macros.
843 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
845 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
846 track of the buffer position of the end of a BibTeX entry as this
847 position may change during reformatting.
848 (bibtex-format-entry): Remove whitespace before processing
849 numerical fields so that we recognize the latter properly.
850 (bibtex-reformat): Do not use push which changes the global value
851 of bibtex-entry-format.
852 (bibtex-field-braces-alist, bibtex-field-strings-alist)
853 (bibtex-field-re-init): Replace only space characters by regexp
855 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
856 (bibtex-initialize): Also update bibtex-strings.
857 (bibtex-kill-field): Preserve white space at end of entry.
858 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
859 Update bibtex-reference-keys.
861 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
863 * minibuffer.el (completion-pcm--merge-try): Also consider placing
864 point after a star, if that's the only place where modifications can
867 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
869 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
872 2009-12-04 Juri Linkov <juri@jurta.org>
874 * proced.el (proced): Call `(proced-update t)' to update process
875 information instead of only running proced-post-display-hook.
876 (proced-send-signal): Add a leading space to the buffer name
877 " *Marked Processes*" to make this buffer ephemeral.
879 2009-12-04 Juri Linkov <juri@jurta.org>
881 * dired.el (dired-auto-revert-buffer): New defcustom.
882 (dired-internal-noselect): Use it.
884 2009-12-04 Juri Linkov <juri@jurta.org>
886 Change roles of modes and functions in image-mode.el (Bug#5062).
888 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
889 in `auto-mode-alist'.
890 (image-mode-previous-major-mode): New variable.
891 (image-minor-mode-map): Rename from `image-mode-text-map'.
892 (image-mode): Move graceful error-handling code from
893 `image-minor-mode' to here. On errors call `image-mode-as-text'.
894 (image-minor-mode): Remove all image-handling code.
895 Replace `image-mode-text-map' with `image-minor-mode-map'.
896 Check for `image-type' in mode-line format string.
897 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
898 (image-mode-as-text): New function with most code from
900 (image-toggle-display-text): Move code that removes image
901 properties from `image-toggle-display' to here.
902 (image-toggle-display-image): New function with code that adds
903 image properties copied from `image-toggle-display'.
904 (image-toggle-display): Remove most code with leaving only code
905 that toggles between `image-mode-as-text' and `image-mode'.
907 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
909 * net/newst-treeview.el
910 (newsticker--treeview-list-highlight-start): Restored call to
911 save-excursion: Selected item was stuck.
912 (newsticker--treeview-list-select): New.
913 (newsticker--treeview-item-show-text)
914 (newsticker--treeview-item-show)
915 (newsticker--treeview-item-update): Use new
916 newsticker-treeview-item-mode.
917 (newsticker-treeview-update): Keep current item.
918 (newsticker-treeview-next-new-or-immortal-item): Doc change.
919 (newsticker--treeview-first-feed): Doc change.
920 (newsticker-treeview-list-menu)
921 (newsticker-treeview-item-menu): Added menu entries.
922 (newsticker-treeview-item-mode): New.
924 * net/newst-backend.el (newsticker-customize): Delete other
927 2009-12-04 Sam Steingold <sds@gnu.org>
929 * log-view.el (log-view-mode-map): "q" calls quit-window,
930 like in all the other non-self-insert buffers.
932 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
935 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
936 key decoding rather than do it manually via last-input-event +
938 (term-exec): Use delete-and-extract-region.
939 (term-handle-ansi-terminal-messages): Remove unused var `end'.
940 (term-process-pager): Remove unused var `i'.
941 (term-dynamic-simple-complete): Make obsolete.
942 (serial-update-config-menu): Remove unused vars `y' and `str'.
943 (term-update-mode-line): Remove unused var `temp'.
945 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
947 Limit the number of log entries displayed by default.
948 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
949 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
950 using a prefix argument.
952 2009-12-03 Glenn Morris <rgm@gnu.org>
954 * progmodes/idlwave.el (class): Restore still useful declaration.
956 2009-12-03 Alan Mackenzie <acm@muc.de>
958 Enhance `c-parse-state' to run efficiently in "brace deserts".
960 * progmodes/cc-mode.el (c-basic-common-init):
961 Call c-state-cache-init.
962 (c-neutralize-syntax-in-and-mark-CPP): Rename from
963 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
964 placing `category' properties value 'c-cpp-delimiter at its boundaries.
966 * progmodes/cc-langs.el (c-before-font-lock-function):
967 c-extend-and-neutralize-syntax-in-CPP has been renamed
968 c-neutralize-syntax-in-and-mark-CPP.
970 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
971 with `category' properties now, not `syntax-table' ones.
973 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
974 enhanced (but slower) version of c-end-of-macro that won't land
975 inside a literal or on another awkward character.
976 (c-state-cache-too-far, c-state-cache-start)
977 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
978 (c-state-nonlit-pos-cache-limit, c-state-point-min)
979 (c-state-point-min-lit-type, c-state-point-min-lit-start)
980 (c-state-min-scan-pos, c-state-brace-pair-desert)
981 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
982 buffer local variables.
983 (c-state-literal-at, c-state-lit-beg)
984 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
985 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
986 (c-state-cache-top-paren, c-state-cache-after-top-paren)
987 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
988 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
989 (c-renarrow-state-cache)
990 (c-append-lower-brace-pair-to-state-cache)
991 (c-state-push-any-brace-pair, c-append-to-state-cache)
992 (c-remove-stale-state-cache)
993 (c-remove-stale-state-cache-backwards, c-state-cache-init)
994 (c-invalidate-state-cache-1, c-parse-state-1)
995 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
996 (c-parse-state): Enhance and refactor.
997 (c-debug-parse-state): Amend to deal with all the new variables.
999 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
1000 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
1001 modify to use category text properties rather than syntax-table ones.
1002 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
1003 to switch off/on the syntactic paren property of C++ template
1004 delimiters using the category property.
1005 (c-with-<->-as-parens-suppressed): Macro to invoke code with
1006 template delims suppressed.
1007 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
1008 New constant/macros which apply category properties to the start
1009 and end of preprocessor constructs.
1010 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
1011 "comment out" the syntactic value of characters in preprocessor
1013 (c-with-cpps-commented-out)
1014 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
1015 with characters in all or all but one preprocessor constructs
1018 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
1020 * proced.el (proced-filter-alist): Use regexp-quote.
1022 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
1025 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
1026 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
1027 arguments. Expand `default-directory'.
1029 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
1030 the benefit of returning an expanded localname.
1031 (tramp-tramp-file-p): Handle the case NAME is not a string.
1033 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
1035 Add support for bzr shelve/unshelve.
1036 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
1037 (vc-bzr-extra-menu-map): New variables.
1038 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
1039 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
1040 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
1041 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
1042 (vc-bzr-dir-extra-headers): Display shelves.
1044 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
1046 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1048 * textmodes/bibtex.el (bibtex-complete-internal):
1049 Use completion-in-region.
1050 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
1052 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
1054 Support applying stashes. Improve UI.
1055 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
1056 (vc-git-stash-apply, vc-git-stash-pop)
1057 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
1058 (vc-git-stash-menu): New functions.
1059 (vc-git-stash-menu-map): New variable.
1060 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
1062 2009-12-03 Glenn Morris <rgm@gnu.org>
1064 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
1065 (vc-print-log-internal): Fix previous change.
1066 (vc-revert): Correct pluralization.
1068 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1070 * progmodes/make-mode.el (makefile-special-targets-list): No need for
1071 it to be an alist any more.
1072 (makefile-complete): Use completion-in-region.
1074 * progmodes/octave-mod.el (octave-complete-symbol):
1075 Use completion-in-region.
1078 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
1079 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
1080 (idlwave-complete-class): Don't quote lambda.
1081 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
1082 (idlwave-mode-map): Move initialization into declaration.
1083 (idlwave-action-and-binding): Use backquotes.
1084 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
1086 (idlwave-is-pointer-dereference): Remove unused var `pos'.
1087 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
1088 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
1089 `parts', and `all-parts'.
1090 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
1091 (idlwave-convert-xml-system-routine-info): Remove unused string
1093 (idlwave-display-user-catalog-widget): Use dolist.
1094 (idlwave-scanning-lib): Declare dynamically-scoped var.
1095 (idlwave-scan-library-catalogs): Remove unused var `flags'.
1096 (completion-highlight-first-word-only): Declare to silence bytecomp.
1097 (idlwave-popup-select): Tighten scope of `resp'.
1098 (idlwave-find-struct-tag): Remove unused var `beg'.
1099 (idlwave-after-load-rinfo-hook): Declare.
1100 (idlwave-sintern-class-info): Remove unused var `taglist'.
1101 (idlwave-find-class-definition): Remove unused var `list'.
1102 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
1103 (idlwave-what-module-find-class): Remove unused var `classes'.
1105 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
1107 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
1109 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1111 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
1112 buffers visited. Remove redundant current-buffer-saving.
1114 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1116 Use completion-in-buffer and remove uses of dynamic scoping.
1117 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
1118 (pascal-buffer-to-use, pascal-flag): Don't declare.
1119 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
1120 (pascal-get-completion-decl, pascal-keyword-completion):
1121 Add `pascal-str' argument, save-excursion,
1122 return the found completions, and don't filter with pascal-pred.
1123 (pascal-completion-cache): New var.
1124 (pascal-completion): Don't switch buffer any more (it was never
1125 necessary). Don't save-excursion any more (it's done by the called
1126 subroutines). Use a cache to avoid redundant computations.
1127 Use complete-with-action rather than pascal-completion-response and
1128 let it apply the predicate as well.
1129 (pascal-complete-word): Use completion-in-buffer when
1130 pascal-toggle-completions is nil.
1131 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
1133 (pascal-comp-defun): Don't change buffer any more.
1134 Use complete-with-action rather than pascal-completion-response and
1135 let it apply the predicate as well.
1136 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
1139 2009-12-02 Kenichi Handa <handa@m17n.org>
1141 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
1142 shape for all Indic scripts.
1144 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1146 Use completion-in-buffer.
1147 * wid-edit.el (widget-field-text-end): New function.
1148 (widget-field-value-get): Use it.
1149 (widget-string-complete, widget-file-complete)
1150 (widget-color-complete): Use it and completion-in-region.
1151 (widget-complete): Don't narrow the buffer.
1153 2009-12-02 Glenn Morris <rgm@gnu.org>
1155 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
1156 (rmail-select-summary): Use rmail-pop-to-buffer.
1157 * mail/rmailsum.el: Replace all pop-to-buffer calls with
1158 rmail-pop-to-buffer, to prevent horizontal splits.
1160 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
1161 save-excursion with save-current-buffer.
1162 Widen before searching. (Bug#5093)
1163 (diary-list-sexp-entries): Remove superfluous save-excursion.
1165 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
1167 * woman.el (woman-make-bufname): Handle man-pages with "." in the
1170 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
1172 * ido.el (ido-file-internal): Handle filenames at point that do
1173 not have a directory part. (Bug#5049)
1175 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
1177 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
1178 (mpc-songs-jump-to, mpc-resume): Doc fixes.
1180 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
1182 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
1183 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
1186 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1188 * comint.el (comint-insert-input): Ignore clicks to the right of
1189 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
1191 * vc.el (vc-print-log-internal): Don't wait for the process to
1192 terminate before setting up the major mode.
1194 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
1197 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
1200 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
1202 2009-12-01 Glenn Morris <rgm@gnu.org>
1204 * window.el (window--display-buffer-2): Fix previous changes.
1206 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
1208 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
1210 2009-12-01 Glenn Morris <rgm@gnu.org>
1212 * Makefile.in (ELCFILES): Add mpc.elc.
1214 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1218 2009-12-01 Glenn Morris <rgm@gnu.org>
1220 * window.el (window-to-use): Define for compiler.
1222 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
1223 consistent with others (no final period).
1225 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
1226 (rmail-mime-show): Downcase the encoding. (Bug#5070)
1228 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
1230 Make vc-print-log buttons work.
1231 * log-view.el (log-view-mode-map): Inherit from from widget-keymap.
1233 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
1235 * savehist.el (savehist-autosave-interval): Allow setting to nil
1236 through customize. (Bug#5056)
1238 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
1240 Fix references to jit-lock properties.
1241 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
1242 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
1243 (perl-font-lock-special-syntactic-constructs):
1244 Quote jit-lock-defer-multiline property.
1246 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
1248 * vc-git.el (vc-git-registered): Call vc-git-root only once.
1250 2009-11-30 Juri Linkov <juri@jurta.org>
1252 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
1253 value `buffer' of `multi-isearch-next-buffer-current-function'.
1254 Use `(current-buffer)' when `buffer' is nil.
1255 (multi-isearch-next-buffer-from-list): Don't fallback to
1256 `(current-buffer)' when `buffer' is nil. (Bug#4947)
1258 2009-11-30 Juri Linkov <juri@jurta.org>
1260 * misearch.el (multi-isearch-read-buffers): Move canonicalization
1261 of buffers with `get-buffer' to `multi-isearch-buffers'.
1262 (multi-isearch-buffers, multi-isearch-buffers-regexp):
1263 Canonicalize BUFFERS with `get-buffer'. Doc fix.
1264 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
1265 FILES with `expand-file-name' converting relative file names
1266 to absolute. Doc fix. (Bug#4727)
1268 2009-11-30 Juri Linkov <juri@jurta.org>
1270 * misearch.el (multi-isearch-read-buffers)
1271 (multi-isearch-read-matching-buffers): New functions.
1272 (multi-isearch-buffers, multi-isearch-buffers-regexp):
1273 Use them in the `interactive' spec. Doc fix.
1274 (multi-isearch-read-files, multi-isearch-read-matching-files):
1276 (multi-isearch-files, multi-isearch-files-regexp):
1277 Use them in the `interactive' spec. Doc fix. (Bug#4725)
1279 2009-11-30 Juri Linkov <juri@jurta.org>
1281 * doc-view.el (doc-view-continuous):
1282 Rename from `doc-view-continuous-mode'.
1283 (doc-view-menu): Move "Toggle display" to the top.
1284 Add submenu "Continuous" with radio buttons "Off"/"On"
1285 and "Save as Default".
1286 (doc-view-scroll-up-or-next-page)
1287 (doc-view-scroll-down-or-previous-page)
1288 (doc-view-next-line-or-next-page)
1289 (doc-view-previous-line-or-previous-page): Rename
1290 `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
1292 2009-11-30 Juri Linkov <juri@jurta.org>
1294 * comint.el (comint-mode-map): Rebind `M-r' from
1295 `comint-previous-matching-input' to
1296 `comint-history-isearch-backward-regexp'.
1297 Unbind `M-s' to allow global key binding `M-s'.
1298 Add menu items for `comint-history-isearch-backward' and
1299 `comint-history-isearch-backward-regexp'. (Bug#3746)
1301 2009-11-30 Juri Linkov <juri@jurta.org>
1303 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
1304 For def=recenter, replace `recenter' with `recenter-top-bottom'
1305 that is called with `this-command' and `last-command' let-bound
1306 to `recenter-top-bottom'. When the last `def' was not `recenter',
1307 set `recenter-last-op' to nil. (Bug#4981)
1309 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
1311 Minor cleanup and simplification.
1312 * filecache.el (file-cache-add-directory)
1313 (file-cache-add-directory-recursively)
1314 (file-cache-add-from-file-cache-buffer)
1315 (file-cache-delete-file-regexp, file-cache-delete-directory)
1316 (file-cache-files-matching-internal, file-cache-display): Use dolist.
1317 (file-cache-temp-minibuffer-message): Delete function.
1318 (file-cache-minibuffer-complete): Use minibuffer-message instead.
1320 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
1321 Don't signal an error when bumping into EOB in tr, s, or y.
1323 2009-11-29 Juri Linkov <juri@jurta.org>
1325 * startup.el (fancy-about-text): Fix wording of Guided Tour.
1328 * descr-text.el (describe-char-unidata-list): Use lowercase name
1329 for "Unicode name" like in other tags.
1331 2009-11-29 Juri Linkov <juri@jurta.org>
1333 * ediff-util.el (ediff-minibuffer-with-setup-hook):
1334 New compatibility macro.
1335 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
1337 2009-11-29 Juri Linkov <juri@jurta.org>
1339 Add defcustom to define the cycling order of `recenter-top-bottom'.
1342 * window.el (recenter-last-op): Doc fix.
1343 (recenter-positions): New defcustom.
1344 (recenter-top-bottom): Rewrite to use `recenter-positions'.
1345 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
1347 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
1349 Improve integration of Tramp and ange-ftp in eshell.
1351 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
1352 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
1353 (eshell/sudo): Flatten args. Let-bind `default-directory'.
1355 * eshell/esh-util.el (top): Require also Tramp when compiling.
1356 (eshell-directory-files-and-attributes): Check for FTP remote
1358 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
1359 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
1360 (eshell-file-attributes): Handle ".". Return `entry'.
1362 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
1363 (ange-ftp-directory-files-and-attributes)
1364 (ange-ftp-real-directory-files-and-attributes): New defuns.
1366 * net/tramp.el (tramp-maybe-open-connection): Open the remote
1367 shell with "exec" when possible. This prevents trailing prompts
1368 in `start-file-process'.
1370 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1372 Try and remove assumptions about point-min==1.
1373 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
1374 (rng-compute-mode-line-string): Show the validation percentage in
1375 terms of the narrowed text, not the widened text.
1376 (rng-do-some-validation): Don't catch internal errors when debugging.
1377 (rng-first-error): Simplify.
1378 (rng-after-change-function): Remove work around. AFAIK the bug has
1379 been fixed a while ago.
1381 * image-mode.el (image-minor-mode): Exit more gracefully when the image
1382 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
1384 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
1386 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
1387 `cd' doesn't always do it for us (bug#5067).
1389 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
1390 on 2009-10-25 as part of some other change (bug#5067).
1392 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1394 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
1396 (byte-compile-warnings): Use byte-compile-warning-types.
1397 (byte-compile-save-excursion): Warn about use of set-buffer right
1398 after save-excursion.
1400 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
1401 the excursion as well.
1403 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
1405 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
1406 providing a Tramp related implementation of "su" and "sudo".
1407 (eshell-unix-initialize): Add "su" and "sudo".
1409 2009-11-27 Daiki Ueno <ueno@unixuser.org>
1411 * net/socks.el (socks-send-command): Convert binary request to
1412 unibyte before sending. This fixes mishandling of some port
1413 numbers such as 129.
1415 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1417 * help.el (describe-bindings-internal): Remove `interactive'.
1419 * man.el (Man-completion-table): Trim a terminating "(".
1420 Remove the space between name page a section.
1421 Add the command's description on the `help-echo' property.
1422 Remove `process-connection-type' binding since it's unused by
1424 Provide completion for the "<section> <name>" format as well.
1425 (Man-default-man-entry): Remove spurious var shadowing the argument.
1427 2009-11-26 Kevin Ryde <user42@zip.com.au>
1429 * log-view.el: Add "Keywords: tools", since its other keywords
1430 aren't in finder-known-keywords, and following vc.el.
1432 * sha1.el (sha1-string-external): default-directory "/" in case
1433 otherwise non-existent. process-connection-type pipe for touch of
1434 efficiency recommended by elisp manual. (An aside in Bug#3911.)
1436 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
1438 Misc coding convention cleanups.
1439 * htmlfontify.el (hfy-init-kludge-hook): Rename from
1440 hfy-init-kludge-hooks.
1441 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
1442 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
1443 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
1445 (hfy-slant, hfy-weight): Use tables rather than code.
1446 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
1447 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
1448 (hfy-face-attr-for-class): Initialize `face-spec' directly.
1449 (hfy-face-to-css): Remove `nconc' with single arg.
1450 (hfy-p-to-face-lennart): Use `or'.
1451 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
1452 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
1453 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
1454 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
1455 (hfy-force-fontification): Use run-hooks.
1457 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
1459 Various minor fixes.
1460 * htmlfontify.el (hfy-default-header): Add toggle_invis since
1461 Javascript belongs in the header, not the body.
1462 (hfy-javascript): Remove.
1463 (hfy-fontify-buffer): Don't insert it any more.
1464 (hfy-face-at): Handle (face0 face1 face2) style face properties.
1465 Fix bug in invis handling when there were no invis props in a chunk.
1467 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
1469 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
1471 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
1473 * finder.el (finder-mode-map): Add a menu.
1475 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
1477 * verilog-mode.el (verilog-at-struct-p): Support "signed" and
1480 (verilog-leap-to-head, verilog-backward-token): Handle "disable
1481 fork" statement better.
1483 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
1485 * verilog-mode.el (verilog-auto-insert-lisp, verilog-delete-auto)
1486 (verilog-delete-empty-auto-pair, verilog-library-filenames):
1487 Fix AUTOINSERTLISP to support insert-file. Reported by Clay Douglass.
1489 (verilog-auto-inst, verilog-auto-star-safe)
1490 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
1491 Fix removing "// Interfaces" when saving .* expansions. Reported by
1492 Pierre-David Pfister.
1494 2009-11-26 Glenn Morris <rgm@gnu.org>
1496 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
1499 2009-11-25 Johan Bockgård <bojohan@gnu.org>
1501 * vc-annotate.el (vc-annotate-revision-previous-to-line):
1502 Really use previous revision.
1504 2009-11-25 Kevin Ryde <user42@zip.com.au>
1506 * man.el (Man-completion-table): default-directory "/" in case
1507 doesn't otherwise exist. process-environment COLUMNS=999 so as
1508 not to truncate long names. process-connection-type pipe to avoid
1509 any chance of hitting the pseudo-tty TIOCGWINSZ.
1510 (man): completion-ignore-case t for friendliness and since man
1511 itself is case-insensitive on the command line.
1512 Further to Bug#3717.
1514 * arc-mode.el: Add "Keywords: files", so the details in its
1515 commentary can be reached from finder-by-keyword.
1516 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
1517 editing mode, but it's comms related and sgml-mode.el has "comm"
1519 * textmodes/bibtex-style.el: Add "Keywords: tex".
1520 * international/isearch-x.el, international/ja-dic-cnv.el:
1521 * international/ja-dic-utl.el, international/kkc.el:
1522 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
1524 2009-11-25 Juri Linkov <juri@jurta.org>
1526 * man.el (Man-completion-table): Modify regexp to include
1527 section names to completion strings. (Bug#3717)
1529 2009-11-25 Juri Linkov <juri@jurta.org>
1531 Search recursively in gzipped files. (Bug#4982)
1533 * progmodes/grep.el (grep-highlight-matches): Add new options
1534 `always' and `auto'. Doc fix.
1535 (grep-process-setup): Check `grep-highlight-matches' for
1536 `auto-detect' to determine the need to compute grep defaults.
1537 Move Windows/DOS specific --colors settings handling
1538 to `grep-compute-defaults'. Check `grep-highlight-matches'
1539 to get the value of "--color=".
1540 (grep-compute-defaults): Compute `grep-highlight-matches' when it
1541 has the value `auto-detect'. Move Windows/DOS specific settings
1542 from `grep-process-setup'.
1543 (zrgrep): New command with alias `rzgrep'.
1545 2009-11-25 Juri Linkov <juri@jurta.org>
1547 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
1548 to nil instead of switching off view-mode. (Bug#4896)
1550 2009-11-25 Juri Linkov <juri@jurta.org>
1552 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
1554 * mwheel.el (mwheel-scroll-up-function)
1555 (mwheel-scroll-down-function): New defvars.
1556 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
1557 `scroll-up', and `mwheel-scroll-down-function' instead of
1560 * doc-view.el (doc-view-scroll-up-or-next-page)
1561 (doc-view-scroll-down-or-previous-page): Add optional ARG.
1562 Use this ARG in the call to image-scroll-up/image-scroll-down.
1563 Change `interactive' spec to "P". Goto next/previous page only
1564 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
1565 SPC/DEL case). Doc fix.
1566 (doc-view-next-line-or-next-page)
1567 (doc-view-previous-line-or-previous-page): Rename arg to ARG
1569 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
1570 `doc-view-scroll-up-or-next-page', and buffer-local
1571 `mwheel-scroll-down-function' to
1572 `doc-view-scroll-down-or-previous-page'.
1574 2009-11-25 Juri Linkov <juri@jurta.org>
1576 Provide additional default values (directories at other Dired
1577 windows) via M-n in the minibuffer of some Dired commands.
1579 * dired-aux.el (dired-diff, dired-compare-directories)
1580 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
1581 `minibuffer-default' in `minibuffer-with-setup-hook'.
1582 (dired-dwim-target-directory): Find a window that displays Dired
1583 buffer instead of failing when the next window is not Dired.
1584 Use `get-window-with-predicate' to find for the next Dired window.
1585 (dired-dwim-target-defaults): New function.
1587 * ediff-util.el (ediff-read-file-name):
1588 Use `dired-dwim-target-defaults' to set `minibuffer-default'
1589 in `minibuffer-with-setup-hook'.
1591 2009-11-25 Juri Linkov <juri@jurta.org>
1593 Provide additional default values (file name at point or at the
1594 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
1596 * minibuffer.el (read-file-name-defaults): New function.
1597 (read-file-name): Reset `minibuffer-default' to nil when
1598 it duplicates initial input `insdef'.
1599 Bind `minibuffer-default-add-function' to lambda that
1600 calls `read-file-name-defaults' in `minibuffer-selected-window'.
1601 (minibuffer-insert-file-name-at-point): New command.
1603 * files.el (file-name-at-point-functions): New defcustom.
1604 (find-file-default): Remove defvar.
1605 (find-file-read-args): Don't use `find-file-default'.
1606 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
1607 to `read-file-name'.
1608 (find-file-literally): Use `read-file-name' with
1609 `confirm-nonexistent-file-or-buffer'.
1611 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
1613 * dired.el (dired-read-dir-and-switches):
1614 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
1615 to `read-file-name'.
1616 (dired-file-name-at-point): New function.
1617 (dired-mode): Add hook `dired-file-name-at-point' to
1618 `file-name-at-point-functions'.
1620 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1622 Really make the *Completions* window soft-dedicated (bug#5030).
1623 * window.el (window--display-buffer-2): Add `dedicated' argument.
1624 (display-buffer): Pass it when needed so the dedicated flag is set
1625 after calling set-window-buffer, which would otherwise reset it.
1627 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1629 * progmodes/meta-mode.el (meta-complete-symbol):
1630 * progmodes/etags.el (complete-tag):
1631 * mail/mailabbrev.el (mail-abbrev-complete-alias):
1632 Use completion-in-region.
1634 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
1635 (dabbrev-completion): Use completion-in-region.
1636 (dabbrev--abbrev-at-point): Simplify regexp.
1638 * abbrev.el (abbrev--before-point): Use word-motion functions
1639 if :regexp is not specified (bug#5031).
1641 * subr.el (string-prefix-p): New function.
1643 * man.el (Man-completion-cache): New var.
1644 (Man-completion-table): Use it.
1646 * vc.el (vc-print-log-internal): Make `limit' optional for better
1647 compatibility (e.g. with vc-annotate.el).
1649 2009-11-24 Kevin Ryde <user42@zip.com.au>
1651 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
1652 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
1654 * emacs-lisp/elint.el (elint-add-required-env): Better error message
1655 when .el source file not found or other error.
1657 2009-11-24 Markus Triska <markus.triska@gmx.at>
1659 * linum.el (linum-update-window): Ignore intangible (bug#4996).
1661 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1663 Handle the [back] button properly (bug#4979).
1664 * descr-text.el (describe-text-properties): Add a `buffer' argument.
1665 Use help-setup-xref, help-buffer, and with-help-window.
1666 (describe-char): Add `buffer' argument.
1667 Pass proper command to help-setup-xref. Don't meddle with
1668 help-xref-stack-item directly.
1669 (describe-text-category): Use with-help-window and help-buffer.
1671 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
1672 for the displayed buffer (bug#4887).
1674 * man.el (Man-completion-table): New function.
1677 2009-11-24 David Reitter <david.reitter@gmail.com>
1679 * vc-git.el (vc-git-registered): Use checkout directory (where
1680 .git is) rather than the file's directory and a relative path spec
1681 to work around a bug in git.
1683 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
1685 Improve handling of processes on remote hosts.
1687 * eshell/esh-util.el (eshell-path-env): New defvar.
1688 (eshell-parse-colon-path): New defun.
1689 (eshell-file-attributes): Use `eshell-parse-colon-path'.
1691 * eshell/esh-ext.el (eshell-search-path):
1692 Use `eshell-parse-colon-path'.
1693 (eshell-remote-command): Remove argument HANDLER.
1694 (eshell-external-command): Check for FTP remote connection.
1696 * eshell/esh-proc.el (eshell-gather-process-output):
1697 Use `file-truename', in order to start also symlinked files.
1698 Apply `start-file-process' instead of `start-process'.
1699 Shorten `command' to the local file name part.
1701 * eshell/em-cmpl.el (eshell-complete-commands-list):
1702 Use `eshell-parse-colon-path'.
1704 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
1706 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
1707 to `eshell-directory-change-hook'.
1709 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
1711 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
1712 because it could be enabled automatically if view-read-only is non-nil.
1714 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
1716 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
1719 2009-11-24 Glenn Morris <rgm@gnu.org>
1721 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
1722 deleted variable bookmark-bmenu-bookmark-column.
1724 * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
1725 Move after definition of global-semantic-idle-tag-highlight-mode.
1727 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1729 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
1731 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
1733 * net/browse-url.el (browse-url-filename-alist): On Windows, add
1734 two slashes to the "file:" prefix.
1735 (browse-url-file-url): De-munge Cygwin filenames before passing
1736 them to Windows browser.
1737 (browse-url-default-windows-browser): Use call-process.
1739 2009-11-23 Juri Linkov <juri@jurta.org>
1741 Implement DocView Continuous mode. (Bug#4896)
1742 * doc-view.el (doc-view-continuous-mode): New defcustom.
1743 (doc-view-mode-map): Bind C-n/<down> to
1744 `doc-view-next-line-or-next-page', C-p/<up> to
1745 `doc-view-previous-line-or-previous-page'.
1746 (doc-view-next-line-or-next-page)
1747 (doc-view-previous-line-or-previous-page): New commands.
1749 2009-11-23 Juri Linkov <juri@jurta.org>
1751 Implement Isearch in comint input history. (Bug#3746)
1752 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
1753 `isearch-mode-hook'.
1754 (comint-history-isearch): New defcustom.
1755 (comint-history-isearch-backward)
1756 (comint-history-isearch-backward-regexp): New commands.
1757 (comint-history-isearch-message-overlay): New buffer-local variable.
1758 (comint-history-isearch-setup, comint-history-isearch-end)
1759 (comint-goto-input, comint-history-isearch-search)
1760 (comint-history-isearch-message, comint-history-isearch-wrap)
1761 (comint-history-isearch-push-state)
1762 (comint-history-isearch-pop-state): New functions.
1764 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
1766 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
1768 (tramp-handle-make-symbolic-link)
1769 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
1771 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
1772 (tramp-handle-process-file): Use it.
1774 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1776 * window.el (move-to-window-line-last-op): Remove.
1777 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
1779 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
1781 Make M-r mirror the new cycling behavior of C-l.
1782 * window.el (move-to-window-line-last-op): New var.
1783 (move-to-window-line-top-bottom): New command.
1784 (global-map): Bind M-r move-to-window-line-top-bottom.
1786 2009-11-23 Sven Joachim <svenjoac@gmx.de>
1788 * dired-x.el (dired-guess-shell-alist-default):
1789 Support xz format. (Bug#4953)
1791 2009-11-22 Chong Yidong <cyd@stupidchicken.com>
1793 * cedet/srecode/map.el (srecode-get-maps):
1794 * cedet/semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag):
1795 * cedet/semantic/wisent/comp.el (wisent-toggle-verbose-flag):
1796 * cedet/semantic/decorate/mode.el (semantic-decoration-mode)
1797 (semantic-toggle-decoration-style):
1798 * cedet/semantic/decorate/include.el
1799 (semantic-decoration-include-describe)
1800 (semantic-decoration-unknown-include-describe)
1801 (semantic-decoration-unparsed-include-describe)
1802 (semantic-decoration-all-include-summary):
1803 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init):
1804 * cedet/semantic/analyze/complete.el
1805 (semantic-analyze-possible-completions):
1806 * cedet/semantic/util-modes.el (semantic-highlight-edits-mode)
1807 (semantic-show-unmatched-syntax-mode)
1808 (semantic-show-parser-state-mode, semantic-stickyfunc-mode)
1809 (semantic-highlight-func-mode):
1810 * cedet/semantic/util.el (semantic-describe-buffer):
1811 * cedet/semantic/symref.el (semantic-symref-find-references-by-name)
1812 (semantic-symref-find-tags-by-name)
1813 (semantic-symref-find-tags-by-regexp)
1814 (semantic-symref-find-tags-by-completion)
1815 (semantic-symref-find-file-references-by-name)
1816 (semantic-symref-find-text):
1817 * cedet/semantic/senator.el (senator-copy-tag, senator-kill-tag)
1819 * cedet/semantic/scope.el (semantic-calculate-scope):
1820 * cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
1821 * cedet/semantic/idle.el (semantic-idle-scheduler-mode)
1822 (define-semantic-idle-service):
1823 * cedet/semantic/complete.el (semantic-complete-analyze-inline)
1824 (semantic-complete-analyze-inline-idle):
1825 * cedet/semantic/analyze.el (semantic-analyze-current-context):
1826 * cedet/mode-local.el (describe-mode-local-bindings)
1827 (describe-mode-local-bindings-in-mode):
1828 * cedet/ede/make.el (ede-make-check-version):
1829 * cedet/ede/locate.el (ede-enable-locate-on-project):
1830 * cedet/cedet-idutils.el (cedet-idutils-expand-filename)
1831 (cedet-idutils-version-check):
1832 * cedet/cedet-global.el (cedet-gnu-global-expand-filename)
1833 (cedet-gnu-global-version-check):
1834 * cedet/cedet-cscope.el (cedet-cscope-expand-filename)
1835 (cedet-cscope-version-check): Use called-interactively-p instead
1838 * cedet/semantic/ia.el (semantic-ia-completion-format-tag-function):
1839 Use semantic-format-tag-prototype.
1841 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
1843 * emulation/viper-cmd.el: Use viper-last-command-char instead of
1844 last-command-char/last-command-event.
1845 (viper-prefix-arg-value): Do correct conversion of event-char for
1848 * emulation/viper-util.el, emulation/viper.el:
1849 Use viper-last-command-char instead of
1850 last-command-char/last-command-event.
1852 * ediff-init.el, ediff-mult.el, ediff-util.el:
1853 Replace last-command-char and last-command-event
1854 with (ediff-last-command-char) everywhere.
1856 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
1857 created in fundamental mode.
1859 * ediff.el (ediff-version): Revert the change of interactive-p to
1860 called-interactively-p.
1862 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
1864 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
1865 generation from word-movement command names.
1867 2009-11-21 Chong Yidong <cyd@stupidchicken.com>
1869 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
1870 (semantic-complete-jump-local, semantic-complete-jump):
1871 Improve prompt string.
1873 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
1875 * cus-start.el (all): Add native condition for font-use-system-font.
1877 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
1879 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
1880 Correct the patch from 2009-11-18. (Bug#3910)
1882 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
1884 * progmodes/subword.el: Rename from lisp/subword.el.
1886 * subword.el: Rename to progmodes/subword.el.
1888 * Makefile.in (ELCFILES): Adapt to subword.el move.
1890 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1891 Stefan Monnier <monnier@iro.umontreal.ca>
1893 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
1894 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
1895 (bookmark-bmenu-show-filenames): Use push.
1896 (bookmark-bmenu-hide-filenames): Use local var instead of
1897 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
1898 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
1899 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
1900 filenames now that the bookmark names are always available.
1902 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1904 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
1905 (bookmark-search-pattern): Move and leave unbound.
1906 (bookmark-bmenu-mode-map): Change binding.
1907 (bookmark-read-search-input): Simplify.
1908 Don't use text-char-description. Don't error on non-char events.
1909 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
1910 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
1911 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
1912 Use a local var for the timer.
1913 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
1914 (i.e. bookmark-bmenu-search).
1916 2009-11-21 Glenn Morris <rgm@gnu.org>
1918 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
1920 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
1922 * net/browse-url.el (browse-url-default-windows-browser):
1923 Use cygstart for cygwin.
1925 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
1927 * bookmark.el: Formatting and doc fixes only:
1928 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
1929 (bookmark-bmenu-search): Wrap to fit within 80 columns.
1930 Minor grammar and punctuation fixes in doc string.
1931 (bookmark-read-search-input): Adjust to fit within 80 columns.
1933 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
1935 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
1936 (c-backward-into-nomenclature): Adapt to subword renaming.
1938 * subword.el (subword-forward, subword-backward, subword-mark)
1939 (subword-kill, subword-backward-kill, subword-transpose)
1940 (subword-downcase, subword-upcase, subword-capitalize)
1941 (subword-forward-internal, subword-backward-internal):
1942 Rename from forward-subword, backward-subword, mark-subword,
1943 kill-subword, backward-kill-subword, transpose-subwords,
1944 downcase-subword, upcase-subword, capitalize-subword,
1945 forward-subword-internal, backward-subword-internal.
1947 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1949 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
1951 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
1953 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
1954 (bookmark-bmenu-filter-alist-by-regexp)
1955 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
1956 (bookmark-bmenu-search): New command.
1957 (bookmark-bmenu-mode-map): Bind it.
1959 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
1961 * cedet/semantic/complete.el (semantic-complete-inline-map): Doc fix.
1963 * cedet/semantic/idle.el (define-semantic-idle-service)
1964 (semantic-idle-summary-mode, semantic-idle-completions): Doc fix.
1966 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
1968 * progmodes/cc-cmds.el: declare-functioned forward-subword and
1969 backward-subword to quit the byte-compiler.
1971 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
1973 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
1975 * progmodes/cc-cmds.el (c-update-modeline)
1976 (c-forward-into-nomenclature, c-backward-into-nomenclature):
1977 Refer to subword.el functions instead of cc-subword.el.
1979 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
1980 subword.el functions instead of cc-subword.el.
1982 * progmodes/cc-subword.el: Rename to subword.el.
1983 * subword.el: Rename from progmodes/cc-subword.el.
1984 (subword-mode-map): Rename from c-subword-mode-map.
1985 (subword-mode): Rename from c-subword-mode.
1986 (global-subword-mode): New global minor mode.
1987 (forward-subword): Rename from c-forward-subword.
1988 (backward-subword): Rename from c-backward-subword.
1989 (mark-subword): Rename from c-mark-subword.
1990 (kill-subword): Rename from c-kill-subword.
1991 (backward-kill-subword): Rename from c-backward-kill-subword.
1992 (transpose-subwords): Rename from c-tranpose-subword.
1993 (downcase-subword): Rename from c-downcase-subword.
1994 (capitalize-subword): Rename from c-capitalize-subword.
1995 (forward-subword-internal): Rename from c-forward-subword-internal.
1996 (backward-subword-internal): Rename from c-backward-subword-internal.
1998 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
2000 * vc.el (vc-deduce-fileset): Allow non-state changing operations
2001 from a dired buffer.
2002 (vc-dired-deduce-fileset): New function.
2003 (vc-root-diff, vc-print-root-log): Use it.
2005 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
2006 nil LIMIT argument to vc-print-log-internal.
2008 2009-11-20 Glenn Morris <rgm@gnu.org>
2010 * Makefile.in (ELCFILES): Regenerate.
2012 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
2014 * cedet/cedet.el (cedet-menu-map): Re-order menu items.
2016 * cedet/semantic.el: Enable idle-mode menu items only if
2017 global-semantic-idle-scheduler-mode is enabled.
2018 (semantic-default-submodes): Doc fix.
2020 * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
2021 When turning off, disable other idle modes.
2023 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
2025 * calc/calc.el (calc-set-mode-line):
2026 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
2027 (math-format-number): Rename `math-format-complement-signed' to
2028 `math-format-twos-complement'.
2030 * calc/calc-bin.el (math-format-twos-complement): Rename from
2031 math-format-complement-signed.
2032 (calc-radix): Rename `calc-complement-signed-mode' to
2033 `calc-twos-complement-mode'.
2034 (calc-octal-radix, calc-hex-radix): Add an argument for
2037 * calc/calc-embed.el (calc-embedded-mode-vars):
2038 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
2040 * calc/calc-ext.el (calc-init-extensions):
2041 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
2042 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
2044 * calc/calc-units.el (math-build-units-table-buffer):
2045 Let `calc-twos-complement-mode' be nil.
2047 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
2050 * calc/calc-vec.el (calcFunc-vunpack):
2051 * calc/calc-aent.el (calc-do-calc-eval):
2052 * calc/calc-forms.el (math-format-date):
2053 * calc/calc-graph.el (calc-graph-plot):
2054 * calc/calc-math.el (math-use-emacs-fn):
2055 * calc/calccomp.el (math-compose-expr):
2056 Let `calc-twos-complement-mode' be nil.
2058 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
2060 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
2061 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
2062 * minibuffer.el (completion-in-region-functions): New hook.
2063 (completion-in-region): New function.
2064 * emacs-lisp/lisp.el (lisp-complete-symbol):
2065 * pcomplete.el (pcomplete-std-complete): Use it.
2067 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
2069 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
2070 (latex-complete-alist): New vars.
2071 (latex-string-prefix-p, latex-complete-bibtex-keys)
2072 (latex-complete-envnames, latex-complete-refkeys)
2073 (latex-complete-data): New functions.
2074 (latex-complete, latex-indent-or-complete): New commands.
2076 * window.el (display-buffer-mark-dedicated): New var.
2077 (display-buffer): Obey it.
2078 * minibuffer.el (minibuffer-completion-help): Use it.
2080 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
2082 * filecache.el (file-cache-add-file): Use push and cons.
2083 (file-cache-delete-file-regexp): Use push.
2084 (file-cache-complete): Use completion-in-region.
2086 * simple.el (with-wrapper-hook): Fix thinko.
2088 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
2089 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
2090 Use with-current-buffer and string-to-number.
2091 (hfy-fallback-colour-values): Use assoc-string.
2092 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
2093 (hfy-face-at): Remove unused var `found-face'.
2094 (hfy-compile-stylesheet): Remove unused var `css'.
2095 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
2097 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
2098 Use with-current-buffer.
2099 (hfy-text-p): Use expand-file-name and fewer setq.
2101 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
2103 * htmlfontify.el, hfy-cmap.el: New files.
2105 2009-11-19 Juri Linkov <juri@jurta.org>
2107 * minibuffer.el (completions-format): New defcustom.
2108 (completion--insert-strings): Implement vertical format.
2110 * simple.el (switch-to-completions): Move point to the first
2111 completion when point was at the beginning of the buffer.
2113 2009-11-19 Juri Linkov <juri@jurta.org>
2115 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
2117 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
2119 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
2121 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
2122 (mail-signature): Change default to t.
2123 (mail-from-style): Deprecate `system-default' value.
2124 (mail-insert-from-field): For default value of mail-from-style,
2125 default to `angles' unless `angles' needs quoting and `parens'
2127 (mail-citation-prefix-regexp): Use citation regexp from
2130 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
2132 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
2133 Set variables for computing the prompt for reading password.
2135 2009-11-19 Glenn Morris <rgm@gnu.org>
2137 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
2139 * textmodes/flyspell.el (sgml-lexical-context): Declare.
2141 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
2142 (newsticker-treeview-listwindow-height): Fix custom type.
2144 2009-11-19 Kenichi Handa <handa@m17n.org>
2146 * descr-text.el (describe-char-padded-string): Compose with TAB
2147 only if there's a font for CH.
2148 (describe-char): Fix the condition for detecting a trivial composition.
2150 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
2152 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
2153 more accurate version of the regexp. (Bug#3910)
2155 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
2157 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
2159 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
2161 * font-setting.el (font-use-system-font): Declare for byte-compiler.
2162 (font-setting-change-default-font): Fix typo in docstring.
2164 2009-11-18 Alan Mackenzie <acm@muc.de>
2166 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
2168 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
2170 * font-setting.el (font-use-system-font): Move ...
2172 * cus-start.el (all): ... to here.
2174 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
2176 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
2177 Don't set `ad-return-value' if `ad-do-it' doesn't.
2179 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
2182 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
2184 * menu-bar.el: Put "Use system font" in Option-menu.
2185 (menu-bar-options-save): Add font-use-system-font.
2187 * loadup.el: If feature system-font-setting or font-render-setting is
2188 there, load font-setting.
2190 * Makefile.in (ELCFILES): Add font-settings.el.
2191 * font-setting.el: New file.
2193 2009-11-17 Glenn Morris <rgm@gnu.org>
2195 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
2197 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
2198 Preserve point in the list buffer. (Bug#4939)
2200 (newsticker--treeview-list-update-highlight)
2201 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
2203 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
2205 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
2208 * calc/calc-ext.el (calc-init-extensions): Remove references to
2211 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
2213 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
2214 * calc/calc-help.el (calc-b-prefix-help): Remove references to
2217 2009-11-16 Kevin Ryde <user42@zip.com.au>
2219 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
2220 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
2222 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
2223 (lm-keywords-list): Allow comma-only separator like "foo,bar".
2224 Ignore trailing spaces by omit-nulls to split-string (fixing
2225 regression from Emacs 21 due to the incompatible split-string
2226 change). (Bug #4928.)
2228 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
2230 * vc.el (vc-log-show-limit): Default to 2000.
2231 (vc-print-log-internal): Insert buttons to request more entries
2232 when limiting the output.
2234 * vc-sccs.el (vc-sccs-print-log):
2235 * vc-rcs.el (vc-rcs-print-log):
2236 * vc-cvs.el (vc-cvs-print-log):
2237 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
2240 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
2242 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
2243 error when `tramp-gvfs-dbus-event-vector' is set.
2244 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
2246 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2248 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
2250 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
2252 * net/dbus.el (dbus-unregister-service): New defun.
2253 (dbus-register-property): Register the handlers of
2254 "org.freedesktop.DBus.Properties" for SERVICE.
2255 (dbus-property-handler): Fix docstring.
2257 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2259 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
2260 Quote doc string reference in defvaralias as it is not in special form.
2261 (byte-compile-output-docform): Doc fix.
2263 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
2265 * calc/calc.el (math-2-word-size, math-half-2-word-size)
2266 (calc-complement-signed-mode): New variables.
2267 (calc-set-mode-line): Add indicator for twos-complements.
2268 (math-format-number): Format twos-complement notation.
2270 * calc/calc-bin.el (calc-word-size): Reset the variables
2271 `math-2-word-size' and `math-half-2-word-size'.
2272 (math-format-complement-signed, math-symclip, calcFunc-symclip)
2273 (calc-symclip): New functions.
2275 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
2277 * calc/calc-embed.el (calc-embedded-mode-vars):
2278 Add `calc-complement-signed-mode' to the list of modes.
2280 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
2281 (calc-b-oper-keys): Add `calc-symclip' to list.
2283 * calc/calc-ext.el (math-read-number-fancy): Read complement
2285 (calc-init-extensions): Add binding for `calc-symclip'.
2286 Add autoload for `calcFunc-symclip' and `calc-symclip'.
2288 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
2290 (calc-modes-menu): Add item for twos complement mode.
2292 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
2294 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
2296 * register.el (jump-to-register, insert-register): Handle Semantic
2297 tags. From commented-out advice in semantic/senator.el.
2299 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
2301 * vc.el (vc-log-show-limit): New variable.
2302 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
2303 when using a prefix argument.
2304 (vc-print-log-internal): Add new argument LIMIT.
2306 * vc-svn.el (vc-svn-print-log):
2307 * vc-mtn.el (vc-mtn-print-log):
2308 * vc-hg.el (vc-hg-print-log):
2309 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
2310 pass it to the log command when set. Make the BUFFER argument
2313 * vc-sccs.el (vc-sccs-print-log):
2314 * vc-rcs.el (vc-rcs-print-log):
2315 * vc-git.el (vc-git-print-log):
2316 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
2317 ignore it. Make the BUFFER argument non-optional
2319 * bindings.el (mode-line-buffer-identification): Do not purecopy.
2321 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
2323 * dired.el (dired-mode-map): Move encryption items to "Operate"
2326 * strokes.el (strokes-update-window-configuration): Make strokes
2327 buffer current before erasing (Bug#4906).
2329 * cedet/semantic/idle.el (semantic-idle-summary-mode)
2330 (semantic-idle-summary-mode): Define using define-minor-mode
2331 instead of define-semantic-idle-service.
2332 (semantic-idle-summary-mode): New function.
2333 (semantic-idle-summary-mode-setup): Use pre-command-hook to ensure
2334 that mouse motion does not reset the echo area.
2336 2009-11-15 Juri Linkov <juri@jurta.org>
2338 * simple.el (set-mark-default-inactive): Add :type, :group
2339 and :version. (Bug#4876)
2341 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
2343 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
2344 (archive-unique-fname): ... here. (Bug#4929)
2346 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2348 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
2351 * novice.el (disabled-command-function): Add useful args.
2352 Setup the help buffer so that [back] works.
2353 Remove redundant call to help-mode.
2354 (disabled-command-function): Use `case'.
2355 (en/disable-command): New function extracted from enable-command.
2356 (enable-command, disable-command): Use it.
2358 2009-11-14 Glenn Morris <rgm@gnu.org>
2360 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
2361 constants. (Bug#4913)
2363 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
2365 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
2367 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
2368 defined in C that have no doc-strings. (Bug#1063)
2370 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
2372 * cus-edit.el (data, files):
2373 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
2375 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
2377 * simple.el (shell-command): Doc fix (Bug#4891).
2379 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
2381 2009-11-14 Glenn Morris <rgm@gnu.org>
2383 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
2384 statements for vc-diff, emerge-quit, and rmail-cease-edit.
2385 If they are already loaded, eval-after-load will do the right thing.
2387 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
2390 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
2392 * simple.el (x-selection-owner-p): Declare.
2393 (read-mail-command): Use custom radio type rather than choice.
2394 (completion-no-auto-exit): Doc fix.
2396 * custom.el (defgroup):
2397 * epg-config.el (epg): Doc fixes.
2399 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
2401 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
2402 * international/ccl.el (define-ccl-program): Do not purecopy the
2403 docstring, defconst does it anyway.
2405 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2407 * add-log.el (add-change-log-entry): Avoid displaying the changelog
2410 * x-dnd.el (x-dnd-maybe-call-test-function):
2411 * window.el (split-window-vertically):
2412 * whitespace.el (whitespace-help-on):
2413 * vc-rcs.el (vc-rcs-consult-headers):
2414 * userlock.el (ask-user-about-lock-help)
2415 (ask-user-about-supersession-help):
2416 * type-break.el (type-break-force-mode-line-update):
2417 * time-stamp.el (time-stamp-conv-warn):
2418 * terminal.el (te-set-output-log, te-more-break, te-filter)
2419 (te-sentinel, terminal-emulator):
2420 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
2421 (term-write-input-ring, term-check-source, term-start-output-log):
2422 (term-display-buffer-line, term-dynamic-list-completions):
2423 (term-ansi-make-term, serial-term):
2424 * subr.el (selective-display):
2425 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
2426 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
2427 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
2428 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
2429 (speedbar-remove-localized-speedbar-support)
2430 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
2431 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
2432 (speedbar-buffers-line-directory):
2433 * simple.el (shell-command-on-region, append-to-buffer)
2434 (prepend-to-buffer):
2435 * shadowfile.el (shadow-save-todo-file):
2436 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
2437 (scroll-bar-maybe-set-window-start):
2438 * sb-image.el (speedbar-image-dump):
2439 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
2440 (load-save-place-alist-from-file):
2441 * ps-samp.el (ps-print-message-from-summary):
2442 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
2443 (ps-background-image, ps-begin-job, ps-do-despool):
2444 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
2445 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
2446 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
2447 (pr-call-process, pr-file-list, pr-interface-save):
2448 * novice.el (disabled-command-function)
2449 (enable-command, disable-command):
2450 * mouse.el (mouse-buffer-menu-alist):
2451 * mouse-copy.el (mouse-kill-preserving-secondary):
2452 * macros.el (kbd-macro-query):
2453 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
2454 * informat.el (batch-info-validate):
2455 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
2456 * hippie-exp.el (try-expand-dabbrev-visible):
2457 * help-mode.el (help-make-xrefs):
2458 * help-fns.el (describe-variable):
2459 * generic-x.el (bat-generic-mode-run-as-comint):
2460 * finder.el (finder-mouse-select):
2461 * find-dired.el (find-dired-sentinel):
2462 * filesets.el (filesets-file-close):
2463 * files.el (list-directory):
2464 * faces.el (list-faces-display, describe-face):
2465 * facemenu.el (list-colors-display):
2466 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
2467 * epg.el (epg--process-filter, epg-cancel):
2468 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
2469 (epa--read-signature-type):
2470 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
2471 (emerge-file-names):
2472 * ehelp.el (electric-helpify):
2473 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
2474 * ediff-vers.el (rcs-ediff-view-revision):
2475 * ediff-util.el (ediff-setup):
2476 * ediff-mult.el (ediff-append-custom-diff):
2477 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
2479 * echistory.el (Electric-command-history-redo-expression):
2480 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
2481 * disp-table.el (describe-display-table):
2482 * dired.el (dired-find-buffer-nocreate):
2483 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
2484 * dabbrev.el (dabbrev--same-major-mode-p):
2485 * chistory.el (list-command-history):
2486 * apropos.el (apropos-documentation):
2487 * allout.el (allout-obtain-passphrase):
2488 (allout-copy-exposed-to-buffer):
2489 (allout-verify-passphrase): Use with-current-buffer.
2491 2009-11-13 Glenn Morris <rgm@gnu.org>
2493 * Makefile.in (ELCFILES): Regenerate.
2495 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
2497 * net/dbus.el (dbus-registered-objects-table): Rename from
2498 `dbus-registered-functions-table', because it contains also properties.
2499 (dbus-unregister-object): Unregister also properties.
2500 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2501 Use a timeout of 500 msec, in order to not block.
2502 (dbus-register-property, dbus-property-handler): New defuns.
2504 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2506 * simple.el (minibuffer-default-add-completions): Drop deprecated
2509 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
2511 * textmodes/artist.el (artist-mouse-choose-operation):
2512 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
2513 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
2514 (artist-compute-up-event-key): New function.
2515 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
2517 2009-11-13 Kenichi Handa <handa@m17n.org>
2519 * language/japan-util.el: Make sure that the value of jisx0208
2520 property is jisx0208 character.
2522 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
2524 * international/mule.el (auto-coding-regexp-alist): Only purecopy
2525 car or each item, not the whole list.
2527 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2529 * minibuffer.el (minibuffer-completion-help):
2530 Use minibuffer-hide-completions.
2532 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
2534 * dired.el (dired-save-positions, dired-restore-positions): New funs.
2535 (dired-revert): Use them (bug#4880).
2537 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
2539 * tooltip.el (tooltip-frame-parameters): Undo previous change.
2541 2009-11-12 Juri Linkov <juri@jurta.org>
2543 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
2545 (find-file-literally-at-point): Alias of `ffap-literally'.
2547 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
2549 * textmodes/ispell.el (ispell-skip-region-alist):
2550 * textmodes/css-mode.el (auto-mode-alist):
2551 * progmodes/compile.el (auto-mode-alist):
2552 * international/mule.el (ctext-non-standard-encodings-alist)
2553 (ctext-non-standard-encodings-regexp):
2554 * simple.el (shell-command-switch, text-read-only):
2555 * replace.el (occur-mode-map):
2556 * paths.el (rmail-file-name):
2557 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
2558 * find-file.el (ff-special-constructs):
2559 * files.el (file-name-handler-alist):
2560 * composite.el: Purecopy strings.
2562 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
2564 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
2566 * widget.el (define-widget): Purecopy the docstring.
2567 * international/mule-cmds.el (charset): Do not purecopy the
2568 docstring here, define-widget does it.
2570 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
2571 * textmodes/bibtex-style.el (auto-mode-alist):
2572 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2573 * progmodes/compile.el (compile-command):
2574 * language/korea-util.el (default-korean-keyboard):
2575 * international/mule-conf.el (file-coding-system-alist):
2576 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
2577 * tooltip.el (tooltip-frame-parameters):
2578 * newcomment.el (comment-end, comment-padding):
2579 * dired.el (dired-trivial-filenames):
2580 * comint.el (comint-file-name-prefix): Purecopy initial values.
2582 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
2584 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
2585 (tramp-advice-minibuffer-electric-tilde): Unload advices via
2587 (tramp-advice-make-auto-save-file-name)
2588 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
2589 after removing the advice.
2591 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
2593 * progmodes/grep.el (grep-regexp-alist):
2594 * international/mule-cmds.el (iso-2022-control-alist):
2595 * emacs-lisp/timer.el (timer-duration-words):
2596 * subr.el (version-separator, version-regexp-alist):
2597 * minibuffer.el (completion-styles-alist):
2598 * faces.el (face-attribute-name-alist, list-faces-sample-text):
2599 Change defvars to defconsts.
2601 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
2602 * loadup.el ("international/mule-conf"): Load the byte compiled version.
2603 * international/mule-conf.el: Allow to be byte compiled.
2605 * international/mule.el (define-charset): Purecopy props.
2606 (load-with-code-conversion): Purecopy doc string and file name.
2607 (put-charset-property): Purecopy strings.
2608 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
2610 * international/mule-cmds.el (register-input-method): Purecopy arguments.
2611 (define-char-code-property): Correctly purecopy the table.
2613 * international/ccl.el (define-ccl-program): Purecopy the docstring.
2615 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
2617 * subr.el (add-hook): Purecopy strings.
2618 (eval-after-load): Purecopy load-history-regexp and the form.
2620 * custom.el (custom-declare-group): Purecopy load-file-name.
2622 * subr.el (menu-bar-separator): New defconst.
2623 * net/eudc.el (eudc-tools-menu):
2624 * international/mule-cmds.el (set-coding-system-map)
2626 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2627 * vc-hooks.el (vc-menu-map):
2628 * replace.el (occur-mode-map):
2629 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
2630 (menu-bar-edit-menu, menu-bar-goto-menu)
2631 (menu-bar-custom-menu, menu-bar-showhide-menu)
2632 (menu-bar-options-menu, menu-bar-tools-menu)
2633 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
2634 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
2635 (menu-bar-help-menu):
2636 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
2637 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
2639 * term/x-win.el (x-gtk-stock-map):
2640 * progmodes/vera-mode.el (auto-mode-alist):
2641 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2642 (inferior-lisp-program, inferior-lisp-load-command):
2643 * progmodes/hideshow.el (hs-special-modes-alist):
2644 * progmodes/gud.el (same-window-regexps):
2645 * progmodes/grep.el (grep-program, find-program, xargs-program):
2646 * net/telnet.el (same-window-regexps):
2647 * net/rlogin.el (same-window-regexps):
2648 * language/ethiopic.el (font-ccl-encoder-alist):
2649 * vc-sccs.el (vc-sccs-master-templates):
2650 * vc-rcs.el (vc-rcs-master-templates):
2651 * subr.el (cl-assertion-failed):
2652 * simple.el (next-error-overlay-arrow-position):
2653 * lpr.el (lpr-command):
2654 * locate.el (locate-ls-subdir-switches):
2655 * info.el (same-window-regexps, info)
2656 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
2657 * image-mode.el (image-mode, auto-mode-alist):
2658 * hippie-exp.el (hippie-expand-ignore-buffers):
2659 * format.el (format-alist):
2660 * find-dired.el (find-ls-subdir-switches, find-grep-options)
2662 * facemenu.el (facemenu-keybindings):
2663 * dired.el (dired-listing-switches, dired-chown-program):
2664 * diff.el (diff-switches, diff-command):
2665 * cus-edit.el (same-window-regexps):
2666 * bindings.el (mode-line-mule-info)
2667 (mode-line-buffer-identification): Purecopy strings.
2669 2009-11-11 Juri Linkov <juri@jurta.org>
2671 * simple.el (dired-get-filename) <declare-function>:
2672 Tell the byte-compiler about dired-get-filename.
2673 (shell-command): In Dired mode, get filename from the current line
2674 as the default value.
2676 2009-11-10 Glenn Morris <rgm@gnu.org>
2678 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
2679 * calendar/holidays.el, progmodes/cperl-mode.el:
2680 Update x-popup-menu declarations.
2682 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
2683 (list-load-path-shadows): Use dolist.
2684 (list-load-path-shadows): Use with-current-buffer.
2686 2009-11-10 Juri Linkov <juri@jurta.org>
2688 * minibuffer.el (read-file-name): Support a list of default values
2689 in `default-filename'. Use the first file name where only one
2690 element is required. Doc fix.
2692 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
2694 * net/dbus.el (dbus-unregister-object): Release service, if no
2695 other method is registered for it.
2697 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
2699 * bookmark.el (bookmark-completing-read): Sort bookmark names if
2700 bookmark-sort-flag is non-nil (Bug#4653).
2702 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
2704 * cedet/semantic/ctxt.el (semantic-get-local-variables): Disable
2705 the progress reporter entirely.
2707 * emulation/cua-base.el: Add CUA property to some CC mode commands
2710 2009-11-08 Kevin Ryde <user42@zip.com.au>
2712 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
2713 at end of sentence (Bug#4818).
2715 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
2717 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2718 Handle "see declaration of" MSFT statements (Bug#4100).
2720 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
2722 * net/tramp.el (tramp-advice-make-auto-save-file-name)
2723 (tramp-advice-file-expand-wildcards): Unload via
2726 * net/trampver.el: Update release number.
2728 2009-11-08 Kevin Ryde <user42@zip.com.au>
2730 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
2733 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
2735 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
2736 in order to keep context in SELinux.
2738 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
2740 * dired-aux.el (dired-query): Place cursor in echo area and allow
2743 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
2744 menu item if not on a directory (Bug#4701).
2746 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
2748 Sync with Tramp 2.1.17.
2750 * net/tramp.el (tramp-handle-copy-directory): Don't use
2751 `file-remote-p' (due to compatibility).
2753 * net/tramp-compat.el (tramp-compat-copy-directory)
2754 (tramp-compat-delete-directory): New defuns.
2756 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
2757 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
2758 `tramp-compat-delete-directory'.
2760 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2761 (tramp-smb-handle-delete-directory): Use
2762 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
2764 * net/trampver.el: Update release number.
2766 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
2768 * tar-mode.el (tar-copy): Call write-region on the right buffer
2771 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
2772 by hand, if necessary (Bug#4878).
2774 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
2776 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
2777 align size column (Bug#4839).
2779 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
2782 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
2784 * progmodes/ld-script.el (auto-mode-alist):
2785 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
2787 * cus-face.el (custom-declare-face): Purecopy face spec.
2789 2009-11-06 Kenichi Handa <handa@m17n.org>
2791 * international/uni-bidi.el: Re-generated.
2792 * international/uni-category.el: Re-generated.
2793 * international/uni-combining.el: Re-generated.
2794 * international/uni-mirrored.el: Re-generated.
2796 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
2798 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
2799 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
2800 (tex-start-options, slitex-run-command, latex-run-command)
2801 (tex-run-command, tex-directory):
2802 * textmodes/ispell.el (ispell-html-skip-alists)
2803 (ispell-tex-skip-alists, ispell-tex-skip-alists):
2804 * textmodes/fill.el (adaptive-fill-first-line-regexp):
2805 (adaptive-fill-regexp):
2806 * textmodes/dns-mode.el (auto-mode-alist):
2807 * progmodes/python.el (interpreter-mode-alist):
2808 * progmodes/etags.el (tags-compression-info-list):
2809 * progmodes/etags.el (tags-file-name):
2810 * net/browse-url.el (browse-url-galeon-program)
2811 (browse-url-firefox-program):
2812 * mail/sendmail.el (mail-signature-file)
2813 (mail-citation-prefix-regexp):
2814 * international/mule-conf.el (eight-bit):
2815 * international/latexenc.el (latex-inputenc-coding-alist):
2816 * international/fontset.el (x-pixel-size-width-font-regexp):
2817 * emacs-lisp/warnings.el (warning-type-format):
2818 * emacs-lisp/trace.el (trace-buffer):
2819 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
2820 (emacs-lisp-mode-map):
2821 * calendar/holidays.el (holiday-solar-holidays)
2822 (holiday-bahai-holidays, holiday-islamic-holidays)
2823 (holiday-christian-holidays, holiday-hebrew-holidays)
2824 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
2825 (hebrew-holidays-1, holiday-oriental-holidays)
2826 (holiday-general-holidays):
2827 * x-dnd.el (x-dnd-known-types):
2828 * tool-bar.el (tool-bar):
2829 * startup.el (site-run-file):
2830 * shell.el (shell-dumb-shell-regexp):
2831 * rfn-eshadow.el (file-name-shadow-tty-properties)
2832 (file-name-shadow-properties):
2833 * paths.el (remote-shell-program, news-directory):
2834 * mouse.el ([C-down-mouse-3]):
2835 * menu-bar.el (menu-bar-tools-menu):
2836 * jka-cmpr-hook.el (jka-compr-load-suffixes)
2837 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
2838 (jka-compr-compression-info-list):
2839 * isearch.el (search-whitespace-regexp):
2840 * image-file.el (image-file-name-extensions):
2841 * find-dired.el (find-ls-option):
2842 * files.el (directory-listing-before-filename-regexp)
2843 (directory-free-space-args, insert-directory-program)
2844 (list-directory-brief-switches, magic-fallback-mode-alist)
2845 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
2846 (automount-dir-prefix):
2847 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
2848 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
2849 (face-font-registry-alternatives, face-font-registry-alternatives)
2850 (face-font-family-alternatives):
2851 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
2852 (facemenu-foreground-menu, facemenu-face-menu):
2853 * epa-hook.el (epa-file-name-regexp):
2854 * dnd.el (dnd-protocol-alist):
2855 * textmodes/rst.el (auto-mode-alist):
2856 * button.el (default-button): Purecopy strings.
2858 2009-11-06 Glenn Morris <rgm@gnu.org>
2860 * Makefile.in (ELCFILES): Update.
2862 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2864 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
2865 * emacs-lisp/levents.el: Move to obsolete/levents.el.
2867 * nxml/xsd-regexp.el (xsdre-gen-categories):
2868 * nxml/xmltok.el (xmltok-parse-entity):
2869 * nxml/rng-parse.el (rng-parse-validate-file):
2870 * nxml/rng-maint.el (rng-format-manual)
2871 (rng-manual-output-force-new-line):
2872 * nxml/rng-loc.el (rng-save-schema-location-1):
2873 * nxml/rng-cmpct.el (rng-c-parse-file):
2874 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
2875 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
2877 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
2879 * verilog-mode.el (verilog-getopt-file, verilog-set-define):
2880 Remove extra save-excursions and make-variable-buffer-local's.
2881 Suggested by Stefan Monnier.
2883 (verilog-getopt-file, verilog-module-inside-filename-p)
2884 (verilog-set-define): Merge GNU 1.35 and repair changes from
2885 switching to using with-current-buffer.
2887 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
2888 being treated as a number and confusing AUTORESET.
2889 Reported by Dan Dever.
2891 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
2892 Add verilog-auto-ignore-concat to fix backward compatibility with
2893 older verilog-modes. Reported by Dan Katz.
2895 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
2896 containing closing anchors "...$".
2898 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
2899 Reported by Wade Smith.
2901 (verilog-batch-execute-func) Comment on function usage.
2903 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
2905 * verilog-mode.el (verilog-label-re): Fix regular expression for
2908 (verilog-label-re, verilog-calc-1): Support proper indent of named
2911 (verilog-backward-token, verilog-basic-complete-re)
2912 (verilog-beg-of-statement, verilog-indent-re): Support proper
2913 indent of the assert statement at the beginning of a block of text.
2915 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
2916 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
2919 2009-11-05 Glenn Morris <rgm@gnu.org>
2921 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
2922 Emacs 19. (Bug#1531)
2923 (byte-compile-fix-header): Update for the above change.
2924 Drop test for epoch::version.
2926 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
2927 * cus-dep.el (custom-make-dependencies):
2928 * finder.el (finder-compile-keywords):
2929 Use autoload-rubric's feature argument.
2931 * calendar/diary-lib.el (top-level): Make load behave more like require.
2933 * vc-git.el (vc-git-stash-map): Move definition before use.
2935 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
2937 * custom.el (custom-declare-group): Purecopy standard-value.
2938 (custom-declare-group): Purecopy custom-prefix.
2940 * international/mule.el (load-with-code-conversion):
2941 Call do-after-load-evaluation unconditionally.
2943 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
2945 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2947 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
2949 2009-11-04 Glenn Morris <rgm@gnu.org>
2951 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
2952 (byte-compile-compatibility): Remove option.
2953 (byte-compile-close-variables, byte-compile-fix-header)
2954 (byte-compile-insert-header, byte-compile-output-docform)
2955 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
2956 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
2957 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
2958 (byte-compile-insert, byte-compile-defun):
2959 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
2960 (byte-defop-compiler19): Remove.
2961 Without byte-compile-compatibility, the 'emacs19-opcode property is not
2962 used by anything. Replace all calls with byte-defop-compiler.
2964 2009-11-04 Juri Linkov <juri@jurta.org>
2966 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
2967 (menu-bar-options-menu): Don't quote the `prop' arg of
2968 `menu-bar-make-mm-toggle'.
2970 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
2972 * calendar/calendar.el (cal-loaddefs):
2973 * calendar/diary-lib.el (diary-loaddefs):
2974 * calendar/holidays.el (hol-loaddefs):
2975 * eshell/esh-module.el (esh-groups): Load rather than require.
2977 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2979 * calendar/todo-mode.el (todo-add-category): Don't hardcode
2981 (todo-top-priorities): Only display-buffer when called interactively.
2982 (todo-item-start): Don't save excursion point.
2983 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
2984 (todo-insert-item-here, todo-file-item, todo-remove-item):
2985 Adjust uses of todo-item-start and todo-item-end.
2987 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
2988 (autoload-rubric): Don't use any more.
2989 * cedet/semantic/fw.el (semantic/loaddefs):
2990 * cedet/srecode.el (srecode/loaddefs):
2991 * cedet/ede.el (ede/loaddefs): Load rather than require.
2992 * cedet/ede/cpp-root.el:
2993 * cedet/ede/emacs.el:
2994 * cedet/ede/files.el:
2995 * cedet/ede/linux.el:
2996 * cedet/ede/locate.el:
2997 * cedet/ede/make.el:
2998 * cedet/ede/shell.el:
2999 * cedet/ede/speedbar.el:
3000 * cedet/ede/system.el:
3001 * cedet/ede/util.el:
3002 * cedet/semantic/analyze.el:
3003 * cedet/semantic/bovine.el:
3004 * cedet/semantic/complete.el:
3005 * cedet/semantic/ctxt.el:
3006 * cedet/semantic/db-file.el:
3007 * cedet/semantic/db-find.el:
3008 * cedet/semantic/db-global.el:
3009 * cedet/semantic/db-mode.el:
3010 * cedet/semantic/db-typecache.el:
3011 * cedet/semantic/db.el:
3012 * cedet/semantic/debug.el:
3013 * cedet/semantic/dep.el:
3014 * cedet/semantic/doc.el:
3015 * cedet/semantic/edit.el:
3016 * cedet/semantic/find.el:
3017 * cedet/semantic/format.el:
3018 * cedet/semantic/html.el:
3019 * cedet/semantic/ia-sb.el:
3020 * cedet/semantic/ia.el:
3021 * cedet/semantic/idle.el:
3022 * cedet/semantic/lex-spp.el:
3023 * cedet/semantic/lex.el:
3024 * cedet/semantic/mru-bookmark.el:
3025 * cedet/semantic/scope.el:
3026 * cedet/semantic/senator.el:
3027 * cedet/semantic/sort.el:
3028 * cedet/semantic/symref.el:
3029 * cedet/semantic/tag-file.el:
3030 * cedet/semantic/tag-ls.el:
3031 * cedet/semantic/tag-write.el:
3032 * cedet/semantic/tag.el:
3033 * cedet/semantic/util-modes.el:
3034 * cedet/semantic/analyze/complete.el:
3035 * cedet/semantic/analyze/refs.el:
3036 * cedet/semantic/bovine/c.el:
3037 * cedet/semantic/bovine/gcc.el:
3038 * cedet/semantic/bovine/make.el:
3039 * cedet/semantic/bovine/scm.el:
3040 * cedet/semantic/decorate/include.el:
3041 * cedet/semantic/decorate/mode.el:
3042 * cedet/semantic/symref/cscope.el:
3043 * cedet/semantic/symref/global.el:
3044 * cedet/semantic/symref/grep.el:
3045 * cedet/semantic/symref/idutils.el:
3046 * cedet/semantic/symref/list.el:
3047 * cedet/semantic/wisent/java-tags.el:
3048 * cedet/semantic/wisent/javascript.el:
3049 * cedet/srecode/compile.el:
3050 * cedet/srecode/cpp.el:
3051 * cedet/srecode/document.el:
3052 * cedet/srecode/el.el:
3053 * cedet/srecode/expandproto.el:
3054 * cedet/srecode/getset.el:
3055 * cedet/srecode/insert.el:
3056 * cedet/srecode/java.el:
3057 * cedet/srecode/map.el:
3058 * cedet/srecode/mode.el:
3059 * cedet/srecode/template.el:
3060 * cedet/srecode/texi.el: Remove the file-local setting of
3061 generated-autoload-feature.
3063 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
3064 and only put a prop if it is non-nil.
3066 2009-11-03 Juri Linkov <juri@jurta.org>
3068 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
3069 (menu-bar-options-menu): Fix list quoting (Bug#4429).
3071 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
3072 and "Menu" to make top-level menu item visually one unit (like
3073 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
3074 multi-word menu items). Fix :help string for quit-window.
3076 2009-11-03 Glenn Morris <rgm@gnu.org>
3078 * cedet/mode-local.el (with-mode-local): Doc fix.
3080 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
3081 (byte-compile-file-form-define-abbrev-table)
3082 (byte-compile-file-form-custom-declare-variable)
3083 (byte-compile-variable-ref, byte-compile-defvar):
3084 Whether or not a warning is enabled should only affect whether we issue
3085 the warning, not whether or not we collect the relevant data.
3086 Eg warnings can be turned on and off throughout the course of a file.
3088 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
3089 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
3091 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3093 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
3094 * play/mpuz.el (mpuz-create-buffer):
3095 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
3096 (lm-print-y,s,noise, lm-print-w0, lm-init):
3097 * play/gomoku.el (gomoku-prompt-for-move):
3098 * play/fortune.el (fortune-in-buffer):
3099 * play/dissociate.el (dissociated-press):
3100 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
3101 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
3102 * mail/supercite.el (sc-eref-show):
3103 * mail/smtpmail.el (smtpmail-send-it):
3104 * mail/rmailsum.el (rmail-summary-next-labeled-message)
3105 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
3106 (rmail-summary-undelete-many, rmail-summary-rmail-update)
3107 (rmail-summary-goto-msg, rmail-summary-expunge)
3108 (rmail-summary-get-new-mail, rmail-summary-search-backward)
3109 (rmail-summary-add-label, rmail-summary-output-menu)
3110 (rmail-summary-output-body):
3111 * mail/rfc822.el (rfc822-addresses):
3112 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
3113 * mail/mailpost.el (post-mail-send-it):
3114 * mail/hashcash.el (hashcash-generate-payment):
3115 * mail/feedmail.el (feedmail-run-the-queue)
3116 (feedmail-queue-send-edit-prompt-help-first)
3117 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
3118 (feedmail-deduce-address-list):
3119 * eshell/esh-ext.el (eshell-remote-command):
3120 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
3121 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
3122 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
3123 (viper-save-string-in-file, viper-valid-marker):
3124 * emulation/viper-keym.el (viper-toggle-key):
3125 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
3126 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
3127 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
3128 * emulation/viper-cmd.el (viper-exec-form-in-vi)
3129 (viper-exec-form-in-emacs, viper-brac-function):
3130 * emulation/viper.el (viper-delocalize-var):
3131 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
3132 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
3133 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
3134 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
3135 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
3136 * emulation/edt.el (edt-electric-helpify):
3137 * emulation/cua-rect.el (cua--rectangle-aux-replace):
3138 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
3139 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
3140 (cua-indent-to-global-mark-column):
3141 * calendar/diary-lib.el (calendar-mark-1):
3142 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
3143 Use with-current-buffer.
3144 * emulation/viper.el (viper-delocalize-var): Use dolist.
3146 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
3148 * comint.el (comint-replace-by-expanded-history-before-point):
3149 Replace !! with the previous input string literally (Bug#1795).
3151 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
3153 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
3154 to be made up of whitespace.
3156 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
3158 * minibuffer.el (read-file-name): Don't use file dialogs for
3159 remote directories (Bug#99).
3161 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
3163 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
3165 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
3167 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
3168 instead of deleting the window or frame.
3170 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
3172 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
3173 Support face colors.
3175 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
3176 New function. Support face colors (Bug#1168).
3177 (tex-common-initialization): Use it.
3179 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
3180 mode allows it (Bug#1168).
3182 2009-10-31 Juri Linkov <juri@jurta.org>
3184 * facemenu.el (list-colors-display): Don't mark buffer as
3185 modified (Bug#3948).
3187 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
3189 * international/mule-diag.el (list-character-sets-1): Minor
3190 message fix (Bug#3526).
3192 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
3193 face property (Bug#4834).
3194 (etags-list-tags, etags-tags-apropos-additional)
3195 (etags-tags-apropos, tags-select-tags-table): Add follow-link
3198 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
3201 * cedet/cedet.el (cedet-menu-map): Remove Semantic and EDE menu
3204 * cedet/ede.el (ede-minor-mode):
3205 * cedet/semantic.el (semantic-mode): Toggle menu separators.
3207 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3209 * textmodes/two-column.el (2C-split):
3210 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
3211 * textmodes/tex-mode.el (tex-set-buffer-directory):
3212 * textmodes/spell.el (spell-region, spell-string):
3213 * textmodes/reftex.el (reftex-erase-buffer):
3214 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
3215 * textmodes/reftex-toc.el (reftex-toc-promote-action):
3216 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
3217 (reftex-select-item):
3218 * textmodes/reftex-ref.el (reftex-label-info-update)
3219 (reftex-offer-label-menu):
3220 * textmodes/reftex-index.el (reftex-index-change-entry)
3221 (reftex-index-phrases-info):
3222 * textmodes/reftex-global.el (reftex-create-tags-file)
3223 (reftex-save-all-document-buffers, reftex-ensure-write-access):
3224 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
3225 (reftex-view-crossref-from-bibtex):
3226 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
3227 (reftex-extract-bib-entries-from-thebibliography)
3228 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
3229 * textmodes/refbib.el (r2b-capitalize-title):
3230 (r2b-convert-buffer, r2b-help):
3231 * textmodes/page-ext.el (pages-directory)
3232 (pages-directory-goto-with-mouse):
3233 * textmodes/bibtex.el (bibtex-validate-globally):
3234 * textmodes/bib-mode.el (bib-capitalize-title):
3235 * textmodes/artist.el (artist-clear-buffer, artist-system):
3236 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
3237 (local-set-scheme-interaction-buffer, xscheme-process-filter)
3238 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
3239 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
3240 (xscheme-send-control-g-interrupt, xscheme-start-process)
3241 (xscheme-process-sentinel, xscheme-cd):
3242 * progmodes/verilog-mode.el (verilog-read-always-signals)
3243 (verilog-set-define, verilog-getopt-file)
3244 (verilog-module-inside-filename-p):
3245 * progmodes/sh-script.el:
3246 * progmodes/python.el (python-pdbtrack-get-source-buffer)
3247 (python-pdbtrack-grub-for-buffer, python-execute-file):
3248 * progmodes/octave-inf.el (inferior-octave):
3249 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
3250 (idlwave-shell-compile-helper-routines, idlwave-set-local)
3251 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
3252 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
3253 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
3254 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
3255 (idlwave-shell-filter, idlwave-shell-examine-highlight)
3256 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
3257 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
3258 (idlwave-shell-examine-display, idlwave-shell-run-region)
3259 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
3260 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
3261 * progmodes/idlw-help.el (idlwave-help-get-special-help)
3262 (idlwave-help-get-help-buffer):
3263 * progmodes/gud.el (gud-basic-call, gud-find-class)
3264 (gud-tooltip-activate-mouse-motions-if-enabled):
3265 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3266 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
3267 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
3268 (ebrowse-tags-next-file):
3269 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
3270 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
3271 (ebnf-eps-finish-and-write):
3272 * progmodes/cpp.el (cpp-edit-save):
3273 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
3274 * progmodes/cc-defs.el (c-emacs-features):
3275 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
3276 (antlr-directory-dependencies):
3277 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
3278 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
3279 (ada-find-any-references, ada-make-filename-from-adaname)
3280 (ada-make-body-gnatstub):
3281 * obsolete/rnews.el (news-list-news-groups):
3282 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
3283 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
3284 * net/rcirc.el (rcirc-debug):
3285 * net/newst-treeview.el (newsticker--treeview-list-add-item)
3286 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
3287 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
3288 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
3289 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
3290 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
3291 (newsticker--treeview-list-clear-highlight)
3292 (newsticker--treeview-list-update-highlight)
3293 (newsticker--treeview-list-highlight-start)
3294 (newsticker--treeview-tree-update-highlight)
3295 (newsticker--treeview-get-selected-item)
3296 (newsticker-treeview-mark-list-items-old)
3297 (newsticker--treeview-set-current-node):
3298 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3299 * net/newst-backend.el (newsticker--get-news-by-funcall)
3300 (newsticker--get-news-by-wget, newsticker--image-get)
3301 (newsticker--image-sentinel):
3302 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
3303 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
3304 (eudc-ph-close-session):
3305 * net/eudc.el (eudc-save-options):
3306 * language/thai-word.el (thai-update-word-table):
3307 * language/japan-util.el (japanese-string-conversion):
3308 * international/titdic-cnv.el (tsang-quick-converter)
3309 (ziranma-converter, ctlau-converter):
3310 * international/mule-cmds.el (describe-language-environment):
3311 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
3312 (skkdic-convert-postfix, skkdic-convert-prefix):
3313 (skkdic-convert-okuri-nasi, skkdic-convert):
3314 * emacs-lisp/re-builder.el (reb-update-overlays):
3315 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
3316 * emacs-lisp/gulp.el (gulp-send-requests):
3317 * emacs-lisp/find-gc.el (trace-call-tree):
3318 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
3319 (eieio-describe-generic):
3320 * emacs-lisp/eieio-base.el (eieio-persistent-read):
3321 * emacs-lisp/edebug.el (edebug-outside-excursion):
3322 * emacs-lisp/debug.el (debugger-make-xrefs):
3323 * emacs-lisp/cust-print.el (custom-prin1-to-string):
3324 * emacs-lisp/chart.el (chart-new-buffer):
3325 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
3326 Use with-current-buffer.
3327 * textmodes/artist.el (artist-system): Don't call
3328 copy-sequence on a fresh string.
3329 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
3331 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
3333 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
3334 is no item to edit. (Bug#4820)
3335 (todo-top-priorities): Restore point and restore narrowing in Todo
3338 2009-10-31 Glenn Morris <rgm@gnu.org>
3340 * net/ange-ftp.el (top-level): Don't require dired when compiling.
3341 (comint-last-output-start, comint-last-input-start)
3342 (comint-last-input-end): Don't defvar when compiling.
3343 (ange-ftp-process-file): Use bound-and-true-p.
3345 * pcmpl-rpm.el (top-level): Move provide statement to end.
3346 (pcmpl-rpm): Remove unused custom group.
3348 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
3350 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
3352 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
3353 (byte-compile-warnings): Add `constants' as an option.
3354 (byte-compile-callargs-warn, byte-compile-arglist-warn)
3355 (display-call-tree): Update for byte-compile-fdefinition possibly
3356 returning `(macro lambda ...)'. (Bug#4778)
3357 (byte-compile-variable-ref, byte-compile-setq-default):
3358 Respect `constants' member of byte-compile-warnings.
3360 * cedet/semantic/tag.el (semantic--tag-link-list-to-buffer):
3361 Use mapc rather than mapcar because the return value is never used.
3363 * cedet/srecode/template.el, cedet/semantic/wisent/javascript.el:
3364 * cedet/semantic/wisent/java-tags.el, cedet/semantic/texi.el:
3365 * cedet/semantic/html.el:
3366 Suppress harmless warnings about setting up semantic-imenu (not
3367 part of Emacs) variables.
3369 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3371 * vc-bzr.el (vc-bzr-revision-keywords): New var.
3372 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
3375 * cedet/srecode/srt-mode.el (semantic-analyze-possible-completions):
3376 * cedet/semantic/symref/list.el (semantic-symref-rb-toggle-expand-tag):
3377 * cedet/semantic/symref/grep.el (semantic-symref-perform-search):
3378 * cedet/semantic/bovine/gcc.el (semantic-gcc-query):
3379 * cedet/semantic/bovine/c.el (semantic-c-parse-lexical-token):
3380 * cedet/semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons)
3381 (semantic-analyzer-debug-global-symbol)
3382 (semantic-analyzer-debug-missing-innertype)
3383 (semantic-analyzer-debug-insert-include-summary):
3384 * cedet/semantic/util.el (semantic-file-tag-table):
3385 (semantic-describe-buffer-var-helper, semantic-something-to-tag-table)
3386 (semantic-recursive-find-nonterminal-by-name):
3387 * cedet/semantic/tag-ls.el (semantic-tag-calculate-parent-default):
3388 * cedet/semantic/tag-file.el (semantic-prototype-file):
3389 * cedet/semantic/symref.el (semantic-symref-parse-tool-output):
3390 * cedet/semantic/sb.el (semantic-sb-fetch-tag-table):
3391 * cedet/semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
3392 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer):
3393 (semantic-idle-summary-maybe-highlight):
3394 * cedet/semantic/ia-sb.el (semantic-ia-speedbar)
3395 (semantic-ia-sb-tag-info):
3396 * cedet/semantic/grammar.el (semantic-analyze-possible-completions):
3397 * cedet/semantic/find.el (semantic-brute-find-tag-by-position):
3398 * cedet/semantic/ede-grammar.el (project-compile-target):
3399 (ede-proj-makefile-insert-variables):
3400 * cedet/semantic/debug.el (semantic-debug-set-parser-location):
3401 (semantic-debug-set-source-location, semantic-debug-interface-layout)
3402 (semantic-debug-mode, semantic-debug):
3403 * cedet/semantic/db.el (semanticdb-needs-refresh-p):
3404 * cedet/semantic/db-typecache.el (semanticdb-typecache-refresh-for-buffer):
3405 * cedet/semantic/db-javascript.el (semanticdb-equivalent-mode):
3406 * cedet/semantic/db-find.el (semanticdb-find-log-new-search)
3407 (semanticdb-find-translate-path-includes--internal)
3408 (semanticdb-reset-log, semanticdb-find-log-activity):
3409 * cedet/semantic/db-file.el (object-write):
3410 * cedet/semantic/db-el.el (semanticdb-equivalent-mode):
3411 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-C-file-p)
3412 (semanticdb-create-ebrowse-database):
3413 * cedet/semantic/db-debug.el (semanticdb-table-sanity-check):
3414 * cedet/semantic/complete.el (semantic-displayor-focus-request)
3415 (semantic-collector-calculate-completions-raw)
3416 (semantic-complete-read-tag-analyzer):
3417 * cedet/semantic/analyze.el (semantic-analyze-pulse):
3418 * cedet/ede/util.el (ede-update-version-in-source):
3419 * cedet/ede/proj.el (project-delete-target):
3420 * cedet/ede/proj-elisp.el (ede-update-version-in-source)
3421 (ede-proj-flush-autoconf):
3422 * cedet/ede/pconf.el (ede-proj-configure-synchronize)
3423 (ede-proj-configure-synchronize):
3424 * cedet/ede/locate.el (ede-locate-file-in-project-impl):
3425 * cedet/ede/linux.el (ede-linux-version):
3426 * cedet/ede/emacs.el (ede-emacs-version):
3427 * cedet/ede/dired.el (ede-dired-add-to-target):
3428 * cedet/ede.el (ede-buffer-header-file, ede-find-target)
3429 (ede-buffer-documentation-files, ede-project-buffers, ede-set)
3430 (ede-target-buffers, ede-buffers, ede-make-project-local-variable):
3431 * cedet/cedet-idutils.el (cedet-idutils-fnid-call):
3432 (cedet-idutils-lid-call, cedet-idutils-expand-filename)
3433 (cedet-idutils-version-check):
3434 * cedet/cedet-global.el (cedet-gnu-global-call):
3435 (cedet-gnu-global-expand-filename, cedet-gnu-global-root)
3436 (cedet-gnu-global-version-check, cedet-gnu-global-scan-hits):
3437 * cedet/cedet-cscope.el (cedet-cscope-call)
3438 (cedet-cscope-expand-filename, cedet-cscope-version-check):
3439 Use with-current-buffer.
3440 * cedet/ede.el (ede-make-project-local-variable)
3441 (ede-set-project-variables, ede-set): Use dolist.
3443 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
3445 * textmodes/ispell.el (ispell-skip-region-alist):
3446 * international/mule-conf.el (eight-bit):
3447 * international/fontset.el (font-encoding-alist):
3448 * startup.el (pure-space-overflow-message):
3449 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
3450 * paths.el (gnus-nntp-service, rmail-spool-directory)
3452 * files.el (save-some-buffers-action-alist):
3453 * cmuscheme.el (same-window-buffer-names):
3454 * ielm.el (same-window-buffer-names):
3455 * shell.el (same-window-buffer-names):
3456 * mail/sendmail.el (same-window-buffer-names):
3457 * progmodes/inf-lisp.el (same-window-buffer-names):
3458 * bindings.el (mode-line-client)
3459 (mode-line-column-line-number-mode-map):
3460 * language/tibetan.el (tibetan-precomposition-rule-regexp)
3461 (tibetan-precomposed-regexp): Purecopy string arguments.
3463 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3465 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
3466 (calcDigit-nondigit):
3467 * calc/calc-yank.el (calc-copy-to-buffer):
3468 * calc/calc-units.el (calc-invalidate-units-table):
3469 * calc/calc-trail.el (calc-trail-yank):
3470 * calc/calc-store.el (calc-insert-variables):
3471 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
3472 * calc/calc-prog.el (calc-read-parse-table):
3473 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
3474 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
3475 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
3476 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
3477 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
3478 (calc-graph-name, calc-graph-find-command, calc-graph-view)
3479 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
3480 * calc/calc-ext.el (calc-realign):
3481 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
3482 (calc-embedded-finish-edit, calc-embedded-make-info)
3483 (calc-embedded-finish-command, calc-embedded-stack-change):
3484 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
3486 * cedet/mode-local.el (make-obsolete-overload): Add `when' argument.
3487 (overload-docstring-extension): Use that info.
3488 * cedet/semantic/fw.el (semantic-alias-obsolete): Pass the `when' info.
3489 * cedet/semantic/idle.el (semantic-eldoc-current-symbol-info):
3490 * cedet/semantic/tag-ls.el (semantic-nonterminal-protection)
3491 (semantic-nonterminal-abstract, semantic-nonterminal-leaf)
3492 (semantic-nonterminal-full-name): Add the new `when' info.
3493 * cedet/semantic/decorate/mode.el (semantic/decorate): Require CL for
3496 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
3497 shell-dynamic-complete-filename in preference to
3498 comint-dynamic-complete-filename.
3500 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
3501 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
3502 Don't consider whether the display supports colors.
3503 (bookmark-import-new-list): Use dolist.
3504 (bookmark-bmenu-mode-map): Move initialization into declaration.
3505 (bookmark-bmenu-list): Use dolist, simplify.
3506 (bookmark-show-all-annotations): Use save-selected-window and dolist.
3507 (menu-bar-final-items): Use push.
3509 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
3511 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
3512 it works on remote files.
3513 (vc-hg-diff): Don't pass any `--cwd' argument.
3515 2009-10-27 Kevin Ryde <user42@zip.com.au>
3517 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
3518 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
3519 (Further to Bug#3921).
3521 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
3523 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
3524 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
3525 calling `tramp-imap-put-file'. Add file size to the call.
3526 (tramp-imap-get-file-entries): Compute also user name, file size,
3528 (tramp-imap-handle-insert-directory): Insert uid and gid.
3529 (tramp-imap-handle-file-attributes): Transform uid and gid
3530 according to `id-format'.
3531 (tramp-imap-put-file): New optional parameter SIZE. Encode file
3532 size in header X-Size.
3534 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
3536 * simple.el (transpose-subr): Give clearer error when the mark
3537 is not set. (Bug#4807)
3539 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
3541 * net/tramp.el (tramp-perl-file-truename): New defconst.
3542 Perl code contributed by yary <not.com@gmail.com> (tiny change).
3543 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
3544 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
3545 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
3547 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
3548 Ignore `dired-call-process'.
3549 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
3551 2009-10-26 Julian Scheid <julians37@gmail.com>
3553 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
3554 (tramp-get-remote-readlink): New defun.
3555 (tramp-handle-file-truename): Use it.
3556 (tramp-handle-file-exists-p): Check file-attributes cache, assume
3557 file exists if cache value present.
3558 (tramp-check-cached-permissions) New defun.
3559 (tramp-handle-file-readable-p): Use it.
3560 (tramp-handle-file-writable-p): Likewise.
3561 (tramp-handle-file-executable-p): Likewise.
3562 (tramp-handle-file-name-all-completions): Try using Perl to get
3563 partial completions. When perl not available, combine `cd' and
3564 `ls' into single remote operation and use shell expansion to get
3565 partial remote directory contents. Set `file-exists-p' cache for
3566 directory and any files returned by ls. Change cache handling to
3567 support partial directory contents. Use error message emitted by
3568 remote `cd' or Perl code for local tramp-error.
3569 (tramp-do-copy-or-rename-file-directly): Avoid separate
3570 tramp-send-command-and-check call.
3571 (tramp-handle-process-file): Merge three remote ops into one.
3572 Do not flush all caches when `process-file-side-effects' is set.
3573 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
3574 file-attributes shows uid/gid to be set already.
3576 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
3578 * textmodes/tex-mode.el (tex-dvi-view-command)
3579 (tex-show-queue-command, tex-open-quote):
3580 * progmodes/ruby-mode.el (auto-mode-alist)
3581 (interpreter-mode-alist): Purecopy strings.
3583 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
3585 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
3586 string for the hook, keymap and abbrev table.
3588 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
3590 * x-dnd.el (x-dnd-xdnd-to-action):
3591 * startup.el (fancy-startup-text, fancy-about-text): Change to
3592 defconst from defvar.
3594 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
3596 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
3597 Purecopy initialization strings.
3599 * mail/sendmail.el (mail-header-separator)
3600 (mail-personal-alias-file):
3601 * mail/rmail.el (rmail-default-dont-reply-to-names)
3602 (rmail-ignored-headers, rmail-retry-ignored-headers)
3603 (rmail-highlighted-headers, rmail-secondary-file-directory)
3604 (rmail-secondary-file-regexp):
3605 * files.el (null-device, file-name-invalid-regexp)
3606 (locate-dominating-stop-dir-regexp)
3607 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
3608 (interpreter-mode-alist): Use mapcar instead of mapc.
3610 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
3612 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
3613 (completion-ignored-extensions):
3614 (debug-ignored-errors): Purecopy strings.
3616 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3618 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
3619 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
3620 (pcomplete--here): Use push.
3622 * subr.el (all-completions): Declare the 4th arg obsolete.
3624 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3626 * pcomplete.el (pcomplete-unquote-argument-function): New var.
3627 (pcomplete-unquote-argument): New function.
3628 (pcomplete--common-suffix): Always pay attention to case.
3629 (pcomplete--table-subvert): Quote and unquote the text.
3630 (pcomplete--common-quoted-suffix): New function.
3631 (pcomplete-std-complete): Use it and pcomplete-begin.
3633 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
3634 we're inside a dedicated or minibuffer window.
3636 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3638 * cedet/semantic/fw.el (semantic-alias-obsolete)
3639 (semantic-varalias-obsolete): Make the `when' arg mandatory.
3640 (define-mode-overload-implementation):
3641 * cedet/semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks):
3642 * cedet/semantic/wisent.el (wisent-lex-make-token-table):
3643 * cedet/semantic/util.el (semantic-file-token-stream)
3644 (semantic-something-to-stream):
3645 * cedet/semantic/tag.el (semantic-tag-make-assoc-list)
3646 (semantic-expand-nonterminal):
3647 * cedet/semantic/tag-file.el (semantic-find-nonterminal)
3648 (semantic-find-dependency, semantic-find-nonterminal)
3649 (semantic-find-dependency):
3650 * cedet/semantic/lex.el (semantic-flex-start, semantic-flex-end)
3651 (semantic-flex-text, semantic-flex-make-keyword-table)
3652 (semantic-flex-keyword-p, semantic-flex-keyword-put)
3653 (semantic-flex-keyword-get, semantic-flex-map-keywords)
3654 (semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list):
3655 * cedet/semantic/java.el (semantic-java-prototype-nonterminal):
3656 * cedet/semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks)
3657 (semantic-after-idle-scheduler-reparse-hooks):
3658 * cedet/semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks):
3659 * cedet/semantic/db-mode.el (semanticdb-mode-hooks):
3660 * cedet/semantic.el (semantic-toplevel-bovine-table)
3661 (semantic-toplevel-bovine-cache)
3662 (semantic-before-toplevel-bovination-hook, semantic-init-hooks)
3663 (semantic-init-mode-hooks, semantic-init-db-hooks)
3664 (semantic-bovination-working-type): Provide the `when' arg.
3666 2009-10-24 Karl Fogel <kfogel@red-bean.com>
3668 * bookmark.el: Update documentation, especially documentation
3669 of `bookmark-alist' and of the bookmark file format.
3670 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
3672 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
3674 * mail/emacsbug.el (report-emacs-bug): Clarify that the
3675 keybindings apply to the mail buffer (Bug#4003). Shrink help
3678 * whitespace.el (whitespace-mode, whitespace-newline-mode)
3679 (global-whitespace-mode, global-whitespace-newline-mode)
3680 (whitespace-toggle-options, global-whitespace-toggle-options):
3683 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
3684 of xmltok-start before the end tag was inserted (Bug#2840).
3686 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
3687 patterns that are preceded by an open-paren (Bug#1320).
3689 2009-10-24 Sven Joachim <svenjoac@gmx.de>
3691 * files.el (delete-directory): Delete symlinks to directories with
3692 delete-file (Bug#4739).
3694 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
3696 * cedet/semantic/util.el (semantic-recursive-find-nonterminal-by-name):
3697 * cedet/semantic/tag.el (semantic-token-type-parent): Add WHEN
3698 argument to make-obsolete.
3700 * cedet/semantic/fw.el (semantic-alias-obsolete)
3701 (semantic-varalias-obsolete): Add optional WHEN argument.
3703 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
3705 * vc.el (vc-backend-for-registration): Rename from
3706 vc-get-backend-for-registration. Update callers.
3708 * international/mule-cmds.el (set-language-info-alist):
3710 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
3711 (charset): Purecopy the name.
3712 (define-char-code-property): Purecopy string arguments.
3714 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
3715 Purecopy string arguments.
3717 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
3718 * ediff-hook.el (menu-bar-ediff-menu):
3719 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
3720 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
3722 2009-10-24 Glenn Morris <rgm@gnu.org>
3724 * comint.el (comint-dynamic-list-completions):
3725 * term.el (term-dynamic-list-completions): Use choose-completion rather
3726 than obsolete alias mouse-choose-completion.
3728 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
3729 file-cache-choose-completion.
3730 (file-cache-choose-completion): Handle an optional event argument.
3731 (file-cache-mouse-choose-completion): Make it an obsolete alias.
3733 * progmodes/octave-mod.el (octave-complete-symbol):
3734 Use choose-completion if mouse-choose-completion is ever removed.
3736 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
3739 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
3742 * vc-hooks.el (vc-responsible-backend): Fix declaration.
3744 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3746 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
3747 Ignore `pred' now that we receive one.
3748 Handle test-completion specially.
3750 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
3752 * vc.el (vc-responsible-backend): Throw an error if not backend is
3753 found. Remove the REGISTER argument. Move the code dealing with
3755 (vc-get-backend-for-registration): ... here. New function.
3756 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
3757 of vc-responsible-backend, pass the file name instead of the
3760 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3762 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
3764 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
3765 (pcomplete-comint-setup): Don't modify a global var via
3766 accidental side-effects.
3767 (pcomplete-shell-setup): Adjust call accordingly.
3768 (pcomplete-parse-comint-arguments): Use push.
3770 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
3772 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
3773 Allow uncapitalized info node names (Bug#3921).
3775 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
3776 to the DEBUG file (Bug#3781).
3778 2009-10-23 Jari Aalto <jari.aalto@cante.net>
3780 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
3781 dictionary entry (Bug#4579).
3783 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
3785 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
3786 from `rfn-eshadow-update-overlay-hook' when unloading.
3787 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
3788 "rsyncc". Adjust doc string.
3789 (tramp-temp-buffer-file-name) New buffer-local defvar.
3790 (tramp-handle-insert-file-contents, tramp-handle-write-region):
3791 Keep temporary file when indicated by method ("rsync" and
3793 (tramp-handle-write-region): Handle APPEND.
3794 (tramp-delete-temp-file-function): New defun. Added to
3797 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
3799 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
3801 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
3803 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
3804 (color-name-rgb-alist, tty-standard-colors)
3805 (tty-color-mode-alist): Change to defconst.
3807 * simple.el (mark-inactive): Purecopy message.
3809 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
3810 (global-map, yank-menu):
3811 * textmodes/ispell.el (ispell-menu-map):
3812 * net/eudc.el (eudc-tools-menu):
3813 * international/mule-cmds.el (describe-language-environment-map)
3814 (setup-language-environment-map, set-coding-system-map)
3816 * vc-hooks.el (vc-menu-entry, vc-menu-map):
3817 * replace.el (occur-mode-map):
3818 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
3820 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
3822 * calc/calc.el (math-read-number, math-read-number-simple): Use
3825 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3827 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
3828 rather than fiddling with global-map bindings, since it should only
3829 affect per-terminal settings.
3830 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
3832 * minibuffer.el (completion-table-with-terminator): Allow to specify
3833 the terminator-regexp.
3835 * simple.el (switch-to-completions): Look for *Completions* in other
3838 * pcomplete.el: Allow the use of completion-tables.
3839 (pcomplete-std-complete): New command.
3840 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
3841 (pcomplete--here): Use a function for `form' rather than an expression,
3842 so it can be byte-compiled.
3843 (pcomplete-here, pcomplete-here*): Adjust accordingly.
3844 Add edebug declaration.
3845 (pcomplete-show-completions): Remove unused var `curbuf'.
3846 (pcomplete-do-complete, pcomplete-stub):
3847 Don't assume `completions' is a list of strings any more.
3849 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
3851 * find-dired.el (find-name-arg): Fix typo in docstring.
3853 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3855 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
3856 (pcmpl-linux-fs-types): Same, and update to new modules layout.
3858 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
3861 * comint.el (comint-read-input-ring, comint-write-input-ring)
3862 (comint-substitute-in-file-name)
3863 (comint-dynamic-complete-as-filename)
3864 (comint-dynamic-simple-complete)
3865 (comint-dynamic-list-filename-completions)
3866 (comint-dynamic-list-completions)
3867 (comint-redirect-results-list-from-process): Minor simplifications.
3869 2009-10-21 Kevin Ryde <user42@zip.com.au>
3871 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
3872 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
3873 the first form. And insert a blank line after ";;; Code" since
3874 that's usual style. (Bug#4612)
3876 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
3878 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3880 * minibuffer.el (completion-table-with-terminator): Properly implement
3881 boundaries, in case `terminator' appears in the suffix.
3882 (completion--embedded-envvar-table): Don't return boundaries if
3883 there's no valid completion. Simplify.
3884 (completion-file-name-table): New completion table extracted from
3885 completion--file-name-table.
3886 (completion--file-name-table): Use it.
3887 (read-file-name-predicate): Declare obsolete.
3888 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
3889 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
3890 completion-file-name-table, and use the `pred' argument.
3891 * files.el (locate-file-completion-table): Use the `pred' arg rather
3892 than read-file-name-predicate.
3893 (abbreviate-file-name): Use \` rather than ^ for BOS.
3895 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
3897 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
3898 vc-responsible-backend to register, it causes problems.
3900 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3902 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
3904 2009-10-21 Eric Ludlam <zappo@gnu.org>
3906 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init)
3907 (semantic-c-debug-mode-init-pch): New functions.
3908 (semantic-c-debug-mode-init-last-mode): New var.
3909 (semantic-c-parse-lexical-token): Use them.
3911 * cedet/semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace):
3912 When extracting the argument list, limit only by point-max.
3914 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
3916 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
3917 (tramp-smb-handle-file-attributes): Use it.
3918 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
3919 (tramp-smb-handle-insert-directory): Use `mapc' rather than
3920 `mapcar'. Use `tramp-smb-get-stat-capability'.
3921 Add `dired-filename' text properties.
3922 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
3923 (tramp-smb-maybe-open-connection): Simplify check for smbclient
3926 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
3928 * subr.el (read-key-delay): Reduce to 0.01.
3929 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
3932 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3934 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
3936 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
3937 (Info-menu): Remove unused vars `last' and `completions'.
3938 (Info-index-nodes): Remove unused var `node'.
3940 * info.el (Info-complete-menu-item): Use complete-with-action.
3942 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
3944 Make vc-annotate work through copies and renames.
3945 * vc-annotate.el (vc-annotate-extract-revision-at-line):
3946 Return the file name too.
3947 (vc-annotate-revision-at-line)
3948 (vc-annotate-find-revision-at-line)
3949 (vc-annotate-revision-previous-to-line)
3950 (vc-annotate-show-log-revision-at-line): Update to get the file
3951 name from vc-annotate-extract-revision-at-line.
3952 (vc-annotate-show-diff-revision-at-line-internal): Change the
3953 argument to mean whether to show a file diff or not. Get the file
3954 name from vc-annotate-extract-revision-at-line.
3955 (vc-annotate-show-diff-revision-at-line):
3956 Update vc-annotate-show-diff-revision-at-line call.
3957 (vc-annotate-warp-revision): Add an optional file argument.
3959 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
3960 (vc-git-annotate-extract-revision-at-line): Also return the file
3963 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
3964 command. Remove unused code.
3965 (vc-hg-annotate-re): Update to match --follow output.
3966 (vc-hg-annotate-extract-revision-at-line): Also return the file
3969 * vc.el: Update annotate-extract-revision-at-line documentation.
3971 2009-10-18 Kevin Ryde <user42@zip.com.au>
3973 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
3974 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
3976 * net/browse-url.el (browse-url): Identify alist with "consp and
3977 not functionp" and let all other things go down the `apply' leg,
3978 as suggested by Stefan. (Further to bug#4531.)
3980 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
3982 * minibuffer.el (read-file-name): Check for repeat before putting
3983 a default argument in file-name-history (Bug#4657).
3985 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
3986 read syntax (Bug#4737).
3988 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
3990 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3992 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
3993 (html-tag-alist, html-tag-help): Add descriptions for undocumented
3994 entries and make note of obsolete tags.
3996 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3998 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
4000 2009-10-18 Glenn Morris <rgm@gnu.org>
4002 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
4003 grep, so that binary files (eg international/uni-bidi.el) can match.
4004 Remove test for "UnicodeData" files, since it is hopefully unnecessary
4005 now, and in any case the file header format has changed.
4007 2009-10-17 Glenn Morris <rgm@gnu.org>
4009 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
4010 (flyspell-get-word, flyspell-large-region)
4011 (flyspell-auto-correct-previous-word): Doc/error message fixes.
4013 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
4015 * Makefile.in (ELCFILES): Add ede/shell.
4017 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
4019 * term/common-win.el (x-colors): Purecopy it.
4021 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4023 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
4024 permissive for when the buffer is empty.
4025 (tar-header-block-tokenize): Decode the username and groupname.
4026 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
4028 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
4030 * cedet/srecode/srt.el:
4031 * cedet/srecode/compile.el:
4032 * cedet/semantic/mru-bookmark.el:
4033 * cedet/semantic/debug.el:
4034 * cedet/semantic/complete.el:
4035 * cedet/semantic/analyze.el: Require CL when compiling.
4037 2009-10-17 Eric Ludlam <zappo@gnu.org>
4039 * cedet/semantic/scope.el
4040 (semantic-analyze-scoped-inherited-tag-map): Wrap calculation of
4041 tmpscope so that the regular scope will continue to work.
4043 * cedet/semantic/idle.el (semantic-idle-tag-highlight):
4044 Use semantic-idle-summary-highlight-face as the highlighting.
4046 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
4047 contains multibyte characters, choose first applicable coding
4048 system automatically.
4050 * cedet/ede/project-am.el (project-run-target): New method.
4051 (project-run-target): New method.
4053 * cedet/ede.el (ede-target): Add run target menu item.
4054 (ede-project, ede-minor-keymap): Add ede-run-target binding.
4055 (ede-run-target): New function.
4056 (ede-target::project-run-target): New method.
4058 * cedet/ede/proj.el (project-run-target): New method.
4060 * cedet/ede/proj-shared.el (ede-gcc-libtool-shared-compiler)
4061 (ede-g++-libtool-shared-compiler): Remove SHELL. Remove COMMANDS.
4063 (ede-proj-target-makefile-shared-object): Only libtool compilers
4064 now available. Add linkers for libtool.
4065 (ede-cc-linker-libtool, ede-g++-linker-libtool): New.
4066 (ede-proj-makefile-target-name): Always use .la extension.
4068 * cedet/ede/proj-prog.el (project-run-target): New method.
4070 * cedet/ede/proj-obj.el (ede-cc-linker): Rename from ede-gcc-linker.
4071 (ede-g++-linker): Change Change link lines.
4073 * cedet/ede/pmake.el (ede-pmake-insert-variable-shared):
4074 When searching for old variables, go to the end of the buffer and
4075 search backward from there.
4076 (ede-proj-makefile-automake-insert-subdirs)
4077 (ede-proj-makefile-automake-insert-extradist): New methods.
4078 (ede-proj-makefile-create): Use them.
4080 * cedet/ede/pconf.el (ede-proj-configure-test-required-file):
4081 Force FILE to expand to the current target. Use file-exists-p to
4082 check that it exists.
4084 * cedet/ede/linux.el (ede-linux-version): Don't call "head".
4085 (ede-linux-load): Wrap dir in file-name-as-directory.
4088 * cedet/ede/files.el (ede-get-locator-object): When enabling
4089 locate, do so on "top".
4091 * cedet/ede/emacs.el (ede-emacs-file-existing): Wrap "dir" in
4092 file-name-as-directory during compare.
4093 (ede-emacs-version): Return Emacs/XEmacs differentiator.
4094 Get version number from different places. Don't call egrep.
4095 (ede-emacs-load): Set :version slot. Call file-name-as-directory
4096 to set the directory.
4098 * cedet/ede/shell.el: New file.
4100 * cedet/inversion.el (inversion-decoders): Allow for stray . in
4101 alpha/beta variants.
4103 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4105 * international/mule-cmds.el (select-safe-coding-system): If the file
4106 has a coding cookie, use it regardless of any other setting (bug#4712).
4108 2009-10-17 Glenn Morris <rgm@gnu.org>
4110 * cedet/semantic/grammar.el (semantic-grammar--lex-delim-spec):
4111 All errors should have messages.
4113 * foldout.el (foldout-mouse-swallow-events):
4114 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
4116 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
4117 (dired-keep-marker-copy, dired-keep-marker-hardlink)
4118 (dired-keep-marker-symlink, dired-dwim-target)
4119 (dired-copy-preserve-time): Do not autoload these defcustoms.
4121 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
4122 messages from messing up the file coding. (Bug#4623)
4124 2009-10-17 Jari Aalto <jari.aalto@cante.net>
4126 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
4127 if no match is found for the current dictionary. (Bug#4578)
4129 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
4130 optional, since that is how it is documented, and this is often called
4131 with a nil argument. (Bug#4577)
4132 (flyspell-external-point-words, flyspell-auto-correct-word)
4133 (flyspell-correct-word-before-point, flyspell-word-search-forward)
4134 (flyspell-word-search-backward): Remove nil argument in calls to
4135 flyspell-get-word, since it is not needed now.
4137 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
4139 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
4141 2009-10-16 Glenn Morris <rgm@gnu.org>
4143 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
4145 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4147 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
4148 (ange-ftp-file-size): New function.
4149 (ange-ftp-file-attributes): Use it.
4151 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
4153 * net/tramp-smb.el (tramp-smb-version): New defvar.
4154 (tramp-smb-maybe-open-connection): Use it, in order to avoid
4157 2009-10-16 Glenn Morris <rgm@gnu.org>
4159 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
4160 Maybe copy some custom properties from old to new name. (Bug#4706)
4162 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
4164 * subr.el (error, sit-for, start-process-shell-command)
4165 (start-file-process-shell-command): Set the calling convention
4166 after the function definition.
4168 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
4170 * subr.el (error, sit-for, start-process-shell-command)
4171 (start-file-process-shell-command): Use the new
4172 set-advertised-calling-convention feature.
4174 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
4176 * international/ucs-normalize.el (ucs-normalize-version):
4178 (check-range): Adjust for Unicode 5.2.
4180 2009-10-15 Juri Linkov <juri@jurta.org>
4182 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
4183 to the `menu-item' format.
4185 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
4187 * net/tramp.el (tramp-replace-environment-variables): Do not fail
4188 if the environment variable does not exist.
4190 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
4191 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
4193 (tramp-smb-handle-add-name-to-file)
4194 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
4195 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
4196 (tramp-smb-handle-file-attributes)
4197 (tramp-smb-do-file-attributes-with-stat)
4198 (tramp-smb-handle-file-local-copy)
4199 (tramp-smb-handle-insert-directory)
4200 (tramp-smb-handle-make-directory)
4201 (tramp-smb-handle-make-directory-internal)
4202 (tramp-smb-handle-make-symbolic-link)
4203 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
4204 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
4205 (tramp-smb-maybe-open-connection): Apply the changed parameters.
4206 (tramp-smb-read-file-entry): Read Disk names in compressed format.
4207 Handle long file names.
4208 (tramp-smb-get-cifs-capabilities): Check, whether the connection
4210 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
4211 Read share names with "-g" option.
4213 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
4215 * net/rcirc.el (rcirc-view-log-file): New command.
4216 (rcirc-track-minor-mode-map): Remove C-c ` binding.
4217 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
4220 2009-10-15 Glenn Morris <rgm@gnu.org>
4222 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
4223 from the second command-line argument.
4224 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
4225 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
4226 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
4227 w32-batch-update-autoloads.
4228 * emacs-lisp/autoload.el (autoload-make-program): New variable.
4229 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
4231 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
4232 the headers cannot be located. Simplify, subtracting superflous
4235 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
4237 Replace completion-base-size by completion-base-position to fix bugs
4239 * simple.el (completion-base-position): New var.
4240 (completion-base-size): Mark as obsolete.
4241 (choose-completion): Make it work for mouse events as well.
4242 Pass the new base-position to choose-completion-string.
4243 (choose-completion-guess-base-position): New function, extracted from
4244 choose-completion-delete-max-match.
4245 (choose-completion-delete-max-match): Use it. Make obsolete.
4246 (choose-completion-string): Use the new base-position info.
4247 (completion-root-regexp): Delete.
4248 (completion-setup-function): Preserve completion-base-position.
4249 Eliminate obsolete base-size manipulation.
4250 * minibuffer.el (display-completion-list): Don't mess with base-size.
4251 (minibuffer-completion-help): Set completion-base-position instead.
4252 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
4254 * textmodes/bibtex.el (bibtex-complete):
4255 * emacs-lisp/crm.el (crm--choose-completion-string):
4256 Adjust to new calling convention.
4257 * complete.el (partial-completion-mode): Use minibufferp to avoid
4258 bumping into incompatible change to choose-completion-string-functions.
4259 * ido.el (ido-choose-completion-string): Make its calling convention
4261 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
4262 base-size manipulation.
4263 (comint-dynamic-list-input-ring): Use dotimes and push.
4264 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
4265 fundamental-mode. Use `or'.
4267 2009-10-14 Juri Linkov <juri@jurta.org>
4269 * misearch.el (multi-isearch-next-buffer-from-list)
4270 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
4272 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4274 * Makefile.in (compile-onefile): Load `bytecomp' rather than
4277 * minibuffer.el (completion-pcm--merge-completions): Make sure the
4278 string we return is all made up of text from the completions rather
4279 than part from the completions and part from the input (bug#4219).
4281 * ido.el (ido-everywhere): Use define-minor-mode.
4283 * buff-menu.el (list-buffers, ctl-x-map):
4284 Mark the entry points with ;;;###autoload cookies.
4286 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
4288 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
4289 correctly in the detached head case.
4290 (vc-git-print-log): Remove unused binding.
4292 * vc.el (vc-responsible-backend): When a directory is passed for
4293 for registration create a VC repository if no backend is
4294 responsible for the directory argument.
4295 (vc-deduce-fileset): Tell vc-responsible-backend to register.
4297 * vc.el: Move comments about RCS and SCCS ...
4299 * vc-sccs.el: ... here, respectively.
4301 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4303 * minibuffer.el (completion--file-name-table): Return nil if there's
4304 no file completion, even if substitute-in-file-name changed
4305 the string (bug#4708).
4307 2009-10-13 Juri Linkov <juri@jurta.org>
4309 * files-x.el (read-file-local-variable-value): Don't filter out
4310 minor modes from mode name completion (bug#4664).
4312 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
4314 * international/mule-cmds.el (ucs-names): Remove exclusion of
4315 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
4317 2009-10-13 Kenichi Handa <handa@m17n.org>
4319 * international/uni-name.el: Regenerated.
4321 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
4323 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
4324 should be automatically buffer-local, but isn't.)
4326 2009-10-12 Sam Steingold <sds@gnu.org>
4328 * progmodes/compile.el (compilation-next-error-function): Fix the
4329 timestamps if the buffer has been visited before.
4330 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
4331 non-anchored patterns, like the perl one (bug#3928).
4333 2009-10-12 Glenn Morris <rgm@gnu.org>
4335 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
4338 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
4340 * proced.el (proced-unload-function): New function.
4342 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
4343 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
4346 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
4348 2009-10-11 Juri Linkov <juri@jurta.org>
4350 * files-x.el (read-file-local-variable-value):
4351 Provide default value only for bound variables (bug#4664).
4353 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
4355 * net/tramp.el (tramp-local-host-p): Function shall return nil for
4356 connection methods like smb.
4358 * net/tramp-cache.el (tramp-flush-connection-property): The hash
4361 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
4362 (tramp-smb-file-name-handler-alist): Add handlers for
4363 `add-name-to-file', `make-symbolic-link'.
4364 (tramp-smb-handle-add-name-to-file)
4365 (tramp-smb-do-file-attributes-with-stat)
4366 (tramp-smb-handle-make-symbolic-link)
4367 (tramp-smb-get-cifs-capabilities): New defuns.
4368 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
4369 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
4370 (tramp-smb-handle-file-local-copy)
4371 (tramp-smb-handle-make-directory-internal)
4372 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
4373 The file name syntax depends on cifs capabilities.
4374 (tramp-smb-handle-file-attributes):
4375 Call `tramp-smb-do-file-attributes-with-stat' if possible.
4376 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
4377 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
4379 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
4381 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
4382 (eieio-defclass): Apply deftype handler and setf-method properties
4384 (eieio-add-new-slot): Avoid union function from cl library.
4385 (eieio--typep): New function.
4386 (eieio-perform-slot-validation): Use it.
4388 2009-10-10 Karl Fogel <kfogel@red-bean.com>
4390 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
4391 Update documentation to refer to the variables documented in r1.135.
4394 2009-10-10 Karl Fogel <kfogel@red-bean.com>
4396 * bookmark.el (Info-suffix-list): Remove this unused variable.
4397 (bookmark-current-point): Remove this obsolete variable.
4398 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
4399 Adjust for removal of bookmark-current-point.
4401 (bookmarks-already-loaded, bookmark-current-buffer)
4402 (bookmark-yank-point): Document. (Bug#4188)
4404 2009-10-10 Glenn Morris <rgm@gnu.org>
4406 * frame.el (frame-height): Doc fix.
4408 * calendar/calendar.el (calendar-split-width-threshold): New option.
4409 (calendar-basic-setup): Use calendar-split-width-threshold.
4411 2009-10-10 Sascha Wilde <wilde@sha-bang.de>
4413 * cedet/ede/proj-shared.el (ede-proj-makefile-target-name):
4414 Use .la for Automake.
4416 2009-10-09 Chong Yidong <cyd@stupidchicken.com>
4418 * cedet/ede/pconf.el (ede-proj-configure-synchronize):
4419 Use "autoreconf -i". Suggested by Andreas Schwab.
4421 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
4423 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
4424 Ideographic Supplement" range (U+1F200..U+1F2FF).
4426 2009-10-09 Karl Fogel <kfogel@red-bean.com>
4428 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
4429 since the list will have been rebuilt anyway. (Bug#4349)
4431 2009-10-09 Karl Fogel <kfogel@red-bean.com>
4433 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
4434 (bookmark-bmenu-execute-deletions): Don't save here, as
4435 bookmark-delete will now do so if necessary.
4436 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
4439 2009-10-09 Glenn Morris <rgm@gnu.org>
4441 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
4443 2009-10-09 Karl Fogel <kfogel@red-bean.com>
4445 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
4446 (bookmark-jump-other-window): Just invoke bookmark-jump with new
4447 argument now, so the two function's behaviors will match. (Bug#3645)
4449 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
4451 * cedet/ede/proj.el (project-make-dist, project-compile-project):
4453 (ede-proj-dist-makefile): Use expand-file-name instead of concat
4454 to expand file names.
4456 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
4458 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
4459 (tramp-file-name-real-host, tramp-file-name-port):
4460 Apply `save-match-data'.
4462 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
4463 case both directories are remote.
4464 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
4465 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
4467 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
4469 * cedet/ede/proj-obj.el (ede-gcc-linker): New var.
4470 (ede-proj-target-makefile-objectcode): Use it.
4472 * cedet/ede/source.el (ede-want-any-source-files-p)
4473 (ede-want-any-auxiliary-files-p, ede-want-any-files-p):
4474 Return search result. This error was introduced while merging.
4476 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
4478 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
4480 2009-10-07 Glenn Morris <rgm@gnu.org>
4482 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
4485 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4487 * files-x.el (read-file-local-variable): Include some
4488 non-user-variables in the completion table (bug#4664).
4490 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
4492 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
4495 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
4496 (tramp-smb-file-name-handler-alist): Add handler for
4497 `copy-directory', `expand-file-name', `set-file-modes'.
4498 (tramp-smb-handle-copy-directory)
4499 (tramp-smb-handle-expand-file-name)
4500 (tramp-smb-handle-set-file-modes): New defuns.
4501 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
4502 (tramp-smb-handle-file-attributes): Simplify check for retrieving
4504 (tramp-smb-handle-insert-directory): Don't flush the cache.
4505 (tramp-smb-maybe-open-connection): Check for samba client and
4508 2009-10-07 Eli Zaretskii <eliz@gnu.org>
4510 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
4511 to not error out of search for "^lisp=" fails.
4513 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
4515 * makefile.w32-in (WINS_UPDATES): New macro.
4516 (custom-deps, finder-data, autoloads): Use it.
4518 2009-10-07 Glenn Morris <rgm@gnu.org>
4520 * Makefile.in (autoloads): Revert previous change.
4521 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
4522 the list of preloaded files passed on the command-line, get
4523 it from src/Makefile.
4525 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
4526 show the original buffer rather than a random one.
4528 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
4530 * help.el (describe-no-warranty): Place point in a slightly better
4531 position in the GPLv3 text.
4533 2009-10-06 Sam Steingold <sds@gnu.org>
4535 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
4536 the comm attribute is present before calling regexp-quote.
4538 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
4540 * play/animate.el (animate-string): For good effect, make sure
4541 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
4543 * play/animate.el (animate-sequence, animate-birthday-present):
4544 * misc.el (butterfly): Don't set `indent-tabs-mode'.
4546 2009-10-06 Glenn Morris <rgm@gnu.org>
4548 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
4550 * emacs-lisp/autoload.el (autoload-excludes): New variable.
4551 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
4552 (batch-update-autoloads): Process a string value of autoload-excludes,
4553 set during the build process.
4554 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
4556 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
4557 inside with-parsed... macro so that `v' is defined.
4559 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
4560 * progmodes/fortran.el (fortran-end-of-block)
4561 (fortran-beginning-of-block):
4562 Also push mark in the macro case.
4564 * emerge.el (emerge-show-file-name):
4565 * calc/calc.el (calc-quit):
4566 * calc/calc-misc.el (calc-big-or-small):
4567 * calc/calc-graph.el (calc-graph-view):
4568 * calc/calc-ext.el (calc-reset):
4569 * calendar/calendar.el (calendar-basic-setup):
4570 Use window-full-height-p.
4572 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
4573 header we don't understand, don't insert another. (Bug#4624)
4574 If changing mime charset, insert the new one in the right place.
4576 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
4578 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
4579 (cal-tex-cursor-month): Correctly increment the end date for diary and
4580 holiday listing. (Bug#4626)
4582 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4584 * help-fns.el (describe-function-1): Don't burp if the function is not
4587 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
4589 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
4590 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
4591 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
4592 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
4594 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
4595 (eieio-default-superclass): Reflow docstrings.
4596 (this, class-option-assoc, defclass, eieio-class-un-autoload)
4597 (eieio-unbind-method-implementations, defmethod)
4598 (eieio-validate-slot-value, eieio-validate-class-slot-value)
4599 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
4600 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
4601 (eieio-slot-originating-class-p, eieio-slot-name-index)
4602 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
4603 (constructor, initialize-instance, no-next-method, object-print)
4604 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
4605 Fix typos in docstrings.
4606 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
4607 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
4608 (next-method-p): Doc fixes.
4609 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
4610 Fix typos in error messages.
4611 (eieio-defmethod): Fix typo in description of generic method.
4613 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
4614 (eieio-persistent-save-interactive, slot-missing):
4615 Fix typos in docstrings.
4616 (eieio-instance-inheritor-slot-boundp): Doc fix.
4618 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
4619 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
4621 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
4622 (eieio-custom-object-apply-reset):
4623 Fix typos in docstrings and error messages.
4625 * emacs-lisp/eieio-datadebug.el (data-debug-show):
4626 Fix typo in docstring.
4628 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
4629 (eieio-browse-tree): Doc fix.
4630 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
4631 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
4632 Fix typos in docstrings.
4634 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
4635 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
4636 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
4637 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
4640 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
4642 * vc-hg.el (log-view-vc-backend): Declare for compiler.
4643 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
4644 Set log-view-vc-backend so that diff can work.
4646 * log-view.el (log-view-diff): Use vc-diff-internal instead of
4648 (vc-diff-internal): Autoload this instead of vc-version-diff.
4650 2009-10-05 Eli Zaretskii <eliz@gnu.org>
4652 * simple.el (eval-expression): Doc fix.
4654 * progmodes/cwarn.el (cwarn-mode): Doc fix.
4656 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
4658 * files.el (directory-files-no-dot-files-regexp): New defconst.
4659 (delete-directory): Use it.
4660 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
4662 * net/tramp.el (tramp-verbose): Fix docstring.
4663 (tramp-methods): Add recursive option to `tramp-copy-args'.
4664 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
4665 "scp1_old", "scp2_old", "rsync", "rsyncc".
4666 (tramp-default-method): Check also for `auth-source-user-or-password'.
4667 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
4668 Add handler for `copy-directory'.
4669 (tramp-handle-copy-directory): New defun.
4670 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
4671 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
4672 Optimize sent command.
4674 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4676 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
4677 window if necessary.
4679 * calendar/calendar.el (calendar-basic-setup): Don't call
4680 switch-to-buffer in a dedicated window.
4682 2009-10-05 Karl Fogel <kfogel@red-bean.com>
4684 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
4685 don't do anything related to relocating, just return nil.
4686 (bookmark-error-no-filename): New error.
4687 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
4688 bookmark has no file. Don't even attempt to handle things that
4689 are not files; the whole point of custom handlers is to keep that
4690 knowledge elsewhere anyway. Tighten some comments.
4691 (bookmark-file-or-variation-thereof): Remove now-unused function.
4692 (bookmark-location): Doc string fix.
4695 2009-10-04 Karl Fogel <kfogel@red-bean.com>
4697 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
4698 don't use a file dialog, because they usually don't know how to read
4699 a directory target from the user. (Bug#4230)
4700 Also, make sure the prompt can display directories as well as files.
4702 2009-10-04 Karl Fogel <kfogel@red-bean.com>
4704 * bookmark.el (bookmark-set, bookmark-buffer-name):
4705 Improve doc strings. (Bug#1193)
4707 2009-10-04 Karl Fogel <kfogel@red-bean.com>
4709 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
4710 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
4711 (bookmark-get-annotation, bookmark-set-annotation)
4712 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
4713 (bookmark-set-position, bookmark-get-front-context-string)
4714 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
4715 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
4716 (bookmark-jump-other-window, bookmark-handle-bookmark)
4717 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
4718 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
4719 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
4720 Improve doc strings to say whether bookmark can be a string or
4721 a record or both, and make other consistency and clarity fixes.
4722 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
4723 (bookmark-default-annotation-text, bookmark-yank-word)
4724 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
4725 (bookmark-import-new-list, bookmark-maybe-rename)
4726 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
4727 (bookmark-bmenu-bookmark): Give these doc strings.
4728 (bookmark-bmenu-check-position): Give this a doc string, but also
4729 add a FIXME comment about how the function may be pointless.
4730 (bookmark-default-handler): Rework doc string and change a
4731 parameter name, to clarify that this takes a bookmark record
4732 not a bookmark name.
4733 (bookmark-set): Change a parameter name to indicate its meaning,
4734 and improve the doc string a bit.
4737 2009-10-04 Karl Fogel <kfogel@red-bean.com>
4739 * bookmark.el (bookmark-alist): Document the new `handler' element
4741 (bookmark-make-record-function): Adjust documentation for above.
4744 2009-10-04 Karl Fogel <kfogel@red-bean.com>
4746 * info.el (Info-bookmark-make-record): Document this function.
4747 (Info-bookmark-jump): Document with a doc string, not just a comment.
4750 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
4752 * cedet/semantic.el (semantic-new-buffer-setup-functions): New option.
4753 (semantic-new-buffer-fcn): Call parser setup functions here.
4754 (semantic-mode): Don't call parser setup functions here, it's done
4755 in semantic-new-buffer-fcn now.
4756 (semantic-mode): Parse all existing buffers when enabled.
4758 * cedet/srecode/compile.el (srecode-compile-file):
4759 Call semantic-new-buffer-fcn if the buffer has not been parsed.
4761 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
4763 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): Delete.
4765 * cedet/ede/proj-comp.el: Don't require ede/pmake at toplevel.
4766 (proj-comp-insert-variable-once): New macro, renamed from
4767 ede-pmake-insert-variable-once in ede/pmake.edl.
4768 (ede-proj-makefile-insert-variables): Use it.
4770 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
4772 * files.el (copy-directory): New defun.
4774 * dired-aux.el (dired-copy-file-recursive): Use it.
4776 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
4778 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
4779 (makefile-end-of-command):
4780 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
4781 (semantic-end-of-context): Fix previous change. Doc fixes.
4783 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
4785 * files-x.el (modify-dir-local-variable)
4786 (copy-dir-locals-to-file-locals-prop-line):
4787 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
4788 (makefile-end-of-command):
4789 * cedet/semantic/lex.el (semantic-lex-token):
4790 * cedet/semantic/analyze/fcn.el
4791 (semantic-analyze-dereference-metatype-1):
4792 * cedet/semantic/bovine/c.el (semantic-lex-cpp-define)
4793 (semantic-lex-cpp-undef):
4794 * cedet/semantic/wisent/wisent.el (wisent-skip-block):
4795 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
4796 (semantic-end-of-context): Fix typos in docstrings.
4798 * recentf.el (recentf-unload-function): New function.
4800 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
4802 * cedet/ede.el (ede-project-placeholder-cache-file):
4803 * cedet/semantic/db-file.el (semanticdb-default-save-directory):
4804 * cedet/srecode/map.el (srecode-map-save-file):
4805 Use locate-user-emacs-file. Suggested by Juanma Barranquero.
4807 2009-10-04 Glenn Morris <rgm@gnu.org>
4809 * window.el (window-full-height-p): Add doc string.
4811 2009-10-04 Martin Rudalics <rudalics@gmx.at>
4813 * window.el (window-full-height-p): New function. (Bug#4543)
4815 2009-10-03 Chong Yidong <cyd@stupidchicken.com>
4817 * cedet/srecode/insert.el: Require srecode/args.
4819 * cedet/srecode/args.el: Require srecode/dictionary instead of
4822 * cedet/srecode/srt-mode.el (srecode-template-mode): Doc fix.
4824 * files.el (auto-mode-alist): Add .srt and Project.ede.
4826 * cedet/semantic.el (semantic-mode):
4827 Handle srecode-template-mode-hook as well.
4828 (semantic-mode): Use js-mode-hook for Javascript hook.
4830 * cedet/srecode/template.el: Remove hook variable.
4832 * cedet/ede/proj-comp.el: Require ede/pmake when compiling.
4834 * cedet/ede.el (ede-target-forms-menu): Don't enable if no
4836 (ede-project-placeholder-cache-file): Default to a file in
4837 user-emacs-directory.
4839 * cedet/srecode/map.el (srecode-map-base-template-dir): Look for
4840 templates in data-directory.
4841 (srecode-map-save-file): Default to a file in user-emacs-directory.
4843 * cedet/ede/srecode.el (ede-srecode-setup): Use default templates
4846 2009-09-30 Eric Ludlam <zappo@gnu.org>
4848 * cedet/semantic/util-modes.el (semantic-highlight-func-mode):
4851 * cedet/ede/proj-comp.el (ede-proj-makefile-insert-variables):
4852 Only insert each variable once.
4854 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): New macro.
4855 (ede-pmake-insert-variable-shared): Use it.
4857 * cedet/ede/cpp-root.el (ede-preprocessor-map): Do not deref table
4858 for lexical table iff table is nil.
4860 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
4862 * vc.el: Remove commented out code.
4863 (vc-derived-from-dir-mode): Remove, unused.
4864 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
4866 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
4868 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
4869 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
4870 there could be recursive loading when `default-directory' is a
4871 remote file name. (Bug#4614)
4873 2009-10-03 Glenn Morris <rgm@gnu.org>
4875 * calendar/calendar.el (calendar-basic-setup): Handle the case where
4877 (calendar-generate-window): Test for shrinkability rather than width.
4879 * cedet/semantic/db-find.el (data-debug-insert-tag-list): Comment out
4880 declaration, currently false.
4882 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
4883 reusing existing buffers, in case we happen to visit two files with the
4884 same basename. (Bug#4593)
4886 2009-10-02 Eli Zaretskii <eliz@gnu.org>
4888 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
4889 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
4890 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
4891 subdirs of cedet as well.
4892 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
4894 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4896 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
4897 Obey advertised-signature-table.
4899 * help-fns.el (help-function-arglist): Don't check
4900 advertised-signature-table.
4901 (describe-function-1): Do it here instead so it also applies to subrs.
4903 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
4905 * simple.el (start-file-process): Say in the doc-string, that file
4906 handlers might not support pty association, if PROGRAM is nil.
4908 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
4909 HOST and USER are strings. They are nil, when there are
4910 incomplete entries in ~/.netrc, for example.
4911 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
4912 root directory ("device busy" error otherwise).
4914 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
4915 Flush file properties of created directory.
4917 2009-10-02 Eli Zaretskii <eliz@gnu.org>
4919 * makefile.w32-in (WINS_BASIC): Remove cedet.
4920 (WINS_CEDET): Add cedet.
4921 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
4923 2009-10-02 Kevin Ryde <user42@zip.com.au>
4925 * net/browse-url.el (browse-url): Pass any symbol in
4926 browse-url-browser-function to `apply', since if you've mistakenly put
4927 an unbound symbol then the error is clearer. (Bug#4531)
4929 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
4931 * allout.el (allout-init, allout-back-to-current-heading)
4932 (allout-beginning-of-current-entry, allout-ascend-to-depth)
4933 (allout-ascend, allout-up-current-level, allout-end-of-level)
4934 (allout-previous-visible-heading, allout-forward-current-level)
4935 (allout-backward-current-level, allout-show-children):
4936 * apropos.el (apropos-describe-plist):
4937 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
4938 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
4939 * completion.el (add-completion, add-permanent-completion):
4940 * descr-text.el (describe-text-category, describe-char):
4941 * desktop.el (desktop-lazy-abort):
4942 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
4943 * dired.el (dired-build-subdir-alist):
4944 * ediff.el (ediff-version):
4945 * elide-head.el (elide-head, elide-head-show):
4946 * emerge.el (emerge-version):
4948 * face-remap.el (variable-pitch-mode):
4949 * faces.el (describe-face):
4950 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
4952 * files.el (find-file-existing, auto-save-mode):
4953 * font-lock.el (font-lock-fontify-buffer):
4954 * help-fns.el (describe-function, describe-variable)
4955 (describe-syntax, describe-categories):
4956 * help.el (view-lossage, describe-bindings, describe-key)
4958 * hexl.el (hexl-current-address):
4959 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
4960 * info.el (Info-goto-emacs-key-command-node):
4961 * log-edit.el (log-edit-insert-cvs-template)
4962 (log-edit-insert-cvs-rcstemplate):
4963 * menu-bar.el (menu-bar-mode):
4964 * mouse.el (mouse-appearance-menu):
4965 * newcomment.el (comment-indent-new-line):
4966 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
4967 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
4968 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
4969 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
4970 * recentf.el (recentf-mode):
4971 * savehist.el (savehist-mode, savehist-save):
4972 * shadowfile.el (shadow-copy-files):
4973 * simple.el (kill-ring-save, next-line, previous-line)
4974 (normal-erase-is-backspace-mode):
4975 * strokes.el (strokes-update-window-configuration)
4976 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
4977 (strokes-xpm-for-stroke):
4978 * time.el (emacs-uptime, emacs-init-time):
4979 * tutorial.el (tutorial--describe-nonstandard-key)
4980 (tutorial--detailed-help):
4981 * type-break.el (type-break-mode)
4982 (type-break-mode-line-message-mode, type-break-query-mode)
4983 (type-break-guesstimate-keystroke-threshold):
4984 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
4985 * version.el (emacs-version):
4986 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
4987 * winner.el (winner-mode):
4988 * calendar/timeclock.el (timeclock-in, timeclock-out)
4989 (timeclock-status-string, timeclock-change)
4990 (timeclock-workday-remaining-string)
4991 (timeclock-workday-elapsed-string)
4992 (timeclock-when-to-leave-string):
4993 * calendar/todo-mode.el (todo-add-category):
4994 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
4995 * emacs-lisp/autoload.el (update-file-autoloads):
4996 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
4997 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
4998 (checkdoc-message-text, checkdoc-defun):
4999 * emacs-lisp/debug.el (debugger-list-functions):
5000 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
5001 * emacs-lisp/eieio-opt.el (eieio-describe-class)
5002 (eieio-describe-generic):
5003 * emacs-lisp/lisp-mnt.el (lm-synopsis):
5004 * emacs-lisp/shadow.el (list-load-path-shadows):
5005 * emulation/cua-base.el (cua-mode):
5006 * emulation/edt.el (edt-set-scroll-margins):
5007 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
5008 (tpu-toggle-regexp, tpu-toggle-search-direction)
5009 (tpu-toggle-rectangle, tpu-toggle-control-keys):
5010 * emulation/tpu-extras.el (tpu-set-scroll-margins):
5011 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
5012 (viper-set-parsing-style-toggling-macro)
5013 (viper-set-emacs-state-searchstyle-macros):
5014 * emulation/viper.el (viper-set-hooks):
5015 * eshell/esh-mode.el (eshell-truncate-buffer):
5016 * international/mule-cmds.el (prefer-coding-system)
5017 (describe-input-method, describe-language-environment):
5018 * international/mule-diag.el (list-character-sets)
5019 (describe-character-set, describe-coding-system)
5020 (describe-fontset, list-fontsets, list-input-methods):
5021 * mail/sendmail.el (mail-signature):
5022 * net/ange-ftp.el (ange-ftp-copy-file):
5023 * net/browse-url.el (browse-url):
5024 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
5025 * net/quickurl.el (quickurl-add-url):
5026 * net/rcirc.el (names, topic):
5027 * net/xesam.el (xesam-mode):
5028 * play/5x5.el (5x5-new-game):
5029 * play/yow.el (apropos-zippy):
5030 * progmodes/ada-mode.el (ada-mode-version):
5031 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
5033 (f90-beginning-of-block):
5034 * progmodes/fortran.el (fortran-end-of-block)
5035 (fortran-beginning-of-block):
5036 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
5037 * progmodes/python.el (python-describe-symbol, python-shell):
5038 * term/ns-win.el (ns-print-buffer):
5039 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
5040 * textmodes/flyspell.el (flyspell-mode-on):
5041 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
5042 (pages-directory-for-addresses):
5043 * textmodes/table.el (table-recognize-cell)
5044 (table-query-dimension, table-generate-source)
5045 (table-insert-sequence, table--warn-incompatibility):
5046 * textmodes/tex-mode.el (tex-validate-buffer):
5047 * textmodes/texinfmt.el (texinfmt-version)
5048 (texinfo-format-buffer):
5049 Use `called-interactively-p' instead of `interactive-p'.
5051 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
5053 * image-mode.el (image-toggle-display):
5054 * emacs-lisp/elp.el (elp-instrument-function):
5055 * emacs-lisp/advice.el (ad-make-advised-definition):
5056 * emacs-lisp/easy-mmode.el (define-minor-mode):
5057 * net/browse-url.el (browse-url-maybe-new-window):
5058 * progmodes/sh-script.el (sh-learn-buffer-indent):
5059 Pass new argument 'any to `called-interactively-p'.
5061 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
5063 * international/uni-bidi.el:
5064 * international/uni-category.el:
5065 * international/uni-combining.el:
5066 * international/uni-comment.el:
5067 * international/uni-decimal.el:
5068 * international/uni-decomposition.el:
5069 * international/uni-digit.el:
5070 * international/uni-lowercase.el:
5071 * international/uni-mirrored.el:
5072 * international/uni-name.el:
5073 * international/uni-numeric.el:
5074 * international/uni-old-name.el:
5075 * international/uni-titlecase.el:
5076 * international/uni-uppercase.el:
5077 Regenerate from Unicode 5.2.0 data.
5079 2009-10-01 Glenn Morris <rgm@gnu.org>
5081 * Makefile.in (ELCFILES): Regenerate.
5083 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5085 * subr.el (interactive-p): Mark obsolete.
5086 (called-interactively-p): Make the optional-ness of `kind' obsolete.
5087 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
5088 advertised-signature-table for subroutines as well.
5090 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
5091 (set-advertised-calling-convention): New function.
5092 (make-obsolete, define-obsolete-function-alias)
5093 (make-obsolete-variable, define-obsolete-variable-alias):
5094 Make the optional-ness of `when' obsolete.
5095 (define-obsolete-face-alias): Make `when' non-optional.
5096 * help-fns.el (help-function-arglist):
5097 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
5098 Use advertised-signature-table.
5100 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
5102 * files.el (delete-directory): New defun. The original function
5103 in fileio.c has been renamed to `delete-directory-internal'.
5105 * dired.el (dired-delete-file): Call `delete-directory' with
5106 RECURSIVE parameter.
5108 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
5109 parameter RECURSIVE. Implementation is missing.
5111 * net/tramp.el (tramp-handle-make-directory): Flush upper
5112 directory's file properties.
5113 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
5114 (tramp-handle-dired-recursive-delete-directory): Flush directory
5115 properties after the remove command only.
5117 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
5118 Handle optional parameter RECURSIVE.
5120 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
5121 Handle optional parameter RECURSIVE.
5123 * net/tramp-smb.el (tramp-smb-errors): Add error message for
5125 (tramp-smb-handle-delete-directory): Handle optional parameter
5128 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5130 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
5131 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
5132 (byte-compile-defmacro): Use backquotes.
5134 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
5136 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
5137 has no associated file.
5138 (vc-resynch-buffer): Use vc-dir-buffers.
5140 2009-10-01 Glenn Morris <rgm@gnu.org>
5142 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
5144 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
5145 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
5146 * emacs-lisp/eieio-opt.el (eieio-describe-class):
5147 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
5148 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
5149 (eieio-copy-parents-into-subclass, make-instance, class-children)
5150 (eieio-generic-form):
5151 * cedet/cedet-files.el (cedet-directory-name-to-file-name):
5152 * cedet/cedet-idutils.el (cedet-idutils-search)
5153 (cedet-idutils-expand-filename, cedet-idutils-support-for-directory)
5154 (cedet-idutils-version-check):
5155 * cedet/cedet.el (cedet-version):
5156 * cedet/data-debug.el (data-debug-insert-overlay-button)
5157 (data-debug-insert-overlay-list-button)
5158 (data-debug-insert-buffer-button)
5159 (data-debug-insert-buffer-list-button)
5160 (data-debug-insert-process-button, data-debug-insert-ring-button)
5161 (data-debug-insert-widget, data-debug-insert-stuff-list-button)
5162 (data-debug-insert-stuff-vector-button)
5163 (data-debug-insert-symbol-button, data-debug-insert-string)
5164 (data-debug-insert-number, data-debug-insert-lambda-expression)
5165 (data-debug-insert-nil, data-debug-insert-simple-thing)
5166 (data-debug-insert-custom, data-debug-edebug-expr):
5167 * cedet/ede.el (ede-auto-add-method, ede-project-class-files)
5168 (global-ede-mode-map, ede-new, ede-debug-target)
5169 (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set):
5170 * cedet/semantic.el (semantic-minimum-working-buffer-size)
5171 (semantic-fetch-tags, semantic-submode-list)
5172 (semantic-default-submodes):
5173 * cedet/ede/source.el (ede-source-match):
5174 * cedet/ede/project-am.el (project-am-type-alist, project-add-file)
5175 (project-am-package-info):
5176 * cedet/ede/proj.el (ede-proj-target, project-new-target):
5177 * cedet/ede/proj-elisp.el (ede-proj-tweak-autoconf):
5178 * cedet/ede/proj-comp.el (ede-current-build-list):
5179 * cedet/ede/makefile-edit.el (makefile-move-to-macro):
5180 * cedet/ede/files.el (ede-toplevel-project-or-nil):
5181 * cedet/ede/cpp-root.el (initialize-instance):
5182 * cedet/ede/autoconf-edit.el (autoconf-find-last-macro)
5183 (autoconf-parameter-strip, autoconf-insert-new-macro):
5184 * cedet/semantic/wisent.el (wisent-lex-eoi):
5185 * cedet/semantic/util-modes.el (global-semantic-show-parser-state-mode)
5186 (semantic-show-parser-state-mode):
5187 * cedet/semantic/texi.el (semantic-texi-environment-regexp):
5188 * cedet/semantic/tag.el (semantic-tag-new-variable)
5189 (semantic-tag-class, semantic-tag-new-variable, semantic-tag-copy)
5190 (semantic--tag-deep-copy-attributes, semantic--tag-deep-copy-value)
5191 (semantic--tag-deep-copy-tag-list)
5192 (semantic-tag-components-with-overlays-default):
5193 * cedet/semantic/symref.el (semantic-symref-find-text):
5194 * cedet/semantic/senator.el (senator-yank-tag)
5195 (senator-transpose-tags-up):
5196 * cedet/semantic/scope.el (semantic-analyze-scoped-tags-default)
5197 (semantic-analyze-scoped-inherited-tags, semantic-scope-find):
5198 * cedet/semantic/sb.el (semantic-sb-autoexpand-length):
5199 * cedet/semantic/lex.el (semantic-lex-comment-regex)
5200 (semantic-lex-maximum-depth, define-lex, semantic-lex-token)
5201 (semantic-lex-unterminated-syntax-protection, define-lex-analyzer):
5202 * cedet/semantic/lex-spp.el
5203 (semantic-lex-spp-dynamic-macro-symbol-obarray-stack)
5204 (semantic-lex-spp-symbol, semantic-lex-spp-one-token-to-txt):
5205 * cedet/semantic/idle.el
5206 (semantic-idle-summary-current-symbol-info-brutish)
5207 (semantic-idle-summary-current-symbol-info-default):
5208 * cedet/semantic/grammar.el (semantic-grammar-recreate-package)
5209 (semantic--grammar-macro-compl-dict):
5210 * cedet/semantic/grammar-wy.el (semantic-grammar-wy--parse-table):
5211 * cedet/semantic/format.el (semantic-format-tag-custom-list)
5212 (semantic-format-tag-canonical-name-default):
5213 * cedet/semantic/find.el (semantic-find-tag-by-overlay-in-region)
5214 (semantic-find-tags-for-completion)
5215 (semantic-find-tags-by-scope-protection-default)
5216 (semantic-deep-find-tags-for-completion):
5217 * cedet/semantic/edit.el
5218 (semantic-edits-incremental-reparse-failed-hook)
5219 (semantic-edits-verbose-flag, semantic-edits-assert-valid-region)
5220 (semantic-edits-splice-remove, semantic-edits-splice-replace):
5221 * cedet/semantic/doc.el (semantic-documentation-comment-preceeding-tag):
5222 * cedet/semantic/dep.el (semantic-dependency-include-path):
5223 * cedet/semantic/db.el (semanticdb-default-find-index-class)
5224 (semanticdb-match-any-mode, semanticdb-with-match-any-mode)
5225 (semanticdb-project-roots):
5226 * cedet/semantic/db-find.el (semanticdb-implied-include-tags)
5227 (semanticdb-find-adebug-insert-scanned-tag-cons)
5228 (semanticdb-find-log-buffer-name, semanticdb-find-result-mapc)
5229 (semanticdb-brute-deep-find-tags-for-completion):
5230 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-add-tree-to-table):
5231 * cedet/semantic/ctxt.el (semantic-beginning-of-context-default)
5232 (semantic-end-of-context-default)
5233 (semantic-ctxt-current-function-default)
5234 (semantic-ctxt-scoped-types-default):
5235 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
5236 (semantic-complete-inline-tag-engine)
5237 (semantic-complete-inline-custom-type)
5238 (semantic-complete-read-tag-analyzer):
5239 * cedet/semantic/chart.el (semantic-chart-tags-by-class)
5240 (semantic-chart-database-size):
5241 * cedet/semantic/analyze.el (semantic-analyze-current-symbol)
5242 (semantic-analyze-current-context):
5243 * cedet/semantic/symref/list.el (semantic-symref)
5244 (semantic-symref-hide-buffer, semantic-symref-symbol):
5245 * cedet/semantic/symref/grep.el (semantic-symref-grep-use-template):
5246 * cedet/semantic/symref/filter.el (semantic-symref-hits-in-region):
5247 * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string):
5248 * cedet/semantic/bovine/c.el (semantic-lex-c-preprocessor-symbol-map)
5249 (semantic-c-parse-token-hack-depth, semantic-c--template-name-1)
5250 (semantic-c-dereference-template):
5251 * cedet/semantic/analyze/refs.el (semantic--analyze-refs-full-lookup)
5252 (semantic--analyze-refs-full-lookup-with-parents)
5253 (semantic--analyze-refs-full-lookup-simple):
5254 * cedet/semantic/analyze/complete.el
5255 (semantic-analyze-possible-completions):
5256 * cedet/srecode/table.el (srecode-mode-table-new):
5257 * cedet/srecode/srt.el (srecode-read-variable-name):
5258 * cedet/srecode/srt-mode.el (srecode-macro-help, srecode-in-macro-p):
5259 * cedet/srecode/semantic.el (srecode-semantic-handle-:tag)
5260 (srecode-semantic-handle-:tagtype, srecode-semantic-insert-tag):
5261 * cedet/srecode/map.el (srecode-current-map):
5262 * cedet/srecode/insert.el (srecode-insert)
5263 (srecode-insert-variable-secondname-handler, srecode-insert-method)
5264 (srecode-template-inserter-point-override)
5265 (srecode-insert-include-lookup):
5266 * cedet/srecode/getset.el (srecode-auto-choose-class):
5267 * cedet/srecode/extract.el (srecode-inserter-extract):
5268 * cedet/srecode/document.el
5269 (srecode-document-autocomment-return-last-alist)
5270 (srecode-document-autocomment-param-type-alist)
5271 (srecode-document-insert-function-comment)
5272 (srecode-document-insert-variable-one-line-comment)
5273 (srecode-document-function-name-comment):
5274 * cedet/srecode/dictionary.el (srecode-create-dictionary)
5275 (srecode-compound-toString):
5276 * cedet/srecode/compile.el (srecode-flush-active-templates):
5277 * cedet/srecode/args.el (srecode-semantic-handle-:blank):
5280 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
5281 match-data. (Bug#4555).
5283 * cedet/semantic/bovine/gcc.el
5284 (semantic-c-reset-preprocessor-symbol-map): Fix declaration.
5285 (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes.
5287 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
5288 rather than parsing it as a regexp. This relaxes the layout
5289 requirements and makes errors easier to detect.
5290 (check-declare-verify): Check file is regular.
5291 (check-declare-directory): Doc fix.
5292 * subr.el (declare-function): Doc fix.
5294 * ibuffer.el (ibuffer-format-qualifier):
5295 * isearch.el (hi-lock-regexp-okay):
5296 * calc/calc.el (math-zerop):
5297 * mail/uce.el (rmail-msgbeg, rmail-msgend):
5298 * term/w32-win.el (setup-default-fontset, set-fontset-font):
5299 Remove unused declarations.
5301 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
5303 * cedet/semantic/wisent/javat-wy.el
5304 (wisent-java-tags-wy--keyword-table): Use \000 instead of literal ^@.
5306 2009-09-30 Juanma Barranquero <lekktu@gmail.com>
5308 * cedet/srecode/expandproto.el: Fix provide statement.
5310 2009-09-30 Eric Ludlam <zappo@gnu.org>
5312 * emacs-lisp/eieio.el (boolean-p): Delete.
5314 2009-09-30 Sascha Wilde <wilde@sha-bang.de>
5316 * cedet/ede/srecode.el: Fix provide statement.
5318 2009-09-30 Glenn Morris <rgm@gnu.org>
5320 * cedet/ede/proj.el (ede-proj-target-makefile-miscelaneous):
5321 * cedet/ede/proj-aux.el (ede-aux-source):
5322 * cedet/ede/proj-misc.el (ede-proj-target-makefile-miscelaneous)
5324 * cedet/semantic/mru-bookmark.el (semantic-mrub-completing-read)
5325 (semantic-mrub-switch-tags): Fix doc typos.
5327 * cedet/semantic/db-global.el (data-debug-new-buffer)
5328 (data-debug-insert-thing): Remove unneeded declarations (one broken).
5329 (semanticdb-enable-gnu-global-databases): Fix prompt typo.
5331 * cedet/semantic/analyze/fcn.el (semantic-scope-find): Fix declaration.
5333 * cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime
5334 use of CL function `remove-if-not'.
5336 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
5338 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
5339 filename is not a string.
5341 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
5343 * files.el (safe-local-eval-forms): Fix typo.
5345 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
5347 * vc-hooks.el (vc-dir-buffers): New var.
5348 (vc-state-refresh): New function.
5350 (vc-after-save): Always ask the backend to recompute the new state.
5351 Always call vc-dir if necessary, using vc-dir-buffers.
5352 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
5354 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
5355 (vc-dir-prepare-status-buffer, vc-dir-update)
5356 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
5357 Don't call expand-file-name on default-directory.
5359 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
5361 * speedbar.el (speedbar-item-delete):
5362 * calc/calc-prog.el (calc-kbd-if):
5363 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
5365 * epa.el (epa-key-list-mode-map):
5366 * hi-lock.el (hi-lock-menu): Fix typos in menus.
5368 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
5369 (hs-show-hook): Fix typo in docstring.
5371 2009-09-29 Glenn Morris <rgm@gnu.org>
5373 * cedet/semantic/symref/idutils.el:
5374 * cedet/semantic/symref/list.el: Relicense under GPLv3+.
5376 * cedet/ede/srecode.el (srecode-resolve-arguments): Fix declaration.
5378 * cedet/semantic/complete.el (semantic-displayor-focus-abstract-child-p):
5379 * cedet/semantic/tag-file.el (semanticdb-table-child-p):
5380 * cedet/srecode/compile.el (srecode-template-inserter-newline-child-p):
5381 Mark declarations not understood by check-declare.
5383 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
5384 file-name-nondirectory call preventing location of cedet files.
5385 (check-declare-verify): Use literal search rather than re-search.
5386 Add basic defmethod and defclass, and define-overloadable-function.
5388 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
5389 Use tramp-compat-file-attributes rather than nonexistent
5390 tramp-compat-handle-file-attributes.
5392 * Makefile.in (lisptagsfiles4): New.
5393 (AUTOGENEL): Add cedet loaddefs files.
5394 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
5395 (update-elclist, compile-always, backup-compiled-files)
5396 (bootstrap-clean): Add yet another directory level.
5397 (update-elclist): Use LC_COLLATE rather than COLLATE.
5398 (ELCFILES): Update, via `make update-elclist'.
5400 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
5402 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
5403 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
5404 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
5406 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
5408 * Makefile.in (lisptagsfiles3): Define.
5409 (TAGS, TAGS-LISP): Use it.
5410 (update-elclist): Add third directory level to look for elc files.
5411 (compile-always): Likewise.
5412 (backup-compiled-files): Likewise.
5413 (bootstrap-clean): Likewise.
5416 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
5418 * Makefile.in (ELCFILES): Add CEDET files.
5420 2009-09-28 Eric Ludlam <zappo@gnu.org>
5422 CEDET (development tools) package merged.
5426 * cedet/semantic/*.el:
5427 * cedet/srecode/*.el: New files.
5429 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
5431 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
5433 * net/tramp.el (top): Require tramp-imap.
5435 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
5436 Use `tramp-compat-handle-file-attributes'.
5438 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
5440 * net/tramp-imap.el: New package.
5442 2009-09-28 Eric Ludlam <zappo@gnu.org>
5444 * emacs-lisp/chart.el:
5445 * emacs-lisp/eieio-base.el:
5446 * emacs-lisp/eieio-comp.el:
5447 * emacs-lisp/eieio-custom.el:
5448 * emacs-lisp/eieio-datadebug.el:
5449 * emacs-lisp/eieio-opt.el:
5450 * emacs-lisp/eieio-speedbar.el:
5451 * emacs-lisp/eieio.el: New files.
5453 * cedet/cedet-cscope.el:
5454 * cedet/cedet-files.el:
5455 * cedet/cedet-global.el:
5456 * cedet/cedet-idutils.el:
5457 * cedet/data-debug.el:
5458 * cedet/inversion.el:
5459 * cedet/mode-local.el:
5460 * cedet/pulse.el: New files.
5462 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5464 * whitespace.el (whitespace-trailing-regexp)
5465 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
5468 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
5470 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
5473 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
5474 menu-bar-ediff-menu.
5476 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
5477 define-overloadable-function.
5479 * progmodes/autoconf.el: Provide autoconf as well, so that this
5480 file can be `require'd.
5482 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
5484 * emacs-lisp/autoload.el (generated-autoload-feature)
5485 (generated-autoload-load-name): New vars.
5486 (autoload-rubric, autoload-generate-file-autoloads): Use them.
5487 (make-autoload): Recognize define-overloadable-function and
5488 defclass forms (for EIEIO).
5490 * Makefile.in (update-subdirs): Exclude cedet directory.
5492 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
5494 * term/ns-win.el: Don't set the region face background. (Bug#4381)
5496 * faces.el: Default light-background background for region face to
5497 ns_selection_color under NS.
5499 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
5501 * net/imap-hash.el: New library, see NEWS.
5503 * Makefile.in (ELCFILES): Add imap-hash.el.
5505 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5507 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
5508 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
5509 * help-macro.el (make-help-screen): Avoid using an ambiguous function
5510 definition where the docstring could be taken for the return value.
5512 2009-09-26 Glenn Morris <rgm@gnu.org>
5514 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
5515 Add option to only show images below a certain size.
5516 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
5517 save-excursion calls.
5519 2009-09-26 Eli Zaretskii <eliz@gnu.org>
5521 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
5522 subdirectories) and eieio.
5524 2009-09-26 Alan Mackenzie <acm@muc.de>
5526 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
5527 buggy bracketing. (Bug#4289)
5529 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
5530 character constants (as case labels). (Bug#4289)
5532 2009-09-25 Juri Linkov <juri@jurta.org>
5534 * files.el (safe-local-eval-forms): Allow time-stamp in
5535 before-save-hook (Bug#4554).
5537 2009-09-25 Drew Adams <drew.adams@oracle.com>
5539 * menu-bar.el (list-buffers-directory): Doc fix.
5541 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
5543 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
5544 Try and avoid copying twice the same paragraph.
5545 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
5546 Remove save-excursion.
5547 (log-edit-changelog-entry): Do it here instead.
5549 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
5551 * bs.el (bs--get-file-name): Use `list-buffers-directory'
5552 when available, instead of hardcoding mode names. Doc fix.
5554 * menu-bar.el (list-buffers-directory): Add docstring.
5555 Make automatically buffer-local.
5557 * dired.el (dired-mode):
5558 * files.el (cd-absolute):
5559 * pcvs.el (cvs-temp-buffer):
5560 * pcvs-util.el (cvs-get-buffer-create):
5561 * shell.el (shell-mode):
5562 * vc-dir.el (vc-dir-mode):
5563 Don't make `list-buffers-directory' buffer local.
5565 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
5567 * comint.el (comint-exec, comint-run, make-comint):
5568 Doc fixes (Bug#4542).
5570 2009-09-25 Glenn Morris <rgm@gnu.org>
5572 * mail/rmailmm.el (rmail-mime): New custom group.
5573 Move all defcustoms in this file into this group.
5574 (rmail-mime-media-type-handlers-alist): Revert previous change.
5575 (rmail-mime-show-images): New option.
5576 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
5577 references to it, since it wasn't actually used for anything.
5578 (rmail-mime-insert-image): New function.
5579 (rmail-mime-image): Use rmail-mime-insert-image.
5580 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
5581 obey the value of `rmail-mime-show-images' option. Print the size of
5584 2009-09-25 David Engster <deng@randomsample.de>
5586 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
5588 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5590 * whitespace.el: Does not highlight trailing spaces While point is
5591 at end of line. Does not highligt spaces at beginning of buffer
5592 while point is at beginning of buffer. Does not highlight spaces
5593 at end of buffer while point is at end of buffer. (Bug#4177)
5595 (whitespace-display-mappings): Adjust initialization.
5596 (whitespace-point, whitespace-font-lock-refontify): New vars.
5597 (whitespace-color-on, whitespace-color-off): Adjust code.
5598 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
5599 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
5600 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
5602 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
5604 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
5606 * textmodes/sgml-mode.el: Remove xml-mode alias.
5608 * files.el (auto-mode-alist, conf-mode-maybe)
5609 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
5611 2009-09-24 Alan Mackenzie <acm@muc.de>
5613 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
5614 c-forward-conditionals, but it doesn't move point and doesn't set
5616 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
5617 (c-down-conditional-with-else, c-backward-conditional)
5618 (c-forward-conditional): Refactor to use c-scan-conditionals.
5620 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
5622 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
5623 (help-default-arg-highlight): Remove.
5624 (help-highlight-arg): New function.
5625 (help-do-arg-highlight): Use it.
5626 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
5628 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
5630 * term.el (term-set-scroll-region, term-handle-ansi-escape):
5631 Undo last change, which didn't fix the problem and introduced others.
5633 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
5635 * progmodes/gdb-mi.el: Don't require speedbar.
5636 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
5638 2009-09-24 Glenn Morris <rgm@gnu.org>
5640 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
5642 * term/ns-win.el (ns-reg-to-script): Define for compiler.
5644 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
5645 there is no newline after the final mime boundary. (Bug#4539)
5646 Move markers on insertion so that any buttons inserted don't end up in
5647 the next part of a multipart message.
5648 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
5649 (rmail-mime-bulk-handler): Optionally handle images.
5650 (rmail-mime-image): New button action.
5651 (rmail-mime-image-handler): New function.
5652 (rmail-mime-mode): New mode.
5653 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
5655 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
5657 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
5658 than just dropping elements from it (bug#4504).
5660 * term.el (term-set-scroll-region): Don't move cursor any more.
5661 (term-handle-ansi-escape): Call term-goto here instead.
5662 Suggested by Ivan Kanis <apple@kanis.eu>.
5664 * term.el: Require CL.
5665 (term-ansi-reset): New function.
5666 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
5667 (term-handle-colors-array): Simplify.
5669 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
5671 * allout.el (allout-overlay-interior-modification-handler)
5672 (allout-obtain-passphrase):
5673 * epa-file.el (epa-file-write-region):
5674 * ps-print.el (ps-begin-job):
5675 * vc-hooks.el (vc-toggle-read-only):
5676 * vc-rcs.el (vc-rcs-rollback):
5677 * vc-sccs.el (vc-sccs-rollback):
5678 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
5679 (vc-version-diff, vc-revert, vc-rollback):
5680 * wdired.el (wdired-check-kill-buffer):
5681 * emacs-lisp/authors.el (authors):
5682 * net/socks.el (socks-open-connection):
5683 * net/zeroconf.el (zeroconf-service-add-hook):
5684 * obsolete/vc-mcvs.el (vc-mcvs-register):
5685 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
5687 * progmodes/grep.el (lgrep, rgrep):
5688 * progmodes/idlw-help.el (idlwave-help-check-locations)
5689 (idlwave-help-html-link, idlwave-help-assistant-open-link):
5690 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5691 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
5692 (reftex-toc-rename-label): Fix typos in error messages.
5694 * dired-aux.el (dired-do-shell-command): Reflow docstring.
5695 (dired-copy-how-to-fn): Doc fix.
5696 (dired-files-attributes, dired-read-shell-command):
5697 Fix typos in docstrings.
5699 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
5700 (dired-x-find-file-other-window): Reflow docstrings.
5701 (dired-omit-marker-char, dired-read-shell-command)
5702 (dired-x-submit-report): Fix typos in docstrings.
5704 * shell.el (shell-mode-hook):
5705 * view.el (View-scroll-line-forward):
5706 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
5707 Fix typos in docstrings.
5709 * net/dig.el (dig-invoke): Fix typo in docstring.
5710 (query-dig): Reflow docstring.
5712 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
5713 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
5714 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
5715 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
5716 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
5717 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
5718 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
5719 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
5720 (idlwave-completion-map, idlwave-current-indent)
5721 (idlwave-custom-ampersand-surround, idlwave-customize)
5722 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
5723 (idlwave-define-abbrev, idlwave-determine-class-special)
5724 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
5725 (idlwave-end-block-reg, idlwave-end-of-statement)
5726 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
5727 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
5728 (idlwave-explicit-class-listed, idlwave-file-header)
5729 (idlwave-fill-paragraph, idlwave-find-class-definition)
5730 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
5731 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
5732 (idlwave-in-quote, idlwave-indent-action-table)
5733 (idlwave-indent-expand-table, idlwave-indent-line)
5734 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
5735 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
5736 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
5737 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
5738 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
5739 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
5740 (idlwave-outlawed-buffers, idlwave-popup-select)
5741 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
5742 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
5743 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
5744 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
5745 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
5746 (idlwave-statement-type, idlwave-struct-skip)
5747 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
5748 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
5749 (idlwave-what-module-find-class): Fix typos in docstrings.
5750 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
5751 (idlwave-calculate-cont-indent, idlwave-expand-equal)
5752 (idlwave-find-module, idlwave-find-structure-definition)
5753 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
5754 (idlwave-list-load-path-shadows, idlwave-next-statement)
5755 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
5756 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
5757 (idlwave-template): Reflow docstrings.
5759 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
5760 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
5761 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
5762 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
5763 (idlwave-shell-display-line, idlwave-shell-display-wframe)
5764 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
5765 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
5766 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
5767 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
5768 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
5769 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
5770 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
5771 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
5772 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
5773 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
5774 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
5775 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
5776 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
5777 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
5778 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
5779 Fix typos in docstrings.
5780 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
5781 (idlwave-shell-hide-output, idlwave-shell-mode)
5782 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
5785 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
5787 2009-09-24 Ivan Kanis <apple@kanis.eu>
5789 * term.el (term-bold-attribute): New var.
5790 (term-handle-colors-array): Use it.
5792 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
5794 * progmodes/gdb-mi.el (gdb-version): New variable.
5795 (gdb-non-stop-handler): Set gdb-version.
5796 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
5797 Condition "--thread" option on gdb-version.
5798 (gdb-invalidate-threads): Remove unused argument.
5800 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5802 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
5803 to looking-back to avoid ridiculous slow down in large files (bug#4511).
5805 2009-09-23 Glenn Morris <rgm@gnu.org>
5807 * mail/rmail.el (rmail-reply): Don't try to add a References header when
5808 replying to mail without References or Message-Id. (Bug#4525)
5810 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
5812 * term/ns-win.el (ns-reg-to-script): New variable.
5814 2009-09-23 Daiki Ueno <ueno@unixuser.org>
5816 * epg.el (epg-wait-for-status): Preserve existing 'error results.
5818 2009-09-22 Sam Steingold <sds@gnu.org>
5820 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
5821 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
5822 to 1 because hg returns status 1 when nothing is found.
5823 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
5825 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
5827 * textmodes/fill.el: Convert to utf-8 encoding.
5828 (fill-french-nobreak-p): Remove redundant » and « inherited from our
5831 * add-log.el (change-log-fill-forward-paragraph): New function.
5832 (change-log-mode): Use it so fill-region DTRT.
5833 Set fill-indent-according-to-mode here rather than in
5834 change-log-fill-paragraph.
5835 (change-log-fill-paragraph): Remove.
5837 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
5839 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
5840 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
5842 2009-09-22 Glenn Morris <rgm@gnu.org>
5844 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
5845 the scroll-bar scroll the calendar window rather than the buffer.
5847 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
5848 commands that move point (as opposed to scrolling).
5850 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
5852 * emacs-lisp/elint.el (elint): New custom group.
5853 (elint-log-buffer): Make it a defcustom.
5854 (elint-scan-preloaded, elint-ignored-warnings)
5855 (elint-directory-skip-re): New options.
5856 (elint-builtin-variables): Doc fix.
5857 (elint-preloaded-env): New variable.
5858 (elint-unknown-builtin-args): Add an entry for encode-time.
5859 (elint-extra-errors): Make it a variable rather than a constant.
5860 (elint-preloaded-skip-re): New constant.
5861 (elint-directory): Skip files matching elint-directory-skip-re.
5862 (elint-features): New variable, local to linted buffers.
5863 (elint-update-env): Initialize elint-features. Possibly add
5864 elint-preloaded-env to the buffer's environment.
5865 (elint-get-top-forms): Bind elint-current-pos, for log messages.
5867 (elint-init-form): New function, extracted from elint-init-env.
5868 Make non-list forms a warning rather than an error.
5869 Add the mode-map for define-derived-mode. Handle define-minor-mode,
5870 easy-menu-define, put that adds an error-condition, and provide.
5871 When requiring cl, also require cl-macs. Really require cl, to handle
5872 some cl macros. Store required libraries in the list elint-features,
5873 so as not to re-load them. Treat cc-require like require.
5874 (elint-init-env): Call elint-init-form to do the work.
5875 Handle eval-and-compile and such like.
5876 (elint-add-required-env): Do not clear messages.
5877 (elint-special-forms): Add handlers for function, defalias, if, when,
5879 (elint-form): Add optional argument to ignore elint-special-forms,
5880 useful to prevent recursive calls from handlers. Doc fix.
5881 Respect elint-ignored-warnings.
5882 (elint-form): Respect elint-ignored-warnings.
5883 (elint-bound-variable, elint-bound-function): New variables.
5884 (elint-unbound-variable): Respect elint-bound-variable.
5885 (elint-get-args): Respect elint-bound-function.
5886 (elint-check-cond-form): Add some simple handling for (f)boundp and
5888 (elint-check-defalias-form): New handler.
5889 (elint-check-let-form): Make an empty let a warning rather than an
5891 (elint-check-setq-form): Make an empty setq a warning rather than an
5892 error. Respect elint-ignored-warnings.
5893 (elint-check-defvar-form): Accept null doc-strings.
5894 (elint-check-conditional-form): New handler. Does some simple-minded
5895 checking of featurep and (f)boundp tests.
5896 (elint-put-function-args): New function.
5897 (elint-initialize): Use elint-scan-doc-file rather than
5898 elint-find-builtin-variables. Use elint-put-function-args.
5899 Possibly scan preloaded-file-list.
5900 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
5901 extend to handle functions as well.
5903 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
5905 * linum.el (linum-delete-overlays, linum-update-window):
5906 Do not modify the right margin. (Bug#3971)
5908 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
5910 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
5911 nxml-mode instead of xml-mode.
5913 2009-09-21 Kevin Ryde <user42@zip.com.au>
5915 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
5917 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5919 * net/dig.el (dig-mode): Use define-derived-mode.
5921 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
5923 * vc-dispatcher.el (vc-do-command): Return the process object in
5924 the asynchronous case. Use when instead of if. Do not run
5925 vc-exec-after to display a message if not enabled. (Bug#4463)
5927 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
5928 properties to the stash strings.
5929 (vc-git-stash-list): Return a list of strings.
5930 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
5931 (vc-git-stash-show-at-point): New functions.
5932 (vc-git-stash-map): New keymap.
5934 * register.el (ctl-x-r-map): Define the keys here instead of
5937 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
5939 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
5940 list, to workaround performance problem (bug#4485).
5942 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
5944 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
5946 2009-09-20 Daiki Ueno <ueno@unixuser.org>
5948 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
5949 Document that this option is not recommended to use.
5951 2009-09-19 Glenn Morris <rgm@gnu.org>
5953 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
5956 * calc/calc-alg.el (var):
5957 * calc/calcalg2.el (var): Define for compiler.
5959 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
5961 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
5964 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
5966 * time-stamp.el (time-stamp-month-dd-yyyy)
5967 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
5968 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
5969 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
5970 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
5971 Remove functions that have been obsolete since 1995 (Bug#4436).
5973 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
5974 indent buffer only if called interactively (Bug#4452).
5976 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
5977 Eli Zaretskii <eliz@gnu.org>
5979 This fixes bug#4197 (merged to bug#865, though not identical).
5980 * server.el (server-auth-dir): Add docstring note about FAT32.
5981 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
5982 but warn against using them.
5984 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
5986 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
5987 older GDB where there is no has_more field.
5989 2009-09-19 Glenn Morris <rgm@gnu.org>
5991 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
5993 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
5995 * files.el (auto-mode-alist): Change default for XML files to nXML
5998 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
6000 * server.el (server-ensure-safe-dir): Pass 'integer
6001 to `file-attributes', as suggested.
6003 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
6005 * dired-aux.el (dired-query-alist): Remove spurious backslash.
6006 (dired-query): Use read-key.
6008 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
6010 * cus-start.el (ns-use-qd-smoothing): Remove.
6012 2009-09-18 Glenn Morris <rgm@gnu.org>
6014 * allout.el (top-level): Remove unnecessary progn.
6016 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
6018 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
6019 definition of abbrev table.
6021 * speedbar.el (speedbar-track-mouse):
6022 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
6023 * net/eudc.el (eudc-expand-inline):
6024 * net/newst-backend.el (newsticker--cache-read-feed):
6025 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
6026 condition-case handlers.
6028 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
6030 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
6031 (gdb-var-list): Add an element for has_more field.
6032 (gdb-non-stop-handler): Enable pretty printing for STL containers.
6033 (gdb-var-create-handler, gdb-var-list-children-handler-1)
6034 (gdb-var-update-handler-1): Parse output of dynamic variable
6035 objects (STL containers).
6036 (gdb-var-delete-1): Pass var1 as an explicit second argument.
6037 (gdb-get-field): Delete alias. Use bindat-get-field directly.
6039 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
6041 (gud-speedbar-buttons): Make node expandable if expression "has more"
6044 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
6046 * startup.el (emacs-quick-startup): Remove variable and all uses.
6047 (command-line): Set `inhibit-x-resources' instead.
6048 (command-line-1): Use `inhibit-x-resources' instead.
6050 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
6052 * subr.el: Fix last change to avoid using the `unless' macro,
6053 which breaks bootstrapping.
6055 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6057 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
6058 extended definitions, in case we reload subr.el after having
6060 (eval-next-after-load): Mark as obsolete.
6062 2009-09-17 Juri Linkov <juri@jurta.org>
6064 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
6065 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
6066 (menu-bar-showhide-menu, menu-bar-tools-menu)
6067 (menu-bar-describe-menu, menu-bar-help-menu)
6068 (minibuffer-local-completion-map, minibuffer-local-map):
6071 2009-09-17 Glenn Morris <rgm@gnu.org>
6073 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
6074 arguments, whether or not it has a handler.
6076 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
6078 * simple.el (hard-newline): Give it a doc-string.
6080 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
6081 (lisp-mode-syntax-table): Give them doc-strings.
6083 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
6085 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
6086 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
6087 (menu-bar-options-menu, menu-bar-showhide-menu)
6088 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
6089 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
6090 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
6091 (menu-bar-options-menu, menu-bar-tools-menu)
6092 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
6093 (menu-bar-help-menu):
6094 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
6097 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
6098 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
6099 calls for the menu names and :help.
6101 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6103 * mouse.el (minor-mode-menu-from-indicator): Pay attention
6104 to :minor-mode-function (bug#4455).
6106 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6108 * startup.el (command-line): Initialize the window-system after
6109 processing the command-line.
6111 * textmodes/page.el (what-page): Make sure we don't inf-loop if
6112 page-delimiter matches the empty string.
6114 2009-09-16 Glenn Morris <rgm@gnu.org>
6116 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
6117 byte-compile-not-obsolete-var. It's a list now.
6118 (byte-compile-not-obsolete-funcs): New variable.
6119 (byte-compile-warn-obsolete): Don't warn about functions if they are in
6120 byte-compile-not-obsolete-funcs.
6121 (byte-compile-variable-ref, byte-compile-defvar): Update for
6122 byte-compile-not-obsolete-vars name-change and list nature.
6123 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
6124 and variables behind (f)boundp tests.
6125 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
6127 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
6129 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
6131 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
6133 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
6134 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
6137 2009-09-15 Stephen Eglen <stephen@gnu.org>
6139 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
6140 the virtual-buffers, use the name of the buffer specified by
6141 find-file-noselect, as the match may be a symlink. (This was a
6142 problem if the target and the symlink had different names.)
6144 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
6146 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
6148 * desktop.el (desktop-path): Check user-emacs-directory.
6150 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
6152 * loadup.el: Use after-load-functions to GC after loading each file.
6153 Remove the explicit GC calls that used to be sprinkled around.
6155 * subr.el (after-load-functions): New hook.
6156 (do-after-load-evaluation): Run it. Use string-match-p to detect
6157 `obsolete' packages, rather than painfully extracting the relevant
6160 2009-09-15 Glenn Morris <rgm@gnu.org>
6162 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
6163 free variable `doc'.
6165 * dired.el (dired-mode-map): Add menu entry for async shell command.
6167 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
6168 variables, also consider the .elc files, since the .el files are
6169 normally gzipped (subsequent code locates the .el.gz from the .elc).
6171 * calc/calc-prog.el (arglist): Define for compiler.
6173 * calendar/diary-lib.el (diary-display-function): Change the default to
6175 (body): Define for compiler.
6177 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
6178 (byte-compile-file-form, byte-compile-lambda)
6179 (byte-compile-top-level-body, byte-compile-form)
6180 (byte-compile-variable-ref, byte-compile-setq)
6181 (byte-compile-setq-default, byte-compile-body)
6182 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
6183 (batch-byte-compile): Give some more local variables with common names
6184 a "bytecomp-" prefix to avoid masking warnings about free variables.
6186 * startup.el (command-line-1): Give local variables with common names a
6187 distinguishing prefix, so as not to hide free variable warnings during
6190 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
6191 clever and add a suffix to make a unique name, just let the user decide
6192 whether or not to overwrite it. If the input is a directory, write the
6193 default filename to that directory. (Bug#4388)
6194 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
6195 is a filename-as-a-directory.
6197 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
6199 * textmodes/page.el (what-page): Don't move to beginning of line.
6200 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
6202 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
6204 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
6206 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
6208 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
6209 * help.el (help-for-help-internal): Add purecopy calls for text.
6211 * vc.el (top): print-log method now takes an optional SHORTLOG
6212 argument. Add a new method: root.
6213 (vc-root-diff, vc-print-root-log): New functions.
6214 (vc-log-short-style): New variable.
6215 (vc-print-log-internal): Add support for showing short logs.
6217 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
6218 vc-print-root-log and vc-print-root-diff.
6220 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
6221 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
6222 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
6225 * vc-cvs.el (vc-cvs-print-log):
6226 * vc-mtn.el (vc-mtn-print-log):
6227 * vc-rcs.el (vc-rcs-print-log):
6228 * vc-sccs.el (vc-sccs-print-log):
6229 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
6230 that is ignored for now.
6232 * vc-mtn.el (vc-mtn-annotate-command):
6233 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
6235 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6237 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
6238 to function-key-map, and give them ascii-character property.
6239 * term/x-win.el (x-alternatives-map):
6240 * term/ns-win.el (ns-alternatives-map):
6241 * term/internal.el (msdos-key-remapping-map):
6242 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
6244 2009-09-14 Glenn Morris <rgm@gnu.org>
6246 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
6247 temp-buffers (2009-09-12).
6249 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6251 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
6252 the new read-key function.
6254 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
6256 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
6257 is defined (Bug#4405).
6259 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
6261 * recentf.el (recentf-cleanup): Use a hash table to find
6262 duplicates (Bug#4407).
6264 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
6266 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
6267 kp-0 to ascii equivalents (Bug#4325).
6269 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
6271 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
6273 * eshell/em-hist.el:
6274 * eshell/em-dirs.el (eshell-complete-user-reference):
6275 Declare pcomplete functions and variables to avoid compiler warnings.
6277 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
6279 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
6280 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
6281 * eshell/em-alias.el (eshell-aliases-file):
6282 * eshell/em-hist.el (eshell-history-file-name):
6283 Use expand-file-name instead of concat to make file names (Bug#4308).
6285 2009-09-13 Glenn Morris <rgm@gnu.org>
6287 * ediff-merg.el (ediff-do-merge):
6288 * filesets.el (filesets-run-cmd):
6289 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
6290 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
6291 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
6292 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
6293 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
6294 Replace empty `let's with `progn'.
6296 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6298 * mail/sendmail.el (send-mail-function):
6299 * tooltip.el (tooltip-mode):
6300 * simple.el (transient-mark-mode):
6301 * rfn-eshadow.el (file-name-shadow-mode):
6302 * frame.el (blink-cursor-mode):
6303 * font-core.el (global-font-lock-mode):
6304 * files.el (temporary-file-directory)
6305 (small-temporary-file-directory, auto-save-file-name-transforms):
6306 * epa-hook.el (auto-encryption-mode):
6307 * composite.el (global-auto-composition-mode):
6308 Use custom-initialize-delay.
6309 * startup.el (command-line): Don't explicitly call
6310 custom-reevaluate-setting for all the above vars.
6311 * custom.el (custom-initialize-safe-set)
6312 (custom-initialize-safe-default): Delete.
6314 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6316 * term/x-win.el (x-initialize-window-system):
6317 * term/w32-win.el (w32-initialize-window-system):
6318 * term/ns-win.el (ns-initialize-window-system): Don't call
6319 mouse-wheel-mode since it's enabled globally by default already.
6321 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
6322 actually define the variable, but only silences the byte-compiler.
6323 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
6324 before looking it up.
6325 (mouse-wheel-scroll-amount): Also reset the bindings if this value
6328 2009-09-12 Glenn Morris <rgm@gnu.org>
6330 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
6332 (elint-add-required-env): Don't beep on error.
6333 (elint-forms): In case of error, return ENV unchanged.
6334 (elint-init-env): Skip non-list forms.
6335 (elint-log): Handle unknown file positions.
6337 2009-09-12 Daiki Ueno <ueno@unixuser.org>
6339 * epg.el (epg-make-context): Add autoload cookie.
6340 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
6341 (epg-decrypt-string, epg-start-verify, epg-verify-file)
6342 (epg-verify-string, epg-start-sign, epg-sign-file)
6343 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
6344 (epg-encrypt-string, epg-start-export-keys)
6345 (epg-export-keys-to-file, epg-export-keys-to-string)
6346 (epg-start-import-keys, epg-import-keys-from-file)
6347 (epg-import-keys-from-string, epg-start-receive-keys)
6348 (epg-receive-keys, epg-import-keys-from-server)
6349 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
6350 (epg-sign-keys, epg-start-generate-key)
6351 (epg-generate-key-from-file, epg-generate-key-from-string):
6352 Remove autoload cookie.
6354 2009-09-12 Eli Zaretskii <eliz@gnu.org>
6356 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
6357 reevaluation of trash-directory.
6359 * mwheel.el: Fix last change.
6360 (mouse-wheel-mode): New defvar.
6361 (mouse-wheel-mode): Remove autoload cookie.
6363 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6365 * mwheel.el (mwheel-installed-bindings): New var.
6366 (mouse-wheel-mode): Use it, so as to make sure we really remove all
6367 the bindings we set last time. Use custom-initialize-delay.
6368 * loadup.el: Load mwheel after term/*-win.el.
6369 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
6370 and mouse-wheel-up-event now that their first evaluation is done
6371 sufficiently late to be correct.
6373 * startup.el (tutorial-directory): Make it a defcustom.
6374 Use custom-initialize-delay rather than eval-at-startup to set it.
6375 * image.el (image-load-path): Make it a defcustom.
6376 Use custom-initialize-delay rather than eval-at-startup to set it.
6377 * subr.el (eval-at-startup): Remove.
6378 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
6380 * subr.el (do-after-load-evaluation): Warn the user after loading an
6383 2009-09-12 Glenn Morris <rgm@gnu.org>
6385 * proced.el (proced-mark-alt): Remove alias.
6386 (proced-mode-map): Remove proced-mark-alt.
6388 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
6389 Elint file and directory. Remove initialization entry.
6391 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
6393 (elint-current-buffer): Set mode-line-process.
6394 (elint-init-env): Handle define-derived-mode.
6395 Fix declare-function with unspecified arglist. Guard against odd
6396 defalias statements (eg iso-insert's 8859-1-map).
6397 (elint-add-required-env): Use a temp buffer.
6398 (elint-form): Just print the function/macro name, not the whole form.
6399 Return env unchanged if we fail to parse a macro.
6400 (elint-forms): Guard against parse errors.
6401 (elint-output): New function, to handle batch mode.
6402 (elint-log-message): Add optional argument. Use elint-output.
6403 (elint-set-mode-line): New function.
6405 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
6407 * emacs-lisp/elp.el (elp-not-profilable): Add more
6408 functions (Bug#4233).
6410 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
6412 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
6413 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
6415 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
6417 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
6418 (gdb-var-list-children): Use json parsing.
6420 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
6422 * progmodes/js.el (js--proper-indentation): Handle the case where
6423 char-before is null. Reported by Deniz Dogan.
6425 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
6427 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
6429 2009-09-11 Daiki Ueno <ueno@unixuser.org>
6431 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
6432 (epg-digest-algorithm-alist): Add SHA224.
6433 (epg-context-set-passphrase-callback)
6434 (epg-context-set-progress-callback): Add description about
6437 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6439 * custom.el (custom-delayed-init-variables): New var.
6440 (custom-initialize-delay): New function.
6441 * startup.el (command-line): "Re"evaluate all vars in
6442 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
6443 explicitly any more.
6444 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
6445 to avoid creating a ~/.emacs.d at build-time (bug#4347).
6447 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
6449 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
6451 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
6452 (gdb-var-update-handler): Use json parsing.
6454 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
6456 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
6457 decode annotated text, regardless of language environment. (Bug#2741)
6459 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6461 * Makefile.in (autoloads): Make rmail.el writable as well.
6463 2009-09-11 Glenn Morris <rgm@gnu.org>
6465 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
6467 * dired.el: Regenerate with extracted autoloads.
6468 * Makefile.in (autoloads): Make dired.el writable.
6470 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
6471 * ibuffer.el: Regenerate with extracted autoloads.
6472 * Makefile.in (autoloads): Make ibuffer.el writable.
6474 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
6475 * version.el (emacs-copyright, emacs-major-version)
6476 (emacs-minor-version): Reformat doc-strings for make-docfile.
6478 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
6479 functions and variables, since they must be stuff specific to some other
6481 (apropos-print): Make mouse-click message less specific about button.
6483 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
6484 that records where a macro was defined.
6485 * help-fns.el (describe-function-1): Mention if a function has a
6487 * help-mode.el (help-function-cmacro): New button.
6489 * locate.el (top-level): Always require dired.
6490 (locate-mode-map): Initialize inside the defvar.
6492 * net/ange-ftp.el (dired-compress-file): Declare.
6493 (ange-ftp-dired-compress-file): Add doc string.
6495 * term/ns-win.el (x-display-name, x-setup-function-keys):
6496 Unify doc-strings with X versions.
6498 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6500 * emulation/crisp.el (crisp-mode-map): Move initialization
6502 (crisp-mode): Use define-minor-mode.
6504 * progmodes/xscheme.el (xscheme-evaluation-commands):
6505 Put a :advertised-binding property rather than using
6506 advertised-xscheme-send-previous-expression.
6507 (advertised-xscheme-send-previous-expression): Declare obsolete.
6508 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
6510 (crisp-mode): Add corresponding bindings to
6511 undo's :advertised-binding instead.
6512 * dired.el (dired-mode-map): Put a :advertised-binding property rather
6513 than using dired-advertised-find-file.
6514 (dired-advertised-find-file):
6515 * simple.el (advertised-undo):
6516 * wid-edit.el (advertised-widget-backward): Declare obsolete.
6517 (widget-keymap): Put a :advertised-binding property rather
6518 than using advertised-widget-backward.
6519 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
6520 than using advertised-undo.
6521 * tutorial.el (tutorial--default-keys): Adjust accordingly.
6523 2009-09-10 Simon South <ssouth@slowcomputing.org>
6525 * progmodes/delphi.el (delphi-tab): Indent region when Transient
6526 Mark mode is enabled and region is active; otherwise indent or
6527 insert TAB as usual.
6528 (delphi-mode): Update description of TAB-key binding.
6530 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6532 * subr.el (define-key-rebound-commands): Mark obsolete.
6533 * startup.el (precompute-menubar-bindings): Remove.
6534 (normal-top-level): Remove obsolete code that tried to precompute
6536 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
6537 define-key-rebound-commands and precompute-menubar-bindings.
6539 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
6541 * net/imap.el (imap-interactive-login): Better messages.
6542 (imap-open): Fix bug with renamed buffer on reconnect.
6543 (imap-authenticate): Add buffer-local imap-last-authenticator variable
6544 for easier debugging and cleaner code. On successful (guessed based on
6545 server capabilities) secondary authentication, set imap-state
6547 (imap-last-authenticator): Define imap-last-authenticator as a variable
6550 2009-09-10 Glenn Morris <rgm@gnu.org>
6552 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
6554 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
6555 (byte-compile-file-form-autoload): Don't warn about unknown functions
6556 where the autoload statement comes after the use.
6557 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
6558 that any handlers inside the body (eg require) are in turn respected.
6560 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
6563 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
6564 and syntax and abbrev tables basic docs, if they don't have any.
6566 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
6568 * international/mule-cmds.el (top-level): Require cl when compiling.
6569 (view-hello-file): Use default-value rather than
6570 default-enable-multibyte-characters.
6572 * progmodes/fortran.el: Move all safe and risky properties into the
6575 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
6576 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
6578 Put autoloads in rmail.el rather than loaddefs.el.
6579 * mail/rmail.el: Regenerate with extracted autoloads.
6581 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
6582 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
6584 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
6586 Reported in thread for Bug#4375.
6587 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
6588 "-data-evaluate-expression" instead of print.
6589 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
6590 (gdb-tooltip-print): Parse output from above MI command.
6591 (gdb): Revert 2009-08-11 change. User should detach inferior
6594 Remove the word "separate" from IO functions as inferior
6595 output is now never displayed in the GUD buffer.
6597 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
6599 * startup.el (command-line-normalize-file-name): On Windows and
6600 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
6602 2009-09-10 Juri Linkov <juri@jurta.org>
6604 * isearch.el (isearch-text-char-description): Propertize escape
6605 character sequences with the `escape-glyph' face. (Bug#4344)
6607 * simple.el (shell-command): Set asynchronous process filter to
6608 `comint-output-filter'. (Bug#4343)
6610 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
6611 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
6612 the list. Move "asm" to the bottom.
6613 (grep-find-ignored-directories): Add `choice' with nil value
6614 to empty the list easily.
6615 (grep-find-ignored-files): New option.
6616 (grep-files-history): Set to nil by default instead of '("ch" "el").
6617 (grep-compute-defaults): Add "<X>" to `grep-template'.
6618 (grep-read-files): Bind new local variables `default-alias' and
6619 `default-extension'. Use a list of default values for the file prompt.
6620 (lgrep): Add `--exclude=' command line options composed from
6621 `grep-find-ignored-files'.
6622 (rgrep): Add `-name' command line options composed from
6623 `grep-find-ignored-files'. (Bug#4301)
6625 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6627 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
6630 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
6632 * calendar/time-date.el (autoload):
6633 Expand define-obsolete-function-alias into defalias and make-obsolete
6634 for old Emacsen that Gnus supports.
6635 (with-no-warnings): Define it for old Emacsen.
6636 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
6638 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
6639 float-time is available; suppress compile warning for time-to-seconds.
6641 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
6643 * net/imap.el (imap-message-map): Docstring fix.
6645 2009-09-09 Glenn Morris <rgm@gnu.org>
6647 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
6648 line numbers too. (Bug#4374)
6650 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6652 * smerge-mode.el (smerge-remove-props, smerge-refine):
6653 Use with-silent-modifications (bug#4342).
6655 * subr.el (with-silent-modifications): New macro.
6657 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
6659 * files.el (top-level): Require `cl' when compiling.
6661 2009-09-07 Glenn Morris <rgm@gnu.org>
6663 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
6665 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
6666 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
6668 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
6670 * vc-git.el (vc-git-annotate-command): Use separator to parse
6671 arguments correctly.
6673 2009-09-06 Eli Zaretskii <eliz@gnu.org>
6675 * proced.el (proced-mode): Doc fix.
6677 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
6679 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
6681 (tramp-do-file-attributes-with-ls): Check for file existence at
6683 (tramp-do-file-attributes-with-stat): Likewise.
6684 (tramp-convert-file-attributes): Return nil when attr is nil.
6686 2009-09-05 Glenn Morris <rgm@gnu.org>
6688 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
6689 properties to this button.
6690 (diary-fancy-display): Don't extend the button to the final newline.
6691 (diary-fancy-display-mode): Continue to define "q" as a local key.
6693 * calendar/cal-china.el (holiday-chinese): Make it slightly more
6696 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
6698 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
6699 (byte-compile-dest-file-function): New option.
6700 (byte-compile-dest-file): Doc fix.
6701 Obey byte-compile-dest-file-function.
6702 (byte-compile-cl-file-p): New function.
6703 (byte-compile-eval): Only suppress noruntime warnings about cl functions
6704 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
6705 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
6706 than for file being previously loaded.
6707 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
6708 (byte-compile-file-form-require): Handle the case where requiring a file
6709 indirectly causes CL to be loaded.
6711 2009-09-05 Karl Fogel <kfogel@red-bean.com>
6713 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
6714 before killing the old buffer, since by the time `kill-buffer' is
6715 run so many buffer variables have been set to nil that it may not
6716 behave as expected. (Bug#4061)
6718 2009-09-05 Karl Fogel <kfogel@red-bean.com>
6720 * files.el (find-alternate-file): If the old buffer is modified
6721 and visiting a file, behave similarly to `kill-buffer' when
6722 killing it, thus reverting to the pre-1.878 behavior; see
6723 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
6724 for discussion. Also, consult `buffer-file-name' as a variable
6725 not as a function, for consistency with the rest of the code.
6727 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
6729 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
6730 also when adding a new directory.
6732 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
6735 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6737 * files.el (locate-file-completion-table): Make it provide boundary
6738 information, so partial-completion works better.
6740 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
6742 * mail/footnote.el (Footnote-text-under-cursor):
6743 Check footnote-text-marker-alist before using it (bug#4324).
6745 2009-09-04 Glenn Morris <rgm@gnu.org>
6747 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
6748 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
6749 * play/solitaire.el, play/tetris.el:
6750 Remove leading * from defcustom and defface docs.
6752 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
6754 (diary-fancy-overriding-map): New variable.
6755 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
6758 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
6761 2009-09-03 Glenn Morris <rgm@gnu.org>
6763 * arc-mode.el (archive-mode):
6764 * dos-fns.el (set-default-process-coding-system):
6765 * man.el (Man-getpage-in-background):
6766 * menu-bar.el (menu-bar-describe-menu):
6767 * server.el (server-process-filter):
6768 * startup.el (command-line):
6769 * tar-mode.el (tar-header-block-tokenize, tar-extract):
6770 * w32-fns.el (set-default-process-coding-system):
6771 * x-dnd.el (x-dnd-handle-file-name):
6772 * international/mule-cmds.el (mule-menu-keymap)
6773 (set-default-coding-systems, language-info-alist, set-language-info)
6774 (set-language-environment, standard-display-european-internal)
6775 (set-locale-environment):
6776 * international/mule-diag.el (mule-diag):
6777 * mail/emacsbug.el (report-emacs-bug):
6778 * mail/rmail.el (rmail-mode):
6779 * mail/sendmail.el (mail-setup):
6780 Use default-value rather than default-enable-multibyte-characters.
6782 * progmodes/f90.el: Move all safe properties into the defcustoms.
6783 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
6785 * calendar/appt.el (appt-check):
6786 * calendar/diary-lib.el (diary-set-header, diary-live-p)
6787 (diary-check-diary-file, diary-list-entries)
6788 (diary-include-other-diary-files, diary-simple-display)
6789 (diary-fancy-display, diary-print-entries)
6790 (diary-mark-included-diary-files, diary-make-entry):
6791 Don't call substitute-in-file-name on diary-file.
6793 2009-09-03 Eduard Wiebe <usenet@pusto.de>
6794 Stefan Monnier <monnier@iro.umontreal.ca>
6796 * mail/footnote.el (footnote-prefix): Make it a defcustom.
6797 (footnote-mode-map): Move initialization into the declaration.
6798 (footnote-minor-mode-map): Define it rather than changing global-map.
6799 (footnote-mode): Use define-minor-mode.
6801 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
6803 * net/tramp.el (tramp-handle-file-attributes-with-ls)
6804 (tramp-do-file-attributes-with-perl)
6805 (tramp-do-file-attributes-with-stat): Rename from
6806 `tramp-handle-file-attributes-with-*'.
6807 (tramp-handle-file-attributes): Use them.
6808 (tramp-do-directory-files-and-attributes-with-perl)
6809 (tramp-do-directory-files-and-attributes-with-stat): Rename from
6810 `tramp-handle-directory-files-and-attributes-with-*'.
6811 (tramp-handle-directory-files-and-attributes): Use them.
6812 (tramp-method-out-of-band-p): Additional parameter SIZE.
6813 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
6814 (tramp-handle-write-region): Use it.
6815 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
6816 (tramp-handle-vc-registered): Check, whether the first run did
6817 return files to be tested.
6818 (tramp-advice-make-auto-save-file-name): Do not call directly
6819 `tramp-handle-make-auto-save-file-name', because this would bypass
6820 the locking mechanism.
6822 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
6823 (file-remote-p, process-file, start-file-process, set-file-times)
6824 (tramp-compat-file-attributes): Compatibility functions shall not
6825 call directly `tramp-handle-*', because this would bypass the
6827 (tramp-compat-number-sequence): New defun.
6829 2009-09-02 Glenn Morris <rgm@gnu.org>
6831 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
6832 alias for float-time.
6833 (time-to-number-of-days): In Emacs, use float-time.
6834 * net/newst-backend.el (time-add): Suppress warnings from compat
6836 * time.el (emacs-uptime, emacs-init-time):
6837 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
6838 Use float-time rather than time-to-seconds.
6840 * minibuffer.el (completion-initials-expand): Fix typo.
6842 * faces.el (modeline, modeline-inactive, modeline-highlight)
6843 (modeline-buffer-id):
6844 * info.el (info-menu-5): Mark these face aliases as obsolete.
6846 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
6848 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
6850 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
6851 no "--thread" option.
6852 (gdb-stopped): Don't print "Switched to thread" message when it is
6855 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6857 * minibuffer.el (completion-try-completion)
6858 (completion-all-completions): Remove ill-defined (and
6859 mistakenly installed and luckily never used nor documented)
6860 `completion-styles' property.
6861 (completion-initials-expand, completion-initials-all-completions)
6862 (completion-initials-try-completion): New functions.
6863 (completion-styles-alist): Add doc to each entry.
6864 Add new `initials' entry.
6866 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
6868 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
6869 MI command -var-evaluate-expression.
6870 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
6871 and tweak for case of string child.
6872 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
6874 2009-09-01 Glenn Morris <rgm@gnu.org>
6876 * add-log.el (change-log-date-face, change-log-name-face)
6877 (change-log-email-face, change-log-file-face, change-log-list-face)
6878 (change-log-conditionals-face, change-log-function-face)
6879 (change-log-acknowledgement-face):
6880 * cus-edit.el (custom-invalid-face, custom-rogue-face)
6881 (custom-modified-face, custom-set-face, custom-changed-face)
6882 (custom-saved-face, custom-button-face, custom-button-pressed-face)
6883 (custom-documentation-face, custom-state-face, custom-comment-face)
6884 (custom-comment-tag-face, custom-variable-tag-face)
6885 (custom-variable-button-face, custom-face-tag-face)
6886 (custom-group-tag-face-1, custom-group-tag-face):
6887 * diff-mode.el (diff-header-face, diff-file-header-face)
6888 (diff-index-face, diff-hunk-header-face, diff-removed-face)
6889 (diff-added-face, diff-changed-face, diff-function-face)
6890 (diff-context-face, diff-nonexistent-face):
6891 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
6892 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
6893 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
6894 (Info-title-4-face):
6895 * isearch.el (isearch-lazy-highlight-face):
6896 * log-view.el (log-view-file-face, log-view-message-face):
6897 * paren.el (show-paren-match-face, show-paren-mismatch-face):
6898 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
6899 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
6901 * smerge-mode.el (smerge-mine-face, smerge-other-face)
6902 (smerge-base-face, smerge-markers-face):
6903 * wid-edit.el (widget-documentation-face, widget-button-face)
6904 (widget-field-face, widget-single-line-field-face)
6905 (widget-inactive-face, widget-button-pressed-face):
6906 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
6907 (woman-addition-face):
6908 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
6909 (eshell-ls-executable-face, eshell-ls-readonly-face)
6910 (eshell-ls-unreadable-face, eshell-ls-special-face)
6911 (eshell-ls-missing-face, eshell-ls-archive-face)
6912 (eshell-ls-backup-face, eshell-ls-product-face)
6913 (eshell-ls-clutter-face):
6914 * eshell/em-prompt.el (eshell-prompt-face):
6915 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
6916 * obsolete/old-whitespace.el (whitespace-highlight-face):
6917 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
6918 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
6919 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
6920 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
6921 (antlr-font-lock-literal-face):
6922 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
6923 (ebrowse-root-class-face, ebrowse-file-name-face)
6924 (ebrowse-default-face, ebrowse-member-attribute-face)
6925 (ebrowse-member-class-face, ebrowse-progress-face):
6926 * progmodes/make-mode.el (makefile-space-face):
6927 * progmodes/sh-script.el (sh-heredoc-face):
6928 * textmodes/flyspell.el (flyspell-incorrect-face)
6929 (flyspell-duplicate-face):
6930 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
6931 * textmodes/texinfo.el (texinfo-heading-face):
6932 Mark face aliases with "-face" suffix as obsolete.
6934 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
6937 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
6938 (eudc-bob-sound-menu): Use defvar rather than defconst, since
6939 easy-menu-define wants to modify these.
6941 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
6943 * net/browse-url.el (browse-url-file-url):
6944 * term/internal.el (dos-codepage-setup):
6945 Use default-value rather than default-enable-multibyte-characters.
6947 * progmodes/etags.el (etags-goto-tag-location):
6948 * progmodes/flymake.el (flymake-highlight-line)
6949 (flymake-goto-file-and-line, flymake-goto-line):
6950 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
6951 (gdb-goto-breakpoint):
6952 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
6953 * progmodes/python.el (python-find-function)
6954 (python-pdbtrack-track-stack-file):
6955 * progmodes/verilog-mode.el (verilog-surelint-off):
6956 * term/ns-win.el (ns-open-file-select-line):
6957 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
6958 Use forward-line rather than goto-line.
6960 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
6961 * textmodes/reftex-index.el (reftex-display-index):
6962 * textmodes/reftex-ref.el (reftex-offer-label-menu):
6963 * textmodes/reftex-toc.el (reftex-toc):
6964 Remove unnecessary bindings of default-major-mode (all are followed by
6965 major-mode check and possible mode switch).
6967 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
6969 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6970 Handle watchpoints (bug#4282).
6971 (def-gdb-thread-buffer-command): Enable thread to be selected by
6972 clicking without selecting threads buffer first.
6973 (gdb-current-context-command): Use selected frame so that "up",
6974 "down" etc work in the GUD buffer.
6975 (gdb-update): Find selected frame before rendering stack buffer.
6976 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
6978 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
6980 * progmodes/sym-comp.el (displayed-completions): Remove.
6981 (symbol-complete): Use minibuffer-complete.
6983 2009-08-31 Glenn Morris <rgm@gnu.org>
6985 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
6987 * apropos.el (apropos-symbols-internal):
6988 Handle (obsolete) face aliases.
6990 * faces.el (describe-face): Adjust the output format to be more like
6991 describe-variable, and to mention (obsolete) face aliases.
6992 Adjust the whitespace so that help-setup-xref works.
6994 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
6995 * calendar/diary-lib.el (diary-button-face):
6996 Mark these face aliases as obsolete.
6998 * calendar/calendar.el (calendar-today): Doc fix.
7000 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
7002 * progmodes/gdb-mi.el (gdb-control-all-threads)
7003 (gdb-control-current-thread): Force tool bar update.
7004 (gdb-non-stop-handler): New function.
7005 (gdb-init-1): Use it to test if non-stop mode is supported.
7006 Remove unused gdbmi buffer type.
7008 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
7010 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
7011 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
7013 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
7015 * comint.el (comint-exec-1): Check command is non-null first.
7016 Part of gdb-mi.el change (2009-08-28).
7018 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7020 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
7022 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
7024 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
7025 instead of `dolist' to avoid a recursive require when bootstrapping.
7027 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7029 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
7031 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
7033 * net/imap.el (imap-send-command): Simplify.
7034 (imap-wait-for-tag): point-max -> buffer-size.
7036 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
7038 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
7039 with constant argument.
7041 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
7043 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
7045 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
7046 Change default, since most of our files don't have a history.
7047 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
7050 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7053 * calc/calc.el: Improve commenting convention.
7054 (calc-digit-map, toplevel): Simplify.
7056 * comint.el (comint-insert-input): Be careful to only set point if we
7057 don't delegate to some other command.
7059 * proced.el (proced-signal-list): Make it an alist.
7060 (proced-grammar-alist): Capitalize names.
7061 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
7062 Disable undo manually and make it read-only.
7063 Use completion-annotate-function.
7065 * minibuffer.el (minibuffer-message): If the current buffer is not
7066 a minibuffer, insert the message in the echo area rather than at the
7068 (completion-annotate-function): New variable.
7069 (minibuffer-completion-help): Use it.
7070 (completion--embedded-envvar-table): Environment vars are
7071 always case-sensitive.
7073 2009-08-30 Glenn Morris <rgm@gnu.org>
7075 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
7076 from fortran-current-defun.
7077 (fortran-beginning-of-subprogram): Be more precise about finding the
7078 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
7079 (fortran-end-of-subprogram): Simplify.
7080 (fortran-current-defun): Use fortran-start-prog-re.
7082 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
7084 * subr.el (do-after-load-evaluation): Simplify.
7086 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
7088 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
7090 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
7091 (vc-rcs-print-log): Use it.
7093 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
7095 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7097 * paths.el (abbrev-file-name): Move to abbrev.el.
7098 * abbrev.el (abbrev-file-name): Move from paths.el.
7099 Obey user-emacs-directory.
7100 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
7101 user-emacs-directory.
7102 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
7103 abbrev-file-name and calc-settings-file any more.
7104 * startup.el (command-line): Recompute abbrev-file-name and
7105 abbreviated-home-dir.
7106 (normal-no-mouse-startup-screen): Improve the generic code and get rid
7107 of the special code for when C-h bindings haven't been changed.
7108 (display-startup-echo-area-message): Use with-current-buffer.
7109 (command-line-1): Use a list of strings, rather than a list of lists
7110 of strings for longopts.
7112 * files.el (get-free-disk-space): Use / for default-directory.
7114 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
7115 Use with-current-buffer.
7117 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
7118 Recognize immutable variables like most-positive-fixnum.
7119 (byte-compile-setq-default): Check and warn if trying to assign
7120 to an immutable variable, or a non-variable.
7122 * progmodes/cc-vars.el (c-comment-continuation-stars):
7123 * progmodes/cc-engine.el (c-looking-at-bos):
7124 * progmodes/cc-cmds.el (c-toggle-auto-state)
7125 (c-forward-into-nomenclature, c-backward-into-nomenclature)
7126 (c-comment-line-break-function): Add version of obsolescence.
7128 2009-08-28 Juri Linkov <juri@jurta.org>
7130 * files.el (magic-fallback-mode-alist): Add ZIP magic number
7131 associated with `archive-mode'.
7133 * image.el (image-type-header-regexps): Use only JPEG magic number
7134 to determine JPEG images, and don't use `image-jpeg-p' because
7135 Emacs can display non-JFIF non-Exif JPEG images.
7137 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
7139 * arc-mode.el (archive-mode):
7140 * emacs-lisp/re-builder.el (re-builder-unload-function):
7141 Protect against the default value of `major-mode' being nil.
7143 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
7145 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
7146 Fix typos in docstrings.
7148 * progmodes/js.el (js--macro-decl-re): Doc fix.
7149 (js--plain-method-re, js--split-name): Refloc docstring.
7150 (js--class-styles, js--make-merged-item, js--splice-into-items):
7151 Fix typos in docstrings; reflow docstrings.
7152 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
7153 (js--variable-decl-matcher, js--inside-pitem-p)
7154 (js--parse-state-at-point, js--get-all-known-symbols)
7155 (js--symbol-history, js-find-symbol, js--js-references)
7156 (js--moz-interactor, js--js-encode-value, js--read-tab):
7157 Fix typos in docstrings.
7159 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7161 * textmodes/reftex.el (reftex-get-file-buffer-force):
7162 * progmodes/verilog-mode.el (verilog-batch-execute-func):
7163 * emulation/viper.el (viper-go-away, viper-set-hooks):
7164 * emacs-lisp/re-builder.el (re-builder-unload-function):
7165 * emacs-lisp/bytecomp.el (byte-compile-file):
7166 * ses.el (ses-unload-function):
7167 * hexl.el (hexl-find-file):
7168 * files.el (normal-mode):
7169 * ehelp.el (with-electric-help):
7170 * autoinsert.el (auto-insert-alist):
7171 * arc-mode.el (archive-mode):
7172 Use (default-value 'major-mode) instead of default-major-mode.
7174 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
7175 * international/mule.el (load-with-code-conversion):
7176 * emacs-lisp/debug.el (debug):
7177 * ediff-vers.el (ediff-rcs-get-output-buffer):
7178 * dired.el (dired-internal-noselect): Don't let-bind
7179 default-major-mode around code that doesn't use it.
7180 E.g. buffer creation via get-buffer-create doesn't use it.
7182 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
7184 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
7185 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
7186 when writing the temp file. Otherwise, epa-file gets confused.
7187 (tramp-register-file-name-handlers): Make it a defun. Move also
7188 `epa-file-handler' to the front of `file-name-handler-alist'.
7190 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7192 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
7193 start right after a ^M.
7194 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
7195 (tramp-completion-file-name-regexp-separate)
7196 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
7197 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
7198 Don't modify last-coding-system-used by accident.
7199 (tramp-completion-file-name-handler): Apply the checks here,
7200 instead during registration.
7201 (tramp-register-file-name-handlers) Renamed from
7202 `tramp-register-file-name-handler'. Register both
7203 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
7204 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
7206 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
7208 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
7210 (gdb-init-1, gdb-display-separate-io-buffer)
7211 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
7213 (gdb-inferior-io-mode): Use make-comint-in-buffer.
7214 (gdb-inferior-filter): Use comint-output-filter to stop
7215 echoing and remove ^M characters.
7217 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7219 * emulation/viper-init.el (viper-restore-cursor-type):
7220 * emulation/cua-base.el (cua--update-indications):
7221 Replace default-cursor-type with (default-value 'cursor-type).
7223 * mail/sendmail.el (mail-recover-1):
7224 * international/mule-diag.el (describe-current-coding-system-briefly)
7225 (describe-current-coding-system):
7226 * international/mule-cmds.el (select-safe-coding-system)
7227 (select-message-coding-system)
7228 (set-language-environment-coding-systems, set-locale-environment):
7229 * hexl.el (hexl-insert-multibyte-char):
7230 * dos-w32.el (find-buffer-file-type-coding-system):
7231 * simple.el (what-cursor-position):
7232 Replace uses of default-buffer-file-coding-system
7233 with (default-value 'buffer-file-coding-system).
7235 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
7236 Replace uses of default-cursor-in-non-selected-windows
7237 with (default-value 'cursor-in-non-selected-windows).
7238 Use with-current-buffer.
7240 * mail/feedmail.el: Use CL macros.
7241 (feedmail-run-the-queue, feedmail-send-it-immediately):
7242 * dos-w32.el (find-buffer-file-type): Replace uses of
7243 default-buffer-file-type with (default-value 'buffer-file-type).
7245 2009-08-28 Glenn Morris <rgm@gnu.org>
7247 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
7248 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
7249 Use default-value of major-mode rather than default-major-mode.
7251 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7253 * Makefile.in (update-elcfiles): Report left over elc files.
7255 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
7256 expand-file-name and with-current-buffer.
7257 (mail-get-names, mail-directory): Use with-current-buffer.
7259 * vc.el (vc-read-revision): New function.
7260 (vc-version-diff, vc-merge): Use it.
7262 2009-08-27 Sam Steingold <sds@gnu.org>
7264 * simple.el (kill-do-not-save-duplicates): New user option.
7265 (kill-new): When it is non-nil, and the new string is the same as
7266 the latest kill, set replace to t to avoid duplicates in kill-ring.
7268 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
7270 * net/tramp.el (tramp-handle-process-file): Do not flush all
7271 caches when `process-file-side-effects' is set.
7272 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
7273 instead of `tramp-find-file-exists-command'.
7274 Unset `process-file-side-effects'.
7276 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
7278 * net/tramp.el (tramp-methods): New method "rsyncc".
7279 (top): Add completion function for "rsyncc".
7280 (tramp-message-show-message): New defvar.
7281 (tramp-message, tramp-error): Use it.
7282 (tramp-do-copy-or-rename-file-directly): Extend check for direct
7284 (tramp-do-copy-or-rename-file-out-of-band): Handle new
7285 `tramp-methods' entry `copy-env' of "rsyncc".
7286 (tramp-vc-registered-read-file-names): New defconst.
7287 (tramp-vc-registered-file-names): New defvar.
7288 (tramp-handle-vc-registered): Implement optimization strategy.
7289 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
7290 (tramp-vc-file-name-handler): New defun.
7291 (tramp-get-ls-command, tramp-get-test-command)
7292 (tramp-get-file-exists-command, tramp-get-remote-ln)
7293 (tramp-get-remote-perl, tramp-get-remote-stat)
7294 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
7296 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
7297 (tramp-cache-inhibit-cache): Extend doc string. It allows also
7299 (tramp-get-file-property): Check for timestamps in
7300 `tramp-cache-inhibit-cache'.
7301 (tramp-set-file-property): Write timestamp.
7303 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
7305 * language/japan-util.el (japanese-symbol-table): Add entries for
7308 * international/characters.el: Add category `j' to cp932-2-byte.
7310 2009-08-27 Kenichi Handa <handa@m17n.org>
7312 * international/fontset.el (build-default-fontset-data): New macro.
7313 (setup-default-fontset): Use build-default-fontset-data for CJK,
7314 tibetan, ethiopic, and ipa.
7316 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7318 * cus-start.el (default-major-mode): Customize `major-mode' instead.
7319 (enable-multibyte-characters): Not customizable any more.
7321 * subr.el (default-mode-line-format, default-header-line-format)
7322 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
7323 (default-direction-reversed, default-truncate-lines)
7324 (default-left-margin, default-tab-width, default-case-fold-search)
7325 (default-left-margin-width, default-right-margin-width)
7326 (default-left-fringe-width, default-right-fringe-width)
7327 (default-fringes-outside-margins, default-scroll-bar-width)
7328 (default-vertical-scroll-bar, default-indicate-empty-lines)
7329 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
7330 (default-fringe-cursor-alist, default-scroll-up-aggressively)
7331 (default-scroll-down-aggressively, default-fill-column)
7332 (default-cursor-type, default-buffer-file-type)
7333 (default-cursor-in-non-selected-windows)
7334 (default-buffer-file-coding-system, default-major-mode)
7335 (default-enable-multibyte-characters): Mark as obsolete.
7337 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
7339 * vc-dir.el (vc-dir-update): Remove debug helper.
7341 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
7343 2009-08-26 Sam Steingold <sds@gnu.org>
7345 * simple.el (save-interprogram-paste-before-kill): New user option.
7346 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
7347 save the interprogram-paste into kill-ring before overriding it
7348 with the Emacs kill.
7350 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
7352 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
7353 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
7354 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
7355 and move to vc-rcs.el.
7356 (vc-default-next-revision): Rename to vc-rcs-next-revision and
7358 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
7359 (vc-rcs-update-changelog): Remove.
7360 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
7361 and move to vc-rcs.el.
7363 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
7364 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
7366 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
7367 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
7368 vc.el, renamed to be RCS specific.
7370 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
7372 (vc-cvs-update-changelog): Move here from vc.el.
7374 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
7377 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
7379 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
7381 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
7383 * vc-git.el (vc-git-register): Use "git add" for directories.
7384 (vc-git-stash, vc-git-stash-show): New functions.
7385 (vc-git-extra-menu-map): Bind them.
7387 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
7388 directory correctly in case the item is a directory itself.
7390 * vc.el: Document the desired behavior for reverted files in the
7392 (vc-default-prettify-state-info): Remove function, unused.
7394 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
7396 2009-08-26 Glenn Morris <rgm@gnu.org>
7398 * bindings.el (standard-mode-line-format): Reposition dashes in
7399 which-func entry. (Bug#4217)
7401 * files.el (enable-local-variables, enable-local-eval)
7402 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
7404 (auto-mode-alist, ignored-local-variables)
7405 (save-some-buffers-action-alist): Move risky declarations to the
7407 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
7408 (font-lock-defaults, format-alist, imenu--index-alist)
7409 (imenu-generic-expression, input-method-alist, minor-mode-alist)
7410 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
7411 (mode-line-modified, mode-line-mule-info, mode-line-position)
7412 (mode-line-process, mode-line-remote, outline-level)
7413 (parse-time-rules, rmail-output-file-alist)
7414 (special-display-buffer-names, vc-mode):
7415 Move risky declarations to the relevant files.
7416 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
7417 (mode-line-modified, mode-line-process, mode-line-position)
7418 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
7419 * font-core.el (font-lock-defaults):
7420 * format.el (format-alist):
7421 * vc-hooks.el (vc-mode):
7422 * window.el (special-display-buffer-names):
7423 * international/mule-cmds.el (input-method-alist):
7424 Define riskiness here (dumped file) rather than in files.el.
7425 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
7426 * imenu.el (imenu-generic-expression, imenu--index-alist):
7427 * outline.el (outline-level):
7428 * time.el (display-time-string):
7429 * calendar/parse-time.el (parse-time-rules):
7430 * mail/rmailout.el (rmail-output-file-alist):
7431 Autoload riskiness here, rather than placing in files.el.
7433 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
7435 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
7437 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
7439 * simple.el (process-file-side-effects): New defvar.
7441 * dired-aux.el (dired-show-file-type):
7442 * vc.el (vc-diff-internal):
7443 * vc-arch.el (vc-arch-diff):
7444 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
7445 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
7446 * vc-git.el (vc-git-registered, vc-git-working-revision)
7447 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
7448 (vc-git--empty-db-p):
7449 * vc-hooks.el (vc-user-login-name):
7450 * vc-svn.el (vc-svn-registered, vc-svn-state)
7451 (vc-svn-dir-extra-headers, vc-svn-find-revision):
7452 * progmodes/grep.el (grep-probe): Let-bind
7453 `process-file-side-effects' with nil.
7455 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
7457 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
7458 daemon. Replace ping by checking for running service for bluez
7459 and zeroconf. (Bug#4239)
7461 2009-08-25 Kevin Ryde <user42@zip.com.au>
7463 * net/dig.el (dig): Add autoload cookie.
7465 2009-08-25 Glenn Morris <rgm@gnu.org>
7467 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
7468 load-history for absolute file-names.
7469 (byte-compile-file-form-require): Warn about use of the cl package.
7471 * format.el (format-alist): Doc fix.
7473 * play/bubbles.el (top-level): Don't require cl at run-time.
7475 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
7478 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
7480 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
7482 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
7484 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
7486 * calc/calc-alg.el (math-trig-rewrite)
7487 (math-hyperbolic-trig-rewrite): New functions.
7488 (calc-simplify): Simplify trig functions when asked.
7490 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7492 * diff-mode.el (diff-find-source-location): Avoid goto-line.
7494 2009-08-24 Kenichi Handa <handa@m17n.org>
7496 * language/ind-util.el (mapthread): Delete it.
7497 (combinatorial): New function.
7498 (indian--puthash-cv): Use combinatorial instead of mapthread.
7500 2009-08-22 Kevin Ryde <user42@zip.com.au>
7502 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
7503 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
7504 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
7505 Clarify docstring that the value is strings not symbols.
7506 (checkdoc-list-of-strings-p): New function.
7508 2009-08-22 Glenn Morris <rgm@gnu.org>
7510 * files.el (auto-mode-alist):
7511 * hippie-exp.el (he-concat-directory-file-name):
7512 * lpr.el (lpr-windows-system, printer-name):
7513 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
7514 * ps-print.el (ps-windows-system):
7515 * startup.el (command-line):
7516 * emulation/viper-ex.el (viper-glob-function):
7517 * international/mule-cmds.el (set-language-environment-coding-systems):
7518 * net/ange-ftp.el (ange-ftp-write-region):
7519 * obsolete/fast-lock.el (fast-lock-cache-name):
7520 Remove code for defunct system-types emx, macos, mswindows, next-mach,
7521 unisoft-unix, vax-vms, win32, w32.
7523 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
7524 given name if the pattern is not more specific.
7526 * calendar/lunar.el (lunar-phase-names): New option.
7527 (lunar-phase): Doc fix.
7528 (lunar-cycles-per-year): New constant.
7529 (lunar-index): New function.
7530 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
7531 (lunar-phase-name): Use lunar-phase-names.
7532 (calendar-lunar-phases): Use format.
7533 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
7535 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
7536 Copy imenu-example--name-and-position function here for own use.
7537 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
7539 * bs.el (bs--redisplay):
7540 * cus-edit.el (custom-redraw):
7541 * ibuffer.el (ibuffer-bury-buffer):
7542 * server.el (server-goto-line-column):
7543 * startup.el (command-line-1):
7544 * strokes.el (strokes-xpm-for-stroke):
7545 * term.el (term-display-buffer-line):
7546 * view.el (View-goto-line):
7547 * calc/calc.el (calc-do, calc-trail-buffer):
7548 * play/gamegrid.el (gamegrid-add-score-insecure):
7549 * progmodes/ada-mode.el (ada-compile-goto-error):
7550 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
7551 (ebrowse-select-1st-to-9nth):
7552 * progmodes/cperl-mode.el (cperl-time-fontification):
7553 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
7554 * progmodes/gud.el (gud-display-line):
7555 (idlwave-shell-display-line):
7556 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
7557 * progmodes/make-mode.el (makefile-browser-toggle):
7558 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
7559 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
7560 * textmodes/picture.el (picture-draw-rectangle):
7561 * textmodes/reftex-index.el (reftex-index-goto-letter):
7562 (reftex-select-jump-to-previous):
7563 * textmodes/reftex-sel.el (reftex-find-start-point)
7564 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
7565 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
7566 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
7567 * textmodes/tex-mode.el (tex-compilation-parse-errors):
7568 * textmodes/two-column.el (2C-associated-buffer):
7569 Use forward-line rather than goto-line.
7571 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
7574 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
7575 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
7576 (quick-check-list-to-regexp): Declare.
7578 * progmodes/make-mode.el (makefile-browser-insert-selection):
7579 Use goto-char rather than goto-line.
7581 * progmodes/prolog.el (compilation-error-regexp-alist)
7582 (compilation-forget-errors): Declare.
7584 2009-08-22 Juri Linkov <juri@jurta.org>
7586 * progmodes/grep.el (lgrep, rgrep): At the beginning
7587 set `dir' to `default-directory' unless `dir' is a non-nil
7588 readable directory. (Bug#4052)
7589 (lgrep, rgrep): Change a weird way to report an error
7590 from using `read-string' to using `error'.
7591 Instead of using interactive arguments in the function body,
7592 add new argument `confirm'.
7594 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7596 * textmodes/remember.el (remember-buffer):
7597 * progmodes/cperl-mode.el (cperl-vc-header-alist):
7598 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
7599 (icalendar-extract-ical-from-buffer):
7600 * net/newst-treeview.el (newsticker-groups-filename):
7601 * net/newst-backend.el (newsticker-cache-filename):
7602 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
7603 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
7604 (speedbar-add-ignored-path-regexp, speedbar-line-path)
7605 (speedbar-buffers-line-path, speedbar-path-line)
7606 (speedbar-buffers-line-path):
7607 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
7609 * epa.el (epa-display-verify-result):
7610 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
7612 2009-08-21 Glenn Morris <rgm@gnu.org>
7614 * progmodes/js.el (inferior-moz-process): Fix declaration.
7616 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
7618 * obsolete/rnewspost.el (news-mail-reply):
7619 Use goto-char rather than goto-line.
7621 * term/ns-win.el (ns-open-file-select-line):
7622 Use line-beginning-position rather than goto-line.
7624 * apropos.el (apropos-command):
7625 * ehelp.el (electric-helpify):
7626 * printing.el (pr-show-setup):
7627 * strokes.el (strokes-help):
7628 * tutorial.el (tutorial--describe-nonstandard-key)
7629 (tutorial--detailed-help):
7630 * woman.el (woman-mini-help, woman-display-extended-fonts):
7631 * calc/calc-help.el (calc-describe-key):
7632 * emulation/edt.el (edt-electric-helpify):
7633 * international/mule-diag.el (mule-diag):
7634 * play/yow.el (apropos-zippy):
7635 * progmodes/python.el (python-describe-symbol):
7636 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
7637 * textmodes/table.el (*table--cell-describe-mode)
7638 (*table--cell-describe-bindings):
7639 Use help-print-return-message rather than the now obsolete alias.
7641 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
7642 (calendar-cursor-to-visible-date):
7643 * play/5x5.el (5x5-position-cursor):
7644 * play/decipher.el (decipher):
7645 * play/gomoku.el (gomoku-goto-xy):
7646 * play/landmark.el (lm-goto-xy):
7647 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
7649 Use forward-line, not goto-line.
7651 * mail/rmail.el (rmail-obsolete): Delete custom group.
7652 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
7653 (rmail-remote-password, rmail-remote-password-required):
7654 Remove unneeded :set-after and :set properties.
7656 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
7658 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
7660 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
7662 * loadup.el: Remove leftover macos code.
7664 * vc-git.el (vc-git-annotate-command): Run asynchronously.
7665 Explicitly pass the date format to git blame so that user local
7666 so that the output format can be parsed.
7668 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
7670 * net/dbus.el (top): Don't check for (getenv
7671 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
7673 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
7675 * log-edit.el (log-edit-strip-single-file-name): New var.
7676 (log-edit-insert-changelog): Use it. Bug#3571
7678 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7680 * subr.el (read-passwd): Use read-key so keypad keys work as well.
7683 * help.el (help-print-return-message): Rename from
7684 print-help-return-message.
7686 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
7687 cvs-mode-map parent hack.
7688 (log-view-mode): Derive from special-mode.
7690 * linum.el (linum-mode): window-size-change-functions is redundant.
7691 Adapt to new window-configuration-change-hook behavior.
7692 (linum-after-size, linum-after-config): Remove.
7694 * imenu.el (imenu-example--name-and-position)
7695 (imenu-example--lisp-extract-index-name)
7696 (imenu-example--create-lisp-index, imenu-example--create-c-index):
7699 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
7700 (inferior-prolog-mode): Use it.
7701 (inferior-prolog-load-file): Reset list of errors.
7703 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
7705 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
7707 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
7709 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
7711 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
7714 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7716 * subr.el (listify-key-sequence-1): Use normal syntax since those
7717 integers are nowadays always represented by the same (positive) number
7719 (read-key-empty-map): New const.
7720 (read-key-delay): New var.
7721 (read-key): New function.
7722 (force-mode-line-update): Use with-current-buffer.
7723 (locate-user-emacs-file): Don't forget to abbreviate the file name.
7724 (start-process-shell-command, start-file-process-shell-command):
7725 Discourage the use of command-args.
7727 2009-08-19 Glenn Morris <rgm@gnu.org>
7729 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
7731 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7733 * simple.el (choose-completion-string): Don't rely on
7734 minibuffer-completing-file-name and ad-hoc checks to decide whether
7735 to continue completion or not.
7737 * minibuffer.el (minibuffer-hide-completions): New function.
7738 (completion--do-completion): Use it.
7739 (completions-annotations): New face.
7740 (completion--insert-strings): Use it.
7741 (completion-pcm--delim-wild-regex): Add docstring.
7742 (completion-pcm--string->pattern): Add support for 0-width delimiters
7743 in completion-pcm--delim-wild-regex.
7745 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7747 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
7748 Remove unused var `buffer-modified-p'.
7750 * minibuffer.el (completion--do-completion): Move point for the #b001
7751 case as well (bug#4176).
7752 (minibuffer-complete, minibuffer-complete-word): Don't move point.
7754 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
7756 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
7759 2009-08-18 Kenichi Handa <handa@m17n.org>
7761 * international/ucs-normalize.el (ucs-normalize-version):
7763 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
7764 (utf-8-hfs): Make it perform normalization on encoding too.
7766 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
7767 (sentence-end-without-space): Delete duplicated chars.
7768 (sentence-end-base): Likewise.
7770 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
7771 (html-mode): Delete duplicated chars from sentence-end-base.
7773 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
7774 (texinfo-mode): Delete duplicated chars from sentence-end-base.
7776 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
7778 * files.el (hack-one-local-variable): If the mode function is for
7779 a minor mode, pass it an argument (Bug#4148).
7781 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
7783 * net/tramp.el (tramp-register-completion-file-name-handler):
7784 Check also for (member 'partial-completion completion-styles).
7786 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
7788 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
7791 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
7793 * progmodes/cperl-mode.el: Merge upstream 6.2.
7794 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
7795 (cperl-forward-re): Check cperl-brace-recursing.
7796 (cperl-highlight-charclass): New function.
7797 (cperl-find-pods-heres): Use it.
7798 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
7799 (cperl-beautify-regexp-piece): Fix column calculation.
7800 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
7801 (cperl-beautify-level): Don't process entire regexp.
7802 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
7804 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
7805 (cperl-init-faces): Build a list in the normal way.
7807 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
7809 * calendar/parse-time.el (parse-time-string-chars): Save match
7812 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
7814 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
7815 (sql-product): Use it.
7816 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
7817 (sql-set-product): Add completion.
7818 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
7819 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
7820 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
7821 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
7822 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
7823 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
7824 (sql-highlight-db2-keywords): Remove.
7825 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7826 (sql-highlight-product): Use derived-mode-p.
7827 (sql-set-sqli-buffer): Use with-current-buffer.
7828 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
7831 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
7833 * term.el: Fix commenting convention, turn comments into docstrings.
7835 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
7837 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
7839 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
7841 * calendar/parse-time.el (parse-time-string-chars): Compute using
7842 character classes, to handle non-ascii characters (Bug#3190).
7844 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
7846 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
7847 another heredoc if the user adds another < (Bug#3226).
7849 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
7850 Don't initialize based on window-system (Bug#4124).
7852 * facemenu.el (facemenu-read-color): Use a completion function
7853 that accepts any defined color, such as RGB triplets (Bug#3677).
7855 * files.el (get-free-disk-space): Change fallback default
7856 directory to /. Expand DIR argument before switching to fallback.
7857 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
7859 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
7861 * files.el (load-library): Doc fix.
7863 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
7865 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
7866 (viper-if-string): Redefine C-s in the minibuffer to insert the last
7867 incremental search string.
7869 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
7872 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
7873 (ediff-merge-region-is-non-clash)
7874 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
7875 Also check if the job is really a merge job.
7877 * ediff.el (ediff-current-file): New function.
7879 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
7881 * progmodes/js.el: Edit docstrings throughout to follow Emacs
7883 (js-insert-and-indent): Delete function.
7884 (js-mode-map): Don't bind keys to js-insert-and-indent.
7885 (js-beginning-of-defun): Rename from js--beginning-of-defun.
7886 (js-end-of-defun): Rename from js--end-of-defun.
7887 (js-auto-indent-flag): Delete variable.
7889 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
7891 * progmodes/js.el: Remove proclaim statement.
7892 Defvar which-func-imenu-joiner-function to silence compiler.
7894 * files.el (auto-mode-alist): Use js-mode for .js files.
7896 * progmodes/js2-mode.el: Remove file.
7898 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
7900 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
7902 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
7904 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
7905 Karl Landstrom <karl.landstrom@brgeight.se>
7907 * progmodes/js.el: New file.
7909 2009-08-14 Mark A. Hershberger <mah@everybody.org>
7911 * timezone.el (timezone-parse-date): Add ability to understand ISO
7912 basic format (minimal separators) dates in addition to the
7913 already-supported extended format dates.
7915 2009-08-14 Eli Zaretskii <eliz@gnu.org>
7917 * international/ucs-normalize.el: Add a `coding' file variable.
7919 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
7921 2009-08-14 Sam Steingold <sds@gnu.org>
7923 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
7925 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
7927 * faces.el (help-argument-name): Define it here instead of
7928 help-fns.el, because in daemon mode help-fns.el may be loaded when
7929 faces are still uninitialized (Bug#1078).
7931 * help-fns.el (help-argument-name): Move defface to faces.el.
7933 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
7935 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
7936 create buffer with a pty but no process so that GDB can make the
7937 inferior the controlling process.
7939 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
7941 * international/ucs-normalize.el: New file.
7943 2009-08-13 Richard Stallman <rms@gnu.org>
7945 * mail/rmail.el (rmail-get-attr-names):
7946 Accept an attribute header that is too short.
7948 * mail/rmail.el (rmail-forget-messages):
7949 Ignore nil elt in rmail-message-vector. Use dotimes.
7951 * progmodes/compile.el (compilation-goto-locus):
7952 Use next-error-move-function.
7954 * simple.el (next-error-move-function): New variable.
7956 2009-08-12 Juri Linkov <juri@jurta.org>
7958 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
7959 always non-nil. (Bug#4052)
7961 * replace.el (read-regexp): Return empty string when
7962 `default-value' is nil.
7963 (keep-lines-read-args): Don't use empty string as the
7964 default value for `read-regexp'. (Bug#2495)
7966 2009-08-12 Juri Linkov <juri@jurta.org>
7968 * international/mule-cmds.el (ucs-insert): Change arguments
7969 from `arg' to `character', `count', `inherit' to be the same
7970 as in `insert-char'. Doc fix. (Bug#4039)
7972 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
7974 2009-08-12 Juri Linkov <juri@jurta.org>
7976 * files-x.el: New file.
7978 * files.el: Move code that deals with adding/deleting
7979 file/directory-local variables to files-x.el.
7981 * Makefile.in (ELCFILES): Add files-x.elc.
7983 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
7985 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
7987 (gdb-place-breakpoints, gdb-get-location): Rewritten without
7989 (gdb-invalidate-disassembly): Do not refresh upon receiving
7990 'update signal. Instead, update all disassembly buffers only after
7992 (gdb): Send -target-detach when buffer is killed (Bug#3794).
7993 (gdb-starting): Moved -data-list-register-names...
7994 (gdb-stopped): ...here so it's sent when first thread stops.
7995 (gdb-registers-handler-custom): Do nothing if register names are
7998 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
7999 from `gdb-mi.el' to avoid extra tangling.
8001 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
8002 change which breaks `gud-def' definitions used in `gdb'.
8003 (gdb-update-gud-running): No extra fuss for updating frame number.
8005 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8007 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
8008 (describe-language-environment-map, setup-language-environment-map)
8009 (set-coding-system-map): Move initialization into declaration.
8010 (set-language-info-alist): Last arg to define-key-after can be skipped.
8012 * international/quail.el (quail-completion-1): Simplify.
8013 (quail-define-rules): Use slightly more compact code.
8014 (quail-insert-decode-map): Propertize keys, compact columns.
8016 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8019 2009-08-10 Miles Bader <miles@gnu.org>
8021 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
8022 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
8023 (js2-instance-member, js2-private-member, js2-private-function-call)
8024 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
8025 (js2-magic-paren, js2-external-variable):
8026 Remove "-face" suffix from face names.
8027 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
8028 (js2-highlight-undeclared-vars, js2-peek-token)
8029 (js2-parse-function-params, js2-mode-show-errors)
8030 (js2-mode-show-warnings, js2-make-magic-delimiter)
8031 (js2-mode-highlight-magic-parens): Update to use new face names.
8033 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
8035 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
8036 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
8038 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
8040 * subr.el: Provide hashtable-print-readable.
8042 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
8043 hs-c-like-adjust-block-beginning.
8044 (hs-hide-block-at-point): Stop hiding at the beginning of
8045 hs-block-end-regexp (Bug#700).
8047 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
8049 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
8051 (gdb-registers-handler-custom): Do not fail when register names
8054 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
8056 * progmodes/gdb-mi.el (gdb-control-all-threads)
8057 (gdb-control-current-thread): Interactive setters for
8058 `gdb-gud-control-all-threads' to use in menu.
8059 (gdb-show-run-p): Show «Go» when process is not active.
8060 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
8061 gud/thread.xpm and gud/all.xpm.
8063 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
8065 * net/net-utils.el (net-utils-font-lock-keywords): New var.
8066 (nslookup-font-lock-keywords): Make it a variable.
8067 (net-utils-mode): New mode for viewing diagnostic network output.
8068 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
8069 (net-utils-run-simple): New function.
8070 (ifconfig, iwconfig, netstat, arp, route): Use it.
8072 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
8074 * progmodes/gdb-mi.el (gdb-read-memory-custom)
8075 (gdb-memory-set-address, def-gdb-set-positive-number)
8076 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
8077 after changing settings.
8078 (gdb-invalidate-disassembly): Update when first shown.
8079 (gdb-edit-locals-value): Fixed.
8080 (gdb-registers-handler-custom): Print registers in right order and
8081 allow changing register values (only for current thread yet).
8082 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
8083 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
8084 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
8085 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
8087 (gdb-registers-mode-map): TAB to switch to locals.
8089 2009-08-08 Eli Zaretskii <eliz@gnu.org>
8091 * mail/rmail.el (rmail-add-mbox-headers)
8092 (rmail-set-message-counters-counter): Search for
8093 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
8095 2009-08-08 Glenn Morris <rgm@gnu.org>
8097 * Makefile.in (ELCFILES): Update.
8099 2009-08-07 Eli Zaretskii <eliz@gnu.org>
8101 * mail/sendmail.el (mail-yank-original): Set
8102 buffer-file-coding-system from the one used by the message whose
8105 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
8106 to "windows" when "pgnuplot" is used.
8107 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
8108 call accept-process-output if "pgnuplot" is used.
8109 (calc-graph-init): Don't send -display and -geometry to
8110 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
8111 running "pgnuplot -V" with shell-command-to-string.
8113 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
8116 2009-08-07 Eli Zaretskii <eliz@gnu.org>
8118 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
8121 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
8123 * vc-dispatcher.el (vc-resynch-window): Update comment.
8125 * term.el (term-handle-ansi-escape): Add comments with the
8126 terminfo capabilities implemented.
8128 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
8130 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
8131 (gdb-var-create-handler): Rewritten using JSON parser.
8132 (gdb-propertize-header): Moved earlier.
8133 (gdb-set-header): Removed to avoid duplication.
8134 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
8135 Refresh disassembly buffers only after threads list have been
8137 (gdb-threads-header, gdb-registers-header): Per-buffer header line
8140 2009-08-04 Juri Linkov <juri@jurta.org>
8142 * files.el: Commands to add/delete file/directory-local variables.
8143 (read-file-local-variable, read-file-local-variable-value)
8144 (read-file-local-variable-mode, modify-file-local-variable)
8145 (modify-file-local-variable-prop-line)
8146 (modify-dir-local-variable): New functions.
8147 (add-file-local-variable, delete-file-local-variable)
8148 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
8149 (add-dir-local-variable, delete-dir-local-variable)
8150 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
8151 (copy-dir-locals-to-file-locals-prop-line): New commands.
8153 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
8155 * abbrev.el (insert-abbrev-table-description): Prettify output.
8156 Suggested by Karl Chen.
8158 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
8160 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
8161 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
8162 (gdb-overlay-arrow-position, gdb-thread-position)
8163 (gdb-disassembly-position): Declare variables.
8164 (gdb-wait-for-pending): Function now.
8165 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
8166 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
8167 compilation goes smoothly.
8168 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
8169 (gdb-non-stop-setting): New customization setting which replaces
8170 `gdb-non-stop' so changing it doesn't break active GDB session.
8171 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
8172 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
8173 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
8174 (gdb-show-threads-by-default): New customization options.
8175 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
8177 (gdb-get-buffer-create): Send buffers update signal when they are
8179 (gdb-invalidate-locals, gdb-invalidate-registers)
8180 (gdb-invalidate-breakpoints)
8181 (gdb-invalidate-threads, gdb-invalidate-disassembly)
8182 (gdb-invalidate-memory): Accept update signal.
8183 (gdb-current-context-command): Use --frame option.
8184 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
8185 Implement `gdb-frame-number' selection logic.
8186 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
8187 whether to show GUD toolbar buttons.
8188 (gdb-thread-exited): Unselect current thread when it exits.
8189 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
8190 (gdb-mark-line): Routine which sets overlay arrow or inverses
8191 video on fringeless displays.
8192 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
8193 to build aligned columns of data in GDB buffers and set text
8194 properties line-by-line.
8195 (gdb-invalidate-breakpoints)
8196 (gdb-breakpoints-list-handler-custom)
8197 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
8198 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
8199 (gdb-registers-handler-custom): Align data columns.
8200 (gdb-locals-handler-custom): Now prints data like in variable
8202 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
8203 Removed confusing buttons.
8204 (gdb-invalidate-threads): Append --frame.
8205 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
8206 between breakpoints/threads buffers.
8207 (gdb-set-window-buffer): Now can ignore dedicated windows.
8208 (gdb-propertize-header): Use `gdb-set-window-buffer'.
8209 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
8210 (def-gdb-thread-buffer-gud-command): Replaces
8211 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
8212 for fine thread control.
8213 (gdb-preempt-existing-or-display-buffer): New function used to
8214 display bound buffers without breaking window layout.
8215 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
8216 (gdb-select-frame): New version of `gdb-frames-select' which now
8217 sets `gdb-frame-number' so commands may use --frame option instead
8218 of inner debugger state.
8219 (gdb-frame-handler): Do not set `gdb-frame-number'.
8220 (gdb-threads-mode-map): Select threads with mouse.
8222 * progmodes/gud.el (gdb-gud-context-call): Declare function to
8223 avoid compilation warning.
8224 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
8227 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
8228 Argument `key' renamed to `buffer-type'.
8229 (gdb-current-context-buffer-name): Do not add thread info to
8230 buffer name when no thread is selected.
8231 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
8233 (gdb-thread-selected): Handle `=thread-selected' notification.
8234 (gdb-wait-for-pending): New macro to deal with congestion problems.
8235 (gdb-breakpoints-list-handler-custom): Don't fail on pending
8237 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
8238 This fixes problem similar to one described in bug 3947.
8239 (gud-menu-map): More menu items.
8240 (gdb-init-1): Reset `gdb-thread-number' to nil.
8242 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
8245 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
8246 (gdb-current-context-command): Do not append --thread if
8247 `gdb-thread-number' is nil.
8248 (gdb-running-threads-count, gdb-stopped-threads-count): New
8250 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
8251 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
8252 customization options.
8253 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
8255 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
8256 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
8257 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
8258 set `gdb-thread-number' and update `gud-running' properly.
8259 (gdb-running): Update threads list when new threads appear.
8260 (gdb-stopped): Support non-stop operation and new thread switching
8262 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
8263 (gdb-json-partial-output): New set of JSON routines.
8264 (def-gdb-auto-update-trigger): New `signal-list' optional
8266 (gdb-thread-list-handler-custom): Update `gud-running',
8267 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
8268 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
8269 (gdb-continue-thread, gdb-step-thread): New commands for fine
8270 thread execution control.
8271 (gud-menu-map): New menu items to switch non-stop options.
8272 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
8273 (gdb-send): Mimic RET properly (bug 3794).
8275 * progmodes/gdb-mi.el (gdb-rules-name-maker)
8276 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
8278 (def-gdb-auto-update-handler): New nopreserve optional argument.
8279 (gdb-stack-list-frames-custom): Print stack from top to bottom.
8281 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
8282 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
8283 (gdb-parent-mode): New mode to derive other GDB modes from.
8284 (gdb-display-disassembly-for-thread)
8285 (gdb-frame-disassembly-for-thread): New commands for threads
8288 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
8289 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
8290 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
8291 (gdb-update): We now store all GDB buffers in a list so that they
8292 can be updated by traversing a list instead of calling invalidate
8293 triggers explicitly.
8294 (def-gdb-trigger-and-handler): New macro to define trigger-handler
8295 pair for GDB buffer.
8296 (gdb-stack-buffer-name): Add thread information.
8297 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
8298 handle pending triggers.
8299 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
8300 (def-gdb-thread-buffer-simple-command)
8301 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
8302 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
8303 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
8304 New commands which show buffers bound to thread.
8305 (gdb-stack-list-locals-regexp): Removed unused regexp.
8307 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
8308 (gdb-locals-buffer-name, gdb-registers-buffer-name)
8309 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
8310 to (gud-comint-buffer) in *-buffer-name functions
8311 because (gdb-get-target-string) already does that.
8312 (gdb-locals-handler-custom, gdb-registers-handler-custom)
8313 (gdb-changed-registers-handler): Rewritten without regexps.
8315 * progmodes/gdb-mi.el: Basic thread selection support.
8316 (gdb-thread-number): New variable.
8317 (gdb-current-context-command): New macro which adds --thread
8319 (gdb-threads-mode-map): Select thread with SPC.
8320 (gdb-thread-list-handler-custom): Mark current thread with overlay
8321 arrow. Synchronize GDB thread and Emacs thread.
8322 (gdb-select-thread): New command which selects current thread.
8323 (gdb-invalidate-frames, gdb-invalidate-locals)
8324 (gdb-invalidate-registers): Use --thread option.
8326 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
8328 * net/tramp.el (top): Make check for tramp-gvfs loading more
8330 (tramp-handle-insert-file-contents): `unwind-protect' must be
8331 inside `with-parsed-tramp-file-name'.
8333 * net/tramp-gvfs.el (top): Remove superfluous message when loading
8336 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
8338 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
8339 directory if CLASSPATH is not set.
8341 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
8343 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
8345 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
8347 2009-08-02 Kevin Ryde <user42@zip.com.au>
8349 * net/newst-backend.el (newsticker--raw-url-list-defaults):
8350 Update freshmeat link. Delete newsforge.com as it seems gone.
8352 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
8354 * select.el (x-set-selection): Doc fix (Bug#4021).
8356 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
8358 * help-fns.el (describe-variable): Treat list return values from
8359 dir-locals-find-file properly (Bug#4005).
8361 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
8363 * net/tramp.el (tramp-debug-message): Print also microseconds.
8365 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
8367 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
8369 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
8370 (tramp-get-debug-buffer): Change `outline-regexp' according to new
8373 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
8374 (tramp-get-file-property): Use it.
8376 * autorevert.el (auto-revert-handler): Allow
8377 `auto-revert-tail-mode' for remote files.
8379 2009-08-02 Jason Rumney <jasonr@gnu.org>
8381 * minibuffer.el (read-file-name): Treat confirm options to
8382 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
8384 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
8386 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
8387 (font-lock-variable-name-face, font-lock-constant-face): Darken
8388 the colors for light backgrounds.
8390 2009-08-01 Eli Zaretskii <eliz@gnu.org>
8392 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
8393 month names. (Bug#3987)
8395 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
8397 * simple.el (line-move-finish): Pass whole number to
8398 line-move-to-column.
8399 (line-move-visual): Perform hscroll to the recorded position.
8401 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
8403 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
8405 2009-07-29 Alan Mackenzie <acm@muc.de>
8407 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
8409 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
8411 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
8412 (gdb-place-breakpoints): Use full path when setting breakpoints.
8414 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
8416 * calc/calc.el (calc-mode-map): Add keybinding for
8417 `calc-transpose-lines'.
8419 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
8421 * calc/calc-misc.el (calc-transpose-lines): New function.
8423 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
8425 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
8426 Simplify check for out-of-band methods.
8427 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
8428 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
8430 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
8432 * vc-git.el (vc-git-checkin): Fix typo.
8434 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
8436 * progmodes/js2-mode.el: New file.
8438 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
8440 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
8441 (gud-menu-map): Adjust tooltip accordingly.
8443 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
8445 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
8446 (vc-bzr-log-view-mode): Adjust log-view-file-re.
8448 * add-log.el (change-log-mode-map): Add a menu.
8450 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
8452 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
8453 function returns nil.
8454 (dbus-handle-event): Handle special return value :ignore.
8455 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
8457 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
8459 * view.el (view-mode-enable): Don't define Helper-return-blurb if
8462 2009-07-25 Eli Zaretskii <eliz@gnu.org>
8466 * w32-vars.el (x-select-enable-clipboard): Doc fix.
8468 * term/pc-win.el (x-display-name, x-colors)
8469 (x-select-enable-clipboard, x-select-text): Doc fix.
8471 * term/common-win.el (x-display-name, x-colors): Doc fix.
8473 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
8474 (xw-defined-colors): Doc fix.
8476 * w32-fns.el (x-select-text, x-setup-function-keys)
8477 (x-get-selection, x-set-selection): Doc fix.
8479 * term/x-win.el (x-select-text, x-setup-function-keys)
8480 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
8482 * select.el (x-set-selection): Doc fix.
8484 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
8486 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
8487 instead of "IsNSSSupportAvailable". Avahi ought to work also when
8488 "IsNSSSupportAvailable" method is not available. Reported by
8489 Steve Youngs <steve@sxemacs.org>.
8491 2009-07-24 Kenichi Handa <handa@m17n.org>
8493 * international/characters.el: Fix setting of category ?C, ?|, ?K,
8494 and ?H. Fix setting of case for Latin Extended and Greek Extended.
8495 (build-unicode-category-table): Fix range checks.
8497 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
8499 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
8500 the buffer we try to sync is current when calling
8503 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
8504 not show up to date files.
8506 2009-07-24 Glenn Morris <rgm@gnu.org>
8508 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
8509 Add autoload cookies. If necessary, initialize.
8510 (elint-log): Handle non-file buffers.
8511 (elint-initialize): Add optional argument to reinitialize.
8512 (elint-find-builtin-variables): Save excursion.
8514 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
8516 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
8519 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
8521 * vc.el (vc-print-log-internal): New function, split out from ...
8522 (vc-print-log): ... here.
8523 (vc-dir-move-to-goal-column): Declare.
8525 * vc-git.el (vc-git-add-signoff): New variable.
8526 (vc-git-checkin): Use it.
8527 (vc-git-toggle-signoff): New function.
8528 (vc-git-extra-menu-map): Bind it to menu.
8529 (vc-git--run-command-string): Accept a nil FILE argument.
8530 (vc-git-stash-list): New function.
8531 (vc-git-dir-extra-headers): Use it.
8533 2009-07-23 Glenn Morris <rgm@gnu.org>
8535 * help-fns.el (describe-variable): Describe ignored and risky local
8536 variables in a similar way to that in which we describe safe ones.
8538 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
8539 (byte-compile-output-file-form, byte-compile-output-docform)
8540 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
8541 Give some more local variables with common names a "bytecomp-" prefix,
8542 so as not to shadow things during compilation.
8543 * emacs-lisp/cl-macs.el (load-time-value)
8544 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
8545 `outbuffer' to `bytecomp-outbuffer'.
8547 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
8548 since the next two variables cover them automatically now.
8549 (elint-builtin-variables, elint-autoloaded-variables): New.
8550 (elint-unknown-builtin-args): Remove all members, since they can be
8551 parsed automatically now.
8552 (elint-extra-errors): New.
8553 (elint-env-add-env, elint-env-add-macro): Use cadr.
8554 (elint-current-buffer): Use or. Change final message.
8555 (elint-get-top-forms): Use line-end-position.
8556 (elint-init-env): Use cadr. Handle autoload, declare-function,
8558 (elint-add-required-env): Doc fix. Use or. Standardize error.
8559 (regexp-assoc): Remove unused function.
8560 (elint-top-form): Set elint-current-pos, to record the start of the
8561 top-level form, for compilation-mode.
8562 (elint-form): Trap errors in macro expansion. Use dolist.
8563 (elint-unbound-variable): Use elint-builtin-variables and
8564 elint-autoloaded-variables.
8565 (elint-get-args): Use cadr, or.
8566 (elint-check-cond-form): Use dolist, cadr.
8567 (elint-check-condition-case-form): Doc fix. Use cadr.
8568 Use elint-extra-errors.
8569 (elint-log): New function.
8570 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
8571 Distinguish errors and warnings.
8572 (elint-log-message): Use with-current-buffer. Inhibit read-only.
8573 Use a bytecomp-style format.
8574 (elint-clear-log): Preserve default-directory. Inhibit read-only.
8575 (elint-get-log-buffer): Use compilation mode. Disable undo.
8576 Don't truncate lines.
8577 (elint-initialize): Set builtin and autoloaded variable lists.
8578 Only process elint-unknown-builtin-args if non-nil.
8579 (elint-find-builtin-variables, elint-find-autoloaded-variables):
8581 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
8583 2009-07-22 Kevin Ryde <user42@zip.com.au>
8585 * net/newst-backend.el (newsticker--parse-atom-1.0)
8586 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
8587 (newsticker--parse-rss-1.0):
8588 * progmodes/idlwave.el (idlwave-mode):
8589 * progmodes/idlw-shell.el (idlwave-shell-mode):
8590 * progmodes/vera-mode.el (vera-mode):
8591 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
8592 * progmodes/vhdl-mode.el (vhdl-mode):
8593 * textmodes/table.el (table-generate-source)
8594 (table--warn-incompatibility):
8595 Hyperlink urls in docstrings with URL `...'.
8597 2009-07-22 Glenn Morris <rgm@gnu.org>
8599 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
8600 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
8601 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
8602 Remove leading * from defcustom docs.
8604 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
8606 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
8608 (list-load-path-shadows): Optionally, just return shadows as a string.
8610 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
8612 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
8614 * mail/rmailedit.el (rmail-edit-mode): Use
8615 auto-save-include-big-deletions.
8617 * mail/rmail.el (rmail-variables): Use
8618 auto-save-include-big-deletions.
8620 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
8623 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
8625 * calc/calc.el (calc-undo-length): New variable.
8626 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
8628 2009-07-21 Richard Stallman <rms@gnu.org>
8630 * files.el (auto-save-mode): Handle buffer-save-size = -2
8633 2009-07-21 Glenn Morris <rgm@gnu.org>
8635 * textmodes/ispell.el (ispell-looking-back): Update declaration.
8637 * calendar/todo-mode.el (calendar-current-date): Update declaration.
8639 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
8640 silence compiler. Instead...
8641 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
8642 (ps-print-ensure-fontified): Update for above function name changes.
8644 * printing.el (pr-mh-get-msg-num, pr-mh-show)
8645 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
8646 silence compiler. Instead...
8647 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
8648 (mh-show-buffer): Only define for compiler.
8649 (pr-mh-current-message): Update for above function name changes.
8651 * files.el (abort-if-file-too-large): Explicitly pass `filename'
8653 (find-file-noselect, insert-file-1): Update for above change.
8655 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
8657 * mail/mailclient.el (mailclient-send-it): Fix message.
8659 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
8660 (edebug-eval): Check cl-debug-env is bound.
8661 (print-level, print-circle): Don't redefine built-in variables.
8663 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
8664 (custom-print-vectors): Remove old comments from doc.
8666 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
8667 (emerge-version): Make the variable an obsolete alias for the
8668 emacs-version variable. Make the function obsolete.
8669 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
8670 Emerge options, rather than merging in into the main Options menu.
8671 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
8672 and auto advance modes. Disable edit/fast items when not relevant.
8674 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
8676 * term/vt420.el (terminal-init-vt420): Fix typo.
8678 2009-07-20 Sam Steingold <sds@gnu.org>
8680 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
8681 variable (removed from compile.el on 2004-03-11).
8683 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
8685 * files.el (hack-local-variables-filter): Fix last change.
8687 2009-07-19 Juri Linkov <juri@jurta.org>
8689 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
8690 (dir-local-variables-alist): New buffer-local variable.
8691 (hack-local-variables-filter): If variable is not dir-local,
8692 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
8693 because file-local overrides dir-local.
8694 (c-postprocess-file-styles) <declare-function>:
8695 Remove obsolete declaration.
8696 (hack-dir-local-variables): Add dir-local variable/value pair to
8697 `dir-local-variables-alist' and remove duplicates. Doc fix.
8699 * help-fns.el (describe-variable): Add information about
8700 file-local and dir-local variables.
8702 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
8704 * files.el (hack-local-variables-filter): Rewrite.
8706 2009-07-19 Glenn Morris <rgm@gnu.org>
8708 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
8709 Silence compiler by only defining on XEmacs.
8711 * international/mule.el (auto-coding-regexp-alist): Only match
8712 BABYL... at the start of buffer, not of lines. (Bug#3790)
8714 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
8715 non-calendar buffers (Bug#3862). Restore "not on a date" message.
8716 (cal-menu-context-mouse-menu): Doc fix.
8718 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
8720 * simple.el (mail-user-agent): Doc fix. Set :version tag.
8722 2009-07-18 Juri Linkov <juri@jurta.org>
8724 * info.el: Virtual Info keyword finder.
8725 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
8726 (Info-finder-file): New variable.
8727 (Info-finder-find-file): New function.
8728 (finder-known-keywords, finder-package-info)
8729 (find-library-name, lm-commentary): Use defvar and
8730 declare-function to silence compiler warnings.
8731 (Info-finder-find-node): New function.
8732 (info-finder): New command.
8734 * subr.el (process-kill-buffer-query-function): New function.
8735 (add-hook)<kill-buffer-query-functions>: Add hook
8736 `process-kill-buffer-query-function'.
8738 2009-07-18 Alan Mackenzie <acm@muc.de>
8740 * progmodes/cc-mode.el (c-before-hack-hook)
8741 (c-postprocess-file-styles): Give invocation of `c-set-style'
8742 DONT-OVERRIDE parameter of t. Already set style variables will
8743 thus not be overridden by style settings given by `c-file-syle'.
8745 * files.el (hack-local-variables-filter): Remove entries with
8746 duplicate keys from `file-local-variables-alist'.
8748 2009-07-18 Eli Zaretskii <eliz@gnu.org>
8750 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
8751 x-set-selection if display-selections-p returns nil for the
8754 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
8756 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
8758 2009-07-18 Eli Zaretskii <eliz@gnu.org>
8760 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
8761 Accept nil in addition to a regexp.
8762 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
8763 Accept nil in addition to a regexp.
8764 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
8765 buffers that have an associated file. Handle nil values of
8766 desktop-buffers-not-to-save and desktop-files-not-to-save.
8769 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8770 (x-disown-selection-internal): New functions.
8772 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
8774 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
8776 (gdb-breakpoints-header): Move forward to avoid compiler warning.
8777 (gdb-make-header-line-mouse-map): Remove duplicate definition.
8779 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
8781 * simple.el (set-mark): Revert last change.
8783 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
8785 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
8786 rendering of pngs is not possible instead of messaging a long
8789 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
8791 * w32-fns.el (x-selection-owner-p): New function.
8793 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
8794 (mouse-yank-at-click, mouse-yank-primary): If
8795 select-active-regions is non-nil, deactivate the mark before
8798 * simple.el (deactivate-mark, set-mark): Only save selection if we
8801 2009-07-17 Kenichi Handa <handa@m17n.org>
8803 * case-table.el (describe-buffer-case-table): Fix for the case
8806 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
8808 * vc-rcs.el (vc-rcs-find-file-hook):
8809 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
8811 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
8813 * net/tramp.el (tramp-wait-for-output): Handle the case when
8814 commands do not return a newline but a null byte before the shell
8817 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8819 * term/ns-win.el (ns-set-alpha): Don't declare.
8820 (ns-set-background-alpha): Remove function.
8822 2009-07-16 Kevin Ryde <user42@zip.com.au>
8824 * emacs-lisp/copyright.el (copyright-update): Save match-data across
8825 y-or-n-p, for safety.
8827 2009-07-16 Richard Stallman <rms@gnu.org>
8829 * files.el (auto-save-mode): If buffer-saved-size is -2,
8832 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
8833 (rmail-retry-ignored-headers): Add more uninteresting fields.
8835 2009-07-15 Jari Aalto <jari.aalto@cante.net>
8837 * net/rcirc.el (rcirc): Use history variables.
8838 (rcirc-server-name-history, rcirc-nick-name-history)
8839 (rcirc-server-port-history): New variables.
8841 2009-07-15 Kenichi Handa <handa@m17n.org>
8843 * international/mule-cmds.el (set-language-environment-charset):
8844 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
8847 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
8848 Delete unibyte-display.
8850 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
8852 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
8854 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
8856 * simple.el (deactivate-mark): Optional argument FORCE.
8857 (set-mark): Use deactivate-mark.
8859 * info.el (Info-search): No need to check transient-mark-mode
8860 before calling deactivate-mark.
8862 * select.el (x-set-selection): Doc fix.
8863 (x-valid-simple-selection-p): Allow buffer values.
8864 (xselect--selection-bounds): Handle buffer values. Suggested by
8865 David De La Harpe Golden.
8867 * mouse.el (mouse-set-region, mouse-drag-track): Call
8868 copy-region-as-kill before setting the mark, to let
8869 select-active-regions work.
8871 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
8873 * simple.el (deactivate-mark): If select-active-regions is
8874 non-nil, copy the selection data into a string.
8875 (activate-mark): If select-active-regions is non-nil, set the
8876 selection to the current buffer.
8877 (set-mark): Update selection if select-active-regions is non-nil.
8879 * select.el (x-valid-simple-selection-p): Allow buffer values.
8881 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
8883 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
8884 and more featureful message-mode.
8886 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
8888 * select.el (x-set-selection): Doc fix.
8889 (x-valid-simple-selection-p): Disallow selection data consisting
8890 of a list or cons of integers, since that is not used.
8891 (xselect--selection-bounds, xselect--int-to-cons): New functions.
8892 (xselect-convert-to-string, xselect-convert-to-length)
8893 (xselect-convert-to-filename, xselect-convert-to-charpos)
8894 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
8896 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
8898 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
8899 output in -break-info command (Emacs bug #3794).
8901 2009-07-14 Glenn Morris <rgm@gnu.org>
8903 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
8904 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
8905 (edebug-print-length, edebug-print-level, edebug-print-circle)
8906 (edebug-sit-for-seconds, edebug-view-outside)
8907 (edebug-bounce-point, edebug-set-global-break-condition)
8908 (edebug-Go-nonstop-mode, edebug-trace-mode)
8909 (edebug-Trace-fast-mode, edebug-continue-mode)
8910 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
8911 (edebug-visit-eval-list): Doc fixes.
8913 * subr.el (def-edebug-spec): Doc fix.
8915 2009-07-14 Kenichi Handa <handa@m17n.org>
8917 * international/characters.el: Fix setting of category ?C.
8919 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
8921 * term/ns-win.el (x-select-font): defalias x-select-font to
8922 ns-popup-font-panel instead of generate-fontset-menu.
8924 2009-07-12 Eli Zaretskii <eliz@gnu.org>
8926 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
8928 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
8930 * arc-mode.el (archive-find-type): Allow for a PK00 string before
8931 the PK\003\004 header (Bug#3770).
8933 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
8935 * pcomplete.el (pcomplete-comint-setup): Check for
8936 shell-dynamic-complete-filename too.
8938 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
8940 * simple.el (temporary-goal-column): Change the value for
8941 line-move-visual to a cons cell.
8942 (line-move-visual): Record or set the window hscroll, if
8943 necessary (Bug#3494).
8944 (line-move-1): Handle cons value of temporary-goal-column.
8946 2009-07-11 Kenichi Handa <handa@m17n.org>
8948 * international/mule-diag.el (describe-character-set): Don't show
8951 2009-07-10 Sam Steingold <sds@gnu.org>
8953 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8954 Omake sometimes indents the errors it prints, so allow all
8955 regexps to start with spaces.
8957 2009-07-10 Eli Zaretskii <eliz@gnu.org>
8959 * cus-edit.el (customize-changed-options-previous-release):
8960 Bump value to 22.1. (Bug#3804)
8962 2009-07-08 Sam Steingold <sds@gnu.org>
8964 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
8965 to be a cons cell (test . ignored-directory) to selectively ignore
8966 some directories depending on the location of the search.
8968 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
8970 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
8971 remote user is root, on the local host.
8972 (tramp-local-host-p): Either the local user or the remote user
8973 must be root. (Bug#3771)
8975 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
8977 * progmodes/gdb-mi.el (gdb): Remove description of
8978 gdb-use-separate-io-buffer.
8979 (menu): Don't allow toggling of or enable
8980 gdb-use-separate-io-buffer from menubar.
8982 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
8984 * mail/unrmail.el (unrmail): Make sure the message ends with two
8985 newlines (Bug#3769).
8987 2009-07-08 Glenn Morris <rgm@gnu.org>
8989 * calendar/calendar.el (calendar-current-date): Rework previous change.
8991 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
8993 * calendar/calendar.el (calendar-current-date):
8994 Add an optional argument giving an offset from today.
8996 2009-07-08 Glenn Morris <rgm@gnu.org>
8998 * tutorial.el (tutorial--describe-nonstandard-key):
8999 Adjust the message for when a key has been unbound.
9000 (help-with-tutorial): Hide the arch-tag.
9002 2009-07-08 Kenichi Handa <handa@m17n.org>
9004 * international/fontset.el (setup-default-fontset): For each
9005 script, append (not set) font-specs.
9007 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
9010 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
9012 * progmodes/gdb-mi.el (gdb-init-1): Move sending
9013 -data-list-register-names to ...
9014 (gdb-starting): ... here because GDB 7.0 requires execution to
9015 have started when using this MI command.
9016 (gdb-set-header): New function to distinguish select and
9017 unselected tabs in gdb buffers.
9018 (gdb-propertize-header): New macro that uses gdb-set-header.
9019 (gdb-breakpoints-header, gdb-locals-header): Use it.
9020 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
9022 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
9024 * Makefile.in (ELCFILES): Remove fadr.elc.
9026 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
9028 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
9029 may contain frame information, so `string-match' should be used.
9030 (gdb-update): Disassembly is invalidated through
9031 `gdb-get-selected-frame'.
9032 (gdb-pad-string): New function to pad string with spaces.
9033 (gdb-invalidate-disassembly): Invalidate only if the buffer
9035 (gdb-disassembly-handler-custom): Column alignment.
9036 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
9038 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
9040 (gdb-frame-handler): Match convention to for disassembly buffer
9042 (gdb-stack-list-frames-handler): Rewritten without regexps.
9043 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
9044 not highlight breakpoints without line information.
9045 (gdb-input): Add trailing newline to command.
9047 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
9049 (gdb-breakpoints-list-handler-custom): Replacement for
9050 `gdb-break-list-handler'. Using real parser instead of regexps
9052 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
9053 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
9054 to place breakpoints.
9055 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
9057 (gdb-disassembly-handler-custom): Show overlay arrow.
9058 (gdb-disassembly-place-breakpoints): Show breakpoints in
9060 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
9061 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
9062 instead of parsing breakpoints buffer. Fixed old menu references
9067 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
9068 (gdb-memory-address): New variable which holds top address of
9069 memory page shown in memory buffer.
9070 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
9071 customization variables.
9073 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
9074 display the memory buffer.
9075 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
9076 buffer display parameters.
9077 (def-gdb-memory-format, gdb-memory-format-binary)
9078 (gdb-memory-format-octal, gdb-memory-format-unsigned)
9079 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
9080 Functions for setting memory buffer format.
9081 (gdb-memory-unit-word, gdb-memory-unit-halfword)
9082 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
9083 unit size used in memory buffer.
9084 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
9085 to next/previous page of memory buffer.
9086 Now using (bindat-get-field) instead of fadr functions.
9088 2009-07-07 Sam Steingold <sds@gnu.org>
9090 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
9091 non-top-level files.
9093 2009-07-07 Kenichi Handa <handa@m17n.org>
9095 * international/mule-cmds.el (reset-language-environment): Put
9096 the highset priority to the charset iso-8859-1.
9098 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
9100 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
9101 to the end of the line when locating the block (Bug#700).
9103 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
9105 * net/tramp.el (tramp-handle-write-region): Flush file properties
9106 in case of short track.
9108 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
9110 * verilog-mode.el (verilog-error-regexp-emacs-alist): Coded custom
9111 representation of verilog error regular expressions to work with
9112 Emacs-22's new format.
9113 (verilog-error-regexp-xemacs-alist): Coded custom representation
9114 of verilog error regular expressions to work with XEmacs format.
9115 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
9116 error recognition into XEmacs.
9117 (verilog-error-regexp-add-emacs): Hook routine to install verilog
9118 error recognition into Emacs-22.
9120 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
9122 * woman.el: Remove stand-alone closing parentheses.
9123 (woman-file-name, woman2-format-paragraphs)
9124 (woman-leave-blank-lines): Code cleanup.
9125 (woman-use-own-frame): Change default to nil.
9126 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
9127 defaults to inherit from default faces.
9128 (woman2-process-escapes): Consume the newline after a stand-alone
9129 filler character (Bug#3651).
9131 2009-07-06 Glenn Morris <rgm@gnu.org>
9133 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
9134 (top-level): Move provide to the end.
9135 (ffap): Remove defunct URL from custom group.
9137 * subr.el (eval-after-load): Doc fix.
9139 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
9141 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
9142 `calc-embedded-word' is called twice.
9144 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9146 * files.el (find-alternate-file-other-window, find-alternate-file):
9147 Obey confirm-nonexistent-file-or-buffer.
9149 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
9151 * dired-aux.el (dired-show-file-type): Handle remote files.
9153 2009-07-05 Jari Aalto <jari.aalto@cante.net>
9155 * desktop.el (desktop-globals-to-save):
9156 Add file-name-history (Bug#2750).
9158 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
9160 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
9162 2009-07-04 Johan Bockgård <bojohan@gnu.org>
9164 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
9165 property on entire argument since this is what eshell-lisp-command
9168 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
9170 * net/tramp-gvfs.el (tramp-gvfs-methods)
9171 (tramp-gvfs-zeroconf-domain)
9172 (tramp-bluez-discover-devices-timeout): Add version flag.
9173 (tramp-gvfs-handler-mounted-unmounted)
9174 (tramp-gvfs-connection-mounted-p): Polish handling of
9175 incompatibilities between GVFS 0.2 and 1.0.
9177 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
9179 * cus-start.el (all): Add make-pointer-invisible.
9181 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
9183 * calc-math.el (math-use-emacs-fn): Make sure that the number is
9184 formatted correctly.
9186 2009-07-02 Juri Linkov <juri@jurta.org>
9188 * info.el: Virtual Info files and nodes.
9189 (Info-virtual-files, Info-virtual-nodes): New variables.
9190 (Info-current-node-virtual): New variable.
9191 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
9193 (Info-file-supports-index-cookies): Use Info-virtual-file-p
9194 to check for a virtual file instead of checking a fixed list
9196 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
9197 instead of ad-hoc processing of "dir" and (apropos history toc).
9198 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
9199 instead of ad-hoc processing of "dir" and (apropos history toc).
9200 Reread a file when moving from a virtual node.
9201 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
9202 (Info-directory-toc-nodes, Info-directory-find-file)
9203 (Info-directory-find-node): New functions.
9204 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
9205 (Info-history): Move part of code to
9206 `Info-history-find-node'.
9207 (Info-history-toc-nodes, Info-history-find-file)
9208 (Info-history-find-node): New functions.
9209 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
9210 (Info-toc): Move part of code to `Info-toc-find-node'.
9211 (Info-toc-find-node): New function.
9212 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
9213 the current Info file name to references because now the node
9214 "*TOC*" belongs to the same Info manual.
9215 (Info-toc-build): Rename from `Info-build-toc'.
9216 (Info-toc-nodes): Rename input argument `file' to `filename'.
9217 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
9218 instead of ad-hoc processing of ("dir" apropos history toc).
9219 (Info-index-nodes): Use Info-virtual-file-p
9220 to check for a virtual file instead of checking a fixed list
9222 (Info-index-node): Add check for `Info-current-node-virtual'.
9223 Raise `save-match-data' higher up the tree to contain
9224 `search-forward' too (bug fix).
9225 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
9226 (Info-virtual-index-nodes): New variable.
9227 (Info-virtual-index-find-node, Info-virtual-index): New functions.
9228 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
9229 (Info-apropos-file, Info-apropos-nodes): New variables.
9230 (Info-apropos-toc-nodes, Info-apropos-find-file)
9231 (Info-apropos-find-node, Info-apropos-matches): New functions.
9232 (info-apropos): Move part of code to `Info-apropos-find-node' and
9233 `Info-apropos-matches'.
9234 (Info-mode-map): Bind "I" to `Info-virtual-index'.
9235 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
9236 for a virtual file instead of checking a fixed list of node names.
9238 * simple.el (async-shell-command): New command.
9240 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
9242 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
9243 instead of `mount-info'.
9245 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
9247 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
9248 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
9250 2009-07-02 Kenichi Handa <handa@m17n.org>
9252 * international/mule.el (set-keyboard-coding-system): Force *-unix
9253 coding-system to avoid eol conversion.
9255 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
9257 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9258 Add handler for `process-file', `shell-command' and
9259 `start-file-process'.
9260 (tramp-gvfs-handle-shell-command)
9261 (tramp-gvfs-handle-start-file-process)
9262 (tramp-gvfs-handle-process-file): New defuns.
9263 (tramp-synce-list-devices): Simplify check for existence of property.
9265 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
9267 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
9269 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
9271 * language/korean.el (set-language-info-alist): Add korean-cp949,
9274 2009-07-01 Kenichi Handa <handa@m17n.org>
9276 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
9278 * international/encoded-kb.el: Deleted.
9280 * international/mule.el (set-keyboard-coding-system): Perform the
9281 necessary setup here instead of calling encoded-kbd-setup-display.
9283 2009-07-01 Glenn Morris <rgm@gnu.org>
9285 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
9287 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
9289 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
9291 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
9293 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
9294 Handle also the 'rename case, when setting file modes. (Bug#3712)
9295 (tramp-default-file-modes) Remove execute permissions.
9297 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
9298 (top): Add a default for "synce" in `tramp-default-user-alist'.
9299 Add completion function for "synce" method.
9300 (tramp-hal-service, tramp-hal-path-manager)
9301 (tramp-hal-interface-manager, tramp-hal-interface-device):
9303 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
9304 (tramp-synce-list-devices, tramp-synce-parse-device-names):
9307 * net/trampver.el: Update release number.
9309 2009-06-30 Kenichi Handa <handa@m17n.org>
9311 * international/fontset.el (setup-default-fontset): Add CJK fonts
9312 for symbols and the other miscellaneous characters.
9314 * language/korea-util.el (setup-korean-environment-internal):
9315 Make char-width-table suitable for Korean environments.
9316 (exit-korean-environment): Cancel above.
9318 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
9319 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
9320 setup-funcion to make char-widht-table suitable for respective
9321 environments, and an exit-function to cancel that.
9323 * language/japan-util.el (setup-japanese-environment-internal):
9324 Call use-cjk-char-width-table with arg `ja_JP'.
9326 * international/characters.el (cjk-char-width-table): Delete it.
9327 (cjk-char-width-table-list): New variable.
9328 (use-cjk-char-width-table): New arg local-name.
9329 (use-default-char-width-table): Fix for the case that Emacs is
9330 already using the default char-width-table.
9332 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
9334 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
9335 modes mandatory. (Bug#3712)
9337 2009-06-29 Alan Mackenzie <acm@muc.de>
9339 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
9340 correction between the visible width of TABs and their number of bytes.
9342 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
9344 * server.el (server-buffer-done): Prevent kill-buffer from
9345 prompting by clearing the buffer modification flag (Bug#3696).
9347 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
9349 * verilog-mode.el (verilog-beg-of-statement)
9350 (verilog-endcomment-reason-re): Support unique case and priority case.
9351 (verilog-basic-complete-re): Support localparam lineup.
9352 (verilog-beg-of-statement-1): Fix for robustness, unique case.
9353 (verilog-set-auto-endcomments): Fix for unique case, always_comb
9355 (verilog-leap-to-case-head): Now support *nested* unique &
9356 priority case statements.
9357 (verilog-auto-lineup): Make just declarations the default (as it
9359 (verilog-leap-to-case-head): Support priority/unique case statements.
9360 (verilog-auto-lineup): Rework to give users radio buttons to
9361 select the various styles of automatic lineup.
9362 (verilog-error-regexp-alist): Rework to support the XEmacs style
9363 of error regular expressions from compilers, lint tools &
9364 simulators. Note that GNU Emacs has made it impossible for a mode
9365 to load such things.
9366 (electric-verilog-terminate-line, verilog-indent-declaration)
9367 (verilog-auto-wiure): Rework for radio button selection of
9368 auto-lineup selection of specification of auto lineup.
9369 (verilog-beg-of-statement-1): Redesign to support proper operation
9370 in additional code, based on testing with auto-lineup.
9371 (verilog-calculate-indent, assignments & declarations)
9372 (verilog-backward-token): Enhance to support auto-lineup of
9373 assignments & declarations.
9374 (verilog-in-directive-p, verilog-at-struct-p): New function for
9375 easy test of whether we are.
9376 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
9377 to support safe execution at almost anyline.
9378 (verilog-calc-1): Properly support indenting deep inside generate
9380 (verilog-init-font) Remove definition & use of verilog-init-font,
9381 as it is redundant with font-lock-defaults.
9382 (verilog-mode): Alter the definition of verilog-font-lock-defaults
9383 to avoid circular calls if syntax-ppss is a function (as is the
9384 case now in 22.x GNU Emacs) as that function would sometimes call
9385 itself, leading to (nearly) infinite recursion.
9386 (verilog-ovm-begin-re, verilog-ovm-end-re)
9387 (verilog-ovm-statement-re, verilog-leap-to-head)
9388 (verilog-backward-token): Add support for OVM macros. Some are
9389 complete statements, and others open and close scopes like begin
9391 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
9392 (verilog-defun-level-generate-only-re): Really fix the defun-list
9394 (verilog-calc-1) (verilog-beg-of-statement): Enhance support for
9395 coverpoint, constraint and cross statements.
9396 (verilog-defun-level-list, verilog-generate-defun-level-list)
9397 (verilog-all-defun-level-list): Redo these specifications - it is
9398 too hard to support eval-when compile aggregation of lists also
9399 built at when-compile time.
9400 (verilog-defun-level-list): Place defconsts of variables used in
9401 building regular expressions which are built in eval-when-compile
9402 bodies in the same eval-when-compile body to facilitate compile
9404 (verilog-beg-block-re-ordered): Support indenting
9405 virtual/protected tasks and functions.
9406 (verilog-defun-level-list, verilog-in-generate-region-p)
9407 (verilog-backward-ws&directives, verilog-calc-1): Speed up
9408 indentation of some module items (generate items).
9409 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
9410 across virtual/protected tasks and functions.
9412 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
9414 * verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
9415 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
9416 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
9417 in concatenations. Reported by Yishay Belkind.
9418 (verilog-auto-ascii-enum): Support one-hot state machines in
9419 AUTOASCIIENUM. Suggested by Lloyd Gomez.
9420 (verilog-auto-inst, verilog-auto-inst-port): Include interface
9421 modport in AUTOINST and add vl-modport for users. Reported by
9423 (verilog-auto-inout-module, verilog-auto-inst)
9424 (verilog-decls-get-interfaces, verilog-insert-definition)
9425 (verilog-insert-one-definition, verilog-read-decls)
9426 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
9427 (verilog-sig-modport, verilog-signals-combine-bus)
9428 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
9429 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
9430 Suggested by David Rogoff.
9431 (verilog-repair-open-comma): Fix non-insertion of comma when
9432 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
9433 (verilog-make-width-expression): Simplify [A-1:0] expression
9434 widths to just {A{1'b0}}.
9435 (verilog-mode): Cleanup checkdoc warnings.
9436 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
9437 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
9438 inputs/outputs or data type. Suggested by Vasu Kandadi.
9439 (next-error-last-buffer): Fix byte-compiler warning.
9440 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
9441 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
9442 or shell command text during AUTO expansion. Suggested by Tad Truex.
9443 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
9444 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
9445 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
9446 in AUTOINOUT. Reported by Matthew Lovell.
9447 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
9448 causing use of <= assignments. Reported by Alex Reed.
9449 (verilog-read-decls): Fix triand, trior, wand, wor to be
9450 recognized by AUTOWIRE. Reported by Spencer Isaacson.
9451 (verilog-extended-complete-re): Support import "DPI-C" functions.
9452 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
9453 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
9454 (verilog-insert-date, verilog-insert-year)
9455 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
9456 Windows systems. Reported by Michael Potts.
9457 (verilog-read-module-name): Fix AUTOINST when the child module
9458 declaration's name is a tick define. Reported by Elliot Mednick.
9459 (verilog-read-decls): Fix V2K parameter bit subscripts getting
9460 passed to next parameter's definition. Reported by Bruce T.
9461 (verilog-read-decls): Fix detecting "parameter int" when using
9462 AUTOINSTPARAM. Reported by Bruce T.
9463 (verilog-goto-defun): Fix goto not finding modules unless first
9464 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
9465 (verilog-mode): Expand -f flag arguments on entry to mode so
9466 verilog-goto-defun will work. Reported by Lawrence Butcher.
9467 (verilog-getopt): Expand environment variables in -f file
9468 arguments. Suggested by Lawrence Butcher.
9469 (verilog-set-define): Fix "Symbol's value as variable is void"
9470 when reading enumerations.
9471 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
9472 Suggested by Stephen Peltan.
9473 (verilog-read-defines): Fix reading of enumerations in include
9474 files. Reported by Steve Peltan.
9476 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
9478 * files.el (trash-directory): Fix defcustom type.
9480 2009-06-28 Juri Linkov <juri@jurta.org>
9482 * help-fns.el (describe-function-1): Correctly locate adviced
9483 functions in hyperlink (Bug#2438).
9485 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
9487 * files.el (trash-directory): Change default to nil.
9488 (move-file-to-trash): If trash-directory is nil and
9489 system-move-file-to-trash is unbound, perform freedesktop-style
9492 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
9494 * files.el (move-file-to-trash): Add freedesktop trash
9497 2009-06-28 Glenn Morris <rgm@gnu.org>
9499 * autorevert.el (global-auto-revert-non-file-buffers)
9500 (global-auto-revert-mode): Doc fixes.
9502 2009-06-27 Johan Bockgård <bojohan@gnu.org>
9504 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
9506 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
9508 * faces.el (x-handle-named-frame-geometry): Ensure that we have
9509 opened an X connection before calling x-get-resource (Bug#3194).
9511 * play/doctor.el: Remove reference to obsolete website.
9512 (make-doctor-variables): Correct grammar mistake (Bug#2633).
9514 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
9516 Remove find-file-not-found-hook VC method. (Bug#2757)
9517 * vc-hooks.el (vc-file-not-found-hook)
9518 (vc-default-find-file-not-found-hook): Remove functions.
9519 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
9520 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
9523 * vc-git.el: Do not mention find-file-not-found-hook VC method.
9525 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
9527 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
9528 compatibility function for `looking-back'.
9530 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
9531 Use `ispell-looking-back'.
9533 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
9535 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
9536 rather than `filename'.
9538 2009-06-23 Miles Bader <miles@gnu.org>
9540 * face-remap.el (text-scale-set): New function.
9542 2009-06-23 Glenn Morris <rgm@gnu.org>
9544 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
9546 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
9548 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
9550 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
9552 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
9553 Simplify Persian conditionals.
9555 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
9556 variable `filename'.
9558 * comint.el (comint-insert-input): Doc fix.
9560 * Makefile.in (ELCFILES): Fix typo in previous change.
9562 2009-06-23 Miles Bader <miles@gnu.org>
9564 * cus-start.el: Add entry for `recenter-redisplay'.
9566 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
9568 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
9569 Add an optional argument for the backend, use it instead of
9571 (vc-mode-line): Add an optional argument for the backend.
9572 Pass the backend to vc-state and vc-working-revision. Move code for
9573 special handling for vc-state being a buffer to ...
9575 * vc-rcs.el (vc-rcs-find-file-hook):
9576 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
9578 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
9579 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
9580 vc-stay-local-p and vc-mode-line calls.
9582 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
9583 (vc-cvs-diff, vc-cvs-annotate-command)
9584 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
9585 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
9588 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
9590 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
9591 backend when calling vc-mode-line.
9592 (vc-register): Do not create a closure for calling the vc register
9593 function, call it directly.
9595 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
9597 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
9598 to make it obvious item can be clicked.
9600 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
9602 2009-06-23 Kenichi Handa <handa@m17n.org>
9604 * language/korea-util.el (korean-key-bindings): Change the binding
9605 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
9608 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
9610 Sync with Tramp 2.1.16.
9612 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
9614 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
9615 when a loading of a package fails. Completion function for rsync
9616 is `tramp-completion-function-alist-ssh'.
9617 (all): Replace all calls of `split-string' and
9618 `tramp-split-string' by `tramp-compat-split-string'.
9619 (tramp-default-method): Use `tramp-compat-process-running-p'.
9620 (tramp-default-proxies-alist): Allow also Lisp forms.
9621 (tramp-remote-path): Add choice "Private Directories".
9622 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
9623 (tramp-domain-regexp): Allow also "-", "_" and ".".
9624 (tramp-end-of-output): Remove newlines, and add "$" at the end.
9625 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
9626 (tramp-debug-message): Insert header line in debug buffer.
9627 (tramp-handle-directory-files-and-attributes-with-stat):
9628 Care about filenames with spaces, or starting with "-".
9629 (tramp-handle-dired-uncache): New defun.
9630 (tramp-handle-insert-directory): Don't flush the directory from
9631 cache, this is handled by `dired-uncache' now.
9632 (tramp-handle-insert-file-contents): Improve error handling.
9633 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9634 Quote `tramp-end-of-output'.
9635 (tramp-action-password): Improve trace message.
9636 (tramp-check-for-regexp): Both echoes must be present, before removing.
9637 (tramp-open-connection-setup-interactive-shell): Trace coding system.
9638 (tramp-compute-multi-hops): Eval cons cells of
9639 `tramp-default-proxies-alist'.
9640 (tramp-maybe-open-connection): Use the same command pattern for
9641 first hop and further hops.
9642 (tramp-wait-for-output): Remove handling of newlines.
9643 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
9644 (tramp-split-string): Remove function. It is handled in
9647 * net/tramp-cmds.el (tramp-bug):
9648 Recommend `tramp-cleanup-all-connections' in the bug mail.
9650 * net/tramp-compat.el (tramp-compat-split-string)
9651 (tramp-compat-process-running-p): New defuns.
9653 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
9654 for `dired-uncache'.
9656 * net/tramp-gvfs.el: New package.
9658 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9659 Add handler for `dired-uncache'.
9660 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
9662 * net/trampver.el: Update release number. Make version check fit
9665 2009-06-22 Jim Meyering <meyering@redhat.com>
9667 Automatically handle .xz suffix (XZ-compressed files), too.
9668 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
9669 XZ is the successor to LZMA: <http://tukaani.org/xz/>
9671 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
9672 Nick Roberts <nickrob@snap.net.nz>
9674 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
9675 repository (http://sphinx.net.ru/hg/gdb-mi/).
9677 2009-06-22 Glenn Morris <rgm@gnu.org>
9679 * files.el (dir-locals-collect-mode-variables): Allow for any number of
9680 `mode' and `eval' entries. (Bug#3430)
9682 * Makefile.in (ELCFILES): Add fadr.elc.
9684 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
9685 differing behavior of \n and ^ in strings. (Bug#3385)
9687 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
9689 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
9691 (lisp-indent-function): Make it a defcustom.
9693 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
9695 * progmodes/gdb-ui.el: Replace with ...
9696 * progmodes/gdb-mi.el: ... this file.
9697 * progmodes/gud.el: Modify for gdb-mi.el.
9699 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
9701 * fadr.el: New file.
9703 See ChangeLog.14 for earlier changes.
9709 Copyright (C) 2009 Free Software Foundation, Inc.
9711 This file is part of GNU Emacs.
9713 GNU Emacs is free software: you can redistribute it and/or modify
9714 it under the terms of the GNU General Public License as published by
9715 the Free Software Foundation, either version 3 of the License, or
9716 (at your option) any later version.
9718 GNU Emacs is distributed in the hope that it will be useful,
9719 but WITHOUT ANY WARRANTY; without even the implied warranty of
9720 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9721 GNU General Public License for more details.
9723 You should have received a copy of the GNU General Public License
9724 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
9726 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1