1 2010-01-04 Dan Nicolaescu <dann@ics.uci.edu>
3 * vc-bzr.el (vc-bzr-state-heuristic): Make it work for lightweight
5 (vc-bzr-log-view-mode): Also highlight the author.
6 (vc-bzr-shelve-map): Change binding for vc-bzr-shelve-apply-at-point.
7 (vc-bzr-shelve-menu-map):
8 (vc-bzr-dir-extra-headers): Improve menu and tooltip text.
9 (vc-bzr-shelve-apply): Make prompt more explicit.
11 2010-01-02 Chong Yidong <cyd@stupidchicken.com>
13 * net/browse-url.el (browse-url-encode-url): Don't escape commas.
14 They are valid characters in URL paths (rfc3986), and at least
15 Firefox does not understand the encoded version (Bug#3166).
17 2010-01-02 Daniel Elliott <danelliottster@gmail.com> (tiny change)
19 * progmodes/octave-mod.el (octave-end-keywords)
20 (octave-block-begin-or-end-regexp, octave-block-match-alist): Add
21 "end" keyword (Bug#3061).
22 (octave-end-as-array-index-p): New function.
23 (calculate-octave-indent): Use it.
25 2010-01-02 Karl Fogel <kfogel@red-bean.com>
27 * bookmark.el: Consistently put the text property on the bookmark name.
28 (bookmark-bmenu-marks-width): Bump back to 2, to include
30 (bookmark-bmenu-hide-filenames): Adjust for above, and put the text
31 property on the bookmark name, instead of not putting it at all.
32 (bookmark-bmenu-list): Fix where we put the text property.
34 2010-01-02 Karl Fogel <kfogel@red-bean.com>
36 * bookmark.el (bookmark-bmenu-save): Just depend on the new logic
37 for showing buffer modified state (as added in the previous change).
39 2010-01-02 Karl Fogel <kfogel@red-bean.com>
41 * bookmark.el: Show modified state of bookmark buffer more accurately.
42 (bookmark-bmenu-list): Initialize buffer-modified-p properly.
43 (bookmark-send-edited-annotation): Mark bookmark-alist as modified.
44 (with-buffer-modified-unmodified): New macro.
45 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
46 (bookmark-bmenu-mark, bookmark-bmenu-unmark, bookmark-bmenu-delete):
47 Use new macro to preserve the buffer modified state.
49 2010-01-02 Karl Fogel <kfogel@red-bean.com>
51 * bookmark.el (bookmark-bmenu-select, bookmark-bmenu-1-window,
52 (bookmark-bmenu-2-window, bookmark-bmenu-this-window)
53 (bookmark-bmenu-other-window, bookmark-bmenu-switch-other-window)
54 (bookmark-bmenu-show-annotation, bookmark-bmenu-edit-annotation)
55 (bookmark-bmenu-rename, bookmark-bmenu-locate)
56 (bookmark-bmenu-relocate, bookmark-bmenu-goto-bookmark): Remove
57 unnecessary calls to `bookmark-bmenu-ensure-position'.
59 2010-01-02 Eli Zaretskii <eliz@gnu.org>
61 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Make
62 the lines in the generated doc string shorter. (Bug#4668)
64 2010-01-02 Ryan Yeske <rcyeske@gmail.com>
66 * net/rcirc.el: Add follow-link binding (Bug#4738).
68 2010-01-02 Eli Zaretskii <eliz@gnu.org>
70 * Makefile.in (bzr-update): Renamed from cvs-update.
71 (cvs-update): New target for backward compatibility.
73 * makefile.w32-in (bzr-update): Renamed from cvs-update.
74 (cvs-update): New target for backward compatibility.
76 2010-01-02 Karl Fogel <kfogel@red-bean.com>
78 * bookmark.el: Remove gratuitous gratitude.
80 2010-01-02 Karl Fogel <kfogel@red-bean.com>
82 * bookmark.el (bookmark-bmenu-any-marks): New function
83 (bookmark-bmenu-save): Clear buffer modification if no marks.
85 2010-01-02 Karl Fogel <kfogel@red-bean.com>
87 * bookmark.el (bookmark-bmenu-marks-width): Define to 1, not 2.
88 (bookmark-bmenu-list, bookmark-bmenu-bookmark): Calculate property
89 positions by using `bookmark-bmenu-marks-width', instead of hardcoding.
90 This fixes the `bookmark-bmenu-execute-deletions' bug reported here:
92 http://lists.gnu.org/archive/html/emacs-devel/2009-12/msg00819.html
93 From: Sun Yijiang <sunyijiang {_AT_} gmail.com>
94 To: emacs-devel {_AT_} gnu.org
95 Subject: bookmark.el bug report
96 Date: Mon, 28 Dec 2009 14:19:16 +0800
97 Message-ID: 5065e2900912272219y3734fc9fsdaee41167ef99ad7@mail.gmail.com
99 2010-01-02 Karl Fogel <kfogel@red-bean.com>
101 * bookmark.el: Improvements suggested by Drew Adams:
102 (bookmark-bmenu-ensure-position): New name for
103 `bookmark-bmenu-check-position'. Just ensure the position,
104 don't return any meaningful value.
105 (bookmark-bmenu-header-height, bookmark-bmenu-marks-width):
108 2010-01-02 Juanma Barranquero <lekktu@gmail.com>
110 * bookmark.el (bookmarks-already-loaded): Doc fix (don't use `iff').
111 (bookmark-yank-point, bookmark-bmenu-check-position):
112 Fix typos in docstrings.
113 (bookmark-save-flag, bookmark-bmenu-toggle-filenames)
114 (bookmark-name-from-full-record, bookmark-get-position)
115 (bookmark-set-position, bookmark-set, bookmark-handle-bookmark)
116 (bookmark-delete, bookmark-save, bookmark-save, bookmark-bmenu-mode):
117 Remove useless quoting of parenthesis, etc. in docstrings.
119 * ediff-mult.el (ediff-prepare-meta-buffer): Fix typo in help message.
120 (ediff-append-custom-diff): Fix typo in error message.
121 (ediff-meta-mark-equal-files): Fix typos in messages.
123 * mpc.el (mpc-playlist-delete): Fix typo in error messages.
125 * cedet/semantic/db-typecache.el (semanticdb-typecache-find-default):
126 Fix typo in docstring.
128 * net/imap-hash.el (imap-hash-make): Doc fix.
129 (imap-hash-test): Fix typo in error message; reflow docstring.
130 (imap-hash-p, imap-hash-get, imap-hash-put, imap-hash-make-message)
131 (imap-hash-count, imap-hash-server, imap-hash-port, imap-hash-ssl)
132 (imap-hash-mailbox, imap-hash-user, imap-hash-password):
133 Fix typos in docstrings.
134 (imap-hash-open-connection): Fix typo in error message.
136 * play/gomoku.el (gomoku): Fix typos in docstring.
138 * progmodes/gdb-ui.el (gdb-location-alist): Reflow docstring.
139 (gdb-jsonify-buffer): Fix typos in docstring.
140 (gdb-goto-breakpoint): Fix typo in error message.
141 ("Display Other Windows"): Fix typo in help message.
142 (gdb-speedbar-expand-node): Fix typo in question.
144 * progmodes/idlw-help.el (idlwave-help-browse-url-available)
145 (idlwave-html-system-help-location, idlwave-html-help-location)
146 (idlwave-help-browser-function, idlwave-help-browser-generic-program)
147 (idlwave-help-browser-generic-args, idlwave-help-directory)
148 (idlwave-html-help-is-available, idlwave-help-mode-line-indicator)
149 (idlwave-help-mode-map, idlwave-help-mode, idlwave-do-context-help)
150 (idlwave-online-help, idlwave-help-html-link)
151 (idlwave-help-show-help-frame, idlwave-help-assistant-command):
152 Fix typos in docstrings.
153 (idlwave-help-with-source, idlwave-help-find-routine-definition):
155 (idlwave-help-assistant-start): Fix typo in error message.
157 * progmodes/octave-mod.el (octave-mode, octave-electric-semi)
158 (octave-electric-space): Fix typos in docstrings.
160 2010-01-01 Chong Yidong <cyd@stupidchicken.com>
162 * files.el (minibuffer-with-setup-hook): Doc fix (Bug#5149).
164 2010-01-01 Juri Linkov <juri@jurta.org>
166 * comint.el (comint-input-ring-size): Make it a defcustom and
167 increase the default to 500 (Bug#5148).
169 2009-12-31 Nick Roberts <nickrob@snap.net.nz>
171 Further changes from EMACS_23_1_RC branch (2009-12-29 contd).
172 * term/x-win.el (x-gtk-stock-map): Map some GUD buttons.
173 * progmodes/gud.el (gud-menu-map): Add reverse-execution commands.
175 2009-12-30 Nick Roberts <nickrob@snap.net.nz>
177 Show working revision correctly for mercurial.
178 * vc-hg.el (vc-hg-working-revision): Use hg parent instead of
179 hg log as suggested by Alex Harsanyi <alexharsanyi@gmail.com>.
181 2009-12-29 Juanma Barranquero <lekktu@gmail.com>
183 Declare some functions for the byte-compiler.
184 * progmodes/gdb-ui.el (speedbar-change-initial-expansion-list)
185 (speedbar-timer-fn, speedbar-change-expand-button-char)
186 (speedbar-delete-subblock, speedbar-center-buffer-smartly): Declare.
188 2009-12-29 Nick Roberts <nickrob@snap.net.nz>
190 This changeset reverts GDB Graphical Interface to use annotations.
191 * progmodes/gdb-ui.el, progmodes/gud.el: Import from EMACS_23_1_RC.
193 2009-12-29 Dan Nicolaescu <dann@ics.uci.edu>
195 Make vc-dir work on subdirectories of the bzr root.
196 * vc-bzr.el (vc-bzr-after-dir-status): Add new argument. Return
197 file names relative to it.
198 (vc-bzr-dir-status, vc-bzr-dir-status-files): Pass the bzr root
199 relative directory to vc-bzr-after-dir-status.
201 2009-12-28 Tassilo Horn <tassilo@member.fsf.org>
203 * font-lock.el (font-lock-refresh-defaults): New function, which
204 can be used to let font-lock react to external changes in
205 variables like font-lock-defaults and keywords.
206 See http://thread.gmane.org/gmane.emacs.devel/118777/focus=118802
208 2009-12-28 Dan Nicolaescu <dann@ics.uci.edu>
210 * vc-rcs.el (vc-rcs-register): Fix registering a specific version.
212 * vc-bzr.el (vc-bzr-log-view-mode): Fix short log regexp.
214 2009-12-28 Juanma Barranquero <lekktu@gmail.com>
216 Supersede color.diff settings in git log (bug#5211).
218 * vc-git.el (vc-git-print-log): Pass "--no-color" to log to avoid
219 escape chars in its output when the user has color.diff set to `always'.
220 This fix works on git 1.4.2 and newer (released on 2006-08-13).
222 2009-12-26 Kevin Ryde <user42@zip.com.au>
224 * info-look.el (sh-mode): Look for coreutils new "Concept Index"
225 node. Keep previous "Index" name to work with past coreutils too.
227 * man.el (man): Revise docstring a bit to show -a and -l as
228 examples. Add -k description since support for it has otherwise
229 been a secret. (Further to bug#3717.)
230 (Man-bgproc-sentinel): When "-k foo" produces no output show error
231 "no matches" rather than "Can't find manpage", as the latter reads
232 like -k was interpreted as a page name, which is not so. (Bug#5431)
234 2009-12-26 Michael Albinus <michael.albinus@gmx.de>
236 * net/tramp.el (tramp-handle-insert-directory): Quote "'" in the
237 switches. Check also for //SUBDIRED// line.
239 2009-12-25 Kenichi Handa <handa@m17n.org>
241 * language/indian.el (devanagari-composable-pattern): Fixed to
242 handle ZWNJ and ZWJ. Use it in composition-function-table for
244 (malayalam-composable-pattern): Fix previous change.
246 2009-12-23 Vinicius Jose Latorre <viniciusjl@ig.com.br>
248 * ps-print.el (ps-face-attributes): It was not returning the
249 attribute face for faces specified as string. Reported by harven
251 (ps-print-version): New version 7.3.5.
253 2009-12-18 Ulf Jasper <ulf.jasper@web.de>
255 * calendar/icalendar.el (icalendar--convert-tz-offset): Fixed
257 (icalendar--convert-tz-offset): Fixed the "last-day-problem".
258 (icalendar--add-diary-entry): Remove the trailing blank that
259 diary-make-entry inserts.
261 2009-12-17 Michael Albinus <michael.albinus@gmx.de>
263 Make `file-expand-wildcards' work for remote files.
265 * files.el (file-expand-wildcards): In case of remote files, check
266 only local file name part for wildcards. Provide feature 'files
267 and subfeature 'remote-wildcards. (Bug#5198)
269 * net/tramp.el (tramp-handle-file-remote-p): Expand file name only
270 if there is already an established connection.
271 (tramp-advice-file-expand-wildcards): Remove it.
273 * net/tramp-compat.el (top): Autoload `tramp-handle-file-remote-p'.
274 (tramp-advice-file-expand-wildcards): Moved from tramp.el.
275 Activate advice for older GNU Emacs versions. (Bug#5237)
277 2009-12-17 Juanma Barranquero <lekktu@gmail.com>
279 Some doc fixes (more needed).
281 * find-cmd.el (find-constituents): Reflow docstring.
282 (find-cmd, find-prune, find-command): Fix typos in docstrings.
283 (find-generic): Doc fix.
285 2009-12-17 Juri Linkov <juri@jurta.org>
287 Fix regression from 23.1 to allow multiple modes in Local Variables.
289 * files.el (hack-local-variables-filter): While ignoring duplicates,
290 don't take `mode' into account.
291 (hack-local-variables-filter, hack-dir-local-variables): Don't
292 remove duplicate `mode' from local-variables-alist (like `eval').
294 2009-12-17 Juri Linkov <juri@jurta.org>
296 Make `dired-diff' more safe. (Bug#5225)
298 * dired-aux.el (dired-diff): Signal an error when `file' equals to
299 `current' or when `file' is a directory of the `current' file.
301 2009-12-17 Andreas Schwab <schwab@linux-m68k.org>
303 * emacs-lisp/autoload.el (batch-update-autoloads): Only exclude
304 unconditionally preloaded files.
306 2009-12-16 Juri Linkov <juri@jurta.org>
308 Revert to old 23.1 logic of using the file at the mark as default.
309 * dired-aux.el (dired-diff): Use the file at the mark as default
310 if it's not the same as the current file, and the target dir is
311 the current dir or the mark is active. Add the current file
312 as the arg of `dired-dwim-target-defaults'. Use the default file
313 in the prompt. (Bug#5225)
315 2009-12-15 Michael Albinus <michael.albinus@gmx.de>
317 * net/tramp.el (tramp-echo-mark-marker-length): New defconst.
318 (tramp-echo-mark, tramp-echoed-echo-mark-regexp): Use it.
319 (tramp-check-for-regexp): Check also, when an echoing shell stops
320 to echo sent commands.
322 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
324 * Makefile.in: Revert last change (Bug#5191).
326 2009-12-14 Dan Nicolaescu <dann@ics.uci.edu>
328 * vc-hg.el (vc-hg-print-log): Fix argument order.
329 (vc-hg-working-revision): Make sure the command is executed in a
330 known environment so that we can parse the output. (Bug#4417)
332 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
334 * progmodes/python.el (python-symbol-completions): Remove text
335 properties from symbol string before calling python-send-receive.
337 2009-12-14 Nick Roberts <nickrob@snap.net.nz>
339 * progmodes/gdb-mi.el (gdb-frame-handler): Only set gud-lat-frame
340 when there are values for both file and line. (Bug#5060)
342 2009-12-14 Juri Linkov <juri@jurta.org>
344 * ediff-ptch.el (ediff-context-diff-label-regexp): Don't match
345 whitespace after the file name of the first line of unified format,
346 because git-diff doesn't output whitespace and file modification time
349 2009-12-14 David Kastrup <dak@gnu.org>
351 * info.el (Info-hide-cookies-node): Before hiding a cookie,
352 check if it already has the `display' property added by
353 `Info-display-images-node', and not put the `invisible' property
356 2009-12-14 Chong Yidong <cyd@stupidchicken.com>
358 * cedet/semantic/mru-bookmark.el (global-semantic-mru-bookmark-mode)
359 (semantic-mru-bookmark-mode): Doc fixes.
361 * cedet/semantic/db.el (semanticdb-cache-get): Use error instead
364 2009-12-13 Glenn Morris <rgm@gnu.org>
366 * mail/emacsbug.el (message-sort-headers): Define for compiler.
367 (report-emacs-bug): In message-mode, sort manually before storing
368 original report text. (Bug#5178)
369 Remove superfluous save-excursion.
371 2009-12-12 Michael Albinus <michael.albinus@gmx.de>
373 * net/dbus.el (dbus-property-handler): Filter lambda forms out
374 when responding to "GetAll" properties.
376 2009-12-12 Chong Yidong <cyd@stupidchicken.com>
378 * simple.el (compose-mail): Remove mail-setup-with-from from
379 customization checks.
381 2009-12-12 Eli Zaretskii <eliz@gnu.org>
383 * arc-mode.el (archive-rar-summarize): Support Attribute fields in
384 RAR archives created on Unix systems.
386 2009-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
388 * minibuffer.el (minibuffer-local-must-match-filename-map): Re-instate
389 the varalias that was accidentally removed by the 2009-11-19 change
392 2009-12-12 Kenichi Handa <handa@m17n.org>
394 * language/indian.el (indian-compose-regexp): New function.
395 (malayalam-composable-pattern): Fix the pattern.
396 (composition-function-table): Set malayalam-composable-pattern for
397 Malayalam characters.
399 2009-12-11 Chong Yidong <cyd@stupidchicken.com>
401 * progmodes/bug-reference.el (bug-reference-map): Bind mouse-2
402 rather than down-mouse-1, based on follow-link conventions.
404 * makefile.w32-in: Ensure that Lisp files in CEDET subdirectories
407 2009-12-11 Michael McNamara <mac@mail.brushroad.com>
409 * verilog-mode.el (verilog-vmm-begin-re, verilog-vmm-end-re)
410 (verilog-vmm-statement-re, verilog-ovm-statement-re)
411 (verilog-defun-level-not-generate-re, verilog-calculate-indent)
412 (verilog-leap-to-head, verilog-backward-token):
413 Fix indenting VMM macros. Reported by Jonathan Ashbrook.
415 2009-12-11 Wilson Snyder <wsnyder@wsnyder.org>
417 * verilog-mode.el (verilog-auto-lineup, verilog-nameable-item-re):
418 Cleanup user-visible spelling and documentation errors.
419 One reported by Gary Delp.
420 (verilog-submit-bug-report): Mention bug tracking and CC co-author.
421 (verilog-read-decls): Fix AUTOWIRE with types declared in a
422 package, bug195. Reported by Pierre-David Pfister.
424 2009-12-11 Glenn Morris <rgm@gnu.org>
426 * progmodes/cc-engine.el (safe-pos-list): Define for compiler.
428 * mail/emacsbug.el: No longer require sendmail.
429 Replace sendmail's `mail-text' by `rfc822-goto-eoh'. (Bug#5174)
430 (report-emacs-bug-orig-text): Doc fix.
431 (report-emacs-bug-send-command, report-emacs-bug-send-hook):
432 New local variables, to adapt to different mail-user-agents.
433 (report-emacs-bug): Fix test for a gnu.org address.
434 Use overlays for emphasis, since font-lock defeats 'face property.
435 Pretest bugs also end up at the newsgroup these days.
436 Stop message-mode stripping text properties.
437 Set and use the new buffer-local variables.
438 (report-emacs-bug-hook): Add doc-string.
439 Remove some unnecessary save-excursions and simplify.
440 Use the appropriate hook and send-command.
442 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Standardize the
443 capitalization of some menu entries.
445 2009-12-10 Vinicius Jose Latorre <viniciusjl@ig.com.br>
447 * whitespace.el (whitespace-display-char-on): Ensure
448 `buffer-display-table' is unique when two or more windows are
449 visible. Reported by Martin Pohlack <mp26@os.inf.tu-dresden.de>.
452 2009-12-10 Eli Zaretskii <eliz@gnu.org>
454 * arc-mode.el (archive-rar-summarize): Allow between 6 and 7
455 characters in the Attribute field.
457 2009-12-10 Dan Nicolaescu <dann@ics.uci.edu>
459 * vc-svn.el (vc-svn-after-dir-status): Fix regexp. (Bug#4741)
461 2009-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
463 Let loaddefs.el adjust to changes in autoload-excludes (bug#5162).
464 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
465 Disregard autoload-excludes.
466 (update-directory-autoloads): Obey autoload-excludes here instead.
467 But don't store its contents in no-autoloads and remove entries that
468 refer to excludes files.
470 2009-12-10 Glenn Morris <rgm@gnu.org>
472 * mail/feedmail.el (top-level): Move require 'mail-utils to start.
473 (expand-mail-aliases): Define for compiler.
475 * vc-annotate.el (log-view-vc-backend, log-view-vc-fileset):
478 * mail/emacsbug.el (report-emacs-bug): Use whichever send command is
479 appropriate for the mail-user-agent in use.
481 2009-12-09 Michael Albinus <michael.albinus@gmx.de>
483 * net/tramp.el (tramp-handle-insert-directory): Suppress error messages.
485 2009-12-09 Dan Nicolaescu <dann@ics.uci.edu>
487 Fix short log parsing and fontification.
488 * vc-bzr.el (vc-bzr-log-view-mode): Match dot in revision number.
489 Fix fontification for the [merge] label.
491 2009-12-09 Vivek Dasmohapatra <vivek@etla.org>
493 Drop some properties to avoid surprises.
494 * htmlfontify.el (hfy-ignored-properties): New defcustom.
495 (hfy-fontify-buffer): Use it.
497 2009-12-09 Stefan Monnier <monnier@iro.umontreal.ca>
500 * ffap.el (ffap-symbol-value): Replace ffap-soft-value.
502 (ffap-locate-file): Remove unused arg `dir-ok' and make other
503 args compulsory. Adjust callers.
504 (ffap-gopher-at-point): Remove unused var `name'.
506 Get rid of the ELCFILES abomination.
507 * Makefile.in (update-elclist, ELCFILES, compile-last): Remove.
508 (compile-elcfiles): New phony target.
509 (compile-main): Compute ELCFILES dynamically.
510 (compile-clean): New target to remove left-over elc files.
511 (compile, all): Use it.
513 2009-12-09 Kenichi Handa <handa@etlken>
515 * international/mule-diag.el: Require help-mode instead of help-fns.
517 2009-12-09 Kenichi Handa <handa@m17n.org>
519 * international/mule-cmds.el (ucs-names): Supply sufficiently
520 fine ranges instead of pre-calculating accurate ranges.
521 Iterate with bigger gc-cons-threshold.
523 2009-12-08 Dan Nicolaescu <dann@ics.uci.edu>
525 Add support for stashing a snapshot of the current tree.
526 * vc-git.el (vc-git-stash-snapshot): New function.
527 (vc-git-stash-map, vc-git-extra-menu-map): Add a mapping for it.
529 2009-12-08 Jose E. Marchesi <jemarch@gnu.org>
531 * play/gomoku.el (gomoku-mode-map): Remap `move-(beginning|end)-of-line'
532 instead of `(beginning|end)-of-line'.
534 2009-12-08 Glenn Morris <rgm@gnu.org>
536 * vc-mtn.el (vc-mtn-print-log): Fix typo in previous.
538 * Makefile.in (ELCFILES): Regenerate.
540 2009-12-07 Juri Linkov <juri@jurta.org>
542 Don't lazy-highlight the comint output in history Isearch mode.
544 * comint.el (comint-history-isearch-search): Instead of
545 `comint-line-beginning-position', use `comint-after-pmark-p'
546 to check if point if before the process mark, and go to
547 `process-mark' in this case.
549 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
551 * textmodes/tex-mode.el (latex-complete)
552 (latex-indent-or-complete): Remove.
553 (latex-mode): Set completion-at-point-functions instead.
555 Provide a standard completion command and hook it into TAB.
556 * minibuffer.el (completion-at-point-functions): New var.
557 (completion-at-point): New command.
558 * indent.el (indent-for-tab-command): Handle the `complete' behavior.
559 * progmodes/python.el (python-mode-map): Use completion-at-point.
560 (python-completion-at-point): Rename from python-partial-symbol and
561 adjust for use in completion-at-point-functions.
562 (python-mode): Setup completion-at-point for Python completion.
563 * emacs-lisp/lisp.el (lisp-completion-at-point): New function
564 extracted from lisp-complete-symbol.
565 (lisp-complete-symbol): Use it.
566 * emacs-lisp/lisp-mode.el (emacs-lisp-mode): Use define-derived-mode,
567 setup completion-at-point for Elisp completion.
568 (emacs-lisp-mode-map, lisp-interaction-mode-map):
569 Use completion-at-point.
570 * ielm.el (ielm-map): Use completion-at-point.
571 (inferior-emacs-lisp-mode): Setup completion-at-point-functions.
572 * progmodes/sym-comp.el: Move to...
573 * obsolete/sym-comp.el: Move from progmodes.
575 2009-12-07 Eli Zaretskii <eliz@gnu.org>
577 Prevent save-buffer in Rmail buffers from using the coding-system
578 of the current message, and from clobbering the encoding mnemonics
579 in the mode line (Bug#4623).
581 * mail/rmail.el (rmail-swap-buffers): Swap encoding and modified
583 (rmail-message-encoding): New variable.
584 (rmail-write-region-annotate): Record the encoding of the current
585 message in rmail-message-encoding.
586 (rmail-after-save-hook): New function, restores the encoding of
587 the current message after the message collection is saved.
589 2009-12-07 Juri Linkov <juri@jurta.org>
591 * progmodes/grep.el (grep-read-files): Use `completing-read'
592 instead of `read-string'. Set its `collection' arg to
593 `read-file-name-internal'. (Bug#4301)
595 2009-12-07 Juri Linkov <juri@jurta.org>
597 Correctly restore original Isearch point. (Bug#4994)
599 * isearch.el (isearch-mode): Move `isearch-push-state' after
600 `(run-hooks 'isearch-mode-hook)'.
601 (isearch-cancel): When `isearch-push-state-function' is defined,
602 let-bind `isearch-cmds' to the first state (the last element of
603 `isearch-cmds') and call `isearch-top-state' (it calls pop-state
604 function and restores the original point). Otherwise, move point
607 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
609 * international/mule-cmds.el (ucs-names): Weed out at compile-time the
610 chars that don't have names, so the table can be built much faster at
613 2009-12-07 Chong Yidong <cyd@stupidchicken.com>
615 * vc-bzr.el (vc-bzr-annotate-command): More elegant form for last
616 change. Suggested by David Kastrup.
618 * simple.el (compose-mail): Check for incompatibilities and warn.
619 (compose-mail-user-agent-warnings): New option.
621 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
623 Support showing a single log entry from vc-annotate.
624 * vc.el (print-log): Add a new argument: START-REVISION.
625 (vc-print-log-internal): Add a new optional argument and
626 pass it to the backend.
627 (vc-print-log, vc-print-root-log): Adjust callers.
628 * vc-annotate.el (vc-annotate-show-log-revision-at-line): If a
629 buffer already displays the requested log entry, use it.
630 Otherwise display only the log entry in question.
631 * vc-svn.el (vc-svn-print-log):
632 * vc-mtn.el (vc-mtn-print-log):
633 * vc-hg.el (vc-hg-state):
634 * vc-git.el (vc-git-print-log): Add support for new argument START-REVISION.
635 (vc-git-show-log-entry): Return t on success.
636 * vc-bzr.el (vc-bzr-print-log): Add support new argument START-REVISION.
637 (vc-bzr-show-log-entry): Return t on success.
638 * vc-rcs.el (vc-rcs-print-log):
639 * vc-sccs.el (vc-sccs-print-log):
640 * vc-cvs.el (vc-cvs-print-log): Add new argument, ignore it.
642 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
644 * ediff-mult.el (ediff-setup-meta-map, ediff-prepare-meta-buffer):
645 Add menus to the meta mode. (Bug#5043)
647 2009-12-07 Michael Kifer <kifer@cs.stonybrook.edu>
649 * ediff-init.el (ediff-event-key): Use event-to-character instead of
652 * ediff.el (ediff-buffers-internal): Add unwind-protect.
654 2009-12-07 Michael Albinus <michael.albinus@gmx.de>
656 Handle prompt rules of ksh in OpenBSD 4.5. Reported by Raphaël
657 Berbain <raphael.berbain@gmail.com>.
659 * net/tramp.el (tramp-end-of-output): Move up. Use `#' and `$'
661 (tramp-initial-end-of-output): New defconst.
662 (tramp-methods, tramp-find-shell)
663 (tramp-open-connection-setup-interactive-shell)
664 (tramp-maybe-open-connection): Use it.
665 (tramp-shell-prompt-pattern, tramp-wait-for-output): Handle
666 existence of `#' and `$'.
668 * net/tramp-fish.el (tramp-fish-maybe-open-connection): Use
669 `tramp-initial-end-of-output'.
671 2009-12-07 Dan Nicolaescu <dann@ics.uci.edu>
673 Get the background mode from the terminal for xterm, and set
675 * term/xterm.el (xterm-set-background-mode): New function.
676 (terminal-init-xterm): Use it in case xterm supports background
677 color queries. Recompute faces after getting the background
680 2009-12-07 Ulrich Mueller <ulm@gentoo.org>
682 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Put the version
683 number comment back on its own line, for easier parsing.
685 2009-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
687 Make it work for non-file buffers (bug#5102).
688 * doc-view.el (doc-view-current-cache-dir):
689 Use doc-view-buffer-file-name rather than buffer-file-name.
690 (doc-view-mode): Use buffer-name when buffer-file-name is nil.
692 2009-12-06 Óscar Fuentes <ofv@wanadoo.es>
694 * vc-bzr.el (vc-bzr-annotate-command): Handle the case where the
695 author field is too short.
697 2009-12-06 Dan Nicolaescu <dann@ics.uci.edu>
699 * vc-git.el (vc-git-print-log): Handle a limit argument.
700 Display the short log in graph form and with labels.
701 (vc-git-log-view-mode): Handle labels.
703 Make vc-revert change VC state from 'added to 'unregistered.
704 * vc-git.el (vc-git-revert): Call git reset first.
706 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
708 * net/newst-backend.el, net/newst-plainview.el:
709 * net/newst-reader.el, net/newst-ticker.el:
710 * net/newst-treeview.el, net/newsticker.el:
711 Require/provide newst-... (instead of newsticker-...). (Bug#5096)
713 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
715 * log-view.el (log-view-mode-map): Bind "=" to log-view-diff too.
717 * vc-bzr.el (vc-bzr-annotate-command): Show author in annotation.
718 Handle empty author field (Bug#4144). Suggested by Óscar Fuentes.
719 (vc-bzr-annotate-time, vc-bzr-annotate-extract-revision-at-line):
720 Update annotation regexp.
722 * simple.el (beginning-of-visual-line): Constrain to field
723 boundaries (Bug#5106).
725 2009-12-06 Ulf Jasper <ulf.jasper@web.de>
727 * xml.el (xml-substitute-numeric-entities): Move
728 newsticker--decode-numeric-entities in newst-backend.el to
729 xml-substitute-numeric-entities in xml.el. (Bug#5008)
730 * net/newst-backend.el (newsticker--parse-generic-feed)
731 (newsticker--parse-generic-items)
732 (newsticker--decode-numeric-entities): Move
733 newsticker--decode-numeric-entities in newst-backend.el to
734 xml-substitute-numeric-entities in xml.el. (Bug#5008)
736 2009-12-06 Daniel Colascione <dan.colascione@gmail.com>
738 * progmodes/js.el (js--js-not): Add null to the list of values.
740 2009-12-06 Chong Yidong <cyd@stupidchicken.com>
742 * ansi-color.el (ansi-color-for-comint-mode): Add :version keyword.
744 2009-12-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
746 * textmodes/bibtex.el (bibtex-enclosing-field): Exclude entry
747 delimiter if it is at the end of the current line.
748 (bibtex-generate-url-list): Fix docstring.
750 2009-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
752 * minibuffer.el (minibuffer-complete-and-exit): Don't replace the
753 minibuffer's content with itself.
754 Fold the confirm-after-completion case into the `confirm' case.
755 (completion-pcm-word-delimiters): Add : and / to the delimiters.
757 2009-12-06 Kevin Ryde <user42@zip.com.au>
759 * ffap.el (ffap-rfc-path): Make this a defcustom since
760 `ffap-rfc-directories' is also a defcustom. (Bug#4514.)
762 * info-look.el: Add setup for apropos-mode to use emacs-lisp-mode
763 manuals, similar to existing setup for help-mode. (Bug#3913.)
765 2009-12-05 Juri Linkov <juri@jurta.org>
767 Save and restore dired buffer's point positions too. (Bug#4880)
769 * dired.el (dired-save-positions): Return in the first element
770 buffer's position in format (BUFFER DIRED-FILENAME BUFFER-POINT).
772 (dired-restore-positions): First restore buffer's position.
773 While restoring window's positions, check if window still displays
776 2009-12-05 Chong Yidong <cyd@stupidchicken.com>
778 * bindings.el (complete-symbol): Call semantic-ia-complete-symbol
781 * cedet/semantic/ia.el (semantic-ia-complete-symbol):
782 Make argument optional.
784 * shell.el (shell): Require ansi-color (Bug#5113).
786 * ansi-color.el (ansi-color-for-comint-mode): Default to t.
788 * hl-line.el (global-hl-line-highlight): Minor doc fix (Bug#4925).
790 2009-12-05 Alan Mackenzie <acm@muc.de>
792 * progmodes/cc-mode.el (c-before-hack-hook)
793 (c-postprocess-file-styles): Revert change 2009-07-18T21:03:43Z!acm@muc.de to permit
794 `c-file-style' to work again. This reversion restores the current
795 software to its state in Emacs 23.1. (Bug#4146)
797 2009-12-05 Kevin Ryde <user42@zip.com.au>
799 * textmodes/sgml-mode.el (sgml-lexical-context): Recognise
800 comment-start-skip to comment-end-skip as comment (Bug#4781).
802 2009-12-05 Juri Linkov <juri@jurta.org>
804 * info.el (Info-find-node-2): Set `Info-current-subfile' to nil
805 for virtual nodes. (Bug#4147)
806 (Info-find-node-2): Set `Info-current-node-virtual' to nil
807 when moving from a virtual node.
808 (Info-mode-menu): Add `Info-virtual-index' to the menu.
809 (Info-mode): Add `Info-virtual-index' to the docstring.
811 2009-12-05 Eric Ludlam <zappo@gnu.org>
813 * cedet/semantic/bovine/c.el (semantic-c-describe-environment):
814 Describe project macro symbols.
816 * cedet/semantic/complete.el (semantic-complete-do-completion):
817 Don't call semantic-collector-current-exact-match.
819 * cedet/ede.el (ede-apply-preprocessor-map): Accept lists of
820 ede-objects as targets.
822 * cedet/ede/pmake.el (ede-proj-makefile-insert-variables): Output
823 a target's object list even if compiler vars are already in the
826 * cedet/ede/emacs.el (ede-preprocessor-map): Add config.h to the
827 list of headers producing necessary macros.
829 2009-12-05 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
831 * textmodes/bibtex.el (bibtex-map-entries): Use marker to keep
832 track of the buffer position of the end of a BibTeX entry as this
833 position may change during reformatting.
834 (bibtex-format-entry): Remove whitespace before processing
835 numerical fields so that we recognize the latter properly.
836 (bibtex-reformat): Do not use push which changes the global value
837 of bibtex-entry-format.
838 (bibtex-field-braces-alist, bibtex-field-strings-alist)
839 (bibtex-field-re-init): Replace only space characters by regexp
841 (bibtex-generate-url-list, bibtex-cite-matcher-alist): Fix docstring.
842 (bibtex-initialize): Also update bibtex-strings.
843 (bibtex-kill-field): Preserve white space at end of entry.
844 (bibtex-kill-entry, bibtex-yank-pop, bibtex-insert-kill):
845 Update bibtex-reference-keys.
847 2009-12-05 Stefan Monnier <monnier@iro.umontreal.ca>
849 * minibuffer.el (completion-pcm--merge-try): Also consider placing
850 point after a star, if that's the only place where modifications can
853 2009-12-05 Dan Nicolaescu <dann@ics.uci.edu>
855 * vc-dir.el (vc-dir): Use the correct markup for showing keymaps
858 2009-12-04 Juri Linkov <juri@jurta.org>
860 * proced.el (proced): Call `(proced-update t)' to update process
861 information instead of only running proced-post-display-hook.
862 (proced-send-signal): Add a leading space to the buffer name
863 " *Marked Processes*" to make this buffer ephemeral.
865 2009-12-04 Juri Linkov <juri@jurta.org>
867 * dired.el (dired-auto-revert-buffer): New defcustom.
868 (dired-internal-noselect): Use it.
870 2009-12-04 Juri Linkov <juri@jurta.org>
872 Change roles of modes and functions in image-mode.el (Bug#5062).
874 * image-mode.el: Replace `image-mode-maybe' with `image-mode'
875 in `auto-mode-alist'.
876 (image-mode-previous-major-mode): New variable.
877 (image-minor-mode-map): Rename from `image-mode-text-map'.
878 (image-mode): Move graceful error-handling code from
879 `image-minor-mode' to here. On errors call `image-mode-as-text'.
880 (image-minor-mode): Remove all image-handling code.
881 Replace `image-mode-text-map' with `image-minor-mode-map'.
882 Check for `image-type' in mode-line format string.
883 (image-mode-maybe): Make obsolete with an alias to `image-mode'.
884 (image-mode-as-text): New function with most code from
886 (image-toggle-display-text): Move code that removes image
887 properties from `image-toggle-display' to here.
888 (image-toggle-display-image): New function with code that adds
889 image properties copied from `image-toggle-display'.
890 (image-toggle-display): Remove most code with leaving only code
891 that toggles between `image-mode-as-text' and `image-mode'.
893 2009-12-04 Ulf Jasper <ulf.jasper@web.de>
895 * net/newst-treeview.el
896 (newsticker--treeview-list-highlight-start): Restored call to
897 save-excursion: Selected item was stuck.
898 (newsticker--treeview-list-select): New.
899 (newsticker--treeview-item-show-text)
900 (newsticker--treeview-item-show)
901 (newsticker--treeview-item-update): Use new
902 newsticker-treeview-item-mode.
903 (newsticker-treeview-update): Keep current item.
904 (newsticker-treeview-next-new-or-immortal-item): Doc change.
905 (newsticker--treeview-first-feed): Doc change.
906 (newsticker-treeview-list-menu)
907 (newsticker-treeview-item-menu): Added menu entries.
908 (newsticker-treeview-item-mode): New.
910 * net/newst-backend.el (newsticker-customize): Delete other
913 2009-12-04 Sam Steingold <sds@gnu.org>
915 * log-view.el (log-view-mode-map): "q" calls quit-window,
916 like in all the other non-self-insert buffers.
918 2009-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
921 * term.el (term-send-raw, term-send-raw-meta): Use read-key-sequence's
922 key decoding rather than do it manually via last-input-event +
924 (term-exec): Use delete-and-extract-region.
925 (term-handle-ansi-terminal-messages): Remove unused var `end'.
926 (term-process-pager): Remove unused var `i'.
927 (term-dynamic-simple-complete): Make obsolete.
928 (serial-update-config-menu): Remove unused vars `y' and `str'.
929 (term-update-mode-line): Remove unused var `temp'.
931 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
933 Limit the number of log entries displayed by default.
934 * vc.el (vc-print-log-internal): Fix check for limit-unsupported.
935 (vc-print-log, vc-print-root-log): Use vc-log-show-limit when not
936 using a prefix argument.
938 2009-12-03 Glenn Morris <rgm@gnu.org>
940 * progmodes/idlwave.el (class): Restore still useful declaration.
942 2009-12-03 Alan Mackenzie <acm@muc.de>
944 Enhance `c-parse-state' to run efficiently in "brace deserts".
946 * progmodes/cc-mode.el (c-basic-common-init):
947 Call c-state-cache-init.
948 (c-neutralize-syntax-in-and-mark-CPP): Rename from
949 c-extend-and-neutralize-syntax-in-CPP. Mark each CPP construct by
950 placing `category' properties value 'c-cpp-delimiter at its boundaries.
952 * progmodes/cc-langs.el (c-before-font-lock-function):
953 c-extend-and-neutralize-syntax-in-CPP has been renamed
954 c-neutralize-syntax-in-and-mark-CPP.
956 * progmodes/cc-fonts.el (c-cpp-matchers): Mark template brackets
957 with `category' properties now, not `syntax-table' ones.
959 * progmodes/cc-engine.el (c-syntactic-end-of-macro): A new
960 enhanced (but slower) version of c-end-of-macro that won't land
961 inside a literal or on another awkward character.
962 (c-state-cache-too-far, c-state-cache-start)
963 (c-state-nonlit-pos-interval, c-state-nonlit-pos-cache)
964 (c-state-nonlit-pos-cache-limit, c-state-point-min)
965 (c-state-point-min-lit-type, c-state-point-min-lit-start)
966 (c-state-min-scan-pos, c-state-brace-pair-desert)
967 (c-state-old-cpp-beg, c-state-old-cpp-end): New constants and
968 buffer local variables.
969 (c-state-literal-at, c-state-lit-beg)
970 (c-state-cache-non-literal-place, c-state-get-min-scan-pos)
971 (c-state-mark-point-min-literal, c-state-cache-top-lparen)
972 (c-state-cache-top-paren, c-state-cache-after-top-paren)
973 (c-get-cache-scan-pos, c-get-fallback-scan-pos)
974 (c-state-balance-parens-backwards, c-parse-state-get-strategy)
975 (c-renarrow-state-cache)
976 (c-append-lower-brace-pair-to-state-cache)
977 (c-state-push-any-brace-pair, c-append-to-state-cache)
978 (c-remove-stale-state-cache)
979 (c-remove-stale-state-cache-backwards, c-state-cache-init)
980 (c-invalidate-state-cache-1, c-parse-state-1)
981 (c-invalidate-state-cache): New defuns/defmacros/defsubsts.
982 (c-parse-state): Enhance and refactor.
983 (c-debug-parse-state): Amend to deal with all the new variables.
985 * progmodes/cc-defs.el (c-<-as-paren-syntax, c-mark-<-as-paren)
986 (c->-as-paren-syntax, c-mark->-as-paren, c-unmark-<->-as-paren):
987 modify to use category text properties rather than syntax-table ones.
988 (c-suppress-<->-as-parens, c-restore-<->-as-parens): New defsubsts
989 to switch off/on the syntactic paren property of C++ template
990 delimiters using the category property.
991 (c-with-<->-as-parens-suppressed): Macro to invoke code with
992 template delims suppressed.
993 (c-cpp-delimiter, c-set-cpp-delimiters, c-clear-cpp-delimiters):
994 New constant/macros which apply category properties to the start
995 and end of preprocessor constructs.
996 (c-comment-out-cpps, c-uncomment-out-cpps): Defsubsts which
997 "comment out" the syntactic value of characters in preprocessor
999 (c-with-cpps-commented-out)
1000 (c-with-all-but-one-cpps-commented-out): Macros to invoke code
1001 with characters in all or all but one preprocessor constructs
1004 2009-12-03 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
1006 * proced.el (proced-filter-alist): Use regexp-quote.
1008 2009-12-03 Michael Albinus <michael.albinus@gmx.de>
1011 * eshell/em-unix.el (top): Require 'esh-opt and 'pcomplete.
1012 (eshell/su, eshell/sudo): Require 'tramp. Fix problems reading
1013 arguments. Expand `default-directory'.
1015 * net/tramp.el (tramp-handle-file-remote-p): Expand FILENAME for
1016 the benefit of returning an expanded localname.
1017 (tramp-tramp-file-p): Handle the case NAME is not a string.
1019 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
1021 Add support for bzr shelve/unshelve.
1022 * vc-bzr.el (vc-bzr-shelve-map, vc-bzr-shelve-menu-map)
1023 (vc-bzr-extra-menu-map): New variables.
1024 (vc-bzr-extra-menu, vc-bzr-extra-status-menu, vc-bzr-shelve)
1025 (vc-bzr-shelve-apply, vc-bzr-shelve-list)
1026 (vc-bzr-shelve-get-at-point, vc-bzr-shelve-delete-at-point)
1027 (vc-bzr-shelve-apply-at-point, vc-bzr-shelve-menu): New functions.
1028 (vc-bzr-dir-extra-headers): Display shelves.
1030 * vc-bzr.el (vc-bzr-print-log): Deal with nil arguments better.
1032 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1034 * textmodes/bibtex.el (bibtex-complete-internal):
1035 Use completion-in-region.
1036 (bibtex-text-in-field-bounds): Remove unused var `opoint'.
1038 2009-12-03 Dan Nicolaescu <dann@ics.uci.edu>
1040 Support applying stashes. Improve UI.
1041 * vc-git.el (vc-git-dir-extra-headers): Add tooltips.
1042 (vc-git-stash-apply, vc-git-stash-pop)
1043 (vc-git-stash-apply-at-point, vc-git-stash-pop-at-point)
1044 (vc-git-stash-menu): New functions.
1045 (vc-git-stash-menu-map): New variable.
1046 (vc-git-stash-map): Add bindings to popup a menu and to apply stashes.
1048 2009-12-03 Glenn Morris <rgm@gnu.org>
1050 * vc.el (log-view-vc-backend, log-view-vc-fileset): Declare.
1051 (vc-print-log-internal): Fix previous change.
1052 (vc-revert): Correct pluralization.
1054 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1056 * progmodes/make-mode.el (makefile-special-targets-list): No need for
1057 it to be an alist any more.
1058 (makefile-complete): Use completion-in-region.
1060 * progmodes/octave-mod.el (octave-complete-symbol):
1061 Use completion-in-region.
1064 * progmodes/idlwave.el (idlwave-comment-hook): Simplify with `or'.
1065 (idlwave-code-abbrev, idlwave-display-user-catalog-widget)
1066 (idlwave-complete-class): Don't quote lambda.
1067 (idlwave-find-symbol-syntax-table, idlwave-mode-syntax-table)
1068 (idlwave-mode-map): Move initialization into declaration.
1069 (idlwave-action-and-binding): Use backquotes.
1070 (idlwave-in-quote, idlwave-reset-sintern, idlwave-complete-in-buffer):
1072 (idlwave-is-pointer-dereference): Remove unused var `pos'.
1073 (idlwave-xml-create-rinfo-list): Remove unused var `entry'.
1074 (idlwave-convert-xml-clean-sysvar-aliases): Remove unused vars `new',
1075 `parts', and `all-parts'.
1076 (idlwave-xml-create-sysvar-alist): Remove unused var `fields'.
1077 (idlwave-convert-xml-system-routine-info): Remove unused string
1079 (idlwave-display-user-catalog-widget): Use dolist.
1080 (idlwave-scanning-lib): Declare dynamically-scoped var.
1081 (idlwave-scan-library-catalogs): Remove unused var `flags'.
1082 (completion-highlight-first-word-only): Declare to silence bytecomp.
1083 (idlwave-popup-select): Tighten scope of `resp'.
1084 (idlwave-find-struct-tag): Remove unused var `beg'.
1085 (idlwave-after-load-rinfo-hook): Declare.
1086 (idlwave-sintern-class-info): Remove unused var `taglist'.
1087 (idlwave-find-class-definition): Remove unused var `list'.
1088 (idlwave-complete-sysvar-tag-help): Remove unused var `main-base'.
1089 (idlwave-what-module-find-class): Remove unused var `classes'.
1091 2009-12-03 Juanma Barranquero <lekktu@gmail.com>
1093 * progmodes/pascal.el: Require CL when compiling (for lexical-let).
1095 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
1097 * hippie-exp.el (try-expand-dabbrev-visible): Preserve point in the
1098 buffers visited. Remove redundant current-buffer-saving.
1100 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1102 Use completion-in-buffer and remove uses of dynamic scoping.
1103 * progmodes/pascal.el (pascal-str, pascal-all, pascal-pred)
1104 (pascal-buffer-to-use, pascal-flag): Don't declare.
1105 (pascal-func-completion, pascal-type-completion, pascal-var-completion)
1106 (pascal-get-completion-decl, pascal-keyword-completion):
1107 Add `pascal-str' argument, save-excursion,
1108 return the found completions, and don't filter with pascal-pred.
1109 (pascal-completion-cache): New var.
1110 (pascal-completion): Don't switch buffer any more (it was never
1111 necessary). Don't save-excursion any more (it's done by the called
1112 subroutines). Use a cache to avoid redundant computations.
1113 Use complete-with-action rather than pascal-completion-response and
1114 let it apply the predicate as well.
1115 (pascal-complete-word): Use completion-in-buffer when
1116 pascal-toggle-completions is nil.
1117 (pascal-show-completions): Don't bind pascal-buffer-to-use since it's
1119 (pascal-comp-defun): Don't change buffer any more.
1120 Use complete-with-action rather than pascal-completion-response and
1121 let it apply the predicate as well.
1122 (pascal-goto-defun): Change buffer before calling pascal-comp-defun
1125 2009-12-02 Kenichi Handa <handa@m17n.org>
1127 * language/indian.el: Include ZWJ and ZWNJ in the patterns to
1128 shape for all Indic scripts.
1130 2009-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
1132 Use completion-in-buffer.
1133 * wid-edit.el (widget-field-text-end): New function.
1134 (widget-field-value-get): Use it.
1135 (widget-string-complete, widget-file-complete)
1136 (widget-color-complete): Use it and completion-in-region.
1137 (widget-complete): Don't narrow the buffer.
1139 2009-12-02 Glenn Morris <rgm@gnu.org>
1141 * mail/rmail.el (rmail-pop-to-buffer): New function. (Bug#2282)
1142 (rmail-select-summary): Use rmail-pop-to-buffer.
1143 * mail/rmailsum.el: Replace all pop-to-buffer calls with
1144 rmail-pop-to-buffer, to prevent horizontal splits.
1146 * calendar/diary-lib.el (diary-list-entries): Replace superfluous
1147 save-excursion with save-current-buffer.
1148 Widen before searching. (Bug#5093)
1149 (diary-list-sexp-entries): Remove superfluous save-excursion.
1151 2009-12-02 Michael Welsh Duggan <mwd@cert.org>
1153 * woman.el (woman-make-bufname): Handle man-pages with "." in the
1156 2009-12-02 Andreas Politz <politza@fh-trier.de> (tiny change)
1158 * ido.el (ido-file-internal): Handle filenames at point that do
1159 not have a directory part. (Bug#5049)
1161 2009-12-02 Juanma Barranquero <lekktu@gmail.com>
1163 * mpc.el (mpc-intersection, mpc-host, mpc-songs-playlist)
1164 (mpc-songs-jump-to, mpc-resume): Doc fixes.
1166 2009-12-01 Rob Riepel <riepel@networking.Stanford.EDU>
1168 * emulation/tpu-extras.el (tpu-cursor-free-mode): Emit message.
1169 (tpu-set-cursor-free, tpu-set-cursor-bound): Don't emit a message
1172 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1174 * comint.el (comint-insert-input): Ignore clicks to the right of
1175 the field. Reported by Bob Nnamtrop <bobnnamtrop@gmail.com>.
1177 * vc.el (vc-print-log-internal): Don't wait for the process to
1178 terminate before setting up the major mode.
1180 * pcmpl-unix.el (pcomplete/cd): Complete more than one argument, just
1183 * pcomplete.el (pcomplete-std-complete): Don't try to complete past
1186 * simple.el (normal-erase-is-backspace-mode): Fix thinko in message.
1188 2009-12-01 Glenn Morris <rgm@gnu.org>
1190 * window.el (window--display-buffer-2): Fix previous changes.
1192 2009-12-01 Chong Yidong <cyd@stupidchicken.com>
1194 * mail/sendmail.el (mail-setup-hook, mail-send-hook): Doc fixes.
1196 2009-12-01 Glenn Morris <rgm@gnu.org>
1198 * Makefile.in (ELCFILES): Add mpc.elc.
1200 2009-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
1204 2009-12-01 Glenn Morris <rgm@gnu.org>
1206 * window.el (window-to-use): Define for compiler.
1208 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Make message
1209 consistent with others (no final period).
1211 * mail/rmailmm.el (rmail-mime-handle): Doc fix.
1212 (rmail-mime-show): Downcase the encoding. (Bug#5070)
1214 2009-12-01 Dan Nicolaescu <dann@ics.uci.edu>
1216 Make vc-print-log buttons work.
1217 * log-view.el (log-view-mode-map): Inherit from from widget-keymap.
1219 2009-11-30 Ryan C. Thompson <rct@thompsonclan.org> (tiny change)
1221 * savehist.el (savehist-autosave-interval): Allow setting to nil
1222 through customize. (Bug#5056)
1224 2009-11-30 Juanma Barranquero <lekktu@gmail.com>
1226 Fix references to jit-lock properties.
1227 * progmodes/perl-mode.el (perl-font-lock-syntactic-keywords):
1228 Refer to jit-lock-defer-multiline, not jit-lock-multiline.
1229 (perl-font-lock-special-syntactic-constructs):
1230 Quote jit-lock-defer-multiline property.
1232 2009-11-30 Dan Nicolaescu <dann@ics.uci.edu>
1234 * vc-git.el (vc-git-registered): Call vc-git-root only once.
1236 2009-11-30 Juri Linkov <juri@jurta.org>
1238 * misearch.el (multi-isearch-search-fun): Always provide a non-nil
1239 value `buffer' of `multi-isearch-next-buffer-current-function'.
1240 Use `(current-buffer)' when `buffer' is nil.
1241 (multi-isearch-next-buffer-from-list): Don't fallback to
1242 `(current-buffer)' when `buffer' is nil. (Bug#4947)
1244 2009-11-30 Juri Linkov <juri@jurta.org>
1246 * misearch.el (multi-isearch-read-buffers): Move canonicalization
1247 of buffers with `get-buffer' to `multi-isearch-buffers'.
1248 (multi-isearch-buffers, multi-isearch-buffers-regexp):
1249 Canonicalize BUFFERS with `get-buffer'. Doc fix.
1250 (multi-isearch-files, multi-isearch-files-regexp): Canonicalize
1251 FILES with `expand-file-name' converting relative file names
1252 to absolute. Doc fix. (Bug#4727)
1254 2009-11-30 Juri Linkov <juri@jurta.org>
1256 * misearch.el (multi-isearch-read-buffers)
1257 (multi-isearch-read-matching-buffers): New functions.
1258 (multi-isearch-buffers, multi-isearch-buffers-regexp):
1259 Use them in the `interactive' spec. Doc fix.
1260 (multi-isearch-read-files, multi-isearch-read-matching-files):
1262 (multi-isearch-files, multi-isearch-files-regexp):
1263 Use them in the `interactive' spec. Doc fix. (Bug#4725)
1265 2009-11-30 Juri Linkov <juri@jurta.org>
1267 * doc-view.el (doc-view-continuous):
1268 Rename from `doc-view-continuous-mode'.
1269 (doc-view-menu): Move "Toggle display" to the top.
1270 Add submenu "Continuous" with radio buttons "Off"/"On"
1271 and "Save as Default".
1272 (doc-view-scroll-up-or-next-page)
1273 (doc-view-scroll-down-or-previous-page)
1274 (doc-view-next-line-or-next-page)
1275 (doc-view-previous-line-or-previous-page): Rename
1276 `doc-view-continuous-mode' to `doc-view-continuous'. (Bug#4896)
1278 2009-11-30 Juri Linkov <juri@jurta.org>
1280 * comint.el (comint-mode-map): Rebind `M-r' from
1281 `comint-previous-matching-input' to
1282 `comint-history-isearch-backward-regexp'.
1283 Unbind `M-s' to allow global key binding `M-s'.
1284 Add menu items for `comint-history-isearch-backward' and
1285 `comint-history-isearch-backward-regexp'. (Bug#3746)
1287 2009-11-30 Juri Linkov <juri@jurta.org>
1289 * replace.el (perform-replace): Let-bind recenter-last-op to nil.
1290 For def=recenter, replace `recenter' with `recenter-top-bottom'
1291 that is called with `this-command' and `last-command' let-bound
1292 to `recenter-top-bottom'. When the last `def' was not `recenter',
1293 set `recenter-last-op' to nil. (Bug#4981)
1295 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca>
1297 Minor cleanup and simplification.
1298 * filecache.el (file-cache-add-directory)
1299 (file-cache-add-directory-recursively)
1300 (file-cache-add-from-file-cache-buffer)
1301 (file-cache-delete-file-regexp, file-cache-delete-directory)
1302 (file-cache-files-matching-internal, file-cache-display): Use dolist.
1303 (file-cache-temp-minibuffer-message): Delete function.
1304 (file-cache-minibuffer-complete): Use minibuffer-message instead.
1306 * progmodes/perl-mode.el (perl-font-lock-special-syntactic-constructs):
1307 Don't signal an error when bumping into EOB in tr, s, or y.
1309 2009-11-29 Juri Linkov <juri@jurta.org>
1311 * startup.el (fancy-about-text): Fix wording of Guided Tour.
1314 * descr-text.el (describe-char-unidata-list): Use lowercase name
1315 for "Unicode name" like in other tags.
1317 2009-11-29 Juri Linkov <juri@jurta.org>
1319 * ediff-util.el (ediff-minibuffer-with-setup-hook):
1320 New compatibility macro.
1321 (ediff-read-file-name): Use it instead of `minibuffer-with-setup-hook'.
1323 2009-11-29 Juri Linkov <juri@jurta.org>
1325 Add defcustom to define the cycling order of `recenter-top-bottom'.
1328 * window.el (recenter-last-op): Doc fix.
1329 (recenter-positions): New defcustom.
1330 (recenter-top-bottom): Rewrite to use `recenter-positions'.
1331 (move-to-window-line-top-bottom): Rewrite to use `recenter-positions'.
1333 2009-11-29 Michael Albinus <michael.albinus@gmx.de>
1335 Improve integration of Tramp and ange-ftp in eshell.
1337 * eshell/em-unix.el (eshell/whoami): Make it a defun but a defalias.
1338 (eshell/su): Flatten args. Apply better args parsing. Use "cd".
1339 (eshell/sudo): Flatten args. Let-bind `default-directory'.
1341 * eshell/esh-util.el (top): Require also Tramp when compiling.
1342 (eshell-directory-files-and-attributes): Check for FTP remote
1344 (eshell-parse-ange-ls): Let-bind `ange-ftp-name-format',
1345 `ange-ftp-ftp-name-arg', `ange-ftp-ftp-name-res'.
1346 (eshell-file-attributes): Handle ".". Return `entry'.
1348 * net/ange-ftp.el (ange-ftp-parse-filename): Use `save-match-data'.
1349 (ange-ftp-directory-files-and-attributes)
1350 (ange-ftp-real-directory-files-and-attributes): New defuns.
1352 * net/tramp.el (tramp-maybe-open-connection): Open the remote
1353 shell with "exec" when possible. This prevents trailing prompts
1354 in `start-file-process'.
1356 2009-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
1358 Try and remove assumptions about point-min==1.
1359 * nxml/rng-valid.el (rng-validate-mode): Don't hardcode point-min==1.
1360 (rng-compute-mode-line-string): Show the validation percentage in
1361 terms of the narrowed text, not the widened text.
1362 (rng-do-some-validation): Don't catch internal errors when debugging.
1363 (rng-first-error): Simplify.
1364 (rng-after-change-function): Remove work around. AFAIK the bug has
1365 been fixed a while ago.
1367 * image-mode.el (image-minor-mode): Exit more gracefully when the image
1368 cannot be displayed (e.g. when doing C-x C-f some-new-file.svg RET).
1370 * man.el (Man-completion-table): Make it easier to enter "<sec> <name>".
1372 * eshell/em-prompt.el (eshell-prompt-function): Abbreviate pwd, since
1373 `cd' doesn't always do it for us (bug#5067).
1375 * pcomplete.el (pcomplete-entries): Revert change installed mistakenly
1376 on 2009-10-25 as part of some other change (bug#5067).
1378 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1380 * emacs-lisp/bytecomp.el (byte-compile-warning-types): New type
1382 (byte-compile-warnings): Use byte-compile-warning-types.
1383 (byte-compile-save-excursion): Warn about use of set-buffer right
1384 after save-excursion.
1386 * progmodes/gud.el (gud-basic-call): Don't only save the buffer but
1387 the excursion as well.
1389 2009-11-27 Michael Albinus <michael.albinus@gmx.de>
1391 * eshell/em-unix.el (eshell/su, eshell/sudo): New defuns,
1392 providing a Tramp related implementation of "su" and "sudo".
1393 (eshell-unix-initialize): Add "su" and "sudo".
1395 2009-11-27 Daiki Ueno <ueno@unixuser.org>
1397 * net/socks.el (socks-send-command): Convert binary request to
1398 unibyte before sending. This fixes mishandling of some port
1399 numbers such as 129.
1401 2009-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
1403 * help.el (describe-bindings-internal): Remove `interactive'.
1405 * man.el (Man-completion-table): Trim a terminating "(".
1406 Remove the space between name page a section.
1407 Add the command's description on the `help-echo' property.
1408 Remove `process-connection-type' binding since it's unused by
1410 Provide completion for the "<section> <name>" format as well.
1411 (Man-default-man-entry): Remove spurious var shadowing the argument.
1413 2009-11-26 Kevin Ryde <user42@zip.com.au>
1415 * log-view.el: Add "Keywords: tools", since its other keywords
1416 aren't in finder-known-keywords, and following vc.el.
1418 * sha1.el (sha1-string-external): default-directory "/" in case
1419 otherwise non-existent. process-connection-type pipe for touch of
1420 efficiency recommended by elisp manual. (An aside in Bug#3911.)
1422 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
1424 Misc coding convention cleanups.
1425 * htmlfontify.el (hfy-init-kludge-hook): Rename from
1426 hfy-init-kludge-hooks.
1427 (hfy-etags-cmd, hfy-flatten-style, hfy-invisible-name, hfy-face-at)
1428 (hfy-fontify-buffer, hfy-prepare-index-i, hfy-subtract-maps)
1429 (hfy-save-kill-buffers, htmlfontify-copy-and-link-dir): Use dolist
1431 (hfy-slant, hfy-weight): Use tables rather than code.
1432 (hfy-box-to-border-assoc, hfy-box-to-style, hfy-decor)
1433 (hfy-face-to-style-i, hfy-fontify-buffer): Use `case'.
1434 (hfy-face-attr-for-class): Initialize `face-spec' directly.
1435 (hfy-face-to-css): Remove `nconc' with single arg.
1436 (hfy-p-to-face-lennart): Use `or'.
1437 (hfy-face-at): Hoist common code. Remove spurious quotes in `case'.
1438 (hfy-overlay-props-at, hfy-mark-tag-hrefs): Eta-reduce.
1439 (hfy-compile-stylesheet, hfy-merge-adjacent-spans)
1440 (hfy-compile-face-map, hfy-parse-tags-buffer): Use push.
1441 (hfy-force-fontification): Use run-hooks.
1443 2009-11-26 Vivek Dasmohapatra <vivek@etla.org>
1445 Various minor fixes.
1446 * htmlfontify.el (hfy-default-header): Add toggle_invis since
1447 Javascript belongs in the header, not the body.
1448 (hfy-javascript): Remove.
1449 (hfy-fontify-buffer): Don't insert it any more.
1450 (hfy-face-at): Handle (face0 face1 face2) style face properties.
1451 Fix bug in invis handling when there were no invis props in a chunk.
1453 2009-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
1455 * vc-bzr.el (vc-bzr-annotate-command): Make operation asynchronous.
1457 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu>
1459 * finder.el (finder-mode-map): Add a menu.
1461 2009-11-26 Michael McNamara <mac@mail.brushroad.com>
1463 * verilog-mode.el (verilog-at-struct-p): Support "signed" and
1466 (verilog-leap-to-head, verilog-backward-token): Handle "disable
1467 fork" statement better.
1469 2009-11-26 Wilson Snyder <wsnyder@wsnyder.org>
1471 * verilog-mode.el (verilog-auto-insert-lisp, verilog-delete-auto)
1472 (verilog-delete-empty-auto-pair, verilog-library-filenames):
1473 Fix AUTOINSERTLISP to support insert-file. Reported by Clay Douglass.
1475 (verilog-auto-inst, verilog-auto-star-safe)
1476 (verilog-delete-auto-star-implicit, verilog-read-sub-decls):
1477 Fix removing "// Interfaces" when saving .* expansions. Reported by
1478 Pierre-David Pfister.
1480 2009-11-26 Glenn Morris <rgm@gnu.org>
1482 * eshell/em-dirs.el (eshell/cd): Don't throw to a tag outside
1485 2009-11-25 Johan Bockgård <bojohan@gnu.org>
1487 * vc-annotate.el (vc-annotate-revision-previous-to-line):
1488 Really use previous revision.
1490 2009-11-25 Kevin Ryde <user42@zip.com.au>
1492 * man.el (Man-completion-table): default-directory "/" in case
1493 doesn't otherwise exist. process-environment COLUMNS=999 so as
1494 not to truncate long names. process-connection-type pipe to avoid
1495 any chance of hitting the pseudo-tty TIOCGWINSZ.
1496 (man): completion-ignore-case t for friendliness and since man
1497 itself is case-insensitive on the command line.
1498 Further to Bug#3717.
1500 * arc-mode.el: Add "Keywords: files", so the details in its
1501 commentary can be reached from finder-by-keyword.
1502 * textmodes/dns-mode.el: Add "Keywords: comm". It's only an
1503 editing mode, but it's comms related and sgml-mode.el has "comm"
1505 * textmodes/bibtex-style.el: Add "Keywords: tex".
1506 * international/isearch-x.el, international/ja-dic-cnv.el:
1507 * international/ja-dic-utl.el, international/kkc.el:
1508 Add "Keywords: i18n", so they can be reached from finder-by-keyword.
1510 2009-11-25 Juri Linkov <juri@jurta.org>
1512 * man.el (Man-completion-table): Modify regexp to include
1513 section names to completion strings. (Bug#3717)
1515 2009-11-25 Juri Linkov <juri@jurta.org>
1517 Search recursively in gzipped files. (Bug#4982)
1519 * progmodes/grep.el (grep-highlight-matches): Add new options
1520 `always' and `auto'. Doc fix.
1521 (grep-process-setup): Check `grep-highlight-matches' for
1522 `auto-detect' to determine the need to compute grep defaults.
1523 Move Windows/DOS specific --colors settings handling
1524 to `grep-compute-defaults'. Check `grep-highlight-matches'
1525 to get the value of "--color=".
1526 (grep-compute-defaults): Compute `grep-highlight-matches' when it
1527 has the value `auto-detect'. Move Windows/DOS specific settings
1528 from `grep-process-setup'.
1529 (zrgrep): New command with alias `rzgrep'.
1531 2009-11-25 Juri Linkov <juri@jurta.org>
1533 * doc-view.el (doc-view-mode): Set buffer-local `view-read-only'
1534 to nil instead of switching off view-mode. (Bug#4896)
1536 2009-11-25 Juri Linkov <juri@jurta.org>
1538 Mouse-wheel scrolling for DocView Continuous mode. (Bug#4896)
1540 * mwheel.el (mwheel-scroll-up-function)
1541 (mwheel-scroll-down-function): New defvars.
1542 (mwheel-scroll): Funcall `mwheel-scroll-up-function' instead of
1543 `scroll-up', and `mwheel-scroll-down-function' instead of
1546 * doc-view.el (doc-view-scroll-up-or-next-page)
1547 (doc-view-scroll-down-or-previous-page): Add optional ARG.
1548 Use this ARG in the call to image-scroll-up/image-scroll-down.
1549 Change `interactive' spec to "P". Goto next/previous page only
1550 when `doc-view-continuous-mode' is non-nil or ARG is nil (for the
1551 SPC/DEL case). Doc fix.
1552 (doc-view-next-line-or-next-page)
1553 (doc-view-previous-line-or-previous-page): Rename arg to ARG
1555 (doc-view-mode): Set buffer-local `mwheel-scroll-up-function' to
1556 `doc-view-scroll-up-or-next-page', and buffer-local
1557 `mwheel-scroll-down-function' to
1558 `doc-view-scroll-down-or-previous-page'.
1560 2009-11-25 Juri Linkov <juri@jurta.org>
1562 Provide additional default values (directories at other Dired
1563 windows) via M-n in the minibuffer of some Dired commands.
1565 * dired-aux.el (dired-diff, dired-compare-directories)
1566 (dired-do-create-files): Use `dired-dwim-target-defaults' to set
1567 `minibuffer-default' in `minibuffer-with-setup-hook'.
1568 (dired-dwim-target-directory): Find a window that displays Dired
1569 buffer instead of failing when the next window is not Dired.
1570 Use `get-window-with-predicate' to find for the next Dired window.
1571 (dired-dwim-target-defaults): New function.
1573 * ediff-util.el (ediff-read-file-name):
1574 Use `dired-dwim-target-defaults' to set `minibuffer-default'
1575 in `minibuffer-with-setup-hook'.
1577 2009-11-25 Juri Linkov <juri@jurta.org>
1579 Provide additional default values (file name at point or at the
1580 current Dired line) via M-n for file reading minibuffers. (Bug#5010)
1582 * minibuffer.el (read-file-name-defaults): New function.
1583 (read-file-name): Reset `minibuffer-default' to nil when
1584 it duplicates initial input `insdef'.
1585 Bind `minibuffer-default-add-function' to lambda that
1586 calls `read-file-name-defaults' in `minibuffer-selected-window'.
1587 (minibuffer-insert-file-name-at-point): New command.
1589 * files.el (file-name-at-point-functions): New defcustom.
1590 (find-file-default): Remove defvar.
1591 (find-file-read-args): Don't use `find-file-default'.
1592 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
1593 to `read-file-name'.
1594 (find-file-literally): Use `read-file-name' with
1595 `confirm-nonexistent-file-or-buffer'.
1597 * ffap.el (ffap-guess-file-name-at-point): New autoloaded function.
1599 * dired.el (dired-read-dir-and-switches):
1600 Move `minibuffer-with-setup-hook' that sets `minibuffer-default'
1601 to `read-file-name'.
1602 (dired-file-name-at-point): New function.
1603 (dired-mode): Add hook `dired-file-name-at-point' to
1604 `file-name-at-point-functions'.
1606 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1608 Really make the *Completions* window soft-dedicated (bug#5030).
1609 * window.el (window--display-buffer-2): Add `dedicated' argument.
1610 (display-buffer): Pass it when needed so the dedicated flag is set
1611 after calling set-window-buffer, which would otherwise reset it.
1613 2009-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
1615 * progmodes/meta-mode.el (meta-complete-symbol):
1616 * progmodes/etags.el (complete-tag):
1617 * mail/mailabbrev.el (mail-abbrev-complete-alias):
1618 Use completion-in-region.
1620 * dabbrev.el (dabbrev--minibuffer-origin): Use minibuffer-selected-window.
1621 (dabbrev-completion): Use completion-in-region.
1622 (dabbrev--abbrev-at-point): Simplify regexp.
1624 * abbrev.el (abbrev--before-point): Use word-motion functions
1625 if :regexp is not specified (bug#5031).
1627 * subr.el (string-prefix-p): New function.
1629 * man.el (Man-completion-cache): New var.
1630 (Man-completion-table): Use it.
1632 * vc.el (vc-print-log-internal): Make `limit' optional for better
1633 compatibility (e.g. with vc-annotate.el).
1635 2009-11-24 Kevin Ryde <user42@zip.com.au>
1637 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp):
1638 Build value with regexp-opt instead of explicit joining loop. (Bug#4927)
1640 * emacs-lisp/elint.el (elint-add-required-env): Better error message
1641 when .el source file not found or other error.
1643 2009-11-24 Markus Triska <markus.triska@gmx.at>
1645 * linum.el (linum-update-window): Ignore intangible (bug#4996).
1647 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1649 Handle the [back] button properly (bug#4979).
1650 * descr-text.el (describe-text-properties): Add a `buffer' argument.
1651 Use help-setup-xref, help-buffer, and with-help-window.
1652 (describe-char): Add `buffer' argument.
1653 Pass proper command to help-setup-xref. Don't meddle with
1654 help-xref-stack-item directly.
1655 (describe-text-category): Use with-help-window and help-buffer.
1657 * emacs-lisp/shadow.el (list-load-path-shadows): Setup a major mode
1658 for the displayed buffer (bug#4887).
1660 * man.el (Man-completion-table): New function.
1663 2009-11-24 David Reitter <david.reitter@gmail.com>
1665 * vc-git.el (vc-git-registered): Use checkout directory (where
1666 .git is) rather than the file's directory and a relative path spec
1667 to work around a bug in git.
1669 2009-11-24 Michael Albinus <michael.albinus@gmx.de>
1671 Improve handling of processes on remote hosts.
1673 * eshell/esh-util.el (eshell-path-env): New defvar.
1674 (eshell-parse-colon-path): New defun.
1675 (eshell-file-attributes): Use `eshell-parse-colon-path'.
1677 * eshell/esh-ext.el (eshell-search-path):
1678 Use `eshell-parse-colon-path'.
1679 (eshell-remote-command): Remove argument HANDLER.
1680 (eshell-external-command): Check for FTP remote connection.
1682 * eshell/esh-proc.el (eshell-gather-process-output):
1683 Use `file-truename', in order to start also symlinked files.
1684 Apply `start-file-process' instead of `start-process'.
1685 Shorten `command' to the local file name part.
1687 * eshell/em-cmpl.el (eshell-complete-commands-list):
1688 Use `eshell-parse-colon-path'.
1690 * eshell/em-unix.el (eshell/du): Check for FTP remote connection.
1692 * net/tramp.el (tramp-eshell-directory-change): New defun. Add it
1693 to `eshell-directory-change-hook'.
1695 2009-11-24 Tassilo Horn <tassilo@member.fsf.org>
1697 * doc-view.el (doc-view-mode): Switch off view-mode explicitly,
1698 because it could be enabled automatically if view-read-only is non-nil.
1700 2009-11-24 Michael Kifer <kifer@cs.stonybrook.edu>
1702 * ediff-vers.el (ediff-rcs-get-output-buffer): Revert the change
1705 2009-11-24 Glenn Morris <rgm@gnu.org>
1707 * bookmark.el (bookmark-bmenu-hide-filenames): Remove assignment to
1708 deleted variable bookmark-bmenu-bookmark-column.
1710 * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
1711 Move after definition of global-semantic-idle-tag-highlight-mode.
1713 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
1715 * bookmark.el (bookmark-bmenu-search): Clear echo area when exiting.
1717 2009-11-23 Ken Brown <kbrown@cornell.edu> (tiny change)
1719 * net/browse-url.el (browse-url-filename-alist): On Windows, add
1720 two slashes to the "file:" prefix.
1721 (browse-url-file-url): De-munge Cygwin filenames before passing
1722 them to Windows browser.
1723 (browse-url-default-windows-browser): Use call-process.
1725 2009-11-23 Juri Linkov <juri@jurta.org>
1727 Implement DocView Continuous mode. (Bug#4896)
1728 * doc-view.el (doc-view-continuous-mode): New defcustom.
1729 (doc-view-mode-map): Bind C-n/<down> to
1730 `doc-view-next-line-or-next-page', C-p/<up> to
1731 `doc-view-previous-line-or-previous-page'.
1732 (doc-view-next-line-or-next-page)
1733 (doc-view-previous-line-or-previous-page): New commands.
1735 2009-11-23 Juri Linkov <juri@jurta.org>
1737 Implement Isearch in comint input history. (Bug#3746)
1738 * comint.el (comint-mode): Add `comint-history-isearch-setup' to
1739 `isearch-mode-hook'.
1740 (comint-history-isearch): New defcustom.
1741 (comint-history-isearch-backward)
1742 (comint-history-isearch-backward-regexp): New commands.
1743 (comint-history-isearch-message-overlay): New buffer-local variable.
1744 (comint-history-isearch-setup, comint-history-isearch-end)
1745 (comint-goto-input, comint-history-isearch-search)
1746 (comint-history-isearch-message, comint-history-isearch-wrap)
1747 (comint-history-isearch-push-state)
1748 (comint-history-isearch-pop-state): New functions.
1750 2009-11-23 Michael Albinus <michael.albinus@gmx.de>
1752 * net/tramp.el (tramp-shell-prompt-pattern): Use \r for carriage
1754 (tramp-handle-make-symbolic-link)
1755 (tramp-handle-dired-compress-file, tramp-handle-expand-file-name):
1757 (tramp-send-command-and-check): New argument DONT-SUPPRESS-ERR.
1758 (tramp-handle-process-file): Use it.
1760 2009-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
1762 * window.el (move-to-window-line-last-op): Remove.
1763 (move-to-window-line-top-bottom): Reuse recenter-last-op instead.
1765 2009-11-23 Deniz Dogan <deniz.a.m.dogan@gmail.com> (tiny change)
1767 Make M-r mirror the new cycling behavior of C-l.
1768 * window.el (move-to-window-line-last-op): New var.
1769 (move-to-window-line-top-bottom): New command.
1770 (global-map): Bind M-r move-to-window-line-top-bottom.
1772 2009-11-23 Sven Joachim <svenjoac@gmx.de>
1774 * dired-x.el (dired-guess-shell-alist-default):
1775 Support xz format. (Bug#4953)
1777 2009-11-22 Chong Yidong <cyd@stupidchicken.com>
1779 * cedet/srecode/map.el (srecode-get-maps):
1780 * cedet/semantic/wisent/wisent.el (wisent-parse-toggle-verbose-flag):
1781 * cedet/semantic/wisent/comp.el (wisent-toggle-verbose-flag):
1782 * cedet/semantic/decorate/mode.el (semantic-decoration-mode)
1783 (semantic-toggle-decoration-style):
1784 * cedet/semantic/decorate/include.el
1785 (semantic-decoration-include-describe)
1786 (semantic-decoration-unknown-include-describe)
1787 (semantic-decoration-unparsed-include-describe)
1788 (semantic-decoration-all-include-summary):
1789 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init):
1790 * cedet/semantic/analyze/complete.el
1791 (semantic-analyze-possible-completions):
1792 * cedet/semantic/util-modes.el (semantic-highlight-edits-mode)
1793 (semantic-show-unmatched-syntax-mode)
1794 (semantic-show-parser-state-mode, semantic-stickyfunc-mode)
1795 (semantic-highlight-func-mode):
1796 * cedet/semantic/util.el (semantic-describe-buffer):
1797 * cedet/semantic/symref.el (semantic-symref-find-references-by-name)
1798 (semantic-symref-find-tags-by-name)
1799 (semantic-symref-find-tags-by-regexp)
1800 (semantic-symref-find-tags-by-completion)
1801 (semantic-symref-find-file-references-by-name)
1802 (semantic-symref-find-text):
1803 * cedet/semantic/senator.el (senator-copy-tag, senator-kill-tag)
1805 * cedet/semantic/scope.el (semantic-calculate-scope):
1806 * cedet/semantic/mru-bookmark.el (semantic-mru-bookmark-mode):
1807 * cedet/semantic/idle.el (semantic-idle-scheduler-mode)
1808 (define-semantic-idle-service):
1809 * cedet/semantic/complete.el (semantic-complete-analyze-inline)
1810 (semantic-complete-analyze-inline-idle):
1811 * cedet/semantic/analyze.el (semantic-analyze-current-context):
1812 * cedet/mode-local.el (describe-mode-local-bindings)
1813 (describe-mode-local-bindings-in-mode):
1814 * cedet/ede/make.el (ede-make-check-version):
1815 * cedet/ede/locate.el (ede-enable-locate-on-project):
1816 * cedet/cedet-idutils.el (cedet-idutils-expand-filename)
1817 (cedet-idutils-version-check):
1818 * cedet/cedet-global.el (cedet-gnu-global-expand-filename)
1819 (cedet-gnu-global-version-check):
1820 * cedet/cedet-cscope.el (cedet-cscope-expand-filename)
1821 (cedet-cscope-version-check): Use called-interactively-p instead
1824 * cedet/semantic/ia.el (semantic-ia-completion-format-tag-function):
1825 Use semantic-format-tag-prototype.
1827 2009-11-22 Michael Kifer <kifer@cs.stonybrook.edu>
1829 * emulation/viper-cmd.el: Use viper-last-command-char instead of
1830 last-command-char/last-command-event.
1831 (viper-prefix-arg-value): Do correct conversion of event-char for
1834 * emulation/viper-util.el, emulation/viper.el:
1835 Use viper-last-command-char instead of
1836 last-command-char/last-command-event.
1838 * ediff-init.el, ediff-mult.el, ediff-util.el:
1839 Replace last-command-char and last-command-event
1840 with (ediff-last-command-char) everywhere.
1842 * ediff-vers.el (ediff-rcs-get-output-buffer): Make sure the buffer is
1843 created in fundamental mode.
1845 * ediff.el (ediff-version): Revert the change of interactive-p to
1846 called-interactively-p.
1848 2009-11-22 Tassilo Horn <tassilo@member.fsf.org>
1850 * progmodes/subword.el (subword-mode-map): Fix subword-mode-map
1851 generation from word-movement command names.
1853 2009-11-21 Chong Yidong <cyd@stupidchicken.com>
1855 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
1856 (semantic-complete-jump-local, semantic-complete-jump):
1857 Improve prompt string.
1859 2009-11-21 Jan Djärv <jan.h.d@swipnet.se>
1861 * cus-start.el (all): Add native condition for font-use-system-font.
1863 2009-11-21 Nathaniel Flath <flat0103@gmail.com>
1865 * progmodes/cc-menus.el (cc-imenu-java-generic-expression):
1866 Correct the patch from 2009-11-18. (Bug#3910)
1868 2009-11-21 Tassilo Horn <tassilo@member.fsf.org>
1870 * progmodes/subword.el: Rename from lisp/subword.el.
1872 * subword.el: Rename to progmodes/subword.el.
1874 * Makefile.in (ELCFILES): Adapt to subword.el move.
1876 2009-11-21 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1877 Stefan Monnier <monnier@iro.umontreal.ca>
1879 * bookmark.el (bookmark-bmenu-bookmark-column): Remove var.
1880 (bookmark-bmenu-list): Save name on `bookmark-name-prop' text-prop.
1881 (bookmark-bmenu-show-filenames): Use push.
1882 (bookmark-bmenu-hide-filenames): Use local var instead of
1883 bookmark-bmenu-bookmark-column. Use pop. Don't save window-excursion.
1884 (bookmark-bmenu-bookmark): Use the new `bookmark-name-prop' text-prop.
1885 (bookmark-bmenu-execute-deletions): Don't bother adding/removing the
1886 filenames now that the bookmark names are always available.
1888 2009-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
1890 * bookmark.el (bookmark-search-prompt, bookmark-search-timer): Remove.
1891 (bookmark-search-pattern): Move and leave unbound.
1892 (bookmark-bmenu-mode-map): Change binding.
1893 (bookmark-read-search-input): Simplify.
1894 Don't use text-char-description. Don't error on non-char events.
1895 (bookmark-filtered-alist-by-regexp-only): Remove by folding into the
1896 only caller (i.e. bookmark-bmenu-filter-alist-by-regexp).
1897 (bookmark-bmenu-search): Don't check we're in a bookmark-list buffer.
1898 Use a local var for the timer.
1899 (bookmark-bmenu-cancel-search): Remove by folding into the only caller
1900 (i.e. bookmark-bmenu-search).
1902 2009-11-21 Glenn Morris <rgm@gnu.org>
1904 * mail/rmailmm.el (rmail-mime): Decode in fundamental-mode. (Bug#4993)
1906 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change)
1908 * net/browse-url.el (browse-url-default-windows-browser):
1909 Use cygstart for cygwin.
1911 2009-11-20 Karl Fogel <karl.fogel@red-bean.com>
1913 * bookmark.el: Formatting and doc fixes only:
1914 (bookmark-search-delay): Shorten doc string to fit in 80 columns.
1915 (bookmark-bmenu-search): Wrap to fit within 80 columns.
1916 Minor grammar and punctuation fixes in doc string.
1917 (bookmark-read-search-input): Adjust to fit within 80 columns.
1919 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
1921 * progmodes/cc-cmds.el (c-forward-into-nomenclature)
1922 (c-backward-into-nomenclature): Adapt to subword renaming.
1924 * subword.el (subword-forward, subword-backward, subword-mark)
1925 (subword-kill, subword-backward-kill, subword-transpose)
1926 (subword-downcase, subword-upcase, subword-capitalize)
1927 (subword-forward-internal, subword-backward-internal):
1928 Rename from forward-subword, backward-subword, mark-subword,
1929 kill-subword, backward-kill-subword, transpose-subwords,
1930 downcase-subword, upcase-subword, capitalize-subword,
1931 forward-subword-internal, backward-subword-internal.
1933 2009-11-20 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1935 * bookmark.el (bookmark-search-delay, bookmark-search-prompt):
1937 (bookmark-search-pattern, bookmark-search-timer, bookmark-quit-flag):
1939 (bookmark-read-search-input, bookmark-filtered-alist-by-regexp-only)
1940 (bookmark-bmenu-filter-alist-by-regexp)
1941 (bookmark-bmenu-goto-bookmark, bookmark-bmenu-cancel-search): New funs.
1942 (bookmark-bmenu-search): New command.
1943 (bookmark-bmenu-mode-map): Bind it.
1945 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
1947 * cedet/semantic/complete.el (semantic-complete-inline-map): Doc fix.
1949 * cedet/semantic/idle.el (define-semantic-idle-service)
1950 (semantic-idle-summary-mode, semantic-idle-completions): Doc fix.
1952 2009-11-20 Tassilo Horn <tassilo@member.fsf.org>
1954 * progmodes/cc-cmds.el: declare-functioned forward-subword and
1955 backward-subword to quit the byte-compiler.
1957 * makefile.w32-in: Don't refer cc-subword.elc but subword.elc.
1959 * Makefile.in: Don't refer cc-subword.elc but subword.elc.
1961 * progmodes/cc-cmds.el (c-update-modeline)
1962 (c-forward-into-nomenclature, c-backward-into-nomenclature):
1963 Refer to subword.el functions instead of cc-subword.el.
1965 * progmodes/cc-mode.el (subword-mode, c-mode-base-map): Refer to
1966 subword.el functions instead of cc-subword.el.
1968 * progmodes/cc-subword.el: Rename to subword.el.
1969 * subword.el: Rename from progmodes/cc-subword.el.
1970 (subword-mode-map): Rename from c-subword-mode-map.
1971 (subword-mode): Rename from c-subword-mode.
1972 (global-subword-mode): New global minor mode.
1973 (forward-subword): Rename from c-forward-subword.
1974 (backward-subword): Rename from c-backward-subword.
1975 (mark-subword): Rename from c-mark-subword.
1976 (kill-subword): Rename from c-kill-subword.
1977 (backward-kill-subword): Rename from c-backward-kill-subword.
1978 (transpose-subwords): Rename from c-tranpose-subword.
1979 (downcase-subword): Rename from c-downcase-subword.
1980 (capitalize-subword): Rename from c-capitalize-subword.
1981 (forward-subword-internal): Rename from c-forward-subword-internal.
1982 (backward-subword-internal): Rename from c-backward-subword-internal.
1984 2009-11-20 Dan Nicolaescu <dann@ics.uci.edu>
1986 * vc.el (vc-deduce-fileset): Allow non-state changing operations
1987 from a dired buffer.
1988 (vc-dired-deduce-fileset): New function.
1989 (vc-root-diff, vc-print-root-log): Use it.
1991 * vc-annotate.el (vc-annotate-show-log-revision-at-line): Pass a
1992 nil LIMIT argument to vc-print-log-internal.
1994 2009-11-20 Glenn Morris <rgm@gnu.org>
1996 * Makefile.in (ELCFILES): Regenerate.
1998 2009-11-20 Chong Yidong <cyd@stupidchicken.com>
2000 * cedet/cedet.el (cedet-menu-map): Re-order menu items.
2002 * cedet/semantic.el: Enable idle-mode menu items only if
2003 global-semantic-idle-scheduler-mode is enabled.
2004 (semantic-default-submodes): Doc fix.
2006 * cedet/semantic/idle.el (global-semantic-idle-scheduler-mode):
2007 When turning off, disable other idle modes.
2009 2009-11-20 Jay Belanger <jay.p.belanger@gmail.com>
2011 * calc/calc.el (calc-set-mode-line):
2012 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
2013 (math-format-number): Rename `math-format-complement-signed' to
2014 `math-format-twos-complement'.
2016 * calc/calc-bin.el (math-format-twos-complement): Rename from
2017 math-format-complement-signed.
2018 (calc-radix): Rename `calc-complement-signed-mode' to
2019 `calc-twos-complement-mode'.
2020 (calc-octal-radix, calc-hex-radix): Add an argument for
2023 * calc/calc-embed.el (calc-embedded-mode-vars):
2024 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
2026 * calc/calc-ext.el (calc-init-extensions):
2027 Rename `calc-complement-signed-mode' to `calc-twos-complement-mode'.
2028 (math-format-number-fancy): Let `calc-twos-complement-mode' be nil.
2030 * calc/calc-units.el (math-build-units-table-buffer):
2031 Let `calc-twos-complement-mode' be nil.
2033 * calc/calc-menu.el (calc-modes-menu): Clean up two's complement
2036 * calc/calc-vec.el (calcFunc-vunpack):
2037 * calc/calc-aent.el (calc-do-calc-eval):
2038 * calc/calc-forms.el (math-format-date):
2039 * calc/calc-graph.el (calc-graph-plot):
2040 * calc/calc-math.el (math-use-emacs-fn):
2041 * calc/calccomp.el (math-compose-expr):
2042 Let `calc-twos-complement-mode' be nil.
2044 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
2046 * abbrev.el (abbrev-with-wrapper-hook): (re)move...
2047 * simple.el (with-wrapper-hook): ...to here. Add argument `args'.
2048 * minibuffer.el (completion-in-region-functions): New hook.
2049 (completion-in-region): New function.
2050 * emacs-lisp/lisp.el (lisp-complete-symbol):
2051 * pcomplete.el (pcomplete-std-complete): Use it.
2053 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
2055 * textmodes/tex-mode.el (latex-complete-bibtex-cache)
2056 (latex-complete-alist): New vars.
2057 (latex-string-prefix-p, latex-complete-bibtex-keys)
2058 (latex-complete-envnames, latex-complete-refkeys)
2059 (latex-complete-data): New functions.
2060 (latex-complete, latex-indent-or-complete): New commands.
2062 * window.el (display-buffer-mark-dedicated): New var.
2063 (display-buffer): Obey it.
2064 * minibuffer.el (minibuffer-completion-help): Use it.
2066 * progmodes/sym-comp.el (symbol-complete): Use completion-in-region.
2068 * filecache.el (file-cache-add-file): Use push and cons.
2069 (file-cache-delete-file-regexp): Use push.
2070 (file-cache-complete): Use completion-in-region.
2072 * simple.el (with-wrapper-hook): Fix thinko.
2074 * hfy-cmap.el (hfy-rgb-file): Use locate-file.
2075 (htmlfontify-load-rgb-file): Remove unnused var `ff'.
2076 Use with-current-buffer and string-to-number.
2077 (hfy-fallback-colour-values): Use assoc-string.
2078 * htmlfontify.el (hfy-face-to-css): Remove unused var `style'.
2079 (hfy-face-at): Remove unused var `found-face'.
2080 (hfy-compile-stylesheet): Remove unused var `css'.
2081 (hfy-fontify-buffer): Remove unused vars `in-style', `invis-button',
2083 (hfy-buffer, hfy-copy-and-fontify-file, hfy-parse-tags-buffer):
2084 Use with-current-buffer.
2085 (hfy-text-p): Use expand-file-name and fewer setq.
2087 2009-11-19 Vivek Dasmohapatra <vivek@etla.org>
2089 * htmlfontify.el, hfy-cmap.el: New files.
2091 2009-11-19 Juri Linkov <juri@jurta.org>
2093 * minibuffer.el (completions-format): New defcustom.
2094 (completion--insert-strings): Implement vertical format.
2096 * simple.el (switch-to-completions): Move point to the first
2097 completion when point was at the beginning of the buffer.
2099 2009-11-19 Juri Linkov <juri@jurta.org>
2101 * find-dired.el (find-name-arg): Remove autoload. (Bug#4387)
2103 * progmodes/grep.el (rgrep): Require `find-dired' for `find-name-arg'.
2105 2009-11-19 Chong Yidong <cyd@stupidchicken.com>
2107 * mail/sendmail.el (mail-yank-prefix): Change default to "> ".
2108 (mail-signature): Change default to t.
2109 (mail-from-style): Deprecate `system-default' value.
2110 (mail-insert-from-field): For default value of mail-from-style,
2111 default to `angles' unless `angles' needs quoting and `parens'
2113 (mail-citation-prefix-regexp): Use citation regexp from
2116 2009-11-19 Michael Albinus <michael.albinus@gmx.de>
2118 * net/tramp.el (tramp-do-copy-or-rename-file-out-of-band):
2119 Set variables for computing the prompt for reading password.
2121 2009-11-19 Glenn Morris <rgm@gnu.org>
2123 * dired-aux.el (dired-compress-file-suffixes): Add ".xz". (Bug#4953)
2125 * textmodes/flyspell.el (sgml-lexical-context): Declare.
2127 * net/newst-treeview.el (newsticker-treeview-treewindow-width)
2128 (newsticker-treeview-listwindow-height): Fix custom type.
2130 2009-11-19 Kenichi Handa <handa@m17n.org>
2132 * descr-text.el (describe-char-padded-string): Compose with TAB
2133 only if there's a font for CH.
2134 (describe-char): Fix the condition for detecting a trivial composition.
2136 2009-11-18 Nathaniel Flath <flat0103@gmail.com>
2138 * progmodes/cc-menus.el (cc-imenu-java-generic-expression): A new,
2139 more accurate version of the regexp. (Bug#3910)
2141 2009-11-18 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
2143 * vc-hg.el (vc-hg-diff): Fix last patch: do not change directory.
2145 2009-11-18 Juanma Barranquero <lekktu@gmail.com>
2147 * font-setting.el (font-use-system-font): Declare for byte-compiler.
2148 (font-setting-change-default-font): Fix typo in docstring.
2150 2009-11-18 Alan Mackenzie <acm@muc.de>
2152 * progmodes/cc-defs.el (c-version): Bump to 5.31.8.
2154 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
2156 * font-setting.el (font-use-system-font): Move ...
2158 * cus-start.el (all): ... to here.
2160 2009-11-17 Michael Albinus <michael.albinus@gmx.de>
2162 * net/tramp.el (tramp-advice-file-expand-wildcards): Simplify.
2163 Don't set `ad-return-value' if `ad-do-it' doesn't.
2165 * net/tramp-gvfs.el (tramp-gvfs-handle-write-region): Set file
2168 2009-11-17 Jan Djärv <jan.h.d@swipnet.se>
2170 * menu-bar.el: Put "Use system font" in Option-menu.
2171 (menu-bar-options-save): Add font-use-system-font.
2173 * loadup.el: If feature system-font-setting or font-render-setting is
2174 there, load font-setting.
2176 * Makefile.in (ELCFILES): Add font-settings.el.
2177 * font-setting.el: New file.
2179 2009-11-17 Glenn Morris <rgm@gnu.org>
2181 * vc-svn.el (vc-svn-print-log): Fix typo in previous.
2183 * net/newst-treeview.el (newsticker--treeview-list-update-faces):
2184 Preserve point in the list buffer. (Bug#4939)
2186 (newsticker--treeview-list-update-highlight)
2187 (newsticker--treeview-tree-update-highlight): Use point-at-bol/eol.
2189 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
2191 * calc/calc-bin.el (math-symclip, calcFunc-symclip, calc-symclip):
2194 * calc/calc-ext.el (calc-init-extensions): Remove references to
2197 * calc/calc-menu.el (calc-arithmetic-menu): Remove `calc-symclip'.
2199 * calc/calc-map.el (calc-get-operator, calc-b-oper-keys):
2200 * calc/calc-help.el (calc-b-prefix-help): Remove references to
2203 2009-11-16 Kevin Ryde <user42@zip.com.au>
2205 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
2206 Use `sgml-lexical-context' instead of own parse for tag (Bug#4511).
2208 * emacs-lisp/lisp-mnt.el (lm-keywords): Allow multi-line keywords.
2209 (lm-keywords-list): Allow comma-only separator like "foo,bar".
2210 Ignore trailing spaces by omit-nulls to split-string (fixing
2211 regression from Emacs 21 due to the incompatible split-string
2212 change). (Bug #4928.)
2214 2009-11-16 Dan Nicolaescu <dann@ics.uci.edu>
2216 * vc.el (vc-log-show-limit): Default to 2000.
2217 (vc-print-log-internal): Insert buttons to request more entries
2218 when limiting the output.
2220 * vc-sccs.el (vc-sccs-print-log):
2221 * vc-rcs.el (vc-rcs-print-log):
2222 * vc-cvs.el (vc-cvs-print-log):
2223 * vc-git.el (vc-git-print-log): Return 'limit-unsupported when
2226 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
2228 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Raise only an
2229 error when `tramp-gvfs-dbus-event-vector' is set.
2230 (tramp-gvfs-maybe-open-connection): Loop over `read-event'.
2232 2009-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
2234 * vc-rcs.el (vc-rcs-consult-headers): Add missing save-excursion.
2236 2009-11-16 Michael Albinus <michael.albinus@gmx.de>
2238 * net/dbus.el (dbus-unregister-service): New defun.
2239 (dbus-register-property): Register the handlers of
2240 "org.freedesktop.DBus.Properties" for SERVICE.
2241 (dbus-property-handler): Fix docstring.
2243 2009-11-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2245 * emacs-lisp/bytecomp.el (byte-compile-output-file-form):
2246 Quote doc string reference in defvaralias as it is not in special form.
2247 (byte-compile-output-docform): Doc fix.
2249 2009-11-16 Jay Belanger <jay.p.belanger@gmail.com>
2251 * calc/calc.el (math-2-word-size, math-half-2-word-size)
2252 (calc-complement-signed-mode): New variables.
2253 (calc-set-mode-line): Add indicator for twos-complements.
2254 (math-format-number): Format twos-complement notation.
2256 * calc/calc-bin.el (calc-word-size): Reset the variables
2257 `math-2-word-size' and `math-half-2-word-size'.
2258 (math-format-complement-signed, math-symclip, calcFunc-symclip)
2259 (calc-symclip): New functions.
2261 * calc/calc-aent.el (math-read-token): Read complement signed numbers.
2263 * calc/calc-embed.el (calc-embedded-mode-vars):
2264 Add `calc-complement-signed-mode' to the list of modes.
2266 * calc/calc-map.el (calc-get-operator): Add `calc-symclip'.
2267 (calc-b-oper-keys): Add `calc-symclip' to list.
2269 * calc/calc-ext.el (math-read-number-fancy): Read complement
2271 (calc-init-extensions): Add binding for `calc-symclip'.
2272 Add autoload for `calcFunc-symclip' and `calc-symclip'.
2274 * calc/calc-menu.el (calc-arithmetic-menu): Add item for
2276 (calc-modes-menu): Add item for twos complement mode.
2278 * calc/calc-help.el (calc-b-prefix-help): Add help for `calc-symclip'.
2280 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
2282 * register.el (jump-to-register, insert-register): Handle Semantic
2283 tags. From commented-out advice in semantic/senator.el.
2285 2009-11-15 Dan Nicolaescu <dann@ics.uci.edu>
2287 * vc.el (vc-log-show-limit): New variable.
2288 (vc-print-log, vc-print-root-log): Add new argument LIMIT. Set it
2289 when using a prefix argument.
2290 (vc-print-log-internal): Add new argument LIMIT.
2292 * vc-svn.el (vc-svn-print-log):
2293 * vc-mtn.el (vc-mtn-print-log):
2294 * vc-hg.el (vc-hg-print-log):
2295 * vc-bzr.el (vc-bzr-print-log): Add new optional argument LIMIT,
2296 pass it to the log command when set. Make the BUFFER argument
2299 * vc-sccs.el (vc-sccs-print-log):
2300 * vc-rcs.el (vc-rcs-print-log):
2301 * vc-git.el (vc-git-print-log):
2302 * vc-cvs.el (vc-cvs-print-log): Add new optional argument LIMIT,
2303 ignore it. Make the BUFFER argument non-optional
2305 * bindings.el (mode-line-buffer-identification): Do not purecopy.
2307 2009-11-15 Chong Yidong <cyd@stupidchicken.com>
2309 * dired.el (dired-mode-map): Move encryption items to "Operate"
2312 * strokes.el (strokes-update-window-configuration): Make strokes
2313 buffer current before erasing (Bug#4906).
2315 * cedet/semantic/idle.el (semantic-idle-summary-mode)
2316 (semantic-idle-summary-mode): Define using define-minor-mode
2317 instead of define-semantic-idle-service.
2318 (semantic-idle-summary-mode): New function.
2319 (semantic-idle-summary-mode-setup): Use pre-command-hook to ensure
2320 that mouse motion does not reset the echo area.
2322 2009-11-15 Juri Linkov <juri@jurta.org>
2324 * simple.el (set-mark-default-inactive): Add :type, :group
2325 and :version. (Bug#4876)
2327 2009-11-15 Michael Albinus <michael.albinus@gmx.de>
2329 * arc-mode.el (archive-maybe-copy): Move creation of directory ...
2330 (archive-unique-fname): ... here. (Bug#4929)
2332 2009-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
2334 * help-mode.el (help-make-xrefs): Undo the last revert, and replace it
2337 * novice.el (disabled-command-function): Add useful args.
2338 Setup the help buffer so that [back] works.
2339 Remove redundant call to help-mode.
2340 (disabled-command-function): Use `case'.
2341 (en/disable-command): New function extracted from enable-command.
2342 (enable-command, disable-command): Use it.
2344 2009-11-14 Glenn Morris <rgm@gnu.org>
2346 * menu-bar.el (menu-bar-tools-menu): Read and send mail entries are not
2347 constants. (Bug#4913)
2349 * emacs-lisp/elint.el (elint-standard-variables): Doc fix.
2351 2009-11-14 Shigeru Fukaya <shigeru.fukaya@gmail.com>
2353 * emacs-lisp/elint.el (elint-standard-variables): Add some variables
2354 defined in C that have no doc-strings. (Bug#1063)
2356 2009-11-14 Francis Wright <F.J.Wright@qmul.ac.uk>
2358 * cus-edit.el (data, files):
2359 * ps-print.el (postscript): Doc fixes for custom groups. (Bug#3327)
2361 2009-11-14 Chong Yidong <cyd@stupidchicken.com>
2363 * simple.el (shell-command): Doc fix (Bug#4891).
2365 * help-mode.el (help-make-xrefs): Revert 2009-11-13 change.
2367 2009-11-14 Glenn Morris <rgm@gnu.org>
2369 * emulation/viper.el (viper-set-hooks): Remove duplicate advice
2370 statements for vc-diff, emerge-quit, and rmail-cease-edit.
2371 If they are already loaded, eval-after-load will do the right thing.
2373 * speedbar.el (top-level): Remove unnecessary load of ange-ftp when
2376 * emacs-lisp/bytecomp.el (byte-compile-single-version): Remove, unused.
2378 * simple.el (x-selection-owner-p): Declare.
2379 (read-mail-command): Use custom radio type rather than choice.
2380 (completion-no-auto-exit): Doc fix.
2382 * custom.el (defgroup):
2383 * epg-config.el (epg): Doc fixes.
2385 2009-11-14 Dan Nicolaescu <dann@ics.uci.edu>
2387 * bindings.el (mode-line-buffer-identification): Purecopy only the string.
2388 * international/ccl.el (define-ccl-program): Do not purecopy the
2389 docstring, defconst does it anyway.
2391 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2393 * add-log.el (add-change-log-entry): Avoid displaying the changelog
2396 * x-dnd.el (x-dnd-maybe-call-test-function):
2397 * window.el (split-window-vertically):
2398 * whitespace.el (whitespace-help-on):
2399 * vc-rcs.el (vc-rcs-consult-headers):
2400 * userlock.el (ask-user-about-lock-help)
2401 (ask-user-about-supersession-help):
2402 * type-break.el (type-break-force-mode-line-update):
2403 * time-stamp.el (time-stamp-conv-warn):
2404 * terminal.el (te-set-output-log, te-more-break, te-filter)
2405 (te-sentinel, terminal-emulator):
2406 * term.el (make-term, term-exec, term-sentinel, term-read-input-ring)
2407 (term-write-input-ring, term-check-source, term-start-output-log):
2408 (term-display-buffer-line, term-dynamic-list-completions):
2409 (term-ansi-make-term, serial-term):
2410 * subr.el (selective-display):
2411 * strokes.el (strokes-xpm-to-compressed-string, strokes-decode-buffer)
2412 (strokes-encode-buffer, strokes-xpm-for-compressed-string):
2413 * speedbar.el (speedbar-buffers-tail-notes, speedbar-buffers-item-info)
2414 (speedbar-reconfigure-keymaps, speedbar-add-localized-speedbar-support)
2415 (speedbar-remove-localized-speedbar-support)
2416 (speedbar-set-mode-line-format, speedbar-create-tag-hierarchy)
2417 (speedbar-update-special-contents, speedbar-buffer-buttons-engine)
2418 (speedbar-buffers-line-directory):
2419 * simple.el (shell-command-on-region, append-to-buffer)
2420 (prepend-to-buffer):
2421 * shadowfile.el (shadow-save-todo-file):
2422 * scroll-bar.el (scroll-bar-set-window-start, scroll-bar-drag-1)
2423 (scroll-bar-maybe-set-window-start):
2424 * sb-image.el (speedbar-image-dump):
2425 * saveplace.el (save-place-alist-to-file, save-places-to-alist)
2426 (load-save-place-alist-from-file):
2427 * ps-samp.el (ps-print-message-from-summary):
2428 * ps-print.el (ps-flush-output, ps-insert-file, ps-get-boundingbox)
2429 (ps-background-image, ps-begin-job, ps-do-despool):
2430 * ps-bdf.el (bdf-find-file, bdf-read-font-info):
2431 * printing.el (pr-interface, pr-ps-file-print, pr-find-buffer-visiting)
2432 (pr-ps-message-from-summary, pr-lpr-message-from-summary):
2433 (pr-call-process, pr-file-list, pr-interface-save):
2434 * novice.el (disabled-command-function)
2435 (enable-command, disable-command):
2436 * mouse.el (mouse-buffer-menu-alist):
2437 * mouse-copy.el (mouse-kill-preserving-secondary):
2438 * macros.el (kbd-macro-query):
2439 * ledit.el (ledit-go-to-lisp, ledit-go-to-liszt):
2440 * informat.el (batch-info-validate):
2441 * ido.el (ido-copy-current-word, ido-initiate-auto-merge):
2442 * hippie-exp.el (try-expand-dabbrev-visible):
2443 * help-mode.el (help-make-xrefs):
2444 * help-fns.el (describe-variable):
2445 * generic-x.el (bat-generic-mode-run-as-comint):
2446 * finder.el (finder-mouse-select):
2447 * find-dired.el (find-dired-sentinel):
2448 * filesets.el (filesets-file-close):
2449 * files.el (list-directory):
2450 * faces.el (list-faces-display, describe-face):
2451 * facemenu.el (list-colors-display):
2452 * ezimage.el (ezimage-image-association-dump, ezimage-image-dump):
2453 * epg.el (epg--process-filter, epg-cancel):
2454 * epa.el (epa--marked-keys, epa--select-keys, epa-display-info)
2455 (epa--read-signature-type):
2456 * emerge.el (emerge-copy-as-kill-A, emerge-copy-as-kill-B)
2457 (emerge-file-names):
2458 * ehelp.el (electric-helpify):
2459 * ediff.el (ediff-regions-wordwise, ediff-regions-linewise):
2460 * ediff-vers.el (rcs-ediff-view-revision):
2461 * ediff-util.el (ediff-setup):
2462 * ediff-mult.el (ediff-append-custom-diff):
2463 * ediff-diff.el (ediff-exec-process, ediff-process-sentinel)
2465 * echistory.el (Electric-command-history-redo-expression):
2466 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
2467 * disp-table.el (describe-display-table):
2468 * dired.el (dired-find-buffer-nocreate):
2469 * dired-aux.el (dired-rename-subdir, dired-dwim-target-directory):
2470 * dabbrev.el (dabbrev--same-major-mode-p):
2471 * chistory.el (list-command-history):
2472 * apropos.el (apropos-documentation):
2473 * allout.el (allout-obtain-passphrase):
2474 (allout-copy-exposed-to-buffer):
2475 (allout-verify-passphrase): Use with-current-buffer.
2477 2009-11-13 Glenn Morris <rgm@gnu.org>
2479 * Makefile.in (ELCFILES): Regenerate.
2481 2009-11-13 Michael Albinus <michael.albinus@gmx.de>
2483 * net/dbus.el (dbus-registered-objects-table): Rename from
2484 `dbus-registered-functions-table', because it contains also properties.
2485 (dbus-unregister-object): Unregister also properties.
2486 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
2487 Use a timeout of 500 msec, in order to not block.
2488 (dbus-register-property, dbus-property-handler): New defuns.
2490 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
2492 * simple.el (minibuffer-default-add-completions): Drop deprecated
2495 2009-11-13 Tomas Abrahamsson <tab@lysator.liu.se>
2497 * textmodes/artist.el (artist-mouse-choose-operation):
2498 Call `tmm-prompt' instead of `x-popup-menu' if we cannot popup
2499 menus. Bug noticed by Eli Zaretskii <eliz@gnu.org>.
2500 (artist-compute-up-event-key): New function.
2501 (artist-mouse-choose-operation, artist-down-mouse-1): Call it.
2503 2009-11-13 Kenichi Handa <handa@m17n.org>
2505 * language/japan-util.el: Make sure that the value of jisx0208
2506 property is jisx0208 character.
2508 2009-11-13 Dan Nicolaescu <dann@ics.uci.edu>
2510 * international/mule.el (auto-coding-regexp-alist): Only purecopy
2511 car or each item, not the whole list.
2513 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
2515 * minibuffer.el (minibuffer-completion-help):
2516 Use minibuffer-hide-completions.
2518 2009-11-12 Per Starbäck <per@starback.se> (tiny change)
2520 * dired.el (dired-save-positions, dired-restore-positions): New funs.
2521 (dired-revert): Use them (bug#4880).
2523 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
2525 * tooltip.el (tooltip-frame-parameters): Undo previous change.
2527 2009-11-12 Juri Linkov <juri@jurta.org>
2529 * ffap.el (ffap-alternate-file-other-window, ffap-literally):
2531 (find-file-literally-at-point): Alias of `ffap-literally'.
2533 2009-11-12 Dan Nicolaescu <dann@ics.uci.edu>
2535 * textmodes/ispell.el (ispell-skip-region-alist):
2536 * textmodes/css-mode.el (auto-mode-alist):
2537 * progmodes/compile.el (auto-mode-alist):
2538 * international/mule.el (ctext-non-standard-encodings-alist)
2539 (ctext-non-standard-encodings-regexp):
2540 * simple.el (shell-command-switch, text-read-only):
2541 * replace.el (occur-mode-map):
2542 * paths.el (rmail-file-name):
2543 * jka-cmpr-hook.el (jka-compr-build-file-regexp):
2544 * find-file.el (ff-special-constructs):
2545 * files.el (file-name-handler-alist):
2546 * composite.el: Purecopy strings.
2548 * emacs-lisp/cl-macs.el (define-compiler-macro): Purecopy the file name.
2550 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
2552 * widget.el (define-widget): Purecopy the docstring.
2553 * international/mule-cmds.el (charset): Do not purecopy the
2554 docstring here, define-widget does it.
2556 * textmodes/texinfo.el (texinfo-open-quote, texinfo-close-quote):
2557 * textmodes/bibtex-style.el (auto-mode-alist):
2558 * progmodes/inf-lisp.el (inferior-lisp-prompt):
2559 * progmodes/compile.el (compile-command):
2560 * language/korea-util.el (default-korean-keyboard):
2561 * international/mule-conf.el (file-coding-system-alist):
2562 * emacs-lisp/eldoc.el (eldoc-minor-mode-string):
2563 * tooltip.el (tooltip-frame-parameters):
2564 * newcomment.el (comment-end, comment-padding):
2565 * dired.el (dired-trivial-filenames):
2566 * comint.el (comint-file-name-prefix): Purecopy initial values.
2568 2009-11-11 Michael Albinus <michael.albinus@gmx.de>
2570 * net/tramp.el (tramp-advice-minibuffer-electric-separator)
2571 (tramp-advice-minibuffer-electric-tilde): Unload advices via
2573 (tramp-advice-make-auto-save-file-name)
2574 (tramp-advice-file-expand-wildcards): Apply also `ad-activate'
2575 after removing the advice.
2577 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu>
2579 * progmodes/grep.el (grep-regexp-alist):
2580 * international/mule-cmds.el (iso-2022-control-alist):
2581 * emacs-lisp/timer.el (timer-duration-words):
2582 * subr.el (version-separator, version-regexp-alist):
2583 * minibuffer.el (completion-styles-alist):
2584 * faces.el (face-attribute-name-alist, list-faces-sample-text):
2585 Change defvars to defconsts.
2587 * Makefile.in (ELCFILES): Add international/mule-conf.elc.
2588 * loadup.el ("international/mule-conf"): Load the byte compiled version.
2589 * international/mule-conf.el: Allow to be byte compiled.
2591 * international/mule.el (define-charset): Purecopy props.
2592 (load-with-code-conversion): Purecopy doc string and file name.
2593 (put-charset-property): Purecopy strings.
2594 (auto-coding-alist, auto-coding-regexp-alist): Purecopy initial value.
2596 * international/mule-cmds.el (register-input-method): Purecopy arguments.
2597 (define-char-code-property): Correctly purecopy the table.
2599 * international/ccl.el (define-ccl-program): Purecopy the docstring.
2601 * emacs-lisp/easy-mmode.el (define-minor-mode): Purecopy :lighter.
2603 * subr.el (add-hook): Purecopy strings.
2604 (eval-after-load): Purecopy load-history-regexp and the form.
2606 * custom.el (custom-declare-group): Purecopy load-file-name.
2608 * subr.el (menu-bar-separator): New defconst.
2609 * net/eudc.el (eudc-tools-menu):
2610 * international/mule-cmds.el (set-coding-system-map)
2612 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2613 * vc-hooks.el (vc-menu-map):
2614 * replace.el (occur-mode-map):
2615 * menu-bar.el (menu-bar-file-menu, menu-bar-search-menu)
2616 (menu-bar-edit-menu, menu-bar-goto-menu)
2617 (menu-bar-custom-menu, menu-bar-showhide-menu)
2618 (menu-bar-options-menu, menu-bar-tools-menu)
2619 (menu-bar-encryption-decryption-menu, menu-bar-describe-menu)
2620 (menu-bar-search-documentation-menu, menu-bar-manuals-menu)
2621 (menu-bar-help-menu):
2622 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu):
2623 * buff-menu.el (Buffer-menu-mode-map): Use menu-bar-separator.
2625 * term/x-win.el (x-gtk-stock-map):
2626 * progmodes/vera-mode.el (auto-mode-alist):
2627 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
2628 (inferior-lisp-program, inferior-lisp-load-command):
2629 * progmodes/hideshow.el (hs-special-modes-alist):
2630 * progmodes/gud.el (same-window-regexps):
2631 * progmodes/grep.el (grep-program, find-program, xargs-program):
2632 * net/telnet.el (same-window-regexps):
2633 * net/rlogin.el (same-window-regexps):
2634 * language/ethiopic.el (font-ccl-encoder-alist):
2635 * vc-sccs.el (vc-sccs-master-templates):
2636 * vc-rcs.el (vc-rcs-master-templates):
2637 * subr.el (cl-assertion-failed):
2638 * simple.el (next-error-overlay-arrow-position):
2639 * lpr.el (lpr-command):
2640 * locate.el (locate-ls-subdir-switches):
2641 * info.el (same-window-regexps, info)
2642 (Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
2643 * image-mode.el (image-mode, auto-mode-alist):
2644 * hippie-exp.el (hippie-expand-ignore-buffers):
2645 * format.el (format-alist):
2646 * find-dired.el (find-ls-subdir-switches, find-grep-options)
2648 * facemenu.el (facemenu-keybindings):
2649 * dired.el (dired-listing-switches, dired-chown-program):
2650 * diff.el (diff-switches, diff-command):
2651 * cus-edit.el (same-window-regexps):
2652 * bindings.el (mode-line-mule-info)
2653 (mode-line-buffer-identification): Purecopy strings.
2655 2009-11-11 Juri Linkov <juri@jurta.org>
2657 * simple.el (dired-get-filename) <declare-function>:
2658 Tell the byte-compiler about dired-get-filename.
2659 (shell-command): In Dired mode, get filename from the current line
2660 as the default value.
2662 2009-11-10 Glenn Morris <rgm@gnu.org>
2664 * dired.el, hi-lock.el, calendar/cal-menu.el, calendar/calendar.el:
2665 * calendar/holidays.el, progmodes/cperl-mode.el:
2666 Update x-popup-menu declarations.
2668 * emacs-lisp/shadow.el (find-emacs-lisp-shadows)
2669 (list-load-path-shadows): Use dolist.
2670 (list-load-path-shadows): Use with-current-buffer.
2672 2009-11-10 Juri Linkov <juri@jurta.org>
2674 * minibuffer.el (read-file-name): Support a list of default values
2675 in `default-filename'. Use the first file name where only one
2676 element is required. Doc fix.
2678 2009-11-09 Michael Albinus <michael.albinus@gmx.de>
2680 * net/dbus.el (dbus-unregister-object): Release service, if no
2681 other method is registered for it.
2683 2009-11-08 Markus Rost <rost@math.uni-bielefeld.de>
2685 * bookmark.el (bookmark-completing-read): Sort bookmark names if
2686 bookmark-sort-flag is non-nil (Bug#4653).
2688 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
2690 * cedet/semantic/ctxt.el (semantic-get-local-variables): Disable
2691 the progress reporter entirely.
2693 * emulation/cua-base.el: Add CUA property to some CC mode commands
2696 2009-11-08 Kevin Ryde <user42@zip.com.au>
2698 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-regexp): Match noun
2699 at end of sentence (Bug#4818).
2701 2009-11-08 Jared Finder <jfinder@crypticstudios.com>
2703 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2704 Handle "see declaration of" MSFT statements (Bug#4100).
2706 2009-11-08 Michael Albinus <michael.albinus@gmx.de>
2708 * net/tramp.el (tramp-advice-make-auto-save-file-name)
2709 (tramp-advice-file-expand-wildcards): Unload via
2712 * net/trampver.el: Update release number.
2714 2009-11-08 Kevin Ryde <user42@zip.com.au>
2716 * net/tramp.el (tramp-advice-file-expand-wildcards): Don't rely on
2719 2009-11-08 Andr <m00naticus@gmail.com> (tiny change)
2721 * net/tramp.el (tramp-handle-write-region): Copy but rename temp file,
2722 in order to keep context in SELinux.
2724 2009-11-08 Chong Yidong <cyd@stupidchicken.com>
2726 * dired-aux.el (dired-query): Place cursor in echo area and allow
2729 * dired.el (dired-mode-map): Disable dired-maybe-insert-subdir
2730 menu item if not on a directory (Bug#4701).
2732 2009-11-07 Michael Albinus <michael.albinus@gmx.de>
2734 Sync with Tramp 2.1.17.
2736 * net/tramp.el (tramp-handle-copy-directory): Don't use
2737 `file-remote-p' (due to compatibility).
2739 * net/tramp-compat.el (tramp-compat-copy-directory)
2740 (tramp-compat-delete-directory): New defuns.
2742 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
2743 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory): Use
2744 `tramp-compat-delete-directory'.
2746 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2747 (tramp-smb-handle-delete-directory): Use
2748 `tramp-compat-copy-directory' and `tramp-compat-delete-directory'.
2750 * net/trampver.el: Update release number.
2752 2009-11-07 Chong Yidong <cyd@stupidchicken.com>
2754 * tar-mode.el (tar-copy): Call write-region on the right buffer
2757 * mail/rmailsum.el (rmail-summary-rmail-update): Call linum-update
2758 by hand, if necessary (Bug#4878).
2760 2009-11-06 Chong Yidong <cyd@stupidchicken.com>
2762 * buff-menu.el (Buffer-menu-buffer+size): Use display property to
2763 align size column (Bug#4839).
2765 * emacs-lisp/autoload.el (autoload-rubric): Always issue a provide
2768 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
2770 * progmodes/ld-script.el (auto-mode-alist):
2771 * vc-hooks.el (vc-directory-exclusion-list): Purecopy strings.
2773 * cus-face.el (custom-declare-face): Purecopy face spec.
2775 2009-11-06 Kenichi Handa <handa@m17n.org>
2777 * international/uni-bidi.el: Re-generated.
2778 * international/uni-category.el: Re-generated.
2779 * international/uni-combining.el: Re-generated.
2780 * international/uni-mirrored.el: Re-generated.
2782 2009-11-05 Dan Nicolaescu <dann@ics.uci.edu>
2784 * textmodes/tex-mode.el (tex-alt-dvi-print-command)
2785 (tex-dvi-print-command, tex-bibtex-command, tex-start-commands)
2786 (tex-start-options, slitex-run-command, latex-run-command)
2787 (tex-run-command, tex-directory):
2788 * textmodes/ispell.el (ispell-html-skip-alists)
2789 (ispell-tex-skip-alists, ispell-tex-skip-alists):
2790 * textmodes/fill.el (adaptive-fill-first-line-regexp):
2791 (adaptive-fill-regexp):
2792 * textmodes/dns-mode.el (auto-mode-alist):
2793 * progmodes/python.el (interpreter-mode-alist):
2794 * progmodes/etags.el (tags-compression-info-list):
2795 * progmodes/etags.el (tags-file-name):
2796 * net/browse-url.el (browse-url-galeon-program)
2797 (browse-url-firefox-program):
2798 * mail/sendmail.el (mail-signature-file)
2799 (mail-citation-prefix-regexp):
2800 * international/mule-conf.el (eight-bit):
2801 * international/latexenc.el (latex-inputenc-coding-alist):
2802 * international/fontset.el (x-pixel-size-width-font-regexp):
2803 * emacs-lisp/warnings.el (warning-type-format):
2804 * emacs-lisp/trace.el (trace-buffer):
2805 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-map)
2806 (emacs-lisp-mode-map):
2807 * calendar/holidays.el (holiday-solar-holidays)
2808 (holiday-bahai-holidays, holiday-islamic-holidays)
2809 (holiday-christian-holidays, holiday-hebrew-holidays)
2810 (hebrew-holidays-4, hebrew-holidays-3, hebrew-holidays-2)
2811 (hebrew-holidays-1, holiday-oriental-holidays)
2812 (holiday-general-holidays):
2813 * x-dnd.el (x-dnd-known-types):
2814 * tool-bar.el (tool-bar):
2815 * startup.el (site-run-file):
2816 * shell.el (shell-dumb-shell-regexp):
2817 * rfn-eshadow.el (file-name-shadow-tty-properties)
2818 (file-name-shadow-properties):
2819 * paths.el (remote-shell-program, news-directory):
2820 * mouse.el ([C-down-mouse-3]):
2821 * menu-bar.el (menu-bar-tools-menu):
2822 * jka-cmpr-hook.el (jka-compr-load-suffixes)
2823 (jka-compr-mode-alist-additions, jka-compr-compression-info-list)
2824 (jka-compr-compression-info-list):
2825 * isearch.el (search-whitespace-regexp):
2826 * image-file.el (image-file-name-extensions):
2827 * find-dired.el (find-ls-option):
2828 * files.el (directory-listing-before-filename-regexp)
2829 (directory-free-space-args, insert-directory-program)
2830 (list-directory-brief-switches, magic-fallback-mode-alist)
2831 (magic-fallback-mode-alist, auto-mode-interpreter-regexp)
2832 (automount-dir-prefix):
2833 * faces.el (face-x-resources, x-font-regexp, x-font-regexp-head)
2834 (x-font-regexp-slant, x-font-regexp-weight, face-x-resources)
2835 (face-font-registry-alternatives, face-font-registry-alternatives)
2836 (face-font-family-alternatives):
2837 * facemenu.el (facemenu-add-new-face, facemenu-background-menu)
2838 (facemenu-foreground-menu, facemenu-face-menu):
2839 * epa-hook.el (epa-file-name-regexp):
2840 * dnd.el (dnd-protocol-alist):
2841 * textmodes/rst.el (auto-mode-alist):
2842 * button.el (default-button): Purecopy strings.
2844 2009-11-06 Glenn Morris <rgm@gnu.org>
2846 * Makefile.in (ELCFILES): Update.
2848 2009-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
2850 * emacs-lisp/lucid.el: Move to obsolete/lucid.el.
2851 * emacs-lisp/levents.el: Move to obsolete/levents.el.
2853 * nxml/xsd-regexp.el (xsdre-gen-categories):
2854 * nxml/xmltok.el (xmltok-parse-entity):
2855 * nxml/rng-parse.el (rng-parse-validate-file):
2856 * nxml/rng-maint.el (rng-format-manual)
2857 (rng-manual-output-force-new-line):
2858 * nxml/rng-loc.el (rng-save-schema-location-1):
2859 * nxml/rng-cmpct.el (rng-c-parse-file):
2860 * nxml/nxml-maint.el (nxml-insert-target-repertoire-glyph-set):
2861 * nxml/nxml-parse.el (nxml-parse-file): Use with-current-buffer.
2863 2009-11-05 Wilson Snyder <wsnyder@wsnyder.org>
2865 * verilog-mode.el (verilog-getopt-file, verilog-set-define):
2866 Remove extra save-excursions and make-variable-buffer-local's.
2867 Suggested by Stefan Monnier.
2869 (verilog-getopt-file, verilog-module-inside-filename-p)
2870 (verilog-set-define): Merge GNU 1.35 and repair changes from
2871 switching to using with-current-buffer.
2873 (verilog-read-always-signals-recurse): Fix "a == 2'b00 ? b : c"
2874 being treated as a number and confusing AUTORESET.
2875 Reported by Dan Dever.
2877 (verilog-auto-ignore-concat, verilog-read-sub-decls-expr):
2878 Add verilog-auto-ignore-concat to fix backward compatibility with
2879 older verilog-modes. Reported by Dan Katz.
2881 (verilog-read-auto-template): Fix AUTO_TEMPLATEs with regexps
2882 containing closing anchors "...$".
2884 (verilog-read-decls): Fix AUTOREG not detecting "assign {a,b}".
2885 Reported by Wade Smith.
2887 (verilog-batch-execute-func) Comment on function usage.
2889 2009-11-05 Michael McNamara <mac@mail.brushroad.com>
2891 * verilog-mode.el (verilog-label-re): Fix regular expression for
2894 (verilog-label-re, verilog-calc-1): Support proper indent of named
2897 (verilog-backward-token, verilog-basic-complete-re)
2898 (verilog-beg-of-statement, verilog-indent-re): Support proper
2899 indent of the assert statement at the beginning of a block of text.
2901 (verilog-beg-block-re, verilog-ovm-begin-re): Support the
2902 `ovm_object_param_utils_begin and `ovm_component_param_utils_begin
2905 2009-11-05 Glenn Morris <rgm@gnu.org>
2907 * emacs-lisp/bytecomp.el (byte-compile-insert-header): Drop test for
2908 Emacs 19. (Bug#1531)
2909 (byte-compile-fix-header): Update for the above change.
2910 Drop test for epoch::version.
2912 * emacs-lisp/autoload.el (autoload-rubric): Add optional feature arg.
2913 * cus-dep.el (custom-make-dependencies):
2914 * finder.el (finder-compile-keywords):
2915 Use autoload-rubric's feature argument.
2917 * calendar/diary-lib.el (top-level): Make load behave more like require.
2919 * vc-git.el (vc-git-stash-map): Move definition before use.
2921 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu>
2923 * custom.el (custom-declare-group): Purecopy standard-value.
2924 (custom-declare-group): Purecopy custom-prefix.
2926 * international/mule.el (load-with-code-conversion):
2927 Call do-after-load-evaluation unconditionally.
2929 * emacs-lisp/bytecomp.el (byte-compile-output-file-form): Handle defvaralias.
2931 2009-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
2933 * descr-text.el: Require help-mode rather than help-fns (bug#4861).
2935 2009-11-04 Glenn Morris <rgm@gnu.org>
2937 * emacs-lisp/bytecomp.el (byte-compile-version-cond): Remove macro.
2938 (byte-compile-compatibility): Remove option.
2939 (byte-compile-close-variables, byte-compile-fix-header)
2940 (byte-compile-insert-header, byte-compile-output-docform)
2941 (byte-compile-file-form-defmumble, byte-compile-byte-code-maker)
2942 (byte-compile-lambda, byte-compile-form, byte-defop-compiler19)
2943 (byte-compile-list, byte-compile-concat, byte-compile-function-form)
2944 (byte-compile-insert, byte-compile-defun):
2945 Remove support for byte-compile-compatibility and Emacs 18. (Bug#4571)
2946 (byte-defop-compiler19): Remove.
2947 Without byte-compile-compatibility, the 'emacs19-opcode property is not
2948 used by anything. Replace all calls with byte-defop-compiler.
2950 2009-11-04 Juri Linkov <juri@jurta.org>
2952 * menu-bar.el (menu-bar-make-mm-toggle): Quote each element of `props'.
2953 (menu-bar-options-menu): Don't quote the `prop' arg of
2954 `menu-bar-make-mm-toggle'.
2956 2009-11-04 Juanma Barranquero <lekktu@gmail.com>
2958 * calendar/calendar.el (cal-loaddefs):
2959 * calendar/diary-lib.el (diary-loaddefs):
2960 * calendar/holidays.el (hol-loaddefs):
2961 * eshell/esh-module.el (esh-groups): Load rather than require.
2963 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
2965 * calendar/todo-mode.el (todo-add-category): Don't hardcode
2967 (todo-top-priorities): Only display-buffer when called interactively.
2968 (todo-item-start): Don't save excursion point.
2969 (todo-item-end): Be slightly more careful. Add `include-sep' arg.
2970 (todo-insert-item-here, todo-file-item, todo-remove-item):
2971 Adjust uses of todo-item-start and todo-item-end.
2973 * emacs-lisp/autoload.el (generated-autoload-feature): Remove.
2974 (autoload-rubric): Don't use any more.
2975 * cedet/semantic/fw.el (semantic/loaddefs):
2976 * cedet/srecode.el (srecode/loaddefs):
2977 * cedet/ede.el (ede/loaddefs): Load rather than require.
2978 * cedet/ede/cpp-root.el:
2979 * cedet/ede/emacs.el:
2980 * cedet/ede/files.el:
2981 * cedet/ede/linux.el:
2982 * cedet/ede/locate.el:
2983 * cedet/ede/make.el:
2984 * cedet/ede/shell.el:
2985 * cedet/ede/speedbar.el:
2986 * cedet/ede/system.el:
2987 * cedet/ede/util.el:
2988 * cedet/semantic/analyze.el:
2989 * cedet/semantic/bovine.el:
2990 * cedet/semantic/complete.el:
2991 * cedet/semantic/ctxt.el:
2992 * cedet/semantic/db-file.el:
2993 * cedet/semantic/db-find.el:
2994 * cedet/semantic/db-global.el:
2995 * cedet/semantic/db-mode.el:
2996 * cedet/semantic/db-typecache.el:
2997 * cedet/semantic/db.el:
2998 * cedet/semantic/debug.el:
2999 * cedet/semantic/dep.el:
3000 * cedet/semantic/doc.el:
3001 * cedet/semantic/edit.el:
3002 * cedet/semantic/find.el:
3003 * cedet/semantic/format.el:
3004 * cedet/semantic/html.el:
3005 * cedet/semantic/ia-sb.el:
3006 * cedet/semantic/ia.el:
3007 * cedet/semantic/idle.el:
3008 * cedet/semantic/lex-spp.el:
3009 * cedet/semantic/lex.el:
3010 * cedet/semantic/mru-bookmark.el:
3011 * cedet/semantic/scope.el:
3012 * cedet/semantic/senator.el:
3013 * cedet/semantic/sort.el:
3014 * cedet/semantic/symref.el:
3015 * cedet/semantic/tag-file.el:
3016 * cedet/semantic/tag-ls.el:
3017 * cedet/semantic/tag-write.el:
3018 * cedet/semantic/tag.el:
3019 * cedet/semantic/util-modes.el:
3020 * cedet/semantic/analyze/complete.el:
3021 * cedet/semantic/analyze/refs.el:
3022 * cedet/semantic/bovine/c.el:
3023 * cedet/semantic/bovine/gcc.el:
3024 * cedet/semantic/bovine/make.el:
3025 * cedet/semantic/bovine/scm.el:
3026 * cedet/semantic/decorate/include.el:
3027 * cedet/semantic/decorate/mode.el:
3028 * cedet/semantic/symref/cscope.el:
3029 * cedet/semantic/symref/global.el:
3030 * cedet/semantic/symref/grep.el:
3031 * cedet/semantic/symref/idutils.el:
3032 * cedet/semantic/symref/list.el:
3033 * cedet/semantic/wisent/java-tags.el:
3034 * cedet/semantic/wisent/javascript.el:
3035 * cedet/srecode/compile.el:
3036 * cedet/srecode/cpp.el:
3037 * cedet/srecode/document.el:
3038 * cedet/srecode/el.el:
3039 * cedet/srecode/expandproto.el:
3040 * cedet/srecode/getset.el:
3041 * cedet/srecode/insert.el:
3042 * cedet/srecode/java.el:
3043 * cedet/srecode/map.el:
3044 * cedet/srecode/mode.el:
3045 * cedet/srecode/template.el:
3046 * cedet/srecode/texi.el: Remove the file-local setting of
3047 generated-autoload-feature.
3049 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Use dolist,
3050 and only put a prop if it is non-nil.
3052 2009-11-03 Juri Linkov <juri@jurta.org>
3054 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle)
3055 (menu-bar-options-menu): Fix list quoting (Bug#4429).
3057 * buff-menu.el (Buffer-menu-mode-map): Add hyphen between "Buffer"
3058 and "Menu" to make top-level menu item visually one unit (like
3059 it's done for "Lisp-Interaction", "Emacs-Lisp" and other
3060 multi-word menu items). Fix :help string for quit-window.
3062 2009-11-03 Glenn Morris <rgm@gnu.org>
3064 * cedet/mode-local.el (with-mode-local): Doc fix.
3066 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar)
3067 (byte-compile-file-form-define-abbrev-table)
3068 (byte-compile-file-form-custom-declare-variable)
3069 (byte-compile-variable-ref, byte-compile-defvar):
3070 Whether or not a warning is enabled should only affect whether we issue
3071 the warning, not whether or not we collect the relevant data.
3072 Eg warnings can be turned on and off throughout the course of a file.
3074 * eshell/esh-mode.el (ansi-color-apply-on-region): Autoload it...
3075 (eshell-handle-ansi-color): ... Rather than requiring ansi-color.
3077 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3079 * term/ns-win.el (ns-scroll-bar-move, ns-face-at-pos):
3080 * play/mpuz.el (mpuz-create-buffer):
3081 * play/landmark.el (lm-prompt-for-move, lm-print-wts, lm-print-smell)
3082 (lm-print-y,s,noise, lm-print-w0, lm-init):
3083 * play/gomoku.el (gomoku-prompt-for-move):
3084 * play/fortune.el (fortune-in-buffer):
3085 * play/dissociate.el (dissociated-press):
3086 * play/decipher.el (decipher-adjacency-list, decipher-display-regexp)
3087 (decipher-analyze-buffer, decipher-stats-buffer, decipher-stats-buffer):
3088 * mail/supercite.el (sc-eref-show):
3089 * mail/smtpmail.el (smtpmail-send-it):
3090 * mail/rmailsum.el (rmail-summary-next-labeled-message)
3091 (rmail-summary-previous-labeled-message, rmail-summary-wipe)
3092 (rmail-summary-undelete-many, rmail-summary-rmail-update)
3093 (rmail-summary-goto-msg, rmail-summary-expunge)
3094 (rmail-summary-get-new-mail, rmail-summary-search-backward)
3095 (rmail-summary-add-label, rmail-summary-output-menu)
3096 (rmail-summary-output-body):
3097 * mail/rfc822.el (rfc822-addresses):
3098 * mail/reporter.el (reporter-dump-variable, reporter-dump-state):
3099 * mail/mailpost.el (post-mail-send-it):
3100 * mail/hashcash.el (hashcash-generate-payment):
3101 * mail/feedmail.el (feedmail-run-the-queue)
3102 (feedmail-queue-send-edit-prompt-help-first)
3103 (feedmail-send-it-immediately, feedmail-give-it-to-buffer-eater)
3104 (feedmail-deduce-address-list):
3105 * eshell/esh-ext.el (eshell-remote-command):
3106 * eshell/em-unix.el (eshell-occur-mode-mouse-goto):
3107 * emulation/viper-util.el (viper-glob-unix-files, viper-save-setting)
3108 (viper-wildcard-to-regexp, viper-glob-mswindows-files)
3109 (viper-save-string-in-file, viper-valid-marker):
3110 * emulation/viper-keym.el (viper-toggle-key):
3111 * emulation/viper-ex.el (ex-expand-filsyms, viper-get-ex-file)
3112 (ex-edit, ex-global, ex-mark, ex-next-related-buffer, ex-quit)
3113 (ex-get-inline-cmd-args, ex-tag, ex-command, ex-compile):
3114 * emulation/viper-cmd.el (viper-exec-form-in-vi)
3115 (viper-exec-form-in-emacs, viper-brac-function):
3116 * emulation/viper.el (viper-delocalize-var):
3117 * emulation/vip.el (vip-mode, vip-get-ex-token, vip-ex, vip-get-ex-pat)
3118 (vip-get-ex-command, vip-get-ex-opt-gc, vip-get-ex-buffer)
3119 (vip-get-ex-count, vip-get-ex-file, ex-edit, ex-global, ex-mark)
3120 (ex-map, ex-unmap, ex-quit, ex-read, ex-tag, ex-command):
3121 * emulation/vi.el (vi-switch-mode, vi-ex-cmd):
3122 * emulation/edt.el (edt-electric-helpify):
3123 * emulation/cua-rect.el (cua--rectangle-aux-replace):
3124 * emulation/cua-gmrk.el (cua--insert-at-global-mark)
3125 (cua--delete-at-global-mark, cua--copy-rectangle-to-global-mark)
3126 (cua-indent-to-global-mark-column):
3127 * calendar/diary-lib.el (calendar-mark-1):
3128 * calendar/cal-hebrew.el (calendar-hebrew-mark-date-pattern):
3129 Use with-current-buffer.
3130 * emulation/viper.el (viper-delocalize-var): Use dolist.
3132 2009-11-03 Chong Yidong <cyd@stupidchicken.com>
3134 * comint.el (comint-replace-by-expanded-history-before-point):
3135 Replace !! with the previous input string literally (Bug#1795).
3137 2009-11-02 Jay Belanger <jay.p.belanger@gmail.com>
3139 * calc/calc-forms.el (calc-date-notation): Allow a "blank string"
3140 to be made up of whitespace.
3142 2009-11-02 Chong Yidong <cyd@stupidchicken.com>
3144 * minibuffer.el (read-file-name): Don't use file dialogs for
3145 remote directories (Bug#99).
3147 2009-11-01 Chong Yidong <cyd@stupidchicken.com>
3149 * progmodes/sh-script.el (sh-font-lock-paren): Fix last change.
3151 2009-11-01 Andreas Schwab <schwab@linux-m68k.org>
3153 * view.el (view-mode-exit): If OLD-BUF is dead bury the buffer
3154 instead of deleting the window or frame.
3156 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
3158 * textmodes/sgml-mode.el (sgml-mode-facemenu-add-face-function):
3159 Support face colors.
3161 * textmodes/tex-mode.el (tex-facemenu-add-face-function):
3162 New function. Support face colors (Bug#1168).
3163 (tex-common-initialization): Use it.
3165 * facemenu.el (facemenu-enable-faces-p): Enable facemenu if the
3166 mode allows it (Bug#1168).
3168 2009-10-31 Juri Linkov <juri@jurta.org>
3170 * facemenu.el (list-colors-display): Don't mark buffer as
3171 modified (Bug#3948).
3173 2009-10-31 Chong Yidong <cyd@stupidchicken.com>
3175 * international/mule-diag.el (list-character-sets-1): Minor
3176 message fix (Bug#3526).
3178 * progmodes/etags.el (etags-list-tags, etags-tags-apropos): Fix
3179 face property (Bug#4834).
3180 (etags-list-tags, etags-tags-apropos-additional)
3181 (etags-tags-apropos, tags-select-tags-table): Add follow-link
3184 * menu-bar.el (menu-bar-tools-menu): Add Semantic and EDE menu
3187 * cedet/cedet.el (cedet-menu-map): Remove Semantic and EDE menu
3190 * cedet/ede.el (ede-minor-mode):
3191 * cedet/semantic.el (semantic-mode): Toggle menu separators.
3193 2009-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
3195 * textmodes/two-column.el (2C-split):
3196 * textmodes/texnfo-upd.el (texinfo-multi-file-included-list):
3197 * textmodes/tex-mode.el (tex-set-buffer-directory):
3198 * textmodes/spell.el (spell-region, spell-string):
3199 * textmodes/reftex.el (reftex-erase-buffer):
3200 (reftex-get-file-buffer-force, reftex-kill-temporary-buffers):
3201 * textmodes/reftex-toc.el (reftex-toc-promote-action):
3202 * textmodes/reftex-sel.el (reftex-get-offset, reftex-insert-docstruct)
3203 (reftex-select-item):
3204 * textmodes/reftex-ref.el (reftex-label-info-update)
3205 (reftex-offer-label-menu):
3206 * textmodes/reftex-index.el (reftex-index-change-entry)
3207 (reftex-index-phrases-info):
3208 * textmodes/reftex-global.el (reftex-create-tags-file)
3209 (reftex-save-all-document-buffers, reftex-ensure-write-access):
3210 * textmodes/reftex-dcr.el (reftex-echo-ref, reftex-echo-cite)
3211 (reftex-view-crossref-from-bibtex):
3212 * textmodes/reftex-cite.el (reftex-bibtex-selection-callback)
3213 (reftex-extract-bib-entries-from-thebibliography)
3214 (reftex-all-used-citation-keys, reftex-create-bibtex-file):
3215 * textmodes/refbib.el (r2b-capitalize-title):
3216 (r2b-convert-buffer, r2b-help):
3217 * textmodes/page-ext.el (pages-directory)
3218 (pages-directory-goto-with-mouse):
3219 * textmodes/bibtex.el (bibtex-validate-globally):
3220 * textmodes/bib-mode.el (bib-capitalize-title):
3221 * textmodes/artist.el (artist-clear-buffer, artist-system):
3222 * progmodes/xscheme.el (global-set-scheme-interaction-buffer):
3223 (local-set-scheme-interaction-buffer, xscheme-process-filter)
3224 (verify-xscheme-buffer, xscheme-enter-interaction-mode)
3225 (xscheme-enter-debugger-mode, xscheme-debugger-mode-p)
3226 (xscheme-send-control-g-interrupt, xscheme-start-process)
3227 (xscheme-process-sentinel, xscheme-cd):
3228 * progmodes/verilog-mode.el (verilog-read-always-signals)
3229 (verilog-set-define, verilog-getopt-file)
3230 (verilog-module-inside-filename-p):
3231 * progmodes/sh-script.el:
3232 * progmodes/python.el (python-pdbtrack-get-source-buffer)
3233 (python-pdbtrack-grub-for-buffer, python-execute-file):
3234 * progmodes/octave-inf.el (inferior-octave):
3235 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
3236 (idlwave-shell-compile-helper-routines, idlwave-set-local)
3237 (idlwave-display-completion-list-xemacs, idlwave-list-abbrevs)
3238 (idlwave-display-completion-list-emacs, idlwave-list-load-path-shadows)
3239 (idlwave-completion-fontify-classes, idlwave-display-calling-sequence):
3240 * progmodes/idlw-shell.el (idlwave-shell-examine-display-clear)
3241 (idlwave-shell-filter, idlwave-shell-examine-highlight)
3242 (idlwave-shell-sentinel, idlwave-shell-filter-directory)
3243 (idlwave-shell-display-line, idlwave-shell-set-bp-in-module)
3244 (idlwave-shell-examine-display, idlwave-shell-run-region)
3245 (idlwave-shell-filter-bp, idlwave-shell-save-and-action)
3246 (idlwave-shell-sources-filter, idlwave-shell-goto-next-error):
3247 * progmodes/idlw-help.el (idlwave-help-get-special-help)
3248 (idlwave-help-get-help-buffer):
3249 * progmodes/gud.el (gud-basic-call, gud-find-class)
3250 (gud-tooltip-activate-mouse-motions-if-enabled):
3251 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3252 * progmodes/ebrowse.el (ebrowse-member-table, ebrowse-save-tree-as)
3253 (ebrowse-view-exit-fn, ebrowse-tags-list-members-in-file)
3254 (ebrowse-tags-next-file):
3255 * progmodes/ebnf2ps.el (ebnf-generate-eps, ebnf-generate-eps)
3256 (ebnf-eps-production-list, ebnf-begin-file, ebnf-log)
3257 (ebnf-eps-finish-and-write):
3258 * progmodes/cpp.el (cpp-edit-save):
3259 * progmodes/cperl-mode.el (cperl-pod-to-manpage):
3260 * progmodes/cc-defs.el (c-emacs-features):
3261 * progmodes/antlr-mode.el (antlr-invalidate-context-cache)
3262 (antlr-directory-dependencies):
3263 * progmodes/ada-xref.el (ada-gnat-parse-gpr, ada-get-ali-file-name)
3264 (ada-run-application, ada-find-in-src-path, ada-goto-parent)
3265 (ada-find-any-references, ada-make-filename-from-adaname)
3266 (ada-make-body-gnatstub):
3267 * obsolete/rnews.el (news-list-news-groups):
3268 * obsolete/resume.el (resume-suspend-hook, resume-write-buffer-to-file):
3269 * obsolete/iso-acc.el (iso-acc-minibuf-setup):
3270 * net/rcirc.el (rcirc-debug):
3271 * net/newst-treeview.el (newsticker--treeview-list-add-item)
3272 (newsticker--treeview-list-clear, newsticker-treeview-browse-url)
3273 (newsticker--treeview-list-update-faces, newsticker-treeview-save)
3274 (newsticker--treeview-item-show-text, newsticker--treeview-item-show)
3275 (newsticker--treeview-tree-update-tag, newsticker--treeview-buffer-init)
3276 (newsticker-treeview-show-item, newsticker--treeview-unfold-node)
3277 (newsticker--treeview-list-clear-highlight)
3278 (newsticker--treeview-list-update-highlight)
3279 (newsticker--treeview-list-highlight-start)
3280 (newsticker--treeview-tree-update-highlight)
3281 (newsticker--treeview-get-selected-item)
3282 (newsticker-treeview-mark-list-items-old)
3283 (newsticker--treeview-set-current-node):
3284 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3285 * net/newst-backend.el (newsticker--get-news-by-funcall)
3286 (newsticker--get-news-by-wget, newsticker--image-get)
3287 (newsticker--image-sentinel):
3288 * net/mairix.el (mairix-rmail-fetch-field, mairix-gnus-fetch-field):
3289 * net/eudcb-ph.el (eudc-ph-do-request, eudc-ph-open-session):
3290 (eudc-ph-close-session):
3291 * net/eudc.el (eudc-save-options):
3292 * language/thai-word.el (thai-update-word-table):
3293 * language/japan-util.el (japanese-string-conversion):
3294 * international/titdic-cnv.el (tsang-quick-converter)
3295 (ziranma-converter, ctlau-converter):
3296 * international/mule-cmds.el (describe-language-environment):
3297 * international/ja-dic-cnv.el (skkdic-convert-okuri-ari)
3298 (skkdic-convert-postfix, skkdic-convert-prefix):
3299 (skkdic-convert-okuri-nasi, skkdic-convert):
3300 * emacs-lisp/re-builder.el (reb-update-overlays):
3301 * emacs-lisp/pp.el (pp-to-string, pp-display-expression):
3302 * emacs-lisp/gulp.el (gulp-send-requests):
3303 * emacs-lisp/find-gc.el (trace-call-tree):
3304 * emacs-lisp/eieio-opt.el (eieio-browse, eieio-describe-class)
3305 (eieio-describe-generic):
3306 * emacs-lisp/eieio-base.el (eieio-persistent-read):
3307 * emacs-lisp/edebug.el (edebug-outside-excursion):
3308 * emacs-lisp/debug.el (debugger-make-xrefs):
3309 * emacs-lisp/cust-print.el (custom-prin1-to-string):
3310 * emacs-lisp/chart.el (chart-new-buffer):
3311 * emacs-lisp/authors.el (authors-scan-el, authors-scan-change-log):
3312 Use with-current-buffer.
3313 * textmodes/artist.el (artist-system): Don't call
3314 copy-sequence on a fresh string.
3315 * progmodes/idlw-shell.el (easymenu setup): Use dolist.
3317 2009-10-31 Stephen Berman <stephen.berman@gmx.net>
3319 * calendar/todo-mode.el (todo-edit-item): Signal an error if there
3320 is no item to edit. (Bug#4820)
3321 (todo-top-priorities): Restore point and restore narrowing in Todo
3324 2009-10-31 Glenn Morris <rgm@gnu.org>
3326 * net/ange-ftp.el (top-level): Don't require dired when compiling.
3327 (comint-last-output-start, comint-last-input-start)
3328 (comint-last-input-end): Don't defvar when compiling.
3329 (ange-ftp-process-file): Use bound-and-true-p.
3331 * pcmpl-rpm.el (top-level): Move provide statement to end.
3332 (pcmpl-rpm): Remove unused custom group.
3334 * pcmpl-gnu.el (tar-parse-info, tar-header-name): Declare for compiler.
3336 * mail/emacsbug.el (report-emacs-bug): Request `emacs -Q' recipes.
3338 * emacs-lisp/bytecomp.el (byte-compile-warning-types)
3339 (byte-compile-warnings): Add `constants' as an option.
3340 (byte-compile-callargs-warn, byte-compile-arglist-warn)
3341 (display-call-tree): Update for byte-compile-fdefinition possibly
3342 returning `(macro lambda ...)'. (Bug#4778)
3343 (byte-compile-variable-ref, byte-compile-setq-default):
3344 Respect `constants' member of byte-compile-warnings.
3346 * cedet/semantic/tag.el (semantic--tag-link-list-to-buffer):
3347 Use mapc rather than mapcar because the return value is never used.
3349 * cedet/srecode/template.el, cedet/semantic/wisent/javascript.el:
3350 * cedet/semantic/wisent/java-tags.el, cedet/semantic/texi.el:
3351 * cedet/semantic/html.el:
3352 Suppress harmless warnings about setting up semantic-imenu (not
3353 part of Emacs) variables.
3355 2009-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3357 * vc-bzr.el (vc-bzr-revision-keywords): New var.
3358 (vc-bzr-revision-completion-table): Use it to fix completion of "s:"
3361 * cedet/srecode/srt-mode.el (semantic-analyze-possible-completions):
3362 * cedet/semantic/symref/list.el (semantic-symref-rb-toggle-expand-tag):
3363 * cedet/semantic/symref/grep.el (semantic-symref-perform-search):
3364 * cedet/semantic/bovine/gcc.el (semantic-gcc-query):
3365 * cedet/semantic/bovine/c.el (semantic-c-parse-lexical-token):
3366 * cedet/semantic/analyze/debug.el (semantic-analyzer-debug-add-buttons)
3367 (semantic-analyzer-debug-global-symbol)
3368 (semantic-analyzer-debug-missing-innertype)
3369 (semantic-analyzer-debug-insert-include-summary):
3370 * cedet/semantic/util.el (semantic-file-tag-table):
3371 (semantic-describe-buffer-var-helper, semantic-something-to-tag-table)
3372 (semantic-recursive-find-nonterminal-by-name):
3373 * cedet/semantic/tag-ls.el (semantic-tag-calculate-parent-default):
3374 * cedet/semantic/tag-file.el (semantic-prototype-file):
3375 * cedet/semantic/symref.el (semantic-symref-parse-tool-output):
3376 * cedet/semantic/sb.el (semantic-sb-fetch-tag-table):
3377 * cedet/semantic/lex-spp.el (semantic-lex-spp-lex-text-string):
3378 * cedet/semantic/idle.el (semantic-idle-work-for-one-buffer):
3379 (semantic-idle-summary-maybe-highlight):
3380 * cedet/semantic/ia-sb.el (semantic-ia-speedbar)
3381 (semantic-ia-sb-tag-info):
3382 * cedet/semantic/grammar.el (semantic-analyze-possible-completions):
3383 * cedet/semantic/find.el (semantic-brute-find-tag-by-position):
3384 * cedet/semantic/ede-grammar.el (project-compile-target):
3385 (ede-proj-makefile-insert-variables):
3386 * cedet/semantic/debug.el (semantic-debug-set-parser-location):
3387 (semantic-debug-set-source-location, semantic-debug-interface-layout)
3388 (semantic-debug-mode, semantic-debug):
3389 * cedet/semantic/db.el (semanticdb-needs-refresh-p):
3390 * cedet/semantic/db-typecache.el (semanticdb-typecache-refresh-for-buffer):
3391 * cedet/semantic/db-javascript.el (semanticdb-equivalent-mode):
3392 * cedet/semantic/db-find.el (semanticdb-find-log-new-search)
3393 (semanticdb-find-translate-path-includes--internal)
3394 (semanticdb-reset-log, semanticdb-find-log-activity):
3395 * cedet/semantic/db-file.el (object-write):
3396 * cedet/semantic/db-el.el (semanticdb-equivalent-mode):
3397 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-C-file-p)
3398 (semanticdb-create-ebrowse-database):
3399 * cedet/semantic/db-debug.el (semanticdb-table-sanity-check):
3400 * cedet/semantic/complete.el (semantic-displayor-focus-request)
3401 (semantic-collector-calculate-completions-raw)
3402 (semantic-complete-read-tag-analyzer):
3403 * cedet/semantic/analyze.el (semantic-analyze-pulse):
3404 * cedet/ede/util.el (ede-update-version-in-source):
3405 * cedet/ede/proj.el (project-delete-target):
3406 * cedet/ede/proj-elisp.el (ede-update-version-in-source)
3407 (ede-proj-flush-autoconf):
3408 * cedet/ede/pconf.el (ede-proj-configure-synchronize)
3409 (ede-proj-configure-synchronize):
3410 * cedet/ede/locate.el (ede-locate-file-in-project-impl):
3411 * cedet/ede/linux.el (ede-linux-version):
3412 * cedet/ede/emacs.el (ede-emacs-version):
3413 * cedet/ede/dired.el (ede-dired-add-to-target):
3414 * cedet/ede.el (ede-buffer-header-file, ede-find-target)
3415 (ede-buffer-documentation-files, ede-project-buffers, ede-set)
3416 (ede-target-buffers, ede-buffers, ede-make-project-local-variable):
3417 * cedet/cedet-idutils.el (cedet-idutils-fnid-call):
3418 (cedet-idutils-lid-call, cedet-idutils-expand-filename)
3419 (cedet-idutils-version-check):
3420 * cedet/cedet-global.el (cedet-gnu-global-call):
3421 (cedet-gnu-global-expand-filename, cedet-gnu-global-root)
3422 (cedet-gnu-global-version-check, cedet-gnu-global-scan-hits):
3423 * cedet/cedet-cscope.el (cedet-cscope-call)
3424 (cedet-cscope-expand-filename, cedet-cscope-version-check):
3425 Use with-current-buffer.
3426 * cedet/ede.el (ede-make-project-local-variable)
3427 (ede-set-project-variables, ede-set): Use dolist.
3429 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu>
3431 * textmodes/ispell.el (ispell-skip-region-alist):
3432 * international/mule-conf.el (eight-bit):
3433 * international/fontset.el (font-encoding-alist):
3434 * startup.el (pure-space-overflow-message):
3435 * simple.el (overwrite-mode-textual, overwrite-mode-binary):
3436 * paths.el (gnus-nntp-service, rmail-spool-directory)
3438 * files.el (save-some-buffers-action-alist):
3439 * cmuscheme.el (same-window-buffer-names):
3440 * ielm.el (same-window-buffer-names):
3441 * shell.el (same-window-buffer-names):
3442 * mail/sendmail.el (same-window-buffer-names):
3443 * progmodes/inf-lisp.el (same-window-buffer-names):
3444 * bindings.el (mode-line-client)
3445 (mode-line-column-line-number-mode-map):
3446 * language/tibetan.el (tibetan-precomposition-rule-regexp)
3447 (tibetan-precomposed-regexp): Purecopy string arguments.
3449 2009-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
3451 * calc/calc.el (calc, calc-refresh, calc-trail-buffer, calc-record)
3452 (calcDigit-nondigit):
3453 * calc/calc-yank.el (calc-copy-to-buffer):
3454 * calc/calc-units.el (calc-invalidate-units-table):
3455 * calc/calc-trail.el (calc-trail-yank):
3456 * calc/calc-store.el (calc-insert-variables):
3457 * calc/calc-rewr.el (math-rewrite, math-rewrite-phase):
3458 * calc/calc-prog.el (calc-read-parse-table):
3459 * calc/calc-keypd.el (calc-do-keypad, calc-keypad-right-click):
3460 * calc/calc-help.el (calc-describe-bindings, calc-describe-key):
3461 * calc/calc-graph.el (calc-graph-delete, calc-graph-add-curve)
3462 (calc-graph-juggle, calc-graph-count-curves, calc-graph-plot)
3463 (calc-graph-plot, calc-graph-format-data, calc-graph-set-styles)
3464 (calc-graph-name, calc-graph-find-command, calc-graph-view)
3465 (calc-graph-view, calc-gnuplot-command, calc-graph-init):
3466 * calc/calc-ext.el (calc-realign):
3467 * calc/calc-embed.el (calc-do-embedded, calc-do-embedded)
3468 (calc-embedded-finish-edit, calc-embedded-make-info)
3469 (calc-embedded-finish-command, calc-embedded-stack-change):
3470 * calc/calc-aent.el (calcAlg-enter): Use with-current-buffer.
3472 * cedet/mode-local.el (make-obsolete-overload): Add `when' argument.
3473 (overload-docstring-extension): Use that info.
3474 * cedet/semantic/fw.el (semantic-alias-obsolete): Pass the `when' info.
3475 * cedet/semantic/idle.el (semantic-eldoc-current-symbol-info):
3476 * cedet/semantic/tag-ls.el (semantic-nonterminal-protection)
3477 (semantic-nonterminal-abstract, semantic-nonterminal-leaf)
3478 (semantic-nonterminal-full-name): Add the new `when' info.
3479 * cedet/semantic/decorate/mode.el (semantic/decorate): Require CL for
3482 * pcomplete.el (pcomplete-comint-setup): If there's a choice, replace
3483 shell-dynamic-complete-filename in preference to
3484 comint-dynamic-complete-filename.
3486 * bookmark.el (bookmark-insert-location, bookmark-bmenu-list)
3487 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
3488 Don't consider whether the display supports colors.
3489 (bookmark-import-new-list): Use dolist.
3490 (bookmark-bmenu-mode-map): Move initialization into declaration.
3491 (bookmark-bmenu-list): Use dolist, simplify.
3492 (bookmark-show-all-annotations): Use save-selected-window and dolist.
3493 (menu-bar-final-items): Use push.
3495 2009-10-28 Bernhard Herzog <bernhard.herzog@intevation.de> (tiny change)
3497 * vc-hg.el (vc-hg-state, vc-hg-working-revision): Use process-file so
3498 it works on remote files.
3499 (vc-hg-diff): Don't pass any `--cwd' argument.
3501 2009-10-27 Kevin Ryde <user42@zip.com.au>
3503 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
3504 Use help-xref-info-regexp and help-xref-url-regexp to identify links.
3505 (Further to Bug#3921).
3507 2009-10-27 Michael Albinus <michael.albinus@gmx.de>
3509 * net/tramp-imap.el (top): Add `X-Size' to `imap-hash-headers'.
3510 (tramp-imap-do-copy-or-rename-file): Don't use the inode, when
3511 calling `tramp-imap-put-file'. Add file size to the call.
3512 (tramp-imap-get-file-entries): Compute also user name, file size,
3514 (tramp-imap-handle-insert-directory): Insert uid and gid.
3515 (tramp-imap-handle-file-attributes): Transform uid and gid
3516 according to `id-format'.
3517 (tramp-imap-put-file): New optional parameter SIZE. Encode file
3518 size in header X-Size.
3520 2009-10-26 Juanma Barranquero <lekktu@gmail.com>
3522 * simple.el (transpose-subr): Give clearer error when the mark
3523 is not set. (Bug#4807)
3525 2009-10-26 Michael Albinus <michael.albinus@gmx.de>
3527 * net/tramp.el (tramp-perl-file-truename): New defconst.
3528 Perl code contributed by yary <not.com@gmail.com> (tiny change).
3529 (tramp-handle-file-truename, tramp-get-remote-perl): Use it.
3530 Check also for "perl-file-spec" and "perl-cwd-realpath" properties.
3531 (tramp-handle-write-region): In case of APPEND, reuse the tmpfile name.
3533 * net/tramp-imap.el (tramp-imap-file-name-handler-alist):
3534 Ignore `dired-call-process'.
3535 (tramp-imap-make-iht): Use `user' and `ssl' with `imap-hash-make'.
3537 2009-10-26 Julian Scheid <julians37@gmail.com>
3539 * net/tramp.el (tramp-perl-file-name-all-completions): New defconst.
3540 (tramp-get-remote-readlink): New defun.
3541 (tramp-handle-file-truename): Use it.
3542 (tramp-handle-file-exists-p): Check file-attributes cache, assume
3543 file exists if cache value present.
3544 (tramp-check-cached-permissions) New defun.
3545 (tramp-handle-file-readable-p): Use it.
3546 (tramp-handle-file-writable-p): Likewise.
3547 (tramp-handle-file-executable-p): Likewise.
3548 (tramp-handle-file-name-all-completions): Try using Perl to get
3549 partial completions. When perl not available, combine `cd' and
3550 `ls' into single remote operation and use shell expansion to get
3551 partial remote directory contents. Set `file-exists-p' cache for
3552 directory and any files returned by ls. Change cache handling to
3553 support partial directory contents. Use error message emitted by
3554 remote `cd' or Perl code for local tramp-error.
3555 (tramp-do-copy-or-rename-file-directly): Avoid separate
3556 tramp-send-command-and-check call.
3557 (tramp-handle-process-file): Merge three remote ops into one.
3558 Do not flush all caches when `process-file-side-effects' is set.
3559 (tramp-handle-write-region): Avoid tramp-set-file-uid-gid if
3560 file-attributes shows uid/gid to be set already.
3562 2009-10-26 Dan Nicolaescu <dann@ics.uci.edu>
3564 * textmodes/tex-mode.el (tex-dvi-view-command)
3565 (tex-show-queue-command, tex-open-quote):
3566 * progmodes/ruby-mode.el (auto-mode-alist)
3567 (interpreter-mode-alist): Purecopy strings.
3569 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Purecopy item names.
3571 * emacs-lisp/derived.el (define-derived-mode): Purecopy the doc
3572 string for the hook, keymap and abbrev table.
3574 * emacs-lisp/byte-run.el (make-obsolete): Purecopy the current name.
3576 * x-dnd.el (x-dnd-xdnd-to-action):
3577 * startup.el (fancy-startup-text, fancy-about-text): Change to
3578 defconst from defvar.
3580 * ps-print.el (ps-page-dimensions-database): Purecopy initial value.
3582 * mouse.el (mouse-buffer-menu-mode-groups, x-fixed-font-alist):
3583 Purecopy initialization strings.
3585 * mail/sendmail.el (mail-header-separator)
3586 (mail-personal-alias-file):
3587 * mail/rmail.el (rmail-default-dont-reply-to-names)
3588 (rmail-ignored-headers, rmail-retry-ignored-headers)
3589 (rmail-highlighted-headers, rmail-secondary-file-directory)
3590 (rmail-secondary-file-regexp):
3591 * files.el (null-device, file-name-invalid-regexp)
3592 (locate-dominating-stop-dir-regexp)
3593 (inhibit-first-line-modes-regexps): Purecopy initialization strings.
3594 (interpreter-mode-alist): Use mapcar instead of mapc.
3596 * buff-menu.el (Buffer-menu-mode-map): Purecopy name.
3598 * bindings.el (mode-line-major-mode-keymap): Purecopy name.
3599 (completion-ignored-extensions):
3600 (debug-ignored-errors): Purecopy strings.
3602 2009-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
3604 * pcomplete.el (pcomplete-std-complete): Obey pcomplete-use-paring.
3605 (pcomplete, pcomplete-parse-buffer-arguments, pcomplete-opt)
3606 (pcomplete--here): Use push.
3608 * subr.el (all-completions): Declare the 4th arg obsolete.
3610 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3612 * pcomplete.el (pcomplete-unquote-argument-function): New var.
3613 (pcomplete-unquote-argument): New function.
3614 (pcomplete--common-suffix): Always pay attention to case.
3615 (pcomplete--table-subvert): Quote and unquote the text.
3616 (pcomplete--common-quoted-suffix): New function.
3617 (pcomplete-std-complete): Use it and pcomplete-begin.
3619 * bookmark.el (bookmark-bmenu-list): Don't use switch-to-buffer if
3620 we're inside a dedicated or minibuffer window.
3622 2009-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3624 * cedet/semantic/fw.el (semantic-alias-obsolete)
3625 (semantic-varalias-obsolete): Make the `when' arg mandatory.
3626 (define-mode-overload-implementation):
3627 * cedet/semantic/decorate/mode.el (semantic-decorate-pending-decoration-hooks):
3628 * cedet/semantic/wisent.el (wisent-lex-make-token-table):
3629 * cedet/semantic/util.el (semantic-file-token-stream)
3630 (semantic-something-to-stream):
3631 * cedet/semantic/tag.el (semantic-tag-make-assoc-list)
3632 (semantic-expand-nonterminal):
3633 * cedet/semantic/tag-file.el (semantic-find-nonterminal)
3634 (semantic-find-dependency, semantic-find-nonterminal)
3635 (semantic-find-dependency):
3636 * cedet/semantic/lex.el (semantic-flex-start, semantic-flex-end)
3637 (semantic-flex-text, semantic-flex-make-keyword-table)
3638 (semantic-flex-keyword-p, semantic-flex-keyword-put)
3639 (semantic-flex-keyword-get, semantic-flex-map-keywords)
3640 (semantic-flex-keywords, semantic-flex-buffer, semantic-flex-list):
3641 * cedet/semantic/java.el (semantic-java-prototype-nonterminal):
3642 * cedet/semantic/idle.el (semantic-before-idle-scheduler-reparse-hooks)
3643 (semantic-after-idle-scheduler-reparse-hooks):
3644 * cedet/semantic/edit.el (semantic-edits-incremental-reparse-failed-hooks):
3645 * cedet/semantic/db-mode.el (semanticdb-mode-hooks):
3646 * cedet/semantic.el (semantic-toplevel-bovine-table)
3647 (semantic-toplevel-bovine-cache)
3648 (semantic-before-toplevel-bovination-hook, semantic-init-hooks)
3649 (semantic-init-mode-hooks, semantic-init-db-hooks)
3650 (semantic-bovination-working-type): Provide the `when' arg.
3652 2009-10-24 Karl Fogel <kfogel@red-bean.com>
3654 * bookmark.el: Update documentation, especially documentation
3655 of `bookmark-alist' and of the bookmark file format.
3656 Patch by Drew Adams, with minor tweaks from me. (Bug#4195)
3658 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
3660 * mail/emacsbug.el (report-emacs-bug): Clarify that the
3661 keybindings apply to the mail buffer (Bug#4003). Shrink help
3664 * whitespace.el (whitespace-mode, whitespace-newline-mode)
3665 (global-whitespace-mode, global-whitespace-newline-mode)
3666 (whitespace-toggle-options, global-whitespace-toggle-options):
3669 * nxml/nxml-mode.el (nxml-balanced-close-start-tag): Use the value
3670 of xmltok-start before the end tag was inserted (Bug#2840).
3672 * progmodes/sh-script.el (sh-font-lock-paren): Handle case
3673 patterns that are preceded by an open-paren (Bug#1320).
3675 2009-10-24 Sven Joachim <svenjoac@gmx.de>
3677 * files.el (delete-directory): Delete symlinks to directories with
3678 delete-file (Bug#4739).
3680 2009-10-24 Chong Yidong <cyd@stupidchicken.com>
3682 * cedet/semantic/util.el (semantic-recursive-find-nonterminal-by-name):
3683 * cedet/semantic/tag.el (semantic-token-type-parent): Add WHEN
3684 argument to make-obsolete.
3686 * cedet/semantic/fw.el (semantic-alias-obsolete)
3687 (semantic-varalias-obsolete): Add optional WHEN argument.
3689 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu>
3691 * vc.el (vc-backend-for-registration): Rename from
3692 vc-get-backend-for-registration. Update callers.
3694 * international/mule-cmds.el (set-language-info-alist):
3696 (leim-list-header, leim-list-entry-regexp): Change defvars to defconst.
3697 (charset): Purecopy the name.
3698 (define-char-code-property): Purecopy string arguments.
3700 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
3701 Purecopy string arguments.
3703 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
3704 * ediff-hook.el (menu-bar-ediff-menu):
3705 * buff-menu.el (Buffer-menu-mode-map): Purecopy names and tooltips.
3706 * bookmark.el (menu-bar-bookmark-map): Add :help and purecopy the name.
3708 2009-10-24 Glenn Morris <rgm@gnu.org>
3710 * comint.el (comint-dynamic-list-completions):
3711 * term.el (term-dynamic-list-completions): Use choose-completion rather
3712 than obsolete alias mouse-choose-completion.
3714 * filecache.el (file-cache-completions-keymap): Bind mouse-2 to
3715 file-cache-choose-completion.
3716 (file-cache-choose-completion): Handle an optional event argument.
3717 (file-cache-mouse-choose-completion): Make it an obsolete alias.
3719 * progmodes/octave-mod.el (octave-complete-symbol):
3720 Use choose-completion if mouse-choose-completion is ever removed.
3722 * textmodes/sgml-mode.el (sgml-looking-back-at): Move definition before
3725 * emacs-lisp/checkdoc.el (generate-autoload-cookie): Define for
3728 * vc-hooks.el (vc-responsible-backend): Fix declaration.
3730 2009-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3732 * minibuffer.el (completion--embedded-envvar-table): Fix last change.
3733 Ignore `pred' now that we receive one.
3734 Handle test-completion specially.
3736 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
3738 * vc.el (vc-responsible-backend): Throw an error if not backend is
3739 found. Remove the REGISTER argument. Move the code dealing with
3741 (vc-get-backend-for-registration): ... here. New function.
3742 (vc-deduce-fileset): Call vc-get-backend-for-registration instead
3743 of vc-responsible-backend, pass the file name instead of the
3746 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3748 * pcomplete.el (pcomplete-common-suffix, pcomplete-table-subvert):
3750 (pcomplete-std-complete): Use them. Obey pcomplete-termination-string.
3751 (pcomplete-comint-setup): Don't modify a global var via
3752 accidental side-effects.
3753 (pcomplete-shell-setup): Adjust call accordingly.
3754 (pcomplete-parse-comint-arguments): Use push.
3756 2009-10-23 Chong Yidong <cyd@stupidchicken.com>
3758 * emacs-lisp/checkdoc.el (checkdoc-proper-noun-region-engine):
3759 Allow uncapitalized info node names (Bug#3921).
3761 * mail/emacsbug.el (report-emacs-bug): Tweak the sentence pointing
3762 to the DEBUG file (Bug#3781).
3764 2009-10-23 Jari Aalto <jari.aalto@cante.net>
3766 * textmodes/ispell.el (ispell-dictionary-base-alist): Add finnish
3767 dictionary entry (Bug#4579).
3769 2009-10-23 Michael Albinus <michael.albinus@gmx.de>
3771 * net/tramp.el (top): Remove `tramp-rfn-eshadow-update-overlay'
3772 from `rfn-eshadow-update-overlay-hook' when unloading.
3773 (tramp-methods): Add `tramp-copy-keep-tmpfile' for "rsync" and
3774 "rsyncc". Adjust doc string.
3775 (tramp-temp-buffer-file-name) New buffer-local defvar.
3776 (tramp-handle-insert-file-contents, tramp-handle-write-region):
3777 Keep temporary file when indicated by method ("rsync" and
3779 (tramp-handle-write-region): Handle APPEND.
3780 (tramp-delete-temp-file-function): New defun. Added to
3783 2009-10-23 Juanma Barranquero <lekktu@gmail.com>
3785 * menu-bar.el (cua-enable-cua-keys): Declare for the byte-compiler.
3787 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu>
3789 * term/tty-colors.el (msdos-color-values): Remove declaration, unused.
3790 (color-name-rgb-alist, tty-standard-colors)
3791 (tty-color-mode-alist): Change to defconst.
3793 * simple.el (mark-inactive): Purecopy message.
3795 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle): Fix macro.
3796 (global-map, yank-menu):
3797 * textmodes/ispell.el (ispell-menu-map):
3798 * net/eudc.el (eudc-tools-menu):
3799 * international/mule-cmds.el (describe-language-environment-map)
3800 (setup-language-environment-map, set-coding-system-map)
3802 * vc-hooks.el (vc-menu-entry, vc-menu-map):
3803 * replace.el (occur-mode-map):
3804 * pcvs-defs.el (cvs-global-menu): Purecopy names and tooltips.
3806 2009-10-23 Jay Belanger <jay.p.belanger@gmail.com>
3808 * calc/calc.el (math-read-number, math-read-number-simple): Use
3811 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3813 * simple.el (normal-erase-is-backspace-mode): Use input-decode-map
3814 rather than fiddling with global-map bindings, since it should only
3815 affect per-terminal settings.
3816 See http://bugs.gentoo.org/show_bug.cgi?id=289709.
3818 * minibuffer.el (completion-table-with-terminator): Allow to specify
3819 the terminator-regexp.
3821 * simple.el (switch-to-completions): Look for *Completions* in other
3824 * pcomplete.el: Allow the use of completion-tables.
3825 (pcomplete-std-complete): New command.
3826 (pcomplete-dirs-or-entries): Use a single call to pcomplete-entries.
3827 (pcomplete--here): Use a function for `form' rather than an expression,
3828 so it can be byte-compiled.
3829 (pcomplete-here, pcomplete-here*): Adjust accordingly.
3830 Add edebug declaration.
3831 (pcomplete-show-completions): Remove unused var `curbuf'.
3832 (pcomplete-do-complete, pcomplete-stub):
3833 Don't assume `completions' is a list of strings any more.
3835 2009-10-22 Juanma Barranquero <lekktu@gmail.com>
3837 * find-dired.el (find-name-arg): Fix typo in docstring.
3839 2009-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
3841 * pcmpl-linux.el (pcomplete/kill): Don't abuse pcomplete-entries.
3842 (pcmpl-linux-fs-types): Same, and update to new modules layout.
3844 * pcmpl-gnu.el (pcmpl-gnu-makefile-names): Use a single call to
3847 * comint.el (comint-read-input-ring, comint-write-input-ring)
3848 (comint-substitute-in-file-name)
3849 (comint-dynamic-complete-as-filename)
3850 (comint-dynamic-simple-complete)
3851 (comint-dynamic-list-filename-completions)
3852 (comint-dynamic-list-completions)
3853 (comint-redirect-results-list-from-process): Minor simplifications.
3855 2009-10-21 Kevin Ryde <user42@zip.com.au>
3857 * emacs-lisp/checkdoc.el (checkdoc-file-comments-engine):
3858 When inserting ";;; Code" put it before any ";;;###autoload" cookie on
3859 the first form. And insert a blank line after ";;; Code" since
3860 that's usual style. (Bug#4612)
3862 * net/dns.el: Add "Keywords: comm", as per net/net-utils.el.
3864 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3866 * minibuffer.el (completion-table-with-terminator): Properly implement
3867 boundaries, in case `terminator' appears in the suffix.
3868 (completion--embedded-envvar-table): Don't return boundaries if
3869 there's no valid completion. Simplify.
3870 (completion-file-name-table): New completion table extracted from
3871 completion--file-name-table.
3872 (completion--file-name-table): Use it.
3873 (read-file-name-predicate): Declare obsolete.
3874 (read-file-name): Use the pred arg i.s.o read-file-name-predicate.
3875 * vc-bzr.el (vc-bzr-revision-completion-table): Use the new
3876 completion-file-name-table, and use the `pred' argument.
3877 * files.el (locate-file-completion-table): Use the `pred' arg rather
3878 than read-file-name-predicate.
3879 (abbreviate-file-name): Use \` rather than ^ for BOS.
3881 2009-10-21 Dan Nicolaescu <dann@ics.uci.edu>
3883 * vc.el (vc-deduce-fileset): Undo previous change, do not tell
3884 vc-responsible-backend to register, it causes problems.
3886 2009-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
3888 * help-fns.el: Don't require help-mode (to avoid bootstrap issues).
3890 2009-10-21 Eric Ludlam <zappo@gnu.org>
3892 * cedet/semantic/bovine/c.el (semantic-c-debug-mode-init)
3893 (semantic-c-debug-mode-init-pch): New functions.
3894 (semantic-c-debug-mode-init-last-mode): New var.
3895 (semantic-c-parse-lexical-token): Use them.
3897 * cedet/semantic/lex-spp.el (semantic-lex-spp-anlyzer-do-replace):
3898 When extracting the argument list, limit only by point-max.
3900 2009-10-21 Michael Albinus <michael.albinus@gmx.de>
3902 * net/tramp-smb.el (tramp-smb-get-stat-capability): New defun.
3903 (tramp-smb-handle-file-attributes): Use it.
3904 (tramp-smb-do-file-attributes-with-stat): Don't raise an error.
3905 (tramp-smb-handle-insert-directory): Use `mapc' rather than
3906 `mapcar'. Use `tramp-smb-get-stat-capability'.
3907 Add `dired-filename' text properties.
3908 (tramp-smb-get-cifs-capabilities): Apply `save-match-data'.
3909 (tramp-smb-maybe-open-connection): Simplify check for smbclient
3912 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca>
3914 * subr.el (read-key-delay): Reduce to 0.01.
3915 (read-key): Use read-key-sequence-vector to avoid turning M-t into 244
3918 2009-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
3920 * bindings.el (function-key-map): Map C-@ to C-SPC if C-@ is unbound.
3922 * info.el (Info-complete-menu-item): Handle `boundaries' explicitly.
3923 (Info-menu): Remove unused vars `last' and `completions'.
3924 (Info-index-nodes): Remove unused var `node'.
3926 * info.el (Info-complete-menu-item): Use complete-with-action.
3928 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu>
3930 Make vc-annotate work through copies and renames.
3931 * vc-annotate.el (vc-annotate-extract-revision-at-line):
3932 Return the file name too.
3933 (vc-annotate-revision-at-line)
3934 (vc-annotate-find-revision-at-line)
3935 (vc-annotate-revision-previous-to-line)
3936 (vc-annotate-show-log-revision-at-line): Update to get the file
3937 name from vc-annotate-extract-revision-at-line.
3938 (vc-annotate-show-diff-revision-at-line-internal): Change the
3939 argument to mean whether to show a file diff or not. Get the file
3940 name from vc-annotate-extract-revision-at-line.
3941 (vc-annotate-show-diff-revision-at-line):
3942 Update vc-annotate-show-diff-revision-at-line call.
3943 (vc-annotate-warp-revision): Add an optional file argument.
3945 * vc-git.el (vc-git-annotate-command): Pass -C -C to the blame command.
3946 (vc-git-annotate-extract-revision-at-line): Also return the file
3949 * vc-hg.el (vc-hg-annotate-command): Pass --follow to the annotate
3950 command. Remove unused code.
3951 (vc-hg-annotate-re): Update to match --follow output.
3952 (vc-hg-annotate-extract-revision-at-line): Also return the file
3955 * vc.el: Update annotate-extract-revision-at-line documentation.
3957 2009-10-18 Kevin Ryde <user42@zip.com.au>
3959 * ibuffer.el (ibuffer-confirm-operation-on): Correction to error
3960 re-throw, `err' is a pair not a list so can't use apply (Bug#4740).
3962 * net/browse-url.el (browse-url): Identify alist with "consp and
3963 not functionp" and let all other things go down the `apply' leg,
3964 as suggested by Stefan. (Further to bug#4531.)
3966 2009-10-18 Chong Yidong <cyd@stupidchicken.com>
3968 * minibuffer.el (read-file-name): Check for repeat before putting
3969 a default argument in file-name-history (Bug#4657).
3971 * emacs-lisp/lisp-mode.el (preceding-sexp): Recognize hash table
3972 read syntax (Bug#4737).
3974 * textmodes/sgml-mode.el (sgml-delete-tag): Use sgml-looking-back-at.
3976 2009-10-18 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3978 * textmodes/sgml-mode.el (sgml-tag-help): Prompt user for tag.
3979 (html-tag-alist, html-tag-help): Add descriptions for undocumented
3980 entries and make note of obsolete tags.
3982 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
3984 * net/ange-ftp.el (ange-ftp-file-size): Use unwind-protect.
3986 2009-10-18 Glenn Morris <rgm@gnu.org>
3988 * Makefile.in (compile-last): Ensure GREP_OPTIONS is null before calling
3989 grep, so that binary files (eg international/uni-bidi.el) can match.
3990 Remove test for "UnicodeData" files, since it is hopefully unnecessary
3991 now, and in any case the file header format has changed.
3993 2009-10-17 Glenn Morris <rgm@gnu.org>
3995 * textmodes/flyspell.el (flyspell-large-region, flyspell-word)
3996 (flyspell-get-word, flyspell-large-region)
3997 (flyspell-auto-correct-previous-word): Doc/error message fixes.
3999 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
4001 * Makefile.in (ELCFILES): Add ede/shell.
4003 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu>
4005 * term/common-win.el (x-colors): Purecopy it.
4007 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4009 * tar-mode.el (tar-data-swapped-p): Make the assertion a bit more
4010 permissive for when the buffer is empty.
4011 (tar-header-block-tokenize): Decode the username and groupname.
4012 (tar-chown-entry, tar-chgrp-entry): Encode the names (bug#4730).
4014 2009-10-17 Chong Yidong <cyd@stupidchicken.com>
4016 * cedet/srecode/srt.el:
4017 * cedet/srecode/compile.el:
4018 * cedet/semantic/mru-bookmark.el:
4019 * cedet/semantic/debug.el:
4020 * cedet/semantic/complete.el:
4021 * cedet/semantic/analyze.el: Require CL when compiling.
4023 2009-10-17 Eric Ludlam <zappo@gnu.org>
4025 * cedet/semantic/scope.el
4026 (semantic-analyze-scoped-inherited-tag-map): Wrap calculation of
4027 tmpscope so that the regular scope will continue to work.
4029 * cedet/semantic/idle.el (semantic-idle-tag-highlight):
4030 Use semantic-idle-summary-highlight-face as the highlighting.
4032 * emacs-lisp/eieio-base.el (eieio-persistent-save): If buffer
4033 contains multibyte characters, choose first applicable coding
4034 system automatically.
4036 * cedet/ede/project-am.el (project-run-target): New method.
4037 (project-run-target): New method.
4039 * cedet/ede.el (ede-target): Add run target menu item.
4040 (ede-project, ede-minor-keymap): Add ede-run-target binding.
4041 (ede-run-target): New function.
4042 (ede-target::project-run-target): New method.
4044 * cedet/ede/proj.el (project-run-target): New method.
4046 * cedet/ede/proj-shared.el (ede-gcc-libtool-shared-compiler)
4047 (ede-g++-libtool-shared-compiler): Remove SHELL. Remove COMMANDS.
4049 (ede-proj-target-makefile-shared-object): Only libtool compilers
4050 now available. Add linkers for libtool.
4051 (ede-cc-linker-libtool, ede-g++-linker-libtool): New.
4052 (ede-proj-makefile-target-name): Always use .la extension.
4054 * cedet/ede/proj-prog.el (project-run-target): New method.
4056 * cedet/ede/proj-obj.el (ede-cc-linker): Rename from ede-gcc-linker.
4057 (ede-g++-linker): Change Change link lines.
4059 * cedet/ede/pmake.el (ede-pmake-insert-variable-shared):
4060 When searching for old variables, go to the end of the buffer and
4061 search backward from there.
4062 (ede-proj-makefile-automake-insert-subdirs)
4063 (ede-proj-makefile-automake-insert-extradist): New methods.
4064 (ede-proj-makefile-create): Use them.
4066 * cedet/ede/pconf.el (ede-proj-configure-test-required-file):
4067 Force FILE to expand to the current target. Use file-exists-p to
4068 check that it exists.
4070 * cedet/ede/linux.el (ede-linux-version): Don't call "head".
4071 (ede-linux-load): Wrap dir in file-name-as-directory.
4074 * cedet/ede/files.el (ede-get-locator-object): When enabling
4075 locate, do so on "top".
4077 * cedet/ede/emacs.el (ede-emacs-file-existing): Wrap "dir" in
4078 file-name-as-directory during compare.
4079 (ede-emacs-version): Return Emacs/XEmacs differentiator.
4080 Get version number from different places. Don't call egrep.
4081 (ede-emacs-load): Set :version slot. Call file-name-as-directory
4082 to set the directory.
4084 * cedet/ede/shell.el: New file.
4086 * cedet/inversion.el (inversion-decoders): Allow for stray . in
4087 alpha/beta variants.
4089 2009-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4091 * international/mule-cmds.el (select-safe-coding-system): If the file
4092 has a coding cookie, use it regardless of any other setting (bug#4712).
4094 2009-10-17 Glenn Morris <rgm@gnu.org>
4096 * cedet/semantic/grammar.el (semantic-grammar--lex-delim-spec):
4097 All errors should have messages.
4099 * foldout.el (foldout-mouse-swallow-events):
4100 * gs.el (gs-load-image): Replace obsolete forms of sit-for, sleep-for.
4102 * dired.el (dired-ls-F-marks-symlinks, dired-keep-marker-rename)
4103 (dired-keep-marker-copy, dired-keep-marker-hardlink)
4104 (dired-keep-marker-symlink, dired-dwim-target)
4105 (dired-copy-preserve-time): Do not autoload these defcustoms.
4107 * mail/rmail.el (rmail-write-region-annotate): Prevent viewing different
4108 messages from messing up the file coding. (Bug#4623)
4110 2009-10-17 Jari Aalto <jari.aalto@cante.net>
4112 * textmodes/ispell.el (ispell-get-decoded-string): Give an error
4113 if no match is found for the current dictionary. (Bug#4578)
4115 * textmodes/flyspell.el (flyspell-get-word): Make `following' argument
4116 optional, since that is how it is documented, and this is often called
4117 with a nil argument. (Bug#4577)
4118 (flyspell-external-point-words, flyspell-auto-correct-word)
4119 (flyspell-correct-word-before-point, flyspell-word-search-forward)
4120 (flyspell-word-search-backward): Remove nil argument in calls to
4121 flyspell-get-word, since it is not needed now.
4123 2009-10-17 Ulrich Mueller <ulm@gentoo.org>
4125 * play/doctor.el (doctor-adverbp): Exclude some nouns. (Bug#4565)
4127 2009-10-16 Glenn Morris <rgm@gnu.org>
4129 * net/rcirc.el (rcirc-authenticate): Simplify previous change.
4131 2009-10-16 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4133 * net/ange-ftp.el (ange-ftp-send-cmd): Handle `size' like `mdtm'.
4134 (ange-ftp-file-size): New function.
4135 (ange-ftp-file-attributes): Use it.
4137 2009-10-16 Michael Albinus <michael.albinus@gmx.de>
4139 * net/tramp-smb.el (tramp-smb-version): New defvar.
4140 (tramp-smb-maybe-open-connection): Use it, in order to avoid
4143 2009-10-16 Glenn Morris <rgm@gnu.org>
4145 * emacs-lisp/byte-run.el (define-obsolete-variable-alias): Doc fix.
4146 Maybe copy some custom properties from old to new name. (Bug#4706)
4148 2009-10-16 Juanma Barranquero <lekktu@gmail.com>
4150 * subr.el (error, sit-for, start-process-shell-command)
4151 (start-file-process-shell-command): Set the calling convention
4152 after the function definition.
4154 2009-10-16 Stefan Monnier <monnier@iro.umontreal.ca>
4156 * subr.el (error, sit-for, start-process-shell-command)
4157 (start-file-process-shell-command): Use the new
4158 set-advertised-calling-convention feature.
4160 2009-10-16 Taichi Kawabata <kawabata.taichi@gmail.com>
4162 * international/ucs-normalize.el (ucs-normalize-version):
4164 (check-range): Adjust for Unicode 5.2.
4166 2009-10-15 Juri Linkov <juri@jurta.org>
4168 * menu-bar.el (menu-bar-file-menu): Convert `separator-exit'
4169 to the `menu-item' format.
4171 2009-10-15 Michael Albinus <michael.albinus@gmx.de>
4173 * net/tramp.el (tramp-replace-environment-variables): Do not fail
4174 if the environment variable does not exist.
4176 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
4177 (tramp-smb-get-share, tramp-smb-get-localname): Use only VEC as
4179 (tramp-smb-handle-add-name-to-file)
4180 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
4181 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
4182 (tramp-smb-handle-file-attributes)
4183 (tramp-smb-do-file-attributes-with-stat)
4184 (tramp-smb-handle-file-local-copy)
4185 (tramp-smb-handle-insert-directory)
4186 (tramp-smb-handle-make-directory)
4187 (tramp-smb-handle-make-directory-internal)
4188 (tramp-smb-handle-make-symbolic-link)
4189 (tramp-smb-handle-rename-file, tramp-smb-handle-set-file-modes)
4190 (tramp-smb-handle-write-region, tramp-smb-get-file-entries)
4191 (tramp-smb-maybe-open-connection): Apply the changed parameters.
4192 (tramp-smb-read-file-entry): Read Disk names in compressed format.
4193 Handle long file names.
4194 (tramp-smb-get-cifs-capabilities): Check, whether the connection
4196 (tramp-smb-maybe-open-connection): Trace "smbclient -V" command.
4197 Read share names with "-g" option.
4199 2009-10-15 Ryan Yeske <rcyeske@gmail.com>
4201 * net/rcirc.el (rcirc-view-log-file): New command.
4202 (rcirc-track-minor-mode-map): Remove C-c ` binding.
4203 (rcirc-authenticate, rcirc-authinfo): Allow nickserv-nick to be
4206 2009-10-15 Glenn Morris <rgm@gnu.org>
4208 * w32-fns.el (w32-batch-update-autoloads): Take autoload-make-program
4209 from the second command-line argument.
4210 * makefile.w32-in (autoloads, $(lisp)/calendar/cal-loaddefs.el)
4211 ($(lisp)/calendar/diary-loaddefs.el, $(lisp)/calendar/hol-loaddefs.el)
4212 ($(lisp)/mh-e/mh-loaddefs.el): Pass $(MAKE) as second argument to
4213 w32-batch-update-autoloads.
4214 * emacs-lisp/autoload.el (autoload-make-program): New variable.
4215 (batch-update-autoloads): Handle autoload-excludes on windows-nt.
4217 * mail/rmailedit.el (rmail-cease-edit): Give an error if the end of
4218 the headers cannot be located. Simplify, subtracting superflous
4221 2009-10-15 Stefan Monnier <monnier@iro.umontreal.ca>
4223 Replace completion-base-size by completion-base-position to fix bugs
4225 * simple.el (completion-base-position): New var.
4226 (completion-base-size): Mark as obsolete.
4227 (choose-completion): Make it work for mouse events as well.
4228 Pass the new base-position to choose-completion-string.
4229 (choose-completion-guess-base-position): New function, extracted from
4230 choose-completion-delete-max-match.
4231 (choose-completion-delete-max-match): Use it. Make obsolete.
4232 (choose-completion-string): Use the new base-position info.
4233 (completion-root-regexp): Delete.
4234 (completion-setup-function): Preserve completion-base-position.
4235 Eliminate obsolete base-size manipulation.
4236 * minibuffer.el (display-completion-list): Don't mess with base-size.
4237 (minibuffer-completion-help): Set completion-base-position instead.
4238 * mouse.el (mouse-choose-completion): Redefine as a mere alias to
4240 * textmodes/bibtex.el (bibtex-complete):
4241 * emacs-lisp/crm.el (crm--choose-completion-string):
4242 Adjust to new calling convention.
4243 * complete.el (partial-completion-mode): Use minibufferp to avoid
4244 bumping into incompatible change to choose-completion-string-functions.
4245 * ido.el (ido-choose-completion-string): Make its calling convention
4247 * comint.el (comint-dynamic-list-input-ring-select): Remove obsolete
4248 base-size manipulation.
4249 (comint-dynamic-list-input-ring): Use dotimes and push.
4250 * iswitchb.el (iswitchb-completion-help): Remove dead-code call to
4251 fundamental-mode. Use `or'.
4253 2009-10-14 Juri Linkov <juri@jurta.org>
4255 * misearch.el (multi-isearch-next-buffer-from-list)
4256 (multi-isearch-next-file-buffer-from-list): Doc fix. (Bug#4723)
4258 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4260 * Makefile.in (compile-onefile): Load `bytecomp' rather than
4263 * minibuffer.el (completion-pcm--merge-completions): Make sure the
4264 string we return is all made up of text from the completions rather
4265 than part from the completions and part from the input (bug#4219).
4267 * ido.el (ido-everywhere): Use define-minor-mode.
4269 * buff-menu.el (list-buffers, ctl-x-map):
4270 Mark the entry points with ;;;###autoload cookies.
4272 2009-10-14 Dan Nicolaescu <dann@ics.uci.edu>
4274 * vc-git.el (vc-git-dir-extra-headers): Set the branch name
4275 correctly in the detached head case.
4276 (vc-git-print-log): Remove unused binding.
4278 * vc.el (vc-responsible-backend): When a directory is passed for
4279 for registration create a VC repository if no backend is
4280 responsible for the directory argument.
4281 (vc-deduce-fileset): Tell vc-responsible-backend to register.
4283 * vc.el: Move comments about RCS and SCCS ...
4285 * vc-sccs.el: ... here, respectively.
4287 2009-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
4289 * minibuffer.el (completion--file-name-table): Return nil if there's
4290 no file completion, even if substitute-in-file-name changed
4291 the string (bug#4708).
4293 2009-10-13 Juri Linkov <juri@jurta.org>
4295 * files-x.el (read-file-local-variable-value): Don't filter out
4296 minor modes from mode name completion (bug#4664).
4298 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
4300 * international/mule-cmds.el (ucs-names): Remove exclusion of
4301 "Enclosed Ideographic Supplement" range (U+1F200..U+1F2FF).
4303 2009-10-13 Kenichi Handa <handa@m17n.org>
4305 * international/uni-name.el: Regenerated.
4307 2009-10-13 Juanma Barranquero <lekktu@gmail.com>
4309 * bs.el (bs-mode): Fix last change. (`revert-buffer-function'
4310 should be automatically buffer-local, but isn't.)
4312 2009-10-12 Sam Steingold <sds@gnu.org>
4314 * progmodes/compile.el (compilation-next-error-function): Fix the
4315 timestamps if the buffer has been visited before.
4316 (compilation-mode-font-lock-keywords): Do not prepend "^ *" to
4317 non-anchored patterns, like the perl one (bug#3928).
4319 2009-10-12 Glenn Morris <rgm@gnu.org>
4321 * net/tramp-smb.el (tramp-smb-do-file-attributes-with-stat):
4324 2009-10-12 Juanma Barranquero <lekktu@gmail.com>
4326 * proced.el (proced-unload-function): New function.
4328 * bs.el (bs-mode): Set `revert-buffer-function' to `bs-refresh'.
4329 (bs-refresh): Add IGNORED arg for `revert-buffer' compatibility.
4332 * menu-bar.el (menu-bar-file-menu): Fix format of `separator-exit' item.
4334 2009-10-11 Juri Linkov <juri@jurta.org>
4336 * files-x.el (read-file-local-variable-value):
4337 Provide default value only for bound variables (bug#4664).
4339 2009-10-11 Michael Albinus <michael.albinus@gmx.de>
4341 * net/tramp.el (tramp-local-host-p): Function shall return nil for
4342 connection methods like smb.
4344 * net/tramp-cache.el (tramp-flush-connection-property): The hash
4347 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
4348 (tramp-smb-file-name-handler-alist): Add handlers for
4349 `add-name-to-file', `make-symbolic-link'.
4350 (tramp-smb-handle-add-name-to-file)
4351 (tramp-smb-do-file-attributes-with-stat)
4352 (tramp-smb-handle-make-symbolic-link)
4353 (tramp-smb-get-cifs-capabilities): New defuns.
4354 (tramp-smb-handle-copy-directory, tramp-smb-handle-copy-file)
4355 (tramp-smb-handle-delete-directory, tramp-smb-handle-delete-file)
4356 (tramp-smb-handle-file-local-copy)
4357 (tramp-smb-handle-make-directory-internal)
4358 (tramp-smb-handle-rename-file, tramp-smb-handle-write-region):
4359 The file name syntax depends on cifs capabilities.
4360 (tramp-smb-handle-file-attributes):
4361 Call `tramp-smb-do-file-attributes-with-stat' if possible.
4362 (tramp-smb-handle-insert-directory): Use posix attributes if possible.
4363 (tramp-smb-handle-set-file-modes): It is applicable for posix only.
4365 2009-10-11 Chong Yidong <cyd@stupidchicken.com>
4367 * emacs-lisp/eieio.el: Avoid requiring cl at runtime.
4368 (eieio-defclass): Apply deftype handler and setf-method properties
4370 (eieio-add-new-slot): Avoid union function from cl library.
4371 (eieio--typep): New function.
4372 (eieio-perform-slot-validation): Use it.
4374 2009-10-10 Karl Fogel <kfogel@red-bean.com>
4376 * bookmark.el (bookmark-yank-word, bookmark-insert-current-bookmark):
4377 Update documentation to refer to the variables documented in r1.135.
4380 2009-10-10 Karl Fogel <kfogel@red-bean.com>
4382 * bookmark.el (Info-suffix-list): Remove this unused variable.
4383 (bookmark-current-point): Remove this obsolete variable.
4384 (bookmark-set, bookmark-rename, bookmark-send-edited-annotation):
4385 Adjust for removal of bookmark-current-point.
4387 (bookmarks-already-loaded, bookmark-current-buffer)
4388 (bookmark-yank-point): Document. (Bug#4188)
4390 2009-10-10 Glenn Morris <rgm@gnu.org>
4392 * frame.el (frame-height): Doc fix.
4394 * calendar/calendar.el (calendar-split-width-threshold): New option.
4395 (calendar-basic-setup): Use calendar-split-width-threshold.
4397 2009-10-10 Sascha Wilde <wilde@sha-bang.de>
4399 * cedet/ede/proj-shared.el (ede-proj-makefile-target-name):
4400 Use .la for Automake.
4402 2009-10-09 Chong Yidong <cyd@stupidchicken.com>
4404 * cedet/ede/pconf.el (ede-proj-configure-synchronize):
4405 Use "autoreconf -i". Suggested by Andreas Schwab.
4407 2009-10-09 Juanma Barranquero <lekktu@gmail.com>
4409 * international/mule-cmds.el (ucs-names): Exclude new "Enclosed
4410 Ideographic Supplement" range (U+1F200..U+1F2FF).
4412 2009-10-09 Karl Fogel <kfogel@red-bean.com>
4414 * bookmark.el (bookmark-bmenu-rename): Don't call bookmark-bmenu-list,
4415 since the list will have been rebuilt anyway. (Bug#4349)
4417 2009-10-09 Karl Fogel <kfogel@red-bean.com>
4419 * bookmark.el (bookmark-delete): Don't let batch arg prevent saving.
4420 (bookmark-bmenu-execute-deletions): Don't save here, as
4421 bookmark-delete will now do so if necessary.
4422 Suggested by Thierry Volpiatto <thierry.volpiatto {_AT_} gmail.com>.
4425 2009-10-09 Glenn Morris <rgm@gnu.org>
4427 * mail/emacsbug.el (report-emacs-bug): Also print `features'.
4429 2009-10-09 Karl Fogel <kfogel@red-bean.com>
4431 * bookmark.el (bookmark-jump): Add new `display-func' parameter.
4432 (bookmark-jump-other-window): Just invoke bookmark-jump with new
4433 argument now, so the two function's behaviors will match. (Bug#3645)
4435 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
4437 * cedet/ede/proj.el (project-make-dist, project-compile-project):
4439 (ede-proj-dist-makefile): Use expand-file-name instead of concat
4440 to expand file names.
4442 2009-10-08 Michael Albinus <michael.albinus@gmx.de>
4444 * net/tramp.el (tramp-file-name-real-user, tramp-file-name-domain)
4445 (tramp-file-name-real-host, tramp-file-name-port):
4446 Apply `save-match-data'.
4448 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Handle the
4449 case both directories are remote.
4450 (tramp-smb-handle-expand-file-name): Implement "~" expansion.
4451 (tramp-smb-maybe-open-connection): Flush the cache only if necessary.
4453 2009-10-08 Chong Yidong <cyd@stupidchicken.com>
4455 * cedet/ede/proj-obj.el (ede-gcc-linker): New var.
4456 (ede-proj-target-makefile-objectcode): Use it.
4458 * cedet/ede/source.el (ede-want-any-source-files-p)
4459 (ede-want-any-auxiliary-files-p, ede-want-any-files-p):
4460 Return search result. This error was introduced while merging.
4462 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
4464 * makefile.w32-in (WINS_UPDATES): Fix typo in previous change.
4466 2009-10-07 Glenn Morris <rgm@gnu.org>
4468 * emacs-lisp/autoload.el (batch-update-autoloads): Remove useless use
4471 2009-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4473 * files-x.el (read-file-local-variable): Include some
4474 non-user-variables in the completion table (bug#4664).
4476 2009-10-07 Michael Albinus <michael.albinus@gmx.de>
4478 * net/tramp-cache.el (tramp-flush-connection-property): Add trace
4481 * net/tramp-smb.el (tramp-smb-errors): Add error messages.
4482 (tramp-smb-file-name-handler-alist): Add handler for
4483 `copy-directory', `expand-file-name', `set-file-modes'.
4484 (tramp-smb-handle-copy-directory)
4485 (tramp-smb-handle-expand-file-name)
4486 (tramp-smb-handle-set-file-modes): New defuns.
4487 (tramp-smb-handle-copy-file): Handle KEEP-DATE.
4488 (tramp-smb-handle-file-attributes): Simplify check for retrieving
4490 (tramp-smb-handle-insert-directory): Don't flush the cache.
4491 (tramp-smb-maybe-open-connection): Check for samba client and
4494 2009-10-07 Eli Zaretskii <eliz@gnu.org>
4496 * emacs-lisp/autoload.el (batch-update-autoloads): Fix last change
4497 to not error out of search for "^lisp=" fails.
4499 2009-10-07 Juanma Barranquero <lekktu@gmail.com>
4501 * makefile.w32-in (WINS_UPDATES): New macro.
4502 (custom-deps, finder-data, autoloads): Use it.
4504 2009-10-07 Glenn Morris <rgm@gnu.org>
4506 * Makefile.in (autoloads): Revert previous change.
4507 * emacs-lisp/autoload.el (batch-update-autoloads): Rather than having
4508 the list of preloaded files passed on the command-line, get
4509 it from src/Makefile.
4511 * calendar/calendar.el (calendar-basic-setup): In the wide frame case,
4512 show the original buffer rather than a random one.
4514 2009-10-07 Markus Rost <rost@math.uni-bielefeld.de>
4516 * help.el (describe-no-warranty): Place point in a slightly better
4517 position in the GPLv3 text.
4519 2009-10-06 Sam Steingold <sds@gnu.org>
4521 * net/tramp-compat.el (tramp-compat-process-running-p): Check that
4522 the comm attribute is present before calling regexp-quote.
4524 2009-10-06 Juanma Barranquero <lekktu@gmail.com>
4526 * play/animate.el (animate-string): For good effect, make sure
4527 `indent-tabs-mode' and `show-trailing-whitespace' are nil.
4529 * play/animate.el (animate-sequence, animate-birthday-present):
4530 * misc.el (butterfly): Don't set `indent-tabs-mode'.
4532 2009-10-06 Glenn Morris <rgm@gnu.org>
4534 * emacs-lisp/byte-run.el (define-obsolete-face-alias): Doc fix.
4536 * emacs-lisp/autoload.el (autoload-excludes): New variable.
4537 (autoload-generate-file-autoloads): Skip files in autoload-excludes.
4538 (batch-update-autoloads): Process a string value of autoload-excludes,
4539 set during the build process.
4540 * Makefile.in (autoloads): Skip preloaded files. (Bug#4446)
4542 * net/tramp.el (tramp-handle-start-file-process): Move tramp-error call
4543 inside with-parsed... macro so that `v' is defined.
4545 * progmodes/f90.el (f90-end-of-block, f90-beginning-of-block):
4546 * progmodes/fortran.el (fortran-end-of-block)
4547 (fortran-beginning-of-block):
4548 Also push mark in the macro case.
4550 * emerge.el (emerge-show-file-name):
4551 * calc/calc.el (calc-quit):
4552 * calc/calc-misc.el (calc-big-or-small):
4553 * calc/calc-graph.el (calc-graph-view):
4554 * calc/calc-ext.el (calc-reset):
4555 * calendar/calendar.el (calendar-basic-setup):
4556 Use window-full-height-p.
4558 * mail/rmailedit.el (rmail-cease-edit): If there is a Content-Type
4559 header we don't understand, don't insert another. (Bug#4624)
4560 If changing mime charset, insert the new one in the right place.
4562 2009-10-06 Matthew Junker <matthew.junker@sbcglobal.net> (tiny change)
4564 * calendar/cal-tex.el (cal-tex-cursor-month-landscape)
4565 (cal-tex-cursor-month): Correctly increment the end date for diary and
4566 holiday listing. (Bug#4626)
4568 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4570 * help-fns.el (describe-function-1): Don't burp if the function is not
4573 2009-10-05 Juanma Barranquero <lekktu@gmail.com>
4575 * emacs-lisp/chart.el (chart-face-pixmap-list, chart-new-buffer, chart)
4576 (chart-axis-range, chart-axis-names, chart-sequece, chart-bar)
4577 (chart-draw, chart-axis-draw, chart-sort, chart-sort-matchlist)
4578 (chart-draw-line, chart-bar-quickie): Fix typos in docstrings.
4580 * emacs-lisp/eieio.el (generic-p, eieiomt-next, eieio-generic-form)
4581 (eieio-default-superclass): Reflow docstrings.
4582 (this, class-option-assoc, defclass, eieio-class-un-autoload)
4583 (eieio-unbind-method-implementations, defmethod)
4584 (eieio-validate-slot-value, eieio-validate-class-slot-value)
4585 (oref-default, eieio-oref-default, eieio-oset, eieio-oset-default)
4586 (with-slots, eieio-add-new-slot, object-assoc, object-remove-from-list)
4587 (eieio-slot-originating-class-p, eieio-slot-name-index)
4588 (eieio-pre-method-execution-hooks, eieio-initarg-to-attribute)
4589 (constructor, initialize-instance, no-next-method, object-print)
4590 (object-write, eieio-override-prin1, eieio-edebug-prin1-to-string):
4591 Fix typos in docstrings.
4592 (eieio-defclass, eieio-perform-slot-validation-for-default, defgeneric)
4593 (child-of-class-p, object-slots, slot-boundp, slot-exists-p)
4594 (next-method-p): Doc fixes.
4595 (eieio-add-new-slot, call-next-method, eieiomt-add, change-class):
4596 Fix typos in error messages.
4597 (eieio-defmethod): Fix typo in description of generic method.
4599 * emacs-lisp/eieio-base.el (eieio-instance-inheritor, slot-unbound)
4600 (eieio-persistent-save-interactive, slot-missing):
4601 Fix typos in docstrings.
4602 (eieio-instance-inheritor-slot-boundp): Doc fix.
4604 * emacs-lisp/eieio-comp.el (byte-compile-file-form-defmethod)
4605 (byte-compile-defmethod-param-convert): Fix typos in docstrings.
4607 * emacs-lisp/eieio-custom.el (eieio-done-customizing)
4608 (eieio-custom-object-apply-reset):
4609 Fix typos in docstrings and error messages.
4611 * emacs-lisp/eieio-datadebug.el (data-debug-show):
4612 Fix typo in docstring.
4614 * emacs-lisp/eieio-opt.el (top): Fix typo in error message.
4615 (eieio-browse-tree): Doc fix.
4616 (eieio-all-generic-functions, eieio-class-speedbar): Reflow docstrings.
4617 (eieio-help-mode-augmentation-maybee, eieio-class-speedbar-make-map):
4618 Fix typos in docstrings.
4620 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-file-button): Doc fix.
4621 (eieio-speedbar-key-map, eieio-speedbar-create-engine)
4622 (eieio-speedbar-buttons, eieio-speedbar, eieio-speedbar-object-children)
4623 (eieio-speedbar-make-tag-line, eieio-speedbar-object-expand):
4626 2009-10-05 Dan Nicolaescu <dann@ics.uci.edu>
4628 * vc-hg.el (log-view-vc-backend): Declare for compiler.
4629 (vc-hg-outgoing-mode, vc-hg-incoming-mode):
4630 Set log-view-vc-backend so that diff can work.
4632 * log-view.el (log-view-diff): Use vc-diff-internal instead of
4634 (vc-diff-internal): Autoload this instead of vc-version-diff.
4636 2009-10-05 Eli Zaretskii <eliz@gnu.org>
4638 * simple.el (eval-expression): Doc fix.
4640 * progmodes/cwarn.el (cwarn-mode): Doc fix.
4642 2009-10-05 Michael Albinus <michael.albinus@gmx.de>
4644 * files.el (directory-files-no-dot-files-regexp): New defconst.
4645 (delete-directory): Use it.
4646 (copy-directory): Use it. Remove parameter PRESERVE-UID-GID.
4648 * net/tramp.el (tramp-verbose): Fix docstring.
4649 (tramp-methods): Add recursive option to `tramp-copy-args'.
4650 Add `tramp-copy-recursive'. Valid for "rcp", "scp", "scp1", "scp2",
4651 "scp1_old", "scp2_old", "rsync", "rsyncc".
4652 (tramp-default-method): Check also for `auth-source-user-or-password'.
4653 (tramp-file-name-handler-alist, tramp-file-name-for-operation):
4654 Add handler for `copy-directory'.
4655 (tramp-handle-copy-directory): New defun.
4656 (tramp-do-copy-or-rename-file-out-of-band): Handle directory case.
4657 (tramp-handle-start-file-process): Raise an error when PROGRAM is nil.
4658 Optimize sent command.
4660 2009-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4662 * calendar/diary-lib.el (diary-show-all-entries): Re-fit the calendar
4663 window if necessary.
4665 * calendar/calendar.el (calendar-basic-setup): Don't call
4666 switch-to-buffer in a dedicated window.
4668 2009-10-05 Karl Fogel <kfogel@red-bean.com>
4670 * bookmark.el (bookmark-handle-bookmark): If bookmark has no file,
4671 don't do anything related to relocating, just return nil.
4672 (bookmark-error-no-filename): New error.
4673 (bookmark-default-handler): Signal `bookmark-error-no-filename' if
4674 bookmark has no file. Don't even attempt to handle things that
4675 are not files; the whole point of custom handlers is to keep that
4676 knowledge elsewhere anyway. Tighten some comments.
4677 (bookmark-file-or-variation-thereof): Remove now-unused function.
4678 (bookmark-location): Doc string fix.
4681 2009-10-04 Karl Fogel <kfogel@red-bean.com>
4683 * bookmark.el (bookmark-handle-bookmark): When relocating a bookmark,
4684 don't use a file dialog, because they usually don't know how to read
4685 a directory target from the user. (Bug#4230)
4686 Also, make sure the prompt can display directories as well as files.
4688 2009-10-04 Karl Fogel <kfogel@red-bean.com>
4690 * bookmark.el (bookmark-set, bookmark-buffer-name):
4691 Improve doc strings. (Bug#1193)
4693 2009-10-04 Karl Fogel <kfogel@red-bean.com>
4695 * bookmark.el (bookmark-get-bookmark, bookmark-get-bookmark-record)
4696 (bookmark-set-name, bookmark-prop-get, bookmark-prop-set)
4697 (bookmark-get-annotation, bookmark-set-annotation)
4698 (bookmark-get-filename, bookmark-set-filename, bookmark-get-position)
4699 (bookmark-set-position, bookmark-get-front-context-string)
4700 (bookmark-set-front-context-string, bookmark-get-rear-context-string)
4701 (bookmark-set-rear-context-string, bookmark-location, bookmark-jump)
4702 (bookmark-jump-other-window, bookmark-handle-bookmark)
4703 (bookmark-relocate, bookmark-insert-location, bookmark-rename)
4704 (bookmark-insert, bookmark-delete, bookmark-time-to-save-p)
4705 (bookmark-edit-annotation-mode, bookmark-edit-annotation):
4706 Improve doc strings to say whether bookmark can be a string or
4707 a record or both, and make other consistency and clarity fixes.
4708 (bookmark-get-handler, bookmark--jump-via, bookmark-write-file)
4709 (bookmark-default-annotation-text, bookmark-yank-word)
4710 (bookmark-maybe-load-default-file, bookmark-maybe-sort-alist)
4711 (bookmark-import-new-list, bookmark-maybe-rename)
4712 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames)
4713 (bookmark-bmenu-bookmark): Give these doc strings.
4714 (bookmark-bmenu-check-position): Give this a doc string, but also
4715 add a FIXME comment about how the function may be pointless.
4716 (bookmark-default-handler): Rework doc string and change a
4717 parameter name, to clarify that this takes a bookmark record
4718 not a bookmark name.
4719 (bookmark-set): Change a parameter name to indicate its meaning,
4720 and improve the doc string a bit.
4723 2009-10-04 Karl Fogel <kfogel@red-bean.com>
4725 * bookmark.el (bookmark-alist): Document the new `handler' element
4727 (bookmark-make-record-function): Adjust documentation for above.
4730 2009-10-04 Karl Fogel <kfogel@red-bean.com>
4732 * info.el (Info-bookmark-make-record): Document this function.
4733 (Info-bookmark-jump): Document with a doc string, not just a comment.
4736 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
4738 * cedet/semantic.el (semantic-new-buffer-setup-functions): New option.
4739 (semantic-new-buffer-fcn): Call parser setup functions here.
4740 (semantic-mode): Don't call parser setup functions here, it's done
4741 in semantic-new-buffer-fcn now.
4742 (semantic-mode): Parse all existing buffers when enabled.
4744 * cedet/srecode/compile.el (srecode-compile-file):
4745 Call semantic-new-buffer-fcn if the buffer has not been parsed.
4747 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
4749 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): Delete.
4751 * cedet/ede/proj-comp.el: Don't require ede/pmake at toplevel.
4752 (proj-comp-insert-variable-once): New macro, renamed from
4753 ede-pmake-insert-variable-once in ede/pmake.edl.
4754 (ede-proj-makefile-insert-variables): Use it.
4756 2009-10-04 Michael Albinus <michael.albinus@gmx.de>
4758 * files.el (copy-directory): New defun.
4760 * dired-aux.el (dired-copy-file-recursive): Use it.
4762 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
4764 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
4765 (makefile-end-of-command):
4766 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
4767 (semantic-end-of-context): Fix previous change. Doc fixes.
4769 2009-10-04 Juanma Barranquero <lekktu@gmail.com>
4771 * files-x.el (modify-dir-local-variable)
4772 (copy-dir-locals-to-file-locals-prop-line):
4773 * cedet/ede/makefile-edit.el (makefile-beginning-of-command)
4774 (makefile-end-of-command):
4775 * cedet/semantic/lex.el (semantic-lex-token):
4776 * cedet/semantic/analyze/fcn.el
4777 (semantic-analyze-dereference-metatype-1):
4778 * cedet/semantic/bovine/c.el (semantic-lex-cpp-define)
4779 (semantic-lex-cpp-undef):
4780 * cedet/semantic/wisent/wisent.el (wisent-skip-block):
4781 * cedet/srecode/srt-mode.el (semantic-beginning-of-context)
4782 (semantic-end-of-context): Fix typos in docstrings.
4784 * recentf.el (recentf-unload-function): New function.
4786 2009-10-04 Chong Yidong <cyd@stupidchicken.com>
4788 * cedet/ede.el (ede-project-placeholder-cache-file):
4789 * cedet/semantic/db-file.el (semanticdb-default-save-directory):
4790 * cedet/srecode/map.el (srecode-map-save-file):
4791 Use locate-user-emacs-file. Suggested by Juanma Barranquero.
4793 2009-10-04 Glenn Morris <rgm@gnu.org>
4795 * window.el (window-full-height-p): Add doc string.
4797 2009-10-04 Martin Rudalics <rudalics@gmx.at>
4799 * window.el (window-full-height-p): New function. (Bug#4543)
4801 2009-10-03 Chong Yidong <cyd@stupidchicken.com>
4803 * cedet/srecode/insert.el: Require srecode/args.
4805 * cedet/srecode/args.el: Require srecode/dictionary instead of
4808 * cedet/srecode/srt-mode.el (srecode-template-mode): Doc fix.
4810 * files.el (auto-mode-alist): Add .srt and Project.ede.
4812 * cedet/semantic.el (semantic-mode):
4813 Handle srecode-template-mode-hook as well.
4814 (semantic-mode): Use js-mode-hook for Javascript hook.
4816 * cedet/srecode/template.el: Remove hook variable.
4818 * cedet/ede/proj-comp.el: Require ede/pmake when compiling.
4820 * cedet/ede.el (ede-target-forms-menu): Don't enable if no
4822 (ede-project-placeholder-cache-file): Default to a file in
4823 user-emacs-directory.
4825 * cedet/srecode/map.el (srecode-map-base-template-dir): Look for
4826 templates in data-directory.
4827 (srecode-map-save-file): Default to a file in user-emacs-directory.
4829 * cedet/ede/srecode.el (ede-srecode-setup): Use default templates
4832 2009-09-30 Eric Ludlam <zappo@gnu.org>
4834 * cedet/semantic/util-modes.el (semantic-highlight-func-mode):
4837 * cedet/ede/proj-comp.el (ede-proj-makefile-insert-variables):
4838 Only insert each variable once.
4840 * cedet/ede/pmake.el (ede-pmake-insert-variable-once): New macro.
4841 (ede-pmake-insert-variable-shared): Use it.
4843 * cedet/ede/cpp-root.el (ede-preprocessor-map): Do not deref table
4844 for lexical table iff table is nil.
4846 2009-10-03 Dan Nicolaescu <dann@ics.uci.edu>
4848 * vc.el: Remove commented out code.
4849 (vc-derived-from-dir-mode): Remove, unused.
4850 (vc-version-diff, vc-diff): Consistently pass t to vc-deduce-fileset.
4852 2009-10-03 Michael Albinus <michael.albinus@gmx.de>
4854 * net/tramp-ftp.el (tramp-ftp-file-name-handler):
4855 Disable `file-name-handler-alist' when loading 'ange-ftp. Otherwise,
4856 there could be recursive loading when `default-directory' is a
4857 remote file name. (Bug#4614)
4859 2009-10-03 Glenn Morris <rgm@gnu.org>
4861 * calendar/calendar.el (calendar-basic-setup): Handle the case where
4863 (calendar-generate-window): Test for shrinkability rather than width.
4865 * cedet/semantic/db-find.el (data-debug-insert-tag-list): Comment out
4866 declaration, currently false.
4868 * mail/rmail.el (rmail-generate-viewer-buffer): Be more careful about
4869 reusing existing buffers, in case we happen to visit two files with the
4870 same basename. (Bug#4593)
4872 2009-10-02 Eli Zaretskii <eliz@gnu.org>
4874 * makefile.w32-in (update-subdirs-CMD): Add cedet to $(WINS_SUBDIR).
4875 (WINS_CEDET_SUBDIRS): List of subdirectories of cedet.
4876 (bootstrap-clean-CMD, bootstrap-clean-SH): Remove *.elc files in
4877 subdirs of cedet as well.
4878 (AUTOGENEL): Add loaddefs.el files in cedet subdirectories.
4880 2009-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
4882 * emacs-lisp/eldoc.el (eldoc-get-fnsym-args-string):
4883 Obey advertised-signature-table.
4885 * help-fns.el (help-function-arglist): Don't check
4886 advertised-signature-table.
4887 (describe-function-1): Do it here instead so it also applies to subrs.
4889 2009-10-02 Michael Albinus <michael.albinus@gmx.de>
4891 * simple.el (start-file-process): Say in the doc-string, that file
4892 handlers might not support pty association, if PROGRAM is nil.
4894 * net/ange-ftp.el (ange-ftp-generate-passwd-key): Check, whether
4895 HOST and USER are strings. They are nil, when there are
4896 incomplete entries in ~/.netrc, for example.
4897 (ange-ftp-delete-directory): Implement RECURSIVE case. Change to
4898 root directory ("device busy" error otherwise).
4900 * net/tramp-smb.el (tramp-smb-handle-make-directory-internal):
4901 Flush file properties of created directory.
4903 2009-10-02 Eli Zaretskii <eliz@gnu.org>
4905 * makefile.w32-in (WINS_BASIC): Remove cedet.
4906 (WINS_CEDET): Add cedet.
4907 (update-subdirs-SH): Use $(WINS_SUBDIR), not $(WINS).
4909 2009-10-02 Kevin Ryde <user42@zip.com.au>
4911 * net/browse-url.el (browse-url): Pass any symbol in
4912 browse-url-browser-function to `apply', since if you've mistakenly put
4913 an unbound symbol then the error is clearer. (Bug#4531)
4915 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
4917 * allout.el (allout-init, allout-back-to-current-heading)
4918 (allout-beginning-of-current-entry, allout-ascend-to-depth)
4919 (allout-ascend, allout-up-current-level, allout-end-of-level)
4920 (allout-previous-visible-heading, allout-forward-current-level)
4921 (allout-backward-current-level, allout-show-children):
4922 * apropos.el (apropos-describe-plist):
4923 * bookmark.el (bookmark-maybe-historicize-string, bookmark-bmenu-list):
4924 * comint.el (comint-strip-ctrl-m, comint-goto-process-mark):
4925 * completion.el (add-completion, add-permanent-completion):
4926 * descr-text.el (describe-text-category, describe-char):
4927 * desktop.el (desktop-lazy-abort):
4928 * dired-x.el (dired-omit-expunge, dired-x-bind-find-file):
4929 * dired.el (dired-build-subdir-alist):
4930 * ediff.el (ediff-version):
4931 * elide-head.el (elide-head, elide-head-show):
4932 * emerge.el (emerge-version):
4934 * face-remap.el (variable-pitch-mode):
4935 * faces.el (describe-face):
4936 * ffap.el (ffap-next-url, find-file-at-point, ffap-at-mouse)
4938 * files.el (find-file-existing, auto-save-mode):
4939 * font-lock.el (font-lock-fontify-buffer):
4940 * help-fns.el (describe-function, describe-variable)
4941 (describe-syntax, describe-categories):
4942 * help.el (view-lossage, describe-bindings, describe-key)
4944 * hexl.el (hexl-current-address):
4945 * hi-lock.el (hi-lock-mode, hi-lock-find-patterns):
4946 * info.el (Info-goto-emacs-key-command-node):
4947 * log-edit.el (log-edit-insert-cvs-template)
4948 (log-edit-insert-cvs-rcstemplate):
4949 * menu-bar.el (menu-bar-mode):
4950 * mouse.el (mouse-appearance-menu):
4951 * newcomment.el (comment-indent-new-line):
4952 * pgg.el (pgg-save-coding-system, pgg-encrypt-region)
4953 (pgg-encrypt-symmetric-region, pgg-encrypt-symmetric)
4954 (pgg-encrypt, pgg-decrypt-region, pgg-decrypt)
4955 (pgg-sign-region, pgg-sign, pgg-verify-region, pgg-verify):
4956 * recentf.el (recentf-mode):
4957 * savehist.el (savehist-mode, savehist-save):
4958 * shadowfile.el (shadow-copy-files):
4959 * simple.el (kill-ring-save, next-line, previous-line)
4960 (normal-erase-is-backspace-mode):
4961 * strokes.el (strokes-update-window-configuration)
4962 (strokes-load-user-strokes, strokes-prompt-user-save-strokes)
4963 (strokes-xpm-for-stroke):
4964 * time.el (emacs-uptime, emacs-init-time):
4965 * tutorial.el (tutorial--describe-nonstandard-key)
4966 (tutorial--detailed-help):
4967 * type-break.el (type-break-mode)
4968 (type-break-mode-line-message-mode, type-break-query-mode)
4969 (type-break-guesstimate-keystroke-threshold):
4970 * vc.el (vc-version-diff, vc-diff, vc-root-diff):
4971 * version.el (emacs-version):
4972 * vt-control.el (vt-keypad-on, vt-keypad-off, vt-numlock):
4973 * winner.el (winner-mode):
4974 * calendar/timeclock.el (timeclock-in, timeclock-out)
4975 (timeclock-status-string, timeclock-change)
4976 (timeclock-workday-remaining-string)
4977 (timeclock-workday-elapsed-string)
4978 (timeclock-when-to-leave-string):
4979 * calendar/todo-mode.el (todo-add-category):
4980 * emacs-lisp/advice.el (ad-enable-regexp, ad-disable-regexp):
4981 * emacs-lisp/autoload.el (update-file-autoloads):
4982 * emacs-lisp/checkdoc.el (checkdoc-current-buffer)
4983 (checkdoc-start, checkdoc-continue, checkdoc-rogue-spaces)
4984 (checkdoc-message-text, checkdoc-defun):
4985 * emacs-lisp/debug.el (debugger-list-functions):
4986 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4987 * emacs-lisp/eieio-opt.el (eieio-describe-class)
4988 (eieio-describe-generic):
4989 * emacs-lisp/lisp-mnt.el (lm-synopsis):
4990 * emacs-lisp/shadow.el (list-load-path-shadows):
4991 * emulation/cua-base.el (cua-mode):
4992 * emulation/edt.el (edt-set-scroll-margins):
4993 * emulation/tpu-edt.el (tpu-toggle-newline-and-indent)
4994 (tpu-toggle-regexp, tpu-toggle-search-direction)
4995 (tpu-toggle-rectangle, tpu-toggle-control-keys):
4996 * emulation/tpu-extras.el (tpu-set-scroll-margins):
4997 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
4998 (viper-set-parsing-style-toggling-macro)
4999 (viper-set-emacs-state-searchstyle-macros):
5000 * emulation/viper.el (viper-set-hooks):
5001 * eshell/esh-mode.el (eshell-truncate-buffer):
5002 * international/mule-cmds.el (prefer-coding-system)
5003 (describe-input-method, describe-language-environment):
5004 * international/mule-diag.el (list-character-sets)
5005 (describe-character-set, describe-coding-system)
5006 (describe-fontset, list-fontsets, list-input-methods):
5007 * mail/sendmail.el (mail-signature):
5008 * net/ange-ftp.el (ange-ftp-copy-file):
5009 * net/browse-url.el (browse-url):
5010 * net/eudc.el (eudc-set-server, eudc-get-attribute-list):
5011 * net/quickurl.el (quickurl-add-url):
5012 * net/rcirc.el (names, topic):
5013 * net/xesam.el (xesam-mode):
5014 * play/5x5.el (5x5-new-game):
5015 * play/yow.el (apropos-zippy):
5016 * progmodes/ada-mode.el (ada-mode-version):
5017 * progmodes/f90.el (f90-beginning-of-subprogram, f90-end-of-subprogram)
5019 (f90-beginning-of-block):
5020 * progmodes/fortran.el (fortran-end-of-block)
5021 (fortran-beginning-of-block):
5022 * progmodes/js.el (js-syntactic-context, js-gc, js-eval):
5023 * progmodes/python.el (python-describe-symbol, python-shell):
5024 * term/ns-win.el (ns-print-buffer):
5025 * textmodes/bibtex.el (bibtex-end-of-entry, bibtex-url):
5026 * textmodes/flyspell.el (flyspell-mode-on):
5027 * textmodes/page-ext.el (set-page-delimiter, pages-directory)
5028 (pages-directory-for-addresses):
5029 * textmodes/table.el (table-recognize-cell)
5030 (table-query-dimension, table-generate-source)
5031 (table-insert-sequence, table--warn-incompatibility):
5032 * textmodes/tex-mode.el (tex-validate-buffer):
5033 * textmodes/texinfmt.el (texinfmt-version)
5034 (texinfo-format-buffer):
5035 Use `called-interactively-p' instead of `interactive-p'.
5037 2009-10-02 Juanma Barranquero <lekktu@gmail.com>
5039 * image-mode.el (image-toggle-display):
5040 * emacs-lisp/elp.el (elp-instrument-function):
5041 * emacs-lisp/advice.el (ad-make-advised-definition):
5042 * emacs-lisp/easy-mmode.el (define-minor-mode):
5043 * net/browse-url.el (browse-url-maybe-new-window):
5044 * progmodes/sh-script.el (sh-learn-buffer-indent):
5045 Pass new argument 'any to `called-interactively-p'.
5047 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
5049 * international/uni-bidi.el:
5050 * international/uni-category.el:
5051 * international/uni-combining.el:
5052 * international/uni-comment.el:
5053 * international/uni-decimal.el:
5054 * international/uni-decomposition.el:
5055 * international/uni-digit.el:
5056 * international/uni-lowercase.el:
5057 * international/uni-mirrored.el:
5058 * international/uni-name.el:
5059 * international/uni-numeric.el:
5060 * international/uni-old-name.el:
5061 * international/uni-titlecase.el:
5062 * international/uni-uppercase.el:
5063 Regenerate from Unicode 5.2.0 data.
5065 2009-10-01 Glenn Morris <rgm@gnu.org>
5067 * Makefile.in (ELCFILES): Regenerate.
5069 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5071 * subr.el (interactive-p): Mark obsolete.
5072 (called-interactively-p): Make the optional-ness of `kind' obsolete.
5073 * emacs-lisp/bytecomp.el (byte-compile-fdefinition): Make it obey
5074 advertised-signature-table for subroutines as well.
5076 * emacs-lisp/byte-run.el (advertised-signature-table): New var.
5077 (set-advertised-calling-convention): New function.
5078 (make-obsolete, define-obsolete-function-alias)
5079 (make-obsolete-variable, define-obsolete-variable-alias):
5080 Make the optional-ness of `when' obsolete.
5081 (define-obsolete-face-alias): Make `when' non-optional.
5082 * help-fns.el (help-function-arglist):
5083 * emacs-lisp/bytecomp.el (byte-compile-fdefinition):
5084 Use advertised-signature-table.
5086 2009-10-01 Michael Albinus <michael.albinus@gmx.de>
5088 * files.el (delete-directory): New defun. The original function
5089 in fileio.c has been renamed to `delete-directory-internal'.
5091 * dired.el (dired-delete-file): Call `delete-directory' with
5092 RECURSIVE parameter.
5094 * net/ange-ftp.el (ange-ftp-delete-directory): Add optional
5095 parameter RECURSIVE. Implementation is missing.
5097 * net/tramp.el (tramp-handle-make-directory): Flush upper
5098 directory's file properties.
5099 (tramp-handle-delete-directory): Handle optional parameter RECURSIVE.
5100 (tramp-handle-dired-recursive-delete-directory): Flush directory
5101 properties after the remove command only.
5103 * net/tramp-fish.el (tramp-fish-handle-delete-directory):
5104 Handle optional parameter RECURSIVE.
5106 * net/tramp-gvfs.el (tramp-gvfs-handle-delete-directory):
5107 Handle optional parameter RECURSIVE.
5109 * net/tramp-smb.el (tramp-smb-errors): Add error message for
5111 (tramp-smb-handle-delete-directory): Handle optional parameter
5114 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5116 * emacs-lisp/bytecomp.el (byte-compile-defmacro-declaration): New fun.
5117 (byte-compile-file-form-defmumble, byte-compile-defmacro): Use it.
5118 (byte-compile-defmacro): Use backquotes.
5120 * files.el (cd-absolute): Don't abbreviate-file-name (bug#4599).
5122 * vc-dispatcher.el (vc-resynch-window): Don't revert a buffer which
5123 has no associated file.
5124 (vc-resynch-buffer): Use vc-dir-buffers.
5126 2009-10-01 Glenn Morris <rgm@gnu.org>
5128 * emacs-lisp/chart.el (chart-zap-chars, chart-bar-quickie)
5130 * emacs-lisp/eieio-comp.el (byte-compile-defmethod-param-convert):
5131 * emacs-lisp/eieio-datadebug.el (data-debug-insert-object-button):
5132 * emacs-lisp/eieio-opt.el (eieio-describe-class):
5133 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-create):
5134 * emacs-lisp/eieio.el (defclass, eieio-defclass-autoload)
5135 (eieio-copy-parents-into-subclass, make-instance, class-children)
5136 (eieio-generic-form):
5137 * cedet/cedet-files.el (cedet-directory-name-to-file-name):
5138 * cedet/cedet-idutils.el (cedet-idutils-search)
5139 (cedet-idutils-expand-filename, cedet-idutils-support-for-directory)
5140 (cedet-idutils-version-check):
5141 * cedet/cedet.el (cedet-version):
5142 * cedet/data-debug.el (data-debug-insert-overlay-button)
5143 (data-debug-insert-overlay-list-button)
5144 (data-debug-insert-buffer-button)
5145 (data-debug-insert-buffer-list-button)
5146 (data-debug-insert-process-button, data-debug-insert-ring-button)
5147 (data-debug-insert-widget, data-debug-insert-stuff-list-button)
5148 (data-debug-insert-stuff-vector-button)
5149 (data-debug-insert-symbol-button, data-debug-insert-string)
5150 (data-debug-insert-number, data-debug-insert-lambda-expression)
5151 (data-debug-insert-nil, data-debug-insert-simple-thing)
5152 (data-debug-insert-custom, data-debug-edebug-expr):
5153 * cedet/ede.el (ede-auto-add-method, ede-project-class-files)
5154 (global-ede-mode-map, ede-new, ede-debug-target)
5155 (ede-customize-current-target, ede-buffers, ede-map-buffers, ede-set):
5156 * cedet/semantic.el (semantic-minimum-working-buffer-size)
5157 (semantic-fetch-tags, semantic-submode-list)
5158 (semantic-default-submodes):
5159 * cedet/ede/source.el (ede-source-match):
5160 * cedet/ede/project-am.el (project-am-type-alist, project-add-file)
5161 (project-am-package-info):
5162 * cedet/ede/proj.el (ede-proj-target, project-new-target):
5163 * cedet/ede/proj-elisp.el (ede-proj-tweak-autoconf):
5164 * cedet/ede/proj-comp.el (ede-current-build-list):
5165 * cedet/ede/makefile-edit.el (makefile-move-to-macro):
5166 * cedet/ede/files.el (ede-toplevel-project-or-nil):
5167 * cedet/ede/cpp-root.el (initialize-instance):
5168 * cedet/ede/autoconf-edit.el (autoconf-find-last-macro)
5169 (autoconf-parameter-strip, autoconf-insert-new-macro):
5170 * cedet/semantic/wisent.el (wisent-lex-eoi):
5171 * cedet/semantic/util-modes.el (global-semantic-show-parser-state-mode)
5172 (semantic-show-parser-state-mode):
5173 * cedet/semantic/texi.el (semantic-texi-environment-regexp):
5174 * cedet/semantic/tag.el (semantic-tag-new-variable)
5175 (semantic-tag-class, semantic-tag-new-variable, semantic-tag-copy)
5176 (semantic--tag-deep-copy-attributes, semantic--tag-deep-copy-value)
5177 (semantic--tag-deep-copy-tag-list)
5178 (semantic-tag-components-with-overlays-default):
5179 * cedet/semantic/symref.el (semantic-symref-find-text):
5180 * cedet/semantic/senator.el (senator-yank-tag)
5181 (senator-transpose-tags-up):
5182 * cedet/semantic/scope.el (semantic-analyze-scoped-tags-default)
5183 (semantic-analyze-scoped-inherited-tags, semantic-scope-find):
5184 * cedet/semantic/sb.el (semantic-sb-autoexpand-length):
5185 * cedet/semantic/lex.el (semantic-lex-comment-regex)
5186 (semantic-lex-maximum-depth, define-lex, semantic-lex-token)
5187 (semantic-lex-unterminated-syntax-protection, define-lex-analyzer):
5188 * cedet/semantic/lex-spp.el
5189 (semantic-lex-spp-dynamic-macro-symbol-obarray-stack)
5190 (semantic-lex-spp-symbol, semantic-lex-spp-one-token-to-txt):
5191 * cedet/semantic/idle.el
5192 (semantic-idle-summary-current-symbol-info-brutish)
5193 (semantic-idle-summary-current-symbol-info-default):
5194 * cedet/semantic/grammar.el (semantic-grammar-recreate-package)
5195 (semantic--grammar-macro-compl-dict):
5196 * cedet/semantic/grammar-wy.el (semantic-grammar-wy--parse-table):
5197 * cedet/semantic/format.el (semantic-format-tag-custom-list)
5198 (semantic-format-tag-canonical-name-default):
5199 * cedet/semantic/find.el (semantic-find-tag-by-overlay-in-region)
5200 (semantic-find-tags-for-completion)
5201 (semantic-find-tags-by-scope-protection-default)
5202 (semantic-deep-find-tags-for-completion):
5203 * cedet/semantic/edit.el
5204 (semantic-edits-incremental-reparse-failed-hook)
5205 (semantic-edits-verbose-flag, semantic-edits-assert-valid-region)
5206 (semantic-edits-splice-remove, semantic-edits-splice-replace):
5207 * cedet/semantic/doc.el (semantic-documentation-comment-preceeding-tag):
5208 * cedet/semantic/dep.el (semantic-dependency-include-path):
5209 * cedet/semantic/db.el (semanticdb-default-find-index-class)
5210 (semanticdb-match-any-mode, semanticdb-with-match-any-mode)
5211 (semanticdb-project-roots):
5212 * cedet/semantic/db-find.el (semanticdb-implied-include-tags)
5213 (semanticdb-find-adebug-insert-scanned-tag-cons)
5214 (semanticdb-find-log-buffer-name, semanticdb-find-result-mapc)
5215 (semanticdb-brute-deep-find-tags-for-completion):
5216 * cedet/semantic/db-ebrowse.el (semanticdb-ebrowse-add-tree-to-table):
5217 * cedet/semantic/ctxt.el (semantic-beginning-of-context-default)
5218 (semantic-end-of-context-default)
5219 (semantic-ctxt-current-function-default)
5220 (semantic-ctxt-scoped-types-default):
5221 * cedet/semantic/complete.el (semantic-complete-read-tag-engine)
5222 (semantic-complete-inline-tag-engine)
5223 (semantic-complete-inline-custom-type)
5224 (semantic-complete-read-tag-analyzer):
5225 * cedet/semantic/chart.el (semantic-chart-tags-by-class)
5226 (semantic-chart-database-size):
5227 * cedet/semantic/analyze.el (semantic-analyze-current-symbol)
5228 (semantic-analyze-current-context):
5229 * cedet/semantic/symref/list.el (semantic-symref)
5230 (semantic-symref-hide-buffer, semantic-symref-symbol):
5231 * cedet/semantic/symref/grep.el (semantic-symref-grep-use-template):
5232 * cedet/semantic/symref/filter.el (semantic-symref-hits-in-region):
5233 * cedet/semantic/bovine/el.el (semantic-elisp-form-to-doc-string):
5234 * cedet/semantic/bovine/c.el (semantic-lex-c-preprocessor-symbol-map)
5235 (semantic-c-parse-token-hack-depth, semantic-c--template-name-1)
5236 (semantic-c-dereference-template):
5237 * cedet/semantic/analyze/refs.el (semantic--analyze-refs-full-lookup)
5238 (semantic--analyze-refs-full-lookup-with-parents)
5239 (semantic--analyze-refs-full-lookup-simple):
5240 * cedet/semantic/analyze/complete.el
5241 (semantic-analyze-possible-completions):
5242 * cedet/srecode/table.el (srecode-mode-table-new):
5243 * cedet/srecode/srt.el (srecode-read-variable-name):
5244 * cedet/srecode/srt-mode.el (srecode-macro-help, srecode-in-macro-p):
5245 * cedet/srecode/semantic.el (srecode-semantic-handle-:tag)
5246 (srecode-semantic-handle-:tagtype, srecode-semantic-insert-tag):
5247 * cedet/srecode/map.el (srecode-current-map):
5248 * cedet/srecode/insert.el (srecode-insert)
5249 (srecode-insert-variable-secondname-handler, srecode-insert-method)
5250 (srecode-template-inserter-point-override)
5251 (srecode-insert-include-lookup):
5252 * cedet/srecode/getset.el (srecode-auto-choose-class):
5253 * cedet/srecode/extract.el (srecode-inserter-extract):
5254 * cedet/srecode/document.el
5255 (srecode-document-autocomment-return-last-alist)
5256 (srecode-document-autocomment-param-type-alist)
5257 (srecode-document-insert-function-comment)
5258 (srecode-document-insert-variable-one-line-comment)
5259 (srecode-document-function-name-comment):
5260 * cedet/srecode/dictionary.el (srecode-create-dictionary)
5261 (srecode-compound-toString):
5262 * cedet/srecode/compile.el (srecode-flush-active-templates):
5263 * cedet/srecode/args.el (srecode-semantic-handle-:blank):
5266 * vc-cvs.el (vc-cvs-parse-entry): Be more careful with the
5267 match-data. (Bug#4555).
5269 * cedet/semantic/bovine/gcc.el
5270 (semantic-c-reset-preprocessor-symbol-map): Fix declaration.
5271 (semantic-gcc-get-include-paths, semantic-gcc-setup-data): Doc fixes.
5273 * emacs-lisp/check-declare.el (check-declare-scan): Read the declaration
5274 rather than parsing it as a regexp. This relaxes the layout
5275 requirements and makes errors easier to detect.
5276 (check-declare-verify): Check file is regular.
5277 (check-declare-directory): Doc fix.
5278 * subr.el (declare-function): Doc fix.
5280 * ibuffer.el (ibuffer-format-qualifier):
5281 * isearch.el (hi-lock-regexp-okay):
5282 * calc/calc.el (math-zerop):
5283 * mail/uce.el (rmail-msgbeg, rmail-msgend):
5284 * term/w32-win.el (setup-default-fontset, set-fontset-font):
5285 Remove unused declarations.
5287 2009-10-01 Juanma Barranquero <lekktu@gmail.com>
5289 * cedet/semantic/wisent/javat-wy.el
5290 (wisent-java-tags-wy--keyword-table): Use \000 instead of literal ^@.
5292 2009-09-30 Juanma Barranquero <lekktu@gmail.com>
5294 * cedet/srecode/expandproto.el: Fix provide statement.
5296 2009-09-30 Eric Ludlam <zappo@gnu.org>
5298 * emacs-lisp/eieio.el (boolean-p): Delete.
5300 2009-09-30 Sascha Wilde <wilde@sha-bang.de>
5302 * cedet/ede/srecode.el: Fix provide statement.
5304 2009-09-30 Glenn Morris <rgm@gnu.org>
5306 * cedet/ede/proj.el (ede-proj-target-makefile-miscelaneous):
5307 * cedet/ede/proj-aux.el (ede-aux-source):
5308 * cedet/ede/proj-misc.el (ede-proj-target-makefile-miscelaneous)
5310 * cedet/semantic/mru-bookmark.el (semantic-mrub-completing-read)
5311 (semantic-mrub-switch-tags): Fix doc typos.
5313 * cedet/semantic/db-global.el (data-debug-new-buffer)
5314 (data-debug-insert-thing): Remove unneeded declarations (one broken).
5315 (semanticdb-enable-gnu-global-databases): Fix prompt typo.
5317 * cedet/semantic/analyze/fcn.el (semantic-scope-find): Fix declaration.
5319 * cedet/semantic/bovine/gcc.el (semantic-gcc-setup): Replace runtime
5320 use of CL function `remove-if-not'.
5322 * emacs-lisp/authors.el (authors-ignored-files): Add "js2-mode.el".
5324 * emacs-lisp/elint.el (elint-init-form): Report declarations where the
5325 filename is not a string.
5327 2009-09-29 Chong Yidong <cyd@stupidchicken.com>
5329 * files.el (safe-local-eval-forms): Fix typo.
5331 2009-09-29 Stefan Monnier <monnier@iro.umontreal.ca>
5333 * vc-hooks.el (vc-dir-buffers): New var.
5334 (vc-state-refresh): New function.
5336 (vc-after-save): Always ask the backend to recompute the new state.
5337 Always call vc-dir if necessary, using vc-dir-buffers.
5338 * vc-dir.el (vc-dir-prepare-status-buffer, vc-dir-resynch-file):
5340 (vc-dir-mode): Use vc-dir-buffers rather than after-save-hook.
5341 (vc-dir-prepare-status-buffer, vc-dir-update)
5342 (vc-dir-resync-directory-files, vc-dir-resynch-file, vc-dir-mode):
5343 Don't call expand-file-name on default-directory.
5345 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
5347 * speedbar.el (speedbar-item-delete):
5348 * calc/calc-prog.el (calc-kbd-if):
5349 * language/hanja-util.el (hanja-init-load): Fix typos in messages.
5351 * epa.el (epa-key-list-mode-map):
5352 * hi-lock.el (hi-lock-menu): Fix typos in menus.
5354 * progmodes/hideshow.el (hs-allow-nesting): Reflow docstring.
5355 (hs-show-hook): Fix typo in docstring.
5357 2009-09-29 Glenn Morris <rgm@gnu.org>
5359 * cedet/semantic/symref/idutils.el:
5360 * cedet/semantic/symref/list.el: Relicense under GPLv3+.
5362 * cedet/ede/srecode.el (srecode-resolve-arguments): Fix declaration.
5364 * cedet/semantic/complete.el (semantic-displayor-focus-abstract-child-p):
5365 * cedet/semantic/tag-file.el (semanticdb-table-child-p):
5366 * cedet/srecode/compile.el (srecode-template-inserter-newline-child-p):
5367 Mark declarations not understood by check-declare.
5369 * emacs-lisp/check-declare.el (check-declare-locate): Remove pointless
5370 file-name-nondirectory call preventing location of cedet files.
5371 (check-declare-verify): Use literal search rather than re-search.
5372 Add basic defmethod and defclass, and define-overloadable-function.
5374 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
5375 Use tramp-compat-file-attributes rather than nonexistent
5376 tramp-compat-handle-file-attributes.
5378 * Makefile.in (lisptagsfiles4): New.
5379 (AUTOGENEL): Add cedet loaddefs files.
5380 (TAGS, TAGS-LISP): Use $lisptagsfiles4.
5381 (update-elclist, compile-always, backup-compiled-files)
5382 (bootstrap-clean): Add yet another directory level.
5383 (update-elclist): Use LC_COLLATE rather than COLLATE.
5384 (ELCFILES): Update, via `make update-elclist'.
5386 2009-09-29 Juanma Barranquero <lekktu@gmail.com>
5388 * makefile.w32-in (WINS_CEDET, WINS_BASIC, WINS_SUBDIR): New macros.
5389 (WINS_ALMOST): Set from WINS_BASIC and WINS_CEDET.
5390 (update-subdirs-CMD): Use WINS_SUBDIR, not WINS_ALMOST.
5392 2009-09-28 Andreas Schwab <schwab@linux-m68k.org>
5394 * Makefile.in (lisptagsfiles3): Define.
5395 (TAGS, TAGS-LISP): Use it.
5396 (update-elclist): Add third directory level to look for elc files.
5397 (compile-always): Likewise.
5398 (backup-compiled-files): Likewise.
5399 (bootstrap-clean): Likewise.
5402 2009-09-28 Chong Yidong <cyd@stupidchicken.com>
5404 * Makefile.in (ELCFILES): Add CEDET files.
5406 2009-09-28 Eric Ludlam <zappo@gnu.org>
5408 CEDET (development tools) package merged.
5412 * cedet/semantic/*.el:
5413 * cedet/srecode/*.el: New files.
5415 2009-09-28 Michael Albinus <michael.albinus@gmx.de>
5417 * Makefile.in (ELCFILES): Add net/tramp-imap.elc.
5419 * net/tramp.el (top): Require tramp-imap.
5421 * net/tramp-smb.el (tramp-smb-handle-directory-files-and-attributes):
5422 Use `tramp-compat-handle-file-attributes'.
5424 2009-09-28 Teodor Zlatanov <tzz@lifelogs.com>
5426 * net/tramp-imap.el: New package.
5428 2009-09-28 Eric Ludlam <zappo@gnu.org>
5430 * emacs-lisp/chart.el:
5431 * emacs-lisp/eieio-base.el:
5432 * emacs-lisp/eieio-comp.el:
5433 * emacs-lisp/eieio-custom.el:
5434 * emacs-lisp/eieio-datadebug.el:
5435 * emacs-lisp/eieio-opt.el:
5436 * emacs-lisp/eieio-speedbar.el:
5437 * emacs-lisp/eieio.el: New files.
5439 * cedet/cedet-cscope.el:
5440 * cedet/cedet-files.el:
5441 * cedet/cedet-global.el:
5442 * cedet/cedet-idutils.el:
5443 * cedet/data-debug.el:
5444 * cedet/inversion.el:
5445 * cedet/mode-local.el:
5446 * cedet/pulse.el: New files.
5448 2009-09-27 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5450 * whitespace.el (whitespace-trailing-regexp)
5451 (whitespace-empty-at-bob-regexp, whitespace-empty-at-eob-regexp):
5454 2009-09-27 Chong Yidong <cyd@stupidchicken.com>
5456 * menu-bar.el: Remove menu-bar-ediff-misc-menu from the Tools
5459 * ediff-hook.el: Move menu-bar-ediff-misc-menu into
5460 menu-bar-ediff-menu.
5462 * emacs-lisp/lisp-mode.el: Add doc-string-elt property to
5463 define-overloadable-function.
5465 * progmodes/autoconf.el: Provide autoconf as well, so that this
5466 file can be `require'd.
5468 * emacs-lisp/cl-macs.el (deftype): Add to cl-loaddefs.
5470 * emacs-lisp/autoload.el (generated-autoload-feature)
5471 (generated-autoload-load-name): New vars.
5472 (autoload-rubric, autoload-generate-file-autoloads): Use them.
5473 (make-autoload): Recognize define-overloadable-function and
5474 defclass forms (for EIEIO).
5476 * Makefile.in (update-subdirs): Exclude cedet directory.
5478 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com>
5480 * term/ns-win.el: Don't set the region face background. (Bug#4381)
5482 * faces.el: Default light-background background for region face to
5483 ns_selection_color under NS.
5485 2009-09-27 Teodor Zlatanov <tzz@lifelogs.com>
5487 * net/imap-hash.el: New library, see NEWS.
5489 * Makefile.in (ELCFILES): Add imap-hash.el.
5491 2009-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
5493 * help.el (help-for-help-internal): Don't purecopy the text (bug#4560).
5494 * isearch.el (isearch-help-for-help-internal): Purecopy the second arg.
5495 * help-macro.el (make-help-screen): Avoid using an ambiguous function
5496 definition where the docstring could be taken for the return value.
5498 2009-09-26 Glenn Morris <rgm@gnu.org>
5500 * mail/rmailmm.el (rmail-mime-show-images, rmail-mime-bulk-handler):
5501 Add option to only show images below a certain size.
5502 (rmail-mime-multipart-handler): Remove unnecessary save-match-data and
5503 save-excursion calls.
5505 2009-09-26 Eli Zaretskii <eliz@gnu.org>
5507 * makefile.w32-in (WINS_ALMOST): Add cedet (with its
5508 subdirectories) and eieio.
5510 2009-09-26 Alan Mackenzie <acm@muc.de>
5512 * progmodes/cc-engine.el (c-beginning-of-statement-1): Correct
5513 buggy bracketing. (Bug#4289)
5515 * progmodes/cc-langs.el (c-nonlabel-token-key): Allow quoted
5516 character constants (as case labels). (Bug#4289)
5518 2009-09-25 Juri Linkov <juri@jurta.org>
5520 * files.el (safe-local-eval-forms): Allow time-stamp in
5521 before-save-hook (Bug#4554).
5523 2009-09-25 Drew Adams <drew.adams@oracle.com>
5525 * menu-bar.el (list-buffers-directory): Doc fix.
5527 2009-09-25 Stefan Monnier <monnier@iro.umontreal.ca>
5529 * log-edit.el (log-edit-changelog-entries): Avoid inf-loops.
5530 Try and avoid copying twice the same paragraph.
5531 (log-edit-changelog-paragraph, log-edit-changelog-subparagraph):
5532 Remove save-excursion.
5533 (log-edit-changelog-entry): Do it here instead.
5535 2009-09-25 Juanma Barranquero <lekktu@gmail.com>
5537 * bs.el (bs--get-file-name): Use `list-buffers-directory'
5538 when available, instead of hardcoding mode names. Doc fix.
5540 * menu-bar.el (list-buffers-directory): Add docstring.
5541 Make automatically buffer-local.
5543 * dired.el (dired-mode):
5544 * files.el (cd-absolute):
5545 * pcvs.el (cvs-temp-buffer):
5546 * pcvs-util.el (cvs-get-buffer-create):
5547 * shell.el (shell-mode):
5548 * vc-dir.el (vc-dir-mode):
5549 Don't make `list-buffers-directory' buffer local.
5551 2009-09-25 Devon Sean McCullough <emacs-hacker@Jovi.Net>
5553 * comint.el (comint-exec, comint-run, make-comint):
5554 Doc fixes (Bug#4542).
5556 2009-09-25 Glenn Morris <rgm@gnu.org>
5558 * mail/rmailmm.el (rmail-mime): New custom group.
5559 Move all defcustoms in this file into this group.
5560 (rmail-mime-media-type-handlers-alist): Revert previous change.
5561 (rmail-mime-show-images): New option.
5562 (rmail-mime-total-number-of-bulk-attachments): Remove variable and all
5563 references to it, since it wasn't actually used for anything.
5564 (rmail-mime-insert-image): New function.
5565 (rmail-mime-image): Use rmail-mime-insert-image.
5566 (rmail-mime-bulk-handler): Remove optional `image' argument, instead
5567 obey the value of `rmail-mime-show-images' option. Print the size of
5570 2009-09-25 David Engster <deng@randomsample.de>
5572 * progmodes/hideshow.el (hs-show-block): Run `hs-show-hook'. (Bug#4548)
5574 2009-09-24 Vinicius Jose Latorre <viniciusjl@ig.com.br>
5576 * whitespace.el: Does not highlight trailing spaces While point is
5577 at end of line. Does not highligt spaces at beginning of buffer
5578 while point is at beginning of buffer. Does not highlight spaces
5579 at end of buffer while point is at end of buffer. (Bug#4177)
5581 (whitespace-display-mappings): Adjust initialization.
5582 (whitespace-point, whitespace-font-lock-refontify): New vars.
5583 (whitespace-color-on, whitespace-color-off): Adjust code.
5584 (whitespace-trailing-regexp, whitespace-empty-at-bob-regexp)
5585 (whitespace-empty-at-eob-regexp, whitespace-space-regexp)
5586 (whitespace-tab-regexp, whitespace-post-command-hook): New funs.
5588 2009-09-24 Chong Yidong <cyd@stupidchicken.com>
5590 * nxml/nxml-mode.el: Alias xml-mode to nxml-mode.
5592 * textmodes/sgml-mode.el: Remove xml-mode alias.
5594 * files.el (auto-mode-alist, conf-mode-maybe)
5595 (magic-fallback-mode-alist): Revert 2009-09-18 and 2009-09-21 changes.
5597 2009-09-24 Alan Mackenzie <acm@muc.de>
5599 * progmodes/cc-cmds.el (c-scan-conditionals): A new function like
5600 c-forward-conditionals, but it doesn't move point and doesn't set
5602 (c-up-conditional, c-up-conditional-with-else, c-down-conditional)
5603 (c-down-conditional-with-else, c-backward-conditional)
5604 (c-forward-conditional): Refactor to use c-scan-conditionals.
5606 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
5608 * help-fns.el (help-downcase-arguments): New option, defaulting to nil.
5609 (help-default-arg-highlight): Remove.
5610 (help-highlight-arg): New function.
5611 (help-do-arg-highlight): Use it.
5612 Suggested by Drew Adams <drew.adams@oracle.com>. (Bug#4510, bug#4520)
5614 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
5616 * term.el (term-set-scroll-region, term-handle-ansi-escape):
5617 Undo last change, which didn't fix the problem and introduced others.
5619 2009-09-24 Nick Roberts <nickrob@snap.net.nz>
5621 * progmodes/gdb-mi.el: Don't require speedbar.
5622 (gdb-jsonify-buffer): Handle case where "=" is part of value string.
5624 2009-09-24 Glenn Morris <rgm@gnu.org>
5626 * calendar/diary-lib.el (diary-fancy-display): Always run the hook.
5628 * term/ns-win.el (ns-reg-to-script): Define for compiler.
5630 * mail/rmailmm.el (rmail-mime-multipart-handler): Accept the case where
5631 there is no newline after the final mime boundary. (Bug#4539)
5632 Move markers on insertion so that any buttons inserted don't end up in
5633 the next part of a multipart message.
5634 (rmail-mime-media-type-handlers-alist): Doc fix. Add image handler.
5635 (rmail-mime-bulk-handler): Optionally handle images.
5636 (rmail-mime-image): New button action.
5637 (rmail-mime-image-handler): New function.
5638 (rmail-mime-mode): New mode.
5639 (rmail-mime): Doc fix. Use rmail-mime-mode (for font-lock).
5641 2009-09-24 Stefan Monnier <monnier@iro.umontreal.ca>
5643 * minibuffer.el (minibuffer-force-complete): Cycle the list, rather
5644 than just dropping elements from it (bug#4504).
5646 * term.el (term-set-scroll-region): Don't move cursor any more.
5647 (term-handle-ansi-escape): Call term-goto here instead.
5648 Suggested by Ivan Kanis <apple@kanis.eu>.
5650 * term.el: Require CL.
5651 (term-ansi-reset): New function.
5652 (term-mode, term-emulate-terminal, term-handle-colors-array): Use it.
5653 (term-handle-colors-array): Simplify.
5655 2009-09-24 Juanma Barranquero <lekktu@gmail.com>
5657 * allout.el (allout-overlay-interior-modification-handler)
5658 (allout-obtain-passphrase):
5659 * epa-file.el (epa-file-write-region):
5660 * ps-print.el (ps-begin-job):
5661 * vc-hooks.el (vc-toggle-read-only):
5662 * vc-rcs.el (vc-rcs-rollback):
5663 * vc-sccs.el (vc-sccs-rollback):
5664 * vc.el (vc-deduce-fileset, vc-next-action, vc-register-with)
5665 (vc-version-diff, vc-revert, vc-rollback):
5666 * wdired.el (wdired-check-kill-buffer):
5667 * emacs-lisp/authors.el (authors):
5668 * net/socks.el (socks-open-connection):
5669 * net/zeroconf.el (zeroconf-service-add-hook):
5670 * obsolete/vc-mcvs.el (vc-mcvs-register):
5671 * progmodes/gdb-mi.el (def-gdb-thread-buffer-gud-command)
5673 * progmodes/grep.el (lgrep, rgrep):
5674 * progmodes/idlw-help.el (idlwave-help-check-locations)
5675 (idlwave-help-html-link, idlwave-help-assistant-open-link):
5676 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
5677 * textmodes/reftex-toc.el (reftex-toc-promote-prepare)
5678 (reftex-toc-rename-label): Fix typos in error messages.
5680 * dired-aux.el (dired-do-shell-command): Reflow docstring.
5681 (dired-copy-how-to-fn): Doc fix.
5682 (dired-files-attributes, dired-read-shell-command):
5683 Fix typos in docstrings.
5685 * dired-x.el (dired-enable-local-variables, dired-filename-at-point)
5686 (dired-x-find-file-other-window): Reflow docstrings.
5687 (dired-omit-marker-char, dired-read-shell-command)
5688 (dired-x-submit-report): Fix typos in docstrings.
5690 * shell.el (shell-mode-hook):
5691 * view.el (View-scroll-line-forward):
5692 * progmodes/inf-lisp.el (inferior-lisp-mode-hook):
5693 Fix typos in docstrings.
5695 * net/dig.el (dig-invoke): Fix typo in docstring.
5696 (query-dig): Reflow docstring.
5698 * progmodes/idlwave.el (idlwave-create-user-catalog-file)
5699 (idlwave-quoted, idlwave-rinfo-max-source-lines): Doc fixes.
5700 (idlwave-abbrev-move, idlwave-auto-routine-info-updates)
5701 (idlwave-begin-block-reg, idlwave-begin-unit-reg)
5702 (idlwave-beginning-of-subprogram, idlwave-block-jump-out)
5703 (idlwave-block-match-regexp, idlwave-calculate-paren-indent)
5704 (idlwave-check-abbrev, idlwave-class-file-or-buffer)
5705 (idlwave-class-found-in, idlwave-complete, idlwave-complete-in-buffer)
5706 (idlwave-completion-map, idlwave-current-indent)
5707 (idlwave-custom-ampersand-surround, idlwave-customize)
5708 (idlwave-default-font-lock-items, idlwave-default-insert-timestamp)
5709 (idlwave-define-abbrev, idlwave-determine-class-special)
5710 (idlwave-do-action, idlwave-doc-header, idlwave-doc-modification)
5711 (idlwave-end-block-reg, idlwave-end-of-statement)
5712 (idlwave-end-of-statement0, idlwave-end-of-subprogram)
5713 (idlwave-end-unit-reg, idlwave-entry-find-keyword)
5714 (idlwave-explicit-class-listed, idlwave-file-header)
5715 (idlwave-fill-paragraph, idlwave-find-class-definition)
5716 (idlwave-fix-keywords, idlwave-hang-indent-regexp, idlwave-hard-tab)
5717 (idlwave-idlwave_routine_info-compiled, idlwave-in-comment)
5718 (idlwave-in-quote, idlwave-indent-action-table)
5719 (idlwave-indent-expand-table, idlwave-indent-line)
5720 (idlwave-indent-subprogram, idlwave-indent-to-open-paren)
5721 (idlwave-is-comment-line, idlwave-is-comment-or-empty-line)
5722 (idlwave-is-continuation-line, idlwave-is-pointer-dereference)
5723 (idlwave-kill-autoloaded-buffers, idlwave-lib-p, idlwave-look-at)
5724 (idlwave-make-tags, idlwave-mode, idlwave-mode-abbrev-table)
5725 (idlwave-mouse-active-rinfo, idlwave-newline, idlwave-no-change-comment)
5726 (idlwave-outlawed-buffers, idlwave-popup-select)
5727 (idlwave-previous-statement, idlwave-rescan-catalog-directories)
5728 (idlwave-routine-entry-compare, idlwave-routine-info.pro)
5729 (idlwave-scan-all-buffers-for-routine-info, idlwave-scan-class-info)
5730 (idlwave-shell-automatic-start, idlwave-shell-explicit-file-name)
5731 (idlwave-show-begin, idlwave-split-line, idlwave-split-link-target)
5732 (idlwave-statement-type, idlwave-struct-skip)
5733 (idlwave-substitute-link-target, idlwave-toggle-comment-region)
5734 (idlwave-update-current-buffer-info, idlwave-use-library-catalogs)
5735 (idlwave-what-module-find-class): Fix typos in docstrings.
5736 (idlwave-all-method-classes, idlwave-calc-hanging-indent)
5737 (idlwave-calculate-cont-indent, idlwave-expand-equal)
5738 (idlwave-find-module, idlwave-find-structure-definition)
5739 (idlwave-init-rinfo-when-idle-after, idlwave-insert-source-location)
5740 (idlwave-list-load-path-shadows, idlwave-next-statement)
5741 (idlwave-routine-entry-compare-twins, idlwave-routine-info)
5742 (idlwave-routines, idlwave-sintern-rinfo-list, idlwave-statement-match)
5743 (idlwave-template): Reflow docstrings.
5745 * progmodes/idlw-shell.el (idlwave-shell-syntax-error): Doc fix.
5746 (idlwave-shell-batch-command, idlwave-shell-bp-alist)
5747 (idlwave-shell-bp-get, idlwave-shell-bp-overlays)
5748 (idlwave-shell-bp-query, idlwave-shell-break-here, idlwave-shell-buffer)
5749 (idlwave-shell-display-line, idlwave-shell-display-wframe)
5750 (idlwave-shell-electric-debug-mode, idlwave-shell-examine-select)
5751 (idlwave-shell-file-name-chars, idlwave-shell-filter-bp)
5752 (idlwave-shell-goto-frame, idlwave-shell-halt-messages-re)
5753 (idlwave-shell-highlighting-and-faces, idlwave-shell-idl-wframe)
5754 (idlwave-shell-mode-hook, idlwave-shell-mode-line-info)
5755 (idlwave-shell-mode-map, idlwave-shell-module-source-filter)
5756 (idlwave-shell-mouse-help, idlwave-shell-mouse-print)
5757 (idlwave-shell-pc-frame, idlwave-shell-pending-commands)
5758 (idlwave-shell-print, idlwave-shell-quit, idlwave-shell-redisplay)
5759 (idlwave-shell-scan-for-state, idlwave-shell-send-command)
5760 (idlwave-shell-sentinel-hook, idlwave-shell-separate-examine-output)
5761 (idlwave-shell-shell-command, idlwave-shell-sources-alist)
5762 (idlwave-shell-sources-bp, idlwave-shell-sources-filter)
5763 (idlwave-shell-step, idlwave-shell-use-breakpoint-glyph)
5764 (idlwave-toolbar-add-everywhere, idlwave-toolbar-toggle):
5765 Fix typos in docstrings.
5766 (idlwave-shell-bp, idlwave-shell-clear-current-bp)
5767 (idlwave-shell-hide-output, idlwave-shell-mode)
5768 (idlwave-shell-run-region, idlwave-shell-set-bp-in-module):
5771 * textmodes/bibtex.el (bibtex-sort-entry-class): Fix group name.
5773 2009-09-24 Ivan Kanis <apple@kanis.eu>
5775 * term.el (term-bold-attribute): New var.
5776 (term-handle-colors-array): Use it.
5778 2009-09-23 Nick Roberts <nickrob@snap.net.nz>
5780 * progmodes/gdb-mi.el (gdb-version): New variable.
5781 (gdb-non-stop-handler): Set gdb-version.
5782 (gdb-gud-context-command, gdb-current-context-command, gdb-stopped):
5783 Condition "--thread" option on gdb-version.
5784 (gdb-invalidate-threads): Remove unused argument.
5786 2009-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5788 * textmodes/flyspell.el (sgml-mode-flyspell-verify): Pass limit args
5789 to looking-back to avoid ridiculous slow down in large files (bug#4511).
5791 2009-09-23 Glenn Morris <rgm@gnu.org>
5793 * mail/rmail.el (rmail-reply): Don't try to add a References header when
5794 replying to mail without References or Message-Id. (Bug#4525)
5796 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com>
5798 * term/ns-win.el (ns-reg-to-script): New variable.
5800 2009-09-23 Daiki Ueno <ueno@unixuser.org>
5802 * epg.el (epg-wait-for-status): Preserve existing 'error results.
5804 2009-09-22 Sam Steingold <sds@gnu.org>
5806 * vc-hg.el (vc-hg-print-log): Fix shortlog arg passing.
5807 (vc-hg-outgoing, vc-hg-incoming): Bump okstatus in `vc-hg-command'
5808 to 1 because hg returns status 1 when nothing is found.
5809 Bind `vc-short-log' for the sake of `vc-hg-log-view-mode'.
5811 2009-09-22 Stefan Monnier <monnier@iro.umontreal.ca>
5813 * textmodes/fill.el: Convert to utf-8 encoding.
5814 (fill-french-nobreak-p): Remove redundant » and « inherited from our
5817 * add-log.el (change-log-fill-forward-paragraph): New function.
5818 (change-log-mode): Use it so fill-region DTRT.
5819 Set fill-indent-according-to-mode here rather than in
5820 change-log-fill-paragraph.
5821 (change-log-fill-paragraph): Remove.
5823 2009-09-22 Juanma Barranquero <lekktu@gmail.com>
5825 * info.el (Info-try-follow-nearest-node): Use the URL extracted by
5826 `Info-get-token', instead of `browse-url-url-at-point'. (Bug#4508)
5828 2009-09-22 Glenn Morris <rgm@gnu.org>
5830 * calendar/calendar.el (calendar-mode-map): Make mouse-1 and 3 clicks on
5831 the scroll-bar scroll the calendar window rather than the buffer.
5833 * calendar/cal-menu.el (cal-menu-scroll-menu): Add a sub-section with
5834 commands that move point (as opposed to scrolling).
5836 * emulation/tpu-edt.el (tpu-copy-keyfile): Fix condition-case handler.
5838 * emacs-lisp/elint.el (elint): New custom group.
5839 (elint-log-buffer): Make it a defcustom.
5840 (elint-scan-preloaded, elint-ignored-warnings)
5841 (elint-directory-skip-re): New options.
5842 (elint-builtin-variables): Doc fix.
5843 (elint-preloaded-env): New variable.
5844 (elint-unknown-builtin-args): Add an entry for encode-time.
5845 (elint-extra-errors): Make it a variable rather than a constant.
5846 (elint-preloaded-skip-re): New constant.
5847 (elint-directory): Skip files matching elint-directory-skip-re.
5848 (elint-features): New variable, local to linted buffers.
5849 (elint-update-env): Initialize elint-features. Possibly add
5850 elint-preloaded-env to the buffer's environment.
5851 (elint-get-top-forms): Bind elint-current-pos, for log messages.
5853 (elint-init-form): New function, extracted from elint-init-env.
5854 Make non-list forms a warning rather than an error.
5855 Add the mode-map for define-derived-mode. Handle define-minor-mode,
5856 easy-menu-define, put that adds an error-condition, and provide.
5857 When requiring cl, also require cl-macs. Really require cl, to handle
5858 some cl macros. Store required libraries in the list elint-features,
5859 so as not to re-load them. Treat cc-require like require.
5860 (elint-init-env): Call elint-init-form to do the work.
5861 Handle eval-and-compile and such like.
5862 (elint-add-required-env): Do not clear messages.
5863 (elint-special-forms): Add handlers for function, defalias, if, when,
5865 (elint-form): Add optional argument to ignore elint-special-forms,
5866 useful to prevent recursive calls from handlers. Doc fix.
5867 Respect elint-ignored-warnings.
5868 (elint-form): Respect elint-ignored-warnings.
5869 (elint-bound-variable, elint-bound-function): New variables.
5870 (elint-unbound-variable): Respect elint-bound-variable.
5871 (elint-get-args): Respect elint-bound-function.
5872 (elint-check-cond-form): Add some simple handling for (f)boundp and
5874 (elint-check-defalias-form): New handler.
5875 (elint-check-let-form): Make an empty let a warning rather than an
5877 (elint-check-setq-form): Make an empty setq a warning rather than an
5878 error. Respect elint-ignored-warnings.
5879 (elint-check-defvar-form): Accept null doc-strings.
5880 (elint-check-conditional-form): New handler. Does some simple-minded
5881 checking of featurep and (f)boundp tests.
5882 (elint-put-function-args): New function.
5883 (elint-initialize): Use elint-scan-doc-file rather than
5884 elint-find-builtin-variables. Use elint-put-function-args.
5885 Possibly scan preloaded-file-list.
5886 (elint-scan-doc-file): Rename from elint-find-builtin-variables and
5887 extend to handle functions as well.
5889 2009-09-22 Lennart Borgman <lennart.borgman@gmail.com>
5891 * linum.el (linum-delete-overlays, linum-update-window):
5892 Do not modify the right margin. (Bug#3971)
5894 2009-09-21 Chong Yidong <cyd@stupidchicken.com>
5896 * files.el (conf-mode-maybe, magic-fallback-mode-alist): Use
5897 nxml-mode instead of xml-mode.
5899 2009-09-21 Kevin Ryde <user42@zip.com.au>
5901 * net/dig.el: Add "Keywords: comm", as per net-utils.el. (Bug#4501)
5903 2009-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
5905 * net/dig.el (dig-mode): Use define-derived-mode.
5907 2009-09-20 Dan Nicolaescu <dann@ics.uci.edu>
5909 * vc-dispatcher.el (vc-do-command): Return the process object in
5910 the asynchronous case. Use when instead of if. Do not run
5911 vc-exec-after to display a message if not enabled. (Bug#4463)
5913 * vc-git.el (vc-git-dir-extra-headers): Add keymap and mouse-face
5914 properties to the stash strings.
5915 (vc-git-stash-list): Return a list of strings.
5916 (vc-git-stash-get-at-point, vc-git-stash-delete-at-point)
5917 (vc-git-stash-show-at-point): New functions.
5918 (vc-git-stash-map): New keymap.
5920 * register.el (ctl-x-r-map): Define the keys here instead of
5923 2009-09-20 Thierry Volpiatto <thierry.volpiatto@gmail.com> (tiny change)
5925 * bookmark.el (bookmark-write-file): Avoid calling `pp' with large
5926 list, to workaround performance problem (bug#4485).
5928 2009-09-20 Nick Roberts <nickrob@snap.net.nz>
5930 * progmodes/gud.el (gud-sentinel): Revert indavertant change.
5932 2009-09-20 Daiki Ueno <ueno@unixuser.org>
5934 * epa-file.el (epa-file-cache-passphrase-for-symmetric-encryption):
5935 Document that this option is not recommended to use.
5937 2009-09-19 Glenn Morris <rgm@gnu.org>
5939 * calc/calc-graph.el (calc-graph-lookup): Avoid assignment to free
5942 * calc/calc-alg.el (var):
5943 * calc/calcalg2.el (var): Define for compiler.
5945 2009-09-19 Chong Yidong <cyd@stupidchicken.com>
5947 * emacs-lisp/advice.el (ad-get-argument, ad-set-argument):
5950 * subr.el (baud-rate): Remove long-obsolete function (Bug#4372).
5952 * time-stamp.el (time-stamp-month-dd-yyyy)
5953 (time-stamp-dd/mm/yyyy, time-stamp-mon-dd-yyyy)
5954 (time-stamp-dd-mon-yy, time-stamp-yy/mm/dd)
5955 (time-stamp-yyyy/mm/dd, time-stamp-yyyy-mm-dd)
5956 (time-stamp-yymmdd, time-stamp-hh:mm:ss, time-stamp-hhmm):
5957 Remove functions that have been obsolete since 1995 (Bug#4436).
5959 * progmodes/sh-script.el (sh-learn-buffer-indent): Pop to the
5960 indent buffer only if called interactively (Bug#4452).
5962 2009-09-19 Juanma Barranquero <lekktu@gmail.com>
5963 Eli Zaretskii <eliz@gnu.org>
5965 This fixes bug#4197 (merged to bug#865, though not identical).
5966 * server.el (server-auth-dir): Add docstring note about FAT32.
5967 (server-ensure-safe-dir): Accept FAT32 directories as "safe",
5968 but warn against using them.
5970 2009-09-19 Nick Roberts <nickrob@snap.net.nz>
5972 * progmodes/gdb-mi.el (gdb-var-update-handler-1): Include case of
5973 older GDB where there is no has_more field.
5975 2009-09-19 Glenn Morris <rgm@gnu.org>
5977 * pgg-pgp.el (pgg-pgp-encrypt-region): Add missing mapconcat separator.
5979 2009-09-18 Chong Yidong <cyd@stupidchicken.com>
5981 * files.el (auto-mode-alist): Change default for XML files to nXML
5984 2009-09-18 Juanma Barranquero <lekktu@gmail.com>
5986 * server.el (server-ensure-safe-dir): Pass 'integer
5987 to `file-attributes', as suggested.
5989 2009-09-18 Stefan Monnier <monnier@iro.umontreal.ca>
5991 * dired-aux.el (dired-query-alist): Remove spurious backslash.
5992 (dired-query): Use read-key.
5994 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com>
5996 * cus-start.el (ns-use-qd-smoothing): Remove.
5998 2009-09-18 Glenn Morris <rgm@gnu.org>
6000 * allout.el (top-level): Remove unnecessary progn.
6002 * progmodes/js.el (js-end-of-defun): Remove malformed and unneeded let.
6004 * emacs-lisp/derived.el (define-derived-mode): Fix paren typo in
6005 definition of abbrev table.
6007 * speedbar.el (speedbar-track-mouse):
6008 * net/eudc-bob.el (eudc-bob-pipe-object-to-external-program):
6009 * net/eudc.el (eudc-expand-inline):
6010 * net/newst-backend.el (newsticker--cache-read-feed):
6011 * nxml/nxml-outln.el (nxml-end-of-heading): Fix typos in
6012 condition-case handlers.
6014 2009-09-18 Nick Roberts <nickrob@snap.net.nz>
6016 * progmodes/gdb-mi.el (gdb-frame-address): New variable.
6017 (gdb-var-list): Add an element for has_more field.
6018 (gdb-non-stop-handler): Enable pretty printing for STL containers.
6019 (gdb-var-create-handler, gdb-var-list-children-handler-1)
6020 (gdb-var-update-handler-1): Parse output of dynamic variable
6021 objects (STL containers).
6022 (gdb-var-delete-1): Pass var1 as an explicit second argument.
6023 (gdb-get-field): Delete alias. Use bindat-get-field directly.
6025 * progmodes/gud.el (gud-speedbar-item-info): Adjust for change to
6027 (gud-speedbar-buttons): Make node expandable if expression "has more"
6030 2009-09-17 Juanma Barranquero <lekktu@gmail.com>
6032 * startup.el (emacs-quick-startup): Remove variable and all uses.
6033 (command-line): Set `inhibit-x-resources' instead.
6034 (command-line-1): Use `inhibit-x-resources' instead.
6036 2009-09-17 Chong Yidong <cyd@stupidchicken.com>
6038 * subr.el: Fix last change to avoid using the `unless' macro,
6039 which breaks bootstrapping.
6041 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6043 * subr.el (push, pop, dolist, dotimes, declare): Don't overwrite CL's
6044 extended definitions, in case we reload subr.el after having
6046 (eval-next-after-load): Mark as obsolete.
6048 2009-09-17 Juri Linkov <juri@jurta.org>
6050 * menu-bar.el (menu-bar-search-menu, menu-bar-edit-menu)
6051 (menu-bar-options-menu, menu-bar-showhide-fringe-menu)
6052 (menu-bar-showhide-menu, menu-bar-tools-menu)
6053 (menu-bar-describe-menu, menu-bar-help-menu)
6054 (minibuffer-local-completion-map, minibuffer-local-map):
6057 2009-09-17 Glenn Morris <rgm@gnu.org>
6059 * emacs-lisp/bytecomp.el (byte-compile-form): Always check the function
6060 arguments, whether or not it has a handler.
6062 * ansi-color.el (ansi-color-get-face-1): Fix typo in handler.
6064 * simple.el (hard-newline): Give it a doc-string.
6066 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
6067 (lisp-mode-syntax-table): Give them doc-strings.
6069 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu>
6071 * menu-bar.el (menu-bar-file-menu, menu-bar-file-menu)
6072 (menu-bar-i-search-menu, menu-bar-edit-menu, menu-bar-custom-menu)
6073 (menu-bar-options-menu, menu-bar-showhide-menu)
6074 (menu-bar-showhide-fringe-ind-menu, menu-bar-showhide-fringe-menu)
6075 (menu-bar-showhide-scroll-bar-menu, menu-bar-showhide-menu)
6076 (menu-bar-options-menu, menu-bar-line-wrapping-menu)
6077 (menu-bar-options-menu, menu-bar-tools-menu)
6078 (menu-bar-describe-menu, menu-bar-search-documentation-menu)
6079 (menu-bar-help-menu):
6080 (menu-bar-make-mm-toggle, menu-bar-make-toggle): Purecopy the
6083 * ediff-hook.el (menu-bar-ediff-menu, menu-bar-ediff-merge-menu)
6084 (menu-bar-epatch-menu, menu-bar-ediff-misc-menu): Add purecopy
6085 calls for the menu names and :help.
6087 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6089 * mouse.el (minor-mode-menu-from-indicator): Pay attention
6090 to :minor-mode-function (bug#4455).
6092 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6094 * startup.el (command-line): Initialize the window-system after
6095 processing the command-line.
6097 * textmodes/page.el (what-page): Make sure we don't inf-loop if
6098 page-delimiter matches the empty string.
6100 2009-09-16 Glenn Morris <rgm@gnu.org>
6102 * emacs-lisp/bytecomp.el (byte-compile-not-obsolete-vars): Rename from
6103 byte-compile-not-obsolete-var. It's a list now.
6104 (byte-compile-not-obsolete-funcs): New variable.
6105 (byte-compile-warn-obsolete): Don't warn about functions if they are in
6106 byte-compile-not-obsolete-funcs.
6107 (byte-compile-variable-ref, byte-compile-defvar): Update for
6108 byte-compile-not-obsolete-vars name-change and list nature.
6109 (byte-compile-maybe-guarded): Suppress warnings about obsolete functions
6110 and variables behind (f)boundp tests.
6111 * net/tramp-compat.el (byte-compile-not-obsolete-vars): Set if bound.
6113 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
6115 * vc-git.el (vc-git-log-view-mode): Undo inadvertent change.
6117 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
6119 * Makefile.in (compile-onefile): Use byte-compile-refresh-preloaded.
6120 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded):
6123 2009-09-15 Stephen Eglen <stephen@gnu.org>
6125 * iswitchb.el (iswitchb-read-buffer): When selecting a match from
6126 the virtual-buffers, use the name of the buffer specified by
6127 find-file-noselect, as the match may be a symlink. (This was a
6128 problem if the target and the symlink had different names.)
6130 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
6132 * custom.el (custom-initialize-default, custom-initialize-set): CSE.
6134 * desktop.el (desktop-path): Check user-emacs-directory.
6136 * emacs-lisp/bytecomp.el (byte-compile-refresh-preloaded): New function.
6138 * loadup.el: Use after-load-functions to GC after loading each file.
6139 Remove the explicit GC calls that used to be sprinkled around.
6141 * subr.el (after-load-functions): New hook.
6142 (do-after-load-evaluation): Run it. Use string-match-p to detect
6143 `obsolete' packages, rather than painfully extracting the relevant
6146 2009-09-15 Glenn Morris <rgm@gnu.org>
6148 * apropos.el (apropos-documentation-check-doc-file): Avoid assignment to
6149 free variable `doc'.
6151 * dired.el (dired-mode-map): Add menu entry for async shell command.
6153 * help-fns.el (find-lisp-object-file-name): When looking for autoloaded
6154 variables, also consider the .elc files, since the .el files are
6155 normally gzipped (subsequent code locates the .el.gz from the .elc).
6157 * calc/calc-prog.el (arglist): Define for compiler.
6159 * calendar/diary-lib.el (diary-display-function): Change the default to
6161 (body): Define for compiler.
6163 * emacs-lisp/bytecomp.el (byte-compile-keep-pending)
6164 (byte-compile-file-form, byte-compile-lambda)
6165 (byte-compile-top-level-body, byte-compile-form)
6166 (byte-compile-variable-ref, byte-compile-setq)
6167 (byte-compile-setq-default, byte-compile-body)
6168 (byte-compile-body-do-effect, byte-compile-and, byte-compile-or)
6169 (batch-byte-compile): Give some more local variables with common names
6170 a "bytecomp-" prefix to avoid masking warnings about free variables.
6172 * startup.el (command-line-1): Give local variables with common names a
6173 distinguishing prefix, so as not to hide free variable warnings during
6176 * mail/rmailmm.el (rmail-mime-save): If file exists, don't try to be
6177 clever and add a suffix to make a unique name, just let the user decide
6178 whether or not to overwrite it. If the input is a directory, write the
6179 default filename to that directory. (Bug#4388)
6180 (rmail-mime-bulk-handler): Ensure the save button's 'directory property
6181 is a filename-as-a-directory.
6183 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca>
6185 * textmodes/page.el (what-page): Don't move to beginning of line.
6186 See <87tyz5ajte.fsf@x2.delysid.org> in emacs-devel.
6188 2009-09-15 Dan Nicolaescu <dann@ics.uci.edu>
6190 * vc-git.el (vc-git-dir-extra-headers): Show the remote location.
6192 2009-09-14 Dan Nicolaescu <dann@ics.uci.edu>
6194 * bindings.el (mode-line-mode-menu): Add purecopy calls for :help.
6195 * help.el (help-for-help-internal): Add purecopy calls for text.
6197 * vc.el (top): print-log method now takes an optional SHORTLOG
6198 argument. Add a new method: root.
6199 (vc-root-diff, vc-print-root-log): New functions.
6200 (vc-log-short-style): New variable.
6201 (vc-print-log-internal): Add support for showing short logs.
6203 * vc-hooks.el (vc-prefix-map, vc-menu-map): Add bindings for
6204 vc-print-root-log and vc-print-root-diff.
6206 * vc-bzr.el (vc-bzr-log-view-mode, vc-bzr-print-log):
6207 * vc-git.el (vc-git-print-log, vc-git-log-view-mode):
6208 * vc-hg.el (vc-hg-print-log, vc-hg-log-view-mode): Add support for
6211 * vc-cvs.el (vc-cvs-print-log):
6212 * vc-mtn.el (vc-mtn-print-log):
6213 * vc-rcs.el (vc-rcs-print-log):
6214 * vc-sccs.el (vc-sccs-print-log):
6215 * vc-svn.el (vc-svn-print-log): Add an optional argument shortlog
6216 that is ignored for now.
6218 * vc-mtn.el (vc-mtn-annotate-command):
6219 * vc-svn.el (vc-svn-annotate-command): Run asynchronously.
6221 2009-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
6223 * simple.el: Add mapping for backspace/delete/clear/tab/escape/return
6224 to function-key-map, and give them ascii-character property.
6225 * term/x-win.el (x-alternatives-map):
6226 * term/ns-win.el (ns-alternatives-map):
6227 * term/internal.el (msdos-key-remapping-map):
6228 * w32-fns.el (x-alternatives-map): Remove redundant mappings.
6230 2009-09-14 Glenn Morris <rgm@gnu.org>
6232 * emacs-lisp/elint.el (elint-add-required-env): Revert to not using
6233 temp-buffers (2009-09-12).
6235 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6237 * textmodes/ispell.el (ispell-command-loop): Improve last fix, using
6238 the new read-key function.
6240 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
6242 * term/x-win.el (x-menu-bar-open): Only call accelerate-menu if it
6243 is defined (Bug#4405).
6245 2009-09-13 Vincent Belaïche <vincent.belaiche@gmail.com>
6247 * recentf.el (recentf-cleanup): Use a hash table to find
6248 duplicates (Bug#4407).
6250 2009-09-13 Per Starbäck <per@starback.se> (tiny change)
6252 * textmodes/ispell.el (ispell-command-loop): Convert keys such as
6253 kp-0 to ascii equivalents (Bug#4325).
6255 2009-09-13 Chong Yidong <cyd@stupidchicken.com>
6257 * progmodes/cperl-mode.el (cperl-init-faces): Revert last change.
6259 * eshell/em-hist.el:
6260 * eshell/em-dirs.el (eshell-complete-user-reference):
6261 Declare pcomplete functions and variables to avoid compiler warnings.
6263 2009-09-13 Leo <sdl.web@gmail.com> (tiny change)
6265 * eshell/em-script.el (eshell-login-script, eshell-rc-script):
6266 * eshell/em-dirs.el (eshell-last-dir-ring-file-name):
6267 * eshell/em-alias.el (eshell-aliases-file):
6268 * eshell/em-hist.el (eshell-history-file-name):
6269 Use expand-file-name instead of concat to make file names (Bug#4308).
6271 2009-09-13 Glenn Morris <rgm@gnu.org>
6273 * ediff-merg.el (ediff-do-merge):
6274 * filesets.el (filesets-run-cmd):
6275 * emulation/ws-mode.el (ws-show-markers, ws-move-block, ws-delete-block)
6276 (ws-find-marker-0, ws-find-marker-1, ws-find-marker-2, ws-find-marker-3)
6277 (ws-find-marker-4, ws-find-marker-5, ws-find-marker-6, ws-find-marker-7)
6278 (ws-find-marker-8, ws-find-marker-9, ws-goto-block-begin)
6279 (ws-goto-block-end, ws-goto-last-cursorposition, ws-copy-block):
6280 Replace empty `let's with `progn'.
6282 2009-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6284 * mail/sendmail.el (send-mail-function):
6285 * tooltip.el (tooltip-mode):
6286 * simple.el (transient-mark-mode):
6287 * rfn-eshadow.el (file-name-shadow-mode):
6288 * frame.el (blink-cursor-mode):
6289 * font-core.el (global-font-lock-mode):
6290 * files.el (temporary-file-directory)
6291 (small-temporary-file-directory, auto-save-file-name-transforms):
6292 * epa-hook.el (auto-encryption-mode):
6293 * composite.el (global-auto-composition-mode):
6294 Use custom-initialize-delay.
6295 * startup.el (command-line): Don't explicitly call
6296 custom-reevaluate-setting for all the above vars.
6297 * custom.el (custom-initialize-safe-set)
6298 (custom-initialize-safe-default): Delete.
6300 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6302 * term/x-win.el (x-initialize-window-system):
6303 * term/w32-win.el (w32-initialize-window-system):
6304 * term/ns-win.el (ns-initialize-window-system): Don't call
6305 mouse-wheel-mode since it's enabled globally by default already.
6307 * mwheel.el (mouse-wheel-mode): Make sure the new defvar doesn't
6308 actually define the variable, but only silences the byte-compiler.
6309 (mouse-wheel-change-button): Check whether mouse-wheel-mode is bound
6310 before looking it up.
6311 (mouse-wheel-scroll-amount): Also reset the bindings if this value
6314 2009-09-12 Glenn Morris <rgm@gnu.org>
6316 * emacs-lisp/elint.el (elint-file): Make max-lisp-eval-depth at least
6318 (elint-add-required-env): Don't beep on error.
6319 (elint-forms): In case of error, return ENV unchanged.
6320 (elint-init-env): Skip non-list forms.
6321 (elint-log): Handle unknown file positions.
6323 2009-09-12 Daiki Ueno <ueno@unixuser.org>
6325 * epg.el (epg-make-context): Add autoload cookie.
6326 (epg-list-keys, epg-cancel, epg-start-decrypt, epg-decrypt-file)
6327 (epg-decrypt-string, epg-start-verify, epg-verify-file)
6328 (epg-verify-string, epg-start-sign, epg-sign-file)
6329 (epg-sign-string, epg-start-encrypt, epg-encrypt-file)
6330 (epg-encrypt-string, epg-start-export-keys)
6331 (epg-export-keys-to-file, epg-export-keys-to-string)
6332 (epg-start-import-keys, epg-import-keys-from-file)
6333 (epg-import-keys-from-string, epg-start-receive-keys)
6334 (epg-receive-keys, epg-import-keys-from-server)
6335 (epg-start-delete-keys, epg-delete-keys, epg-start-sign-keys)
6336 (epg-sign-keys, epg-start-generate-key)
6337 (epg-generate-key-from-file, epg-generate-key-from-string):
6338 Remove autoload cookie.
6340 2009-09-12 Eli Zaretskii <eliz@gnu.org>
6342 * dos-fns.el (dos-reevaluate-defcustoms): Comment out the
6343 reevaluation of trash-directory.
6345 * mwheel.el: Fix last change.
6346 (mouse-wheel-mode): New defvar.
6347 (mouse-wheel-mode): Remove autoload cookie.
6349 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6351 * mwheel.el (mwheel-installed-bindings): New var.
6352 (mouse-wheel-mode): Use it, so as to make sure we really remove all
6353 the bindings we set last time. Use custom-initialize-delay.
6354 * loadup.el: Load mwheel after term/*-win.el.
6355 * startup.el (command-line): Don't reevaluate mouse-wheel-down-event
6356 and mouse-wheel-up-event now that their first evaluation is done
6357 sufficiently late to be correct.
6359 * startup.el (tutorial-directory): Make it a defcustom.
6360 Use custom-initialize-delay rather than eval-at-startup to set it.
6361 * image.el (image-load-path): Make it a defcustom.
6362 Use custom-initialize-delay rather than eval-at-startup to set it.
6363 * subr.el (eval-at-startup): Remove.
6364 * font-lock.el (lisp-font-lock-keywords-2): Remove eval-at-startup.
6366 * subr.el (do-after-load-evaluation): Warn the user after loading an
6369 2009-09-12 Glenn Morris <rgm@gnu.org>
6371 * proced.el (proced-mark-alt): Remove alias.
6372 (proced-mode-map): Remove proced-mark-alt.
6374 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries to
6375 Elint file and directory. Remove initialization entry.
6377 * emacs-lisp/elint.el (elint-file, elint-directory): New autoloaded
6379 (elint-current-buffer): Set mode-line-process.
6380 (elint-init-env): Handle define-derived-mode.
6381 Fix declare-function with unspecified arglist. Guard against odd
6382 defalias statements (eg iso-insert's 8859-1-map).
6383 (elint-add-required-env): Use a temp buffer.
6384 (elint-form): Just print the function/macro name, not the whole form.
6385 Return env unchanged if we fail to parse a macro.
6386 (elint-forms): Guard against parse errors.
6387 (elint-output): New function, to handle batch mode.
6388 (elint-log-message): Add optional argument. Use elint-output.
6389 (elint-set-mode-line): New function.
6391 2009-09-12 Andreas Politz <politza@fh-trier.de> (tiny change)
6393 * emacs-lisp/elp.el (elp-not-profilable): Add more
6394 functions (Bug#4233).
6396 2009-09-12 Chong Yidong <cyd@stupidchicken.com>
6398 * emulation/pc-select.el (scroll-down-mark, scroll-down-nomark)
6399 (scroll-up-mark, scroll-up-nomark): Doc fix (Bug#4190).
6401 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
6403 * progmodes/gdb-mi.el (gdb-var-list-children-regexp): Delete.
6404 (gdb-var-list-children): Use json parsing.
6406 2009-09-11 Daniel Colascione <dan.colascione@gmail.com>
6408 * progmodes/js.el (js--proper-indentation): Handle the case where
6409 char-before is null. Reported by Deniz Dogan.
6411 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
6413 * emacs-lisp/cl-macs.el (help-add-fundoc-usage): Declare.
6415 2009-09-11 Daiki Ueno <ueno@unixuser.org>
6417 * epg.el (epg-cipher-algorithm-alist): Add CAMELLIA.
6418 (epg-digest-algorithm-alist): Add SHA224.
6419 (epg-context-set-passphrase-callback)
6420 (epg-context-set-progress-callback): Add description about
6423 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6425 * custom.el (custom-delayed-init-variables): New var.
6426 (custom-initialize-delay): New function.
6427 * startup.el (command-line): "Re"evaluate all vars in
6428 custom-delayed-init-variables. Don't reevaluate abbrev-file-name
6429 explicitly any more.
6430 * abbrev.el (abbrev-file-name): Use custom-initialize-delay
6431 to avoid creating a ~/.emacs.d at build-time (bug#4347).
6433 * proced.el (proced-mode-map): Prefer "m" for proced-mark (bug#4362).
6435 2009-09-11 Nick Roberts <nickrob@snap.net.nz>
6437 * progmodes/gdb-mi.el (gdb-var-update-regexp): Delete.
6438 (gdb-var-update-handler): Use json parsing.
6440 2009-09-11 Juanma Barranquero <lekktu@gmail.com>
6442 * vc-annotate.el (vc-annotate): Use the main file's coding-system to
6443 decode annotated text, regardless of language environment. (Bug#2741)
6445 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6447 * Makefile.in (autoloads): Make rmail.el writable as well.
6449 2009-09-11 Glenn Morris <rgm@gnu.org>
6451 * dired-aux.el, dired-x.el: Put autoloads in dired.el rather than
6453 * dired.el: Regenerate with extracted autoloads.
6454 * Makefile.in (autoloads): Make dired.el writable.
6456 * ibuf-ext.el: Put autoloads in ibuffer.el rather than loaddefs.el.
6457 * ibuffer.el: Regenerate with extracted autoloads.
6458 * Makefile.in (autoloads): Make ibuffer.el writable.
6460 * paths.el (prune-directory-list, gnus-nntp-service, rmail-file-name):
6461 * version.el (emacs-copyright, emacs-major-version)
6462 (emacs-minor-version): Reformat doc-strings for make-docfile.
6464 * apropos.el (apropos-documentation-check-doc-file): Exclude unbound
6465 functions and variables, since they must be stuff specific to some other
6467 (apropos-print): Make mouse-click message less specific about button.
6469 * emacs-lisp/cl-macs.el (define-compiler-macro): Add a property
6470 that records where a macro was defined.
6471 * help-fns.el (describe-function-1): Mention if a function has a
6473 * help-mode.el (help-function-cmacro): New button.
6475 * locate.el (top-level): Always require dired.
6476 (locate-mode-map): Initialize inside the defvar.
6478 * net/ange-ftp.el (dired-compress-file): Declare.
6479 (ange-ftp-dired-compress-file): Add doc string.
6481 * term/ns-win.el (x-display-name, x-setup-function-keys):
6482 Unify doc-strings with X versions.
6484 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6486 * emulation/crisp.el (crisp-mode-map): Move initialization
6488 (crisp-mode): Use define-minor-mode.
6490 * progmodes/xscheme.el (xscheme-evaluation-commands):
6491 Put a :advertised-binding property rather than using
6492 advertised-xscheme-send-previous-expression.
6493 (advertised-xscheme-send-previous-expression): Declare obsolete.
6494 * emulation/crisp.el (crisp-mode-map): Use `undo' rather than
6496 (crisp-mode): Add corresponding bindings to
6497 undo's :advertised-binding instead.
6498 * dired.el (dired-mode-map): Put a :advertised-binding property rather
6499 than using dired-advertised-find-file.
6500 (dired-advertised-find-file):
6501 * simple.el (advertised-undo):
6502 * wid-edit.el (advertised-widget-backward): Declare obsolete.
6503 (widget-keymap): Put a :advertised-binding property rather
6504 than using advertised-widget-backward.
6505 * bindings.el (ctl-x-map): Put a :advertised-binding property rather
6506 than using advertised-undo.
6507 * tutorial.el (tutorial--default-keys): Adjust accordingly.
6509 2009-09-10 Simon South <ssouth@slowcomputing.org>
6511 * progmodes/delphi.el (delphi-tab): Indent region when Transient
6512 Mark mode is enabled and region is active; otherwise indent or
6513 insert TAB as usual.
6514 (delphi-mode): Update description of TAB-key binding.
6516 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6518 * subr.el (define-key-rebound-commands): Mark obsolete.
6519 * startup.el (precompute-menubar-bindings): Remove.
6520 (normal-top-level): Remove obsolete code that tried to precompute
6522 * loadup.el (define-key-rebound-commands): Don't bother fiddling with
6523 define-key-rebound-commands and precompute-menubar-bindings.
6525 2009-09-10 Teodor Zlatanov <tzz@lifelogs.com>
6527 * net/imap.el (imap-interactive-login): Better messages.
6528 (imap-open): Fix bug with renamed buffer on reconnect.
6529 (imap-authenticate): Add buffer-local imap-last-authenticator variable
6530 for easier debugging and cleaner code. On successful (guessed based on
6531 server capabilities) secondary authentication, set imap-state
6533 (imap-last-authenticator): Define imap-last-authenticator as a variable
6536 2009-09-10 Glenn Morris <rgm@gnu.org>
6538 * pcvs.el (cvs-mode-find-file): Use forward-line rather than goto-line.
6540 * emacs-lisp/bytecomp.el (byte-compile-function-environment): Doc fix.
6541 (byte-compile-file-form-autoload): Don't warn about unknown functions
6542 where the autoload statement comes after the use.
6543 (with-no-warnings): Give it a byte-hunk-handler like than of progn, so
6544 that any handlers inside the body (eg require) are in turn respected.
6546 * emacs-lisp/byte-opt.el (degrees-to-radians): Mark as free from side
6549 * emacs-lisp/derived.el (define-derived-mode): Give the mode's map,
6550 and syntax and abbrev tables basic docs, if they don't have any.
6552 * emacs-lisp/easy-mmode.el (easy-mmode-defmap): Add doc-string.
6554 * international/mule-cmds.el (top-level): Require cl when compiling.
6555 (view-hello-file): Use default-value rather than
6556 default-enable-multibyte-characters.
6558 * progmodes/fortran.el: Move all safe and risky properties into the
6561 * mail/rmailedit.el, mail/rmailkwd.el, mail/rmailmm.el:
6562 * mail/rmailmsc.el, mail/rmailsort.el, mail/rmailsum.el:
6564 Put autoloads in rmail.el rather than loaddefs.el.
6565 * mail/rmail.el: Regenerate with extracted autoloads.
6567 * mail/rmailsum.el (rmail-user-mail-address-regexp): Move to rmail.el.
6568 * mail/rmail.el (rmail-user-mail-address-regexp): Move from rmailsum.el.
6570 2009-09-10 Nick Roberts <nickrob@snap.net.nz>
6572 Reported in thread for Bug#4375.
6573 * progmodes/gud.el (gud-tooltip-print-command): Use MI command
6574 "-data-evaluate-expression" instead of print.
6575 * progmodes/gdb-mi.el (gdb-tooltip-print-1): Ditto.
6576 (gdb-tooltip-print): Parse output from above MI command.
6577 (gdb): Revert 2009-08-11 change. User should detach inferior
6580 Remove the word "separate" from IO functions as inferior
6581 output is now never displayed in the GUD buffer.
6583 2009-09-10 Juanma Barranquero <lekktu@gmail.com>
6585 * startup.el (command-line-normalize-file-name): On Windows and
6586 MS-DOS, also convert C:\/ and C:\\ (two backslashes) into C:/.
6588 2009-09-10 Juri Linkov <juri@jurta.org>
6590 * isearch.el (isearch-text-char-description): Propertize escape
6591 character sequences with the `escape-glyph' face. (Bug#4344)
6593 * simple.el (shell-command): Set asynchronous process filter to
6594 `comint-output-filter'. (Bug#4343)
6596 * progmodes/grep.el (grep-template): Add "<X>" to docstring.
6597 (grep-files-aliases): Add "all". Move "el" and "ch" to the top of
6598 the list. Move "asm" to the bottom.
6599 (grep-find-ignored-directories): Add `choice' with nil value
6600 to empty the list easily.
6601 (grep-find-ignored-files): New option.
6602 (grep-files-history): Set to nil by default instead of '("ch" "el").
6603 (grep-compute-defaults): Add "<X>" to `grep-template'.
6604 (grep-read-files): Bind new local variables `default-alias' and
6605 `default-extension'. Use a list of default values for the file prompt.
6606 (lgrep): Add `--exclude=' command line options composed from
6607 `grep-find-ignored-files'.
6608 (rgrep): Add `-name' command line options composed from
6609 `grep-find-ignored-files'. (Bug#4301)
6611 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
6613 * diff-mode.el (diff-hunk-kill): Fix the search of the next hunk
6616 2009-09-09 Katsumi Yamaoka <yamaoka@jpl.org>
6618 * calendar/time-date.el (autoload):
6619 Expand define-obsolete-function-alias into defalias and make-obsolete
6620 for old Emacsen that Gnus supports.
6621 (with-no-warnings): Define it for old Emacsen.
6622 (time-to-seconds): Don't use (featurep 'xemacs) to check if float-time
6624 (time-to-number-of-days): Don't use (featurep 'xemacs) to check if
6625 float-time is available; suppress compile warning for time-to-seconds.
6627 2009-09-09 Teodor Zlatanov <tzz@lifelogs.com>
6629 * net/imap.el (imap-message-map): Docstring fix.
6631 2009-09-09 Glenn Morris <rgm@gnu.org>
6633 * ffap.el (ffap-file-at-point): Handle absolute (non-remote) files with
6634 line numbers too. (Bug#4374)
6636 2009-09-08 Stefan Monnier <monnier@iro.umontreal.ca>
6638 * smerge-mode.el (smerge-remove-props, smerge-refine):
6639 Use with-silent-modifications (bug#4342).
6641 * subr.el (with-silent-modifications): New macro.
6643 2009-09-07 Juanma Barranquero <lekktu@gmail.com>
6645 * files.el (top-level): Require `cl' when compiling.
6647 2009-09-07 Glenn Morris <rgm@gnu.org>
6649 * files.el (auto-mode-alist): Use delphi-mode for .dpr files.
6651 * proced.el (proced-mode-map): Bind "d" to proced-mark-alt.
6652 (proced-mark-alt): New alias, to control the advertised key. (Bug#4362)
6654 2009-09-06 Nick Roberts <nickrob@snap.net.nz>
6656 * vc-git.el (vc-git-annotate-command): Use separator to parse
6657 arguments correctly.
6659 2009-09-06 Eli Zaretskii <eliz@gnu.org>
6661 * proced.el (proced-mode): Doc fix.
6663 2009-09-06 Julian Scheid <julians37@gmail.com> (tiny change)
6665 * net/tramp.el (tramp-perl-file-attributes): Print "nil" when
6667 (tramp-do-file-attributes-with-ls): Check for file existence at
6669 (tramp-do-file-attributes-with-stat): Likewise.
6670 (tramp-convert-file-attributes): Return nil when attr is nil.
6672 2009-09-05 Glenn Morris <rgm@gnu.org>
6674 * calendar/diary-lib.el (diary-entry): Add help-echo and follow-link
6675 properties to this button.
6676 (diary-fancy-display): Don't extend the button to the final newline.
6677 (diary-fancy-display-mode): Continue to define "q" as a local key.
6679 * calendar/cal-china.el (holiday-chinese): Make it slightly more
6682 * font-lock.el (lisp-font-lock-keywords-2): Add letf.
6684 * emacs-lisp/bytecomp.el (emacs-lisp-file-regexp): Doc fix.
6685 (byte-compile-dest-file-function): New option.
6686 (byte-compile-dest-file): Doc fix.
6687 Obey byte-compile-dest-file-function.
6688 (byte-compile-cl-file-p): New function.
6689 (byte-compile-eval): Only suppress noruntime warnings about cl functions
6690 if the cl-functions warning is enabled. Use byte-compile-cl-file-p.
6691 (byte-compile-eval): Check for non-nil byte-compile-cl-functions rather
6692 than for file being previously loaded.
6693 (byte-compile-find-cl-functions): Use byte-compile-cl-file-p.
6694 (byte-compile-file-form-require): Handle the case where requiring a file
6695 indirectly causes CL to be loaded.
6697 2009-09-05 Karl Fogel <kfogel@red-bean.com>
6699 * files.el (find-alternate-file): Run `kill-buffer-hook' manually
6700 before killing the old buffer, since by the time `kill-buffer' is
6701 run so many buffer variables have been set to nil that it may not
6702 behave as expected. (Bug#4061)
6704 2009-09-05 Karl Fogel <kfogel@red-bean.com>
6706 * files.el (find-alternate-file): If the old buffer is modified
6707 and visiting a file, behave similarly to `kill-buffer' when
6708 killing it, thus reverting to the pre-1.878 behavior; see
6709 http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00101.html
6710 for discussion. Also, consult `buffer-file-name' as a variable
6711 not as a function, for consistency with the rest of the code.
6713 2009-09-04 Michael Albinus <michael.albinus@gmx.de>
6715 * net/tramp.el (tramp-handle-insert-directory): Handle "--dired"
6716 also when adding a new directory.
6718 * net/tramp-compat.el (tramp-compat-line-beginning-position): New
6721 2009-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6723 * files.el (locate-file-completion-table): Make it provide boundary
6724 information, so partial-completion works better.
6726 2009-09-04 Leo <sdl.web@gmail.com> (tiny change)
6728 * mail/footnote.el (Footnote-text-under-cursor):
6729 Check footnote-text-marker-alist before using it (bug#4324).
6731 2009-09-04 Glenn Morris <rgm@gnu.org>
6733 * play/5x5.el, play/decipher.el, play/gametree.el, play/handwrite.el:
6734 * play/hanoi.el, play/landmark.el, play/mpuz.el, play/pong.el:
6735 * play/solitaire.el, play/tetris.el:
6736 Remove leading * from defcustom and defface docs.
6738 * calendar/diary-lib.el (diary-fancy-display): Only switch modes if
6740 (diary-fancy-overriding-map): New variable.
6741 (diary-fancy-display-mode): Set minor-mode-overriding-map-alist.
6744 * vc-rcs.el (vc-rcs-annotate-command): Use forward-line rather than
6747 2009-09-03 Glenn Morris <rgm@gnu.org>
6749 * arc-mode.el (archive-mode):
6750 * dos-fns.el (set-default-process-coding-system):
6751 * man.el (Man-getpage-in-background):
6752 * menu-bar.el (menu-bar-describe-menu):
6753 * server.el (server-process-filter):
6754 * startup.el (command-line):
6755 * tar-mode.el (tar-header-block-tokenize, tar-extract):
6756 * w32-fns.el (set-default-process-coding-system):
6757 * x-dnd.el (x-dnd-handle-file-name):
6758 * international/mule-cmds.el (mule-menu-keymap)
6759 (set-default-coding-systems, language-info-alist, set-language-info)
6760 (set-language-environment, standard-display-european-internal)
6761 (set-locale-environment):
6762 * international/mule-diag.el (mule-diag):
6763 * mail/emacsbug.el (report-emacs-bug):
6764 * mail/rmail.el (rmail-mode):
6765 * mail/sendmail.el (mail-setup):
6766 Use default-value rather than default-enable-multibyte-characters.
6768 * progmodes/f90.el: Move all safe properties into the defcustoms.
6769 (f90-get-correct-indent, f90-indent-region, f90-abbrev-start): Use memq.
6771 * calendar/appt.el (appt-check):
6772 * calendar/diary-lib.el (diary-set-header, diary-live-p)
6773 (diary-check-diary-file, diary-list-entries)
6774 (diary-include-other-diary-files, diary-simple-display)
6775 (diary-fancy-display, diary-print-entries)
6776 (diary-mark-included-diary-files, diary-make-entry):
6777 Don't call substitute-in-file-name on diary-file.
6779 2009-09-03 Eduard Wiebe <usenet@pusto.de>
6780 Stefan Monnier <monnier@iro.umontreal.ca>
6782 * mail/footnote.el (footnote-prefix): Make it a defcustom.
6783 (footnote-mode-map): Move initialization into the declaration.
6784 (footnote-minor-mode-map): Define it rather than changing global-map.
6785 (footnote-mode): Use define-minor-mode.
6787 2009-09-02 Michael Albinus <michael.albinus@gmx.de>
6789 * net/tramp.el (tramp-handle-file-attributes-with-ls)
6790 (tramp-do-file-attributes-with-perl)
6791 (tramp-do-file-attributes-with-stat): Rename from
6792 `tramp-handle-file-attributes-with-*'.
6793 (tramp-handle-file-attributes): Use them.
6794 (tramp-do-directory-files-and-attributes-with-perl)
6795 (tramp-do-directory-files-and-attributes-with-stat): Rename from
6796 `tramp-handle-directory-files-and-attributes-with-*'.
6797 (tramp-handle-directory-files-and-attributes): Use them.
6798 (tramp-method-out-of-band-p): Additional parameter SIZE.
6799 (tramp-do-copy-or-rename-file, tramp-handle-file-local-copy)
6800 (tramp-handle-write-region): Use it.
6801 (tramp-handle-insert-directory): Use "?\ " for compatibility reasons.
6802 (tramp-handle-vc-registered): Check, whether the first run did
6803 return files to be tested.
6804 (tramp-advice-make-auto-save-file-name): Do not call directly
6805 `tramp-handle-make-auto-save-file-name', because this would bypass
6806 the locking mechanism.
6808 * net/tramp-compat.el (top): Autoload used functions from tramp.el.
6809 (file-remote-p, process-file, start-file-process, set-file-times)
6810 (tramp-compat-file-attributes): Compatibility functions shall not
6811 call directly `tramp-handle-*', because this would bypass the
6813 (tramp-compat-number-sequence): New defun.
6815 2009-09-02 Glenn Morris <rgm@gnu.org>
6817 * calendar/time-date.el (time-to-seconds): In Emacs, make it an obsolete
6818 alias for float-time.
6819 (time-to-number-of-days): In Emacs, use float-time.
6820 * net/newst-backend.el (time-add): Suppress warnings from compat
6822 * time.el (emacs-uptime, emacs-init-time):
6823 * net/rcirc.el (rcirc-keepalive, rcirc-handler-ctcp-KEEPALIVE):
6824 Use float-time rather than time-to-seconds.
6826 * minibuffer.el (completion-initials-expand): Fix typo.
6828 * faces.el (modeline, modeline-inactive, modeline-highlight)
6829 (modeline-buffer-id):
6830 * info.el (info-menu-5): Mark these face aliases as obsolete.
6832 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
6834 * progmodes/gdb-mi.el (gdb-current-context-command): Move the
6836 (gdb-gud-context-call): ... to here for pre GDB 7.0 when there is
6837 no "--thread" option.
6838 (gdb-stopped): Don't print "Switched to thread" message when it is
6841 2009-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
6843 * minibuffer.el (completion-try-completion)
6844 (completion-all-completions): Remove ill-defined (and
6845 mistakenly installed and luckily never used nor documented)
6846 `completion-styles' property.
6847 (completion-initials-expand, completion-initials-all-completions)
6848 (completion-initials-try-completion): New functions.
6849 (completion-styles-alist): Add doc to each entry.
6850 Add new `initials' entry.
6852 2009-09-01 Nick Roberts <nickrob@snap.net.nz>
6854 * progmodes/gdb-mi.el (gdb-var-create-handler): Remove redundant
6855 MI command -var-evaluate-expression.
6856 (gdb-var-list-children-regexp): Update from regexp-1 in gdb-ui.el
6857 and tweak for case of string child.
6858 (gdb-var-list-children-handler): Update from handler-1 in gdb-ui.el.
6860 2009-09-01 Glenn Morris <rgm@gnu.org>
6862 * add-log.el (change-log-date-face, change-log-name-face)
6863 (change-log-email-face, change-log-file-face, change-log-list-face)
6864 (change-log-conditionals-face, change-log-function-face)
6865 (change-log-acknowledgement-face):
6866 * cus-edit.el (custom-invalid-face, custom-rogue-face)
6867 (custom-modified-face, custom-set-face, custom-changed-face)
6868 (custom-saved-face, custom-button-face, custom-button-pressed-face)
6869 (custom-documentation-face, custom-state-face, custom-comment-face)
6870 (custom-comment-tag-face, custom-variable-tag-face)
6871 (custom-variable-button-face, custom-face-tag-face)
6872 (custom-group-tag-face-1, custom-group-tag-face):
6873 * diff-mode.el (diff-header-face, diff-file-header-face)
6874 (diff-index-face, diff-hunk-header-face, diff-removed-face)
6875 (diff-added-face, diff-changed-face, diff-function-face)
6876 (diff-context-face, diff-nonexistent-face):
6877 * generic-x.el (show-tabs-tab-face, show-tabs-space-face):
6878 * hilit-chg.el (highlight-changes-face, highlight-changes-delete-face):
6879 * info.el (Info-title-1-face, Info-title-2-face, Info-title-3-face)
6880 (Info-title-4-face):
6881 * isearch.el (isearch-lazy-highlight-face):
6882 * log-view.el (log-view-file-face, log-view-message-face):
6883 * paren.el (show-paren-match-face, show-paren-mismatch-face):
6884 * pcvs-info.el (cvs-header-face, cvs-filename-face, cvs-unknown-face)
6885 (cvs-handled-face, cvs-need-action-face, cvs-marked-face)
6887 * smerge-mode.el (smerge-mine-face, smerge-other-face)
6888 (smerge-base-face, smerge-markers-face):
6889 * wid-edit.el (widget-documentation-face, widget-button-face)
6890 (widget-field-face, widget-single-line-field-face)
6891 (widget-inactive-face, widget-button-pressed-face):
6892 * woman.el (woman-italic-face, woman-bold-face, woman-unknown-face)
6893 (woman-addition-face):
6894 * eshell/em-ls.el (eshell-ls-directory-face, eshell-ls-symlink-face)
6895 (eshell-ls-executable-face, eshell-ls-readonly-face)
6896 (eshell-ls-unreadable-face, eshell-ls-special-face)
6897 (eshell-ls-missing-face, eshell-ls-archive-face)
6898 (eshell-ls-backup-face, eshell-ls-product-face)
6899 (eshell-ls-clutter-face):
6900 * eshell/em-prompt.el (eshell-prompt-face):
6901 * eshell/esh-test.el (eshell-test-ok-face, eshell-test-failed-face):
6902 * obsolete/old-whitespace.el (whitespace-highlight-face):
6903 * progmodes/antlr-mode.el (antlr-font-lock-default-face)
6904 (antlr-font-lock-keyword-face, antlr-font-lock-syntax-face)
6905 (antlr-font-lock-ruledef-face, antlr-font-lock-tokendef-face)
6906 (antlr-font-lock-ruleref-face, antlr-font-lock-tokenref-face)
6907 (antlr-font-lock-literal-face):
6908 * progmodes/ebrowse.el (ebrowse-tree-mark-face)
6909 (ebrowse-root-class-face, ebrowse-file-name-face)
6910 (ebrowse-default-face, ebrowse-member-attribute-face)
6911 (ebrowse-member-class-face, ebrowse-progress-face):
6912 * progmodes/make-mode.el (makefile-space-face):
6913 * progmodes/sh-script.el (sh-heredoc-face):
6914 * textmodes/flyspell.el (flyspell-incorrect-face)
6915 (flyspell-duplicate-face):
6916 * textmodes/tex-mode.el (tex-math-face, tex-verbatim-face):
6917 * textmodes/texinfo.el (texinfo-heading-face):
6918 Mark face aliases with "-face" suffix as obsolete.
6920 * mail/feedmail.el (file-name-buffer-file-type-alist): Define for
6923 * net/eudc-bob.el (eudc-bob-generic-menu, eudc-bob-image-menu)
6924 (eudc-bob-sound-menu): Use defvar rather than defconst, since
6925 easy-menu-define wants to modify these.
6927 * net/net-utils.el (nslookup): Use make-comint rather than comint-run.
6929 * net/browse-url.el (browse-url-file-url):
6930 * term/internal.el (dos-codepage-setup):
6931 Use default-value rather than default-enable-multibyte-characters.
6933 * progmodes/etags.el (etags-goto-tag-location):
6934 * progmodes/flymake.el (flymake-highlight-line)
6935 (flymake-goto-file-and-line, flymake-goto-line):
6936 * progmodes/gdb-mi.el (gdb-mouse-until, gdb-mouse-jump)
6937 (gdb-goto-breakpoint):
6938 * progmodes/idlw-shell.el (idlwave-shell-move-to-bp):
6939 * progmodes/python.el (python-find-function)
6940 (python-pdbtrack-track-stack-file):
6941 * progmodes/verilog-mode.el (verilog-surelint-off):
6942 * term/ns-win.el (ns-open-file-select-line):
6943 * textmodes/bibtex.el (bibtex-validate, bibtex-validate-globally):
6944 Use forward-line rather than goto-line.
6946 * textmodes/reftex-cite.el (reftex-offer-bib-menu):
6947 * textmodes/reftex-index.el (reftex-display-index):
6948 * textmodes/reftex-ref.el (reftex-offer-label-menu):
6949 * textmodes/reftex-toc.el (reftex-toc):
6950 Remove unnecessary bindings of default-major-mode (all are followed by
6951 major-mode check and possible mode switch).
6953 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
6955 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6956 Handle watchpoints (bug#4282).
6957 (def-gdb-thread-buffer-command): Enable thread to be selected by
6958 clicking without selecting threads buffer first.
6959 (gdb-current-context-command): Use selected frame so that "up",
6960 "down" etc work in the GUD buffer.
6961 (gdb-update): Find selected frame before rendering stack buffer.
6962 (gdb-frame-handler): Set gdb-frame-number for stack buffer.
6964 2009-08-31 Stefan Monnier <monnier@iro.umontreal.ca>
6966 * progmodes/sym-comp.el (displayed-completions): Remove.
6967 (symbol-complete): Use minibuffer-complete.
6969 2009-08-31 Glenn Morris <rgm@gnu.org>
6971 * emacs-lisp/byte-run.el (define-obsolete-face-alias): New macro.
6973 * apropos.el (apropos-symbols-internal):
6974 Handle (obsolete) face aliases.
6976 * faces.el (describe-face): Adjust the output format to be more like
6977 describe-variable, and to mention (obsolete) face aliases.
6978 Adjust the whitespace so that help-setup-xref works.
6980 * calendar/calendar.el (calendar-today-face, diary-face, holiday-face):
6981 * calendar/diary-lib.el (diary-button-face):
6982 Mark these face aliases as obsolete.
6984 * calendar/calendar.el (calendar-today): Doc fix.
6986 2009-08-31 Nick Roberts <nickrob@snap.net.nz>
6988 * progmodes/gdb-mi.el (gdb-control-all-threads)
6989 (gdb-control-current-thread): Force tool bar update.
6990 (gdb-non-stop-handler): New function.
6991 (gdb-init-1): Use it to test if non-stop mode is supported.
6992 Remove unused gdbmi buffer type.
6994 2009-08-30 Kevin Rodgers <kevin.d.rodgers@gmail.com>
6996 * progmodes/grep.el (grep-read-files): Strip trailing <N> from
6997 buffer names not visiting a file (e.g. cloned buffers). (Bug#4210)
6999 2009-08-30 Nick Roberts <nickrob@snap.net.nz>
7001 * comint.el (comint-exec-1): Check command is non-null first.
7002 Part of gdb-mi.el change (2009-08-28).
7004 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7006 * emacs-lisp/lisp.el (lisp-complete-symbol): Use minibuffer-complete.
7008 2009-08-30 Juanma Barranquero <lekktu@gmail.com>
7010 * subr.el (do-after-load-evaluation): Fix last change: use `mapc'
7011 instead of `dolist' to avoid a recursive require when bootstrapping.
7013 2009-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
7015 * emacs-lisp/lisp.el (field-complete): Use minibuffer-complete.
7017 * net/ldap.el (ldap-search-internal): Use with-current-buffer and push.
7019 * net/imap.el (imap-send-command): Simplify.
7020 (imap-wait-for-tag): point-max -> buffer-size.
7022 * net/ange-ftp.el (internal-ange-ftp-mode): Use define-derived-mode.
7024 * emacs-lisp/easy-mmode.el (define-minor-mode): Don't use symbol-value
7025 with constant argument.
7027 * emacs-lisp/debug.el (debugger-setup-buffer): Make it multibyte.
7029 * emacs-lisp/cl.el (cl-macro-environment): Don't define it here.
7031 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag):
7032 Change default, since most of our files don't have a history.
7033 (checkdoc-display-status-buffer): Don't use a hidden buffer to show to
7036 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
7039 * calc/calc.el: Improve commenting convention.
7040 (calc-digit-map, toplevel): Simplify.
7042 * comint.el (comint-insert-input): Be careful to only set point if we
7043 don't delegate to some other command.
7045 * proced.el (proced-signal-list): Make it an alist.
7046 (proced-grammar-alist): Capitalize names.
7047 (proced-send-signal): Use a non-hidden buffer (since it's displayed).
7048 Disable undo manually and make it read-only.
7049 Use completion-annotate-function.
7051 * minibuffer.el (minibuffer-message): If the current buffer is not
7052 a minibuffer, insert the message in the echo area rather than at the
7054 (completion-annotate-function): New variable.
7055 (minibuffer-completion-help): Use it.
7056 (completion--embedded-envvar-table): Environment vars are
7057 always case-sensitive.
7059 2009-08-30 Glenn Morris <rgm@gnu.org>
7061 * progmodes/fortran.el (fortran-start-prog-re): New constant, extracted
7062 from fortran-current-defun.
7063 (fortran-beginning-of-subprogram): Be more precise about finding the
7064 start, to avoid an infinite loop in end-of-defun. (Bug#4259)
7065 (fortran-end-of-subprogram): Simplify.
7066 (fortran-current-defun): Use fortran-start-prog-re.
7068 2009-08-29 Juanma Barranquero <lekktu@gmail.com>
7070 * subr.el (do-after-load-evaluation): Simplify.
7072 2009-08-29 Dan Nicolaescu <dann@ics.uci.edu>
7074 * vc.el (vc-print-log-internal): Move RCS/CVS specific code ...
7076 * vc-rcs.el (vc-rcs-print-log-cleanup): ... here. New function.
7077 (vc-rcs-print-log): Use it.
7079 * vc-cvs.el (vc-cvs-print-log): Use vc-rcs-print-log-cleanup.
7081 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7083 * paths.el (abbrev-file-name): Move to abbrev.el.
7084 * abbrev.el (abbrev-file-name): Move from paths.el.
7085 Obey user-emacs-directory.
7086 * calc/calc.el (calc-settings-file): Don't autoload and instead obey
7087 user-emacs-directory.
7088 * dos-fns.el (dos-reevaluate-defcustoms): Don't reevaluate
7089 abbrev-file-name and calc-settings-file any more.
7090 * startup.el (command-line): Recompute abbrev-file-name and
7091 abbreviated-home-dir.
7092 (normal-no-mouse-startup-screen): Improve the generic code and get rid
7093 of the special code for when C-h bindings haven't been changed.
7094 (display-startup-echo-area-message): Use with-current-buffer.
7095 (command-line-1): Use a list of strings, rather than a list of lists
7096 of strings for longopts.
7098 * files.el (get-free-disk-space): Use / for default-directory.
7100 * textmodes/ispell.el (ispell-accept-output, ispell-command-loop):
7101 Use with-current-buffer.
7103 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p):
7104 Recognize immutable variables like most-positive-fixnum.
7105 (byte-compile-setq-default): Check and warn if trying to assign
7106 to an immutable variable, or a non-variable.
7108 * progmodes/cc-vars.el (c-comment-continuation-stars):
7109 * progmodes/cc-engine.el (c-looking-at-bos):
7110 * progmodes/cc-cmds.el (c-toggle-auto-state)
7111 (c-forward-into-nomenclature, c-backward-into-nomenclature)
7112 (c-comment-line-break-function): Add version of obsolescence.
7114 2009-08-28 Juri Linkov <juri@jurta.org>
7116 * files.el (magic-fallback-mode-alist): Add ZIP magic number
7117 associated with `archive-mode'.
7119 * image.el (image-type-header-regexps): Use only JPEG magic number
7120 to determine JPEG images, and don't use `image-jpeg-p' because
7121 Emacs can display non-JFIF non-Exif JPEG images.
7123 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
7125 * arc-mode.el (archive-mode):
7126 * emacs-lisp/re-builder.el (re-builder-unload-function):
7127 Protect against the default value of `major-mode' being nil.
7129 2009-08-28 Juanma Barranquero <lekktu@gmail.com>
7131 * international/ucs-normalize.el (ucs-normalize-sort, quick-check-list):
7132 Fix typos in docstrings.
7134 * progmodes/js.el (js--macro-decl-re): Doc fix.
7135 (js--plain-method-re, js--split-name): Refloc docstring.
7136 (js--class-styles, js--make-merged-item, js--splice-into-items):
7137 Fix typos in docstrings; reflow docstrings.
7138 (js--maybe-join, js--function-prologue-beginning, js--flush-caches)
7139 (js--variable-decl-matcher, js--inside-pitem-p)
7140 (js--parse-state-at-point, js--get-all-known-symbols)
7141 (js--symbol-history, js-find-symbol, js--js-references)
7142 (js--moz-interactor, js--js-encode-value, js--read-tab):
7143 Fix typos in docstrings.
7145 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7147 * textmodes/reftex.el (reftex-get-file-buffer-force):
7148 * progmodes/verilog-mode.el (verilog-batch-execute-func):
7149 * emulation/viper.el (viper-go-away, viper-set-hooks):
7150 * emacs-lisp/re-builder.el (re-builder-unload-function):
7151 * emacs-lisp/bytecomp.el (byte-compile-file):
7152 * ses.el (ses-unload-function):
7153 * hexl.el (hexl-find-file):
7154 * files.el (normal-mode):
7155 * ehelp.el (with-electric-help):
7156 * autoinsert.el (auto-insert-alist):
7157 * arc-mode.el (archive-mode):
7158 Use (default-value 'major-mode) instead of default-major-mode.
7160 * textmodes/ispell.el (ispell-check-version, ispell-send-string):
7161 * international/mule.el (load-with-code-conversion):
7162 * emacs-lisp/debug.el (debug):
7163 * ediff-vers.el (ediff-rcs-get-output-buffer):
7164 * dired.el (dired-internal-noselect): Don't let-bind
7165 default-major-mode around code that doesn't use it.
7166 E.g. buffer creation via get-buffer-create doesn't use it.
7168 2009-08-28 Michael Albinus <michael.albinus@gmx.de>
7170 * net/tramp.el (all): Replace "'(lambda" by "(lambda".
7171 (tramp-handle-file-local-copy): Unset `file-name-handler-alist'
7172 when writing the temp file. Otherwise, epa-file gets confused.
7173 (tramp-register-file-name-handlers): Make it a defun. Move also
7174 `epa-file-handler' to the front of `file-name-handler-alist'.
7176 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7178 * net/tramp.el (tramp-shell-prompt-pattern): Allow a prompt to
7179 start right after a ^M.
7180 (tramp-root-regexp, tramp-completion-file-name-regexp-unified)
7181 (tramp-completion-file-name-regexp-separate)
7182 (tramp-completion-file-name-regexp-url): Use \\` and \\'.
7183 (tramp-handle-file-attributes, tramp-set-file-uid-gid):
7184 Don't modify last-coding-system-used by accident.
7185 (tramp-completion-file-name-handler): Apply the checks here,
7186 instead during registration.
7187 (tramp-register-file-name-handlers) Renamed from
7188 `tramp-register-file-name-handler'. Register both
7189 `tramp-file-name-handler' and `tramp-completion-file-name-handler'.
7190 (tramp-register-completion-file-name-handler): Remove. (Bug#4260)
7192 2009-08-28 Nick Roberts <nickrob@snap.net.nz>
7194 * progmodes/gdb-mi.el (gdb-use-separate-io-buffer):
7196 (gdb-init-1, gdb-display-separate-io-buffer)
7197 (gdb-frame-separate-io-buffer, gdb-setup-windows): ... and
7199 (gdb-inferior-io-mode): Use make-comint-in-buffer.
7200 (gdb-inferior-filter): Use comint-output-filter to stop
7201 echoing and remove ^M characters.
7203 2009-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7205 * emulation/viper-init.el (viper-restore-cursor-type):
7206 * emulation/cua-base.el (cua--update-indications):
7207 Replace default-cursor-type with (default-value 'cursor-type).
7209 * mail/sendmail.el (mail-recover-1):
7210 * international/mule-diag.el (describe-current-coding-system-briefly)
7211 (describe-current-coding-system):
7212 * international/mule-cmds.el (select-safe-coding-system)
7213 (select-message-coding-system)
7214 (set-language-environment-coding-systems, set-locale-environment):
7215 * hexl.el (hexl-insert-multibyte-char):
7216 * dos-w32.el (find-buffer-file-type-coding-system):
7217 * simple.el (what-cursor-position):
7218 Replace uses of default-buffer-file-coding-system
7219 with (default-value 'buffer-file-coding-system).
7221 * emacs-lisp/edebug.el (edebug-display, edebug-outside-excursion):
7222 Replace uses of default-cursor-in-non-selected-windows
7223 with (default-value 'cursor-in-non-selected-windows).
7224 Use with-current-buffer.
7226 * mail/feedmail.el: Use CL macros.
7227 (feedmail-run-the-queue, feedmail-send-it-immediately):
7228 * dos-w32.el (find-buffer-file-type): Replace uses of
7229 default-buffer-file-type with (default-value 'buffer-file-type).
7231 2009-08-28 Glenn Morris <rgm@gnu.org>
7233 * calendar/diary-lib.el (diary-list-entries, diary-goto-entry)
7234 (diary-show-all-entries, diary-mark-entries, diary-make-entry):
7235 Use default-value of major-mode rather than default-major-mode.
7237 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7239 * Makefile.in (update-elcfiles): Report left over elc files.
7241 * mail/mailalias.el (build-mail-aliases): Use with-temp-buffer,
7242 expand-file-name and with-current-buffer.
7243 (mail-get-names, mail-directory): Use with-current-buffer.
7245 * vc.el (vc-read-revision): New function.
7246 (vc-version-diff, vc-merge): Use it.
7248 2009-08-27 Sam Steingold <sds@gnu.org>
7250 * simple.el (kill-do-not-save-duplicates): New user option.
7251 (kill-new): When it is non-nil, and the new string is the same as
7252 the latest kill, set replace to t to avoid duplicates in kill-ring.
7254 2009-08-27 Julian Scheid <julians37@gmail.com> (tiny change)
7256 * net/tramp.el (tramp-handle-process-file): Do not flush all
7257 caches when `process-file-side-effects' is set.
7258 (tramp-handle-vc-registered): Use `tramp-get-file-exists-command'
7259 instead of `tramp-find-file-exists-command'.
7260 Unset `process-file-side-effects'.
7262 2009-08-27 Michael Albinus <michael.albinus@gmx.de>
7264 * net/tramp.el (tramp-methods): New method "rsyncc".
7265 (top): Add completion function for "rsyncc".
7266 (tramp-message-show-message): New defvar.
7267 (tramp-message, tramp-error): Use it.
7268 (tramp-do-copy-or-rename-file-directly): Extend check for direct
7270 (tramp-do-copy-or-rename-file-out-of-band): Handle new
7271 `tramp-methods' entry `copy-env' of "rsyncc".
7272 (tramp-vc-registered-read-file-names): New defconst.
7273 (tramp-vc-registered-file-names): New defvar.
7274 (tramp-handle-vc-registered): Implement optimization strategy.
7275 (tramp-run-real-handler): Add `tramp-vc-file-name-handler'.
7276 (tramp-vc-file-name-handler): New defun.
7277 (tramp-get-ls-command, tramp-get-test-command)
7278 (tramp-get-file-exists-command, tramp-get-remote-ln)
7279 (tramp-get-remote-perl, tramp-get-remote-stat)
7280 (tramp-get-remote-id): Remove superfluous `with-current-buffer'.
7282 * net/tramp-cache.el (top): Autoload `tramp-time-less-p'.
7283 (tramp-cache-inhibit-cache): Extend doc string. It allows also
7285 (tramp-get-file-property): Check for timestamps in
7286 `tramp-cache-inhibit-cache'.
7287 (tramp-set-file-property): Write timestamp.
7289 2009-08-27 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
7291 * language/japan-util.el (japanese-symbol-table): Add entries for
7294 * international/characters.el: Add category `j' to cp932-2-byte.
7296 2009-08-27 Kenichi Handa <handa@m17n.org>
7298 * international/fontset.el (build-default-fontset-data): New macro.
7299 (setup-default-fontset): Use build-default-fontset-data for CJK,
7300 tibetan, ethiopic, and ipa.
7302 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7304 * cus-start.el (default-major-mode): Customize `major-mode' instead.
7305 (enable-multibyte-characters): Not customizable any more.
7307 * subr.el (default-mode-line-format, default-header-line-format)
7308 (default-line-spacing, default-abbrev-mode, default-ctl-arrow)
7309 (default-direction-reversed, default-truncate-lines)
7310 (default-left-margin, default-tab-width, default-case-fold-search)
7311 (default-left-margin-width, default-right-margin-width)
7312 (default-left-fringe-width, default-right-fringe-width)
7313 (default-fringes-outside-margins, default-scroll-bar-width)
7314 (default-vertical-scroll-bar, default-indicate-empty-lines)
7315 (default-indicate-buffer-boundaries, default-fringe-indicator-alist)
7316 (default-fringe-cursor-alist, default-scroll-up-aggressively)
7317 (default-scroll-down-aggressively, default-fill-column)
7318 (default-cursor-type, default-buffer-file-type)
7319 (default-cursor-in-non-selected-windows)
7320 (default-buffer-file-coding-system, default-major-mode)
7321 (default-enable-multibyte-characters): Mark as obsolete.
7323 2009-08-27 Dan Nicolaescu <dann@ics.uci.edu>
7325 * vc-dir.el (vc-dir-update): Remove debug helper.
7327 * vc-cvs.el (vc-cvs-update-changelog): Fix typo.
7329 2009-08-26 Sam Steingold <sds@gnu.org>
7331 * simple.el (save-interprogram-paste-before-kill): New user option.
7332 (kill-new): When `save-interprogram-paste-before-kill' is non-nil,
7333 save the interprogram-paste into kill-ring before overriding it
7334 with the Emacs kill.
7336 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
7338 * vc.el (vc-trunk-p): Rename to vc-rcs-trunk-p and move to vc-rcs.el.
7339 (vc-minor-part): Rename to vc-rcs-minor-part and move to vc-rcs.el.
7340 (vc-default-previous-revision): Rename to vc-rcs-previous-revision
7341 and move to vc-rcs.el.
7342 (vc-default-next-revision): Rename to vc-rcs-next-revision and
7344 (vc-cvs-update-changelog): Move to vc-cvs.el, use vc-call-backend.
7345 (vc-rcs-update-changelog): Remove.
7346 (vc-update-changelog-rcs2log): Rename to vc-rcs-update-changelog
7347 and move to vc-rcs.el.
7349 * vc-rcs.el (vc-rcs-latest-on-branch-p, vc-rcs-checkin)
7350 (vc-rcs-checkout, vc-rcs-rollback): Adjust for the vc-rcs-trunk-p
7352 (vc-rcs-trunk-p, vc-rcs-minor-part, vc-rcs-previous-revision)
7353 (vc-rcs-next-revision, vc-rcs-update-changelog): Move here from
7354 vc.el, renamed to be RCS specific.
7356 * vc-cvs.el (vc-cvs-previous-revision, vc-cvs-next-revision):
7358 (vc-cvs-update-changelog): Move here from vc.el.
7360 * vc-sccs.el (vc-sccs-previous-revision, vc-sccs-next-revision):
7363 2009-08-26 Stefan Monnier <monnier@iro.umontreal.ca>
7365 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix up last change.
7367 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu>
7369 * vc-git.el (vc-git-register): Use "git add" for directories.
7370 (vc-git-stash, vc-git-stash-show): New functions.
7371 (vc-git-extra-menu-map): Bind them.
7373 * vc-dir.el (vc-dir-node-directory, vc-dir-update): Get the parent
7374 directory correctly in case the item is a directory itself.
7376 * vc.el: Document the desired behavior for reverted files in the
7378 (vc-default-prettify-state-info): Remove function, unused.
7380 * vc-bzr.el (vc-bzr-prettify-state-info): Remove function, unused.
7382 2009-08-26 Glenn Morris <rgm@gnu.org>
7384 * bindings.el (standard-mode-line-format): Reposition dashes in
7385 which-func entry. (Bug#4217)
7387 * files.el (enable-local-variables, enable-local-eval)
7388 (safe-local-variable-values, safe-local-eval-forms): Mark as risky in
7390 (auto-mode-alist, ignored-local-variables)
7391 (save-some-buffers-action-alist): Move risky declarations to the
7393 (dabbrev-case-fold-search, dabbrev-case-replace, display-time-string)
7394 (font-lock-defaults, format-alist, imenu--index-alist)
7395 (imenu-generic-expression, input-method-alist, minor-mode-alist)
7396 (mode-line-buffer-identification, mode-line-client, mode-line-modes)
7397 (mode-line-modified, mode-line-mule-info, mode-line-position)
7398 (mode-line-process, mode-line-remote, outline-level)
7399 (parse-time-rules, rmail-output-file-alist)
7400 (special-display-buffer-names, vc-mode):
7401 Move risky declarations to the relevant files.
7402 * bindings.el (mode-line-client, mode-line-mule-info, mode-line-remote)
7403 (mode-line-modified, mode-line-process, mode-line-position)
7404 (mode-line-modes, mode-line-buffer-identification, minor-mode-alist)
7405 * font-core.el (font-lock-defaults):
7406 * format.el (format-alist):
7407 * vc-hooks.el (vc-mode):
7408 * window.el (special-display-buffer-names):
7409 * international/mule-cmds.el (input-method-alist):
7410 Define riskiness here (dumped file) rather than in files.el.
7411 * dabbrev.el (dabbrev-case-fold-search, dabbrev-case-replace):
7412 * imenu.el (imenu-generic-expression, imenu--index-alist):
7413 * outline.el (outline-level):
7414 * time.el (display-time-string):
7415 * calendar/parse-time.el (parse-time-rules):
7416 * mail/rmailout.el (rmail-output-file-alist):
7417 Autoload riskiness here, rather than placing in files.el.
7419 2009-08-26 Andreas Schwab <schwab@linux-m68k.org>
7421 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Signal overflow.
7423 2009-08-25 Michael Albinus <michael.albinus@gmx.de>
7425 * simple.el (process-file-side-effects): New defvar.
7427 * dired-aux.el (dired-show-file-type):
7428 * vc.el (vc-diff-internal):
7429 * vc-arch.el (vc-arch-diff):
7430 * vc-bzr.el (vc-bzr-sha1, vc-bzr-revision-completion-table):
7431 * vc-cvs.el (vc-cvs-state, vc-cvs-diff, vc-cvs-revision-table):
7432 * vc-git.el (vc-git-registered, vc-git-working-revision)
7433 (vc-git-find-revision, vc-git-diff, vc-git-revision-table)
7434 (vc-git--empty-db-p):
7435 * vc-hooks.el (vc-user-login-name):
7436 * vc-svn.el (vc-svn-registered, vc-svn-state)
7437 (vc-svn-dir-extra-headers, vc-svn-find-revision):
7438 * progmodes/grep.el (grep-probe): Let-bind
7439 `process-file-side-effects' with nil.
7441 * net/dbus.el (dbus-ping): Add optional parameter TIMEOUT.
7443 * net/tramp-gvfs.el (top): Use timeout of 100 msec pinging GVFS
7444 daemon. Replace ping by checking for running service for bluez
7445 and zeroconf. (Bug#4239)
7447 2009-08-25 Kevin Ryde <user42@zip.com.au>
7449 * net/dig.el (dig): Add autoload cookie.
7451 2009-08-25 Glenn Morris <rgm@gnu.org>
7453 * emacs-lisp/bytecomp.el (byte-compile-eval): Fix test for cl in
7454 load-history for absolute file-names.
7455 (byte-compile-file-form-require): Warn about use of the cl package.
7457 * format.el (format-alist): Doc fix.
7459 * play/bubbles.el (top-level): Don't require cl at run-time.
7461 * progmodes/verilog-mode.el (top-level): Don't require lucid (and hence
7464 2009-08-24 Dmitry Dzhus <dima@sphinx.net.ru>
7466 * progmodes/gdb-mi.el (gdb-mapcar*): Replacement for `mapcar*'
7468 (gdb-table-add-row, gdb-table-string): Use `gdb-mapcar*'.
7470 2009-08-24 Jay Belanger <jay.p.belanger@gmail.com>
7472 * calc/calc-alg.el (math-trig-rewrite)
7473 (math-hyperbolic-trig-rewrite): New functions.
7474 (calc-simplify): Simplify trig functions when asked.
7476 2009-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
7478 * diff-mode.el (diff-find-source-location): Avoid goto-line.
7480 2009-08-24 Kenichi Handa <handa@m17n.org>
7482 * language/ind-util.el (mapthread): Delete it.
7483 (combinatorial): New function.
7484 (indian--puthash-cv): Use combinatorial instead of mapthread.
7486 2009-08-22 Kevin Ryde <user42@zip.com.au>
7488 * emacs-lisp/checkdoc.el (checkdoc-force-history-flag)
7489 (checkdoc-arguments-in-order-flag): Add safe-local-variable booleanp.
7490 (checkdoc-symbol-words): Add safe-local-variable for list of strings.
7491 Clarify docstring that the value is strings not symbols.
7492 (checkdoc-list-of-strings-p): New function.
7494 2009-08-22 Glenn Morris <rgm@gnu.org>
7496 * files.el (auto-mode-alist):
7497 * hippie-exp.el (he-concat-directory-file-name):
7498 * lpr.el (lpr-windows-system, printer-name):
7499 * ls-lisp.el (ls-lisp-emulation, ls-lisp-use-insert-directory-program):
7500 * ps-print.el (ps-windows-system):
7501 * startup.el (command-line):
7502 * emulation/viper-ex.el (viper-glob-function):
7503 * international/mule-cmds.el (set-language-environment-coding-systems):
7504 * net/ange-ftp.el (ange-ftp-write-region):
7505 * obsolete/fast-lock.el (fast-lock-cache-name):
7506 Remove code for defunct system-types emx, macos, mswindows, next-mach,
7507 unisoft-unix, vax-vms, win32, w32.
7509 * calendar/diary-lib.el (diary-mark-entries-1): Only mark all days of a
7510 given name if the pattern is not more specific.
7512 * calendar/lunar.el (lunar-phase-names): New option.
7513 (lunar-phase): Doc fix.
7514 (lunar-cycles-per-year): New constant.
7515 (lunar-index): New function.
7516 (lunar-phase-list, diary-lunar-phases): Use lunar-index.
7517 (lunar-phase-name): Use lunar-phase-names.
7518 (calendar-lunar-phases): Use format.
7519 (lunar-new-moon-on-or-after): Use lunar-cycles-per-year.
7521 * progmodes/cperl-mode.el (cperl-imenu-name-and-position):
7522 Copy imenu-example--name-and-position function here for own use.
7523 (cperl-xsub-scan): Use cperl-imenu-name-and-position.
7525 * bs.el (bs--redisplay):
7526 * cus-edit.el (custom-redraw):
7527 * ibuffer.el (ibuffer-bury-buffer):
7528 * server.el (server-goto-line-column):
7529 * startup.el (command-line-1):
7530 * strokes.el (strokes-xpm-for-stroke):
7531 * term.el (term-display-buffer-line):
7532 * view.el (View-goto-line):
7533 * calc/calc.el (calc-do, calc-trail-buffer):
7534 * play/gamegrid.el (gamegrid-add-score-insecure):
7535 * progmodes/ada-mode.el (ada-compile-goto-error):
7536 * progmodes/ada-xref.el (ada-xref-find-in-modified-ali):
7537 (ebrowse-select-1st-to-9nth):
7538 * progmodes/cperl-mode.el (cperl-time-fontification):
7539 * progmodes/ebrowse.el (ebrowse-toggle-file-name-display)
7540 * progmodes/gud.el (gud-display-line):
7541 (idlwave-shell-display-line):
7542 * progmodes/idlw-shell.el (idlwave-shell-goto-frame)
7543 * progmodes/make-mode.el (makefile-browser-toggle):
7544 (vhdl-speedbar-port-copy, vhdl-compose-components-package):
7545 * progmodes/vhdl-mode.el (vhdl-speedbar-find-file)
7546 * textmodes/picture.el (picture-draw-rectangle):
7547 * textmodes/reftex-index.el (reftex-index-goto-letter):
7548 (reftex-select-jump-to-previous):
7549 * textmodes/reftex-sel.el (reftex-find-start-point)
7550 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-restore-region):
7551 (rst-straighten-deco-spacing, rst-section-tree, rst-toc):
7552 * textmodes/rst.el (rst-promote-region, rst-straighten-decorations)
7553 * textmodes/tex-mode.el (tex-compilation-parse-errors):
7554 * textmodes/two-column.el (2C-associated-buffer):
7555 Use forward-line rather than goto-line.
7557 * emulation/vi.el (vi-goto-line): Don't warn about non-interactive
7560 * international/ucs-normalize.el (nfd, decomposition-translation-alist)
7561 (decomposition-char-recursively, alist-list-to-vector, quick-check-list)
7562 (quick-check-list-to-regexp): Declare.
7564 * progmodes/make-mode.el (makefile-browser-insert-selection):
7565 Use goto-char rather than goto-line.
7567 * progmodes/prolog.el (compilation-error-regexp-alist)
7568 (compilation-forget-errors): Declare.
7570 2009-08-22 Juri Linkov <juri@jurta.org>
7572 * progmodes/grep.el (lgrep, rgrep): At the beginning
7573 set `dir' to `default-directory' unless `dir' is a non-nil
7574 readable directory. (Bug#4052)
7575 (lgrep, rgrep): Change a weird way to report an error
7576 from using `read-string' to using `error'.
7577 Instead of using interactive arguments in the function body,
7578 add new argument `confirm'.
7580 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7582 * textmodes/remember.el (remember-buffer):
7583 * progmodes/cperl-mode.el (cperl-vc-header-alist):
7584 * calendar/icalendar.el (icalendar-convert-diary-to-ical)
7585 (icalendar-extract-ical-from-buffer):
7586 * net/newst-treeview.el (newsticker-groups-filename):
7587 * net/newst-backend.el (newsticker-cache-filename):
7588 * speedbar.el (speedbar-update-speed, speedbar-navigating-speed)
7589 (speedbar-ignored-path-expressions, speedbar-ignored-path-regexp)
7590 (speedbar-add-ignored-path-regexp, speedbar-line-path)
7591 (speedbar-buffers-line-path, speedbar-path-line)
7592 (speedbar-buffers-line-path):
7593 * epg.el (epg-passphrase-callback-function, epg-start-sign-keys)
7595 * epa.el (epa-display-verify-result):
7596 * progmodes/pascal.el (pascal-outline): Add version of obsolescence.
7598 2009-08-21 Glenn Morris <rgm@gnu.org>
7600 * progmodes/js.el (inferior-moz-process): Fix declaration.
7602 * imenu.el (imenu-example--name-and-position): Fix obsolescence message.
7604 * obsolete/rnewspost.el (news-mail-reply):
7605 Use goto-char rather than goto-line.
7607 * term/ns-win.el (ns-open-file-select-line):
7608 Use line-beginning-position rather than goto-line.
7610 * apropos.el (apropos-command):
7611 * ehelp.el (electric-helpify):
7612 * printing.el (pr-show-setup):
7613 * strokes.el (strokes-help):
7614 * tutorial.el (tutorial--describe-nonstandard-key)
7615 (tutorial--detailed-help):
7616 * woman.el (woman-mini-help, woman-display-extended-fonts):
7617 * calc/calc-help.el (calc-describe-key):
7618 * emulation/edt.el (edt-electric-helpify):
7619 * international/mule-diag.el (mule-diag):
7620 * play/yow.el (apropos-zippy):
7621 * progmodes/python.el (python-describe-symbol):
7622 * progmodes/vhdl-mode.el (vhdl-doc-variable, vhdl-doc-mode):
7623 * textmodes/table.el (*table--cell-describe-mode)
7624 (*table--cell-describe-bindings):
7625 Use help-print-return-message rather than the now obsolete alias.
7627 * calendar/cal-move.el (calendar-cursor-to-nearest-date)
7628 (calendar-cursor-to-visible-date):
7629 * play/5x5.el (5x5-position-cursor):
7630 * play/decipher.el (decipher):
7631 * play/gomoku.el (gomoku-goto-xy):
7632 * play/landmark.el (lm-goto-xy):
7633 * play/mpuz.el (mpuz-paint-errors, mpuz-paint-statistics)
7635 Use forward-line, not goto-line.
7637 * mail/rmail.el (rmail-obsolete): Delete custom group.
7638 (rmail-pop-password, rmail-pop-password-required): Make into aliases.
7639 (rmail-remote-password, rmail-remote-password-required):
7640 Remove unneeded :set-after and :set properties.
7642 2009-08-21 Michael Albinus <michael.albinus@gmx.de>
7644 * net/dbus.el (top): Initialize only when `dbusbind' is loaded.
7646 2009-08-21 Dan Nicolaescu <dann@ics.uci.edu>
7648 * loadup.el: Remove leftover macos code.
7650 * vc-git.el (vc-git-annotate-command): Run asynchronously.
7651 Explicitly pass the date format to git blame so that user local
7652 so that the output format can be parsed.
7654 2009-08-20 Michael Albinus <michael.albinus@gmx.de>
7656 * net/dbus.el (top): Don't check for (getenv
7657 "DBUS_SESSION_BUS_ADDRESS"). It's done in dbusbind.c now.
7659 2009-08-19 Magnus Henoch <magnus.henoch@gmail.com>
7661 * log-edit.el (log-edit-strip-single-file-name): New var.
7662 (log-edit-insert-changelog): Use it. Bug#3571
7664 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7666 * subr.el (read-passwd): Use read-key so keypad keys work as well.
7669 * help.el (help-print-return-message): Rename from
7670 print-help-return-message.
7672 * log-view.el (log-view-mode-map): Remove `q' binding, and unreliable
7673 cvs-mode-map parent hack.
7674 (log-view-mode): Derive from special-mode.
7676 * linum.el (linum-mode): window-size-change-functions is redundant.
7677 Adapt to new window-configuration-change-hook behavior.
7678 (linum-after-size, linum-after-config): Remove.
7680 * imenu.el (imenu-example--name-and-position)
7681 (imenu-example--lisp-extract-index-name)
7682 (imenu-example--create-lisp-index, imenu-example--create-c-index):
7685 * progmodes/prolog.el (inferior-prolog-error-regexp-alist): New var.
7686 (inferior-prolog-mode): Use it.
7687 (inferior-prolog-load-file): Reset list of errors.
7689 2009-08-19 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change)
7691 * language/tibetan.el ("Tibetan"): Fix sample-text entry.
7693 * language/tai-viet.el ("TaiViet"): Fix sample-text entry.
7695 2009-08-19 Michael Albinus <michael.albinus@gmx.de>
7697 * net/dbus.el (top): Apply `dbus-init-bus' only if the session bus
7700 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7702 * subr.el (listify-key-sequence-1): Use normal syntax since those
7703 integers are nowadays always represented by the same (positive) number
7705 (read-key-empty-map): New const.
7706 (read-key-delay): New var.
7707 (read-key): New function.
7708 (force-mode-line-update): Use with-current-buffer.
7709 (locate-user-emacs-file): Don't forget to abbreviate the file name.
7710 (start-process-shell-command, start-file-process-shell-command):
7711 Discourage the use of command-args.
7713 2009-08-19 Glenn Morris <rgm@gnu.org>
7715 * emacs-lisp/authors.el (authors-fixed-entries): Remove cvtmail.
7717 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca>
7719 * simple.el (choose-completion-string): Don't rely on
7720 minibuffer-completing-file-name and ad-hoc checks to decide whether
7721 to continue completion or not.
7723 * minibuffer.el (minibuffer-hide-completions): New function.
7724 (completion--do-completion): Use it.
7725 (completions-annotations): New face.
7726 (completion--insert-strings): Use it.
7727 (completion-pcm--delim-wild-regex): Add docstring.
7728 (completion-pcm--string->pattern): Add support for 0-width delimiters
7729 in completion-pcm--delim-wild-regex.
7731 2009-08-18 Stefan Monnier <monnier@iro.umontreal.ca>
7733 * international/ucs-normalize.el (ucs-normalize-hfs-nfd-post-read-conversion):
7734 Remove unused var `buffer-modified-p'.
7736 * minibuffer.el (completion--do-completion): Move point for the #b001
7737 case as well (bug#4176).
7738 (minibuffer-complete, minibuffer-complete-word): Don't move point.
7740 2009-08-18 Michael Albinus <michael.albinus@gmx.de>
7742 * net/dbus.el (dbus-init-bus): Declare. Apply it for the :system
7745 2009-08-18 Kenichi Handa <handa@m17n.org>
7747 * international/ucs-normalize.el (ucs-normalize-version):
7749 (ucs-normalize-hfs-nfd-pre-write-conversion): New function.
7750 (utf-8-hfs): Make it perform normalization on encoding too.
7752 * textmodes/paragraphs.el: Change to utf-8. Adjust coding cookie.
7753 (sentence-end-without-space): Delete duplicated chars.
7754 (sentence-end-base): Likewise.
7756 * textmodes/sgml-mode.el: Change to utf-8. Adjust coding cookie.
7757 (html-mode): Delete duplicated chars from sentence-end-base.
7759 * textmodes/texinfo.el: Change to utf-8. Adjust coding cookie.
7760 (texinfo-mode): Delete duplicated chars from sentence-end-base.
7762 2009-08-17 Chong Yidong <cyd@stupidchicken.com>
7764 * files.el (hack-one-local-variable): If the mode function is for
7765 a minor mode, pass it an argument (Bug#4148).
7767 2009-08-17 Michael Albinus <michael.albinus@gmx.de>
7769 * net/tramp.el (tramp-register-completion-file-name-handler):
7770 Check also for (member 'partial-completion completion-styles).
7772 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
7774 * progmodes/cperl-mode.el (cperl-electric-paren): Don't expand
7777 2009-08-16 Ilya Zakharevich <ilyaz@cpan.org>
7779 * progmodes/cperl-mode.el: Merge upstream 6.2.
7780 (cperl-mode-syntax-table): Modify syntax entry for ["'`].
7781 (cperl-forward-re): Check cperl-brace-recursing.
7782 (cperl-highlight-charclass): New function.
7783 (cperl-find-pods-heres): Use it.
7784 (cperl-fill-paragraph): Synch to save-excursion placement used upstream.
7785 (cperl-beautify-regexp-piece): Fix column calculation.
7786 (cperl-make-regexp-x): Handle case where point is between "q" and "rs".
7787 (cperl-beautify-level): Don't process entire regexp.
7788 (cperl-build-manpage, cperl-perldoc): Bind Man-switches before
7790 (cperl-tips-faces, cperl-mode, cperl-electric-backspace): Doc fix.
7791 (cperl-init-faces): Build a list in the normal way.
7793 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
7795 * calendar/parse-time.el (parse-time-string-chars): Save match
7798 2009-08-16 Stefan Monnier <monnier@iro.umontreal.ca>
7800 * progmodes/sql.el (sql-product-alist): Add :name tag to entries.
7801 (sql-product): Use it.
7802 (sql-mode-menu): Auto-generate the menu based on sql-product-alist.
7803 (sql-set-product): Add completion.
7804 (sql-highlight-oracle-keywords, sql-highlight-postgres-keywords)
7805 (sql-highlight-linter-keywords, sql-highlight-ms-keywords)
7806 (sql-highlight-ansi-keywords, sql-highlight-sybase-keywords)
7807 (sql-highlight-informix-keywords, sql-highlight-interbase-keywords)
7808 (sql-highlight-ingres-keywords, sql-highlight-solid-keywords)
7809 (sql-highlight-mysql-keywords, sql-highlight-sqlite-keywords)
7810 (sql-highlight-db2-keywords): Remove.
7811 (sql-find-sqli-buffer, sql-set-sqli-buffer-generally)
7812 (sql-highlight-product): Use derived-mode-p.
7813 (sql-set-sqli-buffer): Use with-current-buffer.
7814 (sql-connect-informix, sql-connect-ingres, sql-connect-oracle):
7817 * emacs-lisp/lisp-mode.el (lisp-indent-region): Remove unused function.
7819 * term.el: Fix commenting convention, turn comments into docstrings.
7821 2009-08-16 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
7823 * whitespace.el (whitespace-style): Doc fix (Bug#3661).
7825 2009-08-16 Jan Seeger <jan.seeger@thenybble.de> (tiny change)
7827 * calendar/parse-time.el (parse-time-string-chars): Compute using
7828 character classes, to handle non-ascii characters (Bug#3190).
7830 2009-08-16 Chong Yidong <cyd@stupidchicken.com>
7832 * progmodes/sh-script.el (sh-maybe-here-document): Avoid inserting
7833 another heredoc if the user adds another < (Bug#3226).
7835 * mwheel.el (mouse-wheel-down-event, mouse-wheel-up-event):
7836 Don't initialize based on window-system (Bug#4124).
7838 * facemenu.el (facemenu-read-color): Use a completion function
7839 that accepts any defined color, such as RGB triplets (Bug#3677).
7841 * files.el (get-free-disk-space): Change fallback default
7842 directory to /. Expand DIR argument before switching to fallback.
7843 Suggested by Kevin Ryde (Bug#2631, Bug#3911).
7845 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
7847 * files.el (load-library): Doc fix.
7849 2009-08-15 Michael Kifer <kifer@cs.stonybrook.edu>
7851 * emulation/viper-cmd.el (viper-insert-isearch-string): New function.
7852 (viper-if-string): Redefine C-s in the minibuffer to insert the last
7853 incremental search string.
7855 * ediff-init.el (ediff-coding-system): Use escape-quoted in case of
7858 * ediff-merg.el (ediff-merge-region-is-non-clash-to-skip)
7859 (ediff-merge-region-is-non-clash)
7860 (ediff-skip-merge-region-if-changed-from-default-p): Use defun.
7861 Also check if the job is really a merge job.
7863 * ediff.el (ediff-current-file): New function.
7865 2009-08-15 Chong Yidong <cyd@stupidchicken.com>
7867 * progmodes/js.el: Edit docstrings throughout to follow Emacs
7869 (js-insert-and-indent): Delete function.
7870 (js-mode-map): Don't bind keys to js-insert-and-indent.
7871 (js-beginning-of-defun): Rename from js--beginning-of-defun.
7872 (js-end-of-defun): Rename from js--end-of-defun.
7873 (js-auto-indent-flag): Delete variable.
7875 2009-08-14 Chong Yidong <cyd@stupidchicken.com>
7877 * progmodes/js.el: Remove proclaim statement.
7878 Defvar which-func-imenu-joiner-function to silence compiler.
7880 * files.el (auto-mode-alist): Use js-mode for .js files.
7882 * progmodes/js2-mode.el: Remove file.
7884 * Makefile.in (ELCFILES): Add js.el, and remove js2-mode.el.
7886 * speedbar.el (speedbar-supported-extension-expressions): Add .js.
7888 * progmodes/hideshow.el (hs-special-modes-alist): Add js-mode entry.
7890 2009-08-14 Daniel Colascione <dan.colascione@gmail.com>
7891 Karl Landstrom <karl.landstrom@brgeight.se>
7893 * progmodes/js.el: New file.
7895 2009-08-14 Mark A. Hershberger <mah@everybody.org>
7897 * timezone.el (timezone-parse-date): Add ability to understand ISO
7898 basic format (minimal separators) dates in addition to the
7899 already-supported extended format dates.
7901 2009-08-14 Eli Zaretskii <eliz@gnu.org>
7903 * international/ucs-normalize.el: Add a `coding' file variable.
7905 * Makefile.in (ELCFILES): Add international/ucs-normalize.elc.
7907 2009-08-14 Sam Steingold <sds@gnu.org>
7909 * vc-cvs.el (vc-cvs-merge-news): Yet another fix of message parsing.
7911 2009-08-13 Chong Yidong <cyd@stupidchicken.com>
7913 * faces.el (help-argument-name): Define it here instead of
7914 help-fns.el, because in daemon mode help-fns.el may be loaded when
7915 faces are still uninitialized (Bug#1078).
7917 * help-fns.el (help-argument-name): Move defface to faces.el.
7919 2009-08-13 Nick Roberts <nickrob@snap.net.nz>
7921 * progmodes/gdb-mi.el (gdb-inferior-io-mode): Use start-process to
7922 create buffer with a pty but no process so that GDB can make the
7923 inferior the controlling process.
7925 2009-08-13 Taichi Kawabata <kawabata.taichi@gmail.com>
7927 * international/ucs-normalize.el: New file.
7929 2009-08-13 Richard Stallman <rms@gnu.org>
7931 * mail/rmail.el (rmail-get-attr-names):
7932 Accept an attribute header that is too short.
7934 * mail/rmail.el (rmail-forget-messages):
7935 Ignore nil elt in rmail-message-vector. Use dotimes.
7937 * progmodes/compile.el (compilation-goto-locus):
7938 Use next-error-move-function.
7940 * simple.el (next-error-move-function): New variable.
7942 2009-08-12 Juri Linkov <juri@jurta.org>
7944 * progmodes/grep.el (lgrep): Ensure that `default-directory' is
7945 always non-nil. (Bug#4052)
7947 * replace.el (read-regexp): Return empty string when
7948 `default-value' is nil.
7949 (keep-lines-read-args): Don't use empty string as the
7950 default value for `read-regexp'. (Bug#2495)
7952 2009-08-12 Juri Linkov <juri@jurta.org>
7954 * international/mule-cmds.el (ucs-insert): Change arguments
7955 from `arg' to `character', `count', `inherit' to be the same
7956 as in `insert-char'. Doc fix. (Bug#4039)
7958 * international/mule-conf.el (utf-16be-with-signature): Doc fix.
7960 2009-08-12 Juri Linkov <juri@jurta.org>
7962 * files-x.el: New file.
7964 * files.el: Move code that deals with adding/deleting
7965 file/directory-local variables to files-x.el.
7967 * Makefile.in (ELCFILES): Add files-x.elc.
7969 2009-08-11 Dmitry Dzhus <dima@sphinx.net.ru>
7971 * progmodes/gdb-mi.el (gdb-line-posns): New helper which helps not
7973 (gdb-place-breakpoints, gdb-get-location): Rewritten without
7975 (gdb-invalidate-disassembly): Do not refresh upon receiving
7976 'update signal. Instead, update all disassembly buffers only after
7978 (gdb): Send -target-detach when buffer is killed (Bug#3794).
7979 (gdb-starting): Moved -data-list-register-names...
7980 (gdb-stopped): ...here so it's sent when first thread stops.
7981 (gdb-registers-handler-custom): Do nothing if register names are
7984 * progmodes/gud.el (gud-stop-subjob): Rewritten without macros
7985 from `gdb-mi.el' to avoid extra tangling.
7987 * progmodes/gdb-mi.el (gdb-gud-context-call): Reverting previous
7988 change which breaks `gud-def' definitions used in `gdb'.
7989 (gdb-update-gud-running): No extra fuss for updating frame number.
7991 2009-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
7993 * international/mule-cmds.el (mule-keymap, mule-menu-keymap)
7994 (describe-language-environment-map, setup-language-environment-map)
7995 (set-coding-system-map): Move initialization into declaration.
7996 (set-language-info-alist): Last arg to define-key-after can be skipped.
7998 * international/quail.el (quail-completion-1): Simplify.
7999 (quail-define-rules): Use slightly more compact code.
8000 (quail-insert-decode-map): Propertize keys, compact columns.
8002 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8005 2009-08-10 Miles Bader <miles@gnu.org>
8007 * progmodes/js2-mode.el (js2-warning, js2-error, js2-jsdoc-tag)
8008 (js2-jsdoc-type, js2-jsdoc-value, js2-function-param)
8009 (js2-instance-member, js2-private-member, js2-private-function-call)
8010 (js2-jsdoc-html-tag-name, js2-jsdoc-html-tag-delimiter)
8011 (js2-magic-paren, js2-external-variable):
8012 Remove "-face" suffix from face names.
8013 (js2-jsdoc-highlight-helper, js2-highlight-jsdoc)
8014 (js2-highlight-undeclared-vars, js2-peek-token)
8015 (js2-parse-function-params, js2-mode-show-errors)
8016 (js2-mode-show-warnings, js2-make-magic-delimiter)
8017 (js2-mode-highlight-magic-parens): Update to use new face names.
8019 2009-08-09 Michael Albinus <michael.albinus@gmx.de>
8021 * net/tramp.el (tramp-get-ls-command-with-dired): New defun.
8022 (tramp-handle-insert-directory): Handle "--dired". (Bug#4075)
8024 2009-08-09 Chong Yidong <cyd@stupidchicken.com>
8026 * subr.el: Provide hashtable-print-readable.
8028 * progmodes/hideshow.el (hs-special-modes-alist): Don't use
8029 hs-c-like-adjust-block-beginning.
8030 (hs-hide-block-at-point): Stop hiding at the beginning of
8031 hs-block-end-regexp (Bug#700).
8033 2009-08-09 Dmitry Dzhus <dima@sphinx.net.ru>
8035 * progmodes/gdb-mi.el (gdb-gud-context-call): Does not need to be
8037 (gdb-registers-handler-custom): Do not fail when register names
8040 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
8042 * progmodes/gdb-mi.el (gdb-control-all-threads)
8043 (gdb-control-current-thread): Interactive setters for
8044 `gdb-gud-control-all-threads' to use in menu.
8045 (gdb-show-run-p): Show «Go» when process is not active.
8046 (gud-tool-bar-map): Add non-stop/A,T indicator. Uses
8047 gud/thread.xpm and gud/all.xpm.
8049 2009-08-08 Yoni Rabkin <yoni@rabkins.net>
8051 * net/net-utils.el (net-utils-font-lock-keywords): New var.
8052 (nslookup-font-lock-keywords): Make it a variable.
8053 (net-utils-mode): New mode for viewing diagnostic network output.
8054 (net-utils-remove-ctrl-m-filter): Set inhibit-read-only.
8055 (net-utils-run-simple): New function.
8056 (ifconfig, iwconfig, netstat, arp, route): Use it.
8058 2009-08-08 Dmitry Dzhus <dima@sphinx.net.ru>
8060 * progmodes/gdb-mi.el (gdb-read-memory-custom)
8061 (gdb-memory-set-address, def-gdb-set-positive-number)
8062 (def-gdb-memory-format, def-gdb-memory-unit): Update memory buffer
8063 after changing settings.
8064 (gdb-invalidate-disassembly): Update when first shown.
8065 (gdb-edit-locals-value): Fixed.
8066 (gdb-registers-handler-custom): Print registers in right order and
8067 allow changing register values (only for current thread yet).
8068 (gdb-breakpoints-mode-map): Don't assume threads buffer is present.
8069 (gdb-threads-mode-map): Don't assume breakpoints buffer is present.
8070 (gdb-disassembly-handler-custom, gdb-stack-list-frames-custom)
8071 (gdb-locals-handler-custom, gdb-registers-handler-custom): Thread
8073 (gdb-registers-mode-map): TAB to switch to locals.
8075 2009-08-08 Eli Zaretskii <eliz@gnu.org>
8077 * mail/rmail.el (rmail-add-mbox-headers)
8078 (rmail-set-message-counters-counter): Search for
8079 rmail-unix-mail-delimiter instead of just "From ". (Bug#4076)
8081 2009-08-08 Glenn Morris <rgm@gnu.org>
8083 * Makefile.in (ELCFILES): Update.
8085 2009-08-07 Eli Zaretskii <eliz@gnu.org>
8087 * mail/sendmail.el (mail-yank-original): Set
8088 buffer-file-coding-system from the one used by the message whose
8091 * calc/calc-graph.el (calc-graph-plot): Set calc-graph-last-device
8092 to "windows" when "pgnuplot" is used.
8093 (calc-graph-command, calc-gnuplot-command, calc-graph-init): Don't
8094 call accept-process-output if "pgnuplot" is used.
8095 (calc-graph-init): Don't send -display and -geometry to
8096 "pgnuplot". If "pgnuplot" is used, glean gnuplot version by
8097 running "pgnuplot -V" with shell-command-to-string.
8099 * calc/calc.el (calc-gnuplot-name) [windows-nt]: Use "pgnuplot" as
8102 2009-08-07 Eli Zaretskii <eliz@gnu.org>
8104 * Makefile.in (ELCFILES): org/org-export-latex.elc renamed to
8107 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu>
8109 * vc-dispatcher.el (vc-resynch-window): Update comment.
8111 * term.el (term-handle-ansi-escape): Add comments with the
8112 terminfo capabilities implemented.
8114 2009-08-06 Dmitry Dzhus <dima@sphinx.net.ru>
8116 * progmodes/gdb-mi.el (gdb-var-create-regexp): Removed.
8117 (gdb-var-create-handler): Rewritten using JSON parser.
8118 (gdb-propertize-header): Moved earlier.
8119 (gdb-set-header): Removed to avoid duplication.
8120 (gdb-thread-list-handler-custom, gdb-invalidate-disassembly):
8121 Refresh disassembly buffers only after threads list have been
8123 (gdb-threads-header, gdb-registers-header): Per-buffer header line
8126 2009-08-04 Juri Linkov <juri@jurta.org>
8128 * files.el: Commands to add/delete file/directory-local variables.
8129 (read-file-local-variable, read-file-local-variable-value)
8130 (read-file-local-variable-mode, modify-file-local-variable)
8131 (modify-file-local-variable-prop-line)
8132 (modify-dir-local-variable): New functions.
8133 (add-file-local-variable, delete-file-local-variable)
8134 (add-file-local-variable-prop-line, delete-file-local-variable-prop-line)
8135 (add-dir-local-variable, delete-dir-local-variable)
8136 (copy-file-locals-to-dir-locals, copy-dir-locals-to-file-locals)
8137 (copy-dir-locals-to-file-locals-prop-line): New commands.
8139 2009-08-04 Chong Yidong <cyd@stupidchicken.com>
8141 * abbrev.el (insert-abbrev-table-description): Prettify output.
8142 Suggested by Karl Chen.
8144 2009-08-04 Dmitry Dzhus <dima@sphinx.net.ru>
8146 * progmodes/gdb-mi.el (gdb-frame-number): Initialize with nil.
8147 (gdb-overlay-arrow-position): Rename to `gdb-disassembly-position'.
8148 (gdb-overlay-arrow-position, gdb-thread-position)
8149 (gdb-disassembly-position): Declare variables.
8150 (gdb-wait-for-pending): Function now.
8151 (gdb-add-subscriber, gdb-delete-subscriber, gdb-get-subscribers)
8152 (gdb-emit-signal, gdb-buf-publisher): Declare before first use so
8153 compilation goes smoothly.
8154 (gdb, gdb-non-stop, gdb-buffers): New customization groups.
8155 (gdb-non-stop-setting): New customization setting which replaces
8156 `gdb-non-stop' so changing it doesn't break active GDB session.
8157 (gdb-stack-buffer-locations, gdb-stack-buffer-addresses)
8158 (gdb-thread-buffer-verbose-names, gdb-thread-buffer-arguments)
8159 (gdb-thread-buffer-locations, gdb-thread-buffer-addresses)
8160 (gdb-show-threads-by-default): New customization options.
8161 (gdb-buffer-type, gdb-buffer-shows-main-thread-p): New helper
8163 (gdb-get-buffer-create): Send buffers update signal when they are
8165 (gdb-invalidate-locals, gdb-invalidate-registers)
8166 (gdb-invalidate-breakpoints)
8167 (gdb-invalidate-threads, gdb-invalidate-disassembly)
8168 (gdb-invalidate-memory): Accept update signal.
8169 (gdb-current-context-command): Use --frame option.
8170 (gdb-update-gud-running, gdb-running, gdb-setq-thread-number):
8171 Implement `gdb-frame-number' selection logic.
8172 (gdb-show-run-p, gdb-show-stop-p): Helper functions which decide
8173 whether to show GUD toolbar buttons.
8174 (gdb-thread-exited): Unselect current thread when it exits.
8175 (gdb-stopped): Typo fixed (now really runs `gdb-stopped-hooks').
8176 (gdb-mark-line): Routine which sets overlay arrow or inverses
8177 video on fringeless displays.
8178 (gdb-table, gdb-table-add-row, gdb-table-string): Structure used
8179 to build aligned columns of data in GDB buffers and set text
8180 properties line-by-line.
8181 (gdb-invalidate-breakpoints)
8182 (gdb-breakpoints-list-handler-custom)
8183 (gdb-thread-list-handler-custom, gdb-disassembly-handler-custom)
8184 (gdb-stack-list-frames-custom, gdb-locals-handler-custom)
8185 (gdb-registers-handler-custom): Align data columns.
8186 (gdb-locals-handler-custom): Now prints data like in variable
8188 (gdb-jump-to, gdb-file-button, gdb-insert-file-location-button):
8189 Removed confusing buttons.
8190 (gdb-invalidate-threads): Append --frame.
8191 (gdb-threads-mode-map, gdb-breakpoints-mode-map): TAB to switch
8192 between breakpoints/threads buffers.
8193 (gdb-set-window-buffer): Now can ignore dedicated windows.
8194 (gdb-propertize-header): Use `gdb-set-window-buffer'.
8195 (def-gdb-thread-buffer-simple-command): Numerous typos fixed.
8196 (def-gdb-thread-buffer-gud-command): Replaces
8197 `def-gdb-thread-buffer-gdb-command' and uses standard GUD commands
8198 for fine thread control.
8199 (gdb-preempt-existing-or-display-buffer): New function used to
8200 display bound buffers without breaking window layout.
8201 (gdb-frame-location): Replaces `gdb-insert-frame-location'.
8202 (gdb-select-frame): New version of `gdb-frames-select' which now
8203 sets `gdb-frame-number' so commands may use --frame option instead
8204 of inner debugger state.
8205 (gdb-frame-handler): Do not set `gdb-frame-number'.
8206 (gdb-threads-mode-map): Select threads with mouse.
8208 * progmodes/gud.el (gdb-gud-context-call): Declare function to
8209 avoid compilation warning.
8210 (gud-menu-map, gud-minor-mode-map): Use `gdb-show-run-p` and
8213 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create):
8214 Argument `key' renamed to `buffer-type'.
8215 (gdb-current-context-buffer-name): Do not add thread info to
8216 buffer name when no thread is selected.
8217 (gdbmi-record-list, gdb-shell): Try to handle GDB `shell'
8219 (gdb-thread-selected): Handle `=thread-selected' notification.
8220 (gdb-wait-for-pending): New macro to deal with congestion problems.
8221 (gdb-breakpoints-list-handler-custom): Don't fail on pending
8223 (gdb-invalidate-disassembly): Use 'fullname instead of 'file.
8224 This fixes problem similar to one described in bug 3947.
8225 (gud-menu-map): More menu items.
8226 (gdb-init-1): Reset `gdb-thread-number' to nil.
8228 * progmodes/gud.el (gud-stop-subjob, gud-menu-map): Respect GDB
8231 * progmodes/gdb-mi.el (gdb-thread-number): Initialize with nil.
8232 (gdb-current-context-command): Do not append --thread if
8233 `gdb-thread-number' is nil.
8234 (gdb-running-threads-count, gdb-stopped-threads-count): New
8236 (gdb-non-stop, gdb-gud-control-all-threads, gdb-switch-reasons)
8237 (gdb-stopped-hooks, gdb-switch-when-another-stopped): New
8238 customization options.
8239 (gdb-gud-context-command, gdb-gud-context-call): New wrappers for
8241 (gdb): `gud-def' definitions changed to use `gdb-gud-context-call'.
8242 (gdb-init-1): Activate non-stop mode if `gdb-non-stop' is enabled.
8243 (gdb-setq-thread-number, gdb-update-gud-running): New functions to
8244 set `gdb-thread-number' and update `gud-running' properly.
8245 (gdb-running): Update threads list when new threads appear.
8246 (gdb-stopped): Support non-stop operation and new thread switching
8248 (gdb-jsonify-buffer, gdb-json-read-buffer, gdb-json-string)
8249 (gdb-json-partial-output): New set of JSON routines.
8250 (def-gdb-auto-update-trigger): New `signal-list' optional
8252 (gdb-thread-list-handler-custom): Update `gud-running',
8253 `gdb-stopped-threads-count' and `gdb-running-threads-count'.
8254 (def-gdb-thread-buffer-gdb-command, gdb-interrupt-thread)
8255 (gdb-continue-thread, gdb-step-thread): New commands for fine
8256 thread execution control.
8257 (gud-menu-map): New menu items to switch non-stop options.
8258 (gdb-reset): Cleanup `gdb-thread-position' overlay arrow marker.
8259 (gdb-send): Mimic RET properly (bug 3794).
8261 * progmodes/gdb-mi.el (gdb-rules-name-maker)
8262 (gdb-rules-buffer-mode, gdb-rules-update-trigger): Accessors for
8264 (def-gdb-auto-update-handler): New nopreserve optional argument.
8265 (gdb-stack-list-frames-custom): Print stack from top to bottom.
8267 * progmodes/gdb-mi.el (gdb-pc-address): Removed unused variable.
8268 (gdb-threads-list, gdb-breakpoints-list): New assoc lists.
8269 (gdb-parent-mode): New mode to derive other GDB modes from.
8270 (gdb-display-disassembly-for-thread)
8271 (gdb-frame-disassembly-for-thread): New commands for threads
8274 * progmodes/gdb-mi.el (gdb-get-buffer, gdb-get-buffer-create)
8275 (gdb-init-1, gdb-bind-function-to-buffer, gdb-add-subscriber)
8276 (gdb-get-subscribers, gdb-emit-signal, gdb-buf-publisher)
8277 (gdb-update): We now store all GDB buffers in a list so that they
8278 can be updated by traversing a list instead of calling invalidate
8279 triggers explicitly.
8280 (def-gdb-trigger-and-handler): New macro to define trigger-handler
8281 pair for GDB buffer.
8282 (gdb-stack-buffer-name): Add thread information.
8283 (gdb-add-pending, gdb-pending-p, gdb-delete-pending): Macros to
8284 handle pending triggers.
8285 (gdb-threads-mode-map, def-gdb-thread-buffer-command)
8286 (def-gdb-thread-buffer-simple-command)
8287 (gdb-display-stack-for-thread, gdb-display-locals-for-thread)
8288 (gdb-display-registers-for-thread, gdb-frame-stack-for-thread)
8289 (gdb-frame-locals-for-thread, gdb-frame-registers-for-thread):
8290 New commands which show buffers bound to thread.
8291 (gdb-stack-list-locals-regexp): Removed unused regexp.
8293 * progmodes/gdb-mi.el (gdb-breakpoints-buffer-name)
8294 (gdb-locals-buffer-name, gdb-registers-buffer-name)
8295 (gdb-memory-buffer-name, gdb-stack-buffer-name): Do not switch
8296 to (gud-comint-buffer) in *-buffer-name functions
8297 because (gdb-get-target-string) already does that.
8298 (gdb-locals-handler-custom, gdb-registers-handler-custom)
8299 (gdb-changed-registers-handler): Rewritten without regexps.
8301 * progmodes/gdb-mi.el: Basic thread selection support.
8302 (gdb-thread-number): New variable.
8303 (gdb-current-context-command): New macro which adds --thread
8305 (gdb-threads-mode-map): Select thread with SPC.
8306 (gdb-thread-list-handler-custom): Mark current thread with overlay
8307 arrow. Synchronize GDB thread and Emacs thread.
8308 (gdb-select-thread): New command which selects current thread.
8309 (gdb-invalidate-frames, gdb-invalidate-locals)
8310 (gdb-invalidate-registers): Use --thread option.
8312 2009-08-04 Michael Albinus <michael.albinus@gmx.de>
8314 * net/tramp.el (top): Make check for tramp-gvfs loading more
8316 (tramp-handle-insert-file-contents): `unwind-protect' must be
8317 inside `with-parsed-tramp-file-name'.
8319 * net/tramp-gvfs.el (top): Remove superfluous message when loading
8322 2009-08-03 Nick Roberts <nickrob@snap.net.nz>
8324 * progmodes/gud.el (jdb): Set gud-jdb-classpath-string to current
8325 directory if CLASSPATH is not set.
8327 2009-08-03 Michael Albinus <michael.albinus@gmx.de>
8329 * net/tramp.el (tramp-rfn-eshadow-update-overlay-regexp):
8331 (tramp-rfn-eshadow-update-overlay): Use it. (Bug#4004)
8333 2009-08-02 Kevin Ryde <user42@zip.com.au>
8335 * net/newst-backend.el (newsticker--raw-url-list-defaults):
8336 Update freshmeat link. Delete newsforge.com as it seems gone.
8338 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
8340 * select.el (x-set-selection): Doc fix (Bug#4021).
8342 * w32-fns.el (x-set-selection): Doc fix (Bug#4021).
8344 * help-fns.el (describe-variable): Treat list return values from
8345 dir-locals-find-file properly (Bug#4005).
8347 2009-08-02 Julian Scheid <julians37@googlemail.com> (tiny change)
8349 * net/tramp.el (tramp-debug-message): Print also microseconds.
8351 2009-08-02 Michael Albinus <michael.albinus@gmx.de>
8353 * net/tramp.el (tramp-handle-insert-file-contents): Optimize, when BEG
8355 (tramp-handle-vc-registered): Use `tramp-cache-inhibit-cache'.
8356 (tramp-get-debug-buffer): Change `outline-regexp' according to new
8359 * net/tramp-cache.el (tramp-cache-inhibit-cache): New defvar.
8360 (tramp-get-file-property): Use it.
8362 * autorevert.el (auto-revert-handler): Allow
8363 `auto-revert-tail-mode' for remote files.
8365 2009-08-02 Jason Rumney <jasonr@gnu.org>
8367 * minibuffer.el (read-file-name): Treat confirm options to
8368 MUSTMATCH as nil when invoking x-file-dialog. (Bug#3969)
8370 2009-08-02 Chong Yidong <cyd@stupidchicken.com>
8372 * font-lock.el (font-lock-string-face, font-lock-builtin-face)
8373 (font-lock-variable-name-face, font-lock-constant-face): Darken
8374 the colors for light backgrounds.
8376 2009-08-01 Eli Zaretskii <eliz@gnu.org>
8378 * mail/rmailsum.el (rmail-header-summary): Ignore letter-case of
8379 month names. (Bug#3987)
8381 2009-07-31 Chong Yidong <cyd@stupidchicken.com>
8383 * simple.el (line-move-finish): Pass whole number to
8384 line-move-to-column.
8385 (line-move-visual): Perform hscroll to the recorded position.
8387 2009-07-30 Jay Belanger <jay.p.belanger@gmail.com>
8389 * calc/calc-mode.el (calc-matrix-brackets): Remove "P" from prompt.
8391 2009-07-29 Alan Mackenzie <acm@muc.de>
8393 * progmodes/cc-defs.el (c-version): Bump to 5.31.7.
8395 2009-07-29 Dmitry Dzhus <dima@sphinx.net.ru>
8397 * progmodes/gdb-mi.el (gdb-goto-breakpoint)
8398 (gdb-place-breakpoints): Use full path when setting breakpoints.
8400 2009-07-29 Jay Belanger <jay.p.belanger@gmail.com>
8402 * calc/calc.el (calc-mode-map): Add keybinding for
8403 `calc-transpose-lines'.
8405 2009-07-29 Vincent Belaïche <vincent.belaiche@gmail.com>
8407 * calc/calc-misc.el (calc-transpose-lines): New function.
8409 2009-07-28 Michael Albinus <michael.albinus@gmx.de>
8411 * net/tramp.el (tramp-do-copy-or-rename-file): Add messages.
8412 Simplify check for out-of-band methods.
8413 (tramp-do-copy-or-rename-file-out-of-band): Allow both files to be
8414 remote. Remove messages which are in `tramp-do-copy-or-rename-file'.
8416 2009-07-28 Dan Nicolaescu <dann@ics.uci.edu>
8418 * vc-git.el (vc-git-checkin): Fix typo.
8420 2009-07-28 Steve Yegge <steve.yegge@gmail.com>
8422 * progmodes/js2-mode.el: New file.
8424 2009-07-28 Nick Roberts <nickrob@snap.net.nz>
8426 * progmodes/gud.el (jdb): Add gud-pstar to dump object information.
8427 (gud-menu-map): Adjust tooltip accordingly.
8429 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu>
8431 * vc-bzr.el (vc-bzr-print-log): Pass multiple arguments to bzr log.
8432 (vc-bzr-log-view-mode): Adjust log-view-file-re.
8434 * add-log.el (change-log-mode-map): Add a menu.
8436 2009-07-27 Michael Albinus <michael.albinus@gmx.de>
8438 * net/dbus.el (dbus-call-method-non-blocking): Handle the case the
8439 function returns nil.
8440 (dbus-handle-event): Handle special return value :ignore.
8441 Reported by Jan Moringen <jan.moringen@uni-bielefeld.de>.
8443 2009-07-26 Chong Yidong <cyd@stupidchicken.com>
8445 * view.el (view-mode-enable): Don't define Helper-return-blurb if
8448 2009-07-25 Eli Zaretskii <eliz@gnu.org>
8452 * w32-vars.el (x-select-enable-clipboard): Doc fix.
8454 * term/pc-win.el (x-display-name, x-colors)
8455 (x-select-enable-clipboard, x-select-text): Doc fix.
8457 * term/common-win.el (x-display-name, x-colors): Doc fix.
8459 * term/ns-win.el (x-select-text, x-setup-function-keys, x-colors)
8460 (xw-defined-colors): Doc fix.
8462 * w32-fns.el (x-select-text, x-setup-function-keys)
8463 (x-get-selection, x-set-selection): Doc fix.
8465 * term/x-win.el (x-select-text, x-setup-function-keys)
8466 (x-select-enable-clipboard, xw-defined-colors): Doc fix.
8468 * select.el (x-set-selection): Doc fix.
8470 2009-07-25 Michael Albinus <michael.albinus@gmx.de>
8472 * net/zeroconf.el (zeroconf-init): Check for "GetVersionString"
8473 instead of "IsNSSSupportAvailable". Avahi ought to work also when
8474 "IsNSSSupportAvailable" method is not available. Reported by
8475 Steve Youngs <steve@sxemacs.org>.
8477 2009-07-24 Kenichi Handa <handa@m17n.org>
8479 * international/characters.el: Fix setting of category ?C, ?|, ?K,
8480 and ?H. Fix setting of case for Latin Extended and Greek Extended.
8481 (build-unicode-category-table): Fix range checks.
8483 2009-07-24 Dan Nicolaescu <dann@ics.uci.edu>
8485 * vc-dispatcher.el (vc-resynch-buffers-in-directory): Make sure
8486 the buffer we try to sync is current when calling
8489 * vc-dir.el (vc-dir-resynch-file): Make sure vc-dir-update does
8490 not show up to date files.
8492 2009-07-24 Glenn Morris <rgm@gnu.org>
8494 * emacs-lisp/elint.el (elint-current-buffer, elint-defun):
8495 Add autoload cookies. If necessary, initialize.
8496 (elint-log): Handle non-file buffers.
8497 (elint-initialize): Add optional argument to reinitialize.
8498 (elint-find-builtin-variables): Save excursion.
8500 2009-07-23 Dan Nicolaescu <dann@ics.uci.edu>
8502 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): Add menu entries
8505 2009-07-22 Dan Nicolaescu <dann@ics.uci.edu>
8507 * vc.el (vc-print-log-internal): New function, split out from ...
8508 (vc-print-log): ... here.
8509 (vc-dir-move-to-goal-column): Declare.
8511 * vc-git.el (vc-git-add-signoff): New variable.
8512 (vc-git-checkin): Use it.
8513 (vc-git-toggle-signoff): New function.
8514 (vc-git-extra-menu-map): Bind it to menu.
8515 (vc-git--run-command-string): Accept a nil FILE argument.
8516 (vc-git-stash-list): New function.
8517 (vc-git-dir-extra-headers): Use it.
8519 2009-07-23 Glenn Morris <rgm@gnu.org>
8521 * help-fns.el (describe-variable): Describe ignored and risky local
8522 variables in a similar way to that in which we describe safe ones.
8524 * emacs-lisp/bytecomp.el (byte-compile-from-buffer)
8525 (byte-compile-output-file-form, byte-compile-output-docform)
8526 (byte-compile-file-form-defmumble, byte-compile-output-as-comment):
8527 Give some more local variables with common names a "bytecomp-" prefix,
8528 so as not to shadow things during compilation.
8529 * emacs-lisp/cl-macs.el (load-time-value)
8530 * emacs-lisp/cl.el (cl-compiling-file): Update for the name-change
8531 `outbuffer' to `bytecomp-outbuffer'.
8533 * emacs-lisp/elint.el (elint-standard-variables): Remove most members,
8534 since the next two variables cover them automatically now.
8535 (elint-builtin-variables, elint-autoloaded-variables): New.
8536 (elint-unknown-builtin-args): Remove all members, since they can be
8537 parsed automatically now.
8538 (elint-extra-errors): New.
8539 (elint-env-add-env, elint-env-add-macro): Use cadr.
8540 (elint-current-buffer): Use or. Change final message.
8541 (elint-get-top-forms): Use line-end-position.
8542 (elint-init-env): Use cadr. Handle autoload, declare-function,
8544 (elint-add-required-env): Doc fix. Use or. Standardize error.
8545 (regexp-assoc): Remove unused function.
8546 (elint-top-form): Set elint-current-pos, to record the start of the
8547 top-level form, for compilation-mode.
8548 (elint-form): Trap errors in macro expansion. Use dolist.
8549 (elint-unbound-variable): Use elint-builtin-variables and
8550 elint-autoloaded-variables.
8551 (elint-get-args): Use cadr, or.
8552 (elint-check-cond-form): Use dolist, cadr.
8553 (elint-check-condition-case-form): Doc fix. Use cadr.
8554 Use elint-extra-errors.
8555 (elint-log): New function.
8556 (elint-error, elint-warning): Use elint-log for a bytecomp-style format.
8557 Distinguish errors and warnings.
8558 (elint-log-message): Use with-current-buffer. Inhibit read-only.
8559 Use a bytecomp-style format.
8560 (elint-clear-log): Preserve default-directory. Inhibit read-only.
8561 (elint-get-log-buffer): Use compilation mode. Disable undo.
8562 Don't truncate lines.
8563 (elint-initialize): Set builtin and autoloaded variable lists.
8564 Only process elint-unknown-builtin-args if non-nil.
8565 (elint-find-builtin-variables, elint-find-autoloaded-variables):
8567 (elint-find-builtin-args): Doc fix. Handle "BODY...)".
8569 2009-07-22 Kevin Ryde <user42@zip.com.au>
8571 * net/newst-backend.el (newsticker--parse-atom-1.0)
8572 (newsticker--parse-rss-0.91, newsticker--parse-rss-0.92)
8573 (newsticker--parse-rss-1.0):
8574 * progmodes/idlwave.el (idlwave-mode):
8575 * progmodes/idlw-shell.el (idlwave-shell-mode):
8576 * progmodes/vera-mode.el (vera-mode):
8577 * progmodes/verilog-mode.el (verilog-auto-inst, verilog-auto):
8578 * progmodes/vhdl-mode.el (vhdl-mode):
8579 * textmodes/table.el (table-generate-source)
8580 (table--warn-incompatibility):
8581 Hyperlink urls in docstrings with URL `...'.
8583 2009-07-22 Glenn Morris <rgm@gnu.org>
8585 * emacs-lisp/advice.el, emacs-lisp/checkdoc.el:
8586 * emacs-lisp/debug.el, emacs-lisp/elp.el, emacs-lisp/gulp.el:
8587 * emacs-lisp/lisp.el, emacs-lisp/pp.el, emacs-lisp/trace.el:
8588 Remove leading * from defcustom docs.
8590 * simple.el (blink-matching-paren-distance): Bump to 100k. (Bug#3889)
8592 * emacs-lisp/shadow.el (shadows-compare-text-p): Remove leading * from
8594 (list-load-path-shadows): Optionally, just return shadows as a string.
8596 * mail/emacsbug.el (report-emacs-bug): Include any load-path shadows.
8598 2009-07-21 Chong Yidong <cyd@stupidchicken.com>
8600 * mail/rmailedit.el (rmail-edit-mode): Use
8601 auto-save-include-big-deletions.
8603 * mail/rmail.el (rmail-variables): Use
8604 auto-save-include-big-deletions.
8606 * files.el (auto-save-mode): Revert 2009-07-21 and 2009-07-16
8609 2009-07-21 Jay Belanger <jay.p.belanger@gmail.com>
8611 * calc/calc.el (calc-undo-length): New variable.
8612 (calc-quit): Truncate rather than eliminate `calc-undo-list'.
8614 2009-07-21 Richard Stallman <rms@gnu.org>
8616 * files.el (auto-save-mode): Handle buffer-save-size = -2
8619 2009-07-21 Glenn Morris <rgm@gnu.org>
8621 * textmodes/ispell.el (ispell-looking-back): Update declaration.
8623 * calendar/todo-mode.el (calendar-current-date): Update declaration.
8625 * ps-print.el (ps-jitify, ps-lazify): Remove aliases only used to
8626 silence compiler. Instead...
8627 (jit-lock-fontify-now, lazy-lock-fontify-region): ...Declare.
8628 (ps-print-ensure-fontified): Update for above function name changes.
8630 * printing.el (pr-mh-get-msg-num, pr-mh-show)
8631 (pr-mh-start-of-uncleaned-message): Remove aliases only used to
8632 silence compiler. Instead...
8633 (mh-get-msg-num, mh-show, mh-start-of-uncleaned-message): ...Declare.
8634 (mh-show-buffer): Only define for compiler.
8635 (pr-mh-current-message): Update for above function name changes.
8637 * files.el (abort-if-file-too-large): Explicitly pass `filename'
8639 (find-file-noselect, insert-file-1): Update for above change.
8641 * mail/rmail.el (rmail-retry-ignored-headers): Bump :version.
8643 * mail/mailclient.el (mailclient-send-it): Fix message.
8645 * emacs-lisp/edebug.el (cl-debug-env): Only define for compiler.
8646 (edebug-eval): Check cl-debug-env is bound.
8647 (print-level, print-circle): Don't redefine built-in variables.
8649 * emacs-lisp/cust-print.el: Remove leading * from defcustom docs.
8650 (custom-print-vectors): Remove old comments from doc.
8652 * emerge.el (menu-bar-emerge-menu): Remove unused variable.
8653 (emerge-version): Make the variable an obsolete alias for the
8654 emacs-version variable. Make the function obsolete.
8655 (emerge-fast-keymap, emerge-edit-keymap): Make a separate menu for
8656 Emerge options, rather than merging in into the main Options menu.
8657 (emerge-options-menu): Adjust menu text. Use buttons for skip prefers
8658 and auto advance modes. Disable edit/fast items when not relevant.
8660 2009-07-20 Dan Nicolaescu <dann@ics.uci.edu>
8662 * term/vt420.el (terminal-init-vt420): Fix typo.
8664 2009-07-20 Sam Steingold <sds@gnu.org>
8666 * progmodes/ada-mode.el (compile-auto-highlight): Remove the
8667 variable (removed from compile.el on 2004-03-11).
8669 2009-07-20 Chong Yidong <cyd@stupidchicken.com>
8671 * files.el (hack-local-variables-filter): Fix last change.
8673 2009-07-19 Juri Linkov <juri@jurta.org>
8675 * files.el (ignored-local-variables): Add `dir-local-variables-alist'.
8676 (dir-local-variables-alist): New buffer-local variable.
8677 (hack-local-variables-filter): If variable is not dir-local,
8678 i.e. `dir-name' is nil, then remove it from `dir-local-variables-alist',
8679 because file-local overrides dir-local.
8680 (c-postprocess-file-styles) <declare-function>:
8681 Remove obsolete declaration.
8682 (hack-dir-local-variables): Add dir-local variable/value pair to
8683 `dir-local-variables-alist' and remove duplicates. Doc fix.
8685 * help-fns.el (describe-variable): Add information about
8686 file-local and dir-local variables.
8688 2009-07-19 Chong Yidong <cyd@stupidchicken.com>
8690 * files.el (hack-local-variables-filter): Rewrite.
8692 2009-07-19 Glenn Morris <rgm@gnu.org>
8694 * progmodes/verilog-mode.el (verilog-error-regexp-add-xemacs):
8695 Silence compiler by only defining on XEmacs.
8697 * international/mule.el (auto-coding-regexp-alist): Only match
8698 BABYL... at the start of buffer, not of lines. (Bug#3790)
8700 * calendar/cal-menu.el (cal-menu-set-date-title): Handle calls from
8701 non-calendar buffers (Bug#3862). Restore "not on a date" message.
8702 (cal-menu-context-mouse-menu): Doc fix.
8704 * desktop.el (desktop-buffers-not-to-save): Set :version tag.
8706 * simple.el (mail-user-agent): Doc fix. Set :version tag.
8708 2009-07-18 Juri Linkov <juri@jurta.org>
8710 * info.el: Virtual Info keyword finder.
8711 (add-to-list) <Info-virtual-files>: Add "\\`\\*Finder.*\\*\\'".
8712 (Info-finder-file): New variable.
8713 (Info-finder-find-file): New function.
8714 (finder-known-keywords, finder-package-info)
8715 (find-library-name, lm-commentary): Use defvar and
8716 declare-function to silence compiler warnings.
8717 (Info-finder-find-node): New function.
8718 (info-finder): New command.
8720 * subr.el (process-kill-buffer-query-function): New function.
8721 (add-hook)<kill-buffer-query-functions>: Add hook
8722 `process-kill-buffer-query-function'.
8724 2009-07-18 Alan Mackenzie <acm@muc.de>
8726 * progmodes/cc-mode.el (c-before-hack-hook)
8727 (c-postprocess-file-styles): Give invocation of `c-set-style'
8728 DONT-OVERRIDE parameter of t. Already set style variables will
8729 thus not be overridden by style settings given by `c-file-syle'.
8731 * files.el (hack-local-variables-filter): Remove entries with
8732 duplicate keys from `file-local-variables-alist'.
8734 2009-07-18 Eli Zaretskii <eliz@gnu.org>
8736 * simple.el (deactivate-mark, activate-mark, set-mark): Don't call
8737 x-set-selection if display-selections-p returns nil for the
8740 2009-07-18 Chong Yidong <cyd@stupidchicken.com>
8742 * simple.el (region-active-p, use-region-p): Doc fix (Bug#3873).
8744 2009-07-18 Eli Zaretskii <eliz@gnu.org>
8746 * desktop.el (desktop-buffers-not-to-save): Default value is nil.
8747 Accept nil in addition to a regexp.
8748 (desktop-files-not-to-save): Add "(ftp)$" to the default regexp.
8749 Accept nil in addition to a regexp.
8750 (desktop-save-buffer-p): Don't use desktop-buffers-not-to-save for
8751 buffers that have an associated file. Handle nil values of
8752 desktop-buffers-not-to-save and desktop-files-not-to-save.
8755 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
8756 (x-disown-selection-internal): New functions.
8758 2009-07-18 Nick Roberts <nickrob@snap.net.nz>
8760 * progmodes/gdb-mi.el (speedbar-frame): Declare to avoid compiler
8762 (gdb-breakpoints-header): Move forward to avoid compiler warning.
8763 (gdb-make-header-line-mouse-map): Remove duplicate definition.
8765 2009-07-18 David De La Harpe Golden <david@harpegolden.net>
8767 * simple.el (set-mark): Revert last change.
8769 2009-07-17 Tassilo Horn <tassilo@member.fsf.org>
8771 * doc-view.el (doc-view-initiate-display): Add yes-or-no-p if
8772 rendering of pngs is not possible instead of messaging a long
8775 2009-07-17 David De La Harpe Golden <david@harpegolden.net>
8777 * w32-fns.el (x-selection-owner-p): New function.
8779 * mouse.el (mouse-drag-track): Call deactivate-mark earlier.
8780 (mouse-yank-at-click, mouse-yank-primary): If
8781 select-active-regions is non-nil, deactivate the mark before
8784 * simple.el (deactivate-mark, set-mark): Only save selection if we
8787 2009-07-17 Kenichi Handa <handa@m17n.org>
8789 * case-table.el (describe-buffer-case-table): Fix for the case
8792 2009-07-16 Dan Nicolaescu <dann@ics.uci.edu>
8794 * vc-rcs.el (vc-rcs-find-file-hook):
8795 * vc-sccs.el (vc-sccs-find-file-hook): Fix cut and paste error.
8797 2009-07-16 Michael Albinus <michael.albinus@gmx.de>
8799 * net/tramp.el (tramp-wait-for-output): Handle the case when
8800 commands do not return a newline but a null byte before the shell
8803 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8805 * term/ns-win.el (ns-set-alpha): Don't declare.
8806 (ns-set-background-alpha): Remove function.
8808 2009-07-16 Kevin Ryde <user42@zip.com.au>
8810 * emacs-lisp/copyright.el (copyright-update): Save match-data across
8811 y-or-n-p, for safety.
8813 2009-07-16 Richard Stallman <rms@gnu.org>
8815 * files.el (auto-save-mode): If buffer-saved-size is -2,
8818 * mail/rmail.el (rmail-variables): Set buffer-saved-size to -2.
8819 (rmail-retry-ignored-headers): Add more uninteresting fields.
8821 2009-07-15 Jari Aalto <jari.aalto@cante.net>
8823 * net/rcirc.el (rcirc): Use history variables.
8824 (rcirc-server-name-history, rcirc-nick-name-history)
8825 (rcirc-server-port-history): New variables.
8827 2009-07-15 Kenichi Handa <handa@m17n.org>
8829 * international/mule-cmds.el (set-language-environment-charset):
8830 If coding-system-charset-list returns `iso-2022' or `emacs-mule',
8833 * language/misc-lang.el ("IPA"): Change coding systems to utf-8.
8834 Delete unibyte-display.
8836 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
8838 * simple.el (kill-visual-line): Obey kill-whole-line (Bug#3695).
8840 2009-07-15 Chong Yidong <cyd@stupidchicken.com>
8842 * simple.el (deactivate-mark): Optional argument FORCE.
8843 (set-mark): Use deactivate-mark.
8845 * info.el (Info-search): No need to check transient-mark-mode
8846 before calling deactivate-mark.
8848 * select.el (x-set-selection): Doc fix.
8849 (x-valid-simple-selection-p): Allow buffer values.
8850 (xselect--selection-bounds): Handle buffer values. Suggested by
8851 David De La Harpe Golden.
8853 * mouse.el (mouse-set-region, mouse-drag-track): Call
8854 copy-region-as-kill before setting the mark, to let
8855 select-active-regions work.
8857 2009-07-15 David De La Harpe Golden <david@harpegolden.net>
8859 * simple.el (deactivate-mark): If select-active-regions is
8860 non-nil, copy the selection data into a string.
8861 (activate-mark): If select-active-regions is non-nil, set the
8862 selection to the current buffer.
8863 (set-mark): Update selection if select-active-regions is non-nil.
8865 * select.el (x-valid-simple-selection-p): Allow buffer values.
8867 2009-07-14 Stefan Monnier <monnier@iro.umontreal.ca>
8869 * simple.el (mail-user-agent): Default to the upwardly-UI-compatible
8870 and more featureful message-mode.
8872 2009-07-14 Chong Yidong <cyd@stupidchicken.com>
8874 * select.el (x-set-selection): Doc fix.
8875 (x-valid-simple-selection-p): Disallow selection data consisting
8876 of a list or cons of integers, since that is not used.
8877 (xselect--selection-bounds, xselect--int-to-cons): New functions.
8878 (xselect-convert-to-string, xselect-convert-to-length)
8879 (xselect-convert-to-filename, xselect-convert-to-charpos)
8880 (xselect-convert-to-lineno, xselect-convert-to-colno): Use them.
8882 2009-07-14 Dmitry Dzhus <dima@sphinx.net.ru>
8884 * progmodes/gdb-mi.el (json-partial-output): Fix broken GDB/MI
8885 output in -break-info command (Emacs bug #3794).
8887 2009-07-14 Glenn Morris <rgm@gnu.org>
8889 * emacs-lisp/edebug.el (edebug-setup-hook, edebug-all-forms)
8890 (edebug-eval-macro-args, edebug-save-displayed-buffer-points)
8891 (edebug-print-length, edebug-print-level, edebug-print-circle)
8892 (edebug-sit-for-seconds, edebug-view-outside)
8893 (edebug-bounce-point, edebug-set-global-break-condition)
8894 (edebug-Go-nonstop-mode, edebug-trace-mode)
8895 (edebug-Trace-fast-mode, edebug-continue-mode)
8896 (edebug-Continue-fast-mode, edebug-forward-sexp, edebug-help)
8897 (edebug-visit-eval-list): Doc fixes.
8899 * subr.el (def-edebug-spec): Doc fix.
8901 2009-07-14 Kenichi Handa <handa@m17n.org>
8903 * international/characters.el: Fix setting of category ?C.
8905 2009-07-13 Jan Djärv <jan.h.d@swipnet.se>
8907 * term/ns-win.el (x-select-font): defalias x-select-font to
8908 ns-popup-font-panel instead of generate-fontset-menu.
8910 2009-07-12 Eli Zaretskii <eliz@gnu.org>
8912 * desktop.el (desktop-buffers-not-to-save): Remove ".log". (Bug#3833)
8914 2009-07-12 Peter Jolly <peter@jollys.org> (tiny change)
8916 * arc-mode.el (archive-find-type): Allow for a PK00 string before
8917 the PK\003\004 header (Bug#3770).
8919 2009-07-12 Guanpeng Xu <herberteuler@hotmail.com>
8921 * pcomplete.el (pcomplete-comint-setup): Check for
8922 shell-dynamic-complete-filename too.
8924 2009-07-11 Chong Yidong <cyd@stupidchicken.com>
8926 * simple.el (temporary-goal-column): Change the value for
8927 line-move-visual to a cons cell.
8928 (line-move-visual): Record or set the window hscroll, if
8929 necessary (Bug#3494).
8930 (line-move-1): Handle cons value of temporary-goal-column.
8932 2009-07-11 Kenichi Handa <handa@m17n.org>
8934 * international/mule-diag.el (describe-character-set): Don't show
8937 2009-07-10 Sam Steingold <sds@gnu.org>
8939 * progmodes/compile.el (compilation-mode-font-lock-keywords):
8940 Omake sometimes indents the errors it prints, so allow all
8941 regexps to start with spaces.
8943 2009-07-10 Eli Zaretskii <eliz@gnu.org>
8945 * cus-edit.el (customize-changed-options-previous-release):
8946 Bump value to 22.1. (Bug#3804)
8948 2009-07-08 Sam Steingold <sds@gnu.org>
8950 * progmodes/grep.el (rgrep): Allow grep-find-ignored-directories
8951 to be a cons cell (test . ignored-directory) to selectively ignore
8952 some directories depending on the location of the search.
8954 2009-07-08 Michael Albinus <michael.albinus@gmx.de>
8956 * net/tramp.el (tramp-set-file-uid-gid): Handle the case the
8957 remote user is root, on the local host.
8958 (tramp-local-host-p): Either the local user or the remote user
8959 must be root. (Bug#3771)
8961 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
8963 * progmodes/gdb-mi.el (gdb): Remove description of
8964 gdb-use-separate-io-buffer.
8965 (menu): Don't allow toggling of or enable
8966 gdb-use-separate-io-buffer from menubar.
8968 2009-07-08 E. Jay Berkenbilt <ejb@ql.org> (tiny change)
8970 * mail/unrmail.el (unrmail): Make sure the message ends with two
8971 newlines (Bug#3769).
8973 2009-07-08 Glenn Morris <rgm@gnu.org>
8975 * calendar/calendar.el (calendar-current-date): Rework previous change.
8977 2009-07-08 Ed Reingold <reingold@emr.cs.iit.edu>
8979 * calendar/calendar.el (calendar-current-date):
8980 Add an optional argument giving an offset from today.
8982 2009-07-08 Glenn Morris <rgm@gnu.org>
8984 * tutorial.el (tutorial--describe-nonstandard-key):
8985 Adjust the message for when a key has been unbound.
8986 (help-with-tutorial): Hide the arch-tag.
8988 2009-07-08 Kenichi Handa <handa@m17n.org>
8990 * international/fontset.el (setup-default-fontset): For each
8991 script, append (not set) font-specs.
8993 * language/japanese.el (japanese-shift-jis-2004): Fix typo in the
8996 2009-07-08 Nick Roberts <nickrob@snap.net.nz>
8998 * progmodes/gdb-mi.el (gdb-init-1): Move sending
8999 -data-list-register-names to ...
9000 (gdb-starting): ... here because GDB 7.0 requires execution to
9001 have started when using this MI command.
9002 (gdb-set-header): New function to distinguish select and
9003 unselected tabs in gdb buffers.
9004 (gdb-propertize-header): New macro that uses gdb-set-header.
9005 (gdb-breakpoints-header, gdb-locals-header): Use it.
9006 (gdb-disassembly-mode-map): Add keybinding to kill buffer.
9008 2009-07-07 Chong Yidong <cyd@stupidchicken.com>
9010 * Makefile.in (ELCFILES): Remove fadr.elc.
9012 2009-07-07 Dmitry Dzhus <dima@sphinx.net.ru>
9014 * progmodes/gdb-mi.el (gdb-init-1): Disassembly buffer mode name
9015 may contain frame information, so `string-match' should be used.
9016 (gdb-update): Disassembly is invalidated through
9017 `gdb-get-selected-frame'.
9018 (gdb-pad-string): New function to pad string with spaces.
9019 (gdb-invalidate-disassembly): Invalidate only if the buffer
9021 (gdb-disassembly-handler-custom): Column alignment.
9022 (gdb-disassembly-place-breakpoints): Clear old breakpoints before
9024 (gdb-toggle-breakpoint, gdb-delete-breakpoint): Now work from the
9026 (gdb-frame-handler): Match convention to for disassembly buffer
9028 (gdb-stack-list-frames-handler): Rewritten without regexps.
9029 (gdb-breakpoints-list-handler-custom): y/n instead of on/off; do
9030 not highlight breakpoints without line information.
9031 (gdb-input): Add trailing newline to command.
9033 * progmodes/gdb-mi.el (gdb-init-1): Set mode name for disassembly
9035 (gdb-breakpoints-list-handler-custom): Replacement for
9036 `gdb-break-list-handler'. Using real parser instead of regexps
9038 (gdb-place-breakpoints): Replacement for `gdb-break-list-custom'.
9039 Use `gdb-breakpoints-list' instead of parsing breakpoints buffer
9040 to place breakpoints.
9041 (def-gdb-memory-unit): A new macro to define gdb-memory-unit-..
9043 (gdb-disassembly-handler-custom): Show overlay arrow.
9044 (gdb-disassembly-place-breakpoints): Show breakpoints in
9046 (gdb-toggle-breakpoint, gdb-delete-breakpoint)
9047 (gdb-goto-breakpoint): Using `gdb-breakpoint' text properties
9048 instead of parsing breakpoints buffer. Fixed old menu references
9053 * progmodes/gdb-mi.el: Port memory buffer from gdb-ui.el.
9054 (gdb-memory-address): New variable which holds top address of
9055 memory page shown in memory buffer.
9056 (gdb-memory-repeat-count, gdb-memory-format, gdb-memory-unit): New
9057 customization variables.
9059 (gdb-display-memory-buffer, gdb-frame-memory-buffer): Functions to
9060 display the memory buffer.
9061 (gdb-memory-set-address, gdb-memory-set-repeat-count): Set memory
9062 buffer display parameters.
9063 (def-gdb-memory-format, gdb-memory-format-binary)
9064 (gdb-memory-format-octal, gdb-memory-format-unsigned)
9065 (gdb-memory-format-signed, gdb-memory-format-hexadecimal):
9066 Functions for setting memory buffer format.
9067 (gdb-memory-unit-word, gdb-memory-unit-halfword)
9068 (gdb-memory-unit-giant, gdb-memory-unit-byte): Functions to set
9069 unit size used in memory buffer.
9070 (gdb-memory-show-next-page, gdb-memory-show-previous-page): Switch
9071 to next/previous page of memory buffer.
9072 Now using (bindat-get-field) instead of fadr functions.
9074 2009-07-07 Sam Steingold <sds@gnu.org>
9076 * vc-cvs.el (vc-cvs-merge-news): Fix message parsing for
9077 non-top-level files.
9079 2009-07-07 Kenichi Handa <handa@m17n.org>
9081 * international/mule-cmds.el (reset-language-environment): Put
9082 the highset priority to the charset iso-8859-1.
9084 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
9086 * progmodes/hideshow.el (hs-hide-block-at-point): Don't move point
9087 to the end of the line when locating the block (Bug#700).
9089 2009-07-06 Michael Albinus <michael.albinus@gmx.de>
9091 * net/tramp.el (tramp-handle-write-region): Flush file properties
9092 in case of short track.
9094 2009-07-06 Michael McNamara <mac@mail.brushroad.com>
9096 * verilog-mode.el (verilog-error-regexp-emacs-alist): Coded custom
9097 representation of verilog error regular expressions to work with
9098 Emacs-22's new format.
9099 (verilog-error-regexp-xemacs-alist): Coded custom representation
9100 of verilog error regular expressions to work with XEmacs format.
9101 (verilog-error-regexp-add-xemacs): Hook routine to install verilog
9102 error recognition into XEmacs.
9103 (verilog-error-regexp-add-emacs): Hook routine to install verilog
9104 error recognition into Emacs-22.
9106 2009-07-06 Chong Yidong <cyd@stupidchicken.com>
9108 * woman.el: Remove stand-alone closing parentheses.
9109 (woman-file-name, woman2-format-paragraphs)
9110 (woman-leave-blank-lines): Code cleanup.
9111 (woman-use-own-frame): Change default to nil.
9112 (woman-italic, woman-bold, woman-unknown, woman-addition): Change
9113 defaults to inherit from default faces.
9114 (woman2-process-escapes): Consume the newline after a stand-alone
9115 filler character (Bug#3651).
9117 2009-07-06 Glenn Morris <rgm@gnu.org>
9119 * ffap.el (ffap-version): Make it an obsolete alias for emacs-version.
9120 (top-level): Move provide to the end.
9121 (ffap): Remove defunct URL from custom group.
9123 * subr.el (eval-after-load): Doc fix.
9125 2009-07-06 Vincent Belaïche <vincent.belaiche@gmail.com>
9127 * calc/calc-embed.el (calc-embedded-make-info): Don't force when
9128 `calc-embedded-word' is called twice.
9130 2009-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
9132 * files.el (find-alternate-file-other-window, find-alternate-file):
9133 Obey confirm-nonexistent-file-or-buffer.
9135 2009-07-05 Michael Albinus <michael.albinus@gmx.de>
9137 * dired-aux.el (dired-show-file-type): Handle remote files.
9139 2009-07-05 Jari Aalto <jari.aalto@cante.net>
9141 * desktop.el (desktop-globals-to-save):
9142 Add file-name-history (Bug#2750).
9144 2009-07-05 Chong Yidong <cyd@stupidchicken.com>
9146 * add-log.el (add-log-current-defun-header-regexp): Doc fix (Bug#2217).
9148 2009-07-04 Johan Bockgård <bojohan@gnu.org>
9150 * eshell/esh-arg.el (eshell-parse-argument-hook): Put `number'
9151 property on entire argument since this is what eshell-lisp-command
9154 2009-07-03 Michael Albinus <michael.albinus@gmx.de>
9156 * net/tramp-gvfs.el (tramp-gvfs-methods)
9157 (tramp-gvfs-zeroconf-domain)
9158 (tramp-bluez-discover-devices-timeout): Add version flag.
9159 (tramp-gvfs-handler-mounted-unmounted)
9160 (tramp-gvfs-connection-mounted-p): Polish handling of
9161 incompatibilities between GVFS 0.2 and 1.0.
9163 2009-07-03 Jan Djärv <jan.h.d@swipnet.se>
9165 * cus-start.el (all): Add make-pointer-invisible.
9167 2009-07-03 Jay Belanger <jay.p.belanger@gmail.com>
9169 * calc-math.el (math-use-emacs-fn): Make sure that the number is
9170 formatted correctly.
9172 2009-07-02 Juri Linkov <juri@jurta.org>
9174 * info.el: Virtual Info files and nodes.
9175 (Info-virtual-files, Info-virtual-nodes): New variables.
9176 (Info-current-node-virtual): New variable.
9177 (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call):
9179 (Info-file-supports-index-cookies): Use Info-virtual-file-p
9180 to check for a virtual file instead of checking a fixed list
9182 (Info-find-file): Use Info-virtual-fun and Info-virtual-call
9183 instead of ad-hoc processing of "dir" and (apropos history toc).
9184 (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call
9185 instead of ad-hoc processing of "dir" and (apropos history toc).
9186 Reread a file when moving from a virtual node.
9187 (add-to-list)<Info-virtual-files>: Add "\\`dir\\'".
9188 (Info-directory-toc-nodes, Info-directory-find-file)
9189 (Info-directory-find-node): New functions.
9190 (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'".
9191 (Info-history): Move part of code to
9192 `Info-history-find-node'.
9193 (Info-history-toc-nodes, Info-history-find-file)
9194 (Info-history-find-node): New functions.
9195 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'".
9196 (Info-toc): Move part of code to `Info-toc-find-node'.
9197 (Info-toc-find-node): New function.
9198 (Info-toc-insert): Rename from `Info-insert-toc'. Don't insert
9199 the current Info file name to references because now the node
9200 "*TOC*" belongs to the same Info manual.
9201 (Info-toc-build): Rename from `Info-build-toc'.
9202 (Info-toc-nodes): Rename input argument `file' to `filename'.
9203 Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p
9204 instead of ad-hoc processing of ("dir" apropos history toc).
9205 (Info-index-nodes): Use Info-virtual-file-p
9206 to check for a virtual file instead of checking a fixed list
9208 (Info-index-node): Add check for `Info-current-node-virtual'.
9209 Raise `save-match-data' higher up the tree to contain
9210 `search-forward' too (bug fix).
9211 (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'".
9212 (Info-virtual-index-nodes): New variable.
9213 (Info-virtual-index-find-node, Info-virtual-index): New functions.
9214 (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'".
9215 (Info-apropos-file, Info-apropos-nodes): New variables.
9216 (Info-apropos-toc-nodes, Info-apropos-find-file)
9217 (Info-apropos-find-node, Info-apropos-matches): New functions.
9218 (info-apropos): Move part of code to `Info-apropos-find-node' and
9219 `Info-apropos-matches'.
9220 (Info-mode-map): Bind "I" to `Info-virtual-index'.
9221 (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check
9222 for a virtual file instead of checking a fixed list of node names.
9224 * simple.el (async-shell-command): New command.
9226 * bindings.el (esc-map): Bind "&" to `async-shell-command'.
9228 * net/tramp-gvfs.el (tramp-gvfs-connection-mounted-p): Use `elt'
9229 instead of `mount-info'.
9231 2009-07-02 Michael Albinus <michael.albinus@gmx.de>
9233 * net/tramp-gvfs.el (tramp-gvfs-handler-mounted-unmounted)
9234 (tramp-gvfs-connection-mounted-p): Handle changed mount-info interface.
9236 2009-07-02 Kenichi Handa <handa@m17n.org>
9238 * international/mule.el (set-keyboard-coding-system): Force *-unix
9239 coding-system to avoid eol conversion.
9241 2009-07-01 Michael Albinus <michael.albinus@gmx.de>
9243 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
9244 Add handler for `process-file', `shell-command' and
9245 `start-file-process'.
9246 (tramp-gvfs-handle-shell-command)
9247 (tramp-gvfs-handle-start-file-process)
9248 (tramp-gvfs-handle-process-file): New defuns.
9249 (tramp-synce-list-devices): Simplify check for existence of property.
9251 2009-07-01 Jan Djärv <jan.h.d@swipnet.se>
9253 * startup.el (command-line-x-option-alist): Add -mm and --maximized.
9255 2009-07-01 Eduard Wiebe <usenet@pusto.de> (tiny change)
9257 * language/korean.el (set-language-info-alist): Add korean-cp949,
9260 2009-07-01 Kenichi Handa <handa@m17n.org>
9262 * Makefile.in (ELCFILES): Delete encoded-kb.elc.
9264 * international/encoded-kb.el: Deleted.
9266 * international/mule.el (set-keyboard-coding-system): Perform the
9267 necessary setup here instead of calling encoded-kbd-setup-display.
9269 2009-07-01 Glenn Morris <rgm@gnu.org>
9271 * progmodes/f90.el (f90-break-delimiters, f90-no-break-re): Doc fixes.
9273 2009-07-01 Evangelos Evangelou <vangelis@email.unc.edu> (tiny change)
9275 * progmodes/f90.el (f90-no-break-re): Add "(/" and "/)". (Bug#3730)
9277 2009-06-30 Michael Albinus <michael.albinus@gmx.de>
9279 * net/tramp.el (tramp-do-copy-or-rename-file-directly):
9280 Handle also the 'rename case, when setting file modes. (Bug#3712)
9281 (tramp-default-file-modes) Remove execute permissions.
9283 * net/tramp-gvfs.el (tramp-gvfs-methods): Add "synce" method.
9284 (top): Add a default for "synce" in `tramp-default-user-alist'.
9285 Add completion function for "synce" method.
9286 (tramp-hal-service, tramp-hal-path-manager)
9287 (tramp-hal-interface-manager, tramp-hal-interface-device):
9289 (tramp-gvfs-connection-mounted-p): Handle empty user name for synce.
9290 (tramp-synce-list-devices, tramp-synce-parse-device-names):
9293 * net/trampver.el: Update release number.
9295 2009-06-30 Kenichi Handa <handa@m17n.org>
9297 * international/fontset.el (setup-default-fontset): Add CJK fonts
9298 for symbols and the other miscellaneous characters.
9300 * language/korea-util.el (setup-korean-environment-internal):
9301 Make char-width-table suitable for Korean environments.
9302 (exit-korean-environment): Cancel above.
9304 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
9305 ("Chinese-CNS", "Chinese-EUC-TW", "Chinese-GBK"): Add a
9306 setup-funcion to make char-widht-table suitable for respective
9307 environments, and an exit-function to cancel that.
9309 * language/japan-util.el (setup-japanese-environment-internal):
9310 Call use-cjk-char-width-table with arg `ja_JP'.
9312 * international/characters.el (cjk-char-width-table): Delete it.
9313 (cjk-char-width-table-list): New variable.
9314 (use-cjk-char-width-table): New arg local-name.
9315 (use-default-char-width-table): Fix for the case that Emacs is
9316 already using the default char-width-table.
9318 2009-06-29 Michael Albinus <michael.albinus@gmx.de>
9320 * net/tramp.el (tramp-do-copy-or-rename-file-directly): Set file
9321 modes mandatory. (Bug#3712)
9323 2009-06-29 Alan Mackenzie <acm@muc.de>
9325 * progmodes/cc-cmds.el (c-mask-paragraph): Remove a spurious
9326 correction between the visible width of TABs and their number of bytes.
9328 2009-06-29 Chong Yidong <cyd@stupidchicken.com>
9330 * server.el (server-buffer-done): Prevent kill-buffer from
9331 prompting by clearing the buffer modification flag (Bug#3696).
9333 2009-06-28 Michael McNamara <mac@mail.brushroad.com>
9335 * verilog-mode.el (verilog-beg-of-statement)
9336 (verilog-endcomment-reason-re): Support unique case and priority case.
9337 (verilog-basic-complete-re): Support localparam lineup.
9338 (verilog-beg-of-statement-1): Fix for robustness, unique case.
9339 (verilog-set-auto-endcomments): Fix for unique case, always_comb
9341 (verilog-leap-to-case-head): Now support *nested* unique &
9342 priority case statements.
9343 (verilog-auto-lineup): Make just declarations the default (as it
9345 (verilog-leap-to-case-head): Support priority/unique case statements.
9346 (verilog-auto-lineup): Rework to give users radio buttons to
9347 select the various styles of automatic lineup.
9348 (verilog-error-regexp-alist): Rework to support the XEmacs style
9349 of error regular expressions from compilers, lint tools &
9350 simulators. Note that GNU Emacs has made it impossible for a mode
9351 to load such things.
9352 (electric-verilog-terminate-line, verilog-indent-declaration)
9353 (verilog-auto-wiure): Rework for radio button selection of
9354 auto-lineup selection of specification of auto lineup.
9355 (verilog-beg-of-statement-1): Redesign to support proper operation
9356 in additional code, based on testing with auto-lineup.
9357 (verilog-calculate-indent, assignments & declarations)
9358 (verilog-backward-token): Enhance to support auto-lineup of
9359 assignments & declarations.
9360 (verilog-in-directive-p, verilog-at-struct-p): New function for
9361 easy test of whether we are.
9362 (verilog-pretty-declarations, verilog-pretty-expr): Massive rework
9363 to support safe execution at almost anyline.
9364 (verilog-calc-1): Properly support indenting deep inside generate
9366 (verilog-init-font) Remove definition & use of verilog-init-font,
9367 as it is redundant with font-lock-defaults.
9368 (verilog-mode): Alter the definition of verilog-font-lock-defaults
9369 to avoid circular calls if syntax-ppss is a function (as is the
9370 case now in 22.x GNU Emacs) as that function would sometimes call
9371 itself, leading to (nearly) infinite recursion.
9372 (verilog-ovm-begin-re, verilog-ovm-end-re)
9373 (verilog-ovm-statement-re, verilog-leap-to-head)
9374 (verilog-backward-token): Add support for OVM macros. Some are
9375 complete statements, and others open and close scopes like begin
9377 (verilog-defun-level-not-generate-re, verilog-defun-level-re)
9378 (verilog-defun-level-generate-only-re): Really fix the defun-list
9380 (verilog-calc-1) (verilog-beg-of-statement): Enhance support for
9381 coverpoint, constraint and cross statements.
9382 (verilog-defun-level-list, verilog-generate-defun-level-list)
9383 (verilog-all-defun-level-list): Redo these specifications - it is
9384 too hard to support eval-when compile aggregation of lists also
9385 built at when-compile time.
9386 (verilog-defun-level-list): Place defconsts of variables used in
9387 building regular expressions which are built in eval-when-compile
9388 bodies in the same eval-when-compile body to facilitate compile
9390 (verilog-beg-block-re-ordered): Support indenting
9391 virtual/protected tasks and functions.
9392 (verilog-defun-level-list, verilog-in-generate-region-p)
9393 (verilog-backward-ws&directives, verilog-calc-1): Speed up
9394 indentation of some module items (generate items).
9395 (verilog-forward-sexp, verilog-leap-to-head): Support stepping
9396 across virtual/protected tasks and functions.
9398 2009-06-28 Wilson Snyder <wsnyder@wsnyder.org>
9400 * verilog-mode.el (verilog-auto-arg, verilog-auto-arg-sort):
9401 Allow sorting AUTOARG lists. Suggested by Andrea Fedeli.
9402 (verilog-read-sub-decls-line): Fix AUTOWIRE signals getting lost
9403 in concatenations. Reported by Yishay Belkind.
9404 (verilog-auto-ascii-enum): Support one-hot state machines in
9405 AUTOASCIIENUM. Suggested by Lloyd Gomez.
9406 (verilog-auto-inst, verilog-auto-inst-port): Include interface
9407 modport in AUTOINST and add vl-modport for users. Reported by
9409 (verilog-auto-inout-module, verilog-auto-inst)
9410 (verilog-decls-get-interfaces, verilog-insert-definition)
9411 (verilog-insert-one-definition, verilog-read-decls)
9412 (verilog-read-sub-decls, verilog-read-sub-decls-sig)
9413 (verilog-sig-modport, verilog-signals-combine-bus)
9414 (verilog-subdecls-get-interfaces): Fix expansion of SystemVerilog
9415 interfaces in AUTOINOUTMODULE, AUTOINOUTCOMP, and AUTOINST.
9416 Suggested by David Rogoff.
9417 (verilog-repair-open-comma): Fix non-insertion of comma when
9418 `DEFINE occurs in V2K argument list. Reported by Lane Brooks.
9419 (verilog-make-width-expression): Simplify [A-1:0] expression
9420 widths to just {A{1'b0}}.
9421 (verilog-mode): Cleanup checkdoc warnings.
9422 (verilog-auto-inout-module, verilog-signals-matching-dir-re):
9423 Add third optional regexp to AUTOINOUTMODULE to allow selecting only
9424 inputs/outputs or data type. Suggested by Vasu Kandadi.
9425 (next-error-last-buffer): Fix byte-compiler warning.
9426 (verilog-auto, verilog-auto-insert-lisp, verilog-auto-inst)
9427 (verilog-delete-auto): Add AUTOINSERTLISP to insert arbitrary lisp
9428 or shell command text during AUTO expansion. Suggested by Tad Truex.
9429 (verilog-read-sub-decls-expr, verilog-read-sub-decls-line)
9430 (verilog-read-sub-decls-sig, verilog-symbol-detick-text):
9431 Fix dotted nets {a.b,c.d} and excaped identifiers being mis-included
9432 in AUTOINOUT. Reported by Matthew Lovell.
9433 (verilog-read-always-signals-recurse): Fix AUTORESET "if (a<=b)"
9434 causing use of <= assignments. Reported by Alex Reed.
9435 (verilog-read-decls): Fix triand, trior, wand, wor to be
9436 recognized by AUTOWIRE. Reported by Spencer Isaacson.
9437 (verilog-extended-complete-re): Support import "DPI-C" functions.
9438 (verilog-read-always-signals-recurse): Fix AUTORESET of "x <=
9439 y[a+1:a+1]" to not include a in reset list. Reported by Dan Dever.
9440 (verilog-insert-date, verilog-insert-year)
9441 (verilog-sk-header-tmpl): Fix verilog-header inserting error on
9442 Windows systems. Reported by Michael Potts.
9443 (verilog-read-module-name): Fix AUTOINST when the child module
9444 declaration's name is a tick define. Reported by Elliot Mednick.
9445 (verilog-read-decls): Fix V2K parameter bit subscripts getting
9446 passed to next parameter's definition. Reported by Bruce T.
9447 (verilog-read-decls): Fix detecting "parameter int" when using
9448 AUTOINSTPARAM. Reported by Bruce T.
9449 (verilog-goto-defun): Fix goto not finding modules unless first
9450 perform a verilog-auto expansion. Suggested by Lawrence Butcher.
9451 (verilog-mode): Expand -f flag arguments on entry to mode so
9452 verilog-goto-defun will work. Reported by Lawrence Butcher.
9453 (verilog-getopt): Expand environment variables in -f file
9454 arguments. Suggested by Lawrence Butcher.
9455 (verilog-set-define): Fix "Symbol's value as variable is void"
9456 when reading enumerations.
9457 (verilog-auto-ascii-enum): Fix duplicate labels in AUTOASCIIENUM.
9458 Suggested by Stephen Peltan.
9459 (verilog-read-defines): Fix reading of enumerations in include
9460 files. Reported by Steve Peltan.
9462 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
9464 * files.el (trash-directory): Fix defcustom type.
9466 2009-06-28 Juri Linkov <juri@jurta.org>
9468 * help-fns.el (describe-function-1): Correctly locate adviced
9469 functions in hyperlink (Bug#2438).
9471 2009-06-28 Chong Yidong <cyd@stupidchicken.com>
9473 * files.el (trash-directory): Change default to nil.
9474 (move-file-to-trash): If trash-directory is nil and
9475 system-move-file-to-trash is unbound, perform freedesktop-style
9478 2009-06-28 David De La Harpe Golden <david@harpegolden.net>
9480 * files.el (move-file-to-trash): Add freedesktop trash
9483 2009-06-28 Glenn Morris <rgm@gnu.org>
9485 * autorevert.el (global-auto-revert-non-file-buffers)
9486 (global-auto-revert-mode): Doc fixes.
9488 2009-06-27 Johan Bockgård <bojohan@gnu.org>
9490 * emacs-lisp/cl-specs.el (defstruct): Fix :conc-name spec.
9492 2009-06-27 Chong Yidong <cyd@stupidchicken.com>
9494 * faces.el (x-handle-named-frame-geometry): Ensure that we have
9495 opened an X connection before calling x-get-resource (Bug#3194).
9497 * play/doctor.el: Remove reference to obsolete website.
9498 (make-doctor-variables): Correct grammar mistake (Bug#2633).
9500 2009-06-26 Dan Nicolaescu <dann@ics.uci.edu>
9502 Remove find-file-not-found-hook VC method. (Bug#2757)
9503 * vc-hooks.el (vc-file-not-found-hook)
9504 (vc-default-find-file-not-found-hook): Remove functions.
9505 (find-file-not-found-functions): Do not add vc-file-not-found-hook.
9506 * vc-rcs.el (vc-rcs-find-file-not-found-hook): Remove function.
9509 * vc-git.el: Do not mention find-file-not-found-hook VC method.
9511 2009-06-25 Agustín Martín <agustin.martin@hispalinux.es>
9513 * textmodes/ispell.el: Add `ispell-looking-back' XEmacs
9514 compatibility function for `looking-back'.
9516 * textmodes/flyspell.el (sgml-mode-flyspell-verify):
9517 Use `ispell-looking-back'.
9519 2009-06-24 Michael Albinus <michael.albinus@gmx.de>
9521 * net/tramp-gvfs.el (tramp-gvfs-handle-make-directory): Use `dir'
9522 rather than `filename'.
9524 2009-06-23 Miles Bader <miles@gnu.org>
9526 * face-remap.el (text-scale-set): New function.
9528 2009-06-23 Glenn Morris <rgm@gnu.org>
9530 * pcmpl-rpm.el (pcomplete/rpm): Doc fix.
9532 * bindings.el (mode-line-modified): Fix case of "Buffer is modified".
9534 * textmodes/ispell.el (ispell-local-dictionary): Doc fix.
9536 * progmodes/gdb-mi.el (gud-remove, gud-break): Update declarations.
9538 * calendar/cal-dst.el (calendar-time-zone-daylight-rules):
9539 Simplify Persian conditionals.
9541 * calc/calc-graph.el (calc-graph-plot): Avoid assignment to free
9542 variable `filename'.
9544 * comint.el (comint-insert-input): Doc fix.
9546 * Makefile.in (ELCFILES): Fix typo in previous change.
9548 2009-06-23 Miles Bader <miles@gnu.org>
9550 * cus-start.el: Add entry for `recenter-redisplay'.
9552 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
9554 * vc-hooks.el (vc-stay-local-p, vc-state, vc-working-revision):
9555 Add an optional argument for the backend, use it instead of
9557 (vc-mode-line): Add an optional argument for the backend.
9558 Pass the backend to vc-state and vc-working-revision. Move code for
9559 special handling for vc-state being a buffer to ...
9561 * vc-rcs.el (vc-rcs-find-file-hook):
9562 * vc-sccs.el (vc-sccs-find-file-hook): ... here. New functions.
9564 * vc-svn.el (vc-svn-state, vc-svn-dir-status, vc-svn-checkout)
9565 (vc-svn-print-log, vc-svn-diff): Pass 'SVN to vc-state,
9566 vc-stay-local-p and vc-mode-line calls.
9568 * vc-cvs.el (vc-cvs-state, vc-cvs-checkout, vc-cvs-print-log)
9569 (vc-cvs-diff, vc-cvs-annotate-command)
9570 (vc-cvs-make-version-backups-p, vc-cvs-stay-local-p)
9571 (vc-cvs-dir-status): Pass 'CVS to vc-state, vc-stay-local-p and
9574 * vc.el (vc-deduce-fileset): Use vc-deduce-fileset instead of
9576 (vc-next-action, vc-transfer-file, vc-rename-file): Also pass the
9577 backend when calling vc-mode-line.
9578 (vc-register): Do not create a closure for calling the vc register
9579 function, call it directly.
9581 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu>
9583 * emacs-lisp/elp.el (elp-output-insert-symname): Add a link face
9584 to make it obvious item can be clicked.
9586 * vc-mtn.el (vc-mtn-after-dir-status, vc-mtn-dir-status): New functions.
9588 2009-06-23 Kenichi Handa <handa@m17n.org>
9590 * language/korea-util.el (korean-key-bindings): Change the binding
9591 of F9 to hangul-to-hanja-conversion. Bind Hangul_Hanja to the
9594 2009-06-22 Michael Albinus <michael.albinus@gmx.de>
9596 Sync with Tramp 2.1.16.
9598 * Makefile.in (ELCFILES): Add net/tramp-gvfs.elc.
9600 * net/tramp.el (top): Require tramp-gvfs. Catch `tramp-loading',
9601 when a loading of a package fails. Completion function for rsync
9602 is `tramp-completion-function-alist-ssh'.
9603 (all): Replace all calls of `split-string' and
9604 `tramp-split-string' by `tramp-compat-split-string'.
9605 (tramp-default-method): Use `tramp-compat-process-running-p'.
9606 (tramp-default-proxies-alist): Allow also Lisp forms.
9607 (tramp-remote-path): Add choice "Private Directories".
9608 (tramp-wrong-passwd-regexp): Remove "Tramp connection closed" option.
9609 (tramp-domain-regexp): Allow also "-", "_" and ".".
9610 (tramp-end-of-output): Remove newlines, and add "$" at the end.
9611 (tramp-file-name-handler-alist): Add handler for `dired-uncache'.
9612 (tramp-debug-message): Insert header line in debug buffer.
9613 (tramp-handle-directory-files-and-attributes-with-stat):
9614 Care about filenames with spaces, or starting with "-".
9615 (tramp-handle-dired-uncache): New defun.
9616 (tramp-handle-insert-directory): Don't flush the directory from
9617 cache, this is handled by `dired-uncache' now.
9618 (tramp-handle-insert-file-contents): Improve error handling.
9619 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
9620 Quote `tramp-end-of-output'.
9621 (tramp-action-password): Improve trace message.
9622 (tramp-check-for-regexp): Both echoes must be present, before removing.
9623 (tramp-open-connection-setup-interactive-shell): Trace coding system.
9624 (tramp-compute-multi-hops): Eval cons cells of
9625 `tramp-default-proxies-alist'.
9626 (tramp-maybe-open-connection): Use the same command pattern for
9627 first hop and further hops.
9628 (tramp-wait-for-output): Remove handling of newlines.
9629 (tramp-get-remote-path): Handle also `tramp-own-remote-path'.
9630 (tramp-split-string): Remove function. It is handled in
9633 * net/tramp-cmds.el (tramp-bug):
9634 Recommend `tramp-cleanup-all-connections' in the bug mail.
9636 * net/tramp-compat.el (tramp-compat-split-string)
9637 (tramp-compat-process-running-p): New defuns.
9639 * net/tramp-fish.el (tramp-fish-file-name-handler-alist): Add handler
9640 for `dired-uncache'.
9642 * net/tramp-gvfs.el: New package.
9644 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
9645 Add handler for `dired-uncache'.
9646 (tramp-smb-handle-file-local-copy): Cleanup in case of error.
9648 * net/trampver.el: Update release number. Make version check fit
9651 2009-06-22 Jim Meyering <meyering@redhat.com>
9653 Automatically handle .xz suffix (XZ-compressed files), too.
9654 * jka-cmpr-hook.el (jka-compr-compression-info-list): Add xz.
9655 XZ is the successor to LZMA: <http://tukaani.org/xz/>
9657 2009-06-22 Dmitry Dzhus <dima@sphinx.net.ru>
9658 Nick Roberts <nickrob@snap.net.nz>
9660 * progmodes/gdb-mi.el: Pull further modified changes from Dmitry's
9661 repository (http://sphinx.net.ru/hg/gdb-mi/).
9663 2009-06-22 Glenn Morris <rgm@gnu.org>
9665 * files.el (dir-locals-collect-mode-variables): Allow for any number of
9666 `mode' and `eval' entries. (Bug#3430)
9668 * Makefile.in (ELCFILES): Add fadr.elc.
9670 * calendar/appt.el (appt-make-list): Fix off-by-one error caused by
9671 differing behavior of \n and ^ in strings. (Bug#3385)
9673 * emacs-lisp/cl-indent.el: Remove leading "*" from defcustom docs.
9675 * emacs-lisp/lisp-mode.el (lisp-indent-offset): Fix safe-local-variable
9677 (lisp-indent-function): Make it a defcustom.
9679 2009-06-21 Nick Roberts <nickrob@snap.net.nz>
9681 * progmodes/gdb-ui.el: Replace with ...
9682 * progmodes/gdb-mi.el: ... this file.
9683 * progmodes/gud.el: Modify for gdb-mi.el.
9685 2009-06-21 Dmitry Dzhus <dima@sphinx.net.ru>
9687 * fadr.el: New file.
9689 See ChangeLog.14 for earlier changes.
9695 Copyright (C) 2009 Free Software Foundation, Inc.
9697 This file is part of GNU Emacs.
9699 GNU Emacs is free software: you can redistribute it and/or modify
9700 it under the terms of the GNU General Public License as published by
9701 the Free Software Foundation, either version 3 of the License, or
9702 (at your option) any later version.
9704 GNU Emacs is distributed in the hope that it will be useful,
9705 but WITHOUT ANY WARRANTY; without even the implied warranty of
9706 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9707 GNU General Public License for more details.
9709 You should have received a copy of the GNU General Public License
9710 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
9712 ;; arch-tag: d3e45e38-19e2-49b6-8dc2-7cb26adcc5a1